Acquiring the OS Provisioning Plug-In is a two-step process. First, you must add the package file that contains the OS Provisioning Plug-In JAR file to your system. Then you must import the OS Provisioning Plug-In JAR file. Perform the following steps to add the plug-in to your Master Server.
Add the file containing the JAR file:
The OS Provisioning Plug-In is packaged as a plug-in to the N1 Service Provisioning System software. The plug-in files for the OS Provisioning Plug-In are available from the N1 SPS 5.2 DVD or from the Sun Download Center.
For instructions about how to add the plug-in package to your system, see the following procedures.
Import the JAR file.
Once the package file is added to your system, the OS Provisioning Plug-In is available for import from two different JAR files. Choose the correct file depending on your situation.
If you are importing the OS Provisioning Plug-In for the first time, acquire the n1-basedir/com.sun.n1osp/com.sun.n1osp_3.0.jar file.
If you have already imported the previous version of the OS Provisioning Plug-In, acquire the n1-basedir/com.sun.n1osp/Upgrade/com.sun.n1osp_2.0_3.0.jar file.
For instructions about how to import the plug-in JAR file, see Adding the OS Provisioning Plug-In to N1 SPS.
The plug-in product name plug-in is contained in the SUNWspsosp package.
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 SUNWspsosp
The standalone JAR file is in the /opt/SUNWn1sps/plugins/com.sun.n1osp/ directory. The upgrade JAR file is in the /opt/SUNWn1sps/plugins/com.sun.n1osp/Upgrade directory.
The plug-in product name plug-in is contained in the sun-spsosp-3.0-1.noarch.rpm file.
In a terminal window, become superuser.
Move to the directory containing the sun-spsosp-3.0-1.noarch.rpm file.
Type the following command and press Return.
# rpm -i package_directory sun-spsosp-3.0-1.noarch.rpm
The standalone JAR file is in the /opt/sun/N1_Service_Provisioning_System/plugins/com.sun.n1osp/ directory. The upgrade JAR file is in the /opt/sun/N1_Service_Provisioning_System/plugins/com.sun.n1osp/Upgrade directory.
The plug-in product name plug-in is contained in the sun-spsosp-3.0.msi Microsoft Installer (MSI) package file.
Move to the directory containing the sun-spsosp-3.0.msi file.
Double-click the sun-spsosp-3.0.msi file.
The Installer GUI starts. The JAR file is copied to the c:\Program Files\N1 Service Provisioning System\plugins\com.sun.n1osp directory.
To make a given plug-in known to the N1 SPS 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.
In the Administrative section of the N1 SPS browser interface main window, click Plug-ins.
In the Action column of the Plug-ins page, click Import.
Browse to the location of the JAR file.
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.
If you have not previously used the OS provisioning plug-in, use the following command to import the plug-in:
% cr-cli -cmd plg.p.add -path com.sun.n1osp_3.0.jar -u username -p password |
If you already have an older version of the OS provisioning plug-in, use the following command to import the plug-in:
% cr-cli -cmd plg.p.add -path com.sun.n1osp_2.0_3.0.jar -u username -p password |
To upgrade the OS provisioning plug-in from version 2.0 to version 3.0, follow these steps:
Upgrade the N1 SPS software to version 5.2, as explained in Chapter 10, Upgrading to the Sun N1 Service Provisioning System 5.2, in Sun N1 Service Provisioning System 5.2 Installation Guide.
Acquire and import the com.sun.n1osp_2.0_3.0.jar file.
For instructions about how to install the OS Provisioning Plug-In, see Installing the OS Provisioning Plug-In.
Upgrade the OS provisioning (control) server.
You must use the OS provisioning plug-in 3.0 software to recreate any existing OS provisioning servers. See Creating the OS Provisioning Server
Upgrade the OS image servers in your environment.
You must use the OS provisioning plug-in 3.0 software to recreate any existing OS image servers.
For instructions about how to create a JET Solaris image server, see How to Create the JET Solaris Image Server.
For instructions about how to create a Red Hat Linux image server, see Creating a RedHat Linux Image Server.
For instructions about how to create JET SuSe Linux image server, see Creating a SuSe Linux Image Server.
For instructions about how to create a Windows image server, see Setting Up the Windows Server.
When you recreate the boot and install servers, you must use the value that you used previously for the installPath variable. If the previous installPath variable value is no longer valid, you must create a new boot and install server with the valid installPath variable value.
Change the variable for the remote agent in any existing OS profiles.
The product_version_spsra variable in the profile must reflect the current N1 SPS RA software version. Edit any existing profiles and change the value of the product_version_spsra variable to 5.2. For more information about this variable, see Component Variables for Solaris Remote Agents.
If the OS Provisioning Plug-In package for the Solaris OS fails to install, remove the package, then try to install the package again.
If you want to use new variables in the OS Provisioning Plug-In 3.0, you must recreate the target hosts in your N1 SPS environment. For more information about how to create target hosts, see Chapter 9, Target Hosts for OS Provisioning.
If you prefer to use your existing target host definitions, you can continue to provision these hosts with the OS Provisioning Plug-In 3.0.
Starting with the release N1 SPS 5.2 release, the OS Provisioning Plug-In 3.0 uses default values for N1 SPS 5.2 paths. If you are using the N1 SPS 5.1 release, the OS Provisioning Plug-In, you must edit the sps_cli variable value in your plans to enable the OS Provisioning Plug-In 3.0. Edit this value in the following procedures.
When you upgrade to a new version of a plug-in, the Common Tasks page for the plug-in is updated to provide links to components that are installed with the new plug-in version. This feature enables you to easily view components that contain the most current features and improvements. Components that rely on old functionality are not linked to from the Common Tasks page.
If you have trouble finding a component that you previously installed, the component was likely created from the previous version of the plug-in. Follow these steps to view or work with a previous version of the component: