马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。
您需要 登录 才可以下载或查看,没有帐号?立即注册
x
NutanixCE Cluster node – build and configuration
1) Quite simple, follow my previous post up to step 10. Ensure that your VM has been built, configured with networking and running KVM and CVM. Then repeat and build three other nodes.
2) Once they are powered up, check that everything is running by using the following command on each node:
3) At this stage, I performed a little maintenance and reduced the overhead that the CVM would have on my limited resources, I shutdown the CVM’s on each KVM host by doing the following: | virsh shutdown NTNX-e636f35a-A-CVM |
4) Once the VM was shutdown I modified the settings of the VM to only use 6GB RAM instead of 12GB:
| virsh edit NTNX-e636f35a-A-CVM |
Using VI editor, amend the memory sections to reflect the new allocation:
5) Ensure that the configuration is saved (:w!) and then you can start the VM, repeat these steps for all three CVM virtual machines: | virsh start NTNX-e636f35a-A-CVM |
6) Now it is time to create the cluster, login to one of the CVM machines via SSH and enter in the following: | cluster -s $CVMIP1,$CVMIP2,$CVMIP3 create |
7) Now the cluster is built and running enter in the ncli prompt to setup a few things: | ncli cluster edit-params new-name=Home-Lab cluster add-to-name-servers servers=8.8.8.8 |
8) As the cluster is started and configured, I then logged in to the master node (Zeus Leader) via the Web Gui. (Step 13 onwards in my previous blog post).
Safely shutdown and start up cluster nodes I found out that it is not wise to just shutdown your KVM nodes through VMware Workstation, it can have pretty disastrous consequences! Therefore I’m just going to quickly run through shutting down the cluster when you are finished. 1) Using Prism, make sure you have any non-system VM’s shutdown across the cluster. 2) Login to any CVM node that is part of the cluster (I logged into the master, I do not believe it matters). Stop the cluster:
3) At this stage, it is safe to log in to each CVM node and run a shutdown command. | su *root password* shutdown -P now |
4) When all of the CVMs are shut down, it is safe to shut down the guest O/S through Workstation (Shutdown the KVM hosts). 5) Starting the cluster is easier. Power on each KVM virtual host and wait a few minutes for the CVM and services to start. Once services are up, start the cluster! | cluster status cluster start |
That is it really, I hope to post further articles about running some nested VMs within the nested environment and more about the Nutanix platform and how to use it! Hopefully that will come in time as I gain more exposure to it. |