C H A P T E R  7

Configuration

This chapter describes how to configure the Sun Ray server. Procedures in this chapter include:

For more details on Sun Ray network configuration, see Chapter 7 of the Sun Ray Server Software 4.0 Administrator's Guide.



Note - If Apache Tomcat 5.5 is not already installed on your system, see Sun Ray Admin GUI Web Server Requirements before proceding..



Configuring the Sun Ray Server


procedure icon  Configure a Dedicated Sun Ray Interconnect Interface

1. Log in as the superuser of the Sun Ray server, either locally or remotely.

2. Open a shell window and change to the following directory:


# cd /opt/SUNWut/sbin



Note - Make sure that the /etc/hosts file contains the following entry:
ip-address of the system hostname


3. Configure the Sun Ray interconnect interface:


# ./utadm -a interface-name

where interface-name is the name of the interface to the Sun Ray interconnect, for example: eth1.

The utadm script begins configuring DHCP for the Sun Ray interconnect, restarts the DHCP daemon, and configures the interface. The script then lists the default values and asks if they are acceptable.



caution icon Caution - If the IP addresses and DHCP configuration data are not set up correctly when the interfaces are configured, the failover feature cannot work properly. In particular, configuring the Sun Ray server's interconnect IP address as a duplicate of any other server's interconnect IP address may cause the Sun Ray Authentication Manager to generate "Out of Memory" errors.


4. If you are satisfied with the default values, and the server is not part of a failover group, answer y.

5. Otherwise, answer n and accept whatever default values are shown by pressing return or provide the correct values from the worksheet.

The utadm script prompts for the following:

6. The utadm script again lists the configuration values and asks if they are acceptable. Answer appropriately.

The utadm script configures the Sun Ray DTU firmware versions and restarts the DHCP daemon.

7. Repeat Step 1 through Step 6 for each of the secondary servers in your failover group.

8. Go to Configure Sun Ray Server Software.


procedure icon  Configure the Sun Ray Server on a LAN

1. Log in as the superuser of the Sun Ray server.

You can log in locally or remotely use the rlogin or telnet commands.

2. Open a shell window and change to the following directory:


# cd /opt/SUNWut/sbin

3. Configure the Sun Ray LAN subnet:


# ./utadm -A subnet#

Where subnet# is the name (really a number) of the subnet, such as 192.168.128.0.

The utadm script begins configuring DHCP for the Sun Ray interconnect, restarts the DHCP daemon, and configures the interface. The script then lists the default values and asks if they are acceptable.



caution icon Caution - If the IP addresses and DHCP configuration data are not set up correctly when the interfaces are configured, the failover feature cannot work properly. In particular, configuring the Sun Ray server's subnet IP address as a duplicate of any other server's subnet IP address may cause the Sun Ray Authentication Manager to throw "Out of Memory" errors.


4. If you are satisfied with the default values, and the server is not part of a failover group, answer y.

5. Otherwise, answer n and accept whatever default values are shown by pressing return or provide the correct values from the worksheet.

The utadm script prompts for the following:

6. The utadm script again lists the configuration values and asks if they are acceptable. Answer appropriately.

7. Repeat Step 1 through Step 6 for each of the secondary servers in your failover group. See Configure Sun Ray Server Software.

8. Proceed to Configure Sun Ray Server Software.


procedure icon  Turn the Sun Ray LAN Connection On or Off

When you configure a Sun Ray server for a shared network, the utadm -A command enables the server's LAN connection. If you do not use utadm -A, however, and you still wish to enable or disable the LAN connection, use this procedure.

When the LAN connection is turned off, Sun Ray DTUs on the LAN cannot attach to the server.



Tip - If you plan to use an existing DHCP server to provide Sun Ray parameters, use this procedure to turn the LAN connection on or off on the Sun Ray server.


1. Log in as the superuser of the Sun Ray server, either locally or remotely.

2. Turn the Sun Ray LAN connection on:


# /opt/SUNWut/sbin/utadm -L on



