Nutanix Technology Champion - Nutanix Solution Architect

Julien DUMUR
Infrastructure in a Nutshell
nutanix move

Before starting the process that will allow you to migrate all of your virtual machines to your new Nutanix AHV environment, a quick overview of the prerequisites is required.

General prerequisites

In terms of general prerequisites, there are a few things to respect and check before starting the migration of your infrastructure.

You can migrate everything, with 2 exceptions

The first thing to know is the types of machines to migrate. You can migrate all of your virtual machines with Nutanix Move, except:

  • domain controllers
  • Exchange servers

These are the only 2 restrictions of the software. It is recommended to install a new domain controller, migrate the FSMO roles to it, promote it to a primary domain controller and depromote the old one. Regarding Exchange, you will have to reinstall a server and transfer all of the data from the old server.

Network Flows

Obviously, since we are talking about a migration via the network, it is imperative that the flows are open to allow Nutanix Move to reach the source and destination clusters:

Network flows required by Nutanix Move

An upcoming update of my flow matrix is ​​planned to integrate the Move part.

Administrator account with privilege

For Nutanix Move to perform the operations required for migrations on the different source and destination clusters, it is imperative to have accounts with administrator rights on these clusters.

Prerequisites specific to VMware ESXi clusters

Supported operating systems

To date, the majority of operating systems used in a professional environment on ESXi are supported by Move.

You can find the supported operating systems for a migration from ESXi directly in the official documentation: https://portal.nutanix.com/page/documents/details?targetId=Nutanix-Move-v5_4:top-migration-considerations-c.html

If one of your virtual machines is not compatible for a Nutanix Move migration (I invite you to carry out tests, unsupported does not mean non-functional), you will then have to consider carrying out a complete and up-to-date reinstallation on the new cluster.

VMware Tools

It is important that VMware tools are deployed on all of your virtual machines so that Nutanix Move can manage the virtual machines hosted on the source ESXi cluster optimally. This will avoid warnings or failures when you launch the migration processes.

Since Nutanix Move 6.3.3, two additional vCenter permissions are required to migrate from ESXi, and I detail them in Nutanix Move 6.3.3: DirectPath, Migration Without VDDK.

All ESXi prerequisites are available here: https://portal.nutanix.com/page/documents/details?targetId=Nutanix-Move-v5_4:top-migration-considerations-c.html

Specific prerequisites for Microsoft Hyper-V clusters

Supported operating systems

To date, the majority of operating systems used in a professional environment on Hyper-V are supported by Move.

You can find the operating systems supported by Move for a migration from Hyper-V directly in the official documentation: https://portal.nutanix.com/page/documents/details?targetId=Nutanix-Move-v5_4:top-hyperv-vm-migration-c.html

If one of your virtual machines is not compatible for a Nutanix Move migration (I invite you to carry out tests, not supported does not mean non-functional), you will then have to consider carrying out a complete and up-to-date reinstallation on the new cluster.

Nutanix Move Agent

On the Hyper-V cluster, for this to work, it will be imperative to deploy the Nutanix Move Agent. I will detail the agent installation procedure in the following articles.

It’s here in the official documentation: https://portal.nutanix.com/page/documents/details?targetId=Nutanix-Move-v5_4:top-deploy-nt-service-t.html

All the Hyper-V prerequisites are here: https://portal.nutanix.com/page/documents/details?targetId=Nutanix-Move-v5_4:top-migration-considerations-hyperv-ahv-c.html

Linux Azure

For Linux VMs, you also need to install an add-on on each of them using the following command:

sudo apt install linux-azure

Linux Azure is a kind of VMware tools for Hyper-V and reserved for Linux machines.

In the next blog post, we will deploy the Move machine on our Nutanix AHV cluster.

Read More
nutanix move

In my previous article, I presented Move, the Nutanix software that facilitates migration to AHV or any other supported hypervisor.

In order to write this series of posts, I set up the most representative environments of what we currently find at our customers. Let me introduce them to you so that you have the migration context.

The source clusters

I set up 2 separate clusters on 2 different hypervisors. The first cluster is a VMWare ESXi cluster on which I deployed 8 virtual machines: 4 Windows Server and 4 Linux.

Windows Server and Linux VMs on the source VMware ESXi cluster

The second cluster is a Microsoft Hyper-V cluster on which I also deployed 8 virtual machines with the same distribution as the first cluster: 4 Windows Server and 4 Linux.

Windows Server and Linux VMs on the source Hyper-V cluster

