This chapter describes how to use the
ris
utility
to manage 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:
Obtain information about each client and fill out a copy of the RIS Client Configuration Worksheet from Appendix A.
Register each client's host name and Internet Protocol (IP) address with the appropriate naming service Berkeley Internet Name Domain(BIND) Service and Network Information Service(NIS).
You need the following information about each processor you plan to register as a client:
Host name (see Section 6.2 for restrictions on host names)
The RIS environments you want to make available to the client
The hardware platform type of the client (MIPS, Alpha)
The hardware network address of the client
The address of the gateway from the client to the server, is required if the server and client are on different networks
The type of network on which the client resides (Ethernet, FDDI, or Token Ring)
Whether you want to use a profile set during installation
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:
/etc/hosts
Berkeley Internet Name Domain (BIND)
Network Information Service (NIS), formerly called Yellow Pages (YP)
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:
Invoke the
ris
utility by entering the
following command at the root system prompt:
#/usr/sbin/ris
The RIS Utility
Main Menu is displayed.
Choose the option
ADD a client
by entering
a
at the prompt.
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
Enter your choice: a
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's host name at the prompt.
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.
Enter the environment to which you want to add the client. The utility displays the available environments (and the products installed in those environments) to which you can add the new client. Your output will be similar to the following example (which shows five environments):
Select the remote installation environment:
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.0F 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.0F Operating System (Rev nnn)'
'DEC Runtime Library'
4) /usr/var/adm/ris/ris3.alpha
'DIGITAL UNIX V4.0F Operating System (Rev nnn)'
5) /usr/var/adm/ris/ris5.alpha
'Sort Runtime Library'
'Free Software Foundation GNU Source (Rev nnn)'
'DEC Pascal RTL V5.4 for DIGITAL UNIX Systems'
'DEC C++ Class Libraries Version 4.0F for DIGITAL UNIX'
'DEC Ada Runtime Library'
Enter your choice or press RETURN to quit: 4
Enter the number of the product you want this client to be able to install. When the utility asks you to confirm your choices, you can accept them or specify the information again. In the following example, the environment has only one product installed:
Select one or more products for the client to install from /usr/var/adm/ris/ris3.alpha: Product Description 1 'DIGITAL UNIX V4.0F Operating System (Rev nnn)'Enter one or more choices as a space-separated list(for example, 1 2 3) or all for all products [all]:1You chose the following products: 1 'DIGITAL UNIX V4.0F Operating System (Rev nnn)' Is that correct? (y/n) [y]:
If profile sets containing configuration description files (CDFs) exist on the RIS server during the registration of a client, the following message is displayed:
Do you want to specify an Installation Profile Set for use
during the installation of 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 Installation Profile Sets available:
alphastation400 alphastation400a rz26
Enter a set name or press <Return> to exit set selection: rz26
After you enter a CDF profile set, a verification is performed to determine if a CDF exists in the profile set. 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.
Enter the type of network upon which this client resides:
Network type:
1) Ethernet or FDDI
2) Token Ring
Enter your choice: 1
The following message is displayed when the server and client
are on different networks.
The gateway information needed for the client
to connect to the server is stored in the
/var/adm/ris/gateways
file.
RIS displays the default network information if the gateway information
is known, as shown in this example:
Using 16.69.144.199 for gateway address between client and server subnet.
If the network information is unknown, RIS displays the following message. Enter the client's gateway address as shown in the following example:
The gateway IP address between the client's subnet and the server's subnet
is required to register this client. If you do not know the correct gateway
IP address, contact your network administrator. DO NOT enter your system's
IP address.
Enter the IP address of the gateway[s] between the client subnet and server
subnet. (For example, 16.69.144.??). : 16.69.144.183
Enter the client's hardware network address as shown in the following example:
Enter the client processor's hardware network address.For example, 08-00-2b-02-67-e1:08-00-2b-01-16-47
If you do not know the client's hardware network address, you can obtain it in one of the following ways:
On a client that is not currently running (you are at the boot prompt), issue the appropriate console command or commands for that type of client. Console commands are processor-specific, so you must refer to your hardware documentation for the correct commands. With the correct console commands, you can display the current environment variables or show the client's devices. The hardware address associated with the network interface or interfaces is displayed.
On a client running the operating system, log in as
root
and execute the
uerf -r 300
command.
In the output, find the string
hardware address.
Either
that line or the next one contains the hardware address.
For example:
#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 search the output manually
from the
uerf
command to find the correct hardware address.
From the RIS server, you can determine the hardware address
of a running client by using the
ping
and
arp
commands.
To determine the hardware address of the RIS client
atlanta,
enter a command similar to the following example:
#/usr/sbin/ping -q -c1 atlanta; arp atlantaPING atlanta.cities.dec.com (152.90.224.30): 56 data bytes ----atlanta.cities.dec.com PING Statistics---- 1 packets transmitted, 1 packets received, 0% packet loss round-trip (ms) min/avg/max = 0/0/0 ms atlanta (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
risutility 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 fargo -h 08-00-2B-11-16-78 -p ris0.alpha,product_001
To add a client to a RIS area that has hardware product kits, follow these procedures:
Invoke the
ris
utility by entering the
following command at the root system prompt:
#/usr/sbin/ris
The RIS Utility
Main Menu is displayed.
Choose the option
ADD a client
by entering
a
at the prompt.
Checking accessibility of RIS areas.... done
*** RIS Utility Main Menu ***
a) ADD a client
d) DELETE software products
i) INSTALL software products
) LIST registered clients
) MODIFY a client
) REMOVE a client
s) SHOW software products in remote installation environments
x) EXIT
Enter your choice: a
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's host name at the prompt:
Enter the client processor's hostname:columbia
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 following message states the existing environment:
The existing environment is /var/adm/ris/ris0.alpha.
The utility asks you to select the products to install; you may choose more than one.
Select one or more products for the client to install
from /var/adm/ris/ris0.alpha:
Product Description
1 'DIGITAL UNIX X4.0F-4 Operating System ( Rev nnn )' with
'MYVGASTATIC software version 1'
2 'MYVGASTATIC software version 1'
Enter one or more choices as a space-separated list
(for example, 1 2 3) or "all" for all products [all]: all
The utility displays your choices and asks you to verify them:
You chose the following products: 1 'DIGITAL UNIX X4.0F-4 Operating System ( Rev nnn )' with 'MYVGASTATIC software version 1' 2 'MYVGASTATIC software version 1' Is that correct? (y/n) [y]:y
If configuration description files (CDFs) exist on the RIS server during the registration of a client, the following message is displayed:
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: alphastation400.cdf alphastation400a rz26.cdfEnter a CDF name or press <Return> to exit CDF selection:rz26.cdf
After you enter a CDF, the 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.
Enter the type of network to which this client is connected:
Network type:
1) Ethernet or FDDI
2) Token Ring
Enter your choice: 1
Enter the client's hardware network address as shown in the following example:
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
risutility does not verify its validity.
The client is added to RIS:
Client columbia 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:
Invoke the
ris
utility and choose the
m
option to modify a client.
Choose the client you want to modify from the list displayed.
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:
Invoke the
ris
utility and choose the
r
option to remove a client processor.
Enter the name of the client processor to remove when prompted by the utility.
Verify that you want to remove the client processor.
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 also can use a
ris
command line to remove
several
clients at once.
The following example removes the clients
boston
and
tulsa:
#/usr/sbin/ris -r boston tulsa
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 also can use a
ris
command line to show the products installed in a server's area.
For example:
#/usr/sbin/ris -sShow Products in RIS Server Areas: 1 /var/adm/ris/ris0.alpha DIGITAL UNIX V4.0F Operating System (Rev nnn)
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.
To determine if a RIS client is registered to a profile
set, examine the RIS database file,
/var/adm/ris/clients/risdb,
on the
RIS server.
The name of the profile set is specified in the fourth field;
fields
are separated by a colon.
In the following sample entry in the
risdb
file, the client system
portland
is registered to the
engineering
profile set:
portland:08-00-2b-58-89-1c:ris2.alpha,product_1:engineering
You can remove a client from profile set registration by using the
Modify
option from the RIS Utility
Main Menu.
When
you are prompted to specify a profile set for the client, enter
n
or press Return to register the client without specifying a profile set.
If a profile set is no longer needed, you can
delete
it by removing the appropriate
profile_set
directory
from
the directory
/var/adm/ris/clients/sets.
Examine the RIS database file on the RIS server,
/var/adm/ris/clients/risdb, before deleting a profile set to ensure that no clients are registered
to it.
The name of the profile set is specified in the fourth field; fields
are separated
by a colon ( : ).
In the following sample
entry in
the
risdb
file, the client
vallejo
is
registered
to the
accounting
profile set:
vallejo:08-00-2b-58-89-1c:ris2.alpha,product_1:accounting