Skip Navigation Links | |
Exit Print View | |
Oracle Solaris 10 1/13 Installation Guide: Network-Based Installations Oracle Solaris 10 1/13 Information Library |
Part I Planning to Install Over the Network
1. Where to Find Oracle 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. Patching the Miniroot Image (Tasks)
8. Installing Over the Network (Examples)
9. Installing From the Network (Command Reference)
Part III Installing Over a Wide Area Network
11. Preparing to Install With WAN Boot (Planning)
12. Installing With WAN Boot (Tasks)
13. SPARC: Installing With WAN Boot (Tasks)
Task Map: Installing a Client With WAN Boot
Preparing the Client for a WAN Boot Installation
How to Check the net Device Alias in the Client OBP
How to Install Keys in the Client OBP
How to Install a Hashing Key and an Encryption Key on a Running Client
How to Perform a Noninteractive WAN Boot Installation
How to Perform an Interactive WAN Boot Installation
14. SPARC: Installing With WAN Boot (Examples)
The following table describes the ways you can install the system after you finish preparing your network for a WAN boot installation.
Table 13-2 Methods to Install the Client
|
Use this installation method if you prefer to install keys and set client configuration information before you install the client. You can then boot the client from the WAN and perform an unattended installation.
This procedure assumes that you have either installed keys in the client's OBP, or that you are performing an insecure installation. For information about installing keys on the client before your installation, see Installing Keys on the Client.
# init 0
The ok prompt is displayed.
ok setenv network-boot-arguments host-ip=client-IP, router-ip=router-IP,subnet-mask=mask-value, hostname=client-name,http-proxy=proxy-IP:port, file=wanbootCGI-URL
Note - The line breaks in this command sample are included for formatting purposes only. Do not enter a carriage return until you finish typing the command.
ok boot net - install
The client installs over the WAN. If the WAN boot programs do not find all the necessary installation information, the wanboot program prompts to provide the missing information. Type the additional information at the prompt.
Example 13-4 Noninteractive WAN Boot Installation
In the following example, the network boot argument variables for the client system myclient are set before the machine is booted. This example assumes that a hashing key and encryption key are already installed on the client. For information about installing keys before you boot from the WAN, see Installing Keys on the Client.
ok setenv network-boot-arguments host-ip=192.168.198.136, router-ip=192.168.198.129,subnet-mask=255.255.255.192 hostname=myclient,file=http://192.168.198.135/cgi-bin/wanboot-cgi ok boot net - install Resetting ... Sun Blade 100 (UltraSPARC-IIe), No Keyboard Copyright 1998-2003 Sun Microsystems, Inc. All rights reserved. OpenBoot 4.x.build_28, 512 MB memory installed, Serial #50335475. Ethernet address 0:3:ba:e:f3:75, Host ID: 83000ef3. Rebooting with command: boot net - install Boot device: /pci@1f,0/network@c,1 File and args: - install
The following variables are set.
The client IP address is set to 192.168.198.136.
The client's router IP address is set to 192.168.198.129.
The client's subnet mask is set to 255.255.255.192.
The client's host name is set to seahag.
The wanboot-cgi program is located at http://192.168.198.135/cgi-bin/wanboot-cgi.
See Also
For more information about how to set network boot arguments, see the set(1) man page.
For more information about how to boot a system, see the boot(1M) man page.
Use this installation method if you want to install keys and set client configuration information at the command line during the installation.
This procedure assumes that you are using HTTPS in your WAN installation. If you are performing an insecure installation that does not use keys, do not display or install the client keys.
# wanbootutil keygen -d -c -o net=net-IP,cid=client-ID,type=key-type
The IP address of the subnet for the client you want to install.
The ID of the client you want to install. The client ID can be a user-defined ID or the DHCP client ID.
The key type you want to install on the client. Valid key types are 3des, aes, or sha1.
The hexadecimal value for the key is displayed.
ok setenv network-boot-arguments host-ip=client-IP,router-ip=router-ip, subnet-mask=mask-value,hostname=client-name, http-proxy=proxy-ip:port,bootserver=wanbootCGI-URL
Note - The line breaks in this command sample are included for formatting purposes only. Do not enter a carriage return until you finish typing the command.
Specifies the IP address of the client.
Specifies the IP address of the network router.
Specifies the subnet mask value.
Specifies the host name of the client.
Specifies the IP address and port of the network's proxy server.
Specifies the URL of the wanboot-cgi program on the web server.
Note - The URL value for thebootserver variable must not be an HTTPS URL. The URL must start with http://.
ok boot net -o prompt - install
The boot> prompt is displayed. The wanboot program prompts the user to enter client configuration information at the boot> prompt.
boot> 3des=key-value
Specifies the hexadecimal string of the 3DES key that is displayed in Step 2.
If you use an AES encryption key, use the following format for this command.
boot> aes=key-value
boot> sha1=key-value
Specifies the hashing key value that is displayed in Step 2.
boot> go
The client installs over the WAN.
If the WAN boot programs do not find all the necessary installation information, the wanboot program prompts to provide the missing information. Type the additional information at the prompt.
Example 13-5 Interactive WAN Boot Installation
In the following example, the wanboot program prompts you to set the key values for the client system during the installation.
Display the key values on the WAN boot server.
# wanbootutil keygen -d -c -o net=192.168.198.0,cid=010003BA152A42,type=sha1 b482aaab82cb8d5631e16d51478c90079cc1d463 # wanbootutil keygen -d -c -o net=192.168.198.0,cid=010003BA152A42,type=3des 9ebc7a57f240e97c9b9401e9d3ae9b292943d3c143d07f04
The example uses the following information:
Specifies the IP address of the client's subnet.
Specifies the client's ID.
Specifies the value of the client's HMAC SHA1 hashing key.
Specifies the value of the client's 3DES encryption key.
If you use an AES encryption key in your installation, change type=3des to type=aes to display the encryption key value.
Set the network boot argument variables in the OBP on the client.
ok setenv network-boot-arguments host-ip=192.168.198.136, router-ip=192.168.198.129,subnet-mask=255.255.255.192,hostname=myclient, bootserver=http://192.168.198.135/cgi-bin/wanboot-cgi
The following variables are set.
The client IP address is set to 192.168.198.136.
The client's router IP address is set to 192.168.198.129.
The client's subnet mask is set to 255.255.255.192.
The client's host name is set to myclient.
The wanboot-cgi program is located at http://192.168.198.135/cgi-bin/wanboot-cgi.
Boot and install the client.
ok boot net -o prompt - install Resetting ... Sun Blade 100 (UltraSPARC-IIe), No Keyboard Copyright 1998-2003 Sun Microsystems, Inc. All rights reserved. OpenBoot 4.x.build_28, 512 MB memory installed, Serial #50335475. Ethernet address 0:3:ba:e:f3:75, Host ID: 83000ef3. Rebooting with command: boot net -o prompt Boot device: /pci@1f,0/network@c,1 File and args: -o prompt
The following commands perform the following tasks:
Installs the 3DES encryption key with the value 9ebc7a57f240e97c9b9401e9d3ae9b292943d3c143d07f04 on the client
Installs the HMAC SHA1 hashing key with the value b482aaab82cb8d5631e16d51478c90079cc1d463 on the client
Starts the installation.
boot> 3des=9ebc7a57f240e97c9b9401e9d3ae9b292943d3c143d07f04 boot> sha1=b482aaab82cb8d5631e16d51478c90079cc1d463 boot> go
See Also
For more information about how to display key values, see the wanbootutil(1M) man page.
For more information about how to set network boot arguments, see the set(1) man page.
For more information about how to boot a system, see the boot(1M) man page.
If you configured a DHCP server to support WAN boot options, you can use the DHCP server to provide client configuration information during the installation. For more information about configuring a DHCP server to support a WAN boot installation, see Providing Configuration Information With a DHCP Server.
Before You Begin
This procedure makes the following assumptions:
The client system is running.
You have either installed keys on the client or you are performing an insecure installation.
For information about installing keys on the client before your installation, see Installing Keys on the Client.
You have configured your DHCP server to support the SbootURI and SHTTPproxy WAN boot options.
These options enable the DHCP server to provide the configuration information that is required by WAN boot.
For information about how to set installation options on your DHCP server, see Preconfiguring System Configuration Information With the DHCP Service (Tasks).
# init 0
The ok prompt is displayed.
ok setenv network-boot-arguments dhcp,hostname=client-name
Instructs the OBP to use the DHCP server to configure the client.
Specifies the host name you want to assign to the client.
ok boot net - install
The client installs over the WAN. If the WAN boot programs do not find all the necessary installation information, the wanboot program prompts to provide the missing information. Type the additional information at the prompt.
Example 13-6 WAN Boot Installation With a DHCP Server
In the following example, the DHCP server on the network provides client configuration information. This sample requests the host name myclient for the client.
ok setenv network-boot-arguments dhcp, hostname=myclient ok boot net - install Resetting ... Sun Blade 100 (UltraSPARC-IIe), No Keyboard Copyright 1998-2003 Sun Microsystems, Inc. All rights reserved. OpenBoot 4.x.build_28, 512 MB memory installed, Serial #50335475. Ethernet address 0:3:ba:e:f3:75, Host ID: 83000ef3. Rebooting with command: boot net - install Boot device: /pci@1f,0/network@c,1 File and args: - install
See Also
For more information about how to set network boot arguments, see the set(1) man page.
For more information about how to boot a system, see the boot(1M) man page.
For more information about how to configure a DHCP server, see Providing Configuration Information With a DHCP Server.
If your client's OBP does not support WAN boot, you can install with a Oracle Solaris Software - 1 CD inserted in the client's CD-ROM drive. When you use a local CD, the client retrieves the wanboot program from the local media, rather than from the WAN boot server.
This procedure assumes that you are using HTTPS in your WAN installation. If you are performing an insecure installation, do not display or install the client keys.
# wanbootutil keygen -d -c -o net=net-IP,cid=client-ID,type=key-type
The network IP address for the client you are installing.
The ID of the client you are installing. The client ID can be a user-defined ID or the DHCP client ID.
The key type you are installing on the client. Valid key types are 3des, aes, or sha1.
The hexadecimal value for the key is displayed.
ok boot cdrom -o prompt -F wanboot - install
Instructs the OBP to boot from the local CD-ROM.
Instructs the wanboot program to prompt the user to enter client configuration information.
Instructs the OBP to load the wanboot program from the CD-ROM.
Instructs the client to perform a WAN boot installation.
The client's OBP loads the wanboot program from the Oracle Solaris Software - 1 CD. The wanboot program boots the system, and the boot> prompt is displayed.
boot> 3des=key-value
Specifies the hexadecimal string of the 3DES key that is displayed in Step 2.
If you use an AES encryption key, use the following format for this command.
boot> aes=key-value
boot> sha1=key-value
Specifies the hexadecimal string that represents the hashing key value that is displayed in Step 2.
boot> variable=value[,variable=value*]
Type the following variable and value pairs at the boot> prompt:
Specifies the IP address of the client.
Specifies the IP address of the network router.
Specifies the subnet mask value.
Specifies the host name of the client.
Specifies the IP address and port number of the network's proxy server.
Specifies the URL of the wanboot-cgi program on the web server.
Note - The URL value for thebootserver variable must not be an HTTPS URL. The URL must start with http://.
You can enter these variables in the following ways:
Type one variable and value pair at the boot> prompt, then press the Return key.
boot> host-ip=client-IP boot> subnet-mask=mask-value
Type all the variable and value pairs on one boot> prompt line, then press the Return key. Type commas to separate each variable and value pair.
boot> host-ip=client-IP,subnet-mask=mask-value, router-ip=router-IP,hostname=client-name, http-proxy=proxy-IP:port,bootserver=wanbootCGI-URL
boot> go
The client installs over the WAN. If the WAN boot programs do not find all the necessary installation information, the wanboot program prompts to provide the missing information. Type the additional information at the prompt.
Example 13-7 Installing With Local CD Media
In the following example, the wanboot program on a local CD prompts you to set the network interface variables for the client during the installation.
Display the key values on the WAN boot server.
# wanbootutil keygen -d -c -o net=192.168.198.0,cid=010003BA152A42,type=sha1 b482aaab82cb8d5631e16d51478c90079cc1d463 # wanbootutil keygen -d -c -o net=192.168.198.0,cid=010003BA152A42,type=3des 9ebc7a57f240e97c9b9401e9d3ae9b292943d3c143d07f04
The example uses the following information.
Specifies the IP address of the client's subnet
Specifies the client's ID
Specifies the value of the client's HMAC SHA1 hashing key
Specifies the value of the client's 3DES encryption key
If you use an AES encryption key in your installation, change type=3des to type=aes to display the encryption key value.
Boot and install the client.
ok boot cdrom -o prompt -F wanboot - install Resetting ... Sun Blade 100 (UltraSPARC-IIe), No Keyboard Copyright 1998-2003 Sun Microsystems, Inc. All rights reserved. OpenBoot 4.x.build_28, 512 MB memory installed, Serial #50335475. Ethernet address 0:3:ba:e:f3:75, Host ID: 83000ef3. Rebooting with command: boot cdrom -F wanboot - install Boot device: /pci@1f,0/network@c,1 File and args: -o prompt
The following commands perform the following tasks:
Enters the 3DES encryption key with the value 9ebc7a57f240e97c9b9401e9d3ae9b292943d3c143d07f04 on the client
Enters the HMAC SHA1 hashing key with the value b482aaab82cb8d5631e16d51478c90079cc1d463 on the client
Sets the client IP address to 192.168.198.124
Sets the client's subnet mask to 255.255.255.128
Sets the client's router IP address to 192.168.198.1
Sets the client's host name to myclient
Sets the client ID to 010003BA152A42
Sets the location of the wanboot-cgi program to http://192.168.198.135/cgi-bin/wanboot-cgi/
boot> 3des=9ebc7a57f240e97c9b9401e9d3ae9b292943d3c143d07f04 boot> sha1=b482aaab82cb8d5631e16d51478c90079cc1d463 boot> host-ip=192.168.198.124 boot> subnet-mask=255.255.255.128 boot> router-ip=192.168.198.1 boot> hostname=myclient boot> client-id=010003BA152A42 boot> bootserver=http://192.168.198.135/cgi-bin/wanboot-cgi boot> go
See Also
For more information about how to display key values, see the wanbootutil(1M) man page.
For more information about how to set network boot arguments, see the set(1) man page.
For more information about how to boot a system, see the boot(1M) man page.