Solaris 8 Advanced Installation Guide

Chapter 9 Preparing to Install Solaris Software Over the Network

The typical way to install Solaris software is to use a system's CD-ROM drive. However, if your systems are connected through a network, you can install Solaris software on systems over the network instead.

Network installations enable you to install the Solaris software from a system that has access to the Solaris 8 CD images, called an install server, to other systems on the network. You can copy the contents of the Solaris 8 CDs to the install server's hard disk.

This chapter covers the following topics:


Note -

The name of this product is Solaris 8, but code and path or package path names might appear as Solaris_2.8 or SunOS_5.8. Always follow the code or path as it is written.


Task Map: Preparing to Install Solaris Software Over the Network

Table 9-1 Task Map: Preparing to Install Solaris Over the Network
 

Task 

 

Description 

 

For instructions, go to 

 

Create an install server 

 

You can create an install server by copying the CD labeled Solaris 8 Software 1 of 2 SPARC Platform Edition or Solaris 8 Software 1 of 2 Intel Platform Edition to the server's hard disk (using the command setup_install_server(1M) command), and then copying the CDs labeled Solaris 8 Software 2 of 2 SPARC Platform Edition or Solaris 8 Software 2 of 2 Intel Platform Edition and Solaris 8 Languages SPARC Platform Edition or Solaris 8 Languages Intel Platform Edition to the server's hard disk (using the add_to_install_server(1M) command).

You can also add the Solaris Web Start user interface software to the net install image if you want by using the modify_install_server(1M) command.

 

"To Create an Install Server"
        
 

Create boot servers 

 

If you want to install systems over 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. Use the setup_install_server(1M) command with the -b option and the add_to_install_server(1M) and modify_install_server(1M) commands to create a boot server.

 "To Create a Boot Server on a Subnet"
        
 

Set up systems to be installed over the network 

 

You can use the command add_install_client(1M) on the command line to add network installation information about a system to an install or boot server's /etc files, so the system can install over the network.

 "To Set Up Systems to Be Installed Over the Network With add_install_client"
       

Servers Required for Network Installation

Systems that install Solaris software over the network require:

Figure 9-1 illustrates the servers required for network installation.

Figure 9-1 Network Installation Servers

Graphic

Network Installation Commands

Table 9-2 lists the commands you need to use to set up network installations.

Table 9-2 Network Installation Commands

Command 

Platform 

Description 

add_install_client

All 

A command that adds network installation information about a system to an install or boot server's /etc files so the system can install over the network.

setup_install_server

All 

A script that copies the Solaris 8 CDs to an install server's local disk or copies the boot software to a boot server. The setup_install_server(1M) man page contains more information.

add_to_install_server

All 

A script that copies additional packages within a product tree on the Solaris 8 Software and Solaris 8 Languages CDs to the local disk on an existing install server. The add_to_install_server(1M) man page contains more information.

modify_install_server

All 

A script that adds the Solaris Web Start user interface software to the Solaris 8 Software and Solaris 8 Languages CD images on an existing install server, thus enabling users to use Solaris Web Start to boot a system and install the Solaris 8 software over a network. The modify_install_server(1M) man page contains more information.

mount

All 

A command that shows mounted file systems, including the file system on the Solaris 8 Software and Solaris 8 Languages CDs. The mount(1M) man page contains more information.

uname -i

All 

A command for determining a system's platform name (for example, SUNW,SPARCstation-5 or i86pc). This information is sometimes required during installation. The uname(1) man page contains more information.

patchadd -C net_install_image

All 

A command to add patches to the files located in the miniroot (that is, Solaris_8/Tools/Boot) on an image of an installation CD image created by setup_install_server. This facility enables you to patch Solaris installation commands and other miniroot-specific commands. net_install_image is the absolute path name of the net install image. The patchadd(1M) man page contains more information.

reset

SPARC 

A command for resetting the terminal settings and display. It is sometimes useful to use reset before booting. Or, if you boot and see a series of error messages about I/O interrupts, press the Stop and A keys at the same time, and then type reset at the ok or > PROM prompt. The reset(1F) man page contains more information.

banner

SPARC 

A command that displays system information, such as model name, Ethernet address, and memory installed. You can issue this command only at the ok or > PROM prompt. The banner(1) man page contains more information.

Creating an Install Server and a Boot Server

You must create an install server, and possibly a boot server, to install the Solaris software on a system over the network. This section describes how to:

