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

ProcedureHow to Create an HP ILO Target Host (Command-Line Interface)

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


    # cr_cli -cmd cdb.vs.add -comp NM:/com/sun/n1osp/targets/HPILO -name "hpProliant" \
    -u admin -p admin -vars "installPath=HP-Proliant;description=Test description; \
    ethernet_mac_address=00:0E:7F:FD:85:26;ethernet_ip_address=10.42.42.20; \
    ethernet_netmask=255.255.255.0;architecture=x86;kernel_arch=i86pc; \
    guid={4D303435-4C47-5037-3239-202020202020};disk_size=20GB;ilo_ip_address=10.5.133.166; \
    ilo_version=1.6.4;ilo_access_userid=admin;ilo_access_password="
    

    For more information about the variables, see HP ILO Target Host Variables.

  2. To set up the appropriate password access, create a file that contains the following entries:

    true
    admin123

    Where:

    • The first line in the file corresponds to checking the “If you are specifying the ILO password below” box in plan variables section of the browser interface.

    • The second line in the file is the password to access ILO.

    Make sure to name the file something useful so that you can remember it for the next step. For example, you might name the file /tmp/hp-proliant.

  3. To run the plan and create the target host, type a command similar to the following example:


    # cat /tmp/hp-proliant | cr_cli -cmd pe.p.run -u admin -p admin  \
    -PID NM:/com/sun/n1osp/targets/HPILO-create -tar H:NM:masterserver-osp -comp + \
    -vs hpProliant -pto 30 -nto 10 -f /tmp/hp-proliant