使用系统运行状况监视显示无中断运行状态

您可以使用system health这些命令显示有关集群的整体系统运行状况和 CIFS-NDO 子系统运行状况的信息、响应警报、配置未来警报以及显示有关如何配置运行状况监视的信息。

步骤

  1. 通过执行相应的操作监控运行状况:
    显示信息 命令
    该系统的运行状况反映了各个运行状况监视器的总体状态 system health status show
    有关 cifs -ndo 子系统运行状况的信息 system health subsystem show -subsystem CIFS-NDO -instance
  2. 显示有关如何通过执行相应操作来配置 CIFS-NDO 警报监控的信息:
    显示相关信息 命令
    CIFS-NDO 子系统的运行状况监视程序的配置和状态,例如节点被监视、初始化状态和状态 system health config show -subsystem CIFS-NDO
    CIFS-NDO 警告运行状况监视器可能会生成该警报 system health alert definition show -subsystem CIFS-NDO
    CIFS-NDO 运行状况监控策略,用于确定何时发出警报 system health policy definition show -monitor node-connect
    注:使用 -instance 参数显示详细信息。

示例

以下输出显示了有关集群和 CIFS-NDO 子系统整体运行状况的信息:

cluster1::> system health status show
Status
---------------
ok

cluster1::> system health subsystem show -instance -subsystem CIFS-NDO

                   Subsystem: CIFS-NDO
                      Health: ok
        Initialization State: initialized
Number of Outstanding Alerts: 0
 Number of Suppressed Alerts: 0
                        Node: node2
  Subsystem Refresh Interval: 5m

以下输出显示了有关 CIFS-NDO 子系统运行状况监视器的配置和状态的详细信息:

cluster1::> system health config show -subsystem CIFS-NDO -instance

                           Node: node1
                        Monitor: node-connect
                      Subsystem: SAS-connect, HA-health, CIFS-NDO
                         Health: ok
                Monitor Version: 2.0
            Policy File Version: 1.0
                        Context: node_context
                     Aggregator: system-connect
                       Resource: SasAdapter, SasDisk, SasShelf, HaNodePair,
                                 HaICMailbox, CifsNdoNode, CifsNdoNodeVserver
Subsystem Initialization Status: initialized
    Subordinate Policy Versions: 1.0 SAS, 1.0 SAS multiple adapters, 1.0, 1.0

                           Node: node2
                        Monitor: node-connect
                      Subsystem: SAS-connect, HA-health, CIFS-NDO
                         Health: ok
                Monitor Version: 2.0
            Policy File Version: 1.0
                        Context: node_context
                     Aggregator: system-connect
                       Resource: SasAdapter, SasDisk, SasShelf, HaNodePair,
                                 HaICMailbox, CifsNdoNode, CifsNdoNodeVserver
Subsystem Initialization Status: initialized
    Subordinate Policy Versions: 1.0 SAS, 1.0 SAS multiple adapters, 1.0, 1.0