Sun Open Telecommunications Platform 2.0 Installation Guide

Installing Sun OTP Using Sun OTP Bootable DVD Image

This section describes Sun Open Telecommunications Platform (Sun OTP) installation using Sun OTP bootable DVD image on a stand-alone host without zones.

ProcedureTo Install Sun OTP Using Sun OTP Bootable DVD Image

This is the recommended procedure on how to install Sun OTP for developer workstation installation/configuration. In this procedure, all the OTP services are installed in the global zone. All the OTP services are installed through the plans in Sun OTP application provisioning service.

Before You Begin
  1. Install Solaris OS from the bootable OTP DVD.

    Refer to Solaris 10 11/06 Installation Guide: Basic Installations or Solaris 10 11/06 Installation Guide: Solaris Flash Archives (Creation and Installation) for more information.

    • On SPARC systems

      1. Insert the bootable Sun OTP DVD.


        Note –

        The bootable DVD for SPARC contains the hybrid flash image that can be used for deploying the sun4v and sun4u hardware architecture platforms.


      2. Start the installation from the bootable DVD by typing the following command:

        boot cdrom

        This will prompt you for an interactive Solaris installation.

      3. Respond to the system identification and configuration screens.

      4. From the Solaris Interactive Installation screen, select F4_Flash install.

      5. From the Flash Archive Retrieval Method screen, place the X symbol on Local File and press F2_Continue.

      6. From the Flash Archive Addition screen, provide the /cdrom/Solaris_10/otp_sparc.flarc path and then press F2_Continue.

        Continue to respond to the remaining screens until the installation starts and completes.

      7. When the system reboots, insert the installation DVD.

    • On x64 systems


      Caution – Caution –

      Installation does not ask for the partitioning or image name. The first disk is chosen automatically and OTP default disk formatting is applied. The existing data, if any, is overwritten.


      1. Select CDROM as a boot device in BIOS.

      2. Respond to the system identification and configuration screens.

      3. When the system reboots, insert the installation DVD.

  2. Set up the self-contained Sun OTP provisioning server on the stand-alone host.

    1. Log in as root (su - root) to the stand-alone host.

    2. Add the logical host name and the logical IP address to the /etc/hosts file.

    3. Set up the Sun OTP provisioning server on the stand-alone host.

      /opt/SUNWotp/cli/setupExternalInstallServer -M mediadir -N single -R SSH -P passwordfile -L logicalhost -I logicalip

      mediadir is the fully qualified path name to the Open Telecommunications Platform installation source directory. The media directory is the path where the installation DVD is mounted.

      logicalhost and logicalip are unused logical host names and logical IP addresses.

      passwordfile is the absolute path of the password file. You can create this file in your home directory. The password file must contain a line with a valid password for the Sun OTP provisioning server. The password can be 8 to 12 alphanumeric characters.


      Note –

      Once you set up the Sun OTP provisioning server with this password, the user name to access the Sun OTP provisioning server is otpadmin and the password is the password in the password file.

      The password specified in this step and the password that will be specified during the Setup Configuration plan must be the same.


  3. Prepare the Sun OTP hosts.

    1. Install the remote agent on the Sun OTP host.

      /opt/SUNWotp/cli/setupRemoteAgent -c SSH mediadir

      mediadir is the fully qualified path name to the Open Telecommunications Platform installation source directory. The media directory is the path where the installation DVD is mounted.

    2. Configure SSH for the remote agent.

      /usr/bin/passwd n1spsotp

    3. Initialize the SSH keys.

      su - spsotp

      cat /var/otp/.ssh/id_rsa.pub | ssh n1spsotp@hostname "tee >> /export/home/n1spsotp/.ssh/authorized_keys2"

      hostname is the host name of Sun OTP host.

  4. Open a browser and log in to the Sun OTP application provisioning service on the stand-alone host.

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

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

  6. Add the stand-alone Sun OTP host to the self-contained Sun OTP provisioning server.

    1. Click Host Setup in the left menu to display the Host Setup page.

    2. Click hosts in the central menu to display the hosts page.

    3. In the host field, type the name of the Sun OTP host.

    4. (Optional) In the description field, type a description of the Sun OTP host.

    5. Click create.

      The host details edit page is displayed.

    6. To include the remote agent, select the include remote agent on this physical host check box.

    7. Choose SSH (encrypted) from the connection type drop-down list.

    8. Type the host name in the ip address or name field.

    9. Type the following entry in the advanced parameters field.

      cprefix=/opt/SUNWn1sps-ra/N1_Service_Provisioning_System/agent,sshargs=-l|n1spsotp

    10. Click add to host sets.

    11. Select com.sun.solaris#SolarisHostSet from the add host sets drop-down list.

    12. Click add host to selected host sets.

    13. Scroll to the bottom of the page and click save.

    14. In the hosts page, click the name of the host that is added.

    15. Click update remote agent.

    16. After successful update, click prepare remote agent.

      The host is prepared for provisioning.

  7. Click OTP Setup to display the Sun Open Telecommunications Platform installation steps page.

  8. Configure Sun OTP installation plan variables.

    1. Click Setup Configuration and click run.

      The SetupConfig screen appears.

    2. Type the host name on which you want to install Sun OTP in the target host field.

    3. Enter the password for the otpadmin user in the Enter otpadmin password field.

    4. Confirm the password in the Confirm otpadmin password field.

    5. Click select from list under variable settings.

      The select variable setting from list... screen appears.

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

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

    8. Click the check boxes for the appropriate plan variables for which you want to enter the values.

    9. Type the values for the appropriate plan variables in the text fields. Refer to Appendix A, Sun OTP Plan Worksheet to determine the values.

    10. Click save to save the variable set.

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

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

    13. Click run plan (includes preflight).

  9. Install the OS patches on the Sun OTP host.

    1. Click Patch and click run.

      The InstallPatchOS screen appears.

    2. Type the host name on which you want to install the OS patches in the target host field.

    3. Click run plan (includes preflight).

      When the plan completes, wait for the Sun OTP host to boot into multi-user mode.

  10. Install and configure the Sun OTP high availability service in the global zone on the Sun OTP host.

    1. Click Install Availability Service and click run.

      The InstallAvailability1 screen appears.

    2. Type the host name on which you want to install Sun OTP in the target host field.

    3. Click run plan (includes preflight).

      When the plan completes, wait for the Sun OTP host to reboot.

    4. Click Configure Availability Service and click run.

      The InstallAvailability2 screen appears.

    5. Type the host name on which you want to install Sun OTP in the target host field.

    6. Click run plan (includes preflight).

  11. Install the Sun OTP system management service in the global zone on the Sun OTP host.

    1. Click Install System Management Service and click run.

      The InstallManagement screen appears.

    2. Type the host name on which you want to install Sun OTP in the target host field.

    3. Click run plan (includes preflight).

  12. Install the Sun OTP application provisioning service in the global zone on the Sun OTP host.

    1. Click Install Provisioning Service and click run.

      The InstallProvisioning screen appears.

    2. Type the host name on which you want to install Sun OTP in the target host field.

    3. Click run plan (includes preflight).

  13. Install the Sun OTP security service in the global zone on the Sun OTP host.

    1. Click Install Security Service and click run.

      The InstallSecurity screen appears.

    2. Type the host name on which you want to install Sun OTP in the target host field.

    3. Click run plan (includes preflight).

  14. Configure and enable high availability for Sun OTP services.

    1. Click Configure Components and click run.

      The Configure screen appears.

      This step creates and starts resource groups for the Sun OTP system management service, the Sun OTP application provisioning service, and the Sun OTP security service. This step also configures and starts master-to-master replication (MMR).

    2. Type the host name on which you want to install Sun OTP in the target host field.

    3. Click run plan (includes preflight).


      Note –

      Self-contained Sun OTP provisioning server uses a specific logical host name and IP address defined at the beginning of the Sun OTP installation. However, to make Sun OTP application provisioning service highly available, the logical hostname that was previously used will be released upon successful completion of the Configure and Enable HA service plan, and the Sun OTP application provisioning service will be accessible through the Management and Provisioning logical hostname and IP address.


  15. Install Web SSO.


    Note –

    Verify the completion status of the previous plan (Configure and Enable HA service plan) through the /var/OTP/SUNWotp.log file before running the Install Web SSO plan. The file must have the line that reads “enableHA - COMPLETED”.


    1. Click Install Web SSO and click run.

      The InstallWebSSO screen appears.

    2. Type the host name in the target host field.

    3. Click run plan (includes preflight).


    Note –

    Monitor the /var/OTP/SUNWotp-debug.log file to check whether the resource group otp-system-rg has been restarted. If the resource group has not been restarted, restart the resource group manually by typing the following command on any host of the cluster.

    /usr/cluster/bin/clrg online otp-system-rg


    The installation log files, input files generated for the plans, installation registry information, and the debug log files are stored in the /var/OTP directory.

Troubleshooting

The following steps need to be performed if you want to change the values for the configuration variables during the installation: