Solaris 9 Installation Guide

Chapter 12 Preparing to Install From the Network With CD Media (Tasks)

This chapter describes how to use CD media to set up your network and systems to install the Solaris software from the network. Network installations enable you to install the Solaris software from a system that has access to the Solaris 9 disc images, called an install server, to other systems on the network. You copy the contents of the CD media to the install server's hard disk. Then, you can install the Solaris software from the network by using any of the Solaris installation methods. This chapter covers the following topics:

Task Map: Preparing to Install From the Network With CD Media

Table 12–1 Task Map: Setting Up an Install Server With CD Media

Task 

Description 

For Instructions 

Create an install server.

Use the setup_install_server(1M) command to copy the Solaris 9 Software 1 of 2 CD to the install server's hard disk.

Use the add_to_install_server(1M) command to copy the Solaris 9 Software 2 of 2 CD and the Solaris 9 Languages CD to the install server's hard disk.

Use the modify_install_server(1M) command to add the Solaris Web Start user interface software to the net installation image.

(Optional) Create boot servers.

If you want to install systems from the network that are not on the same subnet as the install server, you must create a boot server on the subnet to boot the systems. If you are using Dynamic Host Configuration Protocol (DHCP), a boot server is not necessary. 

Creating a Boot Server on a Subnet With a CD Image

Add systems to be installed from the network.

Use the add_install_client command to set up each system that you want to install from the network. Each system that you want to install needs to find the install server, the boot server if required, and configuration information on the network.

Adding Systems to Be Installed From the Network With a CD Image

Creating a SPARC Install Server With CD Media

The install server contains the installation image needed to install systems from the network. You must create an install server to install the Solaris software on a system from the network. You do not always need to set up a separate boot server.

SPARC: To Create a SPARC Install Server With SPARC CD Media

This procedure creates a SPARC install server with SPARC CD media.

If you want to create an install server by using media of a platform different from the install server, for example, a SPARC system with x86 CD media, see Creating a Cross-Platform Install Server for CD Media.


Note –

This procedure assumes that the system is running the Volume Manager. If you are not using the Volume Manager to manage media, refer to System Administration Guide: Basic Administration for detailed information about managing removable media without the Volume Manager.


  1. On the system that is to become the install server, become superuser.

    The system must include a CD-ROM drive and be part of the site's network and name service. If you use a name service, the system must already be in a name service, such as NIS, NIS+, DNS, or LDAP. If you do not use a name service, you must distribute information about this system by following your site's policies.

  2. Insert the Solaris 9 Software 1 of 2 CD in the system's drive.

  3. Create a directory for the CD image.


    # mkdir -p install_dir_path
    

    install_dir_path

    Specifies the directory where the CD image is to be copied 

  4. Change to the Tools directory on the mounted disc.


    # cd /cdrom/cdrom0/s0/Solaris_9/Tools
    

    In the previous example, cdrom0 is the path to the drive that contains the Solaris operating environment CD media.

  5. Copy the image in the drive to the install server's hard disk.


    # ./setup_install_server install_dir_path
    

    install_dir_path

    Specifies the directory where the CD image is to be copied 


    Note –

    The setup_install_server command indicates whether you have enough disk space available for the Solaris 9 Software disc images. To determine available disk space, use the df -kl command.


  6. Decide if you need to make the install server available for mounting.

    • If the install server is on the same subnet as the system to be installed or you are using DHCP, you do not need to create a boot server. Proceed to Step 10.

    • If the install server is not on the same subnet as the system to be installed and you are not using DHCP, complete the following steps.

  7. Verify that the path to the install server's installation image is shared appropriately.


    # share | grep install_dir_path
    

    install_dir_path

    Specifies the path to the boot-server installation image 

    • If the path to the install server's directory is displayed and anon=0 is displayed in the options, proceed to Step 10.

    • If the path to the install server's directory is not displayed or you do not have anon=0 in the options, continue.

  8. Make the install server available to the boot server by adding this entry to the /etc/dfs/dfstab file.


    share -F nfs -o ro,anon=0 -d "install server directory" install_dir_path
    

    install_dir_path

    Specifies the path to the boot server installation image 

  9. Make sure that the install server's directory path is correctly shared.


    # ps -ef | grep nfsd
    
    • If the nfsd daemon is not running, start it.


      # /etc/init.d/nfs.server start 
      
    • If the nfsd daemon is running, share the install server.


      # shareall
      
  10. Change directories to root (/).


    # cd /
    
  11. Eject the Solaris 9 Software 1 of 2 CD.

  12. Insert the Solaris 9 Software 2 of 2 CD in the system's CD-ROM drive.

  13. Change to the Tools directory on the mounted CD.


    # cd /cdrom/cdrom0/Solaris_9/Tools
    
  14. Copy the CD in the CD-ROM drive to the install server's hard disk.


    # ./add_to_install_server install_dir_path
    

    install_dir_path

    Specifies the directory where the CD image is to be copied 

  15. Change directories to root (/).


    # cd /
    
  16. Eject the Solaris 9 Software 2 of 2 CD.

  17. Insert the Solaris 9 Languages CD in the system's CD-ROM drive.

  18. Change to the Tools directory on the mounted CD.


    # cd /cdrom/cdrom0/Tools
    
  19. Copy the CD in the CD-ROM drive to the install server's hard disk.


    # ./add_to_install_server install_dir_path
    

    install_dir_path

    Specifies the directory where the CD image is to be copied 

  20. Change directories to root (/).


    # cd /
    
  21. Decide if you want to enable users to use the Solaris Web Start installation method to boot a system and install the Solaris 9 software from a network.

    • If no, eject the Solaris 9 Languages CD and proceed to Step 25.

    • If yes, eject the Solaris 9 Languages CD and continue.

  22. Insert the Solaris 9 Installation CD into the system's CD-ROM drive.

  23. Change to the directory that contains modify_install_server on the mounted CD:


    # cd /cdrom/cdrom0/s0
    
  24. Copy the Solaris Web Start interface software to the install server.


    # ./modify_install_server -p install_dir_path installer_miniroot_path
    

    -p

    Preserves the existing image's miniroot in install_dir_path/Solaris_9/Tools/Boot.orig

    install_dir_path

    Specifies the directory where the Solaris Web Start interface is to be copied 

    installer_miniroot_path

    Specifies the directory on the CD from which the Solaris Web Start interface is to be copied 

  25. Decide if you want to patch the files that are located in the miniroot (/install_dir_path/Solaris_9/Tools/Boot) on the net install image that was created by setup_install_server. Patching a file might be necessary if a boot image has problems.

    • If no, continue.

    • If yes, use the patchadd -C command to patch the files that are located in the miniroot.


      Caution – Caution –

      Don't use the patchadd -C command unless you have read the Patch README instructions or have contacted your local Sun support office.


  26. Decide if you need to create a boot server.


