日本語は機械翻訳による参考訳です。内容に矛盾や不一致があった場合には、英語の内容が優先されます。
ListServices の場合
ListServices メソッドを使用すると、ノード、ドライブ、現在のソフトウェア、およびクラスタで実行中のその他のサービスに関するサービス情報をリストできます。
パラメータ
このメソッドには入力パラメータはありません。
戻り値
このメソッドの戻り値は次のとおりです。
| 名前 | 説明 | を入力します |
|---|---|---|
サービス |
ドライブおよびノードで実行されているサービス。 |
JSON オブジェクト |
要求例
このメソッドの要求例を次に示します。
{
"method": "ListServices",
"params": {},
"id" : 1
}
応答例
このメソッドの応答例を次に示します。
"id": 1,
"result": {
"services": [
{
"drive": {
"assignedService": 22,
"asyncResultIDs": [],
"attributes": {},
"capacity": 300069052416,
"customerSliceFileCapacity": 0,
"driveID": 5,
"driveStatus": "assigned",
"driveType": "block",
"failCount": 0,
"nodeID": 4,
"reservedSliceFileCapacity": 0,
"serial": "scsi-SATA_INTEL_SSDSC2",
"slot": 3
},
"drives": [
{
"assignedService": 22,
"asyncResultIDs": [],
"attributes": {},
"capacity": 300069052416,
"customerSliceFileCapacity": 0,
"driveID": 5,
"driveStatus": "assigned",
"driveType": "Block",
"failCount": 0,
"nodeID": 4,
"reservedSliceFileCapacity": 0,
"serial": "scsi-SATA_INTEL_SSDSC2",
"slot": 3
}
],
"node": {
"associatedFServiceID": 0,
"associatedMasterServiceID": 1,
"attributes": {},
"cip": "10.117.63.18",
"cipi": "Bond10G",
"fibreChannelTargetPortGroup": null,
"mip": "10.117.61.18",
"mipi": "Bond1G",
"name": "node4",
"nodeID": 4,
"nodeSlot": "",
"platformInfo": {
"chassisType": "R620",
"cpuModel": "Intel(R) Xeon(R) CPU",
"nodeMemoryGB": 72,
"nodeType": "SF3010",
"platformConfigVersion": "10.0"
},
"sip": "10.117.63.18",
"sipi": "Bond10G",
"softwareVersion": "10.0",
"uuid": "4C4C4544-0053",
"virtualNetworks": []
},
"service": {
"associatedBV": 0,
"associatedTS": 0,
"associatedVS": 0,
"asyncResultIDs": [
1
],
"driveID": 5,
"driveIDs": [
5
],
"firstTimeStartup": true,
"ipcPort": 4008,
"iscsiPort": 0,
"nodeID": 4,
"serviceID": 22,
"serviceType": "block",
"startedDriveIDs": [],
"status": "healthy"
}
}
]
}
新規導入バージョン
9.6