Sun Open Telecommunications Platform 1.1 Installation and Administration Guide

ProcedureTo Create the OS Profile

  1. Log in as root to the OTP master server.

  2. Type /opt/sun/n1gc/bin/n1sh to open the OTP N1TM command shell. For example:


    # /opt/sun/n1gc/bin/n1sh
    N1-ok>
  3. In the OTP command shell, type create osprofile os profile name os OS image name rootpassword root password where:

    • os profile name is the name of the OS profile to be created

    • OS image name is the name of the OS image you created in To Create the OS Image

    • root password is the root password of the production OTP host

    For example:


    N1-ok> create osprofile s10u2-profile os sol10u2 rootpassword otpadmin
    
  4. Set the OS profile language and time zone.

    Type set osprofile os profile name language locale timezone time zone where:

    • os profile name is the name of the OS profile you created in the previous step

    • language is your locale code

    • time zone is your time zone

    For example:


    N1-ok> set osprofile s10u2-profile language en_US.ISO8859-15 timezone GMT
    
  5. Set the OS installation type in the OS profile.

    Type add osprofile os profile name distributiongroup "Entire Distribution plus OEM support" where os profile name is the name of the OS profile you created .

    For example:


    N1-ok> add osprofile s10u2-profile distributiongroup "Entire Distribution plus OEM support"
    
  6. Set the root partition allocation in the OS profile.

    Type add osprofile os profile name partition / device disk slice type ufs sizeoption free.

    For example:


    N1-ok> add osprofile s10u2-profile partition / c0t0d0s0 type ufs sizeoption free
    
  7. Set the swap space allocation in the OS profile.

    Type add osprofile os profile name partition swap device disk slice type swap sizeoption fixed size size in Mbytes.

    For example:


    N1-ok> add osprofile s10u2-profile partition swap device c0t0d0s1 type swap sizeoption fixed size 4000
    
  8. Set the /globaldevices file system allocation in the OS profile.

    Type add osprofile os profile name partition /globaldevices device disk slice type ufs sizeoption fixed size size in Mbytes.

    For example:


    N1-ok> add osprofile s10u2-profile partition /globaldevices device c0t0d0s3
     type ufs sizeoption fixed size 4000
    

    Note –

    The above example was split into two lines to fit on the page. When typing the add osprofile command, type the full command as a single line.


Next Steps

Run discovery to identify the new OTP hosts to which the Solaris 10 Update 2 OS is to be deployed as described in the next procedure.