|
|||
Part I Planning to Install Over the Network 1. Where to Find Solaris Installation Planning Information 2. Preconfiguring System Configuration Information (Tasks) 3. Preconfiguring With a Naming Service or DHCP Part II Installing Over a Local Area Network 4. Installing From the Network (Overview) 5. Installing From the Network With DVD Media (Tasks) 6. Installing From the Network With CD Media (Tasks) 7. Installing Over the Network (Examples) 8. Installing From the Network (Command Reference) Part III Installing Over a Wide Area Network 10. Preparing to Install With WAN Boot (Planning) 11. Installing With WAN Boot (Tasks) Installing Over a Wide Area Network (Task Maps) Configuring the WAN Boot Server (Optional) To Configure the WAN Boot Logging Server (Optional) Protecting Data by Using HTTPS (Optional) To Use Digital Certificates for Server and Client Authentication (Optional) To Create a Hashing Key and an Encryption Key Creating the Configuration Files To Create the System Configuration File To Create the wanboot.conf File (Optional) Providing Configuration Information With a DHCP Server 12. SPARC: Installing With WAN Boot (Tasks) 13. SPARC: Installing With WAN Boot (Examples) |
Creating the Custom JumpStart Installation FilesWAN boot performs a custom JumpStart installation to install a Solaris Flash archive on the client. The custom JumpStart installation method is a command–line interface that enables you to automatically install several systems, based on profiles that you create. The profiles define specific software installation requirements. You can also incorporate shell scripts to include preinstallation and postinstallation tasks. You choose which profile and scripts to use for installation or upgrade. The custom JumpStart installation method installs or upgrades the system, based on the profile and scripts that you select. Also, you can use a sysidcfg file to specify configuration information so that the custom JumpStart installation is completely free of manual intervention. To prepare the custom JumpStart files for a WAN boot installation, complete the following tasks. For detailed information on the custom JumpStart installation method, see Chapter 2, Custom JumpStart (Overview), in Solaris Express Installation Guide: Custom JumpStart and Advanced Installations. To Create the Solaris Flash ArchiveThe Solaris Flash installation feature enables you to use a single reference installation of the Solaris OS on a system, which is called the master system. You can then create a Solaris Flash archive, which is a replica image of the master system. You can install the Solaris Flash archive on other systems in the network, creating clone systems. This section describes how to create a Solaris Flash archive. Before You Begin
In this example, you create your Solaris Flash archive by cloning the WAN boot server system with the host name wanserver. The archive is named sol_10_sparc, and is copied exactly from the master system. The archive is an exact duplicate of the master system. The archive is stored in sol_10_sparc.flar. You save the archive in the flash/archives subdirectory of the document root directory on the WAN boot server. wanserver# flarcreate -n sol_10_sparc \ /opt/apache/htdocs/flash/archives/sol_10_sparc.flar More InformationContinuing the WAN Boot InstallationAfter you create the Solaris Flash archive, preconfigure the client information in the sysidcfg file. For instructions, see To Create the sysidcfg File. See AlsoFor detailed instructions about how to create a Solaris Flash archive, see Chapter 3, Creating Solaris Flash Archives (Tasks), in Solaris Express Installation Guide: Solaris Flash Archives (Creation and Installation). For more information about the flarcreate command, see the man page flarcreate(1M). To Create the sysidcfg FileYou can specify a set of keywords in the sysidcfg file to preconfigure a system. To create the sysidcfg file, follow these steps. Before You BeginCreate the Solaris Flash archive. See To Create the Solaris Flash Archive for detailed instructions.
The following is an example of a sysidcfg file for a SPARC based system. The host name, IP address, and netmask of this system have been preconfigured by editing the naming service. network_interface=primary {hostname=wanclient default_route=192.168.198.1 ip_address=192.168.198.210 netmask=255.255.255.0 protocol_ipv6=no} timezone=US/Central system_locale=C terminal=xterm timeserver=localhost name_service=NIS {name_server=matter(192.168.255.255) domain_name=mind.over.example.com } security_policy=none More InformationContinuing the WAN Boot InstallationAfter you create the sysidcfg file, create a custom JumpStart profile for the client. For instructions, see To Create the Profile. See AlsoFor more detailed information about sysidcfg keywords and values, see Preconfiguring With the sysidcfg File. To Create the ProfileA profile is a text file that instructs the custom JumpStart program how to install the Solaris software on a system. A profile defines elements of the installation, for example, the software group to install. For detailed information about how to create profiles, see Creating a Profile in Solaris Express Installation Guide: Custom JumpStart and Advanced Installations. To create the profile, follow these steps. Before You BeginCreate the sysidcfg file for the client. See To Create the sysidcfg File for detailed instructions.
In the following example, the profile indicates that the custom JumpStart program retrieves the Solaris Flash archive from a secure HTTP server. # profile keywords profile values # ---------------- ------------------- install_type flash_install archive_location https://192.168.198.2/sol_10_sparc.flar partitioning explicit filesys c0t1d0s0 4000 / filesys c0t1d0s1 512 swap filesys c0t1d0s7 free /export/home The following list describes some of the keywords and values from this example.
More InformationContinuing the WAN Boot InstallationAfter you create a profile, you must create and validate the rules file. For instructions, see To Create the rules File. See AlsoFor more information about how to create a profile, see Creating a Profile in Solaris Express Installation Guide: Custom JumpStart and Advanced Installations. For more detailed information about profile keywords and values, see Profile Keywords and Values in Solaris Express Installation Guide: Custom JumpStart and Advanced Installations. To Create the rules FileThe rules file is a text file that contains a rule for each group of systems on which you want to install the Solaris OS. Each rule distinguishes a group of systems that are based on one or more system attributes. Each rule also links each group to a profile. A profile is a text file that defines how the Solaris software is to be installed on each system in the group. For example, the following rule specifies that the JumpStart program use the information in the basic_prof profile to install any system with the sun4u platform group. karch sun4u - basic_prof - The rules file is used to create the rules.ok file, which is required for custom JumpStart installations. For detailed information about how to create a rules file, see Creating the rules File in Solaris Express Installation Guide: Custom JumpStart and Advanced Installations. To create the rules file, follow these steps. Before You BeginCreate the profile for the client. See To Create the Profile for detailed instructions.
The custom JumpStart programs use the rules file to select the correct installation profile for the wanclient-1 system. Create a text file that is named rules. Then, add keywords and values to this file. The IP address of the client system is 192.168.198.210, and the netmask is 255.255.255.0. Use the network rule keyword to specify the profile that the custom JumpStart programs should use to install the client. network 192.168.198.0 - wanclient_prof - This rules file instructs the custom JumpStart programs to use the wanclient_prof to install the current Solaris release software on the client. Name this rule file wanclient_rule. After you create the profile and the rules file, you run the check script to verify that the files are valid. wanserver# ./check -r wanclient_rule If the check script does not find any errors, the script creates the rules.ok file. Save the rules.ok file in the /opt/apache/htdocs/flash/ directory. More InformationContinuing the WAN Boot InstallationAfter you create the rules.ok file, you can optionally set up begin and finish scripts for your installation. For instructions, see (Optional) Creating Begin and Finish Scripts. If you do not want to set up begin and finish scripts, see Creating the Configuration Files to continue the WAN boot installation. See AlsoFor more information about how to create a rules file, see Creating the rules File in Solaris Express Installation Guide: Custom JumpStart and Advanced Installations. For more detailed information about rules file keywords and values, see Rule Keywords and Values in Solaris Express Installation Guide: Custom JumpStart and Advanced Installations. (Optional) Creating Begin and Finish ScriptsBegin and finish scripts are user-defined Bourne shell scripts that you specify in the rules file. A begin script performs tasks before the Solaris software is installed on a system. A finish script performs tasks after the Solaris software is installed on a system, but before the system reboots. You can use these scripts only when using custom JumpStart to install Solaris. You can use begin scripts to create derived profiles. Finish scripts enable you to perform various postinstallation tasks, such as adding files, packages, patches, or additional software. You must store the begin and finish scripts in the same directory as the sysidcfg, rules.ok, and profile files on the install server.
To continue preparing for your WAN boot installation, see Creating the Configuration Files. |
||
|