N1 Grid Service Provisioning System User's Guide and Release Notes for the OS Provisioning Plug-In 1.0

ProcedureHow to Identify the Subnet for the OS Provisioning Server (Command-Line Interface)

To manage the subnet from the command line, follow these steps:

Steps
  1. Create the variables set.

    Type a command similar to the following example:


    # cr_cli -cmd cdb.vs.add -comp NM:/com/sun/n1osp/untyped/Subnet -name "subnet1" \
    -u admin -p admin -vars "installPath=10.42.42.0;mask=255.255.255.0;gateway=10.42.42.1; \
    host_interface=ce8000;host_address=10.42.42.1"
    

    For more information about the variables, see Step 4 in How to Identify the Subnet for the OS Provisioning Server (Browser Interface).

  2. Run the plan to create the subnet using the variables set created in the previous step.

    Type a command similar to the following example:


    # 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 subnet1 -pto 30 -nto 10