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)
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.