Start of change

Monitoring clustered watch with the mmwatch status command

Use this information to monitor clustered watch with the mmwatch status command.

To see the statuses for all of the current watches, use the mmwatch all status command:
# mmwatch all status
Device                      Watch ID            Watch State
gpfs0                       CLW1553608557       Active
          
Node Name                                       Status
node1.ibm.com                                   HEALTHY
node2.ibm.com                                   HEALTHY
node3.ibm.com                                   HEALTHY
node4.ibm.com                                   HEALTHY
To get a more verbose status for a specific watch ID, use the mmwatch gpfs0 status --watch-id <watchID> -v command:
# mmwatch gpfs0 status --watch-id CLW1553608557 -v


Device                      Watch ID                 Watch State
gpfs0                       CLW1553608557            Active
Node Name                       Status
node1.ibm.com                   HEALTHY
=== Consumer log lines ===
Last 1 logDescription
{WF Consumer is now running! }

=== Producer log lines ===
Last 1 logDescription
{2019-03-26_09:56:18: WFProducer: t: test_topic 
< Successfuly created WFProducer. e. 0 s. OK > Changing state from: CHECKING to: HEALTHY }


Node Name                       Status
node2.ibm.com                   HEALTHY
=== Consumer log lines ===
Last 1 logDescription
{WF Consumer is now running! }

=== Producer log lines ===
Last 1 logDescription
{2019-03-26_09:56:21: WFProducer: t: test_topic 
< Successfuly created WFProducer. e. 0 s. OK > Changing state from: CHECKING to: HEALTHY }


Node Name                       Status
node3.ibm.com                   HEALTHY
=== Consumer log lines ===
Last 1 logDescription
{WF Consumer is now running! }

=== Producer log lines ===
Last 1 logDescription
{2019-03-26_09:56:16: WFProducer: t: test_topic 
< Successfuly created WFProducer. e. 0 s. OK > Changing state from: CHECKING to: HEALTHY }


Node Name                       Status
node4.ibm.com                   HEALTHY
=== Consumer log lines ===
Last 1 logDescription
{WF Consumer is now running! }

=== Producer log lines ===
Last 1 logDescription
{2019-03-26_09:56:24: WFProducer: t: test_topic 
< Successfuly created WFProducer. e. 0 s. OK > Changing state from: CHECKING to: HEALTHY }
This command shows you the status of that single watch ID and lists up to 10 of the most recent entries from the message queue services monitor database.
End of change