Skip to main content
Element Software
简体中文版经机器翻译而成,仅供参考。如与英语版出现任何冲突,应以英语版为准。

ListISCSISessions

贡献者

您可以使用 ListISCSISessions 方法列出集群中卷的 iSCSI 连接信息。

Parameters

此方法没有输入参数。

返回值

此方法具有以下返回值:

Name Description Type

会话

有关每个 iSCSI 会话的信息。

请求示例

此方法的请求类似于以下示例:

{
   "method": "ListISCSISessions",
   "params": {},
   "id" : 1
}

响应示例

此方法返回类似于以下示例的响应:

 {
  "id": 1,
  "result": {
    "sessions": [
      {
        "accountID": 1,
        "accountName": "account1",
        "authentication": {
            "authMethod": "CHAP",
            "chapAlgorithm": "SHA3_256",
            "chapUsername": "iqn.1994-05.com."redhat:1cf11f3eed3",
            "direction": "two-way"
        },
        "createTime": "2022-10-03T22:02:49.121723Z",
        "driveID": 23,
        "driveIDs": [23],
        "initiator": null,
        "initiatorIP": "10.1.1.1:37138",
        "initiatorName": "iqn.2010-01.net.solidfire.eng:c",
        "initiatorPortName": "iqn.2010-01.net.solidfire.eng:c,i,0x23d860000",
        "initiatorSessionID": 9622126592,
        "msSinceLastIscsiPDU": 243,
        "msSinceLastScsiCommand": 141535021,
        "nodeID": 3,
        "serviceID": 6,
        "sessionID": 25769804943,
        "targetIP": "10.1.1.2:3260",
        "targetName": "iqn.2010-01.com.solidfire:a7sd.3",
        "targetPortName": "iqn.2010-01.com.solidfire:a7sd.3,t,0x1",
        "virtualNetworkID": 0,
        "volumeID": 3,
        "volumeInstance": 140327214758656
      }
     ...
    ]
  }
}

自版本以来的新增功能

9.6