Sun Open Telecommunications Platform 2.0 Developer's Guide

Prerequisites for Sun OTP Installation

The following table describes the prerequisites that you must meet before installing Sun OTP.

Table 9–1 Prerequisites for Sun OTP Installation

Tasks 

Documentation 

Determine the system requirements of Sun OTP hosts. Upgrade firmware and install patches on Sun OTP host if required. All Sun OTP hosts and storage devices must meet the minimum patch and firmware requirements. 

Appendix B, Sun OTP Hardware and Software Requirements, in Sun Open Telecommunications Platform 2.0 Installation Guide

Set up a naming service such as DNS, NIS, NIS+, or /etc/hosts and all host names and IP addresses must be set up on that naming service.

System Administration Guide: Naming and Directory Services (DNS, NIS, and LDAP)

Install Solaris 10 Update 3 OS on the Sun OTP provisioning server and on each Sun OTP host. 

Installing Solaris OS from the Bootable DVD

Prepare the Sun OTP hosts for Sun OTP installation. 

Preparing the Sun OTP Hosts

Set up the self-contained Sun OTP provisioning server. 

Setting up the Self-Contained Sun OTP Provisioning Server

Prepare the Sun OTP host plan worksheet. Plan information includes items such as logical host names, IP addresses for each Sun OTP host, the clustered Sun OTP system name, IPMP options, zone information, and more. Using the worksheets will assist you during installation and configuration, and reduce the chance for errors. 

Appendix A, Sun OTP Plan Worksheet

Prerequisite Tasks for Sun OTP Installation

The following prerequisite tasks must be met before you install Sun OTP.

ProcedureTo Install Solaris OS from the Bootable DVD

  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.

ProcedureTo Prepare the Sun OTP Hosts

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

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

    /opt/SUNWotp/cli/setupRemoteAgent -c RAW|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.

    Repeat this step on each Sun OTP host. All the remote agents on the cluster must use the same connection type (SSH or RAW).

  3. (Applicable for SSH connection type) Configure SSH for the remote agent.

    1. Set a password for the n1spsotp user in the global zone on the Sun OTP host.

      /usr/bin/passwd n1spsotp

  4. (Applicable for SSH connection type) Initialize the SSH keys.

    1. Log in as spsotp user (su - spsotp) to the Sun OTP provisioning server.

    2. Append the ssh public key of spsotp user from the Sun OTP provisioning server to authorized ssh keys located in the home directory of n1spsotp user on each Sun OTP host.

      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.

ProcedureTo Set up the Self-Contained Sun OTP Provisioning Server

Self-contained Sun OTP provisioning server is installed on the first host of the cluster.

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 server is moved to a different logical host name (logical host name for management and provisioning services) at the end of “Configure Components as Highly Available Services” plan. After “Configure Components as Highly Available Services” plan is finished, this new logical host name has to be used to access the Sun OTP provisioning server.

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

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

    This logical host name and the logical IP address is used in the next step to set up the Sun OTP provisioning server.

  3. Set up the Sun OTP provisioning server in the first host of the cluster.

    /opt/SUNWotp/cli/setupExternalInstallServer -M mediadir -N nodetype -R RAW|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.

    nodetype can either be single (for stand-alone deployments) or first (for clustered deployments).

    -R is the connection type between Sun OTP application provisioning service master server and the remote agent. RAW and SSH are the possible connection types between Sun OTP application provisioning service master server and the remote agent.

    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.