Scenario:
There's a requirement for iCluster to send different notifications for changes in node and group status.
Process:
End current iCluster monitoring, change the monitoring conditions and then re-start the monitoring.
Commands Used:
DMMONHA Monitor iCluster Replication - this provides a tool to monitor group replication status, event log messages, and suspended objects.
Use this to start the replication monitoring, which can send alert messages when the DMMONHA replication monitoring job (on the node that owns the iCluster metadata) detects a situation that requires operator attention. Valid email alert destinations must be configured for SMTP and registered with the DMWRKALR or DMADDALR commands. You can also specify message queues as destinations for alert messages.
Example:
DMMONHA (F4)
Monitor event log . . . . . . *SEV40
Monitor suspended objects . . *YES
Monitor group status . . . . . *YES
Clean up event logs . . . . . *NO
Check interval (min) . . . . . 5
Objects suspended for (min) . 15
Group inactive or in doubt for 15
This submits a DMMONHA job to check:
- group replication status at the default time interval of five minutes
- by default *SEV30 and higher messages are checked, so using *SEV40 will monitor only those higher errors
- suspended objects that have been suspended for more than 15 minutes
- the event log is not cleaned
- an alert message is sent if the status of an active group changes to inactive and remains inactive for 10 minutes or longer
Note: The monitoring job ends when the node that owns the iCluster metadata is ended, or when the job is ended by the ENDMONHA command. The node that owns the iCluster metadata, and any other node that might potentially become the node that owns the iCluster metadata, must be configured for SMTP to enable email alerts. If the DMMONHA cluster system value is set to enable monitoring, the DMMONHA job starts when the node is started.
Example email:
ENDMONHA End iCluster Replication Monitoring – used to end replication monitoring that runs on the node that owns the iCluster metadata.
Example:
ENDMONHA
Ends the DMMONHA job immediately. You must issue this command only on the node where the replication monitoring job DMMONHA is running.
------------------------------
d broadbridge
Rocket Software
------------------------------