Contained WithinFind More DocumentationFeatured Support Resources | Download this book in PDF (1569 KB)
Chapter 7 Installing With Custom JumpStart (Examples)This chapter provides an example of setting up and installing Solaris software on both SPARC based and x86 based systems by using a custom JumpStart installation. Note – If you are installing a Solaris ZFS root pool, see Chapter 9, Installing a ZFS Root Pool With JumpStart for limitations and profile examples.
Sample Site SetupFigure 7–1 shows the site setup for this example. Figure 7–1 Sample Site Setup
At this sample site, the conditions are as follows:
Create an Install ServerBecause the groups need to install Solaris 10 10/09 software from the network, you make server-1 an install server for both groups. You use the setup_install_server(1M) command to copy the images to the server-1 local disk (in the /export/install directory). Copy the images from the either of the following media.
You must copy the image from the disc to an empty directory, in these examples the sparc_10 directory and the x86_10 directory. Example 7–1 SPARC: Copying the Solaris 10 10/09 CDsInsert the Solaris Software for SPARC Platforms - 1 CD in the CD-ROM drive that is attached to server-1 and type the following commands:
Insert the Solaris Software for SPARC Platforms - 2 CD in the CD-ROM drive that is attached to server-1 and type the following commands:
Repeat the previous command for each Solaris Software you want to install. Insert the first SPARC: Solaris Languages for SPARC Platforms CD in the CD-ROM drive that is attached to server-1 and type the following commands:
Repeat the previous command for each SPARC: Solaris Languages for SPARC Platforms CD. Example 7–2 x86: Copying the Solaris 10 10/09 CDsInsert the Solaris Software for x86 Platforms - 1 CD in the CD-ROM drive that is attached to server-1 and type the following commands:
Insert the Solaris Software for x86 Platforms - 2 CD in the CD-ROM drive that is attached to server-1 and type the following commands:
Repeat the previous command for each Solaris Software you want to install. Insert the first Solaris Languages for x86 Platforms CD in the CD-ROM drive that is attached to server-1 and type the following commands:
Repeat the previous command for each Solaris Languages for x86 Platforms CD. Example 7–3 SPARC: Copying the Solaris 10 10/09 DVDInsert the Solaris Operating System for SPARC Platforms DVD in the DVD-ROM drive that is attached to server-1 and type the following commands:
Example 7–4 x86: Copying the Solaris Operating System for x86 Platforms DVDInsert the Solaris Operating System for x86 Platforms DVD in the DVD-ROM drive that is attached to server-1 and type the following commands:
x86: 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 Solaris Operating System for x86 Platforms DVD or the Solaris Software for x86 Platforms - 1 CD. The boot software is copied to the server-2 local disk in the /export/boot directory. Choose the media and install the boot software to local disk.
In the setup_install_server command, -b specifies that setup_install_server is to copy the boot information to the directory that is named /export/boot. Create a JumpStart DirectoryNow that you have the install server and boot server set up, you create a JumpStart directory on server-1. You can use any system on the network. This directory holds files that are required for a custom JumpStart installation of Solaris software. You set up this directory by copying the sample directory from the Solaris Operating System DVD image or from the Solaris Software - 1 CD image 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 that is named eng_prof in the /jumpstart directory. The eng_prof file contains the following entries, which define the Solaris 10 10/09 software to be installed on systems in the engineering group: install_type initial_install system_type standalone partitioning default cluster SUNWCprog filesys any 512 swap The previous example profile specifies the following installation information.
x86: Create the Marketing Group's ProfileFor the marketing systems, you create a file that is named marketing_prof in the /jumpstart directory. The marketing_prof file contains the following entries, which define the Solaris 10 10/09 software to be installed on systems in the marketing group: install_type initial_install system_type standalone partitioning default cluster SUNWCuser package SUNWaudio The previous example profile specifies the following installation information.
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 located on its own subnet and has its own network address. The engineering department is located on subnet 255.222.43.0. The marketing department is located on 255.222.44.0. You can use this information to control how the engineering and marketing systems are installed with the Solaris 10 10/09 software. In the /jumpstart directory, you edit the rules file, delete all of the example rules, and add the following lines to the file:
Basically, these rules state that systems on the 255.222.43.0 network are to be installed with the Solaris 10 10/09 software by using the eng_prof profile. The systems on the 255.222.44.0 network are to be installed with the Solaris 10 10/09 software by using the marketing_prof profile. Note – You can use the sample rules to use a network address to identify the systems to be installed with the Solaris 10 10/09 software by using eng_prof and marketing_prof, respectively. You can also use host names, memory size, or model type as the rule keyword. Table 8–1 contains a complete list of keywords you can use in a rules file. Validate the rules FileAfter the rules and profiles are set up, you run the check script to verify that the files are correct:
If the check script does not find any errors, the script creates the rules.ok file. SPARC: Set Up Engineering Systems to Install From the NetworkAfter setting up the /jumpstart directory and files, you use the add_install_client command on the install server, server-1, to set up the engineering systems to install the Solaris software from the install server. server-1 is also the boot server for the engineering group's subnet.
In the add_install_client command, the options that are used have the following meanings:
x86: Set Up Marketing Systems to Install From the NetworkNext, you use the add_install_client command on the boot server (server-2). This command sets up the marketing systems to boot from the boot server and install the Solaris software from the install server (server-1):
In the add_install_client command, the options that are used have the following meanings:
SPARC: Boot the Engineering Systems and Install Solaris 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 OS is automatically installed on the engineering group's systems. x86: Boot the Marketing Systems and Install Solaris SoftwareYou can boot the system from one of the following:
Solaris software is automatically installed on the marketing group's systems. |
||||||||||||||||||