C H A P T E R 7 |
Configuration |
This chapter describes how to configure the Sun Ray server. Procedures in this chapter include:
|
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:
Note - Make sure that the /etc/hosts file contains the following entry:
|
3. Configure the Sun Ray interconnect interface:
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.
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 Configuring the Sun Ray Server.
|
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:
3. Configure the Sun Ray LAN 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.
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 To Configure Sun Ray Server Software.
8. Proceed to To Configure Sun Ray Server Software.
|
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:
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:
|
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:
3. Configure Sun Ray Server Software
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. |
Note - You may not want to use the existing Apache Web Server if it is already configured for another purpose |
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:
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.
|
Perform this task after all servers in the failover group have been configured.
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:
3. Configure this server as the primary Sun Ray server and identify all secondary servers.
Where secondary-server1, secondary-server2, ... identifies the host names of the secondary servers. Include all secondary servers in this command.
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:
6. Configure the server as a secondary Sun Ray server and identify the 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 To Synchronize the Sun Ray DTU Firmware.
|
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:
|
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 To 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:
3. Synchronize the Sun Ray DTU firmware:
The Sun Ray DTUs will reboot themselves and load the new firmware.
4. When you are finished, go to To Reboot the Sun Ray Server for instructions how to reboot the server.
|
To successfully configure an HTTP server to host the Sun Ray Administration Tool (Admin GUI), you must choose to configure the web server manually in utconfig. The utconfig script creates the directories, symbolic links, and user/group identities required to operate the Admin GUI.
Any web server can be manually configured to host the Admin GUI as long as:
The best way to manually configure a web server is to look at /etc/opt/SUNWut/http/http.conf after running utconfig. This file contains all the specific parameters and values you will need to manipulate in order to properly configure the web server.
For manual configuration, the key components needed to make a web server work with the Sun Ray Admin GUI are:
|
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:
The Sun Ray server is rebooted.
3. Repeat Step 1 and Step 2 for each Sun Ray server.
See Appendix A for more information and procedures.
Copyright © 2004, Sun Microsystems, Inc. All Rights Reserved.