This chapter describes how to set up your network and systems to install the Solaris software from the network instead of from CDs. 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 copy the contents of the Solaris 8 CDs 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 |
Description |
For Instructions, Go To |
---|---|---|
Create an install server. |
Use the setup_install_server(1M) command to copy the Solaris 8 Software 1 of 2 CD to the install server's hard disk. Use the add_to_install_server(1M) command to copy the Solaris 8 Software 2 of 2 CD and the Solaris 8 Languages CD to the install server's hard disk. You can also use the modify_install_server(1M) command to add the Solaris Web Start user interface software to the net install 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. | |
Add systems to be installed from the network. |
Set up each system that you want to install from the network. Each system needs to be able to find on the network the install server, the boot server, and configuration information. |
To Add Systems to Be Installed From the Network With add_install_client |
To install the Solaris operating environment from the network, the systems to be installed require the following servers to be present on the network.
Install server – A networked system that contains the Solaris 8 CD images from which you can install Solaris 8 on another system on the network. You create an install server by copying the images on the Solaris 8 Software 1 of 2, Solaris 8 Software 2 of 2, and Solaris 8 Languages CDs to the server's hard disk.
You can enable a single install server to provide CD images for different Solaris releases and for multiple platforms by copying the images to the install server's hard disk. For example, a single install server could contain the CD images for both the SPARC and IA platforms.
For details about how to create an install server, refer to To Create an Install Server.
Boot server – A system used to boot the system to be installed from the network. A boot server and install server are typically the same system. However, if the system on which the Solaris 8 software is to be installed is located in a different subnet than the install server, a boot server is required on that subnet.
A single boot server can provide Solaris 8 boot software for multiple releases, including the Solaris 8 boot software for different platforms. For example, a SPARC boot server can provide the Solaris 7 and Solaris 8 boot software for SPARC based systems. The same SPARC boot server can also provide the Solaris 8 boot software for IA based systems.
For details about how to create a boot server, refer to To Create a Boot Server on a Subnet.
(Optional) Name server – A system that manages a distributed network database, such as NIS+ or LDAP, that contains information about users and other systems on the network.
For details about how to create a name server, refer to Solaris Naming Administration Guide.
The install server and name server can be the same or different systems.
Figure 8–1 illustrates the servers that are typically used for network installation.
You must create an install server to install the Solaris software on a system from the network. If systems that you are installing are not in the same subnet as the install server, you must do one of the following:
Create separate boot servers for each subnet.
Create an install server for each subnet. However, this strategy requires more disk space.
This section contains the following instructions.
You cannot use a SunOS 4.1 system as an install server.
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 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.
This procedure assumes that the system is running the Volume Manager. If you are not using the Volume Manager to manage diskettes and CDs, refer to System Administration Guide, Volume I for detailed information about managing removable media without the Volume Manager.
Insert the Solaris 8 Software 1 of 2 CD into the system's CD-ROM drive.
Decide if you want to copy the Solaris 8 Software 1 of 2 and Solaris 8 Software 2 of 2 CDs to the install server's hard disk.
Change to the Tools directory on the mounted CD:
For the SPARC Platform Edition CD type:
# cd /cdrom/cdrom0/s0/Solaris_8/Tools |
For the Intel Platform Edition CD type:
# cd /cdrom/cdrom0/s2/Solaris_8/Tools |
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 |
In this command, install_dir_path specifies the directory where the CD image is to be copied. The directory must be empty.
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.
Eject the Solaris 8 Software 1 of 2 CD.
Insert the Solaris 8 Software 2 of 2 CD into the system's CD-ROM drive.
Change to the Tools directory on the mounted CD:
# cd /cdrom/cdrom0/Solaris_8/Tools |
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 |
In this command, install_dir_path specifies the directory where the CD image is to be copied.
Eject the Solaris 8 Software 2 of 2 CD.
Insert the Solaris 8 Languages CD into the system's CD-ROM drive.
Change to the Tools directory on the mounted CD:
# cd /cdrom/cdrom0/Tools |
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 |
In this command, install_dir_path specifies the directory where the CD image is to be copied.
Decide if you want to enable users to use the Solaris Web Start installation method to boot a system and install the Solaris 8 software from a network.
If no, eject the Solaris 8 Languages CD and go to Step 18.
If yes, eject the Solaris 8 Languages CD.
Insert the Solaris 8 Installation CD into the system's CD-ROM drive.
Change to the directory that contains modify_install_server on the mounted CD:
For the SPARC Platform Edition CD type:
# cd /cdrom/cdrom0/s0 |
For the Intel Platform Edition CD type:
# cd /cdrom/cdrom0/s2 |
Use the modify_install_server command to copy the Solaris Web Start interface software to the install server:
modify_install_server is located in the s2 directory on the Solaris 8 Installation Intel Platform Edition CD or Solaris 8 Installation Multilingual Intel Platform Edition CD.
# ./modify_install_server install_dir_path installer_miniroot_path |
In this command, 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 in the CD-ROM drive from which the Solaris Web Start interface is to be copied.
Decide if you want to patch the files that are located in the miniroot (Solaris_8/Tools/Boot) on the net install image that was created by setup_install_server.
If no, go to the next step.
If yes, use the patchadd -C command to patch the files that are located in the miniroot.
Decide if you need to create a boot server.
If the install server is on the same subnet as the system to be installed, you do not need to create a boot server. Go to Adding Systems to Be Installed From the Network.
If the install server is not on the same subnet as the system to be installed, you must create a boot server. For detailed instructions on how to create a boot server, refer to To Create a Boot Server on a Subnet.
The following example illustrates how to create an install server by copying the CDs that are 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/cdrom0/s0/Solaris_8/Tools # ./setup_install_server /export/install # cd /cdrom/cdrom0/Solaris_8/Tools # ./add_to_install_server /export/install # cd /cdrom/cdrom0/Tools # ./add_to_install_server /export/install # cd /cdrom/cdrom0/s0 # ./modify_install_server /export/install /cdrom/cdrom0/s2 |
In this example, each CD is inserted and automatically mounted before you issue each of the commands. After you issue each command, the CD is removed.
You can install the Solaris software from 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 from the network, and then the install server completes the installation of the Solaris software.
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 8 CD images. 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.
This procedure assumes that the system is running the Volume Manager. If you are not using the Volume Manager to manage diskettes and CDs, refer to System Administration Guide, Volume I for detailed information about managing removable media without the Volume Manager.
Decide if you want to mount the Solaris 8 Software 1 of 2 CD from the CD-ROM drive or from an image on an NFS server.
If you want to mount the Solaris 8 Software 1 of 2 CD from the CD-ROM drive, insert the Solaris 8 Software 1 of 2 CD into the CD-ROM drive.
If you want to mount the Solaris 8 Software 1 of 2 CD from an image on an NFS server, follow these steps.
Mount the Solaris 8 Software 1 of 2 CD image.
# mount -F nfs -o ro server_name:path /mnt |
In this command, server_name:path is the host name and absolute path to the CD image.
Change directory to the mounted CD image:
# cd /mnt |
Change to the Tools directory on the Solaris 8 Software 1 of 2 CD image by typing:
# cd Solaris_8/Tools |
Copy the boot software to the boot server.
# ./setup_install_server -b boot_dir_path |
In this command, boot_dir_path specifies the directory where the boot software is to be copied. The directory must be empty. The -b options specifies to setup the system as a boot server.
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.
Eject the Solaris 8 Software 1 of 2 CD.
Insert the Solaris 8 Installation CD into the system's CD-ROM drive.
Use the modify_install_server command to copy the Solaris Web Start interface software to the install server:
modify_install_server is located in the s2 directory on the Solaris 8 Installation Intel Platform Edition CD or the Solaris 8 Installation Multilingual Intel Platform Edition CD.
# ./modify_install_server install_dir_path installer_miniroot_path |
In this command, 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 in the CD-ROM drive from which the Solaris Web Start interface is to be copied.
The following example illustrates how to create a boot server on a subnet. These commands copy 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.
# cd /cdrom/cdrom0/s0/Solaris_8/Tools # ./setup_install_server -b /export/install/boot |
In this example, the CD is inserted and automatically mounted before you issue the command. After you issue the command, the CD is removed.
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:
Install server
Boot server
The sysidcfg file, if you use a sysidcfg file to preconfigure system information
The profile and rules file in the JumpStart directory on the profile server, if you are using the custom JumpStart installation method
The name server, if you use a name service to preconfigure system information
When you install from the network, a system checks for this information in the name service in the bootparams database in the /etc files, NIS, NIS+, DNS, or LDAP. You must add this information to the name service for every system that is to be installed from the network. You add this information by using the add_install_client command.
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.
You can use the add_install_client(1M) command to set up systems to be installed from the network.
The add_install_client command updates only the /etc files.
Become superuser on the install server or the boot server if a system requires one.
If you use the NIS or NIS+ name service, verify that the following information about the system to be installed has been added to the name service in the /etc files:
Host name
IP address
Ethernet address
Change to the Tools directory on the Solaris 8 Software 1 of 2 CD image on the install server or the boot server's boot directory:
# cd Solaris_8/Tools |
Use the add_install_client command to set up a system to be installed from the network:
# ./add_install_client [[-d]] [[-c server:jumpstart_dir_path]] [[-s install_server:install_dir_path]] \ [[-p server:path]] host_name platform_group |
Specifies that the client is to use a DHCP server as a profile server for a custom JumpStart installation. When you issue the boot command for a custom JumpStart installation, you can specify that the client use a DHCP server instead of a name server bootparams database. For detailed instructions, for SPARC systems refer to Step 6 in SPARC: To Perform a Custom JumpStart Installation and for IA systems refer to Step 8 in x86: To Perform a Custom JumpStart Installation. |
|
Specifies a JumpStart directory 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. Instead of using this option, when you issue the boot command for a custom JumpStart installation, you can specify the location of the JumpStart directory with the boot command. For detailed instructions, refer to Creating a Compressed Configuration File. |
|
-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. If you saved the sysidcfg file in JumpStart directory on a profile server, you might not need to use this option. When you issue the boot command for a custom JumpStart installation, you can specify the location of the JumpStart directory with the boot command. For detailed instructions, refer to Creating a Compressed Configuration File. |
Is the host name of the system to be installed from 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. |
|
Is the platform group of the system to be installed. A detailed list of platform groups appears in Chapter 31, Platform Names and Groups. |
The following example illustrates how to add a system named basil, which is a SPARCstation 10, to be installed from 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 that is named install_server1, which contains a Solaris 8 Software 1 of 2 SPARC Platform Edition CD image in /export/install:
# cd /export/install/boot/Solaris_8/Tools # ./add_install_client -s install_server1:/export/install basil sun4m |
The following table lists the commands you need to use to set up network installations.
Table 8–2 Network Installation Commands
Command |
Platform |
Description |
---|---|---|
add_install_client |
All |
A command that adds network installation information about a system to an install server's or boot server's /etc files so the system can install from the network. |
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 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 CD images on an existing install server. This script enables you to use the Solaris Web Start program to boot a system and install the Solaris 8 software from a network. The modify_install_server(1M) man page contains more information. |
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. |
|
All |
A command for determining a system's platform name, for example, SUNW, SPARCstation-5, or i86pc. You might need the system's platform name when you install the Solaris software. The uname(1) man page contains more information. |
|
patchadd -C net_install_image |
All |
A command to add patches to the files that are located in the miniroot, Solaris_8/Tools/Boot, on an image of an installation CD image that is 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. |
SPARC |
A command for resetting the terminal settings and display. You can 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. |
|
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. |