How To Safely Shut Down Your ESXi and Nutanix AOS Cluster
About
Shut down all hosts in a Nutanix cluster that is running VMware ESXi for maintenance.
General Process
- Run NCC Health Check via Nutanix Web Console
- Shut down all VMs in the vCenter
- Shut down the vCenter (VM)
- Stop the Nutanix Cluster and Shut down CVM
- Shut down each Node (Host)
- Powering on the nodes and cluster after a shutdown
- Start Nutanix cluster
- Start All VMs
Power Off |
1. Run NCC Health Check via Nutanix Web Console
Note: Upgrade to the latest version of NCC before proceeding with the following steps.
i. Upgrade NCC to latest version
ii. Run NCC Health Check
Check that everything is working well, then could proceed to the next step.
2. Shut down All VMs in the vCenter
NOTE : Do not shut down the Nutanix Controller VMs (CVM).
i. The DRS setting must be set to 'Manual
' before shutting down all VMs.
ii. Start the process of shutting down all virtual machines using vCenter.
3. Shut down the vCenter (VM)
Note: Remember the host on which the vCenter is currently running.
* Host will be assigned automatically based on the cluster, and their names should fall within the range of vms01-08.
Method 1: Login - vCenter Server Management to shut down (via Browser)
Method 2: To shut down via Remote Console
4. Stop the Nutanix Cluster and Shut down CVM
i. Stop the Nutanix cluster
Log in to one of CVM using SSH and execute the following command to stop the Nutanix cluster:
cluster stop
Wait until output similar to the following is displayed for every Controller VM in the cluster before proceeding:
ii. Shut down CVM:
Referring to the 'HCI IP Information Table', log in to each CVM using SSH and execute the following command to shut down:
sudo shutdown -P now
5. Shut down each Node (Host)
Method01: via GUI
Log in to each node (ESXi) using a browser to follow the indicators.
i. Put host in maintenance mode:
ii. Shut down the host:
Method02: via Command line
Log in to each Node (ESXi) using SSH and execute the following command
i. Put host in maintenance mode:
esxcli system maintenanceMode set --enable true
ii. Shut down the host:
poweroff
Power On |
6. Powering on the Nodes and Cluster
After the shutdown
i. Power On all Nodes via IPMI. (Or turn it on by pressing the physical power button on the front)
ii. Log in to each node (ESXi) using a browser and select Exit Maintenance Mode.
Or, log in to each Node using SSH and execute the following command
esxcli system maintenanceMode set --enable false
iii. Log in the node that previous was recorded (e.g.vms01) , then Right-click the vCenter and select Power > Power on.
Or, log in to the Node (vms01) using SSH and execute the following command
vim-cmd vmsvc/power.on "$(vim-cmd vmsvc/getallvms | grep -ia "vCenter" | cut -d ' ' -f 1)"
Wait for approximately 5 minutes for all services to start on the VM.
iv. Right-click each CVM and select Power > Power on via vCenter
Or, log in to Each Node (ESXi) using SSH and execute the following command
vim-cmd vmsvc/power.on "$(vim-cmd vmsvc/getallvms | grep -ia "NTNX-*-CVM" | cut -d ' ' -f 1)"
7. Start Nutanix Cluster
i. Log on to any of the CVMs in the cluster via SSH with the nutanix user credentials.
ii. Start the Nutanix cluster by issuing the following command:
cluster start
When the cluster starts, output similar to the following is displayed for each Controller VM in the cluster:
iii. Confirm that all cluster services are running on the Controller VMs.
cluster status
2023-07-11 03:38:45,982Z INFO MainThread cluster:3088 Success! (*The last in line.)
iv. Confirm that all Nutanix datastores are available:
Right-click the ESXi host in the vSphere client and select Rescan for Datastores.
8. Start All VMs
i. Power On all virtual machines using vCenter.
ii. The DRS setting must be set to 'Fully Automated
' after Power On all VMs.
Le comparateur Inventonslemondedapres valorise
les casinos en ligne qui offrent une expérience de jeu équitable et
sécurisée !
Definitely believe that which you stated.
Your favorite justification seemed to be on the web the easiest thing to be aware of.
I say to you, I certainly get irked while people think about worries that they
just do not know about. You managed to hit the nail upon the top as well as defined
out the whole thing without having side effect ,
people can take a signal. Will probably be back
to get more. Thanks
casino en ligne
I do not even know how I ended up here, but I thought this post was great.
I do not know who you are but definitely you're going to a famous blogger if you are not
already ;) Cheers!
casino en ligne
I want to to thank you for this wonderful read!!
I definitely enjoyed every bit of it. I have you
book marked to look at new stuff you post…
web page
What's Going down i'm new to this, I stumbled upon this I have discovered It
absolutely helpful and it has helped me out loads. I hope to give a
contribution & aid other customers like its helped me.
Good job.
homepage
Superb blog you have here but I was curious if you knew of any message boards that cover the same
topics discussed in this article? I'd really like to be a part of community where I
can get opinions from other knowledgeable people
that share the same interest. If you have any recommendations, please let
me know. Kudos!
homepage
Thank you, I've recently been searching for info about this subject for a
long time and yours is the greatest I've discovered so far.
But, what in regards to the bottom line? Are you positive about the source?
website
Thanks for sharing such a fastidious idea, paragraph is pleasant, thats why i have read it fully
casino en ligne
It's awesome to visit this web page and reading the views of
all friends about this post, while I am also keen of getting experience.
web page
I read this article fully on the topic of the comparison of
hottest and preceding technologies, it's amazing article.
website
It's perfect time to make some plans for the future and it is time to be happy.
I've read this post and if I could I desire to suggest you some interesting things or tips.
Perhaps you could write next articles referring to this article.
I wish to read even more things about it!
site
This website was... how do you say it? Relevant!! Finally I've found something
that helped me. Thanks a lot!
website
I really like it when people get together and share views.
Great blog, continue the good work!
web site
Good day! This post couldn't be written any better!
Reading through this post reminds me of my previous room mate!
He always kept talking about this. I will forward
this post to him. Pretty sure he will have a good read.
Thank you for sharing!
https://www.lavozdemichoacan.com.mx/entretenimiento/como-saber-cuando-un...
Hi there, I read your blog on a regular basis. Your humoristic style is awesome, keep up the good work!
casino en ligne francais
I loved as much as you'll receive carried out right here.
The sketch is attractive, your authored subject matter stylish.
nonetheless, you command get got an impatience over that you wish be
delivering the following. unwell unquestionably come further formerly again as exactly
the same nearly a lot often inside case you shield this
increase.
casino en ligne
Hi there everyone, it's my first go to see at this web site, and post is
really fruitful in favor of me, keep up posting
these types of articles or reviews.
casino en ligne
It's really a cool and useful piece of information. I'm satisfied that you
just shared this useful information with us. Please keep us informed like this.
Thank you for sharing.
webpage
It is not my first time to visit this site, i am browsing this website
dailly and take nice facts from here daily.
casino en ligne fiable
Simply want to say your article is as amazing. The clarity in your post is simply great and i can assume you're an expert
on this subject. Well with your permission allow me to grab
your RSS feed to keep updated with forthcoming post.
Thanks a million and please keep up the rewarding work.
casino en ligne fiable
I was able to find good information from your content.
homepage
Le comparateur Inventonslemondedapres valorise les casinos
en ligne qui respectent des standards élevés de
qualité et sécurité !