Nutanix homelab.note¶
Source:
/Volumes/X9 Pro/ObsNotes/YoudaoYunNotes/Nutanix homelab.note.pdfConverted: 2025-12-10 12:17:10
Nutanix homelab
Node IP: 192.168.0.200-202/255.255.255.0/192.168.0.1
CVM IP: 192.168.0.210-212
Prism Central_IP: 192.168.0.221, name: pc
cluster_ip_address: 192.168.0.220
ClusterName: yeahcls
google DNS: 8.8.8.8 and 8.8.4.4 / google ntp server: time.google.com
admin pwd: S-e-7-# (default nutanix/4u)
NAS: Hostname: MHNAS1 / ip_address: 192.168.0.230/admin/S-7
ESX Host on Player: Hostname: yeahesx / ip_address: 192.168.0.240 / root /S-e-7-#
NOTE: Remember anytime you log into the NUC or Node you use “root” and anytime you log into the
CVM you use “nutanix”. The password by default is nutanix/4u for either “root” or “nutanix”.
To create Nutanix cluster
cluster -s 192.168.0.210,192.168.0.211,192.168.0.212 create
cluster start
ncli cluster edit-params new-name=yeahcls
ncli cluster get-name-servers
ncli cluster add-to-ntp-servers servers="time.google.com"
ncli cluster set-external-ip-address external-ip-address="192.168.0.220"
To Destroying a Cluster
Log into a Controller VM through SSH
cluster stop
cluster destroy
To set the CVM memory to 8GB
ssh to Node 192.168.0.200-202 as root
virsh list --all (so you can copy the CVM name)
virsh dominfo NTNX-2799c347-A-CVM (show CVM status)
virsh setmem NTNX-2799c347-A-CVM --size 8G (hot update, only)
virsh dominfo NTNX-2799c347-A-CVM (take effect immed.)
virsh shutdown NTNX-2799c347-A-CVM (have to be down to setmax RAM, a couple of mins~)
virsh setmaxmem NTNX-2799c347-A-CVM --size 8G
virsh start NTNX-2799c347-A-CVM
virsh dominfo NTNX-e313df13-A-CVM
To stop Nutanix Cluster
Log on to the Controller VM with SSH.
List all the hosts in the cluster.
acli host.list
Note the value of Hypervisor address for the node you want to shut down.
Put the node into maintenance mode.
nutanix@cvm$ acli host.enter_maintenance_mode 192.168.0.202 wait=true
Replace Hypervisor address with the value of Hypervisor address for the node you want to shut
down. Value of Hypervisor address is either the IP address of the AHV host or the host name. Specify
wait=true to wait for the host evacuation attempt to finish.
Shut down the Controller VM.
nutanix@cvm$ cvm_shutdown -P now
Log on to the AHV host with SSH.
Shut down the host.
root@ahv# shutdown -h now
https://portal.nutanix.com/#/page/docs/details?targetId=AHV-Admin-Guide-v51:ahv-node-shutdown-a
hv-t.html