Sun Open Telecommunications Platform 1.0 Installation and Administration Guide

ProcedureTo Set Up the OTP High Availability Framework

  1. Log in as root (su - root) to the standalone OTP host.

  2. Install the OTP CLI package.

    Type pkgadd -d /net/OTP install directory/Products/packages -R / SUNWotpcli where OTP install directory is the installation source directory you created in Step 8 of the procedure To Download and Uncompress the OTP and Solaris OS Installation Zip Files.

    For example, if the installation server name is otpinstall, and the NFS-mounted installation directory is /otp1.0, you would then type:


    # pkgadd -d /net/otpinstall/otp1.0/Products/packages -R / SUNWotpcli
    

    The directory /opt/SUNWotp10/CLI is created.

  3. Create the standalone OTP host availability state file.

    1. Change directory to /opt/SUNWotp10/CLI.

    2. Type cp templates/setupAvailabilityServiceOnStandalone.dat /var/tmp/setupAvailabilityServiceOnStandalone.dat

  4. Edit the file /var/tmp/setupAvailabilityServiceOnStandalone.dat as follows.

    • mediaDirectory=OTP_Installation_directory: The fully qualified path name of the Open Telecommunications Platform installation directory, for example: /net/otpinstall/otp1.0

    • clusterName=cluster_name: The name you have chosen for the clustered OTP system.

    • allPatches=yes to install all patches.

      allPatches=no to install mandatory patches only.

    • autoConfigureIPMP:

      autoConfigureIPMP=no if you do not want to set up IPMP.

      To set up IPMP, set autoConfigureIPMP=yes, and add the following three lines:

      • secondaryInterface=Ethernet interface 2

      • secondaryIP=111.112.113.114 where 111.112.113.114 is the IP address of Ethernet interface 2.

      • testIPAddress=111.112.113.222 where 111.112.113.222 is the IP address used for IPMP configuration.

    Save and close the file.

    The single-node availability state file should be similar to the following:

    mediaDirectory=/net/otpinstall/otp1.0
    clusterName=otp-standalone-host
    allPatches=yes
    autoConfigureIPMP=yes
    secondaryInterface=bge1
    secondaryIP=10.11.52.68
    testIPAddress=10.11.52.74
  5. Set up the availability service.

    Type /opt/SUNWotp10/CLI/setupAvailabilityServiceOnStandalone /var/tmp/setupAvailabilityServiceOnStandalone.dat.

    The setupAvailabilityServiceOnStandalone script performs the following tasks:

    • Installs required Solaris OS patches

    • Installs the OTP high availability framework

    • Configures the OTP high availability framework

    • Reboots the standalone OTP host

    The setupAvailabilityServiceOnStandalone installation process logs to the file /var/tmp/OTPInstaller.log. You can use the tail -f command during installation to view the log file.

    When the standalone OTP host has rebooted, log in as root again.

  6. Run the setupAvailabilityServiceOnStandalone script again, specifying the same availability state file.

    For example:


    # /opt/SUNWotp10/CLI/setupAvailabilityServiceOnStandalone \
    /var/tmp/setupAvailabilityServiceOnStandalone.dat
    

    The setupAvailabilityServiceOnStandalone script verifies the OTP high availability framework installation and configuration.

Next Steps

Set up the OTP system management and application provisioning services as described in the next procedure.