IBM Books

Administration Guide


Event Management procedures

For the most part the Event Management subsystem runs itself without requiring administrator intervention. However, on occasion, you may need to check the status of the subsystem, or add or change some of the configuration data.

This section contains the procedures that you need to do these tasks, which include:

Displaying the status of the Event Manager daemon

You can display the operational status of the Event Manager daemon by issuing the lssrc command.

On the control workstation, enter:

lssrc -l -s haem.domain_name

where domain_name is the name of the domain of interest.

On a node, enter:

lssrc -l -s haem

In response, the lssrc command writes the status information to standard output. The information includes:

Loading non-PSSP configuration data into the SDR

The default configuration data supplied for the PSSP is normally loaded into the SDR and compiled into its binary format automatically by the haemctrl script. However, if resource monitors supplied by other IBM products or by third parties are installed on the SP system, you must load the configuration data supplied with the resource monitors into the SDR and activate it. To do this:

  1. Login to the control workstation. Use an ID that has root authority.
  2. Create a file in load list format with the data to be loaded, or identify the path name of the file that has been supplied.

    If you are creating a new file, use the format specified in the man page for the haemloadlist file.

  3. Set the SP_NAME environment variable to the appropriate system partition name.
  4. Load the data into the SDR using the haemloadcfg command. Enter:
    haemloadcfg new_loadlist
    

    where new_loadlist is the path name of the load list you previously created or identified.

  5. Activate all of the Event Management data in the SDR, including your new data, using the procedure in Activating the configuration data in the SDR.

Changing configuration data in the SDR

With an optional flag, the haemloadcfg command can replace existing objects (identified by their key attributes) in the SDR. If you want to change an object that already exists, do the following:

  1. Login to the control workstation. Use an ID that has root authority.
  2. Change the object's attribute in the load list file.

    For PSSP configuration data, the default configuration data is in the /usr/sbin/rsct/install/config/haemloadlist file. You must copy this file to another file and make the changes in the copy. If you have non-PSSP or third-party resource monitors, the object will be loaded from another load list file.

    Do this step for as many objects as you are changing.

  3. Set the SP_NAME environment variable to the appropriate system partition name.
  4. Run the haemloadcfg command, specifying the -r flag and the changed load list file.

    In response, the haemloadcfg command replaces each object in the SDR matched by an object in the load list file.

  5. Activate all of the Event Management data in the SDR, including your changed data, using the procedure in Activating the configuration data in the SDR.

Activating the configuration data in the SDR

When you have added or changed the Event Management data in the SDR, you must activate it by recompiling the EMCDB and stopping and restarting the Event Manager daemons. To do this:

  1. Login to the control workstation. Use an ID that has root authority.
  2. Set the SP_NAME environment variable to the appropriate system partition name.
  3. Recompile the EMCDB. Enter:
    haemcfg
    

    The output is placed in the staging directory in a file whose name indicates the system partition.

  4. Stop the Event Manager daemons in this system partition.

    Issue the haemctrl -k command on the control workstation and on each of the nodes in the system partition.

    You can use the dsh or Sysctl commands to run the command on multiple nodes from the control workstation. For more information on using these commands, see Using dsh to run parallel management commands.

  5. Verify that all of the Event Manager daemons in this system partition have stopped.

    On the control workstation, issue the lssrc -s haem.domain_name command. On the nodes, issue the lssrc -s haem command.

    You can use the dsh or Sysctl commands to run the command on multiple nodes from the control workstation. For more information on using these commands, see Using dsh to run parallel management commands.

    The status of each daemon should indicate that it is inactive.

  6. Restart the Event Manager daemons in this system partition.

    Issue the haemctrl -s command on the control workstation and on each of the nodes in the system partition.

    You can use the dsh or Sysctl commands to run the command on multiple nodes from the control workstation. For more information on using these commands, see Using dsh to run parallel management commands.

Changing resource variable instance limits

To change the limit on the number of resource variable instances accepted by the Event Management subsystem for any resource variable class, do the following:

  1. Login to the control workstation. Use an ID that has root authority.
  2. Set the SP_NAME environment variable to the appropriate system partition name.
  3. Find the load list file that contains the resource variable class definition. Resource variable classes shipped for the PSSP are found in /usr/sbin/rsct/install/config/haemloadlist.
  4. Find the class definition in the load list file. For example, the class definition of the Recoverable Virtual Shared Disk subsystem is:
    EM_Resource_Class
            rcClass="IBM.PSSP.VSD"
            rcResource_monitor="IBM.PSSP.harmld"
            rcObservation_interval="60"
            rcReporting_interval="10"
    
  5. Either modify the definition in the load list file or copy the definition to a new load list file (which will contain only the modified definition. This is required if the load list file is /usr/sbin/rsct/install/config/haemloadlist). Modify the definition by adding the attribute rcInstance_limit set to the desired value. For example, the Recoverable Virtual Shared Disk class definition would be changed to:
    EM_Resource_Class
            rcClass="IBM.PSSP.VSD"
            rcResource_monitor="IBM.PSSP.harmld"
            rcObservation_interval="60"
            rcReporting_interval="10"
            rcInstance_limit="5000"
    

    to limit the number of Recoverable Virtual Shared Disk resource variable instances to 5000.

  6. Execute the haemloadcfg command, specifying the -r flag and the name of the modified load list file.
  7. Now, follow the procedure documented in Activating the configuration data in the SDR.


[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]