Thursday 19 January 2017

How to Fix a Nutanix CVM being Stuck in Maintenance Mode

1. ssh into the Nutanix cluster VM
2. cluster status
3. ncli host list (This will give you the host ID)
################
   Id                        : 9911991c-1111-093y-11yb-blahblah88::61810    
   Uuid                      : 5blahblabla99-5227-43d9-ae05-24
   Name                      : NTNX-SERIAL-X
   IPMI Address              : 10.10.3.3
   Controller VM Address     : 10.10.2.2
   Hypervisor Address        : 10.10.1.1
   Host Status               : NORMAL
   Oplog Disk Size           : 428.02 GiB (459,587,190,986 bytes) (0.7%)
   Under Maintenance Mode    : false (Hypervisor upgrade)
   Metadata store status     : Metadata store enabled on the node
   Node Position             : Node physical position can't be displayed for this model. Please refer to Prism UI for this information.    
   Node Serial (UUID)        : VENDORSERIAL    
   Block Serial (Model)      : VENDORSERIAL (NODE MODEL)###############

4. ncli host edit id=9911991c-1111-093y-11yb-blahblah88::61810::61810 enable-maintenance-mode="false"

5. cluster status

Wednesday 18 January 2017

Moving a vCenter server into a EVC cluster.

It’s a catch 22 scenario, you want to run your vCenter server in a cluster with EVC enabled, but you can’t build/manage a cluster without vCenter running so here is how you do it.
1) Build vCenter  on ESX server 1
2) Build a cluster in vCenter, enable EVC and place ESX Server 2 in that cluster.
3) Power down vCenter Server(s),. open vSphere client, connect to ESX server 1, remove the vCenter VM(s) from inventory (DO NOT delete from disk). close vSphere client
4) Open vSphere client, connect directly to ESX server 2.  Browse the datastore for the vCenter VM(s).  Connect to them, power them up.
5) You can now connect to the vCenter and move ESX server 1 into the EVC cluster.