Sun Open Telecommunications Platform 1.1 Installation and Administration Guide

Installing Solaris 10 Update 2 and the Remote Agent on the OTP Hosts

This section provides the procedures for installing Solaris 10 Update 2 on the OTP host or hosts you chose for the OTP system. You must install and configure Solaris 10 Update 2 on each OTP host before you can install the Open Telecommunications Platform.

The following topics are discussed:


Note –

Before you install Solaris 10 Update 2, review the OTP host disk drive partitioning requirements listed in the following table.

If you have chosen to use JumpStart to install the Solaris OS to the OTP host or hosts selected for OTP, also ensure that the JumpStart scripts remove all existing partitions from earch server's hard drive, and that the JumpStart scripts allocate the new partitions on each server's hard drive as described in the following table.


Table 3–1 OTP Host Disk Drive Partition Requirements

Slice 

Partition 

Size 

/ (root)

All remaining free space on the disk after allocating space for slices 2 through 7. 

swap

Two to three times total system ram, or 4 Gbytes, whichever is greater. 

overlap 

The entire system disk. 

/globaldevices

512 Mbytes minimum. 

The OTP high availability framework later assigns this slice a different mount point and mounts the slice as a cluster file system. 


Note –

/globaldevices can reside on any unused slice on any disk on the server. Failure to allocate /globaldevices on an OTP systemwill cause Open Telecommunications Platform to fail.


4 through 6 

unused 

Not used. 

Solaris Volume Manager 

20 Mbytes 

Used by Solaris Volume Manager software for the state database replica. 

Manually Installing the Solaris OS and the Remote Agent on a New OTP Host

The following procedure provides the steps for manually installing the Solaris OS and service provisioning remote agent on a new OTP host.

ProcedureTo Manually Install the Solaris OS and the Remote Agent on a New OTP Host

  1. Install the Solaris OS on the OTP host as described in described in To Install Solaris 10 Update 2 on the External OTP Installation Server.

    The requirements and procedures for installing the Solaris OS on a new OTP hostare identical to those for the external OTP installation server.


    Note –

    Ensure that you specify Entire Distribution Plus OEM and that you partition the OTP host disk drive as described in Table 3–1.


  2. Log in as root (su - root) to the new OTP host.

  3. Configure the Solaris OS on the OTP host as described in Configuring Solaris 10 Update 2.

  4. If you did not create the /globaldevices file system on the OTP host, create the file system as described in Creating the /globaldevices File System on the OTP Hosts.

  5. Install the SUNWotpcli package on the OTP host.

    Type the command:

    pkgadd -d /net/OTP_install_server.domain_name/media_path/Products/packages -R / SUNWotpcli

    where OTP_install_server is the name of the external OTP installation server, domain_name is your company's domain name, and media_path is the fully qualified path of the OTP installation directory on the external OTP installation server.

    For example, if the name of the external OTP installation server is otpsource, your company domain name is mycompany.com, and the OTP installation source directory is otp1.1, you would then type:


    # pkgadd -d /net/otpsource.mycompany.com/otp1.1/Products/packages -R / SUNWotpcli
    
  6. Install the service provisioning remote agent on the OTP host.

    Type the command

    /opt/SUNWotp10/CLI/setupRemoteAgent OTP_installation_directory

    where OTP_installation_directory is the fully qualified path to the NFS-mounted OTP installation source directory you created on the external OTP installation server as described in To Create the OTP Installation Directory on the External OTP Installation Server.

    For example, if your external OTP installation server is named otpsource, the domain name is mycompany.com, and the NFS-mounted OTP installation directory on otpsource is /otp1.1, you would then type:


    # /opt/SUNWotp10/CLI/setupRemoteAgent  /net/otpsource.mycompany.com/otp1.1
    

    The setupRemoteAgent script creates the service provisioning user account and installs the remote agent.

Next Steps

When you have completed installing and configuring Solaris 10 Update 2 and the remote agent on each OTP host, install the Open Telecommunications Platform on the OTP host.

Installing the Solaris OS and Remote Agent on a New OTP Host Using the External Installation Server OSP Plug-in Graphical User Interface

This section provides the procedures for using the OSP plug-in graphical user interface on the external OTP installation server to install the Solaris OS and the service provisioning remote agent on a new OTP host.

