您可以使用 ListAllNodes 方法列出集群中的活动节点和待定节点。
此方法没有任何输入参数。
此方法具有以下返回值:
名称 | 说明 | 类型 |
---|---|---|
nodes | 描述集群中的活动节点的对象列表。 | node |
pendingActiveNodes | 描述集群中的待定活动节点的对象列表。 | pendingActiveNode 数组 |
pendingNodes | 描述集群中的待定节点的对象列表。 | pendingNode 数组 |
此方法的请求类似于以下示例:
{ "method": "ListAllNodes", "params": {}, "id" : 1 }
此方法返回类似于以下示例的响应:
{ "id": 1, "result": { "nodes": [ { "associatedFServiceID": 0, "associatedMasterServiceID": 1, "attributes": {}, "chassisName": "CT5TV12", "cip": "10.1.1.1", "cipi": "Bond10G", "fibreChannelTargetPortGroup": null, "mip": "10.1.1.1", "mipi": "Bond1G", "name": "NLABP0704", "nodeID": 1, "nodeSlot": "", "platformInfo": { "chassisType": "R620", "cpuModel": "Intel", "nodeMemoryGB": 72, "nodeType": "SF3010", "platformConfigVersion": "0.0.0.0" }, "sip": "10.1.1.1", "sipi": "Bond10G", "softwareVersion": "11.0", "uuid": "4C4C4544-0054", "virtualNetworks": [] } ], "pendingActiveNodes": [], "pendingNodes": [] } }
9.6