For convenience, the configuration of the VMs is very succinct. I have carried out default installations of the operating systems.

The Linux VMs are Ubuntu Server 20.04 while the Microsoft ones are Windows Servers 2022.

For local accounts, the Linux VMs have logins in “nutanix” and the Windows VMs in “administrator”. The password for all VMs is “nutanix/4u”.

The only difference in configuration between the virtual machines concerns those hosted on ESXi. Indeed, I deployed the VMWare tools on the latter.

The target cluster

The target cluster will be my Nutanix cluster under AOS 6.8.1 and AHV el8.nutanix.20230302.101026.

Target Nutanix AHV cluster in Prism

All migrations will be carried out via Nutanix Move in its version 5.1.1 which we will deploy in the next article.

Read More
nutanix move

Nutanix Move is a software solution designed by Nutanix to facilitate the migration of virtual machines (VMs) from a virtualization environment to a Nutanix infrastructure in a simple, secure way and with minimal downtime.

Key features of Nutanix Move

Nutanix Move allows you to move virtual machines from traditional hypervisors, such as VMware vSphere or Hyper-V, to Nutanix AHV (Acropolis Hypervisor) or other supported hypervisors. It supports various hypervisor environments such as VMware ESXi, Hyper-V, AWS, and Nutanix AHV. It is possible to migrate workloads from public or private cloud environments to Nutanix hyperconverged infrastructures.

Nutanix Move migration matrix between ESXi, Hyper-V, AWS, Azure, AHV and NC2

Nutanix Move ensures a migration by minimizing the downtime of services and applications, thus allowing continuity of operations during the entire transition process. In addition, you will not have to reconfigure anything once the virtual machine is migrated.

Move page in the Prism Central Marketplace and its features

Thanks to an intuitive interface, Nutanix Move simplifies the migration process by automating many manual tasks, which reduces the risk of human error and improves efficiency. However, certain prerequisites must be respected for the migration to take place in the best conditions

Nutanix Move allows you to evaluate workloads before migration, identifying potential issues in order to avoid any negative impact on application performance after migration. It also allows you to simulate your scenarios before executing them.

Nutanix Move architecture with its source and target agents

Use Cases

The use case we have encountered most often in recent months is that of companies seeking to reduce costs related to the explosion in the price of VMware licenses following the acquisition by Broadcom by migrating to Nutanix AHV.

For my part, I was also able to experiment with it on a remote desktop server migration from Hyper-V to Nutanix AHV and I must say that with each migration I am amazed by the simplicity and efficiency of the solution.

Having implemented it several times in a professional context, I can affirm that Nutanix Move is an essential tool for anyone wishing to modernize their IT infrastructure and facilitate their transition to a Nutanix hyperconverged environment.

See you in the next article to discover how to deploy the solution on Nutanix AHV.

Official documentation: https://portal.nutanix.com/page/documents/details?targetId=Nutanix-Move-

Read More
Simplified Nutanix flow matrix on GitHub

For those who have already had to implement it, the flow matrix presented on the Nutanix website is not always easy to read.

Many customers ask us during the pre-deployment preparation phase to assist them in opening the flows necessary for the proper functioning of their future Nutanix cluster.

Based on this observation, I took the initiative to create a simplified flow matrix to allow rapid implementation on network filtering equipment.

Excerpt of the simplified Nutanix flow matrix

You can find the full version on my Github: https://github.com/Exe64/NUTANIX/blob/main/nutanix-hci-matrice-flux.xlsx

The document will evolve over time, particularly with the addition of various Nutanix software components.

Read More
Nutanix Blog Header

After installing a cluster, changing passwords and performing basic configurations, there are still a few operations to be carried out…

Rename the default container

Connect to a CVM in your cluster and list all the existing containers on the cluster:

nutanix@CVM: ncli container list

All the containers and their associated details will then be displayed. Search the list for the container you want to rename and type the following command (WARNING: do not modify “NutanixManagementShare” or “SelfServiceContainer”):

nutanix@CVM: ncli container edit name=CURRENT_NAME new-name=NEW_NAME

Replace “CURRENT_NAME” with the name automatically generated by the system when creating the container, and NEW_NAME with the name you want to assign to this container, without putting any spaces or special characters other than the – and the _

Then check that your container has been correctly renamed with the command:

nutanix@CVM: ncli container list

Activate the data optimization mechanisms

Go to “Storage”, find the container you just renamed, select it and click on “Update”.

Update button for a storage container in Prism Element