The following topics are discussed:


Note –

The external OTP installation server must already be set up and configured as described in Setting Up the External OTP Installation Server.


ProcedureTo Create and Register the Subnet

  1. Open a Web browser and go to URL http://external OTP installation server:9090 where external OTP installation server is either the IP address or the fully qualified name of the external OTP installation server.

    The OTP provisioning service log in screen appears. Log in to the service provisioning system.

  2. Click OS Provisioning.

    The OS Provisioning screen appears.

  3. Scroll down and locate OSP Subnets.

    Figure 3–4 OS Provisioning Screen: Selecting OSP Subnets Create

    Screen capture: Selecting OSP Subnets Create

    Click Create. The Subnet-create screen appears.

    Figure 3–5 Create Subnet Plan Screen

    Screen capture: Create Subnet Plan Screen

  4. Click run.

    The Create Subnet Plan Run screen appears.

    Figure 3–6 Create Subnet Plan Run Screen

    Screen capture: Create Subnet Plan Run Screen

  5. Click select from list... beneath variable settings.

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

    Figure 3–7 Create Subnet Plan: Select Variable Setting From List Screen

    Screen capture: Create Subnet Plan: Select Variable Setting
From List Screen

  6. Click create set in the Variable Setting From List screen as shown by the following figure.

    Figure 3–8 Create Subnet Plan: Create Set Screen

    Screen capture: Create Subnet Plan: Create Set Screen

    When you click create set, the subnet variables screen appears:

    Figure 3–9 Create Subnet Plan: Create Set Variables Screen

    Screen capture: Create Subnet Plan: Create Set Variables
Screen

  7. Enter the values on the Create Set Variables Screen as follows:

    1. Type a name for the subnet set in the Set Name field.

      For example, subnet53

    2. Click the installPath check box.

      A text field appears to the right of the check box. Type the base IP address of the subnet.

    3. Click the mask check box.

      A text field appears to the right of the check box populated with the default subnet mask 255.255.255.0. If needed, type in a different subnet mask in the text field. .

    4. Click the gateway check box.

      Type the gateway IP address in the text field that appeared.

    5. Click the host_interface check box.

      Type the name of the external OTP installation server's provisioning interface, for example, bge0. Do not specify the logical interface.

    6. Click the host_address check box.

      Type the IP address of the provisioning interface..

      The Create Set Variables screen should be similar to the following:

      Figure 3–10 Create Subnet Plan: Example of Completed Create Set Variables Screen

      Screen capture: Create Subnet Plan: Example of Completed
Create Set Variables Screen

    7. Click save.

      The Create Set Variables Screen refreshes and displays your entries:

      Figure 3–11 Create Subnet Plan: Example of Saved Create Set Variables Screen

      Screen capture: Create Subnet Plan: Example of Saved
Create Set Variables Screen

    8. Click the right-most select button.

      The Create Set Variables screen closes. and the Subnet Plan Run Screen is updated.

      If the variable settings field does not display the plan set you created, click select from list... and click the name of the set you created.

  8. Click on the target host field select from list... link on the Subnet Plan Run screen as shown by the following figure.

    Figure 3–12 Create Subnet Plan: Selecting Target Host Select From List

    Screen capture: Create Subnet Plan: Selecting Target
Host Select From List

    When you click the target host select from list... link, the target host select from list screen appears:

    Figure 3–13 Create Subnet Plan: Target Host Select From List Screen

    Screen capture: Create Subnet Plan: Target Host Select
From List Screen

  9. Click masterserver-osp, then click add hosts to main window.

    The Target Host Select From List screen closes, and the target host field on the Subnet Plan Run screen is populated with masterserver-osp.

  10. Click run plan (includes preflight).

    Several screens are displayed as the plan runs. When the plan completes, the deployment results screen appears. Your screen should be similar to the following example.

    Figure 3–14 Create Subnet Plan: Example Deployment Results

    Screen capture: Create Subnet Plan: Example Deployment
Results

  11. Click done.

Next Steps

Create the Solaris 10 Update 2 image as described in the next procedure.

