Sun Open Telecommunications Platform 1.1 Installation and Administration Guide

Converting a Standalone OTP Host to a Clustered OTP Host

This section provides the procedure to convert a standalone OTP host to a clustered OTP host.

ProcedureTo Convert a Standalone OTP Host to a Clustered OTP Host

  1. Log in as root (su - root) to the external OTP installation server.

  2. Copy /opt/SUNWotp10/CLI/templates/inputOTPSingleNode.dat /var/tmp/inputOTPSingleNode.dat.

  3. Edit the /var/tmp/inputOTPSingleNode.dat file.

    Specify the values for each keyword as described by Open Telecommunications Platform Plan Worksheets and the standalone OTP host Plan worksheet.

  4. Convert the standalone OTP host to aclustered OTP host.

    • Using the command line, type:

      /opt/SUNWotp10/CLI/deployOTPSingleNode -convertToManager /var/tmp/inputOTPSingleNode.dat

    • Using the graphical user interface:

      1. Open a Web browser and go to URL https://OTP host:9090 where OTP host is either the IP address or the fully qualified name of the OTP host on which the resource group is active.

        The OTP provisioning service log in screen appears.

      2. Click OEM OTP.

      3. Click Utility Plans.

      4. Click Convert Standalone system to Clustered System.

      5. Click Configure.

        The Convert Single to Clustered page appears:

        Figure 9–4 Convert Standalone OTP Host to Clustered OTP Host Page

        Screen Capture: Convert Standalone OTP Host to Clustered OTP Host

      6. Type the name of the standalone OTP host that you want to convert to a clustered OTP host in the target host field. Do not modify the target host set.

      7. In the Media Directory field, type the fully-qualified name of the NFS-mounted OTP installation directory.

        For example: /net/otpsource.mycompany.com/otp1.1

      8. In the Private interface 1 field, type the name of the private interface.

        For example, ce0.

      9. In the Private interface 2 field, type the name of the private interface.

        For example, ce1.

      10. Click the perform detailed preflight checkbox.

      11. Click run plan (includes preflight)

  5. Create the system shared storage as described in To Create Shared Storage on the Clustered OTP System.

  6. Create a temporary mount point.

    mkdir -p /var/tmp_otp

  7. Mount the shared volume onto the temporary mount point.

    mount /dev/md/sps-dg/dsk/d0 /var/tmp_otp

  8. Bring the resource group offline.

    scrgadm -c -g otp-system-rg -y RG_system=false

    scswitch -F -g otp-system-rg

  9. Move the OTP contents from the local disk to the shared volume.

    mv /var/otp/* /var/tmp_otp

    umount /var/tmp_otp

  10. Disable the resources in the following order.

    scswitch -nj otp-spsms-rs

    scswitch -nj otp-spsra-rs

    scswitch -nj otp-sps-hastorage-plus

  11. Modify the HAStoragePlus resource properties.

    scrgadm -c -j otp-sps-hastorage-plus -x FilesystemMountPoints="/var/otp"

    scrgadm -c -j otp-sps-hastorage-plus -x GlobalDevicePaths=/dev/md/sps-dg/dsk/d0

  12. Enable the resources in the following order.

    scswitch -ej otp-sps-hastorage-plus

    scswitch -ej otp-spsra-rs

    scswitch -ej otp-spsms-rs

  13. Bring the resource group online.

    scswitch -z -g otp-system-rg -h host name

  14. Set the system property for the otp-system-rg resource group to true.

    scrgadm -c -g otp-system-rg -y RG_system=true