This appendix contains procedures for installing and setting up the Service Availability 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 2, Service Availability 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 Service Availability Manager 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.
Service Availability Manager must be installed on the following layers of Sun Management Center 3.5:
Server layer
Agent layer, on all hosts from which you want to monitor a service
Installation on the console layer is optional.
The interactive es-inst installation script installs the correct Service Availability Manager packages for the agent and server layers. For the agent package, the module configuration files and libraries are stored in standard Sun Management Center locations.
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 Service Availability 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 to where the software was copied.
To install the Service Availability Manager, answer “Yes” when prompted.
The es-inst script installs Service Availability Manager.
The es-inst script then automatically displays setup prompt.
Determine whether you want to set up Service Availability 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 Service Availability Manager Individually.
To set up the software now, answer y for “Yes”. The Sun Management Center 3.5 software is not setup again.
After installation is complete, you must run the Service Availability Manager setup script to configure the server and agent layers.
This procedure assumes that you chose not to set up Service Availability 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 setup on all components not yet set up, type:
# /opt/SUNWsymon/sbin/es-setup |
To run setup on the Service Availability Manager add-on software only, type:
# /opt/SUNWsymon/sbin/es-setup -p EServices |
where /opt is the directory in which Sun Management Center 3.5 is usually installed. Substitute the name of the actual directory if it is different on your system.
The es-uninst removal script removes the Service Availability Manager add-on software. This script removes the Service Availability Manager packages, and all data and configuration changes that were 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 in which Sun Management Center 3.5 is installed. Substitute the name of the actual directory if it is different on your system.
Answer “No” to preserve the data files.
Select Service Availability Manager from the list of add-on software.
The Service Availability Manager packages, configuration files, and data files are removed.