|A P P E N D I X B|
Setting up DHCP to Configure the IP Addresses for Solaris Blades
This appendix supplements the instructions in the Solaris Advanced Installation Guide and the DHCP Administration Guide. It enables you to complete the configuration of the Network Install Server and the DHCP server on your data network so that the server blades on the system chassis can receive their IP addresses dynamically.
The instructions assume that you have added the Solaris image to a Network Install Server and that you have a DHCP server on the data network.
This appendix contains the following sections:
On the Network Install Server, run add_install_client with the -d option.
This command copies a DHCP-capable inetboot file from the Solaris image to the /tftpboot directory. To execute the command, type:
where path is the location of the Solaris image on the Network Install Server. (Note that the second command in the above example has wrapped onto the next line.) The output above uses sample IP data.
1. On the DHCP server create the options that you want passed to the blades during the Solaris Jumpstart.
(This is the information that would be gathered from the /etc/bootparams file during a non-DHCP Jumpstart.)
The options you need to create are listed in TABLE B-1.
The following are sample commands for creating the options listed in TABLE B-1:
2. Create macros containing the options you require (including the options you created in the Step 1).
*network name is the IP address that identifies the network containing the clients. You need to create one of these macros for each client subnet except the subnet containing the primary interface of the DHCP server.
The following are sample commands for creating the macros you require:
# dhtadm -A -m Solaris -d ':SrootIP4=192.168.160.12:SrootNM="bootsrv":SinstIP4=192.168.160.15:SinstNM="installsrv":Sterm="xterm":SjumpsCF="configsrv:/config":SsysidCF="configsrv:/config":'
# dhtadm -A -m SUNW.Serverblade1 -d ':SbootFIL="/platform/sun4u/kernel/sparcv9/unix":Include=sun4u:'
3. Add the client's host name and IP address to the hosts database (that is, to /etc/hosts).
4. Map the SUNW.Serverblade1 macro to the client.
MACaddress is the client's MAC address,
DHCP server is the DHCP server's hostname, and
network name is the IP address that identifies the network containing the client (note that the sample comand line above has wrapped onto the next line).
When the network environment is configured to provide the server blades with two IP addresses each, follow the instructions in this section. These instructions assume that the server blade you are configuring has booted from the network and been provided with an IP configuration for its primary (ce0) interface.
1. From the System Controller's sc> prompt, access the blade console.
where n is the slot number for the blade you are configuring.
2. From Solaris prompt, type:
3. Finally, type: