This chapter describes how to use the ris utility to manage Digital UNIX RIS environments and clients. Topics include:
Before you register RIS clients, gather the information required for each one. The RIS Client Configuration Worksheet in Appendix A will help you organize your information as you register clients. Fill out a worksheet for each client you want to register.
Perform the following tasks to prepare to register clients:
You need the following information about each processor you plan to register as a client:
If the host system is served by any of the following naming services, check with your site administrator to be sure that your clients are registered with the appropriate naming service servers:
See the Network Administration guide for information about configuring naming services on a local area network and registering clients with them.
To add a client processor to RIS, follow these procedures:
#
/usr/sbin/ris
The RIS Utility Main Menu is displayed. Choose the option ADD a client by entering a at the prompt.
Enter your choice: a
Checking accessibility of RIS areas.... done
*** RIS Utility Main Menu ***
a) ADD a client d) DELETE software products i) INSTALL software products l) LIST registered clients m) MODIFY a client r) REMOVE a client s) SHOW software products in remote installation environments x) EXIT
The following message is displayed:
You have chosen to add a client for remote installation services.
The following conditions must be met to add a client:
1. You must know the client processor's hostname. 2. The client's hostname must be in your system's host database(s). 3. You must know whether the client is on an Ethernet, FDDI, or Token Ring network. 4. You must know the client's hardware Ethernet, FDDI, or Token Ring address if the client is registering to install operating system software. 5. If the client and the server reside on different subnets, you will need the address of the gateway(s) that the client can use to communicate with the server.
Do you want to continue? (y/n) [y]:
If you enter n, the utility returns to the RIS Utility Main Menu. If you enter y, a prompt asks for the client's host name.
Enter the client processor's hostname:
client1
Only lowercase letters (a-z), numbers and the period (.) and dash (-) are permitted in host names, and a host name must begin with a letter. Invalid host names can corrupt the RIS database. Additionally, the client must not be registered on another RIS or DMS server as a client.
The client processor must be registered with the appropriate naming service or you cannot register the client with RIS. If the client is not registered with the appropriate naming service, the utility displays an error message and repeats the prompt.
Select the remote installation environment:Enter your choice or press RETURN to quit: 4
1) /usr/var/adm/ris/ris0.alpha 'Sort Runtime Library' 'Free Software Foundation GNU Source (Rev 214)' 'DEC Pascal RTLB V5.4 for Digital UNIX Systems' 'DEC C++ Class Libraries Version 4.0 for Digital UNIX' 'DEC Ada Runtime Library'
2) /usr/var/adm/ris/ris1.alpha 'POLYCENTER advanced File System' 'DECsafe Available Server Environment (ASE)' 'System V Environment'
3) /usr/var/adm/ris/ris2.alpha 'Digital UNIX V4.0 Operating System ( Rev xxx)' 'DEC Runtime Library'
4) /usr/var/adm/ris/ris3.alpha 'Digital UNIX V4.0 Operating System (Rev xxx)'
5) /usr/var/adm/ris/ris5.alpha 'Sort Runtime Library' 'Free Software Foundation GNU Source (Rev xxx)' 'DEC Pascal RTL V5.4 for Digital UNIX Systems' 'DEC C++ Class Libraries Version 4.0 for Digital UNIX' 'DEC Ada Runtime Library'
Select one or more products for the client to install from /usr/var/adm/ris/ris3.alpha:Enter one or more choices as a space-separated list
Product Description 1 'Digital UNIX V4.0 Operating System (Rev xxx)'
You chose the following products:
1 'Digital UNIX V4.0 Operating System (Rev xxx)'
Is that correct? (y/n) [y]:
Do you want to specify a Configuration Description File (CDF)for Installation Cloning on this client? [y/n] [n] : y
If you do not want to specify a CDF, for installation cloning chose n.
If you enter y, RIS displays a list of the CDFs on the RIS server:
This RIS server has the following Configuration Description Files (CDF) available:Enter a CDF name or press <Return> to exit CDF selection:
alphastation400.cdf alphastation400a rz26.cdf
After you enter a CDF, CDF verification is performed. The verification determines if the products in the RIS environment to which the client is registered and the products specified in the CDF are the same. The CDF is also validated as suitable for installation cloning. If you decide not to register a client for a cloned installation or cannot determine a CDF to use, continue with the client registration by pressing Return.
Network type:Enter your choice: 1
1) Ethernet or FDDI 2) Token Ring
The following are the known gateway[s] between the client
subnet and server subnet. If these values[s] are not correct,
please enter the proper addresses[s].
If these values are correct press Return.
(For example, 16.69.144.???):
[16.69.144.199]
If the network information is unknown, RIS displays the following message. Enter the client's gateway address as shown in the following example:
Enter the IP address of the gateway[s] between the client
subnet and server subnet:
(For example, 16.69.144.???):
[16.69.144.199]
Enter the client processor's hardware network address.
For example, 08-00-2b-02-67-e1:
08-00-2b-39-96-68
If you do not know the client's hardware network address, you can obtain it in one of the following ways:
#
uerf -r 300 | grep -i "hardware address" | uniq
_hardware address: 08-00-2f-ef-1f-10
If the hardware address is on the line following the one that contains the string hardware address, you must manually search the output from the uerf command to find the correct hardware address.
#
/usr/sbin/ping -q -c1 spike; arp spike
PING spike.cities.dec.com (152.90.224.30): 56 data bytes
----spike.cities.dec.com PING Statistics---- 1 packets transmitted, 1 packets received, 0% packet loss round-trip (ms) min/avg/max = 0/0/0 ms spike (152.90.224.30) at 08-00-2B-03-09-BF
The hardware address in this case is 08-00-2B-03-09-BF.
If you do not enter the address in the correct format, the utility displays an error message and repeats the prompt.
Note
Except for checking the format of the number you enter, the ris utility does not verify its validity.
When you enter the hardware network address in the correct format, the following message is displayed:
Client client1 has been added.
You can add a single RIS client from the command line by invoking the ris utility with its -a option. Other options supply the network address, path, and product list. The syntax of the command is:
/usr/sbin/ris -a clientname -h network-address -p path,product [ ,product... ]
For example:
#
/usr/sbin/ris -a minaret -h 08-00-2B-03-05-8B -p \
ris0.alpha,product_001
To add a graphics kit to RIS, follow these procedures:
#
/usr/sbin/ris
The RIS Utility Main Menu is displayed. Choose the option ADD a client by entering a at the prompt.
Enter your choice: a
Checking accessibility of RIS areas.... done
*** RIS Utility Main Menu ***
a) ADD a client d) DELETE software products i) INSTALL software products l) LIST registered clients m) MODIFY a client r) REMOVE a client s) SHOW software products in remote installation environments x) EXIT
The following message is displayed:
You have chosen to add a client for remote installation services.
The following conditions must be met to add a client:
1. You must know the client processor's hostname. 2. The client's hostname must be in your system's host database(s). 3. You must know whether the client is on an Ethernet, FDDI, or Token Ring network. 4. You must know the client's hardware Ethernet, FDDI, or Token Ring address if the client is registering to install operating system software. 5. If the client and the server reside on different subnets, you will need the address of the gateway(s) that the client can use to communicate with the server.
Do you want to continue? (y/n) [y]:
If you enter n, the utility returns to the RIS Utility Main Menu. If you enter y, a prompt asks for the client's host name.
Enter the client processor's hostname:
ejfudd
Only lowercase letters (a-z), special characters dash (-), and dot (.), and numbers are permitted in host names, and a host name must begin with a letter, not a number. Invalid host names can corrupt the RIS database. Additionally, the client must not be registered on another RIS or Dataless Management Services (DMS) server for bootp services.
The client processor must be registered with the appropriate naming service or you cannot register the client with RIS. If the client is not registered with the appropriate naming service, the utility displays an error message and repeats the prompt.
The existing environment is /usr/var/adm/ris/ris0.alpha.
Select one or more products for the client to install from /usr/var/adm/ris/ris0.alpha:
Product Description 1 'Digital UNIX V4.0 operating System ( Rev xxx )' 2 'Digital UNIX V4.0 operating System ( Rev xxx )' w/ 'ESA Kit ESABASE100'
The products displayed are both operating system base products. Select only one of these products.
Enter one or more choices as a space-separated list
(for example, 1 2 3) or all for all products [all]:
2
You chose the following products:
2 'Digital UNIX V4.0 operating System (Rev xxx)' w/ 'ESA Kit ESABASE100'
Is that correct? (y/n) [y]:
Do you want to specify a Configuration Description File (CDF)for Installation Cloning on this client? [y/n] [n] : y
If you do not want to specify a CDF, for installation cloning chose n.
If you enter y, RIS displays a list of the CDFs on the RIS server:
This RIS server has the following Configuration Description Files (CDF) available:Enter a CDF name or press <Return> to exit CDF selection:
alphastation400.cdf alphastation400a rz26.cdf
After you enter a CDF, CDF verification is performed. The verification determines if the products in the RIS environment to which the client is registered and the products specified in the CDF are the same. The CDF is also validated as suitable for installation cloning.
If you decide not to register a client for a cloned installation or cannot determine a CDF to use, continue with the client registration by pressing Return.
Network type:Enter your choice: 1
1) Ethernet or FDDI 2) Token Ring
Enter the client processor's hardware network address.
For example, 08-00-2b-02-67-e1:
08-00-2b-39-96-68
If you do not enter the address in the correct format, the utility displays an error message and repeats the prompt.
Note
Except for checking the format of the address you enter, the ris utility does not verify its validity.
If the kernel does not already exist for this combination of the base product and graphics device kit, RIS automatically runs doconfig to build a new generic Install kernel.
A new generic Install kernel for the client systems is built, which includes support for the graphics devices.
The following messages are displayed as the kernel is being built.
*** KERNEL CONFIGURATION AND BUILD PROCEDURE ***
Saving /usr/sys/conf/INSTALL as /usr/sys/conf/INSTALL.bck
Do you want to edit the configuration file? (y/n) [n]:
*** PERFORMING KERNEL BUILD *** Working....Thu Aug 24 13:18:27 EST 1995 Working....Thu Aug 24 13:20:29 EST 1995 Working....Thu Aug 24 13:22:30 EST 1995 Working....Thu Aug 24 13:24:34 EST 1995 Working....Thu Aug 24 13:26:35 EST 1995 Working....Thu Aug 24 13:28:38 EST 1995 Working....Thu Aug 24 13:30:39 EST 1995 Working....Thu Aug 24 13:32:42 EST 1995 Working....Thu Aug 24 13:34:59 EST 1995 Image requires 59600 bytes Loading /usr/sys/bin/sboot text at 20000000 len=cf40 data at 2000cf40 len=1990 entry at 20000000 Image requires 6216496 bytes Loading /usr/sys/INSTALL/vmunix text at fffffc0000230000 len=4ac110 data at fffffc00006dc110 len=141a20 entry at fffffc000044e180 1+0 records in 1+0 records out
The new kernel is /usr/sys/INSTALL/vmunix
The network kernel is /usr/sys/INSTALL/.vmunix
The new kernel (vmunix) and network kernel (.vmunix) will now be copied into the required locations in the RIS area.
Client ejfudd has been added.
You can modify a RIS client's network type, hardware network address, its RIS environment information, and the list of products it can install. You cannot modify a client's IP or routing information. To modify a client's entry, follow these steps:
The remainder of the modification procedure is similar to the procedure for registering a client, as described in Section 6.1.
Follow these steps to remove a client:
After you confirm your choice, the utility deletes the client's registration.
When removal is complete, the utility returns you to its main menu.
You can also use a
ris
command line to remove several clients at once.
The following example removes the clients
houri
and
scimitar:
#
/usr/sbin/ris -r houri scimitar
To view the registered clients, invoke the ris utility and choose the List Registered Clients option. If there are no registered clients, the utility indicates this fact.
To view the current products in a server's area, invoke the ris utility and choose the option to show products.
You can also use a
ris
command line to show the products installed in a server's area. For
example:
#
/usr/sbin/ris -s
Show Products in RIS Server Areas:
1 /var/adm/ris/ris0.alpha Digital UNIX V4.0 Operating System (Rev xxx)
To delete one or more of the current products in a RIS area, invoke the ris utility and choose the option to delete products. The utility asks you to choose a RIS area and then guides you through the procedure to delete products.