向集群添加节点

创建集群之后,您可以向其中添加节点,以此扩展该集群。一次只能添加一个节点。

开始之前

关于此任务

节点的数量必须为偶数,这样才能形成 HA 对。开始向集群添加节点后,必须完成该过程。节点必须是集群的一部分,之后才能开始添加另一个节点。

步骤

  1. 启动要添加到集群的节点。
    该节点将启动,并在控制台上启动节点设置向导。
    Welcome to node setup.
    
    You can enter the following commands at any time:
      "help" or "?" - if you want to have a question clarified,
      "back" - if you want to change previously answered questions, and
      "exit" or "quit" - if you want to quit the setup wizard.
         Any changes you made before quitting will be saved.
    
    To accept a default or omit a question, do not enter a value.
    
    
    
    Enter the node management interface port [e0c]:
  2. 退出节点设置向导:exit
    节点设置向导将退出,并出现登录提示,警告您尚未完成设置任务。
  3. 使用 admin 用户名登录到管理员帐户。
  4. 启动集群设置向导:cluster setup
    ::> cluster setup
    
    Welcome to the cluster setup wizard.
    
    You can enter the following commands at any time:
     "help" or "?" - if you want to have a question clarified,
     "back" - if you want to change previously answered questions, and
     "exit" or "quit" - if you want to quit the cluster setup wizard.
     Any changes you made before quitting will be saved.
    
    You can return to cluster setup at any time by typing "cluster setup".
    To accept a default or omit a question, do not enter a value.
    
    
    Do you want to create a new cluster or join an existing cluster? 
    {create, join}:
  5. 将该节点加入集群:join
  6. 按照提示设置该节点并将其加入集群:
    • 要接受提示的默认值,请按 Enter。
    • 要在提示符处自行输入值,请输入相应的值,然后按 Enter 键。
  7. 对要添加的每个其他节点重复上述步骤。

完成之后

向集群添加节点后,应为每个 HA 对启用存储故障转移。