Sun N1 Service Provisioning System User's Guide for OS Provisioning Plug-In 3.0

ProcedureHow to Create a Non-JET Solaris Provisioning Profile (Command-Line Interface)

Steps
  1. To create a variable set for the SolarisImage component, type a command similar to the following example:


    # cr_cli -cmd cdb.vs.add -comp NM:/com/sun/n1osp/untyped/SolarisImage \
    -name "solaris9" -u admin -p admin -vars "version=9;release=u7;architecture=sparc; \
    image_path=/export/install/Solaris_9;image_subnet_addr=10.42.42.2; \
    image_subnet_mask=255.255.255.0;media_src="
    
  2. To provide JET module information, create a file /tmp/solaris-profile that contains the following entries:

    standard-nojet
    Standard Solaris
    base_config spsra
    false

    Where:

    • The first line in the file corresponds to the Profile Name field in the plan variables section of the browser interface.

    • The second line in the file corresponds to the Profile Description field in the plan variables section of the browser interface.

    • The third line in the file corresponds to the JET Module Name field in the plan variables section of the browser interface.

    • The fourth line in the file corresponds to the Use the Jet Modules Specified Above checkbox in the plan variables section of the browser interface

  3. To run the plan, type a command similar to the following example:


    # cr_cli -cmd pe.p.run -u admin -p admin
    -PID NM:/com/sun/n1osp/untyped/SolarisImage-create-profile
    -tar H:NM:biss1-jet -comp - -vs solaris9 -pto 30 -nto 10
    -f /tmp/solaris-profile
    

    Note the default N1 SPS user value you specified with the -u option. This user must exist after the OS installation for the N1 SPS Remote Agent software to start on the target host.