Setting Up Clients

Now you need to set up the clients to install over the network. After setting up the /export/jumpstart directory and the appropriate files, use the add_install_client command on the install server to set up remote workstations to install Solaris from the install server. The command syntax for the add_install_client command is as follows:

add_install_client –e <ethernet_addr> -i <ip_addr>  
-s <install_svr:/dist> -c <config_svr:/config_dir>  
-p <sysidcfg_svr/sysid_config_dir> -d <client_name> <client_arch> 

The add_install_client options are described in Table 7.19.

Table 7.19. add_install_client Options
Option Description
-e <ethernet_addr> Specifies the ethernet address of the install client and is necessary if the client is not defined in the name service.
-i <ip_addr> Specifies the IP address of the install client and is necessary if the client is not defined in the name service.
-d Specifies the client as a DHCP client.
-s <install_svr:/dist> Specifies the name of the install server (install_svr ) and the path to the Solaris 9 operating environment distribution (/dist ). This option is necessary if the client is being added to a boot server.
-p < sysidcfg_svr/sysid_config_dir> Specifies the configuration server (sysidcfg_svr ) and the path to the sysidcfg file (sysid_config_dir ). This option is available on Solaris 9 OS and later distributions.
<client_name> The hostname for the install client.
-c <config_svr:/config_dir> Specifies the configuration server (config_svr ) and path (/config_dir ) to the configuration directory.
<client_arch> Specifies the platform group of the systems that use <servername> as an install server.

For additional options to the add_install_client command, see the Solaris online manual pages.

In the following steps, I’ll be creating a JumpStart client that will boot from a system that is configured as both the boot and install server. In addition, the entire Solaris 9 media has been copied to the local disk.

Exercise 7.5 Creating a JumpStart Client

Perform the following steps to set up the JumpStart client:

Note

In the following steps, the following associations have been made in the examples:

Install server name ultra5
Distribution directory /export/jumpstart/install
Configuration server name ultra5
Configuration directory /export/jumpstart/config
Boot server name ultra5
Install client client1
Install client’s MAC address 8:20:21:49:25
Client architecture sun4u


1.
On the install server, change to the directory that contains the installed Solaris 9 operating environment image, as follows:

cd /export/jumpstart/Solaris_9/Tools 

2.
Create the JumpStart client using the add_install_client script found in the local directory, as follows:

./add_install_client -s ultra5:/export/jumpstart/install -c ultra5:  
/export/jumpstart -p ultra5:/jumpstart -e 8:0:20:21:49:25 -i  
192.168.1.106 client1 sun4u 

The system responds with the following:

Adding Ethernet number for client1 to /etc/ethers 
Adding "share -F nfs -o ro,anon=0 /export/jumpstart/install" to /etc/dfs/dfstab 
making /tftpboot 
enabling tftp in /etc/inetd.conf 
updating /etc/bootparams 
copying inetboot to /tftpboot 

The add_install_client script automatically made entries into the following files and directory:

/etc/ethers 
8:0:20:21:49:25  client1 

/etc/dfs/dfstab 
share -F nfs -o ro,anon=0 /export/jumpstart 

/etc/bootparams 
client1  root=ultra5:/export/jumpstart/Solaris_9/Tools/Boot  
install=ultra5:/export/jumpstart boottype=:in  
sysid_config=ultra5:/export/jumpstart  
install_config=ultra5:/export/jumpstart rootopts=:rsize=32768 

/tftpboot directory 
lrwxrwxrwx   1 root     other       26 Jun 19 16:11 C0A8016A - 
>inetboot.SUN4U.Solaris_9-1 
lrwxrwxrwx   1 root     other       26 Jun 19 16:11 C0A8016A.SUN4U - 
>inetboot.SUN4U.Solaris_9-1 
-rwxr-xr-x   1 root     other   158592 Jun 19 16:11 inetboot.SUN4U.Solaris_9-1 
-rw-r--r--   1 root     other      317 Jun 19 16:11 rm.192.168.1.106 
lrwxrwxrwx   1 root     other        1 Jun 19 16:11  tftpboot -> . 

3.
Use the rm_install_client command to remove a JumpStart client’s entries and configuration information from the boot server, as follows:

./rm_install_client client1 

The system responds with the following:

removing client1 from bootparams 
removing /etc/bootparams, since it is empty 
removing /tftpboot/inetboot.SUN4U.Solaris_9-1 
removing /tftpboot 
disabling tftp in /etc/inetd.conf

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset