---
title: "Managing virtual machines"
description: "Discover virtual machine management in Prism Central"
url: https://docs.ovhcloud.com/en/guides/hosted-private-cloud/nutanix-on-ovhcloud/virtual-machine-management
lang: en
lastUpdated: 2022-05-10
---
# Managing virtual machines

## Objective

Find out how to manage virtual machines in a Nutanix cluster, and how to create and migrate a virtual machine.

:::warning
OVHcloud provides services for which you are responsible, with regard to their configuration and management. It is therefore your responsibility to ensure that they work properly.

This guide is designed to assist you as much as possible with common tasks. Nevertheless, we recommend contacting a specialist provider if you experience any difficulties or doubts when it comes to managing, using or setting up a service on a server.

Some software requires a licence such as Microsoft products, so make sure that all installed systems and software have these licences.

:::

## Requirements

- a Nutanix cluster in your OVHcloud account
- access to the <ManagerLink to="/">OVHcloud Control Panel</ManagerLink>
- You must be connected to Prism Central on the cluster

## Overview of Virtual Machine Management in Prism Central

The Nutanix system uses the same interfaces to manage storage and virtualisation, it can be installed with multiple hypervisors (**Hyper-V, VMware ESXi, AHV**). **AHV** comes with Nutanix without the need to purchase additional licences for the hypervisor.

The OVHcloud solution is delivered with the **AHV hypervisor**.

**AHV** enables:

- Using virtual machines on Windows and Linux.
- Migrating virtual machines from one node to another in a cluster.
- Micro-segmentation and network security between virtual machines using **Flow** software.

The **Move** tool makes it easy to migrate existing virtual machines in other environments (**ESXi, Hyper-V & AWS**) to Nutanix and its **AHV** hypervisor.

