N1 Grid Service Provisioning System 5.0 User s Guide for the Linux Plug-In



Similar documents
Sun Management Center Change Manager Release Notes

Sun StorEdge A5000 Installation Guide

Solaris 10 Documentation README

Sun StorEdge RAID Manager Release Notes

Sun Enterprise Optional Power Sequencer Installation Guide

Sun Management Center 3.5 Update 1b Release Notes

Sun Cluster 2.2 7/00 Data Services Update: Apache Web Server

Upgrading the Solaris PC NetLink Software

Optimizing Solaris Resources Through Load Balancing

Sun Management Center 3.6 Version 5 Add-On Software Release Notes

Service Level Definitions and Interactions

Solaris 9 9/05 Installation Roadmap

Sun StorEdge N8400 Filer Release Notes

Scrubbing Disks Using the Solaris Operating Environment Format Program

Sun StorEdge Availability Suite Software Point-in-Time Copy Software Maximizing Backup Performance

SunFDDI 6.0 on the Sun Enterprise Server

Sun Enterprise 420R Server Product Notes

Comparing JavaServer Pages Technology and Microsoft Active Server Pages

Service Level Agreement in the Data Center

Important Note on New Product Names

Solaris Bandwidth Manager

Sun Management Center 3.6 Version 4 Add-On Software Release Notes

Sun StorEdge T3 Dual Storage Array - Part 1

HelloWorld SOAP Sample:

Sun Fire 15K/12K Dynamic Reconfiguration Installation Guide and Release Notes

Sun TM SNMP Management Agent Release Notes, Version 1.6

SCSI Sense Key Error Guide

LAN-Free Backups Using the Sun StorEdge Instant Image 3.0 Software

Sun StorEdge Enterprise Backup Software 7.2

Power Savings in the UltraSPARC T1 Processor

Java Dynamic Management Architecture for Intelligent Networks

JumpStart : NIS and sysidcfg

Exploring the iplanet Directory Server NIS Extensions

Sun N1 Service Provisioning System User s Guide for Linux Plug-In 2.0

Sun Ultra TM. 5 and Ultra 10 Product Notes. Sun Microsystems, Inc. 901 San Antonio Road Palo Alto, CA U.S.A.

Reducing the Backup Window With Sun StorEdge Instant Image Software

Managing NFS Workloads

Sun Management Center 3.0 Platform Update 4 Release Notes for Sun Fire 15K/12K Systems

Sun Fire 6800/4810/4800/3800 Systems Software Release Notes

Java Management Extensions SNMP Manager API

Sun StorEdge Network FC Switch-8 and Switch-16 Release Notes

Disaster Recovery Requirements Analysis

Developing a Security Policy

N1 Grid Engine 6 Release Notes

Sun SNMP Management Agent Release Notes, Version 1.5.5

Sun Fire 6800/4810/4800/ 3800 Systems Product Notes

Rapid Recovery Techniques: Exploring the Solaris Software Registry

Sun Fire B10n Content Load Balancing Blade Product Notes

Service Level Management in the Data Center

RAID Controller PCI Card for the Sun Fire V60x and V65x Servers Release Notes

The UltraSPARC T1 Processor - High Bandwidth For Throughput Computing

Rapid Recovery Techniques: Auditing Custom Software Configuration

Sun Grid Engine Release Notes

Consolidation in the Data Center

Solaris Resource Manager

Solaris 9 Installation Roadmap

Start Here. Installation and Documentation Reference. Sun StorEdgeTM 6120 Array

Sun Remote System Control (RSC) Installation Guide

Sun StorEdge Instant Image 3.0 and Oracle8i Database Best Practices

Automating Centralized File Integrity Checks in the Solaris 10 Operating System

Sun Fire 6800/4810/4800/3800 Systems Firmware Release Notes

The Solaris Fingerprint Database - A Security Tool for Solaris Operating Environment Files