ProcedureTo Create the Solaris 10 Update 2 Image

  1. Open a Web browser and go to URL http://external OTP installation server:9090 where external OTP installation server is either the IP address or the fully qualified name of the external OTP installation server.

    The OTP provisioning service log in screen appears. Log in to the service provisioning system.

  2. Click OS Provisioning.

    The OS Provisioning screen appears:

    Figure 3–15 OS Provisioning Screen: Selecting Solaris Images Import

    Screen capture: OS Provisioning Screen: Selecting Solaris
Images Import

  3. Click the Solaris Images Import link.

    The Solaris Image Import plans screen appears.

    Figure 3–16 Solaris Images Import Plan Screen

    Screen capture: Solaris Images Import Plan Screen

  4. Click run.

    The Solaris Image Plan Variables screen appears.

    Figure 3–17 Solaris Images Import Plan Variables Screen

    Screen capture: Solaris Images Import Plan Variables
Screen

  5. Click select from list... beneath variable settings.

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

    Figure 3–18 Solaris Images Select Variable Setting From List Screen

    Screen capture: Solaris Images Select Variable Setting
From List Screen

  6. Click create set in the Select Variable Setting From List screen.

    The Solaris Images Create Set variables screen appears:

    Figure 3–19 Solaris Images Create Set Variables Screen

    Solaris Images Create Set Variables Screen

  7. Enter the values on the Solaris Images Create Set Variables Screen as follows:

    1. Type a name for the Solaris OS image in the Set Name field.

      For example, sol10u2. The name must start with an alphabetic character.

    2. Click the version check box.

      A text field appears to the right of the check box. Type the Solaris OS version number, for example, 10.

    3. Click the release check box.

      A text field appears to the right of the check box. Type the Solaris release version, for example u2.

    4. Click the architecture check box.

      The text field is populated with the default value sparc.

    5. Click the installPath check box.

      Type the name of the Solaris OS image, for example sol-10–u2–ga-sparc

    6. Click the image_path check box.

      Type the full path to which to the Solaris OS ISO image will be copied. This can be a shared file system on the external OTP installation server or an shared file system on a clustered OTP host.

    7. Click the image_subnet_addr check box.

      Type the IP address of the server on which the OS image is to be copied.

    8. Click the image_subnet_mask check box.

      A text field appears to the right of the check box populated with the default subnet mask 255.255.255.0. If needed, type in a different subnet mask in the text field. .

    9. Click the media_src check box.

      Type the full path to the source Solaris OS image. This can be an NFS-mounted ISO image as described in To Download and Uncompress the OTP and Solaris OS Installation Zip Files.

    10. Click the ISO_files check box.

      Type the names of the Solaris OS ISO files as directed.

      The Solaris Images Create Set Variables Screen should be similar to the following example:

      Figure 3–20 Solaris Images: Example Create Set Variables Screen

      Screen capture: Solaris Images: Example Create Set Variables
Screen

    11. Click save.

      The Create Set Variables Screen refreshes and displays your entries

    12. Click the right-most select button.

      The Create Set Variables screen closes. and the Solaris Images Plan Run Screen is updated.

      If the variable settings field does not display the plan set you created, click select from list... and click the name of the set you created.

  8. Click on the target host field select from list... link on the Solaris Images Plan Run screen.

    The target host select from list screen appears:

    Figure 3–21 Solaris Images Target Host Select From List Screen

    Screen capture: Solaris Images Target Host Select From
List Screen

  9. Click masterserver-jet, then click add hosts to main window.

    The Target Host Select From List screen closes, and the target host field on the Solaris Images Plan Run screen is populated with masterserver-jet.

  10. Change limit overall running time of plan to two hours.

  11. Change limit running time of native calls to two hours.

  12. Click run plan (includes preflight).

    The Solaris Images plan will take about an hour to complete. When the plan completes, the deployment results screen appears.

  13. Click done.

Next Steps

Create the Solaris OS provisioning profile as described in the next procedure.

