Symantec logo

Info agent function operation

The agent for DB2 supports the Info agent function, which provides static and dynamic information about the database partition and its critical processes. In the example below, the agent function retrieves the database information shown by executing the following commands.

 To retrieve database information

  1. Make the configuration writable:

    # haconf -makerw

  2. Specify the periodic interval in seconds that the info agent function is invoked. The default value of 0 means info agent function is not invoked.

    # hatype -modify Db2udb InfoInterval 300

  3. Show the requested ResourceInfo value. In the following example output, the name value pairs for processes monitored by the agent for the DB2 resource.

    # hares -value db2udb1 ResourceInfo

    State Valid

    Msg

    PARTITION: 0

       PID TTY TIME CMD

    413924    -  0:00 db2sysc

    TS Fri Jan 14 18:11:52 2005

For more information about the info agent function, refer to the Veritas Cluster Server User's Guide and the Veritas Cluster Server Agent Developer's Guide.