悲剧,绝对的悲剧,悲剧中的悲剧。
分类: 系统运维
2012-06-12 11:57:55
The Solaris 10 Operating System offers an automatic installation process, Solaris JumpStart software. The Solaris JumpStart procedure enables you to install the Solaris OS automatically and configure it differently, depending on the characteristics of client systems. These identifying characteristics are used to select the correct configuration for each client system.
The following tasks are required to configure a single JumpStart server to provide basic software installation services using the JumpStart procedures:
To spool the Solaris 10 boot and installation images to a local disk, complete the following steps: Create a directory with at least 800 Mbytes of space available to hold the Solaris OS image. Usually the /export/install directory is used.
Insert the Solaris 10 Software 1 of 2 CD-ROM in the CD-ROM drive or the Solaris 10 DVD in the DVD drive. Change the directory to the location of the setup_install_server script.
Run the setup_install_server script to copy the Solaris 10 OS installation images to the local disk.
When the setup_install_server script finishes, change the directory to root (/), and eject the CD-ROM or DVD.
If you use CD-ROM media, insert the Solaris 10 Software 2 of 2 CD-ROM in the CD-ROM drive. Change the directory to the location of the add_to_install_server script.
Run the add_to_install_server script to copy the remainder of the installation image to the local disk.
When add_to_install_server finishes, change the directory to root (/), and eject the CD-ROM.
The sysidcfg file keeps the various types of system information such as locale, time_zone, and so on, and supplies the information to the client at the booting time. Create a directory to hold the sysidcfg file. Typically the /export/config directory holds the sysidcfg file.
Change the directory to /export/config, and create a file called sysidcfg using a text editor.
In the sysidcfg file, add the following lines. Substitute values that are appropriate for your systems, location, and network.
network_interface=primary {protocol-ipv6=no netmask=255.255.255.0} security_policy=none name_service=none time_zone=US/Mountain system_locale=en_us Save the sysidcfg file, and exit your edit session.Create a directory to hold the rules file if this directory does not already exist. Usually, the /export/config directory holds the rules file.
Change the directory to /export/config, and create a file called rules using a text editor.
Usually, the /export/config directory holds the profile file.
Change the directory to /export/config, and create a file called profile using a text editor.
Before a JumpStart client can use a configuration provided by a JumpStart server, you must run the check script to produce a file called rules.ok. The check script validates the syntax of the rules file and the profile files. If the validation completes successfully, the check script creates the rules.ok file. Change the directory to the location of the check script.
Copy the check script to the /export/config directory.
Change the directory to /export/config, and run the check script.
Edit the /etc/ethers file, and add an entry for the JumpStart client.
Edit the /etc/inet/hosts file, and add an entry for the JumpStart client.
Change the directory to the location of the add_install_client script on the server.
Run the add_install_client script, and specify server and client information as follows. (Note: The following line of code should all be entered on one line.)
For example:
Edit the /etc/dfs/dfstab file to add the following line:
share -F nfs -o ro, anon=0 /export/install
share -F nfs -o ro, anon=0 /export/config Save and exit from the dfstab file.Run the shareall command to share the /export/config and /export/install directories.
Verify that the /export/config and /export/install directories are currently shared.
Booting the JumpStart Client
After the JumpStart server has been configured to provide all of the required services, you can initiate the installation process on the JumpStart client. To boot the JumpStart client, perform the following steps:
Bring the JumpStart client to run state 0ok boot net - install
点击(此处)折叠或打开
点击(此处)折叠或打开
点击(此处)折叠或打开
点击(此处)折叠或打开
点击(此处)折叠或打开
转载自–_Solaris_10