Back to the main page

Adding SPARC Jumpstart client

Quick intro: 

Jumpstart is Solaris tool for OS installation over the LAN. 

The installation is faster then using DVD and you can do consistent installation for many clients (same system configuration and third party software). 
It is also unattended. 

Basically, there are two processes here: network booting and installation. 

But here, I'll just talk how to install Jumpstart SPARC client. 

I assume server is setup properly 
(I will talk about this in other document, but I may also mention some steps here, no hurt if I repeat stuff more than once). 

What I do first is (on Jumpstart server):

1.) Add MAC address and host name to /etc/ethers file

      (example: 0:14:4f:f:11:28 citrus)

2.) Add IP and host name in the /etc/hosts file 

      (example: 192.168.etc.etc citrus)

The PARP protocol will be used for mapping between IP and MAC and for booting client. 

3.) Export jumpstart directory (I assume this is done before, except this is maybe first client you are adding): 
  
Say that your jumpstart directory is /export/jumpstart/. 
Yes, you need to share this as NFS and do it as read-only with root access for anonymous user.  

Have the entry in /etc/dfs/dfstab file: 

share -F nfs -o ro,anon=0 -d "Jumpstart_Share update 5" /export/jumpstart

# shareall

# showmount -e
export list for jumpstartserver:
/export/jumpstart (everyone)
4.) Finally add SPARC client: Go to below directory and add the client, you can see example of my directory structure. Run the command without argument to see its usage.
# /export/jumpstart/distrib/sparc/5.10/Solaris_10/Tools> ./add_install_client
ERROR: Either client name or client platform group is not specified.

Usage: ./add_install_client [-i ipaddr] [-e ethernetid] [-s server:path]
                [-c server:path] [-p server:path]
                [-n [name_server]:name_service[(netmask)]]
                [-t install boot image path] client_name platform_group

DHCP clients:
       ./add_install_client -d [-s server:path] [-c server:path]
                [-p server:path] [-t install boot image path]
                [-f boot file name] platform_name platform_group

       ./add_install_client -d -e ethernetid [-s server:path]
                [-b "property=value"] (i86pc platform only)
                [-c server:path] [-p server:path]
                [-t install boot image path] [-f boot file name]
                platform_group
# ./add_install_client -i 192.168.etc.etc -e 0:14:4f:f:11:28 -s servername:/export/jumpstart/distrib/sparc/5.10 citrus sun4v
You may see some cleaning, removing, updating messages. Note: in this example I use Sun Fire T2000, so platform group is sun4v. I like doing some manual works, but you can avoid that using more options. Let me explain. As you see, I use only: -s = path to installation media on boot server. This command will add the entry to /etc/bootparams file. Then I manually add two lines:
install_config=servername:/export/jumpstart/config/citrus
sysid_config=servername:/export/jumpstart/config/citrus 
You can avoid adding lines in /etc/bootparams file if you use below options when adding a client. -c servername:/export/jumpstart/config/citrus (path to client's configuration directory) -p servername:/export/jumpstart/config/citrus (path to client's sysidcfg file) Here is example of /etc/bootparams file:
citrus \
        root=servername:/export/jumpstart/distrib/sparc/5.10u7/Solaris_10/Tools/Boot \
        install=servername:/export/jumpstart/distrib/sparc/5.10 \
        boottype=:in   \
        sysid_config=servername:/export/jumpstart/config/citrus \
        install_config=servername:/export/jumpstart/config/citrus \
        rootopts=:rsize=8192
Note: /etc/bootparams file can have more than one client. Instead of server name you can have the IP. The client uses this file for booting. 5.)The directory /tftpboot has small net kernel for booting and you should have similar files for each client that has to boot:
rm.192.168.28.202
C0A81CCA -> inetboot.SUN4U.Solaris_10-1
C0A81CCA.SUN4U -> inetboot.SUN4U.Solaris_10-1
inetboot.SUN4U.Solaris_10-1
6.)Also make sure that three necessary services are running on jumpstart server. svc:/network/rarp:default svc:/network/rpc/bootparams:default svc:/network/tftp/udp6:default And you are done on the server side! 7.)On the SPARC client side: You want to start network installation form OpenBoot {ok} promot. {0} ok boot net -v - install SC Alert: Host System has Reset - Sun Fire T200, No Keyboard Copyright 2008 Sun Microsystems, Inc. All rights reserved. OpenBoot 4.30.0, 8064 MB memory available, Serial #68096296. Ethernet address 0:14:4f:f:11:28, Host ID: 840f1128. Boot device: /pci@780/pci@0/pci@1/network@0 File and args: -v - install 1000 Mbps full duplex Link up Requesting Internet Address for 0:14:4f:f:11:28 client MAC Requesting Internet Address for 0:14:4f:f:11:28 1000 Mbps full duplex Link up Using RARP/BOOTPARAMS... Internet address is: 192.168.etc.etc Client IP hostname: client-hostname client hostname domainname: company.com domain Found 192.168.24.123 @ 0:14:4f:6a:c0:c4 found jumpstart server on ot's MAC root server: jumpstart-server (192.168.etc.etc) root directory: /export/jumpstart/distrib/sparc/5.10/Solaris_10/Tools/Boot Boot directory module /platform/sun4v/kernel/sparcv9/unix: text at [0x1000000, 0x10b373d] data at 0x1800000 module /platform/sun4v/kernel/sparcv9/genunix: text at [0x10b3740, 0x127420f] data at 0x1899a00 module /platform/SUNW,Sun-Fire-T200/kernel/misc/sparcv9/platmod: text at [0x1274210, 0x12743f7] data at 0x18efd88 module /platform/sun4v/kernel/cpu/sparcv9/SUNW,UltraSPARC-T1: text at [0x1274400, 0x1278247] data at 0x18f0580 SunOS Release 5.10 Version Generic_139555-08 64-bit Copyright 1983-2009 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms. Ethernet address = 0:14:4f:f:11:28 Using default device instance data mem = 8257536K (0x1f8000000) avail mem = 8009105408 root nexus = Sun Fire T200 etc, etc
Back to the main page