Display IP Addresses and Roles

Follow this procedure to determine the IP addresses and roles for the servers or pods in an engine. The information also includes the high availability state of the cluster and the high availability state of any peer clusters in the installation.

Procedure

Run the following command to retrieve cluster-level information for the engine:
kubectl exec -it engine_pod_name -n matrixx -- bash --login -c"print_blade_stats.py -C"
Information like the following is returned:
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