Brocade SilkWorm 4100 FC Switch Release Notes

Netra Data Plane Software Suite 2.0 Update 2 Release Notes

Sun Microsystems, Inc Garcia Avenue Mountain View, CA FAX

Trust Modeling for Security Architecture Development

Sun StorEdge SAN Foundation Release Notes

Data Center Design Philosophy

Sun Ray, Smart Cards, and Citrix

Java Technologies for Interactive Television

Sun StorEdge RAID Manager 6.22 User s Guide

Sun Java System Connector for Microsoft Outlook 7.2 Installation Guide

Conference Calling Using SunForum 3

Solaris Volume Manager Administration Guide

Platform Notes: The SunHSI/P Device Driver

Sun Fire V480 Server Product Notes

Solaris Patch Management: Recommended Strategies

Java Card Platform Security

Sun Fire V20z Server Release Notes

N1 Grid Engine 6 Installation Guide

Sun Ray Server Software 3 Release Notes

Sun Blade 1500 Workstation Product Notes

SunPCi Supporting Highly Available PC Applications with Solaris

Sun StorEdge network FC switch-8 and switch-16 Release Notes

Distributed Application Management using Jini Connection Technology

Sun StorEdge T3 Dual Storage Array - Part 3 Basic Management. By Mark Garner - Enterprise Engineering Sun BluePrints OnLine - April 2001

MIGRATION WHITEPAPER MIGRATING FROM MICROSOFT OFFICE TO OPENOFFICE.ORG OR STAROFFICE 9

Sun StorEdge FC-100 Long Wave Gigabit Interface Converter Guide

Sun 450 MHz UltraSPARC -II Module Upgrade

Brocade 5300 Switch Hardware Release Notes

Sun GlassFish Enterprise Manager SNMP Monitoring 1.0 Installation and Quick Start Guide

Operations Management Capabilities Model

Getting StartedWith Sun Java System Application Server 9.1 Update 2

Netra X4200 M2 Server Site Planning Guide

Sun Fire Midframe Server Best Practices for Administration

Brocade 300 Switch Hardware Release Notes

Installation and Configuration

Sun Blade 100 and Sun Blade 150 Workstations

A Strategy for Managing Performance

How To Start A Glassfish V3 Application Server Quick Start (Windows) On A Microsoft Server (Windows 7)

Transcription:

N1 Grid Service Provisioning System 5.0 User s Guide for the Linux Plug-In Sun Microsystems, Inc. 4150 Network Circle Santa Clara, CA 95054 U.S.A. Part No: 819 0735 December 2004

