使用JumpStart快速安装Solaris( 四 )


 share -F nfs -o ro,anon=0 /export/patches
 share -F nfs -o ro,anon=0 /export/packages
 :wqc. Start the NFS server.
 # /etc/init.d/nfs.server startd. Share the DirectorIEs.
 # shareall
 # share
 -/export/installro,anon=0""
 -/export/configro,anon=0""
 -/export/patchesro,anon=0""
 -/export/packagesro,anon=0""e. Verify file sharing.
 # showmount -e localhost
 export list for localhost:
 /export/install (everyone)
 /export/config(everyone)
 /export/patches (everyone)
 /export/packages (everyone)4. Create the Client tftpboot Files
a. Run the add_install_client script for each client.
b. Go to the location of the add_install_client script:
 # cd /export/install/Solaris_10/Toolsc. Run the add_install_client script for each client on the network that performs a JumpStart installation. Ensure that you use the correct arguments for each client. The -e argument is the Mac address for the client and the -p argument shows the directory name of the sysidcfg file that is used by the client. The following shows running add_install_client for two separate clients:
 # ./add_install_client
 -d
 -e 00:0a:e4:37:16:4d
 -s 172.16.64.194:/export/install
 -c 172.16.64.194:/export/config
 -p 172.16.64.194:/export/config/sysidcfg1 i86pc
 enabling tftp in /etc/inetd.conf
 Converting /etc/inetd.conf
 enabling network/tftp/udp6 service
 copying boot file to /tftpboot/pxegrub.I86PC.Solaris_10-1
 If not already configured, enable PXE boot by creating
 a macro named 01000AE429C1FD with:
Boot server IP (BootSrvA) : 172.16.64.194
Boot file (BootFile) : 01000AE429C1FD
 # ./add_install_client
 -d
 -e 00:0a:e4:2a:33:f8
 -s 172.16.64.194:/export/install
 -c 172.16.64.194:/export/config
 -p 172.16.64.194:/export/config/sysidcfg2 i86pc
 enabling tftp in /etc/inetd.conf
 Converting /etc/inetd.conf
 enabling network/tftp/udp6 service
 copying boot file to /tftpboot/pxegrub.I86PC.Solaris_10-1
 If not already configured, enable PXE boot by creating
 a macro named 01000AE42A33F8 with:
Boot server IP (BootSrvA) : 172.16.64.194
Boot file (BootFile) : 01000AE42A33F8The Boot server IP and Boot file values are used later when macros are created while dhcpmgr is running.
5. Configure and Run the DHCP Server
a. Run dhcpmgr:
 # /usr/sadm/admin/bin/dhcpmgr
 Java Accessibility Bridge for GNOME loaded.The first screen appears:
(Click on images to enlarge)
b. Select Configure as a DHCP Server and click OK.
The DHCP Configuration Wizard appears:
c. Select Text Files and click Next.
d. Verify the storage path and click Next.
e. Select a nameservice and click Next.
f. Verify the lease information and click Next.
g. Verify the DNS domain information and click Next.
h. Verify the network information and click Next.
i. Select the network type and routing option and click Next.
j. Verify the NIS domain information and click Next.
k. Verify the NISdomain information and click Next.
l. RevIEw the settings and click Finish.
The DHCP Manager appears and you are asked to start the Address Wizard:
m. Click Yes.
The Address Wizard appears:
n. Type the number of IP addresses and click Next.
o. Verify the server information and click Next.
p. Verify the IP addresses and click Next.
q. Verify the client configuration information and click Next.
r. Select the lease type and click Next.

推荐阅读