列示 Quorum Witness 连接状态
使用 quorum_witness_connections_list 命令可列示与 Quorum Witness 的连接的状态。
quorum_witness_connections_list [ name=qw_name ] [ module=module_id ]
参数
| 名称 | 类型 | 描述 | 必需 | 缺省值 |
|---|---|---|---|---|
| name | 对象名 | 要列示的 Quorum Witness 的内部名称。 | 否 | 所有 Quorum Witness 连接。 |
| module | 不适用 | 要列示的模块的标识。 | 否 | Quorum Witness 连接到的所有模块。 |
命令输出中包含以下字段:
- module_id:Quorum Witness 所连接到的模块的标识。
- name:Quorum Witness 的内部名称。
- connection:与 Quorum Witness 的连接的状态。 可能的连接值为:
值 含义 Connected Quorum Node 已成功连接到 Quorum Witness。 Failed to initialize HTTP 连接初始化失败。 Malformed URL Cannot resolve the proxy address Cannot resolve the host address Cannot connect to peer HTTP communication error Out of memory Connection timeout Quorum Witness 可能发生故障或地址/端口对不正确。 HTTP Post communication error Secure connection issue 请参阅下面 secure_connection 字段中的详细信息。 Too many redirects Bad content encoding Transient error Failed to chunk data Quorum node has failed - secure_connection:连接上确定的安全性的状态。
可能的 secure_connection 值为:
值 含义 None Quorum Witness 连接上禁用了安全性。 Verified 已验证连接安全性。 Unauthorized Quorum Witness 拒绝了系统证书。 General SSL/TLS failure Peer verification failed Problem with local certificate Secure cipher error CA certificate is unusable 提供的 Quorum Witness 证书不正确。 Failed initializing secure communication Could not load CACERT file, missing or wrong format Failed to shut down the SSL/TLS connection Could not load CRL file, missing or wrong format Issuer check failed
- heartbeating:指示 Quorum Witness 是否成功处理了模块脉动信号。
示例:
quorum_connection_list name=q1 module=1:Module:3
输出:
Module ID Name Connection Secure Connection Heartbeating
------------ ------- ------------ ------------------- --------------
1:Module:3 q1 Connected Verified yes
| 字段标识 | 字段输出 | 缺省位置 |
|---|---|---|
| module_id | Module ID | 1 |
| name | Name | 2 |
| connection | Connection | 3 |
| secure_connection | Secure Connection | 4 |
| heartbeats_ok | Heartbeating | 5 |
访问控制
| 用户类别 | 许可权 |
|---|---|
| 存储管理员 | 已允许 |
| 存储集成管理员 | 不允许 |
| 应用程序管理员 | 不允许 |
| 安全性管理员 | 不允许 |
| 只读用户 | 不允许 |
| 技术人员 | 已允许 |