Verifying the cluster master node (primary)

Virtual Storage Platform One SDS Block Storage Administrator Guide

Version
1.17.x
Audience
anonymous
Part Number
MK-24VSP1SDS002-04

Obtain the following information that indicates whether the request-destination storage node is the cluster master node (primary).

Role-based execution is not subject to restriction.

  • isStorageMasterNodePrimary: Information indicating whether the request-destination storage node is the cluster master node (primary)

Verify that the node in question is the cluster master node (primary).

REST API: GET /configuration/storage-master-node-primary-flag

CLI: storage_master_node_primary_flag_show

If "true" is returned for isStorageMasterNodePrimary, the request-destination storage node is the cluster master node (primary). In this case, HTTP status code 200 (OK) is returned for the REST API. However, if error KARS15590-E is returned, the request-destination storage node is not a cluster master node (primary). In this case, HTTP status code 404 (Not Found) is returned for the REST API.