Log in as root (su - root) to the external OTP installation server.
Create the encrypted password for the ALOM account.
Create the encrypted password as described in Password Encryption in Sun N1 Service Provisioning System User’s Guide for OS Provisioning Plug-In 3.1. For example, if the ALOM account password is admin, you would type:
# /opt/SUNWn1osp/sbin/n1osp_encrypter admin Encrypted Text: Clz6pK2b6qw= |
You will need the encrypted password in the next step.
Type the following command to create the ALOM target host variable set.
cr_cli -cmd cdb.vs.add -comp NM:/com/sun/n1osp/targets/SunALOM -name "new OTP host name" -u admin -p admin -vars "installPath=new OTP host name;ethernet_mac_address=MAC address1;ethernet_ip_address=IP address; alom_ip_address=ALOM IP address;alom_access_userid=admin;alom_access_password=encrypted password" where:
new OTP host name is the name of the new OTP host
MAC address is the new OTP host MAC address
IP address is the new OTP host provisioning interface IP address
ALOM IP address is the ALOM interface IP address
encrypted password is the encrypted password you generated in the previous step
For example
# cr_cli -cmd cdb.vs.add -comp NM:/com/sun/n1osp/targets/SunALOM \ -name "pcl1-ipp1" -u admin -p admin \ -vars "installPath=pcl1-ipp1;ethernet_mac_address=0:3:ba:9:6a:51;\ ethernet_ip_address=10.11.52.61;\alom_ip_address=10.11.52.51;\ alom_access_userid=admin;alom_access_password=Clz6pK2b6qw=" |
Create the file /tmp/OTP hostname.
For example, /tmp/pcl1-ipp1
Add the following four lines to the file.
true admin false admin
The second line is the password for the new OTP host ALOM. The fourth line is the password for the external OTP installation server.
Save and close the file.
Type the following command to create the ALOM target.
# cr_cli -cmd pe.p.run -u admin -p admin \ -PID NM:/com/sun/n1osp/targets/SunALOM-create \ -tar H:NM:masterserver-osp -comp + -vs pcl1-ipp1 -pto 300 \ -nto 100 -f /tmp/OTP hostname |
where OTP hostname is the name of the file you created in the previous step.
For detailed information, see Example Tasks for Defining Target Hosts in Sun N1 Service Provisioning System User’s Guide for OS Provisioning Plug-In 3.1 and Sun ALOM Target Host Variables in Sun N1 Service Provisioning System User’s Guide for OS Provisioning Plug-In 3.1.
Install the Solaris OS on the new OTP host as described in the next procedure.