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

使用命令行界面将节点加入集群

提供者 NetAppZacharyWambold

新安装的控制器模块准备就绪后,您可以使用 cluster setup 命令将每个控制器模块添加到集群中。

关于此任务
  • 您必须在两个节点上执行此操作步骤。

  • 您必须一次加入一个节点,而不能同时加入。

步骤
  1. 在命令行界面提示符处使用 cluster setup 命令启动集群设置向导。

    ::> cluster setup
    
    Welcome to the cluster setup wizard....
    
    Use your web browser to complete cluster setup by accessing
    https://10.63.11.29
    
    Otherwise, press Enter to complete cluster setup using the
    command line interface:
    注

    有关使用基于 GUI 的集群设置向导的说明,请参见 使用 System Manager 向集群添加节点

  2. 按 Enter 键以使用命令行界面完成此任务。当系统提示您创建新集群或加入现有集群时,输入 join

    Do you want to create a new cluster or join an existing cluster? {create, join}:
    join
  3. 当系统提示您配置现有集群接口时,按 Enter 接受该配置。

    Existing cluster interface configuration found:
    
    Port    MTU     IP              Netmask
    e1a     9000    169.254.87.75   255.255.0.0
    
    Do you want to use this configuration? {yes, no} [yes]:
  4. 按照提示加入现有集群。

    Step 1 of 3: Join an Existing Cluster
    You can type "back", "exit", or "help" at any question.
    
    Enter the name of the cluster you would like to join [cluster1]: cluster1
    
    Joining cluster cluster1
    
    Starting cluster support services ..
    
    This node has joined the cluster cluster1.
    
    Step 2 of 3: Configure Storage Failover (SFO)
    You can type "back", "exit", or "help" at any question.
    
    SFO will be enabled when the partner joins the cluster.
    
    Step 3 of 3: Set Up the Node
    
    Cluster setup is now complete.

    节点将自动重命名,以便与集群名称匹配。

  5. 在集群上,使用 cluster show 命令验证节点是否属于集群。

    cluster1::> cluster show
    Node                  Health  Eligibility
    --------------------- ------- ------------
    cluster1-1            true    true
    cluster1-2            true    true
    cluster1-3            true    true
    3 entries were displayed.
  6. 重复步骤 #stef_3D8223C5AC7145EE8C9A9397270D0610#stef_F6678CB6B1A94A08F86F83BA8BA8E35 新安装的第二个控制器模块。

    在第二个节点上,集群设置向导在以下方面有所不同:

    • 它默认加入现有集群,因为其配对集群已属于某个集群。

    • 它会自动在两个节点上启用存储故障转移。

  7. 使用 storage failover show 命令验证是否已启用存储故障转移并可执行存储故障转移。

    以下输出显示已在集群的所有节点上启用存储故障转移,并且可以执行此操作,包括新添加的节点:

    cluster1::> storage failover show
                                  Takeover
    Node           Partner        Possible State
    -------------- -------------- -------- -------------------------------------
    cluster1-1     cluster1-2     true     Connected to cluster1-2
    cluster1-2     cluster1-1     true     Connected to cluster1-1
    cluster1-3     cluster1-4     true     Connected to cluster1-3
    cluster1-4     cluster1-3     true     Connected to cluster1-4
    4 entries were displayed.