Thursday, August 23, 2012

Custom JumpStart X86 clients

Assume that the setup is according to Custom JumpStart framework installation.
I prefer to work with an ISC-DHCP server.
 
IMPORTANT
Make sure to change directories to  /install/Solaris_10/Tools before beginning. 
  
Assume 192.168.0.10 as the IP address of the X86 Custom JumpStart server.
Adding support to X86 clients is done as:
  
# cd /install/Solaris_10/Tools
# export SERVER=192.168.0.10      # Better IP than name resolution
# ./add_install_client 
   -d 
   -e 08:00:27:E3:6B:84
   -s $SERVER:/install 
   -c $SERVER:/jumpstart 
   -p $SERVER:/config/X86-client  # 1 subdir per install client
   -b "boot-args=- install nowin" # Sun BluePrints 819-1692-10
   `uname -m`

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 01080027E36B84 with:

  Boot server IP (BootSrvA) : 192.168.0.10
  Boot file      (BootFile) : i86pc

# ll /tftpboot
total 526
lrwxrwxrwx 1 root  root  ... 01080027E36B84
                          -> pxegrub.I86PC.Solaris_10-1
dr-xr-xr-x 5 root  root  ... I86PC.Solaris_10-1
-rw-r--r-- 1 root  root  ... menu.lst.01080027E36B84
lrwxrwxrwx 1 root  root  ... nbp.01080027E36B84
                          -> pxegrub.I86PC.Solaris_10-1
-rwxr-xr-x 1 root  root  ... pxegrub.I86PC.Solaris_10-1
-rw-r--r-- 1 root  root  ... rm.01080027E36B84

# cat /tftpboot/menu.lst.01080027E36B84  # kernel$ ... on its line
default=0
timeout=5
min_mem64 1024
title Solaris_10 Jumpstart
    kernel$ /I86PC.Solaris_10-1/multiboot kernel/$ISADIR/unix -B
        install_config=192.168.0.10:/jumpstart,
        sysid_config=192.168.0.10:/config/X86client,
        install_media=192.168.0.10:/install,
        install_boot=192.168.0.10:/install/boot - install nowin
    module$ /I86PC.Solaris_10-1/$ISADIR/x86.miniroot

Next, follow the X86 Custom JumpStart DHCP.