Example 12–1 SPARC: Creating a SPARC Install Server With SPARC CD Media

The following example illustrates how to create an install server by copying the following CDs to the install server's /export/home/s9cdsparc directory:


# mkdir -p /export/home/s9cdsparc
# cd /cdrom/cdrom0/s0/Solaris_9/Tools
# ./setup_install_server /export/home/s9cdsparc

Add the following path to the /etc/dfs/dfstab file:


share -F nfs -o ro,anon=0 -d "install server directory" \
/export/home/s9cdsparc

Check if the nfsd daemon is running. If the nfsd daemon is not running, start it and share it.


# ps -ef | grep nfsd
# /etc/init.d/nfs.server start
# shareall 

Continue with the following steps.


# cd /
# cd /cdrom/cdrom0/Solaris_9/Tools
# ./add_to_install_server /export/home/s9cdsparc
# cd /
# cd /cdrom/cdrom0/Tools
# ./add_to_install_server /export/home/s9cdsparc
# cd /
# cd /cdrom/cdrom0/s0
# ./modify_install_server -p /export/home/s9cdsparc /cdrom/cdrom0/s0

In this example, each CD is inserted and automatically mounted before each of the commands. After each command, the CD is removed.


Creating an x86 Install Server With CD Media

The install server contains the installation image needed to install systems from the network. You must create an install server to install the Solaris software on a system from the network. You do not always need to set up a separate boot server.

x86: To Create an x86 Install Server With x86 CD Media

This procedure creates an x86 install server with x86 CD media.

If you want to create an install server by using media of a platform different from the install server, for example, an x86 system with SPARC CD media, see Creating a Cross-Platform Install Server for CD Media.


Note –

