Display Server HA States
Perform this task to view the current role and high availability (HA) state of the MATRIXX servers in a cluster and the HA state of any peer clusters. The service state changes during engine start up and failover operations to indicate whether it is ready for processing or synchronizing its databases.
About this task
The information returned by this script shows the server states at the time the script runs.
Perform this task on a processing server in the active cluster.
Procedure
For example:
print_blade_stats.py 1:1:1 -CResults
Node State
of all servers is
active
, which means the servers are ready to process network traffic because they are in the active cluster.
print_blade_stats.py -C -e 1 -c 2 -b 1
----------------------------------------------------------------
blade - 1:3:1 , version - 5081
time - Mon 2018-10-08T09:03:57
----------------------------------------------------------------
Cluster Stats
-------------
Node Cluster Service Node Mgmt
Id LeaderId Role State IP Address
========================================================
1 1 checkpointing active 127.0.0.1
(On a standby processing blade the first time it is active)
Peer Cluster Stats
------------------
System Peer
Engine Cluster Cluster Schema Cluster
Id Id State Version FQ Id Cluster Up Time Cluster Active Time
==================================================================================================
1 1 active 5110 0:0 2019-04-29 T23:12:57 0
(On standby processing blade which has been active)
Peer Cluster Stats
------------------
System Peer
Engine Cluster Cluster Schema Cluster
Id Id State Version FQ Id Cluster Up Time Cluster Active Time
==================================================================================================
1 1 active 5110 0:0 2019-04-29T23:12:57 2019-04-27T07:01:12
Peer Cluster Stats
------------------
System Peer
Engine Cluster Cluster Schema Cluster
Id Id State Version FQ Id
===============================================
1 1 active 5081 0:0
Processing Cluster Stats
------------------------
System Peer
Engine Cluster Cluster Schema Cluster
Id Id State Version FQ Id
===============================================
1 3 active 5081 0:0
The Peer Cluster Stats shows each engine in the configuration and provides HA information about the processing clusters. Cluster 1:1 is active and the other two clusters are standby. The Peer Cluster FQ Id value shows the engine:cluster ID of the cluster it is protecting (receiving transactions from.) So in this example, cluster 1:1 is not protecting another engine cluster (Peer Cluster FQ Id 0:0) because its cluster state is ACTIVE. Cluster 2:1 is receiving transactions from the active cluster (1:1) and cluster 3:1 is receiving transactions from the first standby cluster (2:1).
To see publishing server HA statistics, run the
print_blade_stats.py
command on the publishing server.