Use this procedure to create a SPARC install server on an x86 system with SPARC CD media. You need the following:
An x86 system
A SPARC system with a CD-ROM drive
A set of CDs for the remote SPARC system
Solaris Software 1 of 2 SPARC Platform Edition CD
Solaris Software 2 of 2 SPARC Platform Edition CD
Solaris SPARC Platform Edition Languages CD
Solaris SPARC Platform Edition Installation CD
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 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.
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.
On the remote SPARC system, insert the Solaris Software 1 of 2 SPARC Platform Edition CD into the system's drive.
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 |
On the remote SPARC system, start the NFS daemon.
remote-SPARC-system# /etc/init.d/nfs.server start |
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 " " |
On the x86 system that is to be the SPARC install server, become superuser.
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 |
Is the name of the directory to contain the product from slice 0
Is the name of the directory to contain the miniroot from slice 1
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) |
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 |
On the x86 system, change to the Tools directory on the mounted disc:
x86-system# cd /directory_name_s0/Solaris_9/Tools |
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 |
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 Software 2 of 2 CD.
Is the name of the directory that contains the miniroot from slice 1.
Specifies the directory where the disc image is to be copied. The directory must be empty.
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.
On the x86 system, change to the top directory.
x86-system# cd / |
On the x86 system, unmount both directories.
x86-system# unmount directory_name_s0 |
x86-system# unmount directory_name_s1 |
On the SPARC system, unshare both CD-ROM slices.
remote-SPARC-system# unshare /cdrom/cdrom0/s0 |
remote-SPARC-system# unshare /cdrom/cdrom0/s2 |
On the SPARC system, eject the Solaris Software 1 of 2 SPARC Platform Edition CD.
Insert the Solaris Software 2 of 2 SPARC Platform Edition CD into the x86 system's CD-ROM drive.
On the x86 system, change to the Tools directory on the mounted CD:
x86-system# cd /cdrom/cdrom0/Solaris_9/Tools |
On the x86 system, copy the CD to the install server's hard disk:
x86-system# ./add_to_install_server install_dir_path |
Specifies the directory where the CD image is to be copied
Eject the Solaris Software 2 of 2 SPARC Platform Edition CD.
On the x86 system, insert the Solaris SPARC Platform Edition Languages CD into the x86 system's CD-ROM drive and mount the CD.
On the x86 system, change to the Tools directory on the mounted CD:
x86-system# cd /cdrom/cdrom0/Tools |
On the x86 system, copy the CD to the install server's hard disk:
x86-system# ./add_to_install_server 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 9 software from a network.
If no, eject the Solaris SPARC Platform Edition Languages CD and proceed to Step 31.
If yes, eject the Solaris SPARC Platform Edition Languages CD and continue.
On the remote SPARC system, insert the Solaris SPARC Platform Edition Installation CD into the SPARC system's CD-ROM drive.
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 |
On the remote SPARC system, start the NFS daemon.
remote-SPARC-system# /etc/init.d/nfs.server start |
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.
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 |
On the x86 system, change to the directory that contains modify_install_server on the mounted CD:
x86-system# cd directory_name_s0 |
Copy the Solaris Web Start interface software to the install server.
x86-system# ./modify_install_server -p install_dir_path directory_name_s1 |
Preserves the existing image's miniroot in install_dir_path/Solaris_9/Tools/Boot.orig
Specifies the directory where the Solaris Web Start interface is to be copied
Name of the directory to contain the miniroot from slice 1
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.
Don't use the patchadd -C unless you have read the Patch README instructions or have contacted your local Sun support office.
Decide if you need to create a boot server.
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. See Adding Systems to Be Installed From the Network With a CD Image.
If the install server is not on the same subnet as the system to be installed and you are not using DHCP, 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 With a CD Image.
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/cdsparc directory.
Solaris Software 1 of 2 SPARC Platform Edition CD
Solaris Software 2 of 2 SPARC Platform Edition CD
Solaris SPARC Platform Edition Languages CD
Solaris SPARC Platform Edition Installation CD
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/cdsparc 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/cdsparc richards (x86-system)# cd /cdrom/cdrom0/Tools richards (x86-system)# ./add_to_install_server /export/home/cdsparc |
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/cdsparc /sparcS1 |
In this example, each CD is inserted and automatically mounted before each of the commands. After each command, the CD is removed.