This appendix contains procedures for installing and setting up the System Reliability Manager software using the command line. Command-line installation is provided as an alternative to using the installation wizard. For information about using the installation wizard, see Chapter 1, System Reliability Manager Installation and Setup.
This appendix discusses the following topics:
For information about installing add-on software while installing Sun Management Center 3.5 at the same time, see Sun Management Center 3.5 Installation and Configuration Guide.
Installation of the System Reliability Manager 3.5 software using the command line follows the standard Sun Management Center 3.5 add-on software installation procedures. For more information about installation of add-on software using the command line, see Sun Management Center 3.5 Installation and Configuration Guide.
The interactive es-inst installation script installs the correct System Reliability Manager software packages on the correct Sun Management Center 3.5 layer. The software must be installed on the server and agent layers of Sun Management Center 3.5.
For the agent layer, the module configuration files and libraries are stored in standard Sun Management Center locations. The data files are stored in the /var/opt/SUNWsymon/SysMgmtPack/modulename directory.
For information and detailed steps, see Sun Management Center 3.5 Installation and Configuration Guide.
As superuser (su -), run the installation script by typing:
# /opt/SUNWsymon/sbin/es-inst |
where /opt is the directory in which Sun Management Center 3.5 is installed. Substitute the name of the actual directory if it is different on your system.
Provide the source directory of the System Reliability Manager files when prompted.
If installing from the software CD-ROM, type:
# /cdrom/sunmanagementcenter_3_5/image |
If installing from a directory to which the software has been copied, type:
# disk1/image |
where disk1 is the name of the location where the software was copied.
To install the System Reliability Manager software, answer “Yes” when prompted.
The es-inst script installs the System Reliability Manager 3.5 software on your system. The es-inst script automatically displays the setup prompt. For more information, see Setting Up the System Reliability Manager Software.
Determine whether you want to set up System Reliability Manager now or at a later time.
To set up the software at a later time, answer n for “No. When you are ready to run the setup process, see To Set Up System Reliability Manager.
To set up the software now, answer y for “Yes”. The process described in To Set Up System Reliability Manager begins.
After installation is complete, you must run the System Reliability Manager setup script to configure the server and agent layers.
This procedure assumes that you chose not to set up System Reliability Manager at the end of the installation process.
Run the Sun Management Center 3.5 setup script as superuser (su -). Choose one of the following options:
To run the setup process on all components that are not yet set up, type:
# /opt/SUNWsymon/sbin/es-setup |
To run the setup process on the System Reliability Manager add-on software only, type:
# /opt/SUNWsymon/sbin/es-setup -p SystemManagement |
where /opt is the directory in which Sun Management Center 3.5 is installed. Substitute the name of the actual directory if it is different on your system.
The setup process is started for the System Reliability Manager software.
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, the setup script performs a clean-up of the following directory and regenerates the files needed by the modules:
/var/opt/SUNWsymon/SysMgmtPack |
The es-uninst removal script removes the System Reliability Manager add-on software. This script removes the System Reliability Manager packages, all the System Reliability Manager data, and the configuration changes made during setup. You are given the option to preserve the data files before removing the software.
As superuser (su -), type:
# /opt/SUNWsymon/sbin/es-uninst |
where /opt is the directory where Sun Management Center 3.5 is installed. Substitute the name of the actual directory if it is different on your system.
Select System Reliability Manager from the list of add-on software, and click Next.
Indicate whether to preserve the data files, and click Next.
The System Reliability Manager packages and configuration files are removed. If you chose not to preserve the data files, they are removed as well.