To Create an Install Server

  1. On the system that is going to be the install server, log in and become superuser.

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


    Note -

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


  2. Insert the CD labeled Solaris 8 Software 1 of 2 SPARC Platform Edition or Solaris 8 Software 1 of 2 Intel Platform Edition into the system's CD-ROM drive.

  3. If necessary, mount the CD.

    Volume Manager automatically mounts the CD.

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


    # cd /cdrom/sol_8_sparc#2/s0/Solaris_8/Tools
    

    # cd /cdrom/sol_8_ia#1/s2/Solaris_8/Tools
    
  5. Copy the CD in the CD-ROM drive to the install server's hard disk by using the setup_install_server command:


    # ./setup_install_server install_dir_path
    

    where install_dir_path specifies the directory where the CD image is to be copied. The directory must be empty.


    Note -

    The setup_install_server command indicates whether or not there is enough disk space available for the Solaris 8 Software CD images. To determine available disk space, use the df -kl command.


  6. Eject the Solaris 8 Software 1 of 2 SPARC Platform Edition or Solaris 8 Software 1 of 2 Intel Platform Edition CD.

  7. Insert the CD labeled Solaris 8 Software 2 of 2 SPARC Platform Edition or Solaris 8 Software 2 of 2 Intel Platform Edition into the system's CD-ROM drive.

  8. If necessary, mount the CD.

    Volume Manager automatically mounts the CD.

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


    # cd /cdrom/sol_8_sparc_2#1/Solaris_8/Tools
    

    # cd /cdrom/sol_8_ia_2#1/Solaris_8/Tools
    
  10. Copy the CD in the CD-ROM drive to the install server's hard disk by using the add_to_install_server command:


    # ./add_to_install_server install_dir_path
    

    where install_dir_path specifies the directory where the CD image is to be copied.

  11. Eject the Solaris 8 Software 2 of 2 SPARC Platform Edition or Solaris 8 Software 2 of 2 Intel Platform Edition CD.

  12. Insert the CD labeled Solaris 8 Languages SPARC Platform Edition or Solaris 8 Languages Intel Platform Edition into the system's CD-ROM drive.

  13. If necessary, mount the CD.

    Volume Manager automatically mounts the CD.

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


    # cd /cdrom/sol_8_lang_sparc#2/Tools
    

    # cd /cdrom/sol_8_lang_ia#1/Tools
    
  15. Copy the CD in the CD-ROM drive to the install server's hard disk by using the add_to_install_server command:


    # ./add_to_install_server install_dir_path
    

    where install_dir_path specifies the directory where the CD image is to be copied.

  16. Do you want to enable users to use Solaris Web Start to boot a system and install the Solaris 8 software over a network?

    • If no, eject the Solaris 8 Languages SPARC Platform Edition or Solaris 8 Languages Intel Platform Edition CD and go to Step 21.

    • If yes, eject the Solaris 8 Languages SPARC Platform Edition or Solaris 8 Languages Intel Platform Edition CD.

  17. Insert the CD labeled Solaris 8 Installation English SPARC Platform Edition, Solaris 8 Installation Multilingual SPARC Platform Edition, Solaris 8 Installation English Intel Platform Edition, or Solaris 8 Installation Multilingual Intel Platform Edition into the system's CD-ROM drive.

  18. If necessary, mount the CD.

    Volume Manager automatically mounts the CD.

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


    # cd /cdrom/en_icd_sol_8_sparc/s0
    

    # cd /cdrom/en_icd_sol_8_ia/s2
    

    or


    # cd /cdrom/multi_icd_sol_8_sparc/s0
    

    # cd /cdrom/multi_icd_sol_8_ia/s2
    
  20. Use the modify_install_server command to copy the Solaris Web Start interface software to the install server:


    IA only -

    modify_install_server is located in the s2 directory on the CD labeled Solaris 8 Installation English Intel Platform Edition or Solaris 8 Installation Multilingual Intel Platform Edition.



    # ./modify_install_server install_dir_path installer_miniroot_path
    

    where install_dir_path specifies the directory where the Solaris Web Start interface is to be copied and installer_miniroot_path specifies the directory on the CD in the CD-ROM drive from which the Solaris Web Start interface is to be copied.

  21. Do you want to patch the files located in the miniroot (Solaris_8/Tools/Boot) on the net install image created by setup_install_server?

    • If no, go to the next step.

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

  22. Use the decision table below to determine what to do next.

    If the install server is 

    Then 

    On the same subnet as the system to be installed 

    You don't need to create a boot server. Go to "Setting Up Systems to Be Installed Over the Network".

    Not on the same subnet as the system to be installed

    You must follow the steps in "To Create a Boot Server on a Subnet".

SPARC: Example--Creating an Install Server

The following example illustrates how to create an install server by copying the CDs labeled Solaris 8 Software 1 of 2 SPARC Platform Edition, Solaris 8 Software 2 of 2 SPARC Platform Edition, Solaris 8 Languages SPARC Platform Edition, and Solaris 8 Installation Multilingual SPARC Platform Edition to the install server's /export/install directory:


