Sun Open Telecommunications Platform 2.0 Administration Guide

Updating Sun OTP Components

This section describes the method to apply Sun OTP patch cluster to update a system. You can update single or multiple components of Sun OTP by using the Command-Line Interface (CLI) or Graphical User Interface (GUI).

ProcedureTo Update Sun OTP Components Using the GUI

  1. Open a browser and log in to the Sun OTP application provisioning service on the 1.1 Sun OTP provisioning server.

    Go to URL https://install server:9090 where install server is either the IP address or the fully qualified name of the 1.1 Sun OTP provisioning server.

  2. Type the user name and password.

    The user name is otpadmin. The password is the password provided in the password file while setting up the Sun OTP provisioning server.

  3. Import the Sun OTP Update plug-in.

    1. Click Administration in the left menu.

    2. Click the plug-ins link.

    3. Click the import link to import a new plug-in.

    4. Type the following path of the jar file in one line in the Import plug-in JAR field.


      2.0_mediadir/common/components/sunotp/SUNWotpupdate/
      reloc/SUNWotp/update/jar/com.sun.OTPUpdate_1.0.jar

      2.0_mediadir is the fully qualified path name to the Sun Open Telecommunications Platform 2.0 installation source directory.

    5. Click continue to import.

      After successful import, the Sun OTP Update plug-in appears under Common Tasks.

  4. Prepare Sun OTP components for update.

    1. Click OTP Update in the left menu to display the OTP update steps page.

    2. Click Prepare and click run.

    3. Click select from list under variable settings.

    4. At the bottom of the select variable setting from list... screen, click create set to create a new variable set.

    5. Type a new variable set name in the Set Name field.

    6. Type the values for the following variables:

      mediaDirectory - Fully-qualified path name to the Sun Open Telecommunications Platform 2.0 installation source directory.

      logFile - Path of the log file that would contain the output of update operation

      Solaris - yes or no, default value is yes

      SunCluster - yes or no, default value is yes

      ManagementServices - yes or no, default value is yes

      SecurityServices - yes or no, default value is yes

    7. Click save to save the variable set.

    8. Close the select variable setting from list... screen.

    9. In the Prepare screen, click the drop-down list under variable settings, and choose the new variable set.

    10. Type the host name that you want to update in the target host field.

    11. Click run plan (includes preflight).

  5. Update Sun OTP components.

    1. Click Update and click run.

    2. Type the host name that you want to update in the target host field.

    3. Click run plan (includes preflight).

      The page is reloaded and a progress bar is displayed during the process. When the plan completes, wait for the Sun OTP host to boot into multi-user mode.

ProcedureTo Update Sun OTP Components Using CLI

  1. Log in as root (su - root) to the Sun OTP host that you want to update.

  2. Navigate to the following directory.

    cd 2.0_mediadir/common/components/sunotp

    2.0_mediadir is the fully-qualified path name to the Sun Open Telecommunications Platform 2.0 installation source directory.

  3. Add the SUNWotpupdate package on the Sun OTP host.

    pkgadd -d . SUNWotpupdate

  4. Run the otp_update.sh script.

    /opt/SUNWotp/update/cli/otp_update.sh -L logfilepath -D 2.0_mediadir components

    logfilepath is the path of the log file that contains the output of the update operation.

    2.0_mediadir is the fully qualified path name to the Sun Open Telecommunications Platform 2.0 installation source directory.

    components are Sun OTP components to update. components can be a combination of solaris, n1sps, n1sm, suncluster, and jse.