Copyright 2004 Sun Microsystems, Inc. 4150 Network Circle, Santa Clara, CA 95054 U.S.A. All rights reserved. This product or document is protected by copyright and distributed under licenses restricting its use, copying, distribution, and decompilation. No part of this product or document may be reproduced in any form by any means without prior written authorization of Sun and its licensors, if any. Third-party software, including font technology, is copyrighted and licensed from Sun suppliers. Parts of the product may be derived from Berkeley BSD systems, licensed from the University of California. UNIX is a registered trademark in the U.S. and other countries, exclusively licensed through X/Open Company, Ltd. Sun, Sun Microsystems, the Sun logo, docs.sun.com, AnswerBook, AnswerBook2, N1, Java, and Solaris are trademarks or registered trademarks of Sun Microsystems, Inc. in the U.S. and other countries. All SPARC trademarks are used under license and are trademarks or registered trademarks of SPARC International, Inc. in the U.S. and other countries. Products bearing SPARC trademarks are based upon an architecture developed by Sun Microsystems, Inc. The OPEN LOOK and Sun Graphical User Interface was developed by Sun Microsystems, Inc. for its users and licensees. Sun acknowledges the pioneering efforts of Xerox in researching and developing the concept of visual or graphical user interfaces for the computer industry. Sun holds a non-exclusive license from Xerox to the Xerox Graphical User Interface, which license also covers Sun s licensees who implement OPEN LOOK GUIs and otherwise comply with Sun s written license agreements. U.S. Government Rights Commercial software. Government users are subject to the Sun Microsystems, Inc. standard license agreement and applicable provisions of the FAR and its supplements. DOCUMENTATION IS PROVIDED AS IS AND ALL EXPRESS OR IMPLIED CONDITIONS, REPRESENTATIONS AND WARRANTIES, INCLUDING ANY IMPLIED WARRANTY OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE OR NON-INFRINGEMENT, ARE DISCLAIMED, EXCEPT TO THE EXTENT THAT SUCH DISCLAIMERS ARE HELD TO BE LEGALLY INVALID. Copyright 2004 Sun Microsystems, Inc. 4150 Network Circle, Santa Clara, CA 95054 U.S.A. Tous droits réservés. Ce produit ou document est protégé par un copyright et distribué avec des licences qui en restreignent l utilisation, la copie, la distribution, et la décompilation. Aucune partie de ce produit ou document ne peut être reproduite sous aucune forme, par quelque moyen que ce soit, sans l autorisation préalable et écrite de Sun et de ses bailleurs de licence, s il y en a. Le logiciel détenu par des tiers, et qui comprend la technologie relative aux polices de caractères, est protégé par un copyright et licencié par des fournisseurs de Sun. Des parties de ce produit pourront être dérivées du système Berkeley BSD licenciés par l Université de Californie. UNIX est une marque déposée aux Etats-Unis et dans d autres pays et licenciée exclusivement par X/Open Company, Ltd. Sun, Sun Microsystems, le logo Sun, docs.sun.com, AnswerBook, AnswerBook2, N1, Java, et Solaris sont des marques de fabrique ou des marques déposées, de Sun Microsystems, Inc. aux Etats-Unis et dans d autres pays. Toutes les marques SPARC sont utilisées sous licence et sont des marques de fabrique ou des marques déposées de SPARC International, Inc. aux Etats-Unis et dans d autres pays. Les produits portant les marques SPARC sont basés sur une architecture développée par Sun Microsystems, Inc. L interface d utilisation graphique OPEN LOOK et Sun a été développée par Sun Microsystems, Inc. pour ses utilisateurs et licenciés. Sun reconnaît les efforts de pionniers de Xerox pour la recherche et le développement du concept des interfaces d utilisation visuelle ou graphique pour l industrie de l informatique. Sun détient une licence non exclusive de Xerox sur l interface d utilisation graphique Xerox, cette licence couvrant également les licenciés de Sun qui mettent en place l interface d utilisation graphique OPEN LOOK et qui en outre se conforment aux licences écrites de Sun. CETTE PUBLICATION EST FOURNIE EN L ETAT ET AUCUNE GARANTIE, EXPRESSE OU IMPLICITE, N EST ACCORDEE, Y COMPRIS DES GARANTIES CONCERNANT LA VALEUR MARCHANDE, L APTITUDE DE LA PUBLICATION A REPONDRE A UNE UTILISATION PARTICULIERE, OU LE FAIT QU ELLE NE SOIT PAS CONTREFAISANTE DE PRODUIT DE TIERS. CE DENI DE GARANTIE NE S APPLIQUERAIT PAS, DANS LA MESURE OU IL SERAIT TENU JURIDIQUEMENT NUL ET NON AVENU. 041202@10536

Contents Preface 5 1 Overview of Linux Plug-In 9 Purpose of the Linux Plug-In 9 What the Linux Plug-In Includes 9 Requirements for Using the Linux Plug-In 10 2 Installing and Configuring the Linux Plug-In 11 Acquiring the Linux Plug-In 11 Adding the Linux Plug-In to N1 Grid Service Provisioning System 11 Customizing the Solution for Your Environment 12 3 Using the Linux Plug-In 13 Capturing and Deploying Linux RPM Files 13 How to Capture a Linux RPM File 13 How to Deploy a Linux RPM File 14 Component Types 14 Index 15 3