ProcedureTo Create the Solaris OS Provisioning Profile

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

  2. Type the following command to populate the custom packages with the appropriate JET path:

    /opt/SUNWjet/bin/copy_custom_packages /OTP_media_path/Products/packages sparc SUNWotpra SUNWotpcli SUNWotputil

    where /OTP_media_path is the fully-qualifed path to the OTP installation directory you created in To Create the OTP Installation Directory on the External OTP Installation Server. For example:


    # /opt/SUNWjet/bin/copy_custom_packages \
    /otp1.1/Products/packages sparc SUNWotpra SUNWotpcli SUNWotputil
    

    The media is copied to the directory /export/install/pkgs/custom/sparc by default. To change the default directory, modify the setting in /opt/SUNWjet/etc/jumpstart.conf.

    For further information, see Chapter 5, Provisioning the Solaris Operating System, in Sun N1 Service Provisioning System User’s Guide for OS Provisioning Plug-In 3.1.

  3. Open a Web browser and go to URL http://external OTP installation server:9090 where external OTP installation server is either the IP address or the fully qualified name of the external OTP installation server.

    The OTP provisioning service log in screen appears. Log in to the service provisioning system.

  4. Click OS Provisioning.

    The OS Provisioning screen appears.

  5. Click the Solaris Images Create Profile link.

    The Create Profile run screen appears.

  6. Click run.

    The Create Profile variable settings run screen appears.

    Figure 3–22 Create OS Profile Plan Variable Settings Run Screen

    Screen capture: Create OS Profile Plan Variable Settings
Run Screen

  7. Click the drop-down list beneath variable settings, and choose the OS image you created in the previous procedure.

    For example, sol10u2.

  8. Click on the target host field select from list... link on the Solaris Images Plan Run screen.

    The target host select from list screen appears.

  9. Click masterserver-jet, then click add hosts to main window.

    The Target Host Select From List screen closes, and the target host field on the Solaris Images Plan Run screen is populated with masterserver-jet.

  10. Add custom to the text in the JET Module Name(s) field.

    Ensure that the check box beneath the JET Module Name(s) field is checked.

    The custom module ensures that the service provisioning remote agent is installed to the new OTP host after OS installation has completed.

    The Create OS Profile Plan run screen should be similar to the following example:

    Figure 3–23 Create OS Profile Plan Variable Settings Run Screen Example

    Screen capture: Create OS Profile Plan Variable Settings
Run Screen Example

  11. Click run plan (includes preflight).

    The Create OS Profile plan will take a few minutes to complete. When the plan completes, the deployment results screen appears.

  12. Click done.

Next Steps

Create the ALOM target host as described in the next procedure.

ProcedureTo Create the ALOM Target Host

  1. Open a Web browser and go to URL http://external OTP installation server:9090 where external OTP installation server is either the IP address or the fully qualified name of the external OTP installation server.

    The OTP provisioning service log in screen appears. Log in to the service provisioning system.

  2. Click OS Provisioning.

    The OS Provisioning screen appears.

  3. Click the Sun ALOM Target Create link.

    The Create ALOM Targets run screen appears.

  4. Click run.

    The Create ALOM Targets variable settings run screen appears.

    Figure 3–24 Create ALOM Target Variable Settings Run Screen

    Screen capture: Create ALOM Targets Variable Settings
Run Screen

  5. Click select from list... beneath variable settings.

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

    Figure 3–25 Create ALOM Target Select Variable Settings Screen

    Screen capture: Create ALOM Target Select Variable Settings
Screen

  6. Scroll to the bottom of the select variable settings screen and click create set.

    The Create ALOM Target Create Set variables screen appears:

    Figure 3–26 Create ALOM Target Create Set Variables Screen

    Screen capture: Create ALOM Target Create Set Variables
