Sun Open Telecommunications Platform 1.1 Installation and Administration Guide

Preparing the OTP Master Server Using CLI

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:


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 Identify the OTP Master Server in a Clustered OTP System

  1. See To Identify the OTP Master Server in a Clustered OTP System.

Next Steps

Update the OTP master server remote agent as described in the next procedure.

ProcedureTo Update the Service Provisioning Remote Agent

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

  2. Run the following command to update the Service Provisioning Remote Agent.

    cr_cli -cmd node.au.run -u admin -p admin -all true

  3. Run the following command to prepare the Service Provisioning Remote Agent.

    cr_cli -cmd pe.h.prep -u admin -p admin -tar NM:masterserver

Next Steps

Create the OS provisioning server on the OTP master server as described in the next procedure.

ProcedureTo Create the OS Provisioning Server

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

  2. 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"

  3. 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

Next Steps

Create the JET boot/install server as described in the next procedure.

ProcedureTo Create the JET Boot/Install Server

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

  2. 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"

  3. 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.

Next Steps

Prepare the new OTP hosts for OTP installation as described in the next section.