What's New in the Sun N1 Advanced Architecture for SAP Solutions 5.2 Update 2 Release

Chapter 2 Installing and Configuring the Sun N1 Advanced Architecture for SAP Solutions 5.2 Update 2 Release

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.

Installation Overview

Installing the Sun N1 AA 5.2 Update 2 release is a multiple step process.

  1. Verify that your environment meets the system requirements for this release.

    For more information, see System Requirements.

  2. 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.

  3. 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.

  4. Install the N1 AA 5.2 Update 2 release.

    For more information see the appropriate procedure.

System Requirements

To run the N1 AA 5.2 Update 2 release, the systems in your environment must meet the following requirements.

Installing the N1 AA 5.2 Update 2 Release

This section describes how to install the N1 AA 5.2 Update 2 release. This section explains the following topics.

ProcedureHow to Acquire the N1 AA 5.2 Update 2 Release

The N1 AA 5.2 Update 2 (5.2.4) release is available for download from http://www.sun.com.

Before You Begin

Before you install the N1 AA 5.2 Update 2 release, you must have the following software installed on your systems.

  1. In your web browser, type the URL http://www.sun.com/software/swportfolio/get.jsp.

    The Sun's Software Portfolio download page is displayed.

  2. In the Select Your Software section, click the check box next to Sun N1 Service Provisioning System.

  3. Click the Get Downloads & Media button.

  4. If prompted, log in or register for a Sun Online account

    The Download Sun Products page is displayed.

  5. In the My Downloads table, click the arrow beneath the product platform that you want to download.

    The Download Page is displayed.

  6. 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.

  7. 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.


    Note –

    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.


  8. Click the Download selected with Sun Download Manager button to download the files. The files are downloaded to your system.

  9. After you download the files, uncompress the files on your system.

ProcedureSPARC: How to Install the N1 AA 5.2 Update 2 Release

Follow these steps to apply the N1 AA 5.2 Update 2 patch to your SPARC based system.

Before You Begin

To install the N1 AA 5.2 Update 2 release, you must have already installed the following software on your system.

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.

  1. 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.

  2. 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.

  3. Log in as superuser on the master server.

  4. Stop the web server on the system.

    • Starting with the Solaris 10 11/06 release, type the following command.


      # /usr/sbin/svcadm disable svc:/system/webconsole:console
      
    • For all other supported Solaris releases, type the following command.


      # /usr/sbin/smcwebserver stop
      
  5. 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 
      
  6. Apply patch 124046-02. For example:


    # patchadd /var/spool/patch/124046-02
    
  7. Change users to assume the role of the n1aa user.


    # su - n1aa
    
  8. Change to the PostgreSQL binary directory.


    $ cd /opt/SUNWn1aa/pgsql/bin/
    
  9. 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.

  10. At the psql prompt, apply the patch SQL scripts.


    n1aa-# \i /usr/share/webconsole/n1aa/upgrade/install_patch_124046-02.sql
         
    n1aa-# \q
    
  11. Exit from the psql prompt.


    $ exit
    
  12. Exit from the n1aa user role.


    $ exit
    
  13. 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.

  14. 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.

  15. Restart the web server.

    • Starting with the Solaris 10 11/06 release, type the following command.


      # /usr/sbin/svcadm enable svc:/system/webconsole:console
      
    • For all other supported Solaris releases, type the following command.


      # /usr/sbin/smcwebserver start
      
  16. If you want to provision software on your SAP systems, install the SAP plug-in on the master server.

    Follow these steps.

    1. Log in to the Sun N1 Service Provisioning System master server.

    2. Apply patch 123849-03.

      For example:


      # patchadd /var/spool/patch/123849-03
      
    3. In the Administrative section of the browser interface main window, click Plug-ins.

    4. In the Action Column of the Plug-ins page, click Import.

    5. Click the Browse button and navigate to the location of the JAR file.

    6. 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.

    7. 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.

  17. If you want to provision software on your SAP systems, install the OS Provisioning plug-in on the master server.

    Follow these steps.

    1. Log in to the Sun N1 Service Provisioning System master server.

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

    3. In the Action Column of the Plug-ins page, click Import.

    4. Click the Browse button and navigate to the location of the JAR file.

    5. 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.

    6. 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.

See Also

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.

Procedurex86: How to Install the N1 AA 5.2 Update 2 Release

