This section describes Sun Open Telecommunications Platform (Sun OTP) installation using Sun OTP bootable DVD image on a stand-alone host without zones.
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.
Refer to Appendix B, Sun OTP Hardware and Software Requirements to determine which hardware is qualified and the hardware requirements.
Review the disk drive partition requirements described in Table 2–1.
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. See System Administration Guide: Naming and Directory Services (DNS, NIS, and LDAP).
Prepare the worksheet for the installation. Refer to Stand-alone Sun OTP Host Plan Worksheet.
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
Insert the bootable Sun OTP DVD.
The bootable DVD for SPARC contains the hybrid flash image that can be used for deploying the sun4v and sun4u hardware architecture platforms.
Start the installation from the bootable DVD by typing the following command:
boot cdrom
This will prompt you for an interactive Solaris installation.
Respond to the system identification and configuration screens.
From the Solaris Interactive Installation screen, select F4_Flash install.
From the Flash Archive Retrieval Method screen, place the X symbol on Local File and press F2_Continue.
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.
When the system reboots, insert the installation DVD.
On x64 systems
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.
Set up the self-contained Sun OTP provisioning server on the stand-alone host.
Log in as root (su - root) to the stand-alone host.
Add the logical host name and the logical IP address to the /etc/hosts file.
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.
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.
Prepare the Sun OTP hosts.
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.
Configure SSH for the remote agent.
/usr/bin/passwd n1spsotp
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.
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.
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.
Add the stand-alone Sun OTP host to the self-contained Sun OTP provisioning server.
Click Host Setup in the left menu to display the Host Setup page.
Click hosts in the central menu to display the hosts page.
In the host field, type the name of the Sun OTP host.
(Optional) In the description field, type a description of the Sun OTP host.
Click create.
The host details edit page is displayed.
To include the remote agent, select the include remote agent on this physical host check box.
Choose SSH (encrypted) from the connection type drop-down list.
Type the host name in the ip address or name field.
Type the following entry in the advanced parameters field.
cprefix=/opt/SUNWn1sps-ra/N1_Service_Provisioning_System/agent,sshargs=-l|n1spsotp
Click add to host sets.
Select com.sun.solaris#SolarisHostSet from the add host sets drop-down list.
Click add host to selected host sets.
Scroll to the bottom of the page and click save.
In the hosts page, click the name of the host that is added.
Click update remote agent.
After successful update, click prepare remote agent.
The host is prepared for provisioning.
Click OTP Setup to display the Sun Open Telecommunications Platform installation steps page.
Configure Sun OTP installation plan variables.
Click Setup Configuration and click run.
The SetupConfig screen appears.
Type the host name on which you want to install Sun OTP in the target host field.
Enter the password for the otpadmin user in the Enter otpadmin password field.
Confirm the password in the Confirm otpadmin password field.
Click select from list under variable settings.
The select variable setting from list... screen appears.
At the bottom of the select variable setting from list... screen, click create set to create a new variable set.
Type a new variable set name in the Set Name field.
Click the check boxes for the appropriate plan variables for which you want to enter the values.
Type the values for the appropriate plan variables in the text fields. Refer to Appendix A, Sun OTP Plan Worksheet to determine the values.
Click save to save the variable set.
Close the select variable setting from list... screen.
In the SetupConfig screen, click the drop-down list under variable settings, and choose the new variable set.
Click run plan (includes preflight).
Install the OS patches on the Sun OTP host.
Install and configure the Sun OTP high availability service in the global zone on the Sun OTP host.
Click Install Availability Service and click run.
The InstallAvailability1 screen appears.
Type the host name on which you want to install Sun OTP in the target host field.
Click run plan (includes preflight).
When the plan completes, wait for the Sun OTP host to reboot.
Click Configure Availability Service and click run.
The InstallAvailability2 screen appears.
Type the host name on which you want to install Sun OTP in the target host field.
Click run plan (includes preflight).
Install the Sun OTP system management service in the global zone on the Sun OTP host.
Install the Sun OTP application provisioning service in the global zone on the Sun OTP host.
Install the Sun OTP security service in the global zone on the Sun OTP host.
Configure and enable high availability for Sun OTP services.
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).
Type the host name on which you want to install Sun OTP in the target host field.
Click run plan (includes preflight).
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.
Install Web SSO.
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”.
Click Install Web SSO and click run.
The InstallWebSSO screen appears.
Type the host name in the target host field.
Click run plan (includes preflight).
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.
The following steps need to be performed if you want to change the values for the configuration variables during the installation:
Click OTP Setup in the left panel.
Click the Setup Configuration plan.
Click run.
Select the appropriate variable set and click select from list.
Click edit and update the required plan parameters.
Save the modified variable settings.
Choose the target host and click run plan (includes preflight).
Resume the other plans from the point where they were previously stopped.