Registering the OMEGAMON Collector on zLinux as root

Before Performance Expert Agent for Db2 Connect Monitoring can store collected data, you must register the OMEGAMON Collector and prepare Db2 Connect monitoring before starting it.

About this task

All information regarding the server registration is added to the configuration file e2e.ini. It is located in the directory /var/db2pe/V3/<DB2 subsystem>, where <DB2 subsystem> denotes the Db2 subsystem on which Performance Expert Agent for Db2 Connect Monitoring runs. You can reuse the configuration file that contains a list of registered OMEGAMON Collectors for other Performance Expert Agents for Db2 Connect Monitoring that you want to install.

Procedure

  1. Log on directly as root via telnet or ssh, for example, or switch to root by entering su -
  2. Change to the directory /opt/IBM/db2peage/V5/bin
  3. Invoke the configuration script by entering ./db2peage-config
  4. Type the name of the Db2 instance for which you want to configure Performance Expert Agent for Db2 Connect Monitoring.
  5. Select Add a host to your Performance Expert Agent.

    This host is the Db2 system the OMEGAMON Collector runs on and contains the DB2PM database the collected data is stored on.

    To add all OMEGAMON Collector now, select this option repeatedly.

  6. Ensure that the following configuration for the OMEGAMON Collector PESERVER subtask is available before you start Db2 Connect monitoring.
    SNAPSHOTHISTORY=Y
    for Snapshot History processing
    SHDB2CONNECTAPPLICATION=Y
    if you want to collect Db2 Connect application data
    SHDB2CONNECTSYSTEM=Y
    if you want to collect Db2 Connect system data
  7. When Db2 Connect monitoring is active for more than one server, ensure that only one of these servers accesses the collected data on the corresponding Db2 subsystem at a time.

    You must consider this if you use one of the following:

    • More than one OMEGAMON for Db2 PE
    • Db2 Performance Expert for z/OS® and OMEGAMON for Db2 PE, or both, or several of both
    • OMEGAMON for Db2 PE in a data sharing group running on different logically partitioned modes (LPARs) in a sysplex environment