Contained WithinFind More DocumentationFeatured Support Resources | Download this book in PDF (454 KB)
Appendix D Sample Custom JumpStart SetupThe following example shows how you would set up custom JumpStart installations for a sample site. The example includes SPARC-- and x86-based systems. Note - The name of this product is Solaris 7 but code and path or package path names may use Solaris 2.7 or SunOS 5.7. Always follow the code or path as it is written. Sample Site SetupFigure D-1 shows the site setup for this example. Figure D-1 Sample Site Setup
At this sample site:
Note - The peripheral devices for the marketing systems are preconfigured in the sysidcfg file located on the Solaris boot diskette. Create an Install ServerBecause the groups need to install Solaris software over the network, you make server-1 an install server for both groups. You use the setup_install_server command to copy the x86 and SPARC Solaris CDs to the server-1 local disk (in the /export/install directory). Also, because you must copy a Solaris CD to an empty directory, you copy the Solaris CD images to separate directories (the x86_2.7 and sparc_2.7 directories). You insert the x86 Solaris CD into the server-1 CD-ROM drive.
You insert the SPARC Solaris CD into the server-1 CD-ROM drive.
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 command to copy the boot software from the x86 Solaris CD to the server-2 local disk (in the /export/boot directory). You insert the x86 Solaris CD into the server-2 CD-ROM drive.
In the setup_install_server command,
Create a JumpStart DirectoryNow that you have the install and boot servers set up, you set up a JumpStart directory on server-1. (Any system on the network can be used). This directory will hold files necessary for a custom JumpStart installation of Solaris software. You set up this directory by copying the sample directory from one of the Solaris CD images that has been put in /export/install.
Share the JumpStart DirectoryTo make the rules file and profiles accessible to systems on the network, you share the /jumpstart directory. This is done by adding the following line to the /etc/dfs/dfstab file:
Then, at the command line, you use the shareall command.
Create the Engineering Group's ProfileFor the engineering systems, you create a file named eng_prof in the /jumpstart directory. The eng_prof file has the following entries, which define the Solaris software to be installed on systems in the engineering group. Create the Marketing Group's ProfileFor the marketing systems, you create a file named marketing_prof in the /jumpstart directory. The marketing_prof file has the following entries, which define the Solaris software to be installed on systems in the marketing group. Update the rules FileNow you must add rules to the rules file. The Solaris 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 on its own subnet and network address. The engineering department is on subnet 255.222.43.0, and marketing is on 255.222.44.0. You can use this information to control how the engineering and marketing systems are installed. 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 will be installed using the eng_prof profile, and the systems on the 255.222.44.0 network will be installed using the marketing_prof profile. Note - These are sample rules in which you can use a network address to identify which systems will be installed with the eng_prof and marketing_prof, respectively. You can also use host names, memory size, or model type as the rule keyword. See Table 8-2 for a complete list of keywords you can use in a rules file. Check the rules FileAfter the rules and profile files are properly set up, you run the check script to verify the files.
If check doesn't find any errors, it creates the rules.ok file. Set Up Engineering Systems to Install Over the NetworkAfter setting up the /jumpstart directory and appropriate files, you use the add_install_client command on the install server (server-1) to set up the engineering systems to install Solaris from the install server. Note - Host Manager can be used instead of add_install_client to set up the systems.
In the add_install_client command,
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 from the install server (server-1).
In the add_install_client command,
Boot the Engineering Systems and Install Solaris SoftwareAfter all the setup is complete, you can boot the engineering systems by using the following boot command at the ok (PROM) prompt of each system.
The systems will automatically install the Solaris operating environment. Boot the Marketing Systems and Install Solaris SoftwareNext, you can boot the marketing systems by inserting the Solaris boot diskette and powering up each system. The systems automatically install the Solaris operating environment. |
|||||||||||||