This procedure assumes that the system is running the Volume Manager. If you are not using the Volume Manager to manage media, refer to System Administration Guide: Basic Administration for detailed information about managing removable media without the Volume Manager.


  1. On the system that is to become the install server, become superuser.

    The system must include a CD-ROM drive and be part of the site's network and name service. If you use a name service, the system must already be in a name service, such as NIS, NIS+, DNS, or LDAP. If you do not use a name service, you must distribute information about this system by following your site's policies.

  2. Insert the Solaris 9 Software 1 of 2 CD in the system's drive.

  3. Create a directory for the CD image.


    # mkdir -p install_dir_path
    

    install_dir_path

    Specifies the directory where the CD image is to be copied 

  4. Change to the Tools directory on the mounted disc.


    # cd /cdrom/cdrom0/s2/Solaris_9/Tools
    

    In the previous example, cdrom0 is the path to the drive that contains the Solaris operating environment CD media.

  5. Copy the image in the drive to the install server's hard disk.


    # ./setup_install_server install_dir_path
    

    install_dir_path

    Specifies the directory where the CD image is to be copied 


    Note –

    The setup_install_server command indicates whether you have enough disk space available for the Solaris 9 Software disc images. To determine available disk space, use the df -kl command.


  6. Decide if you need to make the install server available for mounting.

    • If the install server is on the same subnet as the system to be installed or you are using DHCP, you do not need to create a boot server. Proceed to Step 10.

    • If the install server is not on the same subnet as the system to be installed and you are not using DHCP, complete the following steps.

  7. Verify that the path to the install server's installation image is shared appropriately.


    # share | grep install_dir_path
    

    install_dir_path

    Specifies the path to the boot-server installation image 

    • If the path to the install server's directory is displayed and anon=0 is displayed in the options, proceed to Step 10.

    • If the path to the install server's directory is not displayed or you do not have anon=0 in the options, continue.

  8. Make the install server available to the boot server by adding this entry to the /etc/dfs/dfstab file.


    share -F nfs -o ro,anon=0 -d "install server directory" install_dir_path
    

    install_dir_path

    Specifies the path to the boot-server installation image 

  9. Make sure that the install server's directory path is correctly shared.


    # ps -ef | grep nfsd
    
    • If the nfsd daemon is not running, start it.


      # /etc/init.d/nfs.server start 
      
    • If the nfsd daemon is running, share the install server.


      # shareall
      
  10. Change directories to root (/).


    # cd /
    
  11. Eject the Solaris 9 Software 1 of 2 CD.

  12. Insert the Solaris 9 Software 2 of 2 CD in the system's CD-ROM drive.

  13. Change to the Tools directory on the mounted CD:


    # cd /cdrom/cdrom0/Solaris_9/Tools
    
  14. Copy the CD in the CD-ROM drive to the install server's hard disk.


    # ./add_to_install_server install_dir_path
    

    install_dir_path

    Specifies the directory where the CD image is to be copied 

  15. Change directories to root (/).


    # cd /
    
  16. Eject the Solaris 9 Software 2 of 2 CD.

  17. Insert the Solaris 9 Languages CD in the system's CD-ROM drive.

  18. Change to the Tools directory on the mounted CD:


    # cd /cdrom/cdrom0/Tools
    
  19. Copy the CD in the CD-ROM drive to the install server's hard disk.


    # ./add_to_install_server install_dir_path
    

    install_dir_path

    Specifies the directory where the CD image is to be copied 

  20. Change directories to root (/).


    # cd /
    
  21. Decide if you want to enable users to use the Solaris Web Start installation method to boot a system and install the Solaris 9 software from a network.

    • If no, eject the Solaris 9 Languages CD and proceed to Step 25.

    • If yes, eject the Solaris 9 Languages CD and continue.

  22. Insert the Solaris 9 Installation CD into the system's CD-ROM drive.

  23. Change to the directory that contains modify_install_server on the mounted CD:


    # cd /cdrom/cdrom0/s2
    
  24. Copy the Solaris Web Start interface software to the install server.


    # ./modify_install_server -p install_dir_path installer_miniroot_path
    

    -p

    Preserves the existing image's miniroot in install_dir_path/Solaris_9/Tools/Boot.orig

    install_dir_path

    Specifies the directory where the Solaris Web Start interface is to be copied 

    installer_miniroot_path

    Specifies the directory on the CD from which the Solaris Web Start interface is to be copied 

  25. Decide if you want to patch the files that are located in the miniroot (/install_dir_path/Solaris_9/Tools/Boot) on the net install image that was created by setup_install_server. Patching a file might be necessary if a boot image has problems.

    • If no, continue.

    • If yes, use the patchadd -C command to patch the files that are located in the miniroot.


      Caution – Caution –

      Don't use the patchadd -C command unless you have read the Patch README instructions or have contacted your local Sun support office.


  26. Decide if you need to create a boot server.


Example 12–2 x86: Creating an x86 Install Server With x86 CD Media

The following example illustrates how to create an install server by copying the following CDs to the install server's /export/home/s9cdx86 directory:


# mkdir -p /export/home/s9cdx86
# cd /cdrom/cdrom0/s2/Solaris_9/Tools
# ./setup_install_server /export/home/s9cdx86

Add the following path to the /etc/dfs/dfstab file:


share -F nfs -o ro,anon=0 -d "install server directory" \
/export/home/s9cdx86

Check if the nfsd daemon is running. If the nfsd daemon is not running, start it and share it.


# ps -ef | grep nfsd
# /etc/init.d/nfs.server start
# shareall 

Continue with the following steps.


# cd /
# cd /cdrom/cdrom0/Solaris_9/Tools
# ./add_to_install_server /export/home/s9cdx86
# cd /
# cd /cdrom/cdrom0/Tools
# ./add_to_install_server /export/home/s9cdx86
# cd /
# cd /cdrom/cdrom0/s2
# ./modify_install_server -p /export/home/s9cdx86 /cdrom/cdrom0/s2

In this example, each CD is inserted and automatically mounted before each of the commands. After each command, the CD is removed.


Creating a Cross-Platform Install Server for CD Media

If you need to use a CD of a platform different from the install server, you cannot read the CD in the install server. You need a remote system to read the CD. For example, if you are setting up a SPARC install server and need to use x86 CD media, you need a remote x86 system to read the CDs.

To Create an x86 Install Server on a SPARC System With x86 CD Media

Use this procedure to create an x86 install server on a SPARC system with x86 CD media. You need the following:


Note –

This procedure assumes that the system is running the Volume Manager. If you are not using the Volume Manager to manage media, refer to System Administration Guide: Basic Administration for detailed information about managing removable media without the Volume Manager.