Before You Begin

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.

  1. 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.

  2. 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.

  3. 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.

    1. On the master server, create the user group n1aa.


      # /usr/sbin/groupadd n1aa
      
    2. Create the n1aa user.


      # /usr/sbin/useradd -d /opt/SUNWn1aa -g n1aa n1aa
      
    3. Assign a user password to the user n1aa.


      # passwd n1aa
        Password:
        Confirm password:
  4. Configure the PostgreSQL database.

    Follow these steps.

    1. Become superuser on the master server.

    2. 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
      
    3. Change to the directory in which you extracted the Sun N1 Advanced Architecture for SAP Solutions 5.2 Update 2 release.

    4. Install the package SUNWn1aapgsql.pkg.


      # pkgadd -d SUNWn1aapgsql.pkg
      
    5. Start the database.


      # /usr/sbin/svcadm enable svc:/application/n1aapgsql:default
      
  5. 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.

    1. Create a temporary installation directory on the N1 AA server and copy image-ext.tar and l10n.tar into this directory.

    2. Extract the Sun Web Console software.


      # tar -xf image-ext.tar
      # tar -xf l10n.tar
      
    3. Change to the temporary installation directory.

    4. Install the Sun Web Console software.


      # ./setup
      
  6. Install the Sun N1 Advanced Architecture Manager package.

    Follow these steps.

    1. Change to the directory in which you extracted the Sun N1 Advanced Architecture for SAP Solutions 5.2 Update 2 release.

    2. Install the SUNWn1aamngr.pkg package as superuser.


      # pkgadd -d SUNWn1aamngr.pkg
      
    3. 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.

    4. Change the session timeout parameter of the Sun N1 Advanced Architecture Manager.

      • Starting with the Solaris 10 11/06 release, type the following command.


        # wcadmin add -p -a n1aa session.timeout.value=60
        
      • For all other supported Solaris releases, type the following command.


        # /usr/sbin/smreg add -p session.timeout.value=60
        
    5. Change the memory parameter of the Sun N1 Advanced Architecture Manager.

      • Starting with the Solaris 10 11/06 release, type the following command.


        # wcadmin add -p -a n1aa java.options="-server -Xms256m -Xmx512m"
        
      • For all other supported Solaris releases, type the following command.


        # /usr/sbin/smreg add -p java.options="-server -Xms256m -Xmx512m"
        
    6. Restart the Sun N1 Advanced Architecture Manager.

      1. Start the PostgreSQL database.


        # /usr/sbin/svcadm enable svc:/application/n1aapgsql:default
        
      2. Start the Sun Web Console.

        • Starting with the Solaris 10 11/06 release, type the following command.


          # /usr/sbin/svcadm enable svc:/system/webconsole:console
          
        • For all other supported Solaris releases, type the following command.


          # /usr/sbin/smcwebserver start
          
  7. Install the Sun N1 Advanced Architecture Command Line Interface.

    Follow these steps.

    1. Change to the directory in which you extracted the Sun N1 Advanced Architecture for SAP Solutions 5.2 Update 2 release.

    2. Install the SUNWn1aacli.pkg package as superuser.


      # pkgadd -d SUNWn1aacli.pkg
      
  8. 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.

  9. 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.

  10. 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.

  11. Stop the web server.

    • Starting with the Solaris 10 11/06 release, type the following command.


      # /usr/sbin/svcadm disable svc:/system/webconsole:console
      
    • For all other supported Solaris releases, type the following command.


      # /usr/sbin/smcwebserver stop
      
  12. Restart the web server.

    • Starting with the Solaris 10 11/06 release, type the following command.


      # /usr/sbin/svcadm enable svc:/system/webconsole:console
      
    • For all other supported Solaris releases, type the following command.


      # /usr/sbin/smcwebserver start
      
  13. If you want to provision software on your SAP systems, install the SAP plug-in on the master server.

    Follow these steps.

    1. Apply patch 123849-03.

      For example:


      # patchadd /var/spool/patch/123849-03
      
    2. Log in to the Sun N1 Service Provisioning System master server.

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

    4. In the Action Column of the Plug-ins page, click Import.

    5. Click the Browse button and navigate to the location of the JAR file.

    6. 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.

    7. Click the Continue to Import button to import the plug-in.

  14. If you want to provision software on your SAP systems, install the OS Provisioning plug-in on the master server.

    Follow these steps.

    1. Log in to the Sun N1 Service Provisioning System master server.

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

    3. In the Action Column of the Plug-ins page, click Import.

    4. Click the Browse button and navigate to the location of the JAR file.

    5. 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.

    6. 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.

  15. (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.

    1. Change to the directory in which you extracted the Sun N1 Advanced Architecture for SAP Solutions 5.2 Update 2 release

    2. Install the SUNWn1aad.pkg package as superuser.


      # pkgadd -d SUNWn1aad.pkg
      
  16. Install the Performance Collector package on all N1 Advanced Architecture clients.

    Follow these steps.

    1. Change to the directory in which you extracted the Sun N1 Advanced Architecture for SAP Solutions 5.2 Update 2 release.

    2. Install the SUNWn1aaperf.pkg package as superuser.


      # pkgadd -d SUNWn1aaperf.pkg
      
  17. 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.

See Also

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.

Uninstalling the N1 AA 5.2 Update 2 Release

To uninstall the N1 AA 5.2 Update 2 release, perform the following tasks.

  1. 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.

  2. 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.

Deleting the SAP Plug-in Version 1.3

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.

  1. 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.

  2. Uninstall any non-global zone that you created with the SAP plug-in.

    For more information, see Managing Zone Hosts or Managing Zone Resources.

  3. 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.

  4. 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

  5. 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.

Solaris: Installing an N1 Service Provisioning System Master Server and an N1 System Manager Management Server on the Same System

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.


Note –

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.


  1. Install the N1 SM management server. For more information, see Sun N1 System Manager 1.3 Installation and Configuration Guide.

  2. Log in as root on the N1 SM management server system.

  3. 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.

  4. If necessary, start a Korn shell session.


    # ksh
    
  5. 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'
  6. 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.

  7. 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.

  8. 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
    
  9. 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
    
  10. Install the N1 SPS Master Server by running the new installation script.


    # ./new_ms_installer.sh
    
  11. 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.

  12. 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
    
  13. Create a backup copy of the N1 SPS Master Server uninstallation script.


    # cp cr_uninstall_ms.sh cr_uninstall_ms.sh.backup
    
  14. 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
    
  15. 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.


    Note –

    Do not remove the new alternate root directory. This directory is required to uninstall the N1 SPS master server.