Nutanix Technology Champion - Nutanix Solution Architect

Julien DUMUR
Infrastructure in a Nutshell
Uploading an image to a Nutanix AHV cluster

To be able to deploy virtual machines on your cluster, you will need images that are available to launch your installations and here is the procedure to follow.

Before you start

An image uploaded via Prism Element can be imported to Prism Central. The reverse is not possible.

An image uploaded or imported via Prism Central is visible but not editable on Prism Element.

An image uploaded via Prism Element can only be used by the cluster to which it was uploaded.

An image downloaded via Prism Central can be used by all clusters managed by this Prism Central

Nutanix provides compatibility with images in the following formats:

  • RAW
  • VHD
  • VHDX
  • VMDK
  • VDI
  • OVA
  • ISO
  • QCOW2

Download via Prism Element

To upload an image via Prism Element, connect to the web interface using your credentials, then navigate to the “Settings > Image Configuration” menu:

Image Configuration menu in Prism Element settings

Click Upload Image:

Upload Image button in Image Configuration

Complete the “Name”, “Image Type”, “Storage Container” fields, select the image you wish to transfer then click on “Save”:

Image list in Prism Element Image Configuration

Wait during the transfer and then while your image is processed by the cluster. Its status must be “ACTIVE” for it to be operational:

VirtIO 1.2.3 image being processed, still inactive
VirtIO 1.2.3 image now active

Download via Prism Central

The process for transferring an image through Prism Central is essentially identical to that of Prism Element.

Connect to the web interface then navigate to “Compute & Storage > Images” and click on “Add Image”:

Add Image button in the Prism Central Images menu

Click on “Add File”, select the image you want to transfer, fill in the description then click on “Next”:

Adding the image file in Prism Central

On the next screen, select the image placement mode based on your environment. In most cases, the default method “Place image directly on clusters” will do the trick, click “Next”:

Image placement method and cluster selection

Wait while the cluster transfers and processes the image.

Import images from Prism Element to Prism Central

On the image management page on Prism Central, click “Import Images”:

Import Images button in the Prism Central Images menu

Then select the transfer method that suits you:

Import Images window: all images or images on a cluster

“All images” will repatriate all the images from all the clusters managed by Prism Central

“Images on a cluster” will allow you to select the cluster(s) and source image(s) on a case-by-case basis.

Official Nutanix documentation

Link to official documentation: https://portal.nutanix.com/page/documents/details?targetId=Web-Console-Guide-Prism-v6_7:wc-image-configure-acropolis-wc-t.html

Read More
Deploying HYCU on Nutanix

HYCU provides a free Community Edition version of its backup solution for owners of a Nutanix Community Edition installation. Here’s how to get it and deploy it on a cluster.

What is HYCU?

HYCU is a backup software for hyperconverged IT environments. The HYCU solution provides data protection for platforms such as Nutanix, Google Cloud Platform and VMware by supporting backup, recovery and

data management for these specific environments. HYCU offers a simplified approach to data backup and recovery compared to the competition.

HYCU architecture: sources, controller and backup targets

Here are the main key features of HYCU:

Simplified backup and recovery: HYCU simplifies the data backup and restoration process by automating recurring tasks. This helps reduce administration by teams and speeds up recovery when needed.

Integration with specific environments: HYCU is designed to integrate seamlessly with platforms such as Nutanix, VMware and Google Cloud Platform, providing a solution optimized for these environments.

Backup policy management: Setting custom backup policies based on specific business needs, such as backup frequency, data retention, etc.

Application backup: HYCU now offers to backup your SaaS applications such as Office 365, Jira, Okta, and many others.

Resource optimization: HYCU has been designed and optimized to have a minimal impact on the overall performance of the environment.

Reporting and Monitoring: The tool offers reporting and monitoring tools to track backup status, policy compliance, and overall backup system health.