In this procedure, SPARC system is the SPARC system that is to be the install server and remote-x86-system is the remote x86 system to be used with the x86 CD media.

  1. On the remote x86 system, become superuser.

    The system must include a CD-ROM drive and be part of the site's network and name service. If you use a name service, the system must also be in the NIS, NIS+, DNS, or LDAP name service. If you do not use a name service, you must distribute information about this system by following your site's policies.

  2. On the remote x86 system, insert the Solaris 9 Software 1 of 2 x86 Platform Edition CD into the system's drive.

  3. On the remote x86 system, add the following entries to the /etc/dfs/dfstab file.


    share -F nfs -o ro,anon=0 /cdrom/cdrom0/s0
    share -F nfs -o ro,anon=0 /cdrom/cdrom0/s2
    
  4. On the remote x86 system, start the NFS daemon.


    remote-x86-system# /etc/init.d/nfs.server start
    
  5. On the remote x86 system, verify that the CD is available to other systems by using the share command.


    remote-x86-system# share
    -   /cdrom/sol_9_x86/s0 ro,anon=0 " "
    -   /cdrom/sol_9_x86/s2 ro,anon=0 " "

    In the previous sample output, sol_9_x86 refers to the Solaris 9 (x86 Platform Edition) operating environment. This text string varies for each version of the Solaris operating environment.

  6. On the SPARC system that is to be the x86 install server, become superuser.

  7. On the SPARC system, access the x86 CD by creating two directories for the appropriate mount points, one for the miniroot and one for the product.


    SPARC-system# mkdir directory_name_s0 
    

    SPARC-system# mkdir  directory_name_s2
    

    directory_name_s0

    Is the name of the directory to contain the miniroot from slice 0 

    directory_name_s2

    Is the name of the directory to contain the product from slice 2 

  8. Verify that the CD is properly exported on the remote x86 system.


    SPARC-system# showmount -e remote-x86-system
    export list for remote-x86-system:
    /cdrom/sol_9_x86/s0 (everyone)
    /cdrom/sol_9_x86/s2 (everyone)
  9. On the SPARC system, mount the remote x86 CD image.


    SPARC-system# mount remote_x86_system_name:/cdrom/sol_9_x86/s0 directory_name_s0
    

    SPARC-system# mount remote_x86_system_name:/cdrom/sol_9_x86/s2 directory_name_s2
    
  10. On the SPARC system, change to the Tools directory on the mounted disc:


    SPARC-system# cd /directory_name_s2/Solaris_9/Tools
    
  11. On the SPARC system, copy the disc in the drive to the install server's hard disk in the directory you've created by using the setup_install_server command:


    SPARC-system# ./setup_install_server -t directory_name_s0 install_dir_path
    

    -t

    Specifies the path to a boot image if you want to use a boot image other than the one in the Tools directory on the Solaris 9 Software 2 of 2 CD. 

    directory_name_s0

    Is the name of the directory that contains the miniroot from slice 0. 

    install_dir_path

    Specifies the directory where the disc image is to be copied. The directory must be empty. 


    Note –

    The setup_install_server command indicates whether you have enough disk space available for the Solaris 9 Software disc images. To determine available disk space, use the df -kl command.


  12. On the SPARC system, change to the top directory.


    SPARC-system# cd /
    
  13. On the SPARC system, unmount both directories.


    SPARC-system# unmount directory_name_s0 
    

    SPARC-system# unmount directory_name_s2
    
  14. On the x86 system, unshare both CD-ROM slices.


    remote x86  system# unshare /cdrom/sol_9_x86/s0
    

    remote x86  system# unshare /cdrom/sol_9_x86/s2
    
  15. On the x86 system, eject the Solaris 9 Software 1 of 2 x86 Platform Edition CD.

  16. Insert the Solaris 9 Software 2 of 2 x86 Platform Edition CD into the SPARC system's CD-ROM drive.

  17. On the SPARC system, change to the Tools directory on the mounted CD:


    SPARC-system# cd /cdrom/cdrom0/Solaris_9/Tools
    
  18. On the SPARC system, copy the CD to the install server's hard disk:


    SPARC-system# ./add_to_install_server install_dir_path
    

    install_dir_path

    Specifies the directory where the CD image is to be copied 

  19. Eject the Solaris 9 Software 2 of 2 x86 Platform Edition CD.

  20. On the SPARC system, insert the Solaris 9 x86 Platform Edition Languages CD into the SPARC system's CD-ROM drive and mount the CD.

  21. On the SPARC system, change to the Tools directory on the mounted CD:


    SPARC-system# cd /cdrom/cdrom0/Tools
    
  22. On the SPARC system, copy the CD to the install server's hard disk:


    SPARC-system# ./add_to_install_server install_dir_path
    

    install_dir_path

    Specifies the directory where the CD image is to be copied 

  23. Decide if you want to enable users to use the Solaris Web Start installation method to boot a system and install the Solaris 9 software from a network.

    • If no, eject the Solaris 9 x86 Platform Edition Languages CD and proceed to Step 31.

    • If yes, eject the Solaris 9 x86 Platform Edition Languages CD and continue.

  24. On the remote x86 system, insert the Solaris 9 x86 Platform Edition Installation CD into the x86 system's CD-ROM drive.

  25. On the remote x86 system, add the following entry to the /etc/dfs/dfstab file.


    share -F nfs -o ro,anon=0 /cdrom/cdrom0/s0
    share -F nfs -o ro,anon=0 /cdrom/cdrom0/s2
    
  26. On the remote x86 system, start the NFS daemon.


    remote-x86-system# /etc/init.d/nfs.server start
    
  27. On the remote x86 system, verify that the CD is available to other systems:


    remote-x86-system# share
    -   /cdrom/multi_sol_9_x86/s0 ro,anon=0 " "
    -   /cdrom/multi_sol_9_x86/s2 ro,anon=0 " "
  28. On the SPARC system, mount the slices on the CD.


    SPARC-system# mount remote_x86_system_name:/cdrom/multi_sol_9_x86/s0 directory_name_s0 
    SPARC-system# mount remote_x86_system_name:/cdrom/multi_sol_9_x86/s2  directory_name_s2
    
  29. On the SPARC system, change to the directory that contains modify_install_server on the mounted CD:


    SPARC-system# cd directory_name_s2
    
  30. Copy the Solaris Web Start interface software to the install server.


    SPARC-system# ./modify_install_server -p install_dir_path directory_name_s0
    

    -p

    Preserves the existing image's miniroot in install_dir_path/Solaris_9/Tools/Boot.orig

    install_dir_path

    Specifies the directory where the Solaris Web Start interface is to be copied 

    directory_name_s0

    Name of the directory to contain the miniroot from slice 0 

  31. Decide if you want to patch the files that are located in the miniroot (Solaris_9/Tools/Boot) on the net installation image that was created by setup_install_server.

    • If no, proceed to the next step.

    • If yes, use the patchadd -C command to patch the files that are located in the miniroot.


      Caution – Caution –

      Don't use the patchadd -C command unless you have read the Patch README instructions or have contacted your local Sun support office.


  32. Decide if you need to create a boot server.


Example 12–3 Creating an x86 Install Server on a SPARC System With x86 CD Media

The following example illustrates how to create an x86 install server on a SPARC system that is named rosemary. The following x86 CDs are copied from a remote x86 system that is named tadpole to the SPARC install server's /export/home/s9cdx86 directory.

On the remote x86 system:


tadpole (remote-x86-system)# share -F nfs -o ro,anon=0 /cdrom/cdrom0/s0
tadpole (remote-x86-system)# share -F nfs -o ro,anon=0 /cdrom/cdrom0/s2
tadpole (remote-x86-system)# /etc/init.d/nfs.server start

On the SPARC system:


rosemary (SPARC-system)# mkdir /x86S0
rosemary (SPARC-system)# mkdir /x86S2
rosemary (SPARC-system)# mount tadpole:/cdrom/sol_9_x86/s0 /x86S0
rosemary (SPARC-system)# mount tadpole:/cdrom/sol_9_x86/s0 /x86S2
rosemary (SPARC-system)# cd /x86S2/Solaris_9/Tools
rosemary (SPARC-system)# ./setup_install_server -t /x86S0 /export/home/s9cdx86
rosemary (SPARC-system)# cd /
rosemary (SPARC-system)# unmount /x86S0
rosemary (SPARC-system)# unmount /x86S2

tadpole (remote-x86-system) unshare /cdrom/cdrom0/s0
tadpole (remote-x86-system) unshare  /cdrom/cdrom0/s2

rosemary (SPARC-system)# cd /cdrom/cdrom0/Solaris_9/Tools
rosemary (SPARC-system)# ./add_to_install_server /export/home/s9cdx86
rosemary (SPARC-system)# cd /cdrom/cdrom0/Tools
rosemary (SPARC-system)# ./add_to_install_server /export/home/s9cdx86

On the remote x86 system:


tadpole (remote-x86-system)# share -F nfs -o ro,anon=0 /cdrom/cdrom0/s0
tadpole (remote-x86-system)# share -F nfs -o ro,anon=0 /cdrom/cdrom0/s2
tadpole (remote-x86-system)# /etc/init.d/nfs.server start

On the SPARC system:


rosemary (SPARC-system)# mount remote_x86_system_name:/cdrom/sol_9_x86 /x86S0
rosemary (SPARC-system)# mount remote_x86_system_name:/cdrom/sol_9_x86 /x86S2
rosemary (SPARC-system)# cd /x86S2
rosemary (SPARC-system)# ./modify_install_server -p /export/home/s9cdx86 /x86S0

In this example, each CD is inserted and automatically mounted before each of the commands. After each command, the CD is removed.


To Create a SPARC Install Server on an x86 System With SPARC CD Media

Use this procedure to create a SPARC install server on an x86 system with SPARC CD media. You need the following:


Note –

This procedure assumes that the system is running the Volume Manager. If you are not using the Volume Manager to manage media, refer to System Administration Guide: Basic Administration for detailed information about managing removable media without the Volume Manager.


In this procedure, x86-system is the x86 system that is to be the install server and remote-SPARC-system is the remote SPARC system to be used with the SPARC CD media.

  1. On the remote SPARC system, become superuser.

    The system must include a CD-ROM drive and be part of the site's network and name service. If you use a name service, the system must also be in the NIS, NIS+, DNS, or LDAP name service. If you do not use a name service, you must distribute information about this system by following your site's policies.

  2. On the remote SPARC system, insert the Solaris 9 Software 1 of 2 SPARC Platform Edition CD into the system's drive.

  3. On the remote SPARC system, add the following entries to the /etc/dfs/dfstab file.


    share -F nfs -o ro,anon=0 /cdrom/cdrom0/s0
    share -F nfs -o ro,anon=0 /cdrom/cdrom0/s1
    
  4. On the remote SPARC system, start the NFS daemon.


    remote-SPARC-system# /etc/init.d/nfs.server start
    
  5. On the remote SPARC system, verify that the CD is available to other systems by using the share command.


    remote-SPARC-system# share
    -   /cdrom/cdrom0/s0 ro,anon=0 " "
    -   /cdrom/cdrom0/s1 ro,anon=0 " "
  6. On the x86 system that is to be the SPARC install server, become superuser.

  7. On the x86 system, access the SPARC CD by creating two directories for the appropriate mount points, one for the miniroot and one for the product.


    x86-system# mkdir directory_name_s0 
    

    x86-system# mkdir  directory_name_s1
    

    directory_name_s0

    Is the name of the directory to contain the product from slice 0 

    directory_name_s1

    Is the name of the directory to contain the miniroot from slice 1 

  8. Verify that the CD is properly exported on the remote x86 system.


    x86-system# showmount -e remote-SPARC-system
    export list for remote-SPARC-system:
    /cdrom/sol_9_sparc/s0 (everyone)
    /cdrom/sol_9_sparc/s1 (everyone)
  9. On the x86 system, mount the remote SPARC CD image.


    x86-system# mount remote_SPARC_system_name:/cdrom/cdrom0/s0 directory_name_s0
    

    x86-system# mount remote_SPARC_system_name:/cdrom/cdrom0/s1 directory_name_s1
    
  10. On the x86 system, change to the Tools directory on the mounted disc:


    x86-system# cd /directory_name_s0/Solaris_9/Tools
    
  11. On the x86 system, copy the disc in the drive to the install server's hard disk in the directory you've created by using the setup_install_server command:


    x86-system# ./setup_install_server -t directory_name_s1 install_dir_path
    

    -t

    Specifies the path to a boot image if you want to use a boot image other than the one in the Tools directory on the Solaris 9 Software 2 of 2 CD. 

    directory_name_s1

    Is the name of the directory that contains the miniroot from slice 1. 

    install_dir_path

    Specifies the directory where the disc image is to be copied. The directory must be empty. 


    Note –

    The setup_install_server command indicates whether you have enough disk space available for the Solaris 9 Software disc images. To determine available disk space, use the df -kl command.


  12. On the x86 system, change to the top directory.


    x86-system# cd /
    
  13. On the x86 system, unmount both directories.


    x86-system# unmount directory_name_s0 
    

    x86-system# unmount directory_name_s1
    
  14. On the SPARC system, unshare both CD-ROM slices.


    remote-SPARC-system# unshare /cdrom/cdrom0/s0
    

    remote-SPARC-system# unshare /cdrom/cdrom0/s2
    
  15. On the SPARC system, eject the Solaris 9 Software 1 of 2 SPARC Platform Edition CD.

  16. Insert the Solaris 9 Software 2 of 2 SPARC Platform Edition CD into the x86 system's CD-ROM drive.

  17. On the x86 system, change to the Tools directory on the mounted CD:


    x86-system# cd /cdrom/cdrom0/Solaris_9/Tools
    
  18. On the x86 system, copy the CD to the install server's hard disk:


    x86-system# ./add_to_install_server install_dir_path
    

    install_dir_path

    Specifies the directory where the CD image is to be copied 

  19. Eject the Solaris 9 Software 2 of 2 SPARC Platform Edition CD.

  20. On the x86 system, insert the Solaris 9 SPARC Platform Edition Languages CD into the x86 system's CD-ROM drive and mount the CD.

  21. On the x86 system, change to the Tools directory on the mounted CD:


    x86-system# cd /cdrom/cdrom0/Tools
    
  22. On the x86 system, copy the CD to the install server's hard disk:


    x86-system# ./add_to_install_server install_dir_path
    

    install_dir_path

    Specifies the directory where the CD image is to be copied 

  23. Decide if you want to enable users to use the Solaris Web Start installation method to boot a system and install the Solaris 9 software from a network.

    • If no, eject the Solaris 9 SPARC Platform Edition Languages CD and proceed to Step 31.

    • If yes, eject the Solaris 9 SPARC Platform Edition Languages CD and continue.

  24. On the remote SPARC system, insert the Solaris 9 SPARC Platform Edition Installation CD into the SPARC system's CD-ROM drive.

  25. On the remote SPARC system, add the following entry to the /etc/dfs/dfstab file.


    share -F nfs -o ro,anon=0 /cdrom/cdrom0/s0
    share -F nfs -o ro,anon=0 /cdrom/cdrom0/s1
    
  26. On the remote SPARC system, start the NFS daemon.


    remote-SPARC-system# /etc/init.d/nfs.server start
    
  27. On the remote SPARC system, verify that the CD is available to other systems:


    remote-SPARC-system# share
    -   /cdrom/multi_sol_9_x86/s0 ro,anon=0 " "
    -   /cdrom/multi_sol_9_x86/s1 ro,anon=0 " "

    In the previous sample output, multi_sol_9_x86 refers to the Solaris 9 (x86 Platform Edition) operating environment. This text string varies for each version of the Solaris operating environment.

  28. On the x86 system, mount the slices on the CD.


    x86-system# mount remote_SPARC_system_name:/cdrom/cdrom0/s0 directory_name_s0 
    x86-system# mount remote_SPARC_system_name:/cdrom/cdrom0/s1  directory_name_s1
    
  29. On the x86 system, change to the directory that contains modify_install_server on the mounted CD:


    x86-system# cd directory_name_s0
    
  30. Copy the Solaris Web Start interface software to the install server.


    x86-system# ./modify_install_server -p install_dir_path directory_name_s1
    

    -p

    Preserves the existing image's miniroot in install_dir_path/Solaris_9/Tools/Boot.orig

    install_dir_path

    Specifies the directory where the Solaris Web Start interface is to be copied 

    directory_name_s1

    Name of the directory to contain the miniroot from slice 1 

  31. Decide if you want to patch the files that are located in the miniroot (Solaris_9/Tools/Boot) on the net install image that was created by setup_install_server.

    • If no, proceed to the next step.

    • If yes, use the patchadd -C command to patch the files that are located in the miniroot.


      Caution – Caution –

      Don't use the patchadd -C unless you have read the Patch README instructions or have contacted your local Sun support office.


  32. Decide if you need to create a boot server.


