6.3. How to Preserve Sun Ray Software Configuration Data

When you choose an upgrade, the utsetup script automatically preserves your existing configuration information. You must preserve your existing configuration before running the utsetup script only in the following situations:

In all of these cases, you will need to add the /var/tmp/SUNWut.upgrade/preserve_version.tar.gz backup file to the newly installed server before you start the utsetup program. The utsetup program automatically restores the configuration data in the /var/tmp/SUNWut.upgrade/preserve_version.tar.gz after it installs the Sun Ray Software.

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

The utpreserve script does not preserve the following information:

6.3.1. Before You Begin

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

Note

Running the utpreserve script 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. Make sure to inform them of your plans.

6.3.2. Steps

  1. Change directory to the downloaded media pack directory.

  2. 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 whether it should continue.

    If you answer y, the utpreserve script:

    • Stops the Sun Ray services and the Sun Ray data store daemon.

    • Lists the files that are saved.

    • Tars and compresses the entire list of files as the /var/tmp/SUNWut.upgrade/preserve_version.tar.gz file, where version is the currently installed version of Sun Ray Software.

    • Indicates that a log file containing notices of errors is available at /var/adm/log/utpreserve.year_month_date_hour:minute:second.log

      where year, month, and so on are represented by numeric values reflecting the time utpreserve was started.

    • Recommends that the /var/tmp/SUNWut.upgrade/preserve_version.tar.gz file be moved to a safe location.

Note

If you have modified the /etc/pam.conf in a previous version of Sun Ray Software, your changes might be lost when Sun Ray Software 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.