Use this procedure to create a SPARC install server with SPARC or x86 CD media.
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.
If you want to upgrade a system that has non-global zones installed, you cannot use a CD-based network installation image to upgrade the system. You must create a network installation image from the Solaris DVD. For instructions about how to create a network installation image from a DVD, see Chapter 5, Installing From the Network With DVD Media (Tasks).
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.
Insert the Solaris Software - 1 CD in the system's drive.
Create a directory for the CD image.
# mkdir -p install_dir_path |
Specifies the directory where the CD image is to be copied
Change to the Tools directory on the mounted disc.
If you are creating an installation image from the Solaris Software for SPARC Platforms - 1 CD, type the following command.
# cd /cdrom/cdrom0/s0/Solaris_11/Tools |
If you are creating an installation image from the Solaris Software for x86 Platforms - 1 CD, type the following command.
# cd /cdrom/cdrom0/Solaris_11/Tools |
Copy the image in the drive to the install server's hard disk.
# ./setup_install_server install_dir_path |
Specifies the directory where the CD image is to be copied
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.
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.
Verify that the path to the install server's image is shared appropriately.
# share | grep 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.
Make the install server available by adding this entry to the /etc/dfs/dfstab file.
share -F nfs -o ro,anon=0 -d "install server directory" install_dir_path |
Verify that the nfsd daemon is running.
If the install server is running the Solaris 10 11/06 OS, 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 |
Share the install server.
# shareall |
Change directories to root (/).
# cd / |
Eject the Solaris Software - 1 CD.
Insert the Solaris Software - 2 CD in the system's CD-ROM drive.
Change to the Tools directory on the mounted CD.
If you are creating an installation image from the Solaris Software for SPARC Platforms - 1 CD, type the following command.
# cd /cdrom/cdrom0/s0/Solaris_11/Tools |
If you are creating an installation image from the Solaris Software for x86 Platforms - 1 CD, type the following command.
# cd /cdrom/cdrom0/Solaris_11/Tools |
Copy the CD in the CD-ROM drive to the install server's hard disk.
# ./add_to_install_server install_dir_path |
Specifies the directory where the CD image is to be copied
Change directories to root (/).
# cd / |
Eject the Solaris Software - 2 CD.
Repeat Step 9 through Step 13 for each Solaris Software CD that you want to install.
Insert the Solaris Languages CD in the system's CD-ROM drive.
Change to the Tools directory on the mounted CD.
For SPARC DVD media, type:
# cd /cdrom/cdrom0/s0/Solaris_11/Tools |
For x86 DVD media, type:
# cd /cdrom/cdrom0/Solaris_11/Tools |
Copy the CD in the CD-ROM drive to the install server's hard disk.
# ./add_to_install_server install_dir_path |
Specifies the directory where the CD image is to be copied
Change directories to root (/).
# cd / |
(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 SPARC based installation images, use the patchadd -C command to patch the files that are located in the miniroot.
# patchadd -C install_dir_path path-to-patch/patch-id |
Specifies the path to the network installation miniroot.
Specifies the path to the patch that you want to add, for example, /var/sadm/spool.
Specifies the patch ID that you want to apply.
Don't use the patchadd -C command unless you have read the Patch README instructions or have contacted your local Sun support office.
For x86 based installation images, follow these steps to patch an x86 network installation miniroot.
These steps assume that you have a system on your network that is running the Solaris 10 11/06 for x86 release, and that system is accessible over the network.
On a system that is running the Solaris 10 11/06 for x86 release, log in as superuser or assume an equivalent role.
Change to the Tools directory of the installation image you created in Step 4.
# cd install-server-path/install-dir-path/Solaris_11/Tools |
Specifies the path to the install server system on your network, for example, /net/installserver-1.
Create a new installation image, and place that image on the system that is running the Solaris 10 11/06 for x86 release.
# ./setup_install_server remote_install_dir_path |
Specifies the path on the Solaris 10 11/06 for x86 system in which to create the new installation image.
This command creates a new installation image on the Solaris 10 11/06 for x86 system. In order to patch this image, you must temporarily place this image on a system that is running the Solaris 10 11/06 for x86 release.
On the Solaris 10 11/06 for x86 system, unpack the network installation boot archive.
# /boot/solaris/bin/root_archive unpackmedia remote_install_dir_path \ destination_dir |
Specifies the path to the x86 network installation image on the Solaris 10 11/06 for x86 system.
Specifies the path to the directory to contain the unpacked boot archive.
On the Solaris 10 11/06 for x86 system, patch the unpacked boot archive.
# patchadd -C destination_dir path-to-patch/patch-id |
Specifies the path to the patch that you want to add, for example, /var/sadm/spool.
Specifies the patch ID that you want to apply.
You can specify multiple patches with the patchadd -M option. For more information, see patchadd(1M).
Don't use the patchadd -C command unless you have read the Patch README instructions or have contacted your local Sun support office.
On the Solaris 10 11/06 for x86 system, pack the x86 boot archive.
# /boot/solaris/bin/root_archive packmedia destination_dir \ remote_install_dir_path |
Copy the patched miniroot to the installation image on the install server.
# cp remote_install_dir_path/boot/x86.miniroot \ install-server-path/install_dir_path/boot/x86.miniroot |
Decide if you need to create a boot server.
If you are using DHCP or the install server is on the same subnet as the system to be installed, you do not need to create a boot server. Proceed to Adding Systems to Be Installed From the Network With a CD Image.
If you are not using DHCP and the install server and the client are on a different subnet, you must create a boot server. Proceed to Creating a Boot Server on a Subnet With a CD Image.
The following example illustrates how to create an install server by copying the following CDs to the install server's /export/home/cdsparc directory. This example assumes that the install server is running the Solaris 10 11/06 OS.
Solaris Software for SPARC Platforms CDs
Solaris Languages for SPARC Platforms CD
Insert the Solaris Software for SPARC Platforms - 1 CD in the system's CD-ROM drive.
# mkdir -p /export/home/cdsparc # cd /cdrom/cdrom0/s0/Solaris_11/Tools # ./setup_install_server /export/home/cdsparc |
If you have a separate boot server, add these steps.
Add the following path to the /etc/dfs/dfstab file.
share -F nfs -o ro,anon=0 -d "install server directory" \ /export/home/cdsparc |
Check if the nfsd daemon is online. If the nfsd daemon is not online, start it and share it.
# svcs -l svc:/network/nfs/server:default # svcadm enable svc:/network/nfs/server # shareall |
Continue with the following steps.
If you do not need a boot server or have completed the steps for a separate boot server, continue.
# cd / |
Eject the Solaris Software for SPARC Platforms - 1 CD. Insert the Solaris Software for SPARC Platforms - 2 CD in the CD-ROM drive.
# cd /cdrom/cdrom0/s0/Solaris_11/Tools # ./add_to_install_server /export/home/cdsparc # cd / |
Repeat the previous commands for each Solaris Software CD that you want to install.
Insert the Solaris Languages for SPARC Platforms CD in the CD-ROM drive.
# cd /cdrom/cdrom0/s0/Solaris_11/Tools # ./add_to_install_server /export/home/cdsparc |
Use the following example to create an x86 network installation image on a SPARC based install server. The following example illustrates how to create a cross platform install server by copying the Solaris Software for x86 Platforms CDs to the install server's /export/home/cdx86 directory. This example assumes that the install server is running the Solaris 10 11/06 OS.
Solaris Software for x86 Platforms CDs
Solaris Languages for x86 Platforms CD
Insert the Solaris Software for x86 Platforms - 1 CD in the system's CD-ROM drive.
# mkdir -p /export/home/cdsparc # cd /cdrom/cdrom0/Solaris_11/Tools # ./setup_install_server /export/home/cdsparc |
If you have a separate boot server, add these steps.
Add the following path to the /etc/dfs/dfstab file.
share -F nfs -o ro,anon=0 -d "install server directory" \ /export/home/cdsparc |
Check if the nfsd daemon is online. If the nfsd daemon is not online, start it and share it.
# svcs -l svc:/network/nfs/server:default # svcadm enable svc:/network/nfs/server # shareall |
Continue with the following steps.
If you do not need a boot server or have completed the steps for a separate boot server, continue.
# cd / |
Eject the Solaris Software for x86 Platforms - 1 CD. Insert the Solaris Software for x86 Platforms - 2 CD in the CD-ROM drive.
# cd /cdrom/cdrom0/Solaris_11/Tools # ./add_to_install_server /export/home/cdsparc # cd / |
Repeat the previous commands for each Solaris Software for x86 Platforms CD that you want to install.
Insert the Solaris Languages for x86 Platforms CD in the CD-ROM drive.
# cd /cdrom/cdrom0/Tools # ./add_to_install_server /export/home/cdsparc |
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.
For additional information about the setup_install_server and the add_to_install_server commands, see install_scripts(1M).