Installing Oracle Solaris 10 Using JumpStart on an Oracle Solaris 11 Express Server
by Mary Ding
Introduction
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:
- Serve Oracle Solaris 11 Express OS installations using Automated Installer. For more information, see Oracle Solaris 11 Express Automated Installer Guide.
- Serve Oracle Solaris 10 OS installations using JumpStart. This article describes how to set up a JumpStart install server on an Oracle Solaris 11 Express system. For more information about JumpStart, see Oracle Solaris 10 9/10 Installation Guide: Custom JumpStart and Advanced Installations.
Setting Up an Oracle Solaris 11 Express System as an Oracle Solaris 10 JumpStart Server
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.
- Install the Oracle Solaris 11 Express 2010.11 OS on the machine that will be the JumpStart install server.
- Set up a static IP address on the Oracle Solaris 11 Express machine that will be the JumpStart install server.
- Install the
system/boot/networkpackage from thesolarispublisher.$ 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 - Download the latest Oracle Solaris 10 DVD image.
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.
- Use the Oracle Solaris 10 DVD image and the
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 - Copy the
jumpstart_samplefrom 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 - Perform the workaround described in
rm_install_clientScript Issue. - Perform the workaround described in
checkScript Issue. - Run the
check(1M) command with the-p s10-imageoption to validate your JumpStart profile.In the following example, many lines of output are omitted for brevity. Note that the
-poption 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. - Make sure that
udp6is available and online.$ svcs -a | grep "network/tftp/udp6"If no output appears for this command,
udp6is not available. Perform the workaround described intftp/udp6Service Issue. - Run
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
Workarounds for Known Issues
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:
- Append the following line as the last line in the
/etc/inetd.conffile:tftp dgram udp6 wait root /usr/sbin/in.tftpd in.tftpd -s /tftpboot - Run
inetconv -ito convert/etc/inetd.confinto 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
Conclusion
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.