Building a Jumpstart Server

From Peter Pap's Technowiki
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


NOTE: You may need to enable the NFS server daemon. If so, follow these instructions [1].

8. Create a sysidcfg file in /jumpstart

  cd /jumpstart
  vi sysidcfg
     name_service=DNS{ name_server=IP_OF_DNS_SERVER}
     network_interface=PRIMARY{default_route=192.168.X.X netmask= protocol_ipv6=no}

The root_password can be copied from the shadow file of another server

9. Create a finish script in /jumpstart to do all the annoying stuff you'd normally do manually. To find out how to write one, read this link [asd].