Disaster Recovery: HYCU provides options for rapid and reliable recovery with the ability to quickly restore data in the event of a disaster or major outage.

Now that the introductions are done, let’s get down to business!

Setup files download

We will start by retrieving the files necessary for deploying the HYCU solution directly from the publisher’s site.

To do this, go to: https://www.hycu.com/get/trial-start

Then select “Nutanix” in the Private Cloud & Data Center category:

Selecting Nutanix in the Private Cloud and Data Center category

You will then need to complete the following form:

HYCU trial request form

Select Nutanix again from the list of available environments:

Selecting the Nutanix environment

Then select the type of hypervisor installed on your cluster, in our case it is obviously the Nutanix AHV hypervisor:

Selecting the Nutanix AHV hypervisor

PLEASE NOTE: I remind you that this tutorial shows how to deploy HYCU on a Nutanix Community Edition environment for homelab use. If you wish to put this solution into production, I invite you to contact a distributor of the solution in order to obtain a quote for a license adapted to your environment.

Finally click on “download .qcow2” to start downloading the image:

HYCU image download .qcow2 button

Now that the file is recovered, we can move on to the installation.

Prerequisites for deployment

Before deploying, we will ensure that our Nutanix cluster is ready to receive HYCU.

For sizing the virtual machine, you will need the following resources:

HYCU VM sizing

Given that we are in a lab context, the smallest sizing will be largely necessary. Make sure you have these resources available on your cluster before deploying.

A service account on the Nutanix cluster with “cluster admin” rights will also be required. On the Prism Element interface, in “Settings > Local User Management”, click New User:

Local User Management in Prism Element

Then complete the form before validating, remembering to check “Cluster Admin” in the “Roles” section:

Service account with the Cluster Admin role

Configuring the Data Services IP is also recommended. In “Settings > Cluster Details”, fill in the ISCSI Data Services IP field with a dedicated IP address (that is not yet assigned to other hardware):

ISCSI Data Services IP in Cluster Details

You also need internet access and an available IP address for your HYCU virtual machine.

As for specific ports and other particularities, I will leave you the pleasure of going through the documentation: https://download.hycu.com/ec/v4.8.1/help/en/HYCU_UserGuide.pdf

Deploying the HYCU virtual machine

The deployment of HYCU is very simple and is divided into 4 steps:

The 4 HYCU deployment steps

To upload the image previously downloaded to your cluster, on Prism Element in “Settings > Image configuration”, click on “Upload Image”:

Upload Image button in Image Configuration

Fill in the form, making sure to name the image exactly like the .qcow2 file you downloaded (here, hycu-4.8.1-274), then click Save:

Importing the hycu-4.8.1-274 image

You now have to wait while the image downloads. As soon as it is finished, in the “VM” menu, in the Table display, click on “Create VM”:

Create VM button in Prism Element

Complete the form fields as follows:

HYCU VM name and resources
HYCU VM vCPU and memory

In the “Disks” section, click “Add new disk”, select “Clone from Image Service” and find the previously downloaded image:

Disk cloned from the HYCU image

Then add a second 32Gb disk:

Second 32 GB disk

Finally, in the “Network Adapters (NIC)” section click on Add New NIC and select a VLAN to which to connect the VM network card:

HYCU VM network adapter

Now click on “Save”, the VM is now created, start it then open a console on it. On the first screen, select “HYCU Backup Controller”

HYCU Backup Controller choice in the console

On the following screen, fill in the requested information:

HYCU controller network configuration

The software then applies the configuration provided and proceeds to finalize the installation of the VM. This may take a few minutes and the system will notify you once the installation is complete.

Then enter the IP address that you entered during configuration in your browser like this: https://ip-du-serveur:8443

HYCU login page

Log in using admin/admin credentials to access the administration console.

HYCU administration console

Your HYCU Backup Controller is now deployed. In a future article, we will see how to do the basic configuration (adding the cluster, defining a target, creating policies…).

Read More