|
|
|
|
|
Network Installation Over the Same Subnet (Examples)
This section includes the following examples.
Example 7-1: SPARC: Install on the Same Subnet (With DVD Media)
Example 7-2: SPARC: Install on the Same Subnet (With CD Media)
Example 7-3: x86: Install on the Same Subnet (With DVD Media)
Example 7-4: x86: Install on the Same Subnet (With CD Media)
Example 7-1 SPARC: Install Over the Same Subnet (With DVD Media)This example creates a SPARC install server with SPARC DVD media. This example has the following conditions:
The install client is on the same subnet as the install server.
The network installation uses a graphical user interface (GUI) in a desktop session.
General conditions for this example are listed at Chapter 7, Installing Over the Network (Examples).
Create and set up a SPARC install server. This example creates an install server by copying the Solaris DVD to the install server's /export/home/dvdsparc directory.
Insert the Solaris DVD in the SPARC system's drive.
Use the following command to create a directory to contain the DVD image. This command also changes to the Tools directory on the mounted disc. Then the command copies the DVD image in the drive to the install server's hard disk. # mkdir -p /export/home/dvdsparc
# cd /cdrom/cdrom0/s0/Solaris_11/Tools
# ./setup_install_server /export/home/dvdsparc
Install the system with a network installation image. In this example, you install with the Solaris interactive installation GUI.
Boot the system from the network.
To install with the Solaris interactive installation GUI, type the following command. ok bootnet - install The system installs from the network.
If you are prompted, answer the system configuration questions. If you preconfigured all of the system information, the installation program does not prompt you to enter any configuration information. After you confirm the system configuration information, the Welcome to Solaris panel appears. The installation is complete.
For a more detailed explanation about the network installation procedures that are used
in this example, see Chapter 5, Installing From the Network With DVD Media (Tasks). Example 7-2 SPARC: Install Over the Same Subnet (With CD Media)This example creates a SPARC install server with SPARC CD media. This example has the following conditions:
The install client is on the same subnet as the install server.
The network installation uses a graphical user interface (GUI) in a desktop session.
General conditions for this example are listed at Chapter 7, Installing Over the Network (Examples).
Create and set up a SPARC install Server. The following example illustrates how to create an install server by copying the CD media to the install server's /export/home/cdsparc directory.
Insert the Solaris Software for SPARC Platforms - 1 CD in the system's CD-ROM drive.
Use the following command to create a directory for the CD image. This command also changes to the Tools directory on the mounted disc, and copies the image in the drive to the install server's hard disk. # mkdir -p /export/home/cdsparc
# cd /cdrom/cdrom0/s0/Solaris_11/Tools
# ./setup_install_server /export/home/cdsparc
# cd /
Add systems to be installed from the network.
Insert the Solaris Software for SPARC Platforms - 2 CD in the CD-ROM drive.
Use the following command. This command changes to the Tools directory on the mounted CD. The command copies the CD in the CD-ROM drive to the install server's hard disk. Then the command changes to the root (/) directory. # cd /cdrom/cdrom0/s0/Solaris_11/Tools
# ./add_to_install_server /export/home/cdsparc
# cd /
Repeat the previous commands for each Solaris Software CD that you want to install.
Insert the first Solaris Languages for SPARC Platforms CD in the CD-ROM drive. # cd /cdrom/cdrom0/s0/Solaris_11/Tools
# ./add_to_install_server /export/home/cdsparc
Eject CD.
Repeat Steps 2d-2e for each Solaris Languages for SPARC Platforms CD.
Install the system with a network installation image.
Boot the system from the network.
To install with the Solaris interactive installation GUI, type the following command. ok boot net The system installs from the network.
If you are prompted, answer the system configuration questions. After you confirm the system configuration information, the Welcome to Solaris panel appears. The installation is complete.
For a more detailed explanation about the network installation procedures that are used
in this example, see Chapter 6, Installing From the Network With CD Media (Tasks). Example 7-3 x86: Install Over the Same Subnet (With DVD Media)This example creates an x86 install server with x86 DVD media. This example has the following conditions:
The install client is on the same subnet as the install server.
The network installation uses a graphical user interface (GUI) in a desktop session.
General conditions for this example are listed at Chapter 7, Installing Over the Network (Examples).
Create and set up an x86 install server. The following examples illustrate how to create an x86 install server by copying the Solaris Operating System for x86 Platforms DVD to the install server's /export/home/dvdx86 directory.
Insert the Solaris DVD into the system's drive.
Use the following command. This command creates a directory to contain the boot image. Then this command changes to the Tools directory on the mounted disc. Also, the command copies the disc in the drive to the install server's hard disk by using the setup_install_server command: # mkdir -p /export/home/dvdx86
# cd /cdrom/cdrom0/Solaris_11/Tools
# ./setup_install_server /export/home/dvdx86
Make the install server available to the boot server by using either the share command or the sharemgr utility.
Using the share command, add this entry to the /etc/dfs/dfstab file. share -F nfs -o ro,anon=0 -d "install server directory" /export/home/dvdx86
Using the sharemgr utility, enter the following commands: # sharemgr add-share -d “install server directory” -s /export/home/dvdx86 default # sharemgr set -P nfs -S sys -p ro="*" -s /export/home/dvdx86 default # sharemgr set -P nfs -p anon=0 -s /export/home/dvdx86 default
Check if the nfsd daemon is online. If the nfsd daemon is not online, start it and share it.
Note - If you are using the sharemgr utility, omit the shareall command.
# svcs -l svc:/network/nfs/server:default
# svcadm enable svc:/network/nfs/server
# shareall
# cd /
Note - If the install server was running the Solaris 9 OS, or compatible version, you would type the following command instead. # ps -ef | grep nfsd For this older release, if the nfsd daemon was running, you would continue to the next step. If the nfsd daemon was not running, you would start it. # /etc/init.d/nfs.server start
Add systems to be installed from the network. The file system /export/home/dvdx86/ contains the add_install_client command. The install client is named basil, which is an x86 system.
Add the client to the install server's /etc/ethers file. On the client, find the ethers address. The /etc/ethers map is taken from the local file. # ifconfig -a grep ether
ether 8:0:20:b3:39:1d On the install server, open the /etc/ethers file in an editor. Add the address to the list.
Use the following command. This command changes to the Tools directory on the Solaris DVD image. Then, this command sets up the client system so that it can be installed from the network. install_server# cd /export/home/dvdx86/Solaris_11/Tools
install_server# ./add_install_client basil i86pc
Install the system with a network installation image. The Solaris installation programs for x86 based systems use the GRUB boot loader. This example installs an x86 based system over the network with the GRUB boot loader.
In the system BIOS, instruct the system to boot from the network. After you exit BIOS, the system installs from the network. The GRUB menu is displayed.
To install the Solaris OS from the network, select the appropriate Solaris entry on the menu, then press Enter. The installation selection screen is displayed.
To install with the Solaris interactive installation GUI, type 1, then press Enter. The installation program begins.
If you are prompted, answer the system configuration questions. After you confirm the system configuration information, the Welcome to Solaris panel appears. After the system boots and installs over the network, instruct the system to boot from the disk drive on subsequent boots.
Note - When you boot the system after the installation, a GRUB menu lists the operating systems that are installed, including the newly-installed Solaris OS. Select which operating system you want to boot. The default selection loads if you do not make another selection.
For further information, see the following references. Example 7-4 x86: Install Over the Same Subnet (With CD Media)This example creates an x86 install server with x86 CD media. This example has the following conditions:
The install client is on the same subnet as the install server.
The network installation uses a graphical user interface (GUI) in a desktop session.
General conditions for this example are listed at Chapter 7, Installing Over the Network (Examples).
Create and set up an x86 install server. The following steps create an install server by copying the following CDs to the install server's /export/home/cdx86 directory.
Insert the Solaris Software - 1 CD in the system's drive.
Use the following command. This command creates a directory for the CD image and changes to the Tools directory on the mounted disc. This command then copies the image in the drive to the install server's hard disk. # mkdir -p /export/home/cdx86
# cd /cdrom/cdrom0/Solaris_11/Tools
# ./setup_install_server /export/home/cdx86
Insert the Solaris Software - 2 CD in the system's CD-ROM drive.
Use the following command. This command changes to the Tools directory on the mounted CD. Then this command copies the CD in the CD-ROM drive to the install server's hard disk and changes to the root (/) directory. # cd /cdrom/cdrom0/Solaris_11/Tools
# ./add_to_install_server /export/home/cdx86
# cd /
Repeat the previous commands for each Solaris Software CD that you want to install.
Insert the first Solaris Languages CD in the system's CD-ROM drive.
Use the following command. This command changes to the Tools directory on the mounted CD. This command then copies the CD in the CD-ROM drive to the install server's hard disk. # cd /cdrom/cdrom0/Solaris_11/Tools
# ./add_to_install_server /export/home/cdx86
Eject CD.
Repeat Steps 1f-1h for each Solaris Languages CD.
Add systems to be installed from the network. In this example, the install client is named basil, which is an x86 system. The file system /export/home/cdx86/Solaris_11/Tools contains the add_install_client command.
Add the client to the install server's /etc/ethers file. On the client, find the ethers address. The /etc/ethers map is taken from the local file. # ifconfig -a grep ether
ether 8:0:20:b3:39:1d
On the install server, open the /etc/ethers file in an editor. Add the address to the list.
Use the following command. This command changes to the Tools directory on the current Solaris release CD image on the install server. Then this command adds the client system to be installed from the network. install_server# cd /export/home/cdx86/Solaris_11/Tools
install_server# ./add_install_client basil i86pc
Install the system with a network installation image. This step describes how to install an x86 based system over the network with the GRUB boot loader.
In the system BIOS, instruct the system to boot from the network. After you exit BIOS, the system installs from the network. The GRUB menu is displayed.
To install the Solaris OS from the network, select the appropriate Solaris entry on the menu, then press Enter. The installation selection screen is displayed.
To install with the Solaris interactive installation GUI, type 1, then press Enter. The installation program begins.
If you are prompted, answer the system configuration questions. After you confirm the system configuration information, the Welcome to Solaris panel appears.
After the system boots and installs over the network, instruct the system to boot from the disk drive on subsequent boots.
Note - When you boot the system after the installation, a GRUB menu lists the operating systems that are installed, including the newly-installed Solaris OS. Select which operating system you want to boot. The default selection loads if you do not make another selection.
For further information, see the following references.
|
|
|
|
|