Screen

  7. Enter the values on the Create ALOM Target Create Set Variables Screen as follows.

    Scroll as needed, and click check boxes to activate text entry fields.

    The following list describes only the required fields. All other fields are optional.

    Set Name

    Type a name for the ALOM target in the Set Name field.

    For example, otphost01. The name must start with an alphabetic character.

    installPath

    The name to be assigned to the new OTP host.

    ethernet_mac_address

    The MAC address of the new OTP host.

    ethernet_ip_address

    The IP address of the primary Ethernet port of the new OTP host.

    disk_size

    (Optional) The size of the new OTP host hard drive in Gbytes.

    default_router

    (Optional) The IP address of the default router for the subnet to which the new OTP host is assigned.

    alom_ip_address

    The IP address assigned to the service processor of the new OTP host.

    alom_access_userid

    The ALOM user account name.

    alom_access_password

    The encrypted ALOM user account password.

    Create the encrypted password as described in Password Encryption in Sun N1 Service Provisioning System User’s Guide for OS Provisioning Plug-In 3.1. For example:


    # /opt/SUNWn1osp/sbin/n1osp_encrypter admin
    	Encrypted Text: Clz6pK2b6qw=
  8. Click save.

    The ALOM Target Create Set Variables screen refreshes and displays the values you entered.

  9. Click the right-most select button.

    The Create Set Variables screen closes. and the Create ALOM Target Variable Settings Plan Run Screen is updated.

    If the variable settings field does not display the plan set you created, click select from list... and click the name of the set you created.

  10. Click on the target host field select from list... link on the Settings Plan Run screen.

    The target host select from list screen appears.

  11. Click masterserver-osp, and then click add hosts to main window.

    The Target Host Select From List screen closes, and the target host field on the Solaris Images Plan Run screen is populated with masterserver-osp.

  12. Under plan variables, click the check box If you are specifying the ALOM password below.

    Type the ALOM password in the Password to access ALOM: field.

  13. Click run plan (includes preflight).

    The Create ALOM Target plan will take about a minute to complete. When the plan completes, the deployment results screen appears.

  14. Click done.

Next Steps

Install the Solaris OS on the new OTP host as described in the next procedure.

ProcedureTo Install the Solaris OS on a New OTP Host

  1. Open a Web browser and go to URL http://external OTP installation server:9090 where external OTP installation server is either the IP address or the fully qualified name of the external OTP installation server.

    The OTP provisioning service log in screen appears. Log in to the service provisioning system.

  2. Click OS Provisioning.

    The OS Provisioning screen appears.

  3. Click the Solaris Images Provision OS** link.

    The components screen appears.

    Figure 3–27 OS Provisioning Components Screen

    Screen capture: OS Provisioning Components Screen

  4. Click Solaris10_u2_sparc. standard or Standard Solaris provisioning profile.

    The Components Details screen appears.

    Figure 3–28 OS Provisioning Component Details Screen

    Screen capture: OS Provisioning Component Details Screen

  5. Scroll to the bottom and click run as shown by the following figure.

    Figure 3–29 OS Provisioning Component Details Screen, Selecting Run

    Screen capture: OS Provisioning Component Details Screen,
Selecting Run

    The Plans Details Run screen appears.

    Figure 3–30 OS Provisioning Plans Details Run Screen

    Screen capture: OS Provisioning Plans Details Run Screen

  6. Click select from list... beneath variable settings.

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

  7. Scroll to the bottom of the select variable setting from list screen and click create set.

    The create set variables screen appears.

    Figure 3–31 OS Provisioning Create Set Variables Screen

    Screen capture: OS Provisioning Create Set Variables
