--------------------------------------------------------------------------
Sun Secure Global Desktop Enhancement Module for UNIX/Linux
--------------------------------------------------------------------------
A Sun Secure Global Desktop Enhancement Module is a Secure Global Desktop software component
that can be installed on an application server to provide additional
functionality for a Secure Global Desktop server or array.

The Sun Secure Global Desktop Enhancement Module for UNIX/Linux enables support for the
advanced load balancing feature.


--------------------------------------------------------------------------
Controlling the Sun Secure Global Desktop Enhancement Module
--------------------------------------------------------------------------
Sun Secure Global Desktop Enhancement Module Setup configures your system to start
the Sun Secure Global Desktop Enhancement Module at boot time. In addition, some scripts
are installed with the Sun Secure Global Desktop Enhancement Module to let you start
and stop its processes easily.

To start the Sun Secure Global Desktop Enhancement Module processes:
 - As root, type:
   <install_dir>/bin/tem start

To stop the Sun Secure Global Desktop Enhancement Module processes:
 - As root, type:
   <install_dir>/bin/tem stop

By default, <install_dir> is /opt/tta-tem.


--------------------------------------------------------------------------
Uninstalling the Sun Secure Global Desktop Enhancement Module
--------------------------------------------------------------------------
Run the following command as root:

/var/sadm/install/bin/pkgrm tem


--------------------------------------------------------------------------
Configuring the load balancing functionality
--------------------------------------------------------------------------
The Sun Secure Global Desktop Enhancement Module contains a file,
tier3loadbalancing.properties, which lets you configure its behavior.

This file contains a number of configurable properties, which are read
at start-up time only. Please note that some properties should not be
modified unless requested by Secure Global Desktop Support. These are marked
with (*) below.

tarantella.config.tier3loadbalancing.port (*)
 - The port number on which the Sun Secure Global Desktop Enhancement Module
   listens for requests from the Secure Global Desktop server.

tarantella.config.tier3loadbalancing.probepath (*)
 - The full pathname of the load-measuring tool used for this platform,
   including any command-line arguments for that tool.

tarantella.config.tier3loadbalancing.filter (*)
 - The name of the filter program used to analyse data from the
   load-measuring tool. 

tarantella.config.tier3loadbalancing.piddirectory
 - The directory used to record the Sun Secure Global Desktop Enhancement Module
   process ID.

tarantella.config.tier3loadbalancing.logdirectory
 - The directory in which the Sun Secure Global Desktop Enhancement Module writes
   its log files.

tarantella.config.tier3loadbalancing.samplerate
 - How often, in seconds, CPU or memory measurements are taken.
   The run-time value may be changed by a Secure Global Desktop server.

tarantella.config.tier3loadbalancing.windowsize
 - The number of CPU/memory samples used (in a sliding window)
   to create a rolling average. The run-time value may be changed
   by a Secure Global Desktop server.

   For example, if the sample rate is 30 seconds and the window size is 3,
   then after 3 x 30 seconds an average is calculated from the three
   measurements. After another 30 seconds the oldest measurement is
   discarded, a new measurement taken, and a new average calculated.

tarantella.config.tier3loadbalancing.hostlifetime
 - For how long, in seconds, the Sun Secure Global Desktop Enhancement Module sends
   CPU/memory updates to a Secure Global Desktop server. After this time the
   Sun Secure Global Desktop Enhancement Module stops sending updates to this server,
   in case it is no longer available. However, the server can request
   further updates.
    
tarantella.config.tier3loadbalancing.mincachesize
 - The minimum starting size of the Sun Secure Global Desktop Enhancement Module
   internal cache of measurements. The actual cache size varies depending
   on requests from Secure Global Desktop servers.

tarantella.config.tier3loadbalancing.logfilter
 - The filter used by the Sun Secure Global Desktop Enhancement Module to determine
   which log messages are required. The format is similar to the log
   filters defined in Array Manager; note that with this log filter,
   you must escape colons with a backslash: \:

tarantella.config.tier3loadbalancing.maxvirtualmemory
tarantella.config.tier3loadbalancing.maxphysicalmemory
 - The maximum amount of virtual memory and physical memory configured,
   in MB. These are set when the Sun Secure Global Desktop Enhancement Module is
   installed. If the amount of virtual or physical memory in your
   system changes, you should change the relevant property. See your
   Operating System documentation to find out how much virtual or
   physical memory is currently configured.

tarantella.config.tier3loadbalancing.multiprocessorfactor
 - A factor used to calculate effective bogomips on multiprocessor
   systems. The value should be between 1 and 100. The calculation is:
   effective_bogomips = (measured_bogomips * processors * factor) / 100

   For example, if this is set to 80 (the default) on a 4-processor
   system on which the measured bogomips is 400, the resulting bogomips
   is (400 * 4 * 80) / 100 = 1280


Additional customization
--------------------------------------------------------------------------
You can perform additional customization for each application server
using properties files on a Secure Global Desktop server. See the file
var/serverconfig/global/t3hostdata/template.properties within the
Secure Global Desktop installation directory for instructions.


--------------------------------------------------------------------------
Copyright (C) 2002-2005 Sun Microsystems, Inc. All rights reserved.
The names of companies referred to herein, their corporate logos, the
names of their hardware and their software may be tradenames, trademarks
or registered trademarks of their respective owners and manufacturers.
$Id: README,v 1.3 2005/01/06 16:39:18 peterc Exp $
--------------------------------------------------------------------------