4 N1 Grid Service Provisioning System 5.0 User s Guide for the Linux Plug-In December 2004

Preface The N1 Grid Service Provisioning System 5.0 User s Guide for the Linux Plug-In contains information about installing, configuring, and using N1 Grid Service Provisioning System to provision Linux RPM files. Who Should Use This Book The main audience for the N1 Grid Service Provisioning System 5.0 User s Guide for the Linux Plug-In includes system administrators and operators of N1 Grid Service Provisioning System 5.0 software who want to be able to deploy Linux files with N1 Grid Service Provisioning System software. These users are expected to have the following background: Familiar with the N1 Grid Service Provisioning System 5.0 product Familiar with standard UNIX and Microsoft Windows commands and utilities Familiar with the general concepts associated with Linux and RPM Before You Read This Book If you are not already familiar with using the N1 Grid Service Provisioning System software, read the following books: N1 Grid Service Provisioning System 5.0 System Administration Guide N1 Grid Service Provisioning System 5.0 Operation and Provisioning Guide N1 Grid Service Provisioning System 5.0 Release Notes 5

How This Book Is Organized Chapter 1 provides an overview of the Linux Plug-In. Chapter 2 explains how to install and configure the Linux Plug-In. Chapter 3 describes how to capture and deploy Linux RPM files and identifies the specific component types in the Linux Plug-In. Accessing Sun Documentation Online The docs.sun.com SM Web site enables you to access Sun technical documentation online. You can browse the docs.sun.com archive or search for a specific book title or subject. The URL is http://docs.sun.com. Ordering Sun Documentation Sun Microsystems offers select product documentation in print. For a list of documents and how to order them, see Buy printed documentation at http://docs.sun.com. Typographic Conventions The following table describes the typographic changes that are used in this book. 6 N1 Grid Service Provisioning System 5.0 User s Guide for the Linux Plug-In December 2004

TABLE P 1 Typographic Conventions Typeface or Symbol Meaning Example AaBbCc123 AaBbCc123 AaBbCc123 AaBbCc123 The names of commands, files, and directories, and onscreen computer output What you type, contrasted with onscreen computer output Command-line placeholder: replace with a real name or value Book titles, new terms, and terms to be emphasized Edit your.login file. Use ls -a to list all files. machine_name% you have mail. machine_name% su Password: The command to remove a file is rm filename. Read Chapter 6 in the User s Guide. Perform a patch analysis. Do not save the file. [Note that some emphasized items appear bold online.] Shell Prompts in Command Examples The following table shows the default system prompt and superuser prompt for the C shell, Bourne shell, and Korn shell. TABLE P 2 Shell Prompts Shell C shell prompt C shell superuser prompt Prompt machine_name% machine_name# Bourne shell and Korn shell prompt $ Bourne shell and Korn shell superuser prompt # 7

8 N1 Grid Service Provisioning System 5.0 User s Guide for the Linux Plug-In December 2004

CHAPTER 1 Overview of Linux Plug-In This chapter explains general information about using N1 Grid Service Provisioning System to provision Linux RPM files and applications. The chapter contains the following information: Purpose of the Linux Plug-In on page 9 What the Linux Plug-In Includes on page 9 Requirements for Using the Linux Plug-In on page 10 Purpose of the Linux Plug-In The Linux Plug-In adds an RPM (Red Hat Package Manager) file component type to N1 Grid Service Provisioning System software. An RPM file contains all the pieces needed for an application. By creating components of the RPM file component type, you can then deploy those components to other Linux systems. In other words, you deploy the application contained in the RPM file to those systems. What the Linux Plug-In Includes The Linux Plug-In includes the RPM file component type. This component type identifies a Linux RPM file. 9

