by Mary Ding
This article describes how to set up a JumpStart install server on an Oracle Solaris 11 Express system.
If you are familiar with using JumpStart to install the Oracle Solaris 10 operating system on networked SPARC and x86 platforms, then you probably know that JumpStart can be used to install only the Oracle Solaris 10 OS, not the Oracle Solaris 11 Express OS. However, the JumpStart install server can be an Oracle Solaris 11 Express system.
Your Oracle Solaris 11 Express server can do two different jobs:
The following steps describe how to create an Oracle Solaris 11 Express JumpStart install server to install the Oracle Solaris 10 OS on client systems.
system/boot/network
package from the solaris
publisher.
$ pkg publisher
PUBLISHER TYPE STATUS URI
solaris (preferred) origin online http://pkg.oracle.com
/solaris/release/
# pkg install pkg:/system/boot/network
Packages to install: 1
Create boot environment: No
Services to restart: 1
DOWNLOAD PKGS FILES XFER (MB)
Completed 1/1 5/5 0.0/0.0
PHASE ACTIONS
Install Phase 25/25
PHASE ITEMS
Package State Update Phase 1/1
Image State Update Phase 2/2
This image is the source of your install image and JumpStart tools. Recall that JumpStart can be used to install only the Oracle Solaris 10 OS, not the Oracle Solaris 11 Express OS.
setup_install_server
(1M) command to set up a JumpStart install server.
The following example uses the Oracle Solaris 10 9/10 DVD image for SPARC.
# /media/SOL_10_0910_SPARC/Solaris_10/Tools/setup_install_server
/export/s10u9_sparc
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 netboot hierarchy...
Install Server setup complete
jumpstart_sample
from the DVD image to the JumpStart profile location.
# cd /media/SOL_10_0910_SPARC/Solaris_10/Misc/jumpstart_sample
# mkdir -p /export/profiles/s10profile
# cp -pr * /export/profiles/s10profile
rm_install_client
Script Issue.check
Script Issue.check
(1M) command with the -p <em>s10-image</em>
option to validate your JumpStart profile.
In the following example, many lines of output are omitted for brevity. Note that the -p
option does not work with all Oracle Solaris 10 update releases. Make sure you are using Oracle Solaris 10 Update 7 or later. (Reference CR 6728067.)
# cd /export/profile/s10profile
# ./check -p /export/s10u9_sparc
45 blocks
Validating rules...
Validating profile host_class...
Validating profile zfsrootsimple...
Validating profile net924_sun4c...
Validating profile upgrade...
Validating profile x86-class...
Validating profile any_machine...
The custom JumpStart configuration is ok.
udp6
is available and online.
$ svcs -a | grep "network/tftp/udp6"
If no output appears for this command, udp6
is not available. Perform the workaround described in tftp/udp6
Service Issue.
add_install_client
(1M) to install the client.
# /export/s10u9_sparc/Solaris_10/Tools/add_install_client -e 8:0:20:fd:f2:18 \
-c line2-x4100:/export/profiles/s10profile \
-p line2-x4100:/export/profiles/s10profile line2-t1 sun4u
Adding Ethernet number for line2-t1.sfbay.sun.com to /etc/ethers
making /tftpboot
enabling network/rarp service
enabling network/rpc/bootparams service
updating /etc/bootparams
copying boot file to /tftpboot/inetboot.SUN4U.Solaris_10-1
rm_install_client
Script Issue
CR 6646677: The rm_install_client script does not work with Solaris
10 dig based nslookup.
To work around this issue, make the following changes in the rm_install_client
script in your Oracle Solaris 10 net image. For example, if you have set up an Oracle Solaris 10 net image at /export/s10u9/dvds/latest
, then make the following changes in the rm_install_client
script at /export/s10u9/dvds/latest/Solaris_10/Tools/rm_install_client
:
Change line 168 from this:
ANS=`nslookup ${K} 2>&1`
to this:
ANS=`nslookup ${K} | /bin/sed '/^;;/d' 2>&1`
Change line 273 from this:
ANS=`echo $ANS | sed -e 's/#.*$//'`
to this:
ANS=`echo $ANS | sed -e 's/ #.*$//'`
CR 6838095: Oracle Solaris 11 Express JumpStart server doesn't run the
check script correctly.
To work around this issue, change the check
script in the JumpStart profile directory /export/profile/s10profile
to use /usr/has/bin/sh
. Replace the first line of the check
script with the following line:
#!/usr/has/bin/sh
tftp/udp6
Service Issue
CR 6953599: /var/svc/manifest/network/tftp-udp6.xml should be delivered
as part of service/network/tftp.
Make sure tftp/udp6
is available and online.
$ svcs -a | grep "network/tftp/udp6"
If no output appears for this command, tftp/udp6
is not available. To work around this issue, perform the following steps:
/etc/inetd.conf
file:
tftp dgram udp6 wait root /usr/sbin/in.tftpd in.tftpd -s /tftpboot
inetconv -i
to convert /etc/inetd.conf
into XML.
# inetconv -i /etc/inet/inetd.conf
tftp -> /var/svc/manifest/network/tftp-udp6.xml
Importing tftp-udp6.xml ...Done
$ svcs -a | grep udp6
online 19:35:08 svc:/network/tftp/udp6:default
This article described how to set up a JumpStart install server on an Oracle Solaris 11 Express system. The Oracle Solaris 11 Express system can then be used to serve Oracle Solaris 10 OS client installations using JumpStart.