In the window that appears, click on “Advanced settings” and check the “Compression” box.

Compression box checked in the container advanced settings

Click “Save” to validate your changes.

Compression enabled on DefaultStorageContainer

It is not recommended to enable ALL data optimization mechanisms on a single container.

The best practice is to create different containers with data optimization mechanisms adapted to the disks of the VMs that you will position on them.

Compression can be enabled in almost all use cases, except on:

  • containers containing encrypted data
  • containers containing compressed data

Erasure Coding is recommended in the following use cases:

  • Nutanix Object
  • Backups
  • Archives
  • File servers
  • Log servers
  • Mail servers (depending on usage)

Finally, deduplication should be reserved for the VDI part (virtual desktops).

Official documentation: https://portal.nutanix.com/page/documents/solutions/details?targetId=TN-2032-Data-Efficiency:data-reduction.html

Enable “Rebuild Capacity Reservation”

Enabling this feature allows you to reserve enough storage so that your cluster can continue to operate normally even if a node fails. This automatically excludes clusters of 1 or 2 nodes.

To enable this option, go to “Settings > Rebuild Capacity Reservation” and check the box:

Rebuild Capacity Reservation option in Prism Element

Official documentation : https://portal.nutanix.com/page/documents/details?targetId=Web-Console-Guide-Prism-v6_8:wc-storage-rebuild-capacity-reserve-wc-c.html

Read More
Nutanix Blog Header

After a successful installation of a Nutanix cluster, we saw in the previous article that it was imperative to modify the default passwords of your cluster. But that’s not the only thing to do…

Configuring Name Servers

Among the things to do after installing a Nutanix cluster, there is configuring DNS servers.

Go to “Settings > Names Servers” to display the field to add DNS servers:

Adding DNS servers in Prism Element Name Servers

For my part I would recommend configuring at least 2 to ensure redundancy in case of failure of one of the 2 servers, the limit imposed by Nutanix being 3. I chose Google DNS for my lab for convenience.

Add your DNS servers one by one by entering their address and clicking on “Add”.

Reference document: https://portal.nutanix.com/page/documents/details?targetId=Web-Console-Guide-Prism-v6_8:wc-system-name-servers-wc-t.html

Configuring NTP Servers and Time Zone

Among the things to do after installing a Nutanix cluster, there is also configuring NTP servers and time zone.

Go back to “Settings > NTP Settings” to see the field to add NTP servers.

Adding NTP servers in Prism Element NTP Settings

Nutanix recommendations are as follows:

  • If possible, synchronize the time of Nutanix clusters with an internal source
  • If you do not have an internal NTP server, synchronize with recognized national servers
  • Specify at least 5 reliable and stable time sources with the lowest possible Stratum (3 offers no redundancy, 4 is the minimum to have redundancy, 5 is the publisher recommendation)
  • Do not use servers that are rate limited
  • Do not use a Windows time server

My recommendation is therefore to use an internal time server, but if you do not have one, I advise you to use the site: https://www.ntppool.org/

Then, select your geographic area then your country to display the servers closest to your cluster (in my case, France) :

NTP servers for France on ntppool.org

All you have to do is add them one by one by adding their DNS address and clicking on “Add”.

To set the time zone, connect to one of the CVMs via SSH and type the command:

ncli cluster set-timezone timezone=cluster_timezone

You can find your timezone here: https://en.wikipedia.org/wiki/List_of_tz_database_time_zones

In my case, the command to run would be:

ncli cluster set-timezone timezone=Europe/Paris

To verify that your cluster is in the correct time zone, you can type the following command which will return the information about your cluster’s timezone:

ncli cluster info | egrep "Timezone"
    Timezone                  : Europe/Paris

Reference documents:

https://portal.nutanix.com/page/documents/details?targetId=Web-Console-Guide-Prism-v6_8:wc-ntp-server-time-sync-recommendations-c.html

https://portal.nutanix.com/page/documents/kbs/details?targetId=kA0600000008SNvCAM

Configuring Cluster Details

At the top left of the Prism Element interface, you will see the default name of your cluster “Unnamed”:

Default Unnamed cluster name in Prism Element

Click on it to view your cluster details:

Cluster Details window: name, Virtual IP and Data Services IP

On this window, you must fill in:

  • the name of your cluster
  • its FQDN (optional, if you have created a DNS record)
  • the Virtual IP
  • the Data Service IP
  • The Data Service IP is now required for the deployment of Prism Central

Once you have filled in all the fields, click on “Save”

