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

显示有关故障转移组的信息

贡献者

您可以查看有关故障转移组的信息,包括每个故障转移组中的节点和端口列表,是否已启用或禁用故障转移以及应用于每个 LIF 的故障转移策略类型。

步骤
  1. 使用显示每个故障转移组的目标端口 network interface failover-groups show 命令:

    以下命令显示有关双节点集群上所有故障转移组的信息:

    network interface failover-groups show
                                  Failover
    Vserver        Group          Targets
    -------------- -------------- ---------------------------------
    Cluster
                   Cluster
                                  cluster1-01:e0a, cluster1-01:e0b,
                                  cluster1-02:e0a, cluster1-02:e0b
    vs1
                   Default
                                  cluster1-01:e0c, cluster1-01:e0d,
                                  cluster1-01:e0e, cluster1-02:e0c,
                                  cluster1-02:e0d, cluster1-02:e0e
  2. 使用显示特定故障转移组的目标端口和广播域 network interface failover-groups show 命令:

    以下命令显示 SVM vs4 的故障转移组 data12 的详细信息:

    network interface failover-groups show -vserver vs4 -failover-group data12
    
           Vserver Name: vs4
    Failover Group Name: data12
       Failover Targets: cluster1-01:e0f, cluster1-01:e0g, cluster1-02:e0f,
                         cluster1-02:e0g
       Broadcast Domain: Default
  3. 使用显示所有LI使用的故障转移设置 network interface show 命令:

    以下命令显示每个 LIF 正在使用的故障转移策略和故障转移组:

    network interface show -vserver * -lif * -fields failover-group,failover-policy
    vserver   lif                 failover-policy        failover-group
    --------  ------------------  ---------------------  --------------
    Cluster   cluster1-01_clus_1  local-only             Cluster
    Cluster   cluster1-01_clus_2  local-only             Cluster
    Cluster   cluster1-02_clus_1  local-only             Cluster
    Cluster   cluster1-02_clus_2  local-only             Cluster
    cluster1  cluster_mgmt        broadcast-domain-wide  Default
    cluster1  cluster1-01_mgmt1   local-only             Default
    cluster1  cluster1-02_mgmt1   local-only             Default
    vs1       data1               disabled               Default
    vs3       data2               system-defined         group2