Secure Global Desktop Administration Guide > Arrays, servers and load balancing > Backing up and restoring a Secure Global Desktop installation
This topic describes how you:
To be able to restore a Secure Global Desktop installation or to be able to repair some individual Secure Global Desktop components, you will need a full backup.
While making the backup, do not run any command-line tools or use Object Manager or Array Manager. It is also best if you shut down the Secure Global Desktop server while making the backup. However, if this is not possible, do it when the server is least loaded.
To back up Secure Global Desktop:
tarantella archive command
.
Secure Global Desktop also uses the following configuration files which only need to be backed up if you are using them and you have modified them:
/etc/ttaprinter.conf
- this contains the lpr defaults.
/etc/sdace.txt
and /var/ace/data
- these contain RSA SecurID® settings.
.htaccess
files if you have created
these files for use with the Secure Global Desktop Web Server and they are stored outside
the Secure Global Desktop installation directory.
For the purposes of restoring a damaged installation, Secure Global Desktop can be divided up into the following components:
The binaries, scripts and template files are only modified as part of an installation, patch or custom engineering work. These do not change very often.
You can restore these files from a backup or another installation.
/opt/tarantella/bin/bin
/opt/tarantella/var/docroot/java
/opt/tarantella/var/docroot/mac
/opt/tarantella/var/docroot/native
/opt/tarantella/bin/scripts
directory.
/opt/tarantella/etc/templates
directory.
The HTML theme files control the appearance of the classic webtop.
How you recover these files depends on whether or not you are using customized themes. If you:
/opt/tarantella/etc/templates
directory.
The theme files are under the /opt/tarantella/var/docroot/resources
directory.
Note The locale-specific template theme files are in directories with names of the form
locale_0x3d_locale/
. These correspond to the
locale=locale/
directories in the /opt/tarantella/var/docroot/resources
directory.
The Expect scripts control the interaction between Secure Global Desktop and the application servers (for example, by logging a user in).
How you recover these scripts depends on whether or not you are using customized scripts. If you:
/opt/tarantella/etc/templates
directory.
The scripts are in the /opt/tarantella/var/serverresources/expect
directory.
Server-specific configuration covers all the properties for a Secure Global Desktop server that are not shared with the other members of the array, such as the server DNS name and server tuning.
As this configuration is unique to a particular Secure Global Desktop host, it must only be restored from a backup taken from that host.
The server-specific configuration is in the /opt/tarantella/var/serverconfig/local
directory.
If you are using the Sun Secure Global Desktop Security Pack, you can restore the .x509
certificates for the server from a back-up of the server's /opt/tarantella/var/tsp
directory.
Array-wide configuration covers all the properties that are the same for all the array members, for example the names of the other array members.
To restore global configuration for:
The array-wide configuration is in the /opt/tarantella/var/serverconfig/global
directory.
The enterprise (ENS) database is shared across the array and contains all the webtop, application and user information. This information changes very regularly.
We recommend you restore the enterprise database from the backup of the primary Secure Global Desktop server.
The enterprise database is in the /opt/tarantella/var/ens
directory.
By default, Secure Global Desktop archives its log files each week at 4am on Sunday using a cron job.
If the root user's crontab becomes corrupt or the archiving does not take place,
use tarantella setup
to restore the default setting,
or change the time and day that the archiving takes place.
The log files are archived under the /opt/tarantella/var/log/
directory.
When you install Secure Global Desktop, it configures a Secure Global Desktop print queue.
If the print queue is not present, you can restore it:
prtinstall.en.sh
); or
tarantella setup
command.
The print queue is in the /opt/tarantella/var/print
directory.
The configuration of the Secure Global Desktop Web Server, web services and the browser-based webtop is unique to a particular Secure Global Desktop host and must only be restored from a backup taken from that host.
The configuration for the Secure Global Desktop Web Server is in the /opt/tarantella/webserver/apache/apache_version
directory.
You may also have web server password and .htaccess
files
which may be stored in other locations.
The configuration for Secure Global Desktop web services is in the
/opt/tarantella/webserver/tomcat/tomcat_version
directory.
The files used for the browser-based webtop are in the
/opt/tarantella/webserver/tomcat/tomcat_version/webapps/sgd
directory.
If you are unable to restore a damaged Secure Global Desktop component or you are unsure about the extent of the damage to your system, you must do a full restore of your Secure Global Desktop installation. To do a full restore, you must have a full backup.
To do a full restore:
tarantella stop
).
pkgrm tta
.
Note You can check for Secure Global Desktop packages by running
pkginfo| grep tta
.
rm -rf /opt/tarantella
tarantella stop
).
rm -rf /opt/tarantella
and reinstate Secure Global Desktop from backup.
Note Make sure server names match.
tarantella start
).
Copyright © 1997-2005 Sun Microsystems, Inc. All rights reserved.