Nutanix : Using ansible to download and update NCC on alll you nutanix clusters

If you don’t know Nutanix Cluster Check (NCC), you can read more about it here and here . NCC is one of the most critical tools to detect any problems in your Nutanix platform, so it is important to keep it up to date.

When a new NCC version is released, you need to connect to each Nutanix cluster and upgrade NCC by using either the Prism web console or Life Cycle Manager.

    1. Log on to the Prism web console

Nutanix : Who deleted my VM ?

Someone deleted a VM from the AHV cluster. We can see a VM deletion task under Prism Element, but we can’t easiliy determine which VM got deleted and by whom? Can you help?

I am surprised this kind of information can’t be found directly on Prism Element (PE). All you got is a notification for a VM deletion task that doesn’t provide any further details.

If you need more information on who deleted a specific VM, the only option that

Nutanix Flow isolation Policy with Terraform

Here we go with another blog post on Nutanix and Terraform. 
If you haven’t checked the first video on how to provision VMs on Nutanix AHV with Terraform, here is the link.

The idea of this post is to quickly show you how Terraform can be leveraged to create software-defined network security policies on AHV with Nutanix Flow. For more information on Nutanix Flow capabilities, please refer to the following link: Nutanix-Flow-datasheet

For this blog post, we are going to

Nutanix and Terraform – VM’s Creation

I am sure you have heard of HashiCorp and Terraform solution.

Basically, Terraform is a tool/framework you can leverage to describe/define what your Infrastructure will look like and manage its provisioning (day 1) and Lifecycle (day2).
The power of Terraform is that the description of your Infrastructure is done by having a set of declarative configuration files that are human-readable, which means you don’t need to be an expert in coding to understand and …

Nutanix and Gitlab – Foundation and Cluster Creation

Nutanix has a bunch of APIs that you can leverage to automate different processes and reduce operational time, effort, risks, and improve consistency. In the following example, we will see how GitLab can be used to deploy a new AHV cluster from scratch. 

Our Gitlab Project called “ntnx-automation” is composed of different files:

  • A README file, usually a documention, describing requirements, how to use the solution, etc.
  • A ntnx-scripts folder storing all scripts dedicated to the automation project.

Nutanix : Tip of the Week #1

This post is the first of a weekly series of short articles on Nutanix, providing hopefully useful tips.

If you need to change passwords on your Nutanix cluster (Host, IPMI and CVM) you can use these below scripts to do it quickly.

Change password on all CVM:

for i in `svmips`;do echo “–$i–“;ssh nutanix@$i ‘echo -e “NewPassword\nNewPassword” | sudo passwd nutanix’;done

Change password on all Host:

for i in `hostips`;do echo “–$i–“;ssh root@$i ‘echo -e “NewPassword\nNewPassword” | passwd root’;done


Nutanix : How to replace default Nutanix ERA certificate

For better security, TLS certificates are necessary to enable secure connections between a browser and your application. In this article, I will show you in fives steps how you change the default ERA certificate with custom certificate

Step 1: Snapshot ERA VM

Step 2: Transfer certificate files to Era VM on specific folder.

You need  a PEM bundle containing:

  • The private key without passphrase
  • The certificate itself
  • Intermediate certificates

Tips: Use openssl to remove passphrase from the private key with the

Nutanix : Upgrade Nutanix Era

Quick video to show you how to upgrade Nutanix Era software that automates database provisioning and  administration:



Enjoy the new versions!

Nutanix : Comment réparer une mise à niveau NCC bloquée

Un blog post rapide pour vous expliquer sur la façon de réparer une mise à niveau NCC qui bloque

Connectez-vous sur la CVM en question et lancez la commande « progress_monitor_cli fetchall qui vous donne plus d’informations sur la tâche bloquée telles que son id, le type d’opération et le nom de l’opération.

Ces infos vous seront nécessaire pour annuler la tâche bloquée, récupérer l’id de la tâche, l’opération et le type et utiliser la commande :

progress_monitor_cli –entity_id= «xxxx » –operation=upgrade_ncc –entity_type=

Nutanix : Move 3.0   


Nutanix a publié Move version 3.0 anciennement connue sous le nom de xTRACT VM, une solution de migration entre hyperviseurs multiples pour migrer les VMs avec un temps d’indisponibilité minimal. 

Cette version  prend en charge trois types de sources pour la migration: la migration des VMs s’exécutant sur un hyperviseur ESXi géré par vCenter; migration d’instances EC2 basées sur EBS et exécutées sur AWS et la migration de machines virtuelles s’exécutant sur un hyperviseur Hyper-V.

Version AOS Version VMware Version Hyper-V