Sun Open Telecommunications Platform 1.0 Installation and Administration Guide

ProcedureTo Enable the High Availability Agent for the OTP Provisioning Service on the First OTP Host

The high availability agents must be enabled on the first OTP host.

Before You Begin

The following steps must be performed on the first OTP host.

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

  2. Create the enable high availability state file.

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

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

  3. Edit the state file /var/tmp/templates/enableManagementServicesHA.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.

    • logicalHost=logical host name: An unused logical host name on the same subnet as the first OTP host. If a logical host name that exists on a different subnet is specified, cluster installation fails.

    • logicalIPAddress=logical host name IP address: An unused IP address on the same subnet as the first OTP host.

    Save and close the file.

    The system management and application provisioning manager state file should be similar to the following:

    mediaDirectory=/net/otpinstall/otp1.0
    logicalHost=otpclient1-logicalhostname
    logicalIPAddress=10.11.55.182
  4. Enable high availability on the clustered OTP system.

    Type /opt/SUNWotp10/CLI/enableManagementServicesHAOnFirstHost.dat /var/tmp/enableManagementServicesHA.dat

    The enableManagementServicesHA script installs and enables the OTP application provisioning services high availability agent.

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

  5. Log in as root on the first OTP host and restart the remote agent.

    Type /etc/init.d/n1spsagent restart to restart the remote agent. If the remote agent is not restarted, then the service provisioning service on the first OTP host will not work properly.