Solaris 10 10/09 Installation Guide: Network-Based Installations

ProcedureTo Perform a WAN Boot Installation With a DHCP Server

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.

  1. If the client system is currently running, bring the system to run level 0.


    # init 0
    

    The ok prompt is displayed.

  2. 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
    
    setenv network-boot-arguments

    Instructs the OBP to set the following boot arguments

    dhcp

    Instructs the OBP to use the DHCP server to configure the client

    hostname=client-name

    Specifies the host name you want to assign to the client

  3. Boot the client from the network.


    ok boot net - install
    
    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.


Example 13–6 WAN Boot Installation With a DHCP Server

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

See Also

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.