Introduction


This mini-howto describes how to set up a Jumpstart server under Solaris 10 x86 and how to configure it for a single remote install client system.

Setup the Install Server


Become root, insert and mount the Solaris product cdrom. In this example, I am using Solaris 10 for x86.

bash-3.00# volcheck

bash-3.00# mkdir /dvdx86

bash-3.00# cd /cdrom/sol_10_1106_x86/Solaris_10/Tools

bash-3.00# ./setup_install_server /dvdx86 
Verifying target directory...
Calculating the required disk space for the Solaris_10 product
Calculating space required for the installation boot image
Copying the CD image to disk...
Copying Install Boot Image hierarchy...
Copying /boot x86 netboot hierarchy...
Install Server setup complete

bash-3.00# du -sk /dvdx86
3083278 /dvdx86

bash-3.00# ls -l /dvdx86/Solaris_10/
total 102
dr-xr-xr-x   2 root     root         512 Nov 15 05:19 Docs
dr-xr-xr-x   3 root     root         512 Nov 15 06:09 ExtraValue
dr-xr-xr-x   5 root     root         512 Nov 15 06:08 Misc
dr-xr-xr-x   2 root     root         512 Nov 15 05:19 Patches
dr-xr-xr-x 1714 root     root       38912 Nov 15 06:09 Product
dr-xr-xr-x   4 root     root         512 May 13 11:40 Tools
dr-xr-xr-x   2 root     root        8192 Nov 15 06:22 UpgradePatches


bash-3.00# echo "share -F nfs -o ro,anon=0 -d \"install server directory\" /dvdx86" >> /etc/dfs/dfstab

bash-3.00# shareall

bash-3.00# showmount -e
export list for tsuki-sun:
/dvdx86    (everyone)

Setup the Configuration Server


bash-3.00# mkdir -p 755 /jumpstart

bash-3.00# ls -l / | grep jump
drwxr-xr-x   2 root     root         512 May 13 10:15 jumpstart

bash-3.00# cp -r /cdrom/cdrom0/Solaris_10/Misc/jumpstart_sample/* /jumpstart

bash-3.00# ls -l /jumpstart/
total 146
-r--r--r--   1 root     root         182 May 13 10:28 any_machine
-r-xr-xr-x   1 root     root       59701 May 13 10:28 check
-r--r--r--   1 root     root         243 May 13 10:28 host_class
-r--r--r--   1 root     root         227 May 13 10:28 net924_sun4c
-r--r--r--   1 root     root        4738 May 13 10:28 rules
-r-xr-xr-x   1 root     root        1351 May 13 10:28 set_nfs4_domain
-r--r--r--   1 root     root          24 May 13 10:28 upgrade
-r--r--r--   1 root     root         685 May 13 10:28 x86-begin
dr-xr-xr-x   2 root     root         512 May 13 10:28 x86-begin.conf
-r--r--r--   1 root     root         267 May 13 10:28 x86-class

bash-3.00# echo "share -F nfs -o ro,anon=0 -d \"config server directory\" /jumpstart" >> /etc/dfs/dfstab

bash-3.00# shareall

bash-3.00# showmount -e
export list for tsuki-sun:
/dvdx86    (everyone)
/jumpstart (everyone)

Collect pre-install information for the client


This is the information about the machine to be installed with Solaris.

Hostname:s10-jsinst1
IP Address:192.168.112.110
MAC Address:00:0c:29:79:0c:b4

Configure a host-specific Profile on the Configuration Server


bash-3.00# echo "hostname s10-jsinst1   x86-begin   s10-jsinst1-class   -" >> /jumpstart/rules

bash-3.00# vi /jumpstart/s10-jsinst1-class
# My test profile for an x86 machine. Installation will
# provide explicit partitioning on a standalone system
# for a single root fs with the end-user cluster + man.
#
#       "@(#)s10-jsinst-class 1.0 07/05/13"
#
install_type    initial_install
system_type     standalone
partitioning    explicit
filesys         rootdisk.s0 free /
filesys         rootdisk.s1 512  swap
cluster         SUNWCuser
package         SUNWman          add

bash-3.00# /jumpstart/check 
Validating rules...
Validating profile x86-class...
Validating profile s10-jsinst1-class...
Validating profile any_machine...
The custom JumpStart configuration is ok.

bash-3.00# echo "192.168.112.110   s10-jsinst1" >> /etc/hosts

bash-3.00# echo "00:0c:29:79:0c:b4 s10-jsinst1" >> /etc/ethers

bash-3.00# cd /dvdx86/Solaris_10/Tools/

bash-3.00# ./add_install_client -d \
-e 00:0c:29:79:0c:b4 \
-b bootpath="/pci@0,0/pci-ide@7,1/ide@1" i86pc \
-t /dvdx86/Solaris_10/Tools/Boot \
-c 192.168.112.1:/jumpstart \
-p 192.168.112.1:/jumpstart/s10-jsinst1 \
-s 192.168.112.1:/dvdx86 \
s10-jsinst1 i386

bash-3.00# ./add_install_client -d \
-s 192.168.112.1:/dvdx86 \
-c 192.168.112.1:/jumpstart \
-p 192.168.112.1:/jumpstart/s10-jsinst1 \
-s 192.168.112.1:/dvdx86 \
SUNW.i86pc i86pc
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 PXEClient:Arch:00000:UNDI:002001 with:

bash-3.00# dhtadm -A -m PXEClient:Arch:00000:UNDI:002001 -d ':BootFile="SUNW.i86pc":BootSrvA=192.168.112.1:'

Topics: