Solaris 10 5/09 Installation Guide: Network-Based Installations

ProcedureSPARC: To Create an Install Server With SPARC or x86 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: Devices and File Systems.


  1. On the system that is to become the install server, become superuser or assume an equivalent role.

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

  2. Insert the Solaris Software - 1 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/Solaris_10/Tools
    
  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 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 7.

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

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


        # share | grep install_dir_path
        
        install_dir_path

        Specifies the path to the installation image where the CD image was copied

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

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

      2. Make the install server available to the boot server.

        Using the share command, add this entry to the /etc/dfs/dfstab file.


        share -F nfs -o ro,anon=0 -d "install server directory" install_dir_path
        
      3. Verify that the nfsd daemon is running.

        • If the install server is running the current Solaris release, or compatible version, type the following command.


          # svcs -l svc:/network/nfs/server:default
          

          If the nfsd daemon is online, continue to Step d. If the nfsd daemon is not online, start it.


          # svcadm enable svc:/network/nfs/server
          
        • If the install server is running the Solaris 9 OS, or compatible version, type the following command.


          # ps -ef | grep nfsd
          

          If the nfsd daemon is running, continue to Step d. If the nfsd daemon is not running, start it.


          # /etc/init.d/nfs.server start
          
      4. Share the install server.


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


    # cd /
    
  8. Eject the Solaris Software - 1 CD.

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

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


    # cd /cdrom/cdrom0/Solaris_10/Tools
    
  11. 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

  12. Change directories to root (/).


    # cd /
    
  13. Eject the Solaris Software - 2 CD.

  14. Repeat Step 9 through Step 13 for each Solaris Software CD that you want to install.

  15. Insert the first Solaris Languages CD in the system's CD-ROM drive.

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


    # cd /cdrom/cdrom0/Solaris_10/Tools
    
  17. 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

  18. Eject theCD.

  19. Repeat Step 15 through Step 18 for the second Solaris Languages CD.

  20. Change directories to root (/).


    # cd /
    
  21. (Optional) Patch the files that are located in the miniroot on the net install image that was created by setup_install_server.

    Patching a file might be necessary if a boot image has problems. For step-by-step procedures, see Chapter 7, Patching the Miniroot Image (Tasks).

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


Example 6–1 x86: Creating an Install Server With CD Media

The following example illustrates how to create an install server by copying the following CDs to the install server's /export/home/cdimage directory. This example assumes that the install server is running the current Solaris release.

Insert the Solaris Software - 1 CD in the system's CD-ROM drive.


# mkdir -p /export/home/cdimage
# cd /cdrom/cdrom0/Solaris_10/Tools
# ./setup_install_server /export/home/cdimage

# cd /

Eject the Solaris Software - 1 CD. Insert the Solaris Software - 2 CD in the CD-ROM drive.


# cd /cdrom/cdrom0/Solaris_10/Tools
# ./add_to_install_server /export/home/cdimage
# cd /

Repeat the previous commands for each Solaris Software CD that you want to install.

Insert the first Solaris Languages CD in the CD-ROM drive.


# cd /cdrom/cdrom0/Solaris_10/Tools
# ./add_to_install_server /export/home/cdimage

Eject the CD.

Repeat the previous commands for each Solaris Languages CD.


Continuing the Installation

After you set up the install server, you must add the client as an installation client. For information about how to add client systems to install over the network, see Adding Systems to Be Installed From the Network With a CD Image.

If you are not using DHCP, and your client system is on a different subnet than your install server, you must create a boot server. For more information, see Creating a Boot Server on a Subnet With a CD Image.

See Also

For additional information about the setup_install_server and the add_to_install_server commands, see install_scripts(1M).