Sun Management Center 3.5 Service Availability Manager User's Guide

Appendix B Installing Using the Command Line

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.

Installing the Service Availability Manager Software

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:

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.

To Install Service Availability Manager During Sun Management Center 3.5 Installation
  1. For information and detailed steps, see Sun Management Center 3.5 Installation and Configuration Guide.

To Install Service Availability Manager Individually
  1. 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.

  2. 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.

  3. 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.

  4. 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.

Setting Up Service Availability Manager

After installation is complete, you must run the Service Availability Manager setup script to configure the server and agent layers.

To Set Up Service Availability Manager Individually

Note –

This procedure assumes that you chose not to set up Service Availability Manager at the end of the installation process.


  1. 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.

Removing the Service Availability Manager Software

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.

To Remove Service Availability Manager Using es-uninst
  1. 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.

  2. Answer “No” to preserve the data files.

  3. Select Service Availability Manager from the list of add-on software.

    The Service Availability Manager packages, configuration files, and data files are removed.