PXE JumpStart

From Brandonhutchinson.com

Revision as of 19:40, 17 January 2008 by Hutch (Talk | contribs)
Jump to: navigation, search



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 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
  • 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'

Configure DHCP Client

  • Configure the DHCP client mrpmmds011 with MAC address 0:14:4f:45:91:e to be permanently assigned by the DHCP server.
# pntadm -A -c mrpmmds011 -f PERMANENT -i 0100144F45910E -m
-A IP address of client
-c hostname of client
-i MAC address (precede with 01, must use capital letters)
-m macro ( and subnet (

Configure JumpStart Client

  • Prepare JumpStart Server for i86pc clients/PXE boot.
# ./add_install_client -d SUNW.i86pc i86pc
If not already configured, enable PXE boot by creating
a macro named PXEClient:Arch:00000:UNDI:002001 with:
  Boot server IP (BootSrvA) :
  Boot file      (BootFile) : SUNW.i86pc
  1. dhtadm -A -m PXEClient:Arch:00000:UNDI:002001 -d ':BootFile="SUNW.i86pc":BootSrvA='
      • CRITICAL ***
  1. svcadm refresh dhcp-server
  1. ./add_install_client -d -e 0:14:4f:46:24:b6 -s mrdmmns001:/export/install/OS/Solaris_10_2006-11_ia/ -b "console=ttya" -c mrdmmns001:/export/install -p mrdmmns001:/export/install/Sysidcfg/Solaris_10/mrds/ i86pc

Important note: Without the console=ttya boot option, I saw nothing on the console.

  • Prepare the JumpStart client

dhtadm -A -m 0100144F4624B6 -d ':BootFile="0100144F4624B6":BootSrvA='

Configuring devices. |

   1.     Solaris Interactive (default)
   2.     Custom JumpStart
   3.     Solaris Interactive Text (Desktop session)
   4.     Solaris Interactive Text (Console session)
   5.     Apply driver updates
   6.     Single user shell

Enter the number of your choice. Selected: 2

If not already configured, enable PXE boot by creating a macro named 0100144F4624B6 with:

 Boot server IP (BootSrvA) :
 Boot file      (BootFile) : 0100144F4624B6

bash-3.00# ./add_install_client -d -e 0:14:4f:78:b7:14 -s mrdmmns001:/export/install/OS/Solaris_10_2006-11_ia/ -b "console=ttya" -c mrdmmns001:/export/install -p mrdmmns001:/export/install/Sysidcfg/Solaris_10/mrds/ i86pc

If not already configured, enable PXE boot by creating a macro named 0100144F78B714 with:

 Boot server IP (BootSrvA) :
 Boot file      (BootFile) : 0100144F78B714


Personal tools