C H A P T E R  4

Preparing to Upgrade Sun Ray Server Software

This chapter describes the preparations for upgrading from earlier versions of Sun Ray Server Software.

Topics in this chapter include:


Requirements

You can upgrade your current Sun Ray Server Software if you have purchased a new Sun Ray Server Software 4.1 Right-to-Use license or have a Sun Ray Server Software service contract that entitles you to upgrades.



Note - Before you upgrade Sun Ray Server Software, inform your users of your plans, and have them terminate their sessions. An effect of the upgrade procedure is that all active and suspended sessions are lost.

In addition, the utinstall script for SRSS 4.1 does not automatically add Sun Ray information to the crontab, syslog, and PAM services as earlier versions did; instead, it adds them upon the first reboot after installation or upgrade.


The following table summarizes your upgrade requirements.


TABLE 4-1 Summary of Upgrade Requirements

1. Preserve the configuration. Upgrading from previous releases of Sun Ray Server Software requires you to preserve the existing Sun Ray configuration manually. See Preserving Configuration Data.

2. Run utadm -l and note the configuration for all existing Sun Ray subnetworks, then run utadm -r to unconfigure all active Sun Ray interfaces and remove all Sun Ray entries from the configuration data store.

3. Upgrade Sun Ray Server Software. See Upgrading the Sun Ray Server.


This table recapitulates steps from Figure 1-1.

Note - It is not necessary to uninstall the current Sun Ray Server Software to perform the upgradeif you are not upgrading the operating system release.



Failover Groups

By configuring two or more Sun Ray servers in a failover group, you can reduce interruption of new service availability in the event that one server fails. If you plan to combine existing Sun Ray servers into a failover group, or to upgrade an existing failover group, please consider the following:



Tip - If it is not convenient to upgrade all servers in a large configuration at once, upgrade one or two servers at a time until the entire configuration is complete.




Note - Even if you upgrade one or two servers per week, you must wait until all servers in the group are upgraded before you update their firmware.




Note - See Configure the Sun Ray Server Hierarchy for instructions and Chapter 11 in the Sun Ray Server Software 4.1 Administrator’s Guide for a more general discussion of failover groups, including diagrams of failover topologies.



procedure icon Disconnect the Sun Ray Server From the Interconnect



caution icon Caution - This procedure disconnects users from their sessions on the Sun Ray server. Make sure your users terminate their sessions before you continue.


1. As superuser, open a shell window on the Sun Ray server.

2. Disconnect the Sun Ray server from the Sun Ray interconnect:


# /opt/SUNWut/sbin/utadm -r

3. Perform one of the following tasks:


Preserving Configuration Data

Preserving your existing configuration is not a requirement, but it is recommended.

The utpreserve script in the Sun Ray Server Software image directory preserves:



Note - The utpreserve script does not save all configuration files, so you must configure the Sun Ray interconnect interface and Sun Ray administration server after upgrading Sun Ray Server Software.



procedure icon  Preserve the Sun Ray Server Configuration

If you have already mounted the Sun Ray Server Software 4.1 CD-ROM locally or from a remote server, or if you have extracted the ESD files to an image directory, begin at Step 3.



caution icon Caution - Running the utpreservescript stops all Sun Ray daemons and services, including the Sun Ray Data Store, causing users to lose all of their sessions, both active and disconnected. Please inform them of your plans.


Depending on the size of your configuration, this procedure, including the operating system software upgrade, may take anywhere from five minutes to several hours or even more to complete.

1. As superuser, open a shell window on the Sun Ray server.

2. Insert the Sun Ray Server Software 4.1 CD-ROM.

If a file manager window opens, close it. It is not necessary for installation.

3. Change to the image directory. For example:


# cd /cdrom/cdrom0

4. Preserve the Sun Ray configuration:


# ./utpreserve

The utpreserve script warns that it will stop all Sun Ray services, consequently terminating all user sessions, and asks if it should continue.



caution icon Caution - Answering yterminates all user sessions, both active and disconnected.


5. Answer y.

The utpreserve script:



Tip - Be sure to check this log file for errors that are frequently overlooked.


6. Use NFS, FTP, or other means to copy the /var/tmp/SUNWut.upgrade/preserve_version.tar.gz
file to a safe location on another server.

7. Make a tape backup of the Sun Ray server’s file systems.


Unconfiguring the Sun Ray Server

To upgrade Sun Ray Server Software, you must first remove the replication configuration, then unconfigure the Sun Ray server.


procedure icon  Unconfigure Sun Ray Server Software

1. As superuser, open a shell window on the Sun Ray server.

2. Remove the replication configuration:


# /opt/SUNWut/sbin/utreplica -u

3. Unconfigure Sun Ray Server Software:


# /opt/SUNWut/sbin/utconfig -u

4. Answer y to all the prompts.

5. Go to “Upgrading the Sun Ray Server” on page 21.


Removing the Software



Note - The following procedures are not required for installation or upgrade.



procedure icon  Remove Sun Ray Server Software

To remove Sun Ray Server Software in its entirety, follow this procedure.

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

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


# cd /opt/SUNWut/sbin

3. If you are removing Sun Ray Server Software from a server in a failover group, follow steps a and b. Otherwise, skip to Step 4.

a. Disable Sun Ray DTU firmware downloads:

i. For a private interconnect, use this syntax:


# ./utfwadm -D -a -n all

OR

ii. For a LAN configuration, use this syntax:


# ./utfwadm -D -a -N all

b. Remove the replication configuration:


# ./utreplica -u

4. Remove the Sun Ray network interface(s):


# ./utadm -r

5. Unconfigure the Sun Ray software:


# ./utconfig -u

Answer y to all of the prompts.

6. Uninstall Sun Ray Server Software:


# cd /
# /opt/SUNWut/sbin/utinstall -u

Answer y to all of the prompts.

7. Repeat the steps in this subsection for all remaining Sun Ray servers.