For more information on **AHV**, see the [Go further](#gofurther) section of this guide.

## Instructions

The following instructions show the creation of a virtual machine in Windows Server 2022 and the migration of a virtual machine.

### Creating a Virtual Machine for a Windows 2022 Operating System

Installing a virtual machine on Windows Server 2022 requires a particular setup because Microsoft does not provide the driver for the **AHV** hypervisor disk controller.

#### Creating a Windows Server 2022 VM

In the left-hand menu of **Prism Central**
, expand `Compute & Storage
` and click `VMs
`
![Prism Central Dashboard - VM Menu](/images/hosted-private-cloud/nutanix-on-ovhcloud/06-virtual-machine-management/PrismCentralDashBooardWithVMMenu.PNG)
Click the `Create VM
` button.
![Prism Central dashboard - VM management](/images/hosted-private-cloud/nutanix-on-ovhcloud/06-virtual-machine-management/PrismCentralDashVmDashBoard.PNG)
Type a name in `Name
`, choose the options in `VM Properties
` and click `Next
`
![Creating a virtual machine - Step 1](/images/hosted-private-cloud/nutanix-on-ovhcloud/06-virtual-machine-management/CreateVM01.PNG)
##### **Adding a system disk**

Click the `Attach Disk
` button.
![Creating a virtual machine - Step 2](/images/hosted-private-cloud/nutanix-on-ovhcloud/06-virtual-machine-management/CreateVM02.PNG)
Enter **60**
 in the `Capacity`
 field and click `Save
` to create a 60 GB disk.
![Creating a virtual machine - Step 3](/images/hosted-private-cloud/nutanix-on-ovhcloud/06-virtual-machine-management/CreateVM03.PNG)
##### **Adding Windows Server 2022 Installation ISO Image**

The image must be imported before it can be used in a new virtual machine.

For more information on importing images, see the [Go further](#gofurther) section of this guide.

Click `Attach Disk
`.
![Creating a virtual machine - Step 4](/images/hosted-private-cloud/nutanix-on-ovhcloud/06-virtual-machine-management/CreateVM04.PNG)
Change the `Type
` settings to **CD-ROM**
, `Operation
` to **Clone from Image**
, `Image
` to **WS2022EN.ISO**
.
Click `Save
`.
![Creating a virtual machine - Step 5](/images/hosted-private-cloud/nutanix-on-ovhcloud/06-virtual-machine-management/CreateVM05.PNG)
##### **Adding an ISO image containing AHV-specific drivers**

This image contains the disk controller driver and should also be imported. It is available on the Nutanix website if you have a Nutanix customer account.

Click `Attach Disk
`.
![Creating a virtual machine - Step 6](/images/hosted-private-cloud/nutanix-on-ovhcloud/06-virtual-machine-management/CreateVM06.PNG)
Change the `Type
` settings to **CD-ROM**
, `Operation
` to **Clone from Image**
, `Image
` to **Nutanix-VirtIO-1.1.7.iso**
.
Click `Save
`.
![Creating a virtual machine - Step 7](/images/hosted-private-cloud/nutanix-on-ovhcloud/06-virtual-machine-management/CreateVM07.PNG)
##### **Network configuration**

Click `Attach Subnet
`.
![Creating a virtual machine - Step 8](/images/hosted-private-cloud/nutanix-on-ovhcloud/06-virtual-machine-management/CreateVM08.PNG)
Leave the default fields and click `Save
`.
![Creating a virtual machine - Step 9](/images/hosted-private-cloud/nutanix-on-ovhcloud/06-virtual-machine-management/CreateVM09.PNG)
Click `Next
`.
![Creating a virtual machine - Step 10](/images/hosted-private-cloud/nutanix-on-ovhcloud/06-virtual-machine-management/CreateVM10.PNG)
Select your timezone and click `Next
`.
![Creating a virtual machine - Step 11](/images/hosted-private-cloud/nutanix-on-ovhcloud/06-virtual-machine-management/CreateVM11.PNG)
Click `Create VM
`.
![Creating a virtual machine - Step 12](/images/hosted-private-cloud/nutanix-on-ovhcloud/06-virtual-machine-management/CreateVM12.PNG)
The newly created virtual machine will then appear in the dashboard.

![VM dashboard - VM Created](/images/hosted-private-cloud/nutanix-on-ovhcloud/06-virtual-machine-management/CreateVM13.PNG).
#### Windows Server 2022 setup

Select the virtual machine on which you want to install Windows Server 2022, by ticking the box to the left of the VM.

![Installation - WS2022 - Launch](/images/hosted-private-cloud/nutanix-on-ovhcloud/06-virtual-machine-management/InstallWS2022-01.PNG)
##### **Powering on the virtual machine**

Click the `Actions
` menu then `Power ON
`.
![Installation - WS2022 - Startup ](/images/hosted-private-cloud/nutanix-on-ovhcloud/06-virtual-machine-management/InstallWS2022-02.PNG)
##### **Launching the console**

Click the `Actions
` menu then `Launch Console
`.
![Installation - WS2022 - Interface Connection ](/images/hosted-private-cloud/nutanix-on-ovhcloud/06-virtual-machine-management/InstallWS2022-03.PNG)
##### **Starting the installation**

Choose your local settings and click `Next
`.
![Installation - WS2022 - Etape1](/images/hosted-private-cloud/nutanix-on-ovhcloud/06-virtual-machine-management/InstallWS2022-04.PNG)
Click `Install now
`.
![Installation - WS2022 - Step2](/images/hosted-private-cloud/nutanix-on-ovhcloud/06-virtual-machine-management/InstallWS2022-05.PNG)
Select **Windows Server 2022 Standard (Desktop Experience)**
 and click `Next
`.
![Installation - WS2022- Etape3](/images/hosted-private-cloud/nutanix-on-ovhcloud/06-virtual-machine-management/InstallWS2022-06.PNG)
Review the Microsoft software licence terms and conditions, accept them and click `Next
`.
![Installation - WS2022](/images/hosted-private-cloud/nutanix-on-ovhcloud/06-virtual-machine-management/InstallWS2022-07.PNG)
Click `Custom: Install Microsoft Server Operating System only (advanced)
`.
![Installation - WS2022](/images/hosted-private-cloud/nutanix-on-ovhcloud/06-virtual-machine-management/InstallWS2022-08.PNG)
Click on `Load driver
`.
![Installation - WS2022- Step4](/images/hosted-private-cloud/nutanix-on-ovhcloud/06-virtual-machine-management/InstallWS2022-09.PNG)
Click `Browse
`.
![Installation - WS2022- Step5](/images/hosted-private-cloud/nutanix-on-ovhcloud/06-virtual-machine-management/InstallWS2022-10.PNG)
Select the correct folder `e:\Windows Server 2022\amd64`
 and click `OK
`.
![Installation - WS2022- Step5](/images/hosted-private-cloud/nutanix-on-ovhcloud/06-virtual-machine-management/InstallWS2022-11.PNG)
Select these drivers:

- <code className="action">
    Nutanix VirtIO Balloon Driver
  </code>
- <code className="action">
    Nutanix VirtIO Ethernet Adapter
  </code>
- <code className="action">
    Nutanix VirtIO SCSI pass-through controller
  </code>
- <code className="action">
    QEMU FWCfg Device
  </code>

Click `Next
`.
![Installation - WS2022- Step6](/images/hosted-private-cloud/nutanix-on-ovhcloud/06-virtual-machine-management/InstallWS2022-12.PNG)
The 60 GB disk will appear, click `Next
`.
![Installation - WS2022- Step6](/images/hosted-private-cloud/nutanix-on-ovhcloud/06-virtual-machine-management/InstallWS2022-13.PNG)
Enter and confirm the password in both fields and click `Finish
`.
![Installation - WS2022- Step9](/images/hosted-private-cloud/nutanix-on-ovhcloud/06-virtual-machine-management/InstallWS2022-14.PNG)
Windows Server 2022 and WS2022 specific drivers for the **AHV** hypervisor have been installed.

![Installation - WS2022- Step9](/images/hosted-private-cloud/nutanix-on-ovhcloud/06-virtual-machine-management/InstallWS2022-15.PNG)
#### Installing NGT (Nutanix Guest Tools)

NGT are tools that enable better interaction with Nutanix, particularly in terms of backups and snapshots.

Start the virtual machine console, right-click a CDROM drive, and click `Eject
`.
![NGT Installation 1](/images/hosted-private-cloud/nutanix-on-ovhcloud/06-virtual-machine-management/Ngt-Installation01.png)
Go back to Prism Central and select the virtual machine.

![NGT Installation 2](/images/hosted-private-cloud/nutanix-on-ovhcloud/06-virtual-machine-management/Ngt-Installation02.png)
On the `Actions
` menu, click `Install NGT
`.
![NGT Installation 3](/images/hosted-private-cloud/nutanix-on-ovhcloud/06-virtual-machine-management/Ngt-Installation03.png)
Click `Confirm & Enter Password
`.
![NGT Installation 4](/images/hosted-private-cloud/nutanix-on-ovhcloud/06-virtual-machine-management/Ngt-Installation04.png)
Click `Skip and Mount
`.
![NGT Installation 5](/images/hosted-private-cloud/nutanix-on-ovhcloud/06-virtual-machine-management/Ngt-Installation05.png)
Return to the virtual machine console and right-click the CDROM drive containing the NGT.

Click `Install Nutanix Guest Tools
`.
![NGT Installation 6](/images/hosted-private-cloud/nutanix-on-ovhcloud/06-virtual-machine-management/Ngt-Installation06.png)
Review the terms and conditions, accept them, then click `Install
`.
![NGT Installation 7](/images/hosted-private-cloud/nutanix-on-ovhcloud/06-virtual-machine-management/Ngt-Installation07.png)
The installation will then begin.

![NGT Installation 8](/images/hosted-private-cloud/nutanix-on-ovhcloud/06-virtual-machine-management/Ngt-Installation08.png)
Once the installation is complete, close the installation wizard using the `Close
` button.
![NGT Installation 9](/images/hosted-private-cloud/nutanix-on-ovhcloud/06-virtual-machine-management/Ngt-Installation09.png)
The installation of a virtual machine on Windows is then complete.

### Migrating a virtual machine

Migrating a virtual machine involves moving a hot VM from one node to another in a cluster.

If you have several clusters and the appropriate licences, you can also migrate a VM from one cluster to another.

This guide only shows you how to migrate a VM within the same cluster.

In Prism Central VM Management, click `WS2022N
`.
![Migrate - VM01](/images/hosted-private-cloud/nutanix-on-ovhcloud/06-virtual-machine-management/MigrateVM01.PNG)
Check which node the VM is currently running on. It is displayed next to **Host**.

![Migrate - VM02](/images/hosted-private-cloud/nutanix-on-ovhcloud/06-virtual-machine-management/MigrateVM02.PNG)
Click the `More
` button, then `Migrate
`.
![Migrate - VM03](/images/hosted-private-cloud/nutanix-on-ovhcloud/06-virtual-machine-management/MigrateVM03.PNG)
Choose a destination node.

![Migrate - VM04](/images/hosted-private-cloud/nutanix-on-ovhcloud/06-virtual-machine-management/MigrateVM04.PNG)
The name of the new node will appear in front of **Host** if the migration is complete.

![Migrate - VM05](/images/hosted-private-cloud/nutanix-on-ovhcloud/06-virtual-machine-management/MigrateVM05.PNG)
## Go further [](#)
[Presentation of a Nutanix cluster](/en/guides/hosted-private-cloud/nutanix-on-ovhcloud/nutanix-hci.md)

[Importing images into Nutanix](/en/guides/hosted-private-cloud/nutanix-on-ovhcloud/image-import.md)

[Nutanix documentation on AHV](https://portal.nutanix.com/page/documents/details?targetId=AHV-Admin-Guide-v5_20:AHV-Admin-Guide-v5_20)

[Nutanix licences](https://www.nutanix.com/products/software-options)

If you need training or technical assistance to implement our solutions, contact your sales representative or click on [this link](https://www.ovhcloud.com/en-gb/professional-services/) to get a quote and ask our Professional Services experts for assisting you on your specific use case of your project.

Join our community of users on [https://community.ovh.com/en/](https://community.ovh.com/en/).
