API Doc
Search Docs...
⌘ K
OverviewDeploymentManagementOperationReferenceGlossary
    ACOS 6.3.0
  • Arcfra Cloud Operating System>
  • CLI command>
  • Managing clusters

Managing cluster access services

Viewing the session status of all access services

Procedure

Each available access point maintains a session with the meta service. Run the following command on any node in the cluster to view the session status list for the access services:

zbs-meta session list

Output example

UUID                                  Ip              Port    Cid  Secondary_data_ip    Zone     Machine UUID
------------------------------------  ------------  ------  -----  -------------------  -------  ------------------------------------
0b48597c-7d6b-45a7-82f5-94f3b9f0aaa0  10.2.234.198   10201      1  10.93.180.25         default  22a79016-2c6d-11ef-806c-52540097039a
8af221a8-96ad-4d82-ae41-94756414a170  10.2.234.197   10201      3  10.93.180.24         default  0f8d8274-2c6d-11ef-a0c4-52540097039a
d1ceb1f7-8142-4922-a717-cbe4e948c766  10.2.234.196   10201      2  10.93.180.23         default  05e85370-2c6d-11ef-ba09-52540097039a

Output note

ParameterDescription
UUIDThe session UUID.
IPThe storage network IP address.
PortThe storage port.
CidThe node cluster ID.
Secondary_data_ipThe management network IP address.
ZoneThe zone that the node belongs to, used to differentiate multi-active clusters.
Machine UUIDThe UUID of the physical node where the access service is running.

Viewing detailed information about a specified session

Procedure

Run the following command on any node in the cluster to query the session based on the UUID:

zbs-meta session show <session_id>

Output example

{ 'group': u'access',
  'items': [ { 'key': u'ZBS-ISCSI',
               'value': u'dummy'},
             { 'key': u'has_config_push_ability',
               'value': u'true'},
             { 'key': u'has_thick_extent_ability',
               'value': u'true'},
             { 'key': u'host_data_ip',
               'value': u''},
             { 'key': u'ip',
               'value': u'10.0.20.50'},
             { 'key': u'machine_id',
               'value': u'1ad7ec12-5f34-11ed-9699-5254001b0267'},
             { 'key': u'port',
               'value': u'10201'},
             { 'key': u'sec_data_ip',
               'value': u'192.168.20.36'},
             { 'key': u'sec_valid',
               'value': u'true'},
             { 'key': u'zone',
               'value': u'default'}],
  'lease_expire_ns': 777738098323556L,
  'session_epoch': { 'epoch': 1814861099L,
                     'uuid': u'4b1b1ef7-0326-4950-abb5-e520612311e2'}}

Output note

ParameterDescription
has_config_push_abilityWhether the iSCSI config can be uploaded.
ipThe storage network IP address.
portThe storage network port.
sec_data_ipThe secondary network IP address.
sec_validWhether data links via the secondary network are supported.
zoneThe associated availability zone.

Viewing iSCSI connection information about a session

Procedure

Run the following command on any cluster node to view the iSCSI connection information for the session:

zbs-meta session list_iscsi_conn [session_id]

session_id is the UUID of the session. If this parameter is not specified, connection information for all sessions is displayed.

Output example

Initiator                                                                                           Initiator IP    Target ID                               Client Port  Session ID                              CID  Transport Type
--------------------------------------------------------------------------------------------------  --------------  ------------------------------------  -------------  ------------------------------------  -----  ----------------
iqn.1994-05.com.redhat:3d529e7b469                                                                  10.0.18.155     4a461048-a6a6-4156-9530-3f385a3bb35a          34386  59688f04-57cb-4f3e-b716-f3752b67a856      3  TCP
iqn.1994-05.com.redhat:c83cb51956cd                                                                 10.1.18.75      62901dbb-df26-4635-9975-0c617e7e5177          33472  59688f04-57cb-4f3e-b716-f3752b67a856      3  TCP
iqn.1994-05.com.redhat:e389825c840                                                                  10.0.18.212     01f2e1e3-1984-45b2-b1a2-8087cf2c1653          43534  59688f04-57cb-4f3e-b716-f3752b67a856      3  TCP

Output note

ParameterDescription
InitiatorThe iSCSI client.
Initiator IPThe iSCSI client IP address.
Target IDThe iSCSI target identifier. In ABS, each target ID maps to a storage pool.
Session IDThe session ID that manages this iSCSI connection.
CIDThe iSCSI connection ID.
Transport TypeThe transport protocol type.

Viewing current rerouting settings

Procedure

Run the following command on any node in the cluster:

zbs-meta reroute show

Output example

enable_reroute: true

enable_secondary_data_channel: true

Updating rerouting function settings

Procedure

Run the following command on any node in the cluster to update the rerouting function settings:

zbs-meta reroute update [--enable_reroute {true|false}] [--enable_secondary_data_channel {true|false}]

ParameterDescription
--enable_reroute Whether to enable the I/O rerouting service.
--enable_secondary_data_channel Whether to use the management network as a secondary data channel.

Output note

If the command succeeds, no output is displayed.