6.1. How to Upgrade Sun Ray Software

This procedure describes how to upgrade Sun Ray Software on an existing Sun Ray server. This procedure relies on a specific Sun Ray configuration. See Chapter 4, Installing and Configuring for details.

Note the following information before performing the upgrade.

Steps

  1. Inform users about the upgrade.

    Before you upgrade Sun Ray 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.

  2. If you are upgrading Sun Ray servers in a failover group, consider ways to reduce downtime.

    See Section 6.2, “Planning Upgrades Using Failover Groups” for details.

  3. Become superuser on the Sun Ray server.

    To avoid installation script errors that can occur if user environment settings are carried forward, use the following command:

    % su - root
  4. List the current Sun Ray network configuration and retain the information. You need to reconfigure the Sun Ray network after the upgrade.

    # /opt/SUNWut/sbin/utadm -l           
  5. If necessary, upgrade the operating system on the Sun Ray server.

    For Oracle Linux

    1. Preserve the configuration data on the Sun Ray server and copy the backup file to another location. See Section 6.3, “How to Preserve Sun Ray Software Configuration Data” for details.

    2. Uninstall the Sun Ray Software on the Sun Ray server. See Section 4.8, “How to Remove Sun Ray Software” for details.

    3. Upgrade Oracle Linux on the Sun Ray server.

    4. If neccessary, copy the Sun Ray server configuration data backup file created earlier, /var/tmp/SUNWut.upgrade/preserve_version.tar.gz, to the same location on the upgraded Sun Ray server. The Oracle Linux upgrade should have retained this file.

    5. Go to Step 6.

    For Solaris

    1. (Optional) Preserve the configuration data on the Sun Ray server and copy the backup file to another location. See Section 6.3, “How to Preserve Sun Ray Software Configuration Data” for details.

      This step is not necessary because the Solaris upgrade will not affect the Sun Ray Software configuration data. However, backing up data before performing an operating system upgrade is always good practice.

    2. Upgrade Solaris on the Sun Ray server.

    3. Go to Step 6.

  6. Download and unzip the Sun Ray Software 5.2 Media Pack and make it accessible to the Sun Ray server.

  7. Change directory to the downloaded media pack image.

  8. Upgrade the Sun Ray Software.

    # ./utsetup

    The utsetup script preserves the current Sun Ray Software configuration data in the /var/tmp/SUNWut.upgrade/preserve_version.tar.gz file and restores it after the upgrade.

    When the script ends, a log file is available at:

    Linux:

    /var/log/utinstall.year_month_date_hour:minute:second.log
    

    Solaris:

    /var/adm/log/utinstall.year_month_date_hour:minute:second.log
    

    The values in the file name reflect a time stamp of when the commands are started. Check these files for notices of installation problems.

    See Section 4.9, “Installation (utinstall) Error Messages” for a listing of utinstall error messages.

  9. Reconfigure the Sun Ray network based on the previous configuration you confirmed in step 4.

    For a shared network (LAN) with external DHCP server support (used utadm -L on)

    No action is required. This configuration is preserved during the upgrade.

    For a shared network (LAN) with Sun Ray server DHCP support

    # /opt/SUNWut/sbin/utadm -A subnet
    

    For a private network

    # /opt/SUNWut/sbin/utadm -a intf
    
  10. If necessary, update the location of the Tomcat installation.

    # /opt/SUNWut/sbin/utconfig -w

    See the Admin GUI Upgrade section in the Administration Guide.

  11. Configure the Windows connector feature if it was not previously installed or configured properly on the Sun Ray server.

    # /opt/SUNWut/sbin/utconfig -c
  12. Repeat Steps 1 through 11 for each server in failover group.

  13. Synchronize the updated firmware on the Sun Ray clients.

    You must perform this task on a stand-alone Sun Ray server or the last Sun Ray server configured in a failover group. It takes the current firmware available on the Sun Ray server and upgrades all the firmware on the Sun Ray clients. The Sun Ray clients reboot themselves and load the new firmware.

    # /opt/SUNWut/sbin/utfwsync
  14. If you plan to use the Windows connector, upgrade the Windows Connector Components on your designated Windows Server.

    There is no upgrade program for the Windows connector components. To upgrade a Windows system with the previous components installed, remove the current Windows connector components and install the new versions.