If you configured a DHCP server to support WAN boot options, you can use the DHCP server to provide client configuration information during the installation. For more information about configuring a DHCP server to support a WAN boot installation, see (Optional) Providing Configuration Information With a DHCP Server.
This procedure makes the following assumptions.
The client system is running.
You have either installed keys on the client, or you are performing an insecure installation.
For information about installing keys on the client before your installation, see Installing Keys on the Client.
You have configured your DHCP server to support the SbootURI and SHTTPproxy WAN boot options.
These options enable the DHCP server to provide the configuration information that is required by WAN boot.
For information about how to set installation options on your DHCP server, see Preconfiguring System Configuration Information With the DHCP Service (Tasks).
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 dhcp,hostname=client-name
Instructs the OBP to set the following boot arguments
Instructs the OBP to use the DHCP server to configure the client
Specifies the host name you want to assign to the client
Boot the client from the network.
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 DHCP server on the network provides client configuration information. This sample requests the host name myclient for the client.
ok setenv network-boot-arguments dhcp, hostname=myclient 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
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).
For more information about how to configure a DHCP server, see (Optional) Providing Configuration Information With a DHCP Server.