Requirements for Using the Linux Plug-In Any host on which you intend to deploy Linux RPM files must be running the Red Hat Enterprise Linux 2.1 or 3.0 operating system. 10 N1 Grid Service Provisioning System 5.0 User s Guide for the Linux Plug-In December 2004

CHAPTER 2 Installing and Configuring the Linux Plug-In This chapter contains the following information: Acquiring the Linux Plug-In on page 11 Adding the Linux Plug-In to N1 Grid Service Provisioning System on page 11 Customizing the Solution for Your Environment on page 12 Acquiring the Linux Plug-In The Linux Plug-In is packaged as a plug-in to the N1 Grid Service Provisioning System software. Plug-ins are packaged in Java Archive (JAR) files. The Linux Plug-In files are available from the N1 Grid Service Provisioning System 5.0 Supplement CD or from the Sun Download Center. Adding the Linux Plug-In to N1 Grid Service Provisioning System To make a given plug-in known to the N1 Grid Service Provisioning System product, you need to import the plug-in. To import a plug-in, follow these steps as explained in detail in Chapter 5, Plug-In Administration, in N1 Grid Service Provisioning System 5.0 System Administration Guide. 1. In the Administrative section of the main window, click Plug-ins. 2. In the Action column of the Plug-ins page, click Import. 3. Browse to the location where you downloaded the com.sun.linux_1.1.jar file. 11

4. Click the Continue to Import button. When the import completes successfully, a plug-in details page appears that shows you the objects that the plug-in provides. You can also import a plug-in archive file from the command line. Use the following command: % cr-cli -cmd plg.p.add -path com.sun.linux_1.1.jar -u username -p password Customizing the Solution for Your Environment You should grant no permissions to the /com/sun/linux folder. 12 N1 Grid Service Provisioning System 5.0 User s Guide for the Linux Plug-In December 2004

CHAPTER 3 Using the Linux Plug-In This chapter explains how to use the Linux Plug-In. The chapter contains the following information: Capturing and Deploying Linux RPM Files on page 13 Component Types on page 14 Capturing and Deploying Linux RPM Files Deploying Linux applications across your enterprise basically involves two processes: Capturing the RPM file from an existing location into a component Deploying that file to other Linux systems How to Capture a Linux RPM File Before you can deploy a file across systems, you have to make the file known to the N1 Grid Service Provisioning System software and wrap it into a component. Steps 1. From the main page in the N1 Grid Service Provisioning System browser interface, click Create New Component. The Components page appears. 2. Click the Create link in the Action column. 3. Type a name for the component. 4. Select com.sun.linux#rpm file as the component type. 13

The platform type changes to system#redhat Linux - any version. 5. (Optional) Type a label and description for the component. 6. Select the host and path name from which to capture the RPM file. 7. Click Check in. How to Deploy a Linux RPM File Steps 1. Capture the component as described above. 2. Go to the Components section of the N1 Grid Service Provisioning System application. 3. Choose the component to deploy. 4. Click Run in the Actions column next to the Install procedure. A plan details page appears for running the installation procedure. 5. Choose a target host. The target host needs to be running a version of the Linux operating system that matches the component to deploy. 6. Click Run Plan. Component Types The RPM file component type identifies a Linux RPM file component. When you create a component that uses this file type, the component has a default installation and a default uninstallation process. 14 N1 Grid Service Provisioning System 5.0 User s Guide for the Linux Plug-In December 2004

Index C capturing an RPM file, 13-14 component type, RPM file, 14 configuring the plug-in, 12 D deploying an RPM file, 14 plug-in files (Continued) location of, 11 R RPM, 9 RPM file component type, 14 I importing the plug-in, 11-12 J JAR file, 11 Java archive, See JAR file L Linux plug-in configuration, 12 importing, 11-12 P plug-in files importing, 11-12 15

16 N1 Grid Service Provisioning System 5.0 User s Guide for the Linux Plug-In December 2004