Screen

  8. Enter the values on the Create OS Provisioning Set Variables Screen as follows:

    The following list describes only the required fields. All other fields are optional.

    1. Type a name for the OS Provisioning variables set in the Set Name field.

      For example, otpclient35–set. The name must start with an alphabetic character.

    2. Click the profile_cluster_base_config check box.

      Type SUNWCXall in the field to install Entire Distribution plus OEM.

    3. Make certain that the profile_del_cluster_base_config check box is unchecked.

    4. Click the profile_swap_base_config check box.

      Type 4096 in the field.

    5. Click the profile_s3_mtpt_base_config check box.

      Type /globaldevices in the field.

    6. Click the profile_s3_size_base_config check box.

      Type 512 in the field.

    7. Click the profile_s5_mtpt_base_config check box.

      Clear the field.

    8. Click the profile_s6_mtpt_base_config check box.

      Clear the field.

    9. Click the profile_s7_mtpt_base_config check box.

      Clear the field.

    10. Click the profile_s7_size_base_config check box.

      Type 128 in the field.

    11. Click the sysidcfg_root_password_base_config check box.

      Copy and paste the encrypted root password from the file /etc/shadow in to the field.

      For further information about generating and entering encrypted passwords, see Password Encryption in Sun N1 Service Provisioning System User’s Guide for OS Provisioning Plug-In 3.1.

    12. Click the install_spsra and setuid_spsra check boxes.

      Type n in both fields to prevent installation of the service provisioning remote agent. The remote agent is installed at a later point.

    13. Click the packages_m_custom check box.


      Note –

      This key is displayed only if the JET server custom modules were included in the OS Profile.


      Type SUNWotpra SUNWotpcli SUNWotputil to install the required OTP packages.

      The SUNWotpra package is required in order to install the remote agent after the Solaris OS installation completes.

  9. Click save.

  10. Click the right-most select button.

    The create set screen closes, and the variable set name you created is displayed in the OS Provisioning Plans Details Run screen variable settings field.

  11. Click on the target host field select from list... link on the Settings Plan Run screen.

    The select hosts from list screen appears.

  12. Click the names of the hosts you want to jumpstart.

  13. Click add hosts to main window.

    The select hosts from list screen closes, and the hosts you selected are added to the Plans Details Run screen.

  14. Click run plan (includes preflight).

    The OS provisioning plan will take a few minutes to complete. OS provisioning takes about a hour to complete.

    To check the OS provisioning status:

    1. In the Common Tasks section of the N1 SPS browser interface, select OS Provisioning.

    2. On the OS Provisioning Common Tasks page, click Status in the OS Provisioning Administration Tasks section.

    3. On the Plans Details page, click Run.

    4. On the Plan Details Run page, select the OTP host on which you provisioned the OS.

    5. Click run plan (includes preflight).

    6. Follow the Details links to view the status.

    When the plan completes, the results screen appears. Click Done.


    Note –

    The OSP plug-in also installs the SUNWotpra, SUNWotpcli, and SUNWotputil packages. You do not need to add the SUNWotpcli package or setup the remote agent on the target host as these steps are done as part of the post OS installation processing by the OSP plug-in.


Next Steps

When you have completed configuring Solaris 10 Update 2 on each new OTP host, install the Open Telecommunications Platform on the OTP host.

Installing the Solaris OS and Remote Agent on a New OTP Host Using the External Installation Server OSP Plug-in Command Line Interface

This section provides the procedures for using the OSP plug-in command line interface on the external OTP installation server to install the Solaris OS and the service provisioning remote agent on a new OTP host.

The following topics are discussed:


Tip –

Add /var/otp/spsotp/N1_Service_Provisioning_System_5.2/cli/bin to the root account PATH statement before performing the following procedures. Type rehash after you have set the path.

The following procedures assume you have added /var/otp/spsotp/N1_Service_Provisioning_System_5.2/cli/bin to the root account PATH statement in the root account initialization script.


ProcedureTo Create and Register the Subnet

For detailed instructions, Creating and Registering the Subnet in Sun N1 Service Provisioning System User’s Guide for OS Provisioning Plug-In 3.1.

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

  2. Create the subnet variable list.

    Type the command

    cr_cli -cmd cdb.vs.add -comp NM:/com/sun/n1osp/untyped/Subnet -name "subnet_name" -u admin -p admin -vars "installPath=install path IP adddress;mask=subnet mask IP address;gateway=gateway IP address;host_interface=interface name;host_address=host IP address"

    where:

    • subnet_name is the name of the subnet , for example subnet53

    • install path IP adddress is the base IP address of the subnet, for example 10.11.53.0.

    • subnet mask IP addressis the subnet mask, for example 255.255.255.0.

    • gateway IP address is the subnet gateway IP address, for example 10.11.53.1.

    • interface name is the name of the provisioning interface of the external OTP installation server, for example bge0. Do not specify the logical interface.

    • host IP address is the IP address of the provisioning interface, for example 10.11.53.200.

  3. Initialize the subnet.

    Type the command

    cr_cli -cmd pe.p.run -u admin -p admin -PID NM:/com/sun/n1osp/untyped/Subnet-create -tar H:NM:masterserver-osp -comp - -vs subnet_name -pto 30 -nto 10

    where subnet_name is the name of the subnet , for example subnet53.

Next Steps

Create the Solaris 10 Update 2 image as described in the next procedure.

ProcedureTo Create the Solaris 10 Update 2 Image