Example 12–4 Creating a SPARC Install Server on an x86 System With SPARC CD Media

The following example illustrates how to create a SPARC install server on an x86 system that is named richards. The following SPARC CDs are copied from a remote SPARC system that is named simpson to the x86 install server's /export/home/s9cdsparc directory.

On the remote SPARC system:


simpson (remote-SPARC-system)# share -F nfs -o ro,anon=0 /cdrom/cdrom0/s0
simpson (remote-SPARC-system)# share -F nfs -o ro,anon=0 /cdrom/cdrom0/s1
simpson (remote-SPARC-system)# /etc/init.d/nfs.server start

On the x86 system:


richards (x86-system)# mkdir /sparcS0
richards (x86-system)# mkdir /sparcS1
richards (x86-system)# mount simpson:/cdrom/cdrom0/s0 /sparcS0
richards (x86-system)# mount simpson:/cdrom/cdrom0/s1 /sparcS1
richards (x86-system)# cd /sparcS0/Solaris_9/Tools
richards (x86-system)# ./setup_install_server -t /sparcS0 /export/home/s9cdsparc
richards (x86-system)# cd /
richards (x86-system)# unmount /sparcS0
richards (x86-system)# unmount /sparcS1

On the remote SPARC system:


simpson (remote-SPARC-system) unshare /cdrom/cdrom0/s0
simpson (remote-SPARC-system) unshare  /cdrom/cdrom0/s1

On the x86 system:


richards (x86-system)# cd /cdrom/cdrom0/Solaris_9/Tools
richards (x86-system)# ./add_to_install_server /export/home/s9cdsparc
richards (x86-system)# cd /cdrom/cdrom0/Tools
richards (x86-system)# ./add_to_install_server /export/home/s9cdsparc

On the remote SPARC system:


simpson (remote-SPARC-system)# share -F nfs -o ro,anon=0 /cdrom/cdrom0/s0
simpson (remote-SPARC-system)# share -F nfs -o ro,anon=0 /cdrom/cdrom0/s1
simpson (remote-SPARC-system)# /etc/init.d/nfs.server start

On the x86 system:


richards (x86-system)# mount remote_SPARC_system_name:/cdrom/cdrom0 /sparcS0
richards (x86-system)# mount remote_SPARC_system_name:/cdrom/cdrom0 /sparcS1
richards (x86-system)# cd /sparcS0
richards (x86-system)# ./modify_install_server -p /export/home/s9cdsparc /sparcS1

In this example, each CD is inserted and automatically mounted before each of the commands. After each command, the CD is removed.


Creating a Boot Server on a Subnet With a CD Image

You must create an install server to install the Solaris software on a system from the network. You do not always need to set up a boot server. A boot server contains enough of the boot software to boot systems from the network, and then the install server completes the installation of the Solaris software.

To Create a Boot Server on a Subnet With a CD Image

  1. On the system you intend to make the boot server for the subnet, log in and become superuser.

    The system must include a local CD-ROM drive or have access to the remote Solaris 9 disc images, which are normally on the install server. If you use a name service, the system should be in the name service. If you do not use a name service, you must distribute information about this system by following your site's policies.

  2. Mount the Solaris 9 Software 1 of 2 CD image from the install server.


    # mount -F nfs -o ro server_name:path /mnt
    

    server_name:path

    Is the install server name and absolute path to the disc image 

  3. Create a directory for the boot image.


    #  mkdir -p boot_dir_path
    

    boot_dir_path

    Specifies the directory where the boot software is to be copied 

  4. Change to the Tools directory on the Solaris 9 Software 1 of 2 CD image.


    # cd /mnt/Solaris_9/Tools
    
  5. Copy the boot software to the boot server.


    # ./setup_install_server -b boot_dir_path
    

    -b

    Specifies to set up the system as a boot server 

    boot_dir_path

    Specifies the directory where the boot software is to be copied 


    Note –

    The setup_install_server command indicates whether you have enough disk space available for the images. To determine available disk space, use the df -kl command.


  6. Change directories to root (/).


    # cd /
    
  7. Unmount the installation image.


    # umount /mnt
    

You are now ready to set up systems to be installed from the network. See Adding Systems to Be Installed From the Network With a CD Image.


Example 12–5 Creating a Boot Server on a Subnet With CD Media

The following example illustrates how to create a boot server on a subnet. These commands copy the boot software from the Solaris 9 Software 1 of 2 SPARC Platform Edition CD image to /export/install/boot on the system's local disk.


