A typical way to install Trusted Solaris software is to use the installation program to copy the Trusted Solaris CD to the workstation's disk. However, it is uncommon at most sites for every workstation to have its own local CDROM drive.
When a workstation does not have a local CDROM drive, you can perform a network installation. Network installation means that you install software over the network -- from a workstation with the Trusted Solaris CD image on its hard drive to a workstation without a CDROM drive.
Workstations that install Trusted Solaris software over the network require the following servers:
Name server (NIS+ root master) - A workstation that manages a distributed network database (for Trusted Solaris, this is NIS+) containing information about users and hosts on the network.
install server - A networked workstation with the Trusted Solaris CD image that provides installation services for other workstations.
The install server and NIS+ root master may be the same or separate workstations. For best results, create a separate install server.
Boot server - A workstation that contains pointers to platform, and timezone for every workstation to be installed. The install server is often the boot server. Pointers to custom JumpStart installations also are kept on the boot server.
Diskless clients that boot Trusted Solaris software over the network also require:
OS server - A workstation that provides Trusted Solaris operating environment software including services and file systems. For diskless clients, OS servers provide the root (/), /usr, and swap file systems.
To set up your site to install Trusted Solaris software over the network with little user intervention requires the following procedures:
Before configuring servers for network installation, finish the procedure:
Result: The NIS+ root master has the IP address and name of every workstation to be installed in its hosts file and their IP address and host type in its tnrhdb.
Copy the Trusted Solaris CD image to an install server:
Result: The Trusted Solaris 7 image and booting software is available for network install.
Add client information such as timezone, and platform group to a network server:
Result: The Trusted Solaris 7 installation program system identification questions can be answered without user interaction.
Create a boot server for any subnets:
Result: Clients on the boot server's subnet can be installed from the install server, and get important client information from the boot server.
To set up your site to install Trusted Solaris software on workstations over the network with no user intervention, you add JumpStart information:
The following commands and actions enable network installation.
A script that copies all or part of the Trusted Solaris CD onto a server's local disk. This enables you to perform network installations from the install server's disk. See the setup_install_server(1M) man page for more information.
A script that adds client information to a boot server. See the man page add_install_client(1M) for details.
A graphical user interface that is available from the Solstice_Apps folder. You can use Host Manager to specify client information for network installation.
A command that shows mounted file systems, including the Trusted Solaris CD file system. See the mount(1M) page for more information.
A command for determining a workstation's platform group (for example, sun4m). This information is required during network installation. See the uname(1) man page for more information.
A command for resetting the terminal settings and display. It is sometimes useful to use reset before booting. Or, if you boot and see a series of error messages about I/O interrupts, press the L1 or STOP and A keys at the same time, and then enter reset at the ok or > PROM prompt.
A command for displaying workstation information, such as model name, Ethernet address, or memory installed. Available only from the ok or > PROM prompt.
To install workstations over the network, you must have an install server -- a workstation with Trusted Solaris software copied to its local disk. Users who can assume the roles admin, secadmin, and root should be present.
A workstation configured as a NIS+ client can be made into an install server. It must have a local CDROM drive.
Finish the procedures in Chapter 3, Installing a Workstation.
Finish the procedures in Chapter 6, Configuring a NIS+ Client.
Log in as a user who can assume the role root and assume it.
As root, at label admin_low
,
allocate the CDROM drive, and mount it:
Do you want cdrom_n mounted: (y,n)? y |
See "To Allocate a Device" if you are unsure of the steps.
As secadmin, at label admin_low
,
add the /cdrom/cdrom0/setup_install_server command to
the root role's profile.
For the full procedure, see "To Add a Command to a Role's Profile".
As root, at label admin_low
,
verify that the command is available to you.
For the full procedure, see "To Verify That a Command is in a Role's Profile".
As root, in the same terminal where the setup_install_server command was verified, change to the cdrom0 directory.
# cd /cdrom/cdrom0 |
Use the setup_install_server command to copy the contents of the CDROM to a permanent location on the install server.
# ./setup_install_server install_dir_path |
Specifies the directory where the Trusted Solaris CD image will be copied. You can substitute any directory path.
For example, the following command copies the Trusted Solaris CD image from the Trusted Solaris CD to the /export/install/ts7_sparc directory on the local disk:
./setup_install_server /export/install/ts7_sparc |
The copying takes approximately 30 minutes, depending on the speed of your CDROM drive.
The setup_install_server command indicates if there is not enough disk space for the Trusted Solaris CD image. Use the df -kl command to determine available disk space.
If there are no boot servers to install, as secadmin at label admin_low
, remove the /cdrom/cdrom0/setup_install_server script from the Custom Root Role.
For the procedure, see "To Remove a Command from a Role's Profile".
As root, at label admin_low
,
deallocate the drive and remove the CDROM.
See "To Deallocate a Device" if you are unsure of the steps.
Result: The workstation now has the Trusted Solaris CD image on its local disk.
This procedure is optional for network install, but required for custom JumpStart.
Log in to a Trusted Solaris workstation as a user who can assume the role admin.
As role admin, at label admin_low
,
open the Hosts database using the NIS+ naming service.
See "To Open and Modify a Solstice_Apps Database" if you are unfamiliar with the steps.
Select the NIS+ root master and press the Return key.
Add timehost as a value of the NIS+ root master's Aliases field.
The entry will look like:
NIS+_master_host_name IP_address loghost timehost |
Exit the database.
Result: The date and time will be automatically set during install.
Continue with "Add Client Information for a Network Install".
Once you have an install server set up, you then provide basic system information about the workstations (hosts) that you are going to install. You also add the Trusted Solaris configuration information.
You have a choice of two methods for entering the information:
Using the Host Manager with the NIS+ naming service.
Use this method to have the NIS+ name service provide the client information. This is the most efficient method.
Using the add_install_client(1M) command to modify the install server's local files.
Use this method if you have scripts that run the add_install_client command for your clients.
On the install server, log in as a user who can assume the role admin.
As role admin, at label admin_low
,
launch the Host Manager using the NIS+ naming service.
See "To Open and Modify a Solstice_Apps Database" if you are unfamiliar with the steps.
If the workstation already exists, select it in the Host Manager main window, choose Edit > Convert > Standalone.
If the workstation does not already exist, add it by choosing Edit > Add.
For each workstation, fill out the host information.
Enable remote install.
Complete all fields up to the Boot Server.
Entry |
Value |
Host Name |
|
IP Address |
|
Ethernet Address |
|
System Type |
|
Timezone Region |
|
Timezone |
|
Remote Install |
4 Enable Remote Install |
Install Server |
install_server_name (entered for you) |
Set Path |
/export/install/ts7_sparc (sample) |
OS release |
Choose client's platform group and software cluster |
Boot Server
|
boot_server_name (if separate server) path to boot file |
Profile Server |
Enter JumpStart directory (for Custom JumpStart). |
If the Ethernet address field was not filled in, choose the workstation, choose Edit > Modify, and enter the Ethernet address.
Choose File > Save Changes.
The window prints "All changes successful" when finished.
Repeat for all hosts to be installed over the network.
Go to "Check Client Information".
If you added hosts with the Host Manager, do not add information locally, as this command does.
On the install server, as secadmin at label admin_low
, add the add_install_client and rm_install_client commands to the root role's profile.
The path to the commands is install_dir_path. For the continuing example, the path is /export/install/ts7_sparc.
See "To Add a Command to a Role's Profile" for the full procedure.
On the install server, as root at label admin_low
, launch the Name Service Switch action.
Ensure that the value of ethers and bootparams is files nisplus, as in:
ethers: files nisplus dns netmasks: files nisplus dns bootparams: files nisplus dns
As root, verify that the commands add_install_client and rm_install_client are in your profile.
# clist -p | grep install_client It should display: /export/install/ts7_sparc/add_install_client: all /export/install/ts7_sparc/rm_install_client: all |
See "To Verify That a Command is in a Role's Profile" for the full procedure.
Change to the Trusted Solaris boot information directory.
# cd boot_dir_path |
For example, if the boot server is also the install server:
# cd /export/install/ts7_sparc |
Run the add_install_client(1M) command for every client you plan to install over the network.
# ./add_install_client [ -e ethernet_address ] \ -s install_server:install_dir_path host_name platform_group |
Specifies the ethernet address.
Specifies the install server.
install_server is the host name of the install server. install_dir_path is the absolute path name of the directory that has the copy of the Trusted Solaris CD image.
Is the host name of the standalone workstation or the server receiving the network installation. The host must be in the NIS+ name service for this command to work.
Is the platform group (sun4c, sun4m, sun4u) of the host being installed. (For a detailed list of platform groups, see Solaris 7 Sun Hardware Platform Guide.)
For example, issuing the command:
# ./add_install_client -e 8:0:20:17:22:a4 \ -s heron:/export/install/ts7_sparc willet sun4m |
Creates (if necessary) and copies boot information to the boot server's local bootparams database.
Creates (if necessary) and copies ethernet information to the boot server's local ethers file.
Creates (if necessary) and sets up the /tftpboot directory on the boot server with an entry for willet, whose platform group is sun4m.
Points the client to platform information on the install server's (heron's) file system, /export/install/ts7_sparc.
Result: The client willet can be installed over the network.
As secadmin, at label admin_low
,
remove the add_install_client script from the Custom Root
Role.
See "To Remove a Command from a Role's Profile" for the full procedure.
Go to "Check Client Information".
As root, at label admin_low
,
verify that rm_install_client is in the root profile shell.
# clist -p | grep rm_install_client It should display: /export/install/ts7_sparc/rm_install_client: all |
Change to the Trusted Solaris boot information directory.
# cd boot_dir_path |
As root, at label admin_low
,
run the rm_install_client command for every client you
plan to remove from the network install.
# ./rm_install_client host_name |
Once all clients are removed, assume the role secadmin and remove the rm_install_client script from the Custom Root Role.
See "To Remove a Command from a Role's Profile" for the full procedure.
Follow this procedure to verify that the bootparams file contains the required information.
As role admin, at label admin_low
,
open the Database Manager, and choose the appropriate naming service before
loading the bootparams database.
Scroll through a host's entry to locate the keyword=value pair:
install_server=server:install_dir_path
Network installation is now ready on network servers that have one network interface.
If there are subnets, continue with "Create a Boot Server on a Subnet".
Otherwise, go to "Reboot the Install Server".
You can install Trusted Solaris software over the network from any install server on the network. However, a workstation using an install server on another subnet requires a separate boot server on its own subnet.
If the boot server and the install server are the same workstation, skip this procedure. The install server is the boot server. Go to "Reboot the Install Server".
Follow Step 1 in "Create an Install Server".
Determine your next step based on whether the boot server uses a local CDROM drive or an NFS mount of a Trusted Solaris CD image.
If the Boot Server Uses ... |
Then ... |
---|---|
Local CDROM drive |
|
NFS mount of a Trusted Solaris CD image |
|
As root, at label admin_low
,
allocate the CDROM drive.
The device should be allocated at the label admin_low
and mounted.
Do you want cdrom_n mounted: (y,n)? y |
Check that the setup_install_server command is in the profile shell.
# clist -p | grep setup_install_server It should display: /cdrom/cdrom0/setup_install_server: all |
If the command is not available, place the command in the profile before continuing. See "To Add a Command to a Role's Profile" and "To Verify That a Command is in a Role's Profile" for the full procedure.
Change directory to the Trusted Solaris image.
# cd /cdrom/cdrom0 |
As root, at label admin_low
,
use the setup_install_server command with the -b option to set up a separate boot server for the subnet.
The setup_install_server -b command copies all supported platform information to the local disk.
# ./setup_install_server -b boot_dir_path |
Specifies that the workstation will be set up as a boot server.
Specifies the directory where the platform information will be copied. You can substitute any directory path.
For example, the following command copies platform information from the mounted Trusted Solaris CD to the /export/bootdir/ts7_sparc directory on the boot server:
# ./setup_install_server -b /export/bootdir/ts7_sparc |
The workstation is now configured as a boot server.
After all boot servers are installed, as secadmin at label admin_low
, remove the /cdrom/cdrom0/setup_install_server script from the Custom Root Role.
For the procedure, see "To Remove a Command from a Role's Profile".
Before installing clients across the network, you must reboot the server.
Shut down the install server from the TP (Trusted Path) menu.
If you are unfamiliar with rebooting a Trusted Solaris workstation, see "To Reboot the Workstation".
Result: The rpc.tbootparamd (Trusted bootparams daemon) can now start.
Follow the network installation procedure, "SPARC: Install over the Network" in Chapter 3, Installing a Workstation.
Clients will get platform, ethernet, and other system identification information from network files.
The installation program will prompt for information that is not on the install or boot server, such as how to partition the disks.