在新安装的控制器模块准备就绪后,您可以使用 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:
Do you want to create a new cluster or join an existing cluster? {create, join}: join
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]:
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.
cluster1::> cluster show Node Health Eligibility --------------------- ------- ------------ cluster1-1 true true cluster1-2 true true cluster1-3 true true 3 entries were displayed.
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.