For detailed instructions, see Creating Solaris Images and Profiles in Sun N1 Service Provisioning System User’s Guide for OS Provisioning Plug-In 3.1.

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

  2. Create the Solaris OS image import variable list.

    Type the command

    cr_cli -cmd cdb.vs.add -comp NM:/com/sun/n1osp/untyped/SolarisImage -name "image name" -u admin -p admin -vars "version=OS version;release=OS release;architecture=architecture;image_subnet_addr=image subnet adress;image_subnet_mask=subnet mask;media_src=media_source;ISO_files=OS ISO file name"

    where:

    • image name is the name assigned to the imported Solaris OS image, for example s10u2.

    • OS version is the Solaris OS version number, for example 10.

    • OS release is the Solaris OS release, for example u2.

    • architecture is the platform architecture for the Solaris OS, for example sparc

    • image subnet adress is the IP address of the server on which the OS image is to be copied, for example 10.11.53.200.

    • subnet mask is the subnet mask IP address, for example 255.255.255.0.

    • media_source is the full path to the source Solaris OS image. This can be an NFS-mounted ISO image as described in To Download and Uncompress the OTP and Solaris OS Installation Zip Files

    • OS ISO file name is the name of Solaris OS ISO image, for example sol-10-u2-ga-sparc-dvd.iso

  3. Import the Solaris OS image.

    Type cr_cli -cmd pe.p.run -u admin -p admin -PID NM:/com/sun/n1osp/untyped/SolarisImage-import -tar H:NM:masterserver-jet -comp + -vs s10u2 -pto 300 -nto 100 where s10u2 is the name you assigned to the import image in the previous step.

Next Steps

Create the Solaris OS provisioning profile as described in the next step.

ProcedureTo Create the Solaris OS Provisioning Profile

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

  2. Type the following command to populate the custom packages with the appropriate JET path:

    /opt/SUNWjet/bin/copy_custom_packages /OTP_media_path/Products/packages sparc SUNWotpra SUNWotpcli SUNWotputil

    where /OTP_media_path is the fully-qualifed path to the OTP installation directory you created in To Create the OTP Installation Directory on the External OTP Installation Server. For example:


    # /opt/SUNWjet/bin/copy_custom_packages \
    /otp1.1/Products/packages sparc SUNWotpra SUNWotpcli SUNWotputil
    

    The media is copied to the directory /export/install/pkgs/custom/sparc by default. To change the default directory, modify the setting in /opt/SUNWjet/etc/jumpstart.conf.

    For further information, see Chapter 5, Provisioning the Solaris Operating System, in Sun N1 Service Provisioning System User’s Guide for OS Provisioning Plug-In 3.1.

  3. Create the file /tmp/solaris-profile with the following text.

    standard
    Standard Solaris
    base_config spsra custom
    true

    Save and close the file.

  4. Type the following command to create the OS profile.


    # cr_cli -cmd pe.p.run -u admin -p admin \
    -PID NM:/com/sun/n1osp/untyped/SolarisImage-create-profile \
    -tar H:NM:masterserver-jet -comp + -vs s10u2  -pto 300 -nto 300 \
    -f /tmp/solaris-profile
    

    For further information, see Creating Solaris Images and Profiles in Sun N1 Service Provisioning System User’s Guide for OS Provisioning Plug-In 3.1.


    Note –

    Ensure that the provisioning profiles specify Entire Distribution Plus OEM and that the profiles partition the OTP host disk drive as described in Table 3–1.


Next Steps

Create the ALOM target host as described in the next procedure.

