Thursday, August 23, 2012

Custom JumpStart SPARC clients

Assume that the setup is according to Custom JumpStart framework installation.
Adapt the paths and other minor items to SPARC instead of what was shown for X86.
As always 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.12 as the IP address of the SPARC Custom JumpStart server.
Adding support, for example, to a group of SPARC clients is done as:
  
# cd /install/Solaris_10/Tools
# export SERVER=js-01.company.com  # consider IP to avoid name resolution issues 
# ./add_install_client 
   -d
   -s $SERVER:/install
   -c $SERVER:/jumpstart
   -p $SERVER:/config
   `uname -i`
   `uname -m`

making /tftpboot

copying boot file to
  /tftpboot/inetboot.SUN4U.Solaris_10-1...

To enable SUNW.Sun-Fire-V890 in the DHCP server, ensure that
the following Sun vendor-specific options are defined
(SinstNM, SinstIP4, SinstPTH, SrootNM, SrootIP4,
SrootPTH, and optionally SbootURI, SjumpCF and SsysidCF),
and add a macro to the server named SUNW.Sun-Fire-V890,
containing the following option values:
  
 Install server      (SinstNM)  : js-01.company.com
 Install server IP   (SinstIP4) : 192.168.0.12
 Install server path (SinstPTH) : /install
 Root server name    (SrootNM)  : js-01
 Root server IP      (SrootIP4) : 192.168.0.12
 Root server path    (SrootPTH) : /install/Solaris_10/Tools/Boot
 Profile location    (SjumpsCF) : js-01.company.com:/jumpstart
 sysidcfg location   (SsysidCF) : js-01.company.com:/config

# ll /tftpboot
total 524
-rwxr-xr-x 1 root root ... inetboot.SUN4U.Solaris_10-1
-rw-r--r-- 1 root root ... rm.SUNW.SPARC-Enterprise
-rw-r--r-- 1 root root ... rm.SUNW.Sun-Fire-V890
lrwxrwxrwx 1 root root ... SUNW.SPARC-Enterprise
                           -> inetboot.SUN4U.Solaris_10-1
lrwxrwxrwx 1 root root ... SUNW.Sun-Fire-V890
                           -> inetboot.SUN4U.Solaris_10-1
lrwxrwxrwx 1 root root ... tftpboot
                           -> .
  
Next, follow the SPARC Custom JumpStart DHCP.