# cd /cdrom/sol_8_sparc#2/s0/Solaris_8/Tools
# ./setup_install_server /export/install
# cd /cdrom/sol_8_sparc_2#1/Solaris_8/Tools
# ./add_to_install_server /export/install
# cd /cdrom/sol_8_lang_sparc#2/Tools
# ./add_to_install_server /export/install
# cd /cdrom/en_icd_sol_8_sparc/s0
# ./modify_install_server /export/install /cdrom/en_icd_sol_8_sparc/s2

Note -

In this example, each CD is inserted and automatically mounted before and removed after each of the commands shown above.


To Create a Boot Server on a Subnet

You can install Solaris software over the network from any install server on the network. However, a system that needs to use an install server on another subnet requires a separate boot server on its own subnet. A boot server contains enough of the boot software to boot systems over the network, and then the install server takes over to install the Solaris software.

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

    This system must include a local CD-ROM drive or have access to the remote Solaris 8 CD images. The system must also be included in the NIS or NIS+ name service. (If your site doesn't use the NIS or NIS+ name service, you must distribute information about this system by following your site's policies.)


    Note -

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


  2. Use the decision table below to determine what to do next.

    If you want to 

    Then 

    Mount the Solaris 8 Software 1 of 2 CD for your platform on the boot server's CD-ROM drive 

    1. Insert the CD labeled Solaris 8 Software 1 of 2 SPARC Platform Edition or Solaris 8 Software 1 of 2 Intel Platform Edition into the CD-ROM drive.

    2. If necessary, mount the CD.

      Volume Manager automatically mounts the CD.

    Mount a Solaris 8 Software 1 of 2 CD image for your platform from a remote install server via NFS 

    1. Mount the Solaris 8 Software 1 of 2 SPARC Platform Edition or Solaris 8 Software 1 of 2 Intel Platform Edition CD image:


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

      where server_name:path is the host name and absolute path to the CD image.

    2. Change directory to the mounted CD image:


      # cd /mnt
      

  3. Change to the Tools directory on the Solaris 8 Software 1 of 2 SPARC Platform Edition or Solaris 8 Software 1 of 2 Intel Platform Edition CD image:


    # cd Solaris_8/Tools
    
  4. Copy the boot software to the boot server by using the setup_install_server command:


    # ./setup_install_server -b boot_dir_path
    

    -b

    Specifies that the system is to be set up as a boot server. 

    boot_dir_path

    Specifies the directory where the boot software is to be copied. The directory must be empty. 


    Note -

    The setup_install_server command indicates whether or not there is enough disk space available for the Solaris 8 Software CD images. To determine available disk space, use the df -kl command.


  5. Eject the Solaris 8 Software 1 of 2 SPARC Platform Edition or Solaris 8 Software 1 of 2 Intel Platform Edition CD.

  6. Insert the CD labeled Solaris 8 Software 2 of 2 SPARC Platform Edition or Solaris 8 Software 2 of 2 Intel Platform Edition into the system's CD-ROM drive.

  7. If necessary, mount the CD.

    Volume Manager automatically mounts the CD.

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


    # cd Solaris_8/Tools
    
  9. Copy the CD in the CD-ROM drive to the install server's hard disk by using the add_to_install_server command:


    # ./add_to_install_server install_dir_path
    

    where install_dir_path specifies the directory where the CD image is to be copied.

  10. Eject the Solaris 8 Software 2 of 2 SPARC Platform Edition or Solaris 8 Software 2 of 2 Intel Platform Edition CD.

  11. Insert the CD labeled Solaris 8 Languages SPARC Platform Edition or Solaris 8 Languages Intel Platform Edition into the system's CD-ROM drive.

  12. If necessary, mount the CD.

    Volume Manager automatically mounts the CD.

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


    # cd /cdrom/sol_8_lang_sparc#2/Tools
    

    # cd /cdrom/sol_8_lang_ia#1/Tools
    
  14. Copy the CD in the CD-ROM drive to the install server's hard disk by using the add_to_install_server command:


    # ./add_to_install_server install_dir_path
    

    where install_dir_path specifies the directory where the CD image is to be copied.

  15. Do you want to enable users to use Solaris Web Start to boot a system and install the Solaris 8 software over a network?

    • If no, eject the Solaris 8 Languages SPARC Platform Edition or Solaris 8 Languages Intel Platform Edition CD and go to Step 21.

    • If yes, eject the Solaris 8 Languages SPARC Platform Edition or Solaris 8 Languages Intel Platform Edition CD.

  16. Insert the CD labeled Solaris 8 Installation English SPARC Platform Edition, Solaris 8 Installation Multilingual SPARC Platform Edition, Solaris 8 Installation English Intel Platform Edition, or Solaris 8 Installation Multilingual Intel Platform Edition into the system's CD-ROM drive.

  17. If necessary, mount the CD.

    Volume Manager automatically mounts the CD.

  18. Use the modify_install_server command to copy the Solaris Web Start interface software to the install server:


    IA only -

    modify_install_server is located in the s2 directory on the CD labeled Solaris 8 Installation English Intel Platform Edition or Solaris 8 Installation Multilingual Intel Platform Edition.



    # ./modify_install_server install_dir_path installer_miniroot_path
    

    where install_dir_path specifies the directory where the Solaris Web Start interface is to be copied and installer_miniroot_path specifies the directory on the CD in the CD-ROM drive from which the Solaris Web Start interface is to be copied.

