This chapter describes how to install and configure the Sun N1 Advanced Architecture for SAP Solutions 5.2 Update 2 release. This chapter explains the following topics.
Installing the Sun N1 AA 5.2 Update 2 release is a multiple step process.
Verify that your environment meets the system requirements for this release.
For more information, see System Requirements.
If necessary, install the N1 Service Provisioning System 5.2 Update 2 software.
To install the N1 AA 5.2 Update 2 release, you must first install the N1 Service Provisioning System 5.2 Update 2 (5.2.4) release. For more information, see What’s New in the Sun N1 Service Provisioning System 5.2 Update 2 Release.
Acquire the N1 AA 5.2 Update 2 release software.
For more information, see How to Acquire the N1 AA 5.2 Update 2 Release.
Install the N1 AA 5.2 Update 2 release.
For more information see the appropriate procedure.
For SPARC based systems, see SPARC: How to Install the N1 AA 5.2 Update 2 Release
For x86 based systems, see x86: How to Install the N1 AA 5.2 Update 2 Release
To run the N1 AA 5.2 Update 2 release, the systems in your environment must meet the following requirements.
Operating system - The following versions of the Solaris OS are supported.
SPARC: Solaris 9 and 10 OS
x86: Solaris 10 OS
Sun N1 Service Provisioning System – To install the patches that comprise this update release of the N1 Advanced Architecture, you must first install the N1 Service Provisioning System 5.2 Update 2 patch release. To install the N1 Sevice Provisioning System 5.2 Update 2 patch release, you must already have installed and configured a compatible previous release or patch update of the Sun N1 Service Provisioning System. Compatible previous releases and patch updates are as follows:
N1 Service Provisioning System 5.2 release
N1 Service Provisioning System 5.2.1 patch update
N1 Service Provisioning System 5.2.2 patch update
N1 Service Provisioning System 5.2.3 patch update
For more information, see What’s New in the Sun N1 Service Provisioning System 5.2 Update 2 Release.
SPARC based systems only: Sun N1 AA 5.2.1 release – To install the N1 AA 5.2 Update 2 release on a SPARC based system, you must first install the N1 AA 5.2.1 release. The N1 AA 5.2.1 SPARC patch is available for download with the N1 AA 5.2 Update 2 release on Sun's Software Portfolio download page. For more information about how to install the N1 AA 5.2.1 release, see Sun N1 Advanced Architecture for SAP Solutions 5.2.1 Installation Guide.
SAP software – If you want to use the N1 AA Deployer features, you must have SAP software installed and configured on the systems that you want to manage. For more information, see the SAP web site at http://www.sap.com.
Sun Java Web Console - The N1 AA Manager server must have Sun Java Web Console 2.2.5 installed.
N1 Service Provisioning System SAP plug-in – The N1 Service Provisioning System SAP plug-in version 1.3 is required for the N1 AA 5.2 Update 2 release. This version of the plug-in is available in the 123849-03.tar.gz file on the Sun Download Center.
N1 Service Provisioning System OS Provisioning plug-in - If you want to install operating systems in your N1 AA environment, you must import the OS Provisioning plug-in in your N1 Service Provisioning System environment. If the OS Provisioning plug-in (SUNWspsosp package) is not installed on your master server, download and extract the file "SPS5.2.1 Plug-ins including N1 Advanced Architecture for SAP, English - n1_sps-5_2_1-supp-ga.zip" available on the Sun Download Center.
This section describes how to install the N1 AA 5.2 Update 2 release. This section explains the following topics.
The N1 AA 5.2 Update 2 (5.2.4) release is available for download from http://www.sun.com.
Before you install the N1 AA 5.2 Update 2 release, you must have the following software installed on your systems.
SPARC systems only: N1 Advanced Architecture for SAP Solutions 5.2.1 release
The N1 AA 5.2.1 SPARC patch is available for download with the N1 AA 5.2 Update 2 release on Sun's Software Portfolio download page. You must download and apply N1 AA 5.2.1 SPARC patch before you apply the N1 AA 5.2 Update 2 SPARC patch. For more information about how to install the N1 AA 5.2.1 release, see Sun N1 Advanced Architecture for SAP Solutions 5.2.1 Installation Guide.
N1 Service Provisioning System 5.2 Update 2 release
If the N1 Service Provisioning System 5.2 Update 2 release is not currently running on your system, you must acquire and install the N1 Service Provisioning System 5.2 Update 2 release from the Sun Download Center. For more information, see What’s New in the Sun N1 Service Provisioning System 5.2 Update 2 Release.
In your web browser, type the URL http://www.sun.com/software/swportfolio/get.jsp.
The Sun's Software Portfolio download page is displayed.
In the Select Your Software section, click the check box next to Sun N1 Service Provisioning System.
Click the Get Downloads & Media button.
If prompted, log in or register for a Sun Online account
The Download Sun Products page is displayed.
In the My Downloads table, click the arrow beneath the product platform that you want to download.
The Download Page is displayed.
Review and accept the license agreement.
If you do not agree to the terms of the license agreement, click the radio button beside Decline License Agreement to cancel your download.
Click the check boxes next to the files that you want to download.
For SPARC based systems, select the following files.
124046-02.tar.gz contains the new features in the N1 AA 5.2 Update 2 release.
123849-03.tar.gz contains the new version of the SAP plug-in.
For x86 based systems, select the following files.
n1aax86.tar.gz contains the new features in the N1 AA 5.2 Update 2 release.
123849-03.tar.gz contains the new version of the SAP plug-in.
You must download the README file. Select the .zip file of the product that you want to install. You can also download ISO images compressed in .zip files if you want to create physical media for the product.
If the Sun N1 Service Provisioning System 5.2 Update 2 release is not currently installed on your system, you must download and install the patches for the N1 Service Provisioning System 5.2 Update 2 release. Select the appropriate patches for the N1 Service Provisioning System 5.2 Update 2 release in addition to the N1 AA 5.2 Update 2 release.
Click the Download selected with Sun Download Manager button to download the files. The files are downloaded to your system.
After you download the files, uncompress the files on your system.
Follow these steps to apply the N1 AA 5.2 Update 2 patch to your SPARC based system.
To install the N1 AA 5.2 Update 2 release, you must have already installed the following software on your system.
N1 Advanced Architecture for SAP Solutions 5.2.1 release
The N1 AA 5.2.1 SPARC patch is available for download with the N1 AA 5.2 Update 2 release on Sun's Software Portfolio download page. You must download and apply N1 AA 5.2.1 SPARC patch before you apply the N1 AA 5.2 Update 2 SPARC patch. For more information about how to install the N1 AA 5.2.1 release, see Sun N1 Advanced Architecture for SAP Solutions 5.2.1 Installation Guide.
N1 Service Provisioning System 5.2 Update 2 release
If the N1 Service Provisioning System 5.2 Update 2 release is not currently running on your system, you must acquire and install the N1 Service Provisioning System 5.2 Update 2 release from the Sun Download Center. For more information, see What’s New in the Sun N1 Service Provisioning System 5.2 Update 2 Release.
This procedure also assumes that you have downloaded the N1 AA 5.2 Update 2 SPARC patch 124046-02 and the SAP plug-in patch 123849-03. For more information about how to acquire the patch, see How to Acquire the N1 AA 5.2 Update 2 Release.
If the N1 Service Provisioning System 5.2.1 release is not installed on your system, acquire and install the N1 Service Provisioning System 5.2.1 release.
To install the N1 Service Provisioning System 5.2 Update 2 release, you must already have installed and configured a compatible previous release or patch update of the Sun N1 Service Provisioning System. Compatible previous releases and patch updates are as follows:
N1 Service Provisioning System 5.2 release
N1 Service Provisioning System 5.2.1 patch update
N1 Service Provisioning System 5.2.2 patch update
N1 Service Provisioning System 5.2.3 patch update
To determine which release is installed on your system, type the cr_server -version command in a terminal window.
You can download and install the N1 Service Provisioning System 5.2.1 zip file (n1_sps-5_2_1-ga-solaris-sparc.zip) from the Sun Software Portfolio download page.
For more information about how to install the N1 Service Provisioning System 5.2.1 release, see Sun N1 Service Provisioning System 5.2 Installation Guide.
If the N1 Service Provisioning System 5.2 Update 2 release is not installed on your system, acquire and install the N1 Service Provisioning System 5.2 Update 2 release.
Download and apply the following patches that are available at the SunSolve web site.
122989-12 for the Master Server
122991-12 for the Command Line Interface
For more information, see What’s New in the Sun N1 Service Provisioning System 5.2 Update 2 Release.
Log in as superuser on the master server.
Stop the web server on the system.
Unregister the N1 AA Manager software.
Starting with the Solaris 10 11/06 release, type the following command.
# wcadmin undeploy -a n1aa -x n1aa |
For all other supported Solaris releases, type the following commands.
# /usr/sbin/smreg remove -a com.sun.web.admin.n1aa_2.2.4 # cd /var/opt/webconsole/work/com_sun_web_console/localhost && rm -rf n1aa |
Apply patch 124046-02. For example:
# patchadd /var/spool/patch/124046-02 |
Change users to assume the role of the n1aa user.
# su - n1aa |
Change to the PostgreSQL binary directory.
$ cd /opt/SUNWn1aa/pgsql/bin/ |
Specify the port on which the PostgreSQL database should listen.
$ ./psql -p 5433 n1aa |
In the previous example, the PostgreSQL database is set to listen on port 5433. Change the port value as appropriate for your environment.
At the psql prompt, apply the patch SQL scripts.
n1aa-# \i /usr/share/webconsole/n1aa/upgrade/install_patch_124046-02.sql n1aa-# \q |
Exit from the psql prompt.
$ exit |
Exit from the n1aa user role.
$ exit |
Recreate the link to the N1 Service Provisioning System Java Library.
# cd /usr/share/webconsole/n1aa/WEB-INF/lib # rm sps-api.jar # ln -s /opt/SUNWn1sps/N1_Service_Provisioning_System_5.2/cli/lib/sps-api.jar |
For more information, see Chapter 2, Installation of the N1 AA Manager, in Sun N1 Advanced Architecture for SAP Solutions 5.2.1 Installation Guide.
Register the N1 AA Manager software.
Starting with the Solaris 10 11/06 release, type the following command.
# wcadmin deploy -a n1aa -x n1aa /usr/share/webconsole/n1aa |
For all other supported Solaris releases, type the following command.
# /usr/sbin/smreg add -a /usr/share/webconsole/n1aa |
For more information, see Chapter 2, Installation of the N1 AA Manager, in Sun N1 Advanced Architecture for SAP Solutions 5.2.1 Installation Guide.
Restart the web server.
If you want to provision software on your SAP systems, install the SAP plug-in on the master server.
Follow these steps.
Log in to the Sun N1 Service Provisioning System master server.
Apply patch 123849-03.
For example:
# patchadd /var/spool/patch/123849-03 |
In the Administrative section of the browser interface main window, click Plug-ins.
In the Action Column of the Plug-ins page, click Import.
Click the Browse button and navigate to the location of the JAR file.
Select the JAR file, and click Open.
If you have no version of the plug-in currently loaded, select the com.sun.sap_1.3.jar.
If you have version 1.0 of the plug-in currently loaded, select the com.sun.sap_1.0_1.1.jar to bring it to version 1.1, then follow the next step.
If you have version 1.1 of the plug-in currently loaded, select the com.sun.sap_1.1_1.2.jar to bring it to version 1.2, then follow the next step.
If you have version 1.2 of the plug-in currently loaded, select the com.sun.sap_1.2_1.3.jar.
Click the Continue to Import button to import the plug-in.
For more information, see the README file included with the SAP plug-in 1.3.
If you want to provision software on your SAP systems, install the OS Provisioning plug-in on the master server.
Follow these steps.
Log in to the Sun N1 Service Provisioning System master server.
In the Administrative section of the browser interface main window, click Plug-ins.
In the Action Column of the Plug-ins page, click Import.
Click the Browse button and navigate to the location of the JAR file.
Select the JAR file, and click Open.
If you have no version of the plug-in currently loaded, select the com.sun.n1osp_3.1.jar.
If you have version 2.0 of the plug-in currently loaded, select the com.sun.n1osp_2.0_3.0.jar to bring it to version 3.0, then follow the next step.
If you have version 3.0 of the plug-in currently loaded, select the com.sun.n1osp_3.0_3.1.jar.
Click the Continue to Import button to import the plug-in.
For more information, see the README file included with the OS Provisioning plug-in 3.1.
For more information about how to install the N1 AA 5.2 Update 2 release, see Sun N1 Advanced Architecture for SAP Solutions 5.2.1 Installation Guide.
For more information about how to install the SAP plug-in, see Sun N1 Service Provisioning System User’s Guide for SAP Plug-In 1.0.
To install the N1 AA 5.2 Update 2 release, you must have already installed the N1 Service Provisioning System 5.2 Update 2 release. If the N1 Service Provisioning System 5.2 Update 2 release is not currently running on your system, you must acquire and install the N1 Service Provisioning System 5.2 Update 2 release from the Sun Download Center. For more information, see What’s New in the Sun N1 Service Provisioning System 5.2 Update 2 Release.
This procedure also assumes that you have downloaded the N1 AA 5.2 Update 2 x86 packages file (n1aax86.tar.gz) and the SAP plug-in patch 123849-03. For more information about how to acquire these packages, see How to Acquire the N1 AA 5.2 Update 2 Release.
The x86 based system on which you want to run the N1 AA 5.2 Update 2 release must be running the Solaris 10 OS.
If necessary, install the N1 Service Provisioning System 5.2 .1 release.
To install the N1 Service Provisioning System 5.2 Update 2 release, you must already have installed and configured a compatible previous release or patch update of the Sun N1 Service Provisioning System. Compatible previous releases and patch updates are as follows:
N1 Service Provisioning System 5.2 release
N1 Service Provisioning System 5.2.1 patch update
N1 Service Provisioning System 5.2.2 patch update
N1 Service Provisioning System 5.2.3 patch update
To determine which release is installed on your system, type the cr_server -version command in a terminal window.
You can download and install the N1 Service Provisioning System 5.2.1 zip file (n1_sps-5_2_1-ga-solaris-x86.zip) from the Sun Software Portfolio download page.
For more information about how to install the N1 Service Provisioning System 5.2.1 release, see Sun N1 Service Provisioning System 5.2 Installation Guide.
If the N1 Service Provisioning System 5.2 Update 2 release is not installed on your system, acquire and install the N1 Service Provisioning System 5.2 Update 2 release.
Download and apply the following patches that are available at the SunSolve web site.
122990-12 for the Master Server
122992-12 for the Command Line Interface
For more information, see What’s New in the Sun N1 Service Provisioning System 5.2 Update 2 Release.
If necessary, configure the n1aa user on the master server.
If the n1aa user and group are not configured in your environment, follow these steps.
Configure the PostgreSQL database.
Follow these steps.
Become superuser on the master server.
If the /opt/SUNWn1aa/pgsql directory already exists, move it to a backup location by using the following command.
# mv /opt/SUNWn1aa/pgsql /opt/SUNWn1aa/pgsql_backup |
Change to the directory in which you extracted the Sun N1 Advanced Architecture for SAP Solutions 5.2 Update 2 release.
Install the package SUNWn1aapgsql.pkg.
# pkgadd -d SUNWn1aapgsql.pkg |
Start the database.
# /usr/sbin/svcadm enable svc:/application/n1aapgsql:default |
If necessary, install the SunTM Web Console Software. The Solaris 10 11/06 release includes the Sun Web Console software. If your system is not running the Solaris 10 11/06 release, follow these steps.
Install the Sun N1 Advanced Architecture Manager package.
Follow these steps.
Change to the directory in which you extracted the Sun N1 Advanced Architecture for SAP Solutions 5.2 Update 2 release.
Install the SUNWn1aamngr.pkg package as superuser.
# pkgadd -d SUNWn1aamngr.pkg |
Register the Sun N1 Advanced Architecture Manager.
Starting with the Solaris 10 11/06 release, type the following command.
# wcadmin deploy -a n1aa -x n1aa /usr/share/webconsole/n1aa |
For all other supported Solaris releases, type the following command.
# /usr/sbin/smreg add -a /usr/share/webconsole/n1aa |
For more information, see Chapter 2, Installation of the N1 AA Manager, in Sun N1 Advanced Architecture for SAP Solutions 5.2.1 Installation Guide.
Change the session timeout parameter of the Sun N1 Advanced Architecture Manager.
Change the memory parameter of the Sun N1 Advanced Architecture Manager.
Restart the Sun N1 Advanced Architecture Manager.
Install the Sun N1 Advanced Architecture Command Line Interface.
Follow these steps.
Create a link to the N1 Service Provisioning System Java Library.
# cd /usr/share/webconsole/n1aa/WEB-INF/lib # ln -s /opt/SUNWn1sps/N1_Service_Provisioning_System_5.2/cli/lib/sps-api.jar |
For more information, see Chapter 2, Installation of the N1 AA Manager, in Sun N1 Advanced Architecture for SAP Solutions 5.2.1 Installation Guide.
Unregister the N1 AA Manager software.
Starting with the Solaris 10 11/06 release, type the following command.
# wcadmin undeploy -a n1aa -x n1aa com.sun.web.admin.n1aa_2.2.4 |
For all other supported Solaris releases, type the following command.
# /usr/sbin/smreg remove -a com.sun.web.admin.n1aa_2.2.4 |
For more information, see Chapter 2, Installation of the N1 AA Manager, in Sun N1 Advanced Architecture for SAP Solutions 5.2.1 Installation Guide.
Register the N1 AA Manager software.
Starting with the Solaris 10 11/06 release, type the following command.
# wcadmin deploy -a n1aa -x n1aa /usr/share/webconsole/n1aa |
For all other supported Solaris releases, type the following command.
# /usr/sbin/smreg add -a /usr/share/webconsole/n1aa |
For more information, see Chapter 2, Installation of the N1 AA Manager, in Sun N1 Advanced Architecture for SAP Solutions 5.2.1 Installation Guide.
Stop the web server.
Restart the web server.
If you want to provision software on your SAP systems, install the SAP plug-in on the master server.
Follow these steps.
Apply patch 123849-03.
For example:
# patchadd /var/spool/patch/123849-03 |
Log in to the Sun N1 Service Provisioning System master server.
In the Administrative section of the browser interface main window, click Plug-ins.
In the Action Column of the Plug-ins page, click Import.
Click the Browse button and navigate to the location of the JAR file.
Select the JAR file, and click Open.
If you have no version of the plug-in currently loaded, select the com.sun.sap_1.3.jar.
If you have version 1.0 of the plug-in currently loaded, select the com.sun.sap_1.0_1.1.jar to bring it to version 1.1, then follow the next step.
If you have version 1.1 of the plug-in currently loaded, select the com.sun.sap_1.1_1.2.jar to bring it to version 1.2, then follow the next step.
If you have version 1.2 of the plug-in currently loaded, select the com.sun.sap_1.2_1.3.jar.
Click the Continue to Import button to import the plug-in.
If you want to provision software on your SAP systems, install the OS Provisioning plug-in on the master server.
Follow these steps.
Log in to the Sun N1 Service Provisioning System master server.
In the Administrative section of the browser interface main window, click Plug-ins.
In the Action Column of the Plug-ins page, click Import.
Click the Browse button and navigate to the location of the JAR file.
Select the JAR file, and click Open.
If you have no version of the plug-in currently loaded, select the com.sun.n1osp_3.1.jar.
If you have version 2.0 of the plug-in currently loaded, select the com.sun.n1osp_2.0_3.0.jar to bring it to version 3.0, then follow the next step.
If you have version 3.0 of the plug-in currently loaded, select the com.sun.n1osp_3.0_3.1.jar.
Click the Continue to Import button to import the plug-in.
For more information, see the README file included with the OS Provisioning plug-in 3.1.
(Optional) Configure the aasap and aasapd services.
If you want to execute remote commands on your servers, install the aasap and aasapd services on your systems. Follow these steps.
Install the Performance Collector package on all N1 Advanced Architecture clients.
Follow these steps.
Update all the Remote Agents in your N1 Service Provisioning System environment.
For more information, see the Sun N1 Service Provisioning System 5.2 Installation Guide.
For more information about how to install the N1 AA 5.2 Update 2 release, see Sun N1 Advanced Architecture for SAP Solutions 5.2.1 Installation Guide.
For more information about how to install the SAP plug-in, see Sun N1 Service Provisioning System User’s Guide for SAP Plug-In 1.0.
To uninstall the N1 AA 5.2 Update 2 release, perform the following tasks.
SPARC systems only: Remove the N1 AA 5.2 Update 2 patch (124046-02).
For more information, see the “Special Uninstallation Instructions” section of the patch README file.
SPARC and x86 systems: Uninstall the N1 AA software.
To uninstall the N1 AA software, you remove the N1 AA software packages. For more information, see N1 AA Uninstallation in Sun N1 Advanced Architecture for SAP Solutions 5.2.1 Installation Guide.
To delete the SAP plug-in 1.3, you must delete or uninstall all the objects created by all versions of the plug-in. If you used the SAP plug-in to create non-global zones, you must uninstall all those non-global zones.
To delete the SAP plug-in version 1.3, perform the following tasks.
Delete or uninstall all the objects that you created with the SAP plug-in.
For more information, see Managing Components in Sun N1 Service Provisioning System 5.2 Plan and Component Developer’s Guide.
Uninstall any non-global zone that you created with the SAP plug-in.
For more information, see Managing Zone Hosts or Managing Zone Resources.
Delete the container component from all global zone hosts.
Run the default uninstall component procedure for the container component. You must run this procedure on all global zone target hosts.
For more information, see Managing Components in Sun N1 Service Provisioning System 5.2 Plan and Component Developer’s Guide.
For all hosts that use any of the SAP plug-in host types, change the host type to system#crhost.
When you modify the hosts, uncheck the Update or Prepare Host With Most Recent System Updates or Services checkbox on the Plan Run Details page before you click Save.
For more information, see About Hosts in Sun N1 Service Provisioning System 5.2 System Administration Guide
Delete the SAP plug-in version 1.3.
Run the /com/sun/sap/RemoveSAPSystemServicePlan on all hosts that have SAP system services installed.
For more information, see Chapter 5, Plug-In Administration, in Sun N1 Service Provisioning System 5.2 System Administration Guide.
If you use the default installation scripts for the N1 Service Provisioning System (N1 SPS) master server and N1 System Manager (N1 SM) management server, you cannot install both applications on the same system.
If you want to install both applications on the same system, you can modify the N1 SPS master server installation script to install the master server in an alternate root directory. To use this workaround, perform the following steps.
Do not install the N1 SPS OS Provisioning plug-in on a system that hosts both the N1 SM management server and the N1 SPS master server.
Install the N1 SM management server. For more information, see Sun N1 System Manager 1.3 Installation and Configuration Guide.
Log in as root on the N1 SM management server system.
Copy the appropriate N1 SPS master server installation script to the system.
Copy either the cr_ms_solaris_x86_pkg_5.2.sh or the cr_ms_solaris_sparc_pkg_5.2.sh from the N1 SPS distribution.
If necessary, start a Korn shell session.
# ksh |
Create a shell script file that is named aliases.sh with the following contents.
#!/bin/ksh alias -x pkgadd='pkgadd -R $NEW_PKG_ROOT' alias -x pkginfo='pkginfo -R $NEW_PKG_ROOT' alias -x pkgparam='pkgparam -R $NEW_PKG_ROOT'
Create an alternate root directory for the N1 SPS installation.
# mkdir -p alternate-root-path |
In the previous step, alternate-root-path specifies the root directory in which you want to install the N1 SPS Master Server, for example, root1. This alternate root directory will contain a new package repository for the N1 SPS master server packages.
Export the value of the alternate root directory to use with the N1 SPS installation script.
# export NEW_PKG_ROOT=alternate-root-path |
In the previous step, alternate-root-path specifies the root directory in which you want to install the N1 SPS Master Server, for example, root1. This alternate root directory will contain a new package repository for the N1 SPS Master Server packages.
Create a symbolic link from the opt directory to an alternate opt directory in the new alternate root directory.
# ln -s /opt alternate-root-path/opt |
Create a new installation script by prepending the aliases.sh script to the default N1 SPS Master Server installation script. For example:
# cat aliases.sh cr_ms_solaris_x86_pkg_5.2.sh > new_ms_installer.sh |
Install the N1 SPS Master Server by running the new installation script.
# ./new_ms_installer.sh |
Answer the installer questions.
During the installation, consider the following limitations.
When you are prompted to specify the installation directory for the master server, enter a new subdirectory under /opt. To avoid overwriting the master server that is installed with N1 SM, ensure that this new subdirectory is different from the installation directory of the master server that is installed with N1 SM. For example, if, in step 7, you created a symbolic link from /opt to /root1/opt, specifying an installation directory of /opt/ms1 during the installation installs the new N1 SPS master server in /root1/opt/ms1.
When you are prompted to choose a port to use with the master server, ensure that you specify a port that is different from the port that is used by the master server used by N1 SM.
For more information about how to install N1 SPS, see Sun N1 Service Provisioning System 5.2 Installation Guide.
After the installation is completed, change to the directory that contains the N1 SPS master server scripts. For example:
# cd /root1/opt/ms1/N1_Service_Provisioning_System_5.2/server/bin |
Create a backup copy of the N1 SPS Master Server uninstallation script.
# cp cr_uninstall_ms.sh cr_uninstall_ms.sh.backup |
Edit the cr_uninstall_ms.sh.backup script to perform the package operations on the alternate root. You can use the sed command to make these changes to the script by typing the following command.
# /usr/bin/sed -e 's!pkginfo!& -R '${NEW_PKG_ROOT}'!g' \ -e 's!pkgrm!& -R '${NEW_PKG_ROOT}'!g' \ -e 's!pkgparam!& -R '${NEW_PKG_ROOT}'!g' \ cr_uninstall_ms.sh.backup > cr_uninstall_ms.sh |
Remove the backup copy of the uninstallation script.
# rm cr_uninstall_ms.sh.backup |
To uninstall the N1 SPS Master Server, use this revised version of the cr_uninstall_ms.sh script.
Do not remove the new alternate root directory. This directory is required to uninstall the N1 SPS master server.