VsanPerfNodeInformation

VsanPerfNodeInformation
VsanPerfNodeInformation

Runtime information about the vSAN Performance service of a single vSAN host.

CMMDS master

The Cluster Monitoring, Membership, and Directory Service (CMMDS) of vSAN elects exactly one master node in every network partition. In a well formed cluster there is exactly one master, but when there are partition, each partition will have its own master. The master doesn't have any special user visible role, it is purely an internal state and any node can be master. The vSAN performance service uses the CMMDS Master node to establish its own notion of "Stats Master". Note though that to be "Stats master" it is not sufficient for a node to be CMMDS Master. The node must also have accessibility to the Stats DB object. Using this scheme guarantees that

  • The Stats Master is easily discoverable.
  • There is only ever one Stats Master in the cluster.

Stats master:

vSAN performance service is a distributed/clustered solution. Every host in a performance service enabled cluster is running a performance service instance. One host is elected to a master named as Stats Master. Stats Master is elected from CMMDS Master hosts only. The Stats Master is the only one writing to the DB. It periodically queries the performance service on the other members of the cluster, aggregates the results and persists them into the database. Stats Master is the host which can response APIs. Every request from front-end client will be handled by Stats Master.

AllOf
This class requires all of the following:
JSON Example
{
    "_typeName": "string",
    "version": "string",
    "hostname": "string",
    "error": {
        "_typeName": "string",
        "faultCause": "MethodFault Object",
        "faultMessage": [
            {
                "_typeName": "string",
                "key": "string",
                "arg": [
                    {
                        "_typeName": "string",
                        "key": "string",
                        "value": {
                            "_typeName": "string"
                        }
                    }
                ],
                "message": "string"
            }
        ]
    },
    "isCmmdsMaster": false,
    "isStatsMaster": false,
    "vsanMasterUuid": "string",
    "vsanNodeUuid": "string",
    "masterInfo": {
        "_typeName": "string",
        "secSinceLastStatsWrite": 0,
        "secSinceLastStatsCollect": 0,
        "statsIntervalSec": 0,
        "collectionFailureHostUuids": [
            "string"
        ],
        "renamedStatsDirectories": [
            "string"
        ],
        "statsDirectoryPercentFree": 0,
        "verboseMode": false,
        "verboseModeLastUpdate": "string"
    },
    "diagnosticMode": false
}
string
version
Required

vSAN performance service version.

string
hostname
Optional

Name of the host.

Only set if queried via vCenter

error
Optional

If error is set, it means that collection of node information failed.

boolean
isCmmdsMaster
Required

Whether or not the node is CMMDS Master.

boolean
isStatsMaster
Required

Whether or not the node is Stats Master.

string
vsanMasterUuid
Optional

The vSAN Node UUID of the CMMDS Master.

May be itself.

string
vsanNodeUuid
Optional

The vSAN Node UUID of the node being queried

masterInfo
Optional

Additional information in case the node is a stats master.

boolean
diagnosticMode
Optional

Whether the node has diagnostic mode enabled.