How to put Nutanix Acropolis host into maintenance mode

Today is a quick post on how to check or put Acropolis node into maintenance mode.

How to check if Acropolis hosts is in maintenance mode.

Log in to CVM over SSH and get into acli. From acli, type host. and hit TAB to see available options (See below)

NOTE: below is applicable for AOS 5.0.X or older.

To check if Acropolis hosts is under maintenance mode run command host.list

In a column, Schedulable – if value is TRUE, means host is not under  maintenance mode, if it is FALSE – Acropolis hosts is under maintenance mode.

How to put Acropolis node into maintenance mode. From acli run command host.enter_maintenance_mode <hostname> (see below)

Acropolis will migrate all VM’s out of the host (same as on any other hypervisor). Run command host.list to verify if last command take effect. As you can see, in column Schedulable, for first host value is FALSE, which means host is in maintenance mode.

Exit Acropolis host from maintenance mode.

From acli run command host.exit_maintenance_mode <hostname> (See below)

 

 

 

 

 

Artur Krzywdzinski

Artur is Consulting Architect at Nutanix. He has been using, designing and deploying VMware based solutions since 2005 and Microsoft since 2012. He specialize in designing and implementing private and hybrid cloud solution based on VMware and Microsoft software stacks, datacenter migrations and transformation, disaster avoidance. Artur has been in IT industry since 1999 and consulting since 2008. Artur holds VMware Certified Design Expert certification (VCDX #077).