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.

To upgrade from the earlier versions of Sun Ray Server Software, first determine whether you need to upgrade your operating system release, and perform the operating environment upgrade if necessary. See Upgrading the Operating System.



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, PAM, and SunMC 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 the operating system. See Upgrade the Operating System.

4. 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 upgrade if 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.




Tip - To avoid port conflicts, remove the old Sun Data Store product during the utinstall procedure. If you have any non-Sun Ray data stored in the Sun Data Store, back it up before upgrading the server so that you can restore the data later.




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



Tip - If you issue the signal <CTRL>C while performing utadm configuration, the Admin GUI may not function correctly the next time you invoke it. To correct this condition, type: dhtadm -R.


3. Perform one of the following tasks:


Preserving Configuration Data

You must preserve your existing configuration before running the utinstall script if:

If neither condition applies, go to Upgrading the Sun Ray Server.

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 y terminates 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.



caution icon Caution - If you have modified the /etc/pam.conffile in a previous version of Sun Ray Server Software, your changes may be lost when SRSS is upgraded. To avoid losing your modifications, be sure to save a copy before performing the update, then use the saved copy to restore your earlier modifications.



Preserving Controlled Access Mode (CAM) Prototype Data

To continue using an existing CAM configuration after upgrading to the latest Sun Ray Server Software, you must migrate the old CAM configuration data so that it can be used by the new Sun Ray Kiosk Mode. This requires you to preserve available CAM prototype data manually, as shown below, before upgrading. The data can then be restored once the upgrade is complete. See Migrating from Controlled Access Mode (CAM) to Kiosk Mode.


procedure icon  Preserve CAM Prototype Data

single-step bullet  To preserve CAM prototype data, execute the following commands:


# cd /var/opt/SUNWut/kiosk
# tar cf /var/tmp/prototypes.tar prototypes



Tip - Copy the file /var/tmp/prototypes.tar to a safe location, such as on another host, before any upgrade.



procedure icon  Restore CAM Prototype Data

single-step bullet  To restore CAM prototype data, execute the following commands:


# cd /var/opt/SUNWut/kiosk
# tar xf /var/tmp/prototypes.tar


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. Perform one of the following tasks:


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.