Tip - Use utadm -l to verify the current setting for Sun Ray LAN connection. To disable all Sun Ray LAN connections, use utadm -L off.


3. Restart services as prompted:


# utrestart


procedure icon  Configure Sun Ray Server Software

1. If you have not already done so, log in as the superuser of the Sun Ray server.

You can log in locally or remotely use the rlogin or telnet commands.

2. Open a shell window and change to the following directory:


# cd /opt/SUNWut/sbin

3. Configure Sun Ray Server Software.


# ./utconfig

4. Accept the default utconfig values shown by pressing Return or provide the correct values from the worksheet.

The utconfig script prompts for the following:



Note - All servers in a failover group must use the same administration password.


The utconfig script begins configuring Sun Ray Server Software.

The Sun Ray Data Store is restarted.



Note - The utconfig script states that you must restart the authentication manager. This happens automatically when you reboot the Sun Ray server.


The utconfig script ends, indicating a log file is available at the following locations:


/var/log/SUNWut/utconfig.year_month_date_hour:minute:second.log

Where the year, month, etc are represented by numeric values reflecting the time utconfig was started.

5. Repeat Step 1 through Step 4 for each secondary server if in a failover group.

6. Do one of the following:


procedure icon  Configure the Sun Ray Server Hierarchy

Perform this task after all servers in the failover group have been configured.



Note - If a common home directory is mounted on machines with different Gnome versions, conflicts between or among the versions cause unpredictable behavior. Do not try to use multiple Gnome versions with a common home directory.


1. If you have not already done so, log in as the superuser of the primary Sun Ray server.

You can log in locally or remotely use the rlogin or telnet commands.

2. Open a shell window and change to the following directory:


# cd /opt/SUNWut/sbin

3. Configure this server as the primary Sun Ray server and identify all secondary servers.


# ./utreplica -p secondary-server1 secondary-server2 ...

Where secondary-server1, secondary-server2, ... identifies the host names of the secondary servers. Include all secondary servers in this command.

The utreplica script:

4. Log in as the superuser of a secondary Sun Ray server.

You can log in locally or remotely using the rlogin or telnet commands.

5. Open a shell window and change to the following directory:


# cd /opt/SUNWut/sbin

6. Configure the server as a secondary Sun Ray server and identify the primary server.


# ./utreplica -s primary-server

Where primary-server is the host name of the primary server configured in Step 3.

7. Repeat Step 4 through Step 6 for all remaining secondary servers.

8. When you are finished, go to Synchronize the Sun Ray DTU Firmware.


procedure icon  Synchronize Primary and Secondary Sun Ray Servers

Log files for Sun Ray servers contain time-stamped error messages which are difficult to interpret if the time is out of sync. To make troubleshooting easier, please make sure that all secondary servers periodically synchronize with their primary server. For instance:


# rdate <primary-server>


procedure icon  Synchronize the Sun Ray DTU Firmware



Note - This task is performed on standalone Sun Ray servers or the last Sun Ray server configured in a failover group. If your server is not one of these, see Reboot the Sun Ray Server.


1. If you have not already done so, log in as the superuser of the Sun Ray server.

You can log in locally or remotely using the rlogin or telnet commands.

2. Open a shell window and change to the following directory:


# cd /opt/SUNWut/sbin

3. Synchronize the Sun Ray DTU firmware:


# ./utfwsync

The Sun Ray DTUs will reboot themselves and load the new firmware.

4. When you are finished, go to Reboot the Sun Ray Server for instructions how to reboot the server.



procedure icon Reboot the Sun Ray Server

After following the configuration procedures, reboot the Sun Ray server(s).

1. If you have not already done so, log in as the superuser of the Sun Ray server.

You can log in locally or remotely use the rlogin or telnet commands.

2. Open a shell window and reboot the Sun Ray server:


# sync;sync;init 6

The Sun Ray server is rebooted.

3. Repeat Step 1 and Step 2 for each Sun Ray server.