IBM Books

Administration Guide

predefined-condresp Command

Name

predefined-condresp - Defines default conditions and responses for monitoring.

Synopsis

predefined-condresp [ -h] [[ -r] [-d] | [-m]] [-v | -V]

Description

The predefined-condresp command defines some conditions and responses that are useful to many administrators for monitoring. These conditions and responses are used by the Event Response resource manager (ERRM) to monitor the cluster for conditions of interest. When the conditions occur, ERRM runs the corresponding responses. The predefined-condresp command is run automatically when csm.server is installed. This command can also be run again to restore the conditions and responses to their initial definitions. If run with no arguments, predefined-condresp removes the conditions and responses first and then defines them again. The options can be used only to define or only to remove the conditions and responses.

For the predefined conditions and predefined responses for the Managed Node Resource Class, the Node Group resource class, the Hardware Control resource class, and the Hardware Control Point resource class, see Domain Management Server Resource Manager (if you are viewing this as a man page, refer to the IBM CSM for Linux: Administration Guide).

Options

-d
Defines conditions and responses.

-h
Writes command's usage statement to standard output.

-m
Migration mode - define only the conditions and responses that are not defined already. This is the default. This option can not be used with -d or -r.

-r
Removes the conditions and responses.

-v | - V
Writes the command's verbose messages to standard output.

Exit Status

0
Command has run successfully.

1
You have entered a combination of options and arguments that are not valid.

n
The highest exit code that was returned by any of the ERRM commands.

Examples

  1. To remove the current predefined conditions and responses and create them again, type:

    predefined-condresp
    
  2. To define the predefined conditions and responses, type:
    predefined-condresp -d
    

Files

/opt/csm/bin/predefined-condresp
Location of predefined-condresp command.

See Also

Author

Bruce Potter - cluster@us.ibm.com


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