验证集群运行状况(验证存储运行状况)

在升级、还原或降级集群前后,您应该验证节点是否正常运行并有资格加入集群,以及集群是否处于仲裁阶段。

步骤

  1. Verify that the nodes in the cluster are online and are eligible to participate in the cluster: cluster show
    示例
    cluster1::> cluster show
    Node                  Health  Eligibility
    --------------------- ------- ------------
    node0                 true    true
    node1                 true    true
    
    If any node is unhealthy or ineligible, check EMS logs for errors and take corrective action.
  2. Set the privilege level to advanced: set -privilege advanced
  3. 输入 y 继续操作。
  4. Verify the configuration details for each RDB process.
    • The relational database epoch and database epochs should match for each node.
    • The per-ring quorum master should be the same for all nodes.

      Note that each ring might have a different quorum master.

    To display this RDB process... 输入的命令
    Management application cluster ring show -unitname mgmt
    Volume location database cluster ring show -unitname vldb
    Virtual-Interface manager cluster ring show -unitname vifmgr
    SAN management daemon cluster ring show -unitname bcomd
    示例
    This example shows the volume location database process:
    cluster1::*> cluster ring show -unitname vldb
    Node      UnitName Epoch    DB Epoch DB Trnxs Master    Online
    --------- -------- -------- -------- -------- --------- ---------
    node0     vldb     154      154      14847    node0     master
    node1     vldb     154      154      14847    node0     secondary
    node2     vldb     154      154      14847    node0     secondary
    node3     vldb     154      154      14847    node0     secondary
    4 entries were displayed.
    
  5. If you are operating in a SAN environment, verify that each node is in a SAN quorum: event log show -messagename scsiblade.*
    The most recent scsiblade event message for each node should indicate that the scsi-blade is in quorum.
    示例
    cluster1::*> event log show -messagename scsiblade.*
    Time                Node             Severity      Event
    ------------------- ---------------- ------------- ---------------------------
    MM/DD/YYYY TIME  node0            INFORMATIONAL scsiblade.in.quorum: The scsi-blade ...
    MM/DD/YYYY TIME  node1            INFORMATIONAL scsiblade.in.quorum: The scsi-blade ...
    
  6. Return to the admin privilege level: set -privilege admin