======================================================================
                   Halcyon PrimeAlert (R) for DB2
                             Version 1.0.0

                             README.install
======================================================================


Overview
======================================================================
This README.install file describes how to install and setup the
PrimeAlert for DB2 module.

It consists of the following sections:
   - Definitions
   - Extracting the Distribution
   - Installation Instructions
      . Server Packages
      . Agent Packages
      . Zone Configuration (optional)
   - Uninstallation Instructions
      . Server Packages
      . Agent Packages
   - Install & Uninstall Logs
   - Module Loading


Definitions
======================================================================
Server Host   The host where the Sun Management Center Server is
              installed and running.  This system must be a Solaris
              host, and contain the package SUNWessrv.

Agent Host    A host where a Sun Management Center Agent is
              installed and running.  This system must be a Solaris
              host, and contain the package SUNWesagt.
              (Note: Sparse root zones available on Solaris 10+ systems
              do not require SUNWesagt but Sun MC agents should be
              configured before enabling zone support for this product.)

Console Host  A host where the Sun Management Center Console is
              installed and running.  This system may be a Solaris or
              a windows host.  On Solaris is contains the package
              SUNWescon.

ESROOT        For Sun Management Center (Sun MC) 3.0 or higher, this
              directory is determined by the user while installing
              Sun MC; the default value is /opt/SUNWsymon.  To
              determine the value of ESROOT on a Sun MC agent host,
              run the command (for Solaris 10+ zoned environment,
              run the following command in a non-sparse root zone):

              # echo "`pkgparam SUNWesagt BASEDIR`/SUNWsymon"


Extracting the Distribution
======================================================================
The PrimeAlert for DB2 distribution file,

   HALsmxdb2_[version].tar.gz

must be extracted on a UNIX host before any packages can be installed.
For example, assume that the distribution file has been copied to the
following directory:

   /tmp

In this case, the procedure for extracting the distribution will be:

   % su -
   # cd /tmp
   # gzip -d HALsmxdb2_[version].tar.gz
   # tar -xvf HALsmxdb2_[version].tar

Following the example above, the source directory [EXTRACT_DIR] would
be the following:

   /tmp/HALsmxdb2_[version]


Installation Instructions
======================================================================
This product may be installed using Halcyon's standard installation
method or with Sun Management Center's Agent Update feature.  To
install the product with Agent Update, refer to the instructions in
the following file:

    ./AgentUpdate/README.AgentUpdate.html
                     or
    http://www.halcyoninc.com/support/README-AgentUpdate.html

NOTE:
   If you choose to use Agent Update, then all Halcyon products must be
   installed using Agent Update.  It is not possible to use Agent
   Update in conjunction with any other installation procedure.

To install the product with Halcyon's standard installation method,
continue with the instructions outlined in this section.

There are two required and one optional step to install this product:

   1. Install the Server host packages
   2. Install the Agent host packages
   3. Zone configuration (optional)


1. Server Packages (Solaris)
----------------------------------------------------------------------
To install the "PrimeAlert for DB2" module packages on the Sun
Management Center Server host, do the following:

   1. Become the "root" user on the Sun Management Center Server host
   2. Extract the distribution file
   3. Run the install script
   4. Restart the Metadata Agent.

   % su -
   # cd [EXTRACT_DIR] (i.e. /tmp/HALsmxdb2_[version])
   # ./HALDBMSAlertDB2-install.sh
   # $ESROOT/sbin/es-stop -m
   # $ESROOT/sbin/es-start -m

Note: During installation on the Server host, when asked whether you
      want to install the packages for the Agent layer, answer "y"
      only if the DB2 software is installed on that particular host.

      In general, the Agent host packages should only be installed on
      hosts where the DB2 application is installed and running.


2. Agent Packages (Solaris)
----------------------------------------------------------------------
The installation of the Agent host packages is similar to the Server
host packages installation.

Note: The Server host packages should be installed or upgraded before
      any of the Agent packages.

To install the "PrimeAlert for DB2" module packages on the Sun
Management Center Agent host, do the following:

   1. Become the "root" user on the Sun Management Center Agent host
   2. Extract the distribution file
   3. Run the install script
   4. Restart the Agent

   % su -
   # cd [EXTRACT_DIR] (i.e. /tmp/HALsmxsdb2_[version])
   # ./HALDBMSAlertDB2-install.sh
   # $ESROOT/sbin/es-stop -a
   # $ESROOT/sbin/es-start -a


3. Zone Configuration (optional)
----------------------------------------------------------------------
If you would like to use this product in a Solaris whole root zoned
environment, just install the module as if it is a global zone.

If you would like to use this product in a Solaris sparse root zoned
environment, perform the following steps in each sparse root zone
where the product is required after installing it in the global zone:

  # zlogin [name of sparse root zone]
  # $ESROOT/sbin/HALZoneConfig.sh
  # $ESROOT/sbin/es-stop -a
  # $ESROOT/sbin/es-start -a


Uninstallation Instructions
======================================================================
NOTE: If the Halcyon products have been installed using Agent Update,
      then Sun's [ESROOT]/sbin/es-uninst script MUST be used to
      remove the Halcyon products.  If the products have been
      installed using Halcyon's installation method, continue with the
      instructions outlined in this section.

This section explains how to unistall the various PrimeAlert for
DB2 components:

   1. Uninstall the Server host packages
   2. Uninstall the Agent host packages

In general, the uninstall script can be used with no arguments to
uninstall any Halcyon PrimeAlert product:

   # /var/opt/SUNWsymon/uninstall/HALUninstall.sh


Uninstall Server Packages
----------------------------------------------------------------------
To uninstall the PrimeAlert for DB2 module packages on the Sun
Management Center Server host, do the following:

   1. Become the "root" user on the Sun Management Center Server host
   2. Run the uninstall script with the appropriate parameters

   % su -
   # cd /var/opt/SUNWsymon/uninstall
   # ./HALUninstall.sh -module DB2 server


Uninstall Agent Packages
----------------------------------------------------------------------
To uninstall the PrimeAlert for DB2 module packages on the Sun
Management Center Agent host, do the following:

   1. Become the "root" user on the Sun Management Center Agent host
   2. Run the uninstall script with the appropriate parameters

   % su -
   # cd /var/opt/SUNWsymon/uninstall
   # ./HALUninstall.sh -module DB2 agent


Install & Uninstall Logs
======================================================================
All Halcyon PrimeAlert install and uninstall log files can be found
in the following directories:

   /var/opt/SUNWsymon/install
   /var/opt/SUNWsymon/uninstall/log

   Installation Log
   ----------------
   The name of the installation log for this product is the following:

      HALDBMSAlertDB2-install_[YYYYMMDD]-[HHMMSS].log


   Uninstall Log
   -------------
   The following is the generic uninstall log file:

      uninstall.log.[YYYYMMDD]-[HHMMSS]


Module Loading
======================================================================
Please refer to the "Module Loading" section in the help
documentation for details on how to load the module.  Information on
how to access the help documentation is available in the "README"
file under the section "Help Documentation".

For solutions to common module loading problems, please refer to the
following file:

   - TroubleShooting

---//---