Contained WithinFind More DocumentationFeatured Support Resources | Descargar este libro en PDF (1777 KB)
Chapter 11 Example of Setting Up and Installing Solaris Software With Custom JumpStartThis chapter provides an example of setting up and installing Solaris software on both SPARC and IA based systems using custom JumpStart.
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. Sample Site SetupFigure 11-1 shows the site setup for this example. Figure 11-1 Sample Site Setup
At this sample site:
Note - The peripheral devices for the marketing systems are preconfigured in the sysidcfg file.
Create an Install ServerBecause the groups need to install Solaris 8 software over the network, you make server-1 an install server for both groups. You use the setup_install_server(1M) command to copy the images on the CDs labeled Solaris 8 Software SPARC Platform Edition, Solaris 8 Software Intel Platform Edition, Solaris 8 Languages SPARC Platform Edition, and Solaris 8 Languages Intel Platform Edition to the server-1 local disk (in the /export/install directory). Also, because you must copy the Solaris 8 Software CD images to an empty directory, you copy the images to separate directories (the sparc_8 and ia_8 directories). You insert the CD labeled Solaris 8 Software 1 of 2 SPARC Platform Edition into the CD-ROM drive attached to server-1:
You insert the CD labeled Solaris 8 Software 1 of 2 Intel Platform Edition into the CD-ROM drive attached to server-1:
Create a Boot Server for Marketing SystemsSystems cannot boot from an install server on a different subnet, so you make server-2 a boot server on the marketing group's subnet. You use the setup_install_server(1M) command to copy the boot software from the CD labeled Solaris 8 Software 1 of 2 Intel Platform Edition to the server-2 local disk (in the /export/boot directory): You insert the CD labeled Solaris 8 Software 1 of 2 Intel Platform Edition into the CD-ROM drive attached to server-2:
In the setup_install_server command, -b specifies that setup_install_server is to copy the boot information from the CD labeled Solaris 8 Software 1 of 2 Intel Platform Edition to the directory named /export/boot. Create a JumpStart DirectoryNow that you have the install and boot servers set up, you create a JumpStart directory on server-1. (You can use any system on the network.) This directory holds files required for a custom JumpStart installation of Solaris software. You set up this directory by copying the sample directory from either one of the Solaris 8 Software 1 of 2 CD images that has been copied to /export/install:
Share the JumpStart DirectoryTo make the rules file and profiles accessible to systems on the network, you share the /jumpstart directory. To enable the sharing of a directory, you add the following line to the /etc/dfs/dfstab file:
Then, at the command line, you type the shareall command:
SPARC: Create the Engineering Group's ProfileFor the engineering systems, you create a file named eng_prof in the /jumpstart directory. The eng_prof file contains the following entries, which define the Solaris 8 software to be installed on systems in the engineering group: IA: Create the Marketing Group's ProfileFor the marketing systems, you create a file named marketing_prof in the /jumpstart directory. The marketing_prof file contains the following entries, which define the Solaris 8 software to be installed on systems in the marketing group: Update the rules FileNow you must add rules to the rules file. The Solaris 8 Interactive Installation Program uses the rules to select the correct installation (profile) for each system during a custom JumpStart installation. At this site, each department is located on its own subnet and has its own network address. The engineering department is located on subnet 255.222.43.0, and marketing is located on 255.222.44.0. You can use this information to control how the engineering and marketing systems are installed with Solaris 8. In the /jumpstart directory, you edit the rules file, delete all of the example rules, and enter:
Basically, these rules state that systems on the 255.222.43.0 network are to be installed with Solaris 8 using the eng_prof profile, and systems on the 255.222.44.0 network are to be installed with Solaris 8 using the marketing_prof profile. Note - These are sample rules in which you can use a network address to identify the systems to be installed with Solaris 8 by using eng_prof and marketing_prof, respectively. You can also use host names, memory size, or model type as the rule keyword. Table 6-3 contains a complete list of keywords you can use in a rules file. Check the rules FileAfter the rules and profiles are set up, you run the check script to verify that the files are correct:
If check doesn't find any errors, it creates the rules.ok file. SPARC: Set Up Engineering Systems to Install Over the NetworkAfter setting up the /jumpstart directory and files, you use the add_install_client command on the install server (server-1, which is also the boot server for the engineering group's subnet) to set up the engineering systems to install Solaris 8 from the install server:
In the add_install_client command:
IA: Set Up Marketing Systems to Install Over the NetworkNext, you use the add_install_client command on the boot server (server-2) to set up the marketing systems to boot from the boot server and install Solaris 8 from the install server (server-1):
In the add_install_client command:
SPARC: Boot the Engineering Systems and Install Solaris 8 SoftwareAfter setting up the servers and files, you can boot the engineering systems by using the following boot command at the ok (PROM) prompt of each system:
The Solaris operating environment is automatically installed on the engineering group's systems. IA: Boot the Marketing Systems and Install Solaris 8 SoftwareIf the system is not capable of booting from a CD-ROM, you can boot the marketing systems by inserting the diskette labeled Solaris 8 Device Configuration Assistant Intel Platform Edition and turning on each system. Solaris 8 is automatically installed on the marketing group's systems. |
|||||||||||