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:

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.

  1. Install the Oracle Solaris 11 Express 2010.11 OS on the machine that will be the JumpStart install server.
  2. Set up a static IP address on the Oracle Solaris 11 Express machine that will be the JumpStart install server.
  3. 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
  4. 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.

  5. 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
  6. 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
  7. Perform the workaround described in rm_install_client Script Issue.
  8. Perform the workaround described in check Script Issue.
  9. Run the 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.
  10. 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.

  11. 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/ #.*$//'`

check Script Issue

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:

  1. 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

  2. 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

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.

Oracle Chatbot
Disconnected