SPARC: Example--Creating a Boot Server on a Subnet

The following example illustrates how to create a boot server on a subnet by copying the boot software from the Solaris 8 Software 1 of 2 SPARC Platform Edition CD image to /export/install/boot on the system's local disk, and then copying the Solaris 8 Software 2 of 2 SPARC Platform Edition, Solaris 8 Languages SPARC Platform Edition, and Solaris 8 Installation Multilingual SPARC Platform Edition CDs to the install server's /export/install/boot directory:


# cd /cdrom/sol_8_sparc#2/s0/Solaris_8/Tools
# ./setup_install_server -b /export/install/boot
# cd /cdrom/sol_8_sparc_2#1/Solaris_8/Tools
# ./add_to_install_server /export/install/boot
# cd /cdrom/sol_8_lang_sparc#2/Tools
# ./add_to_install_server /export/install/boot
# cd /cdrom/en_icd_sol_8_sparc/s0
# ./modify_install_server /export/install/boot /cdrom/en_icd_sol_8_sparc/s2

Note -

In this example, each CD is inserted and automatically mounted before and removed after each of the commands shown above.


Setting Up Systems to Be Installed Over the Network

After you've created an install server and, if necessary, a boot server, you are ready to install the Solaris software on other systems over the network. However, to be installed over the network, a system needs to know where to:

Because a system looks for this information in the name service (bootparams database in the /etc files, NIS, or NIS+), when it installs over the network, you must add this information to the name service for every system that is going to be installed over the network. You add this information by using the add_install_client command.


Note -

If you use the /etc files to store network installation information, the information must be located on the install server or the boot server (if a boot server is required).


To Set Up Systems to Be Installed Over the Network With add_install_client

You can use the add_install_client(1M) command to set up systems to be installed over the network.


Note -

The add_install_client command updates only the /etc files.


  1. Become superuser on the install server (or the boot server if a system requires one).

  2. Make sure the following information about the system to be installed has been added to the name service (/etc files, NIS, or NIS+):

    • Host name

    • IP address

    • Ethernet address

  3. Change to the Tools directory on the Solaris 8 Software 1 of 2 SPARC Platform Edition or Solaris 8 Software 1 of 2 Intel Platform Edition CD image on the install server or the boot server's boot directory:


    # cd Solaris_8/Tools
    
  4. Use the add_install_client command to set up a system to be installed over the network:


    # ./add_install_client [[-d]] [[-c server:jumpstart_dir_path]] [[-s install_server:install_dir_path]] \
    [[-p server:path]] host_name platform_group
    

    -d

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

    -c server:jumpstart_dir_path

    Specifies a JumpStart directory for custom JumpStart installations. This option and its arguments are required only for custom JumpStart installations. 

    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.

    -s install_server:install_dir_path

     

    Specifies the install server. This option is required only when you are using add_install_client on a boot server.

    install_server is the host name of the install server. install_dir_path is the absolute path to the Solaris 8 Software 1 of 2 CD image for your platform.

    -p server:path

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

    host_name

    Is the host name of the system to be installed over the network. (This is not the host name of the install server.) The host must be in the name service for this command to work.

    platform_group

    Is the platform group of the system to be installed. A detailed list of platform groups appears in Appendix A, Platform Names and Groups.

SPARC: Example--Adding Systems to Be Installed Over the Network With add_install_client

The following example illustrates how to add a system named basil, which is a SPARCstation 10, to be installed over the network. The system requires a boot server, so the command is run on the boot server. The -s option is used to specify the install server named install_server1, which contains a Solaris 8 Software 1 of 2 SPARC Platform Edition CD image in /export/install:


# cd /export/boot/Solaris_8/Tools
# ./add_install_client -s install_server1:/export/install basil sun4m