您可以使用 ListProtectionDomainLevels 方法列出存储集群的容错和故障恢复能力级别。容错级别表示集群在发生故障时可以继续读取和写入数据的能力,而故障恢复能力级别则表示存储集群自动从一个或多个故障中自行修复的能力。
此方法没有任何输入参数。
此方法具有以下返回值:
名称 | 说明 | 类型 |
---|---|---|
protectionDomainLevels | 不同保护域级别的列表,其中每个级别均会提供存储集群的容错和故障恢复能力信息。 | protectionDomainLevel |
此方法的请求类似于以下示例:
{ "method": "ListProtectionDomainLevels", "params": {}, "id" : 1 }
此方法返回类似于以下示例的响应:
{ "id": 1, "result": { "protectionDomainLevels": [ { "protectionDomainType": "node", "resiliency": { "protectionSchemeResiliencies": [ { "protectionScheme": "doubleHelix", "sustainableFailuresForBlockData": 0, "sustainableFailuresForMetadata": 1 } ], "singleFailureThresholdBytesForBlockData": 0, "sustainableFailuresForEnsemble": 1 }, "tolerance": { "protectionSchemeTolerances": [ { "protectionScheme": "doubleHelix", "sustainableFailuresForBlockData": 0, "sustainableFailuresForMetadata": 1 } ], "sustainableFailuresForEnsemble": 1 } }, { "protectionDomainType": "chassis", "resiliency": { "protectionSchemeResiliencies": [ { "protectionScheme": "doubleHelix", "sustainableFailuresForBlockData": 0, "sustainableFailuresForMetadata": 1 } ], "singleFailureThresholdBytesForBlockData": 0, "sustainableFailuresForEnsemble": 1 }, "tolerance": { "protectionSchemeTolerances": [ { "protectionScheme": "doubleHelix", "sustainableFailuresForBlockData": 0, "sustainableFailuresForMetadata": 1 } ], "sustainableFailuresForEnsemble": 1 } } ] } }
11.0