Use this installation method if you prefer to install keys and set client configuration information before you install the client. You can then boot the client from the WAN and perform an unattended installation.
This procedure assumes that you have either installed keys in the client's OBP, or that you are performing an insecure installation. For information about installing keys on the client before your installation, see Installing Keys on the Client.
If the client system is currently running, bring the system to run level 0.
# init 0 |
The ok prompt is displayed.
At the ok prompt on the client system, set the network boot argument variables in OBP.
ok setenv network-boot-arguments host-ip=client-IP, router-ip=router-ip,subnet-mask=mask-value, hostname=client-name,http-proxy=proxy-ip:port, file=wanbootCGI-URL |
The line breaks in this command sample are included for formatting purposes only. Do not enter a carriage return until you finish typing the command.
Boot the client.
ok boot net - install |
Instructs the client to use the network boot argument variables to boot from the WAN
The client installs over the WAN. If the WAN boot programs do not find all the necessary installation information, the wanboot program prompts to provide the missing information. Type the additional information at the prompt.
In the following example, the network boot argument variables for the client system myclient are set before the machine is booted. This example assumes that a hashing key and encryption key are already installed on the client. For information about installing keys before you boot from the WAN, see Installing Keys on the Client.
ok setenv network-boot-arguments host-ip=192.168.198.136, router-ip=192.168.198.129,subnet-mask=255.255.255.192 hostname=myclient,file=http://192.168.198.135/cgi-bin/wanboot-cgi ok boot net - install Resetting ... Sun Blade 100 (UltraSPARC-IIe), No Keyboard Copyright 1998-2003 Sun Microsystems, Inc. All rights reserved. OpenBoot 4.x.build_28, 512 MB memory installed, Serial #50335475. Ethernet address 0:3:ba:e:f3:75, Host ID: 83000ef3. Rebooting with command: boot net - install Boot device: /pci@1f,0/network@c,1 File and args: - install |
The following variables are set.
The client IP address is set to 192.168.198.136.
The client's router IP address is set to 192.168.198.129.
The client's subnet mask is set to 255.255.255.192.
The client's host name is set to seahag.
The wanboot-cgi program is located at http://192.168.198.135/cgi-bin/wanboot-cgi.
For more information about how to set network boot arguments, see set(1).
For more information about how to boot a system, see boot(1M).