Building a Jumpstart Server

From Peter Pap's Technowiki
Revision as of 01:34, 20 September 2010 by Ppapa (talk | contribs)

Jump to: navigation, search
Building a Jumpstart Server

Since Solaris 8, it has been possible to build servers over the network using Jumpstart. This procedure below describes the process for building a Solaris 10 Jumpstart install system, but can be done for Solaris 8, 9 and 10 on both sparc an x86 platforms.

1. Mount the Solaris CD 1 or DVD in the jumpstart server

2. On the jumpstart server

  mkdir /export/
  mkdir /export/install
  mkdir /export/install/10
  mkdir /export/install/10/sparc_REV

Where REV is some Solaris revision number.

  mkdir -m 755 /jumpstart

3. Edit the /etc/dfs/dfstab file by adding the following entry.

  share -F nfs -o ro,anon=0 /jumpstart

4. Copy sample jumpstart directory to local server.

  cp -r /cdrom/PATH_TO_INSTALLER/Solaris_10/Misc/jumpstart_sample/jumpstart_sample/* /jumpstart
  chown -R root /jumpstart

5. Copy over CD or DVD image

  mkdir /export/intall
  mkdir /export/intall/sparc_10_REV
  cd /cdrom/PATH_TO_INSTALLER/Solaris_10/Tools
  ./setup_install_server /export/install/10/sparc_REV
  
  * if you're doing this from CD, you will then need to mount the next disk and do:
  
  cd /cdrom/PATH_TO_INSTALLER/Solaris_10/Tools
  ./add_to_install_server /export/install/10/sparc_REV

6. Edit the /etc/dfs/dfstab file by adding the following entry:

  share -F nfs -o ro,anon=0 /export/install/10/sparc_REV

7. Start the NFS services

  shareall

8. Create a sysidcfg file in /jumpstart

  cd /jumpstart
  vi sysidcfg
  
     system_locale=en_AU.ISO8859-1
     timezone=Australia/Victoria
     terminal=vt100
     name_service=DNS{domain_name=verisign.com.au name_server=139.130.4.4 search=verisign.com.au}
     network_interface=PRIMARY{default_route=192.168.11.1 netmask=255.255.255.0 protocol_ipv6=no}
     security_policy=NONE
     timeserver=192.168.6.4
     root_password=b3guwYQnKuMFk
  
  NOTE:  The above config is used for the Technical network only, i.e. 192.168.11.*

9. Create a finish script in /jumpstart to do all the annoying stuff you'd normally do manually. Click on the links below to see the contents of the current finish scripts.

  * solaris8-finish.sh
  * solaris10-finish.sh