CVM 单节点集群配置
以下命令均在登入CVM后执行
1)创建集群
cluster -s cvm_ip create
2)查看集群状态
cluster status
3)停止集群
cluster stop
4)删除集群
cluster destroy
5)配置集群名称
ncli cluster edit-params new-name=cluster_name
6)配DNS
ncli cluster add-to-name-servers servers="DNS1,DNS2"
检查DNS配置
ncli cluster get-name-servers
7)配NTP
ncli cluster add-to-ntp-servers servers="ntp1,ntp2"
检查ntp配置
ncli cluster get-ntp-servers
执行截图:
1)cluster -s cvm_ip create
2)cluster status
3)cluster stop
4)cluster destroy
5)ncli cluster edit-params new-names=NTNX-CE
6)ncli cluster add-to-name-servers & ncli cluster get-name-servers
7)ncli cluster add-to-ntp-servers & ncli cluster get-ntp-servers