# mount -F nfs -o ro crystal:/export/install/boot /mnt 
# mkdir -p /export/install/boot 
# cd /mnt/Solaris_9/Tools
# ./setup_install_server -b /export/install/boot
# cd /
# umount /mnt

In this example, the disc is inserted and automatically mounted before the command. After the command, the disc is removed.


Adding Systems to Be Installed From the Network With a CD Image

After you create an install server and, if necessary, a boot server, you must set up each system that you want to install from the network. Each system that you want to install needs to find the following:

Use the following add_install_client procedure for setting up install servers and clients. Also, see the example procedures for the following:

For more options to use with this command, see the man page, add_install_client(1M).

To Add Systems to Be Installed From the Network With add_install_client From a Server

If you have a boot server, make sure you have shared the install server installation image. See the procedure “To Create an Install Server,” Step 6.

  1. On the install server or boot server, become superuser.

  2. If you use the NIS, NIS+, DNS, or LDAP name service, verify that the following information about the system to be installed has been added to the name service:

    • Host name

    • IP address

    • Ethernet address

    For more information on name services, see System Administration Guide: Naming and Directory Services (DNS, NIS, and LDAP).

  3. Change to the Tools directory on the Solaris 9 CD image on the install server:


    # cd /install_dir_path/Solaris_9/Tools
    

    install_dir_path

    Specifies the path to the Tools directory

  4. Set up the client system to be installed from the network.


    # ./add_install_client [[-d]] [[-s install_server:install_dir_path]] \
    [[-c jumpstart_server:jumpstart_dir_path]]   [[-p server:path]] \
      [[-t boot_image_path]] client_name platform_group 
    

    -d

    Specifies that the client is to use DHCP to obtain the network install parameters. 

    For x86 clients, use this option to boot the systems from the network by using PXE network boot. 

    -s install_server:install_dir_path

    Specifies the name and path to the install server.  

    • install_server is the host name of the install server

    • install_dir_path is the absolute path to the Solaris 9 CD image

    -c jumpstart_server:jumpstart_dir_path

    Specifies a JumpStart directory for custom JumpStart installations. jumpstart_server is the host name of the server on which the JumpStart directory is located. jumpstart_dir_path is the absolute path to the JumpStart directory.

    -p sysid_server:path

    Specifies the path to the sysidcfg file for preconfiguring system information. sysid_server is either a valid host name or an IP address for the server that contains the file. path is the absolute path to the directory containing the sysidcfg file.

    -t boot_image_path

    Specifies the path to an alternate boot image if you want to use a boot image other than the one in the Tools directory on the Solaris 9 net installation image, CD, or DVD.  

    client_name

    Is the name of the system to be installed from the network. This name is not the host name of the install server.

    platform_group

    Is the platform group of the system to be installed. A detailed list of platform groups appears in Chapter 39, Platform Names and Groups (Reference).


Example 12–6 SPARC: Adding a SPARC Install Client on a SPARC Install Server When Using DHCP (CDs)

The following example illustrates how to add an install client when you are using DHCP to set installation parameters on the network. The install client is named basil, which is an UltraTM 5 system. The file system /export/home/s9cdsparc/Solaris_9/Tools contains the add_install_client command.

For more information on how to use DHCP to set installation parameters for network installations, see “Supporting Solaris Network Installation with the DHCP Service (Task Map)” in System Administration Guide: IP Services.


sparc_install_server# cd /export/home/s9cdsparc/Solaris_9/Tools
sparc_install_server# ./add_install_client -d basil sun4u


Example 12–7 Adding an Install Client That Is on the Same Subnet as Its Server (CDs)

The following example illustrates how to add an install client that is on the same subnet as the install server. The install client is named basil, which is an UltraTM 5 system. The file system /export/home/s9cdsparc/Solaris_9/Tools contains the add_install_client command.


install_server# cd /export/home/s9cdsparc/Solaris_9/Tools
install_server# ./add_install_client basil sun4u


Example 12–8 Adding an Install Client to a Boot Server (CDs)

The following example illustrates how to add an install client to a boot server. The install client is named rose, which is an UltraTM 5 system. Run the command on the boot server. The -s option is used to specify an install server that is named rosemary, which contains a Solaris 9 CD image in /export/home/s9cdsparc.


boot_server# cd /export/home/s9cdsparc/Solaris_9/Tools
boot_server# ./add_install_client -s rosemary:/export/home/s9cdsparc rose sun4u


Example 12–9 x86: Adding an x86 Install Client on an x86 Install Server When Using DHCP (CDs)

The following example illustrates how to add an x86 install client to an install server when you are using DHCP to set installation parameters on the network. The -d option is used to specify that clients are to use the DHCP protocol for configuration. If you plan to use PXE network boot, you must use the DHCP protocol. The DHCP class name SUNW.i86pc indicates that this command applies to all Solaris x86 network boot clients, not just a single client. The -s option is used to specify that the clients are to be installed from the install server that is named rosemary. This server contains a Solaris 9 Software 1 of 2 x86 Platform Edition CD image in /export/home/s9cdx86.

For more information on how to use DHCP to set installation parameters for network installations, see “Supporting Solaris Network Installation with the DHCP Service (Task Map)” in System Administration Guide: IP Services.


install server# cd /export/boot/Solaris_9/Tools
install server# ./add_install_client -d -s rosemary:/export/home/s9cdx86 SUNW.\ 
i86pc i86pc