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

Chapter 3 Installing and Configuring the Linux Plug-In

This chapter contains the following information:

Acquiring the Linux Plug-In

Acquiring the Linux plug-in is a two-step process. First, you must add the package file that contains the Linux plug-in JAR file to your system. Then you must import the Linux plug-in JAR file.

The Linux plug-in is packaged as a plug-in to the N1 Service Provisioning System software. The plug-in files for the Linux plug-in are available from the N1 Service Provisioning System 5.2 DVD or from the Sun Download Center.

Once the package file is added to your system, the Linux Plug-In is available for import from two different JAR files. Choose the correct file depending on your situation.

  1. Add the file containing the JAR file:

  2. Import the JAR file - Importing the Linux Plug-In to N1 Service Provisioning System.

Adding the Linux Plug-In for Solaris

The Linux plug-in is contained in the SUNWspslnxpackage.

ProcedureTo Add the Linux Plug-In Package for Solaris

Steps
  1. In a terminal window, become superuser.

  2. Move to the directory containing the plug-in package.

  3. Type the following command and press Return.

    # pkgadd -d package_directory SUNWspslnx

    The standalone JAR file is in the /opt/SUNWn1sps/plugins/com.sun.linux/ directory. The upgrade JAR file is in the /opt/SUNWn1sps/plugins/com.sun.linux/Upgradedirectory.

Adding the Linux Plug-In for Linux

The Linux plug-in is contained in the sun-spslnx-2.0-1.noarch.rpm file.

ProcedureTo Add the Linux Plug-In Package for Linux

Steps
  1. In a terminal window, become superuser.

  2. Move to the directory containing the sun-spslnx-2.0-1.noarch.rpm file.

  3. Type the following command and press Return.

    # rpm -i package_directorysun-spslnx-2.0-1.noarch.rpm

    The standalone JAR file is in the /opt/sun/N1_Service_Provisioning_System/plugins/com.sun.linux directory. The upgrade JAR file is in the /opt/sun/N1_Service_Provisioning_System/plugins/com.sun.linux/Upgrade directory.

Adding the Linux Plug-In for Windows

The Linux plug-in is contained in the sun-spslnx-2.0.msi Microsoft Installer (MSI) package file.

ProcedureTo Add the Linux Plug-In MSI File for Windows

Steps
  1. Move to the directory containing the linux.msi file.

  2. Double-click the sun-spslnx-2.0.msi file.

    The Installer GUI starts. The JAR file is copied to the c:\Program Files\N1 Service Provisioning System\plugins\com.sun.linux directory. The upgrade JAR file is in the c:\Program Files\N1 Service Provisioning System\plugins\com.sun.linux\Upgrade directory.

Importing the Linux Plug-In to N1 Service Provisioning System

To make a given plug-in known to the N1 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 Sun N1 Service Provisioning System 5.2 System Administration Guide.

ProcedureHow to Import the Linux Plug-in Using the Browser Interface

To import or upgrade a plug-in, follow these steps as explained in detail in Chapter 5, Plug-In Administration, in Sun N1 Service Provisioning System 5.2 System Administration Guide

Steps
  1. In the Administrative section of the browser interface main window, click Plug-ins.

  2. In the Action column of the Plug-ins page, click Import.

  3. Browse to the location where of the JAR file.

    • If you are importing the Linux Plug-In for the first time, select the com.sun.linux_2.0.jar file.

    • If you have already imported a previous version of the Linux Plug-In, select the com.sun.linux_1.1_2.0.jar file.

  4. Click the Continue to Import button.

    When the import complete successfully, a plug-in details page appears and shows you the objects that the plug-in provides.

ProcedureHow to Import the Linux Plug-in Using the CLI

You can also import a plug-in by using the command line.

Step

    To import a plug-in file from the CLI, type:


    % cr_cli -cmd plg.p.add -path plugin-filename -u username -p password
    
    • If you are importing the Linux Plug-In for the first time, plugin-filename is com.sun.linux_2.0.jar.

    • If you have already imported the previous version of the Linux Plug-In, plugin-filename is com.sun.linux_1.1_2.0.jar.

Customizing the Solution for Your Environment

You should grant no permissions to the /com/sun/linux folder.

Patching the Linux Plug-In

Check the SunSolve site for available patches for the Linux Plug-In. To apply the patch, follow the instructions in the patch README file.