ProcedureTo Create the ALOM Target Host

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

  2. Create the encrypted password for the ALOM account.

    Create the encrypted password as described in Password Encryption in Sun N1 Service Provisioning System User’s Guide for OS Provisioning Plug-In 3.1. For example, if the ALOM account password is admin, you would type:


    # /opt/SUNWn1osp/sbin/n1osp_encrypter admin
    	Encrypted Text: Clz6pK2b6qw=

    You will need the encrypted password in the next step.

  3. Type the following command to create the ALOM target host variable set.

    cr_cli -cmd cdb.vs.add -comp NM:/com/sun/n1osp/targets/SunALOM -name "new OTP host name" -u admin -p admin -vars "installPath=new OTP host name;ethernet_mac_address=MAC address1;ethernet_ip_address=IP address; alom_ip_address=ALOM IP address;alom_access_userid=admin;alom_access_password=encrypted password" where:

    • new OTP host name is the name of the new OTP host

    • MAC address is the new OTP host MAC address

    • IP address is the new OTP host provisioning interface IP address

    • ALOM IP address is the ALOM interface IP address

    • encrypted password is the encrypted password you generated in the previous step

    For example


    # cr_cli -cmd cdb.vs.add -comp NM:/com/sun/n1osp/targets/SunALOM \
    -name "pcl1-ipp1" -u admin -p admin \
    -vars "installPath=pcl1-ipp1;ethernet_mac_address=0:3:ba:9:6a:51;\
    ethernet_ip_address=10.11.52.61;\alom_ip_address=10.11.52.51;\
    alom_access_userid=admin;alom_access_password=Clz6pK2b6qw="
    
  4. Create the file /tmp/OTP hostname.

    For example, /tmp/pcl1-ipp1

    Add the following four lines to the file.

    true
    admin
    false
    admin

    The second line is the password for the new OTP host ALOM. The fourth line is the password for the external OTP installation server.

    Save and close the file.

  5. Type the following command to create the ALOM target.


    #  cr_cli -cmd pe.p.run -u admin -p admin \
    -PID NM:/com/sun/n1osp/targets/SunALOM-create \
    -tar H:NM:masterserver-osp -comp + -vs pcl1-ipp1 -pto 300 \
    -nto 100 -f /tmp/OTP hostname
    

    where OTP hostname is the name of the file you created in the previous step.

    For detailed information, see Example Tasks for Defining Target Hosts in Sun N1 Service Provisioning System User’s Guide for OS Provisioning Plug-In 3.1 and Sun ALOM Target Host Variables in Sun N1 Service Provisioning System User’s Guide for OS Provisioning Plug-In 3.1.

Next Steps

Install the Solaris OS on the new OTP host as described in the next procedure.

ProcedureTo Install the Solaris OS on a New OTP Host

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

  2. Type the following command to create the OS provisioning variables set.


    # cr_cli -cmd cdb.vs.add \
    -comp NM:/com/sun/n1osp/autogen-masterserver-jet/provision/Solaris10_u2_sparc.standard \
    -name "variables set name" -u admin -p admin \
    -vars "sysidcfg_default_route_base_config=default router IP address;\
    sysidcfg_root_password_base_config=encryped OTP host password;\
    profile_cluster_base_config=SUNWCXall;profile_del_clusters_base_config=;\
    profile_swap_base_config=4096;profile_s3_mtpt_base_config=/globaldevices;\
    profile_s3_size_base_config=512;profile_s5_mtpt_base_config=;\
    profile_s6_mtpt_base_config=;profile_s7_mtpt_base_config=;\
    profile_s7_size_base_config=128;install_spsra=n;setuid_spsra=n;\
    packages_m_custom=SUNWotpra SUNWotpcli SUNWotputil
    

    where

    • variables set name is the name to be assigned to the variables set, for example sfv240–target.

    • default router IP address is the IP address of the default router, for example 10.11.12.0.

    • encryped OTP host password is the encrypted password, which can be copied from the file /etc/shadow.

  3. Type the following command to provision the OS to the new OTP host.


    # cr_cli -cmd pe.p.run -u admin -p admin -PID \ 
    NM:/com/sun/n1osp/autogen-masterserver-jet/provision/SolarisProfile-provision-start-Solaris10_u2_sparc.standard \
    -tar H:NM:variables set name -comp + -vs new OTP host host name -pto 600 -nto 600
    

    where variables set name is the name you assigned to the variables set in the previous step, and new OTP host host name is the name of the new OTP host to which the OS is to be provisioned.

    Repeat this step for each new OTP host.

    For detailed instructions, see Installing the Solaris OS on the Target Host in Sun N1 Service Provisioning System User’s Guide for OS Provisioning Plug-In 3.1 and Appendix B, Solaris Profile Component Variables, in Sun N1 Service Provisioning System User’s Guide for OS Provisioning Plug-In 3.1


    Note –

    The OSP plug-in also installs the SUNWotpra, SUNWotpcli, and SUNWotputil packages. You do not need to add the SUNWotpcli package or setup the remote agent on the target host as these steps are done as part of the post OS installation processing by the OSP plug-in.


Next Steps

When you have completed installing and configuring Solaris 10 Update 2 on each OTP host, install the Open Telecommunications Platform on the OTP host.