This chapter contains the following information:
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.
If you are importing the Linux Plug-In for the first time, acquire the com.sun.linux_2.0.jar file.
If you have already imported the previous version of the Linux Plug-In, acquire the com.sun.linux_1.1_2.0.jar file.
Add the file containing the JAR file:
Import the JAR file - Importing the Linux Plug-In to N1 Service Provisioning System.
The Linux plug-in is contained in the SUNWspslnxpackage.
In a terminal window, become superuser.
Move to the directory containing the plug-in package.
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.
The Linux plug-in is contained in the sun-spslnx-2.0-1.noarch.rpm file.
In a terminal window, become superuser.
Move to the directory containing the sun-spslnx-2.0-1.noarch.rpm file.
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.
The Linux plug-in is contained in the sun-spslnx-2.0.msi Microsoft Installer (MSI) package file.
Move to the directory containing the linux.msi file.
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.
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.
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
In the Administrative section of the browser interface main window, click Plug-ins.
In the Action column of the Plug-ins page, click Import.
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.
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.
You can also import a plug-in by using the command line.
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.
You should grant no permissions to the /com/sun/linux folder.
Check the SunSolve site for available patches for the Linux Plug-In. To apply the patch, follow the instructions in the patch README file.