No.#1 Build a new Nutanix cluster with at least 3 nodes
If you are planning to create new Nutanix cluster required at least three nodes for RF-2 cluster
Make sure that all the CVMs, Nodes and IPMI IP addresses are reachable or ping able to each other.
Issue following commands of any controller VM (CVM)
cvm$> cluster -s cvm1_ip_addr,cvm2_ip_addr,cvm3_ip_addr create Test cluster -s 192.168.10.1,192.168.10.2,192.168.10.3 create Note: Each CVM IP adddress separeted by comma (,) without space
OR can do same thing to add extra prefix parameters in above command
cvm$> cluster –cluster_name= --cluster_external_ip= --dns_servers= --ntp_servers= --redundancy_factor=2 -s cvm1_IP_addr,cvm2_IP_addr,cvm3_IP_addr, So on.. create
Note: –redundancy_factor parameter has to values 2 and 3
To
use –redundancy_factor 2 need at least 3 nodes for build the nutanix
cluster, RF-2 keeps one additional copy of master data, if one nodes
goes down or in maintenance mode no impact on nutanix cluster
To
use –redundancy_factor 3 need atleast 5 nodes for build the nutanix
cluster, RF-3 keeps two additional copy of master data, if two nodes
goes down or in maintenance mode no impact on nutanix cluster
No.#2 Start & Stop Nutanix cluster
Planning
for any hardware maintenance or relocation of the nutanix nodes need to
stop the nutanix cluster for sometime and start again to begin
production
To Start Nutanix cluster following command
cvm$ cluster start
To Stop Nutanix cluster following command
cvm$ cluster stop
No.#3 Show cluster status and running services
Want to know nutanix cluster and running services status, Issue following command from any CVM
cvm$ cluster status
No.#4 Set timezone on nutanix running cluster
It is very important to set timezone after built nutanix cluster as your country
cvm$ ncli cluster set-timezone timezone=choose_timezone
Example cvm$ ncli cluster set-timezone timezone=Asia/Kolkata or America/Los_Angeles etc
No.#5 Run nutanix cluster health check
Need to
check nutanix running cluster health status to verify the nutanix health
report via email and text document issue following command from any CVM
cvm$ ncc health_checks run_all
No.#6 Check controller VM (CVM), Hypervisor and IPMI IP Address of running nutanix cluster
To check controller VM (CVM) IP addressees on nutanix cluster
cvm$ svmips
To check Hypervisor IP addresses on nutanix cluster
cvm$ hostips
To check IPMI IP addresses on nutanix cluster
cvm$ ipmiips
No.#7 Check AOS and Hypervisor upgrade progress/status
If want to check upgrade progress through command line and what is going on in back end, hit following command from any CVM
To show AOS upgrade progress/status
cvm$ upgrade_status
To show Hypervisor upgrade progress/status
cvm$> host_upgrade status
No.#8 Check AOS & AHV version through command line
To show AOS version issue following command cvm$ cat /etc/nutanix/release_version #Run on particular node cvm$ allssh cat /etc/nutanix/release_version #Run on entire cluster for all node's CVM
To show AHV version on particular node issue following command AHV# cat /etc/nutanix-release #Run on particular AHV node/host
To show entire cluster AHV version run following command on any CVM of the nutanix cluster cvm$ hostssh cat /etc/nutanix-release
No.#9 Get cluster information like cluster name, cluster UUID, cluster IP address and timezone etc run below command from any CVM
cvm$ ncli cluster info
This is last but not the least command from “nutanix commands pitara”.
No.#10
Know your hardware specification like Memory, CPU, Network card, Power
supply units, Storage info (HDD,SSD) etc. go through mentioned command
cvm$ allssh ncc hardware_info show_hardware_info