If you are going to deploy the Solaris 10 Update 2 to new OTP hosts on a different subnet, you must set up a DHCP relay on each subnet as described in this procedure before you can discover and subsequently deploy the OS to the hosts.
The examples in the following substeps assume:
The production OTP host that is to be used to provision the OS is on subnet 10.1.15
The new OTP host or hosts are on subnet 10.1.30
Log in as root to a Solaris OS SPARC server on the 10.1.30 subnet.
The server must not be a standalone OTP host or a clustered OTP host.
Type the ps -ef | grep dhcp to verify that the DHCP service has started.
# ps -ef | grep dhcp oot 24992 1 0 18:20:53 ? 0:00 /usr/lib/inet/in.dhcpd |
Type dhcpconfig -R production OTP hostIP address,otpclient1 IP address ..., otpclientn IP address.
For example:
# dhcpconfig -R 10.1.15.1,10.1.30.5, 10.1.30.6,10.1.30.7,10.1.30.8,\ 10.1.30.9,10.1.30.10,10.1.30.11,10.1.30.12 |
Log in as root to the production OTP host.
Type /opt/sun/n1gc/bin/n1sh to open the OTP command shell.
# /opt/sun/n1gc/bin/n1sh N1-OK> |
Set up the OTP DHCP service.
In the OTP command shell, type create dhcpconfig DHCP configuration name network IP address of base network netmask netmask value defaultgw gateway IP address domain domain name where:
DHCP configuration name is the name you assign to the OTP DHCP configuration
IP address of base network is the base address of the target subnet
netmask value is the netmask value of the target subnet
gateway IP address is the IP address of the target subnet gateway
domain name is your corporate domain name
For example:
N1-ok> create dhcpconfig test network 10.11.55.0 netmask 255.255.255.0 defaultgw 10.11.55.1 domain mycompany.com |
The above example was split into two lines to fit on the page. When typing the create dhcpconfig command, type the full command as a single line.
Prepare and deploy the OS as described in the next section.