Sun Management Center 3.6 System Reliability Manager User's Guide

Appendix A Installing System Reliability Manager Using the Command Line

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.6 at the same time, see Sun Management Center 3.6 Installation and Configuration Guide.

Installing the System Reliability Manager Software

Installation of the System Reliability Manager 3.6 software using the command line follows the standard Sun Management Center 3.6 add-on software installation procedures. For more information about installation of add-on software using the command line, see Sun Management Center 3.6 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.6 layer. The software must be installed on the server and agent layers of Sun Management Center 3.6.

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.

ProcedureTo Install System Reliability Manager During Sun Management Center 3.6

Step

    For information and detailed steps, see Sun Management Center 3.6 Installation and Configuration Guide.

ProcedureTo Install System Reliability Manager Individually

Steps
  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.6 is installed. Substitute the name of the actual directory if it is different on your system.

  2. Provide the source directory of the System Reliability Manager files when prompted.

    • If installing from the software CD-ROM, type:


      # /<DiskMountDir>/sunmanagementcenter_3_6/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.

  3. To install the System Reliability Manager software, answer “Yes” when prompted.

    The es-inst script installs the System Reliability Manager 3.6 software on your system. The es-inst script automatically displays the setup prompt. For more information, see Setting Up the System Reliability Manager Software.

  4. Determine whether you want to set up System Reliability Manager now or at a later time.

Setting Up the System Reliability Manager Software

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

ProcedureTo Set Up System Reliability Manager


Note –

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


Step

    Run the Sun Management Center 3.6 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.6 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

Removing the System Reliability Manager Software

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.

ProcedureTo Remove System Reliability Manager Using es-uninst

Steps
  1. As superuser (su -), type:


    # /opt/SUNWsymon/sbin/es-uninst
    

    where /opt is the directory where Sun Management Center 3.6 is installed. Substitute the name of the actual directory if it is different on your system.

  2. Select System Reliability Manager from the list of add-on software, and click Next.

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