This section provides the procedures for preparing an existing production OTP master server for use as an OS, OTP, and NEP application provisioning host using the CLI interface.
The following topics are discussed:
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.
Update the OTP master server remote agent as described in the next procedure.
Log in as root (su - root)to the OTP master server.
Run the following command to update the Service Provisioning Remote Agent.
cr_cli -cmd node.au.run -u admin -p admin -all true
Run the following command to prepare the Service Provisioning Remote Agent.
cr_cli -cmd pe.h.prep -u admin -p admin -tar NM:masterserver
Create the OS provisioning server on the OTP master server as described in the next procedure.
Log in as root (su - root)to the OTP master server.
Run the following command to create the variable set for OS Provisioning Server creation.
cr_cli -cmd cdb.vs.add -comp NM:/com/sun/n1osp/untyped/Service -name "otp" -u admin -p admin -vars "sps_cli=/var/otp/spsotp/N1_Service_Provisioning_System_5.2/cli/bin/cr_cli"
Run the following command to create the OS Provisioning Server.
cr_cli -cmd pe.p.run -u admin -p admin -PID NM:/com/sun/n1osp/untyped/Service-create -tar H:NM:masterserver -comp - -vs otp -pto 300 -nto 100
Create the JET boot/install server as described in the next procedure.
Log in as root (su - root)to the OTP master server.
Run the following command to create the variable set for JET Boot/Install Server creation.
cr_cli -cmd cdb.vs.add -comp NM:/com/sun/n1osp/untyped/Jet -name "otp" -u admin -p admin -vars "sps_cli=/var/otp/spsotp/N1_Service_Provisioning_System_5.2/cli/bin/cr_cli"
Run the following command to create the JET Boot/Install Server.
cr_cli -cmd pe.p.run -u admin -p admin -PID NM:/com/sun/n1osp/untyped/Jet-create -tar H:NM:masterserver -comp + -vs otp -pto 300 -nto 100
This completes preparation of the OTP master server.
Prepare the new OTP hosts for OTP installation as described in the next section.