Procedure
Run the following command on any node in the cluster:
zbs-meta local status
Output example
{ 'alive_meta_hosts': [ { 'ip': u'10.0.22.223',
'port': 10100},
{ 'ip': u'10.0.22.222',
'port': 10100},
{ 'ip': u'10.0.22.221',
'port': 10100}],
'is_leader': False,
'leader': u'10.0.22.223:10100',
'meta_status': 'META_RUNNING'}Output note
| Parameter | Description |
|---|---|
alive_meta_hosts | The storage network IP for each node running the meta service in the cluster. |
is_leader | Whether the current node is the leader node. |
leader | The leader node's IP address. |
meta_status | The local meta status. |