Read More
Nutanix Blog Header

Sometimes tasks may be stuck indefinitely on your cluster without ever completing or failing. In this case, you need to take manual action to resolve the issue.

Mount Guest tools task stuck at 0% in Prism Recent Tasks

Be careful, this operation is not without risks, which is why I strongly advise you to contact Nutanix support if you are not sure.

The first step is to check how long the task has been running. To do this, go to the tasks page and filter on the tasks currently running:

List of running tasks in Prism

In this case, we can see that the task has been running for more than 10 months. No doubt, it is crashed and must be canceled manually.

To do this, you must connect to one of the CVMs and type the following command:

nutanix@CVM:~$ ecli task.list include_completed=false

You should have a return that looks like this:

Task UUID Parent Task UUID Component Sequence-id Type Status
37a430d3-b80b-4ae7-bfaf-9df5247e9ce7 Nutanix Guest Tools 282 MountGuestTools kQueued

Retrieve the UUID of the affected task and type the following command:

ergon_update_task –task_uuid='TASK_UUID' –task_status=aborted

In my case, that’s the command is need to execute:

ergon_update_task –task_uuid='37a430d3-b80b-4ae7-bfaf-9df5247e9ce7' –task_status=aborted

This will force the currently running task to be canceled.

Read More
Power consumption of my Nutanix cluster

As everyone knows, the cost of running a homelab is something to consider when you start setting up your infrastructure at home. Here is my feedback…

My Nutanix homelab

To start, it is good to take stock of the configuration of my homelab which I mainly use to carry out tests and write my articles.

It is a slightly old server based on an Intel S2600WTTR motherboard which was in service from early 2016 to mid 2020.

In terms of configuration, it is a dual-processor Intel Xeon E5-2640 @ 2.4GHz (10 cores 20 threads) with 384Gb of RAM.

For storage, I can count on:

  • 1 lambda SSD of 120GB for the system
  • 4 SAS SSDs of 800Gb of type WUSTR6480ASS204
  • 6 SAS HDDs of 1.8Tb (10k rpm) of type ST1800MM0129

Connectivity is limited to 2 onboard RJ45 ports supported by a 4-port network card.

A single connected power supply to avoid consuming too much energy (no critical applications, therefore no impact in the event of a failure).

Detailed Server Configuration: https://juliendumur.fr/en/nutanix-ahv-perform-a-comprehensive-hardware-inventory/

Motherboard product page: https://www.intel.fr/content/www/fr/fr/products/sku/88281/intel-server-board-s2600wttr/specifications.html

CPU product page : https://www.intel.fr/content/www/fr/fr/products/sku/92984/intel-xeon-processor-e52640-v4-25m-cache-2-40-ghz/specifications.html

That’s the configuration as a whole, now let’s see what it consumes…

Cluster power consumption

