Articles
Server and Storage Administration
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:
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.
Note: This information was originally published in May 2010 on wikis.sun.com.
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.
For information about how to set a static IP address, see the instructions in How to Configure an IP Interface in System Administration Guide: Network Interfaces and Network Virtualization and the ipadm(1M) man page.
Install the 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
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_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
Perform the workaround described in rm_install_client Script Issue.
Perform the workaround described in check Script Issue.
Run the check(1M) command with the -p s10-image 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.
Make sure that 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.
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
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
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.conf file:
tftp dgram udp6 wait root /usr/sbin/in.tftpd in.tftpd -s /tftpboot
Run 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.