|
System Reliability Manager
Packaging and Installation
|
This chapter covers the following topics:
The System Reliability Manager (SysRM) is installed as an add-on to the Sun Management Center 3.0 software.
The SysRM consists of three packages:
- SUNWesasm for agent layer
- SUNWesssm for server layer
- SUNWeshsm for console or server layer (online help files)
When you run the es-inst install script, the System Reliability Manager installs the packages, making sure that for each package the corresponding Sun Management Center layer (agent, server, or console) is installed. The script installs the right add-on package on the right layer.
Note - For the agent layer, the module configuration files and libraries are stored in standard Sun Management Center locations. The following directory stores data files: /var/opt/SUNWsymon/SysMgmtPack/<modulename>.
|
To Install the SysRM
|
|
2. |
Go to the $BASEDIR directory where Sun Management Center was installed, for example:
|
|
|
where $BASEDIR is /opt/SUNWsymon/sbin. |
|
3. |
Run the following command:
|
|
4. |
Provide the source directory of the System Reliability Manager files when prompted:
Please enter the source directory: /<SysRM_directory>/image
|
|
|
5. |
To install the System Reliability Manager (SysRM), answer "Yes" when prompted. |
|
|
The es-inst script will help you to install the System Reliability Manager for the Sun Management Center 3.0 software.
This script will help you to install the Sun Management Center
software.
Please enter the source directory: /<SysRM_directory>/image
Target directory: /opt
Sun Management Center 3.0 Addons Product Selection:
Do you want to install the product: System Reliability Manager
Product? [y|n|q]: y
|
|
|
6. |
SysRM is a licensed product. Enter or install the license for the product as applicable. |
|
a. |
If you have the Production Environment (PE) of the Sun Management Center
software installed on your system, enter the license when prompted.
|
|
|
For example, in the Production Environment, you will see the following after you enter "y" in answer to the question on installing SysRM:
Do you want to install the product: System Reliability Manager
Product? [y|n|q]: y
Installing the product: System Reliability Manager Product
Please enter System Reliability Manager Product license or press
return: <Enter the License Here>
|
|
|
b. |
If you have the Developer Environment (DE) of the Sun Management Center
software installed on your system, install the license manually.
|
|
|
For example, in the Developer Environment, you will not be asked to provide the license during installation. You will only see the following:
Do you want to install the product: System Reliability Manager
Product? [y|n|q]: y
|
|
|
|
To install the license for SysRM when you have the Sun Management Center Developer Environment: |
|
i. |
Go to the following directory:
|
|
ii. |
Use the following script to enter the license:
|
Run setup for the System Reliability Manager on the server and agent layers.
|
To Set Up the System Reliability Manager Add-on
|
At the end of the installation, es-inst prompts you to see whether you want to run setup.
|
|
To set up the System Reliability Manager Add-on, do the following: |
|
1. |
Answer `y' or `n' depending upon whether you want to run setup. |
- If you want run setup for all the components found on the system, answer, `y' for "Yes." Running the Sun Management Center setup script invokes the setup script for add-ons automatically.
- If you want to run setup only for the newly-installed add-on, after installation, answer `n' for "No."
|
3. |
Go to the following directory:
|
|
|
$BASEDIR is the directory where Sun Management Center is installed. For example:
|
|
4. |
Run the following command to set-up the add-ons:
# ./es-setup -p SystemManagement
|
|
|
|
where SystemManagement is the directory where the add-on is installed. |
The following is an example of the output from setup on a machine where both the server and the agent layers are installed:
Setup for System Reliability Manager - Server Layer
Creating new group: esscrusers
Setup for System Reliability Manager - Agent Layer
System Reliability Manager Setup complete
#
|
- On the server layer, Sun Management Center creates a new group, esscrusers. This group is later used by the Script Launcher module.
- On the agent layer, setup cleans up the following directory and regenerates the files needed by the modules:
/var/opt/SUNWsymon/SysMgmtPack
|
The Sun Management Center 3.0 software does not allow you to separately uninstall any add-on product currently.
|
To Remove an Add-on
|
|
1. |
Remove an add-on, run pkgrm on SUNWesasm, SUNWesssm, and SUNWeshsm. |
The pkgrm script will remove most of the module-related files from the following directory:
/var/opt/SUNWsymon/SysMgmtPack
|
Note - The pkgrm script will not remove the filewatch/scripts directory or the script-launcher/scripts directory in order to save user-defined scripts.
|
2. |
Delete the following .dat and the patch.xref files:
/var/opt/SUNWsymon/cfg/filewch.dat
/var/opt/SUNWsymon/cfg/filewch+filewch.dat
/var/opt/SUNWsymon/cfg/crashdump.dat
/var/opt/SUNWsymon/cfg/crashdump+crashdump.dat
/var/opt/SUNWsymon/cfg/patchmgt.dat
/var/opt/SUNWsymon/cfg/patchmgt+patchmgt.dat
/var/opt/SUNWsymon/cfg/script-launcher+<instance_name>.dat
/var/opt/SUNWsymon/cfg/script-launcher+script_launcher.dat
/var/opt/SUNWsymon/cfg/patch.xref
|
|
Copyright © 2001 Sun Microsystems, Inc. All Rights Reserved.