PXE JumpStart

From Brandonhutchinson.com

(Difference between revisions)
Jump to: navigation, search
Line 1: Line 1:
== Overview ==
== Overview ==
-
In this example, I use a Solaris 10 SPARC JumpStart server to build Sun Fire X4600 clients.
+
In this example, I use a Solaris 10 SPARC JumpStart server to build Sun Fire X4600 clients. This example assumes that the JumpStart server is already configured for TFTP, and that the Solaris 10 x86 media has been copied to the JumpStart server.
== Install DHCP Server ==
== Install DHCP Server ==
Line 13: Line 13:
* '''SUNWdhcm''' DHCP Manager
* '''SUNWdhcm''' DHCP Manager
 +
 +
== Configure the DHCP Server ==
 +
 +
* Configure the DHCP server to store its files in ''/var/dhcp''.
 +
# '''dhcpconfig -D -r SUNWfiles -p /var/dhcp'''
 +
Created DHCP configuration file.
 +
Created dhcptab.
 +
Added "Locale" macro to dhcptab.
 +
Added server macro to dhcptab - mrdmmns001.
 +
DHCP server started.
 +
 +
* Configure the DHCP server to serve the appropriate network(s).
 +
# '''pntadm -C 10.205.0.0'''
 +
 +
* Add the PXE client macros for i86pc to the DHCP configuration.
 +
# '''dhtadm -A -s SrootOpt -d 'Vendor=SUNW.i86pc,1,ASCII,1,0''''
 +
# '''dhtadm -A -s SrootIP4 -d 'Vendor=SUNW.i86pc,2,IP,1,1''''
 +
# '''dhtadm -A -s SrootNM -d 'Vendor=SUNW.i86pc,3,ASCII,1,0''''
 +
# '''dhtadm -A -s SrootPTH -d 'Vendor=SUNW.i86pc,4,ASCII,1,0''''
 +
# '''dhtadm -A -s SswapIP4 -d 'Vendor=SUNW.i86pc,5,IP,1,0''''
 +
# '''dhtadm -A -s SswapPTH -d 'Vendor=SUNW.i86pc,6,ASCII,1,0''''
 +
# '''dhtadm -A -s SbootFIL -d 'Vendor=SUNW.i86pc,7,ASCII,1,0''''
 +
# '''dhtadm -A -s Stz -d 'Vendor=SUNW.i86pc,8,ASCII,1,0''''
 +
# '''dhtadm -A -s SbootRS -d 'Vendor=SUNW.i86pc,9,NUMBER,2,1''''
 +
# '''dhtadm -A -s SinstIP4 -d 'Vendor=SUNW.i86pc,10,IP,1,1''''
 +
# '''dhtadm -A -s SinstNM -d 'Vendor=SUNW.i86pc,11,ASCII,1,0''''
 +
# '''dhtadm -A -s SinstPTH -d 'Vendor=SUNW.i86pc,12,ASCII,1,0''''
 +
# '''dhtadm -A -s SsysidCF -d 'Vendor=SUNW.i86pc,13,ASCII,1,0''''
 +
# '''dhtadm -A -s SjumpsCF -d 'Vendor=SUNW.i86pc,14,ASCII,1,0''''
 +
# '''dhtadm -A -s Sterm -d 'Vendor=SUNW.i86pc,15,ASCII,1,0''''
 +
# '''dhtadm -A -s SbootURI -d 'Vendor=SUNW.i86pc,16,ASCII,1,0''''
 +
http://www2.petervg.nl/cgi-bin/docs.cgi?a=read&doc=218
http://www2.petervg.nl/cgi-bin/docs.cgi?a=read&doc=218

Revision as of 15:55, 17 January 2008

Overview

In this example, I use a Solaris 10 SPARC JumpStart server to build Sun Fire X4600 clients. This example assumes that the JumpStart server is already configured for TFTP, and that the Solaris 10 x86 media has been copied to the JumpStart server.

Install DHCP Server

Make sure the following packages are installed on the JumpStart server:

  • SUNWdhcsr BOOTP/DHCP Server Services, (Root)
  • SUNWdhcsu BOOTP/DHCP Server Services, (Usr)

If you want to use a GUI to administer the DHCP server, install the following optional package:

  • SUNWdhcm DHCP Manager

Configure the DHCP Server

  • Configure the DHCP server to store its files in /var/dhcp.
# dhcpconfig -D -r SUNWfiles -p /var/dhcp
Created DHCP configuration file.
Created dhcptab.
Added "Locale" macro to dhcptab.
Added server macro to dhcptab - mrdmmns001.
DHCP server started.
  • Configure the DHCP server to serve the appropriate network(s).
# pntadm -C 10.205.0.0
* Add the PXE client macros for i86pc to the DHCP configuration.
# dhtadm -A -s SrootOpt -d 'Vendor=SUNW.i86pc,1,ASCII,1,0'
# dhtadm -A -s SrootIP4 -d 'Vendor=SUNW.i86pc,2,IP,1,1'
# dhtadm -A -s SrootNM -d 'Vendor=SUNW.i86pc,3,ASCII,1,0'
# dhtadm -A -s SrootPTH -d 'Vendor=SUNW.i86pc,4,ASCII,1,0'
# dhtadm -A -s SswapIP4 -d 'Vendor=SUNW.i86pc,5,IP,1,0'
# dhtadm -A -s SswapPTH -d 'Vendor=SUNW.i86pc,6,ASCII,1,0'
# dhtadm -A -s SbootFIL -d 'Vendor=SUNW.i86pc,7,ASCII,1,0'
# dhtadm -A -s Stz -d 'Vendor=SUNW.i86pc,8,ASCII,1,0'
# dhtadm -A -s SbootRS -d 'Vendor=SUNW.i86pc,9,NUMBER,2,1'
# dhtadm -A -s SinstIP4 -d 'Vendor=SUNW.i86pc,10,IP,1,1'
# dhtadm -A -s SinstNM -d 'Vendor=SUNW.i86pc,11,ASCII,1,0'
# dhtadm -A -s SinstPTH -d 'Vendor=SUNW.i86pc,12,ASCII,1,0'
# dhtadm -A -s SsysidCF -d 'Vendor=SUNW.i86pc,13,ASCII,1,0'
# dhtadm -A -s SjumpsCF -d 'Vendor=SUNW.i86pc,14,ASCII,1,0'
# dhtadm -A -s Sterm -d 'Vendor=SUNW.i86pc,15,ASCII,1,0'
# dhtadm -A -s SbootURI -d 'Vendor=SUNW.i86pc,16,ASCII,1,0'


http://www2.petervg.nl/cgi-bin/docs.cgi?a=read&doc=218

Personal tools