To be able to measure the power consumption of my cluster, I purchased a Meross smart plug (on Amazon: https://amzn.to/4d4p6q9) that I added to my HomeAssistant server.

This allows me to activate and deactivate the plug remotely and thus measure the power consumption of the devices and equipment connected to it.

In my case, the plug is dedicated to my Nutanix cluster in order to have the most accurate and consistent measurement possible.

Nutanix cluster power consumption chart

On the graph, we can see:

  • August 18 and 19: the socket is in place but it is “off”
  • from August 20 to September 4: socket on but cluster off, consumption corresponds to the IPMI
  • September 5 and 6: cluster on during the day for repair
  • since September 8: cluster on 24/7

Consumption of the cluster off: approximately 440Wh per day

Consumption of the cluster on: approximately 5850Wh per day

Related to one year:

Consumption of the cluster off: 440 x 365 = 160.6 kWh

Consumption of the cluster on: 5850 x 365 = 2138.9 kWh

In terms of cost, this represents the following amounts at the regulated rate in France:

Cluster off: 160.6 x 0.25 = 40.15 euros

Cluster on: 2138.9 * 0.25 = 535 euros approximately

The operation of the cluster therefore represents a significant operating cost to take into account when you start creating an infrastructure at home. I find this consumption quite high, this is due to the age of my server which does not benefit from recent electrical optimizations. For my part, I only turn it on when I have tests, demonstrations to perform or articles to write, to keep costs down.

Read More

This is a question that comes up regularly when people discover the Nutanix environment: “but what do all these expressions and acronyms mean?”

I took a little time to compile as many of these acronyms and technical terms as possible with their associated definitions.

There are probably some missing, but this page is meant to evolve over time.

AC2 – Acropolis Compute Cloud

ACS – Acropolis Container Services

ADE – Acropolis Data Encryption

ADFS – Acropolis Distributed FileSystem

ADS – Acropolis Dynamic Scheduler

AHV – Acropolis HyperVisor

AOS – Acropolis Operating System

Block awareness – When certain conditions are met, Nutanix clusters are “block aware”, which means that redundant copies of any data required to serve I/O are placed on nodes that are not in the same block

CN-AOS – Cloud Native AOS – AOS storage engine running in Kubernetes pods

CSI – Container Storage Interface – Kubernetes storage driver

CVM – Controller Virtual Machine

DR – Disaster Recovery

FT1, FT2 – Fault Tolerance – FT1: the cluster can tolerate the loss of one node at a time (goes with RF2). FT2: it can tolerate 2 node failures at the same time (goes with RF3)

HCI – HyperConverged Infrastructure

LWS – Nutanix Light Weight Snapshots

NC2 – Nutanix Cloud Clusters

NCC – Nutanix Cluster Check

NCI – Nutanix Cloud Infrastructure

NCM – Nutanix Cloud Manager

NDK – Nutanix Data Services for Kubernetes

NGT – Nutanix Guest Tools

NIST – National Institute of Standards and Technology

NKP – Nutanix Kubernetes Platform

NTC – Nutanix Technology Champion

Nutanix BEAM – SaaS service for multi-cloud governance platform to manage spending, security and application flow

Nutanix CE – Nutanix Community Edition – Free version of commercial Nutanix AOS

Nutanix DataBase (former Era) – PaaS offerings to streamline and automate database operations

Nutanix Disaster Recovery (formerly Leap) – Disaster recovery built into Prism Central. The Xi Leap cloud service has been discontinued

Nutanix DVP – Nutanix Docker Volume Plugin

Nutanix Files – Nutanix file server service

Nutanix Flow – Nutanix software-defined networking (SDN)

Nutanix Foundation – Nutanix clusters orchestration and automation provisioning tool

Nutanix LCM – Life Cycle Management

Nutanix Metis – allows you to qualify your platform hardware for compatibility with Nutanix software

Nutanix Objects (formerly Buckets) – Nutanix object storage

Nutanix PC – Nutanix Prism Central (multi-cluster management)

Nutanix PE – Nutanix Prism Element (single cluster management)

Nutanix Pulse – call home feature

Nutanix Self Service (former Calm) – Nutanix Cloud Application Life-cycle Management

Nutanix SSP – Nutanix Self-Service Portal

Nutanix VirtIO – Nutanix drivers for virtual machines

Nutanix Volumes – (former name was ABS – Acropolis Block Services (iSCSI block storage presented to Guest VMs))

Nutanix X-Ray – X-Ray allows users to create custom test scenarios from X-Ray’s current test scenarios to better fit your needs

Nutanix Xplorer – scans your Microsoft SQL Server instances to automatically create recommended hardware configurations and platforms, so that you can migrate your SQL Server instances to a Nutanix Cloud Platform

OVS – Open vSwitch

RBAC – Role-Based Access Control

RF=2, RF=3 – Replication Factor – simply saying, with RF=2 cluster keeps 2 copies of data, with RF=3 cluster keeps 3 copies of data

RPO – Recovery Point Objective – Maximum acceptable data loss

RWO, RWX – ReadWriteOnce, ReadWriteMany – Kubernetes volume access modes: writable from a single node, or from several

SAML – Security Assertion Markup Language

SCMA – Security Configuration Management Automation

STIGs – Security Technical Implementation Guides

SVM – Service Virtual Machine (legacy name for CVM)

xTract – Nutanix migration tool

Read More
Nutanix Blog Header

On October 9 and 10, 2024, the Partner Tech Summit 2024 organized by Nutanix will take place in Paris at HPE’s premises in La Défense.

This event reserved for Nutanix partners will be an opportunity to:

  • exchange with Nutanix’s pre-sales teams
  • deepen our knowledge around Labs made available to us
  • attend around ten mini-conferences and super-sessions on Nutanix’s flagship technologies
  • prepare and pass the certifications we are missing

The provisional program for October 9:

nutanix partner tech 2024 pts

And for October 10:

Partner Tech Summit 2024 agenda for October 10: plenary sessions, super sessions and certifications

The entire Mikadolabs consulting team will be on deck for this event which I hope will be as successful and interesting as last year.

Read More

Subscribe