Skip to content

Latest commit

 

History

History
287 lines (152 loc) · 10.5 KB

File metadata and controls

287 lines (152 loc) · 10.5 KB
title excerpt updated
Gestión de las máquinas virtuales (EN)
Discover virtual machine management in Prism Central
2022-05-10

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 OVHcloud Control Panel
  • 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 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{.action} and click VMs{.action}

Prism Central Dashboard - VM Menu{.thumbnail}

Click the Create VM{.action} button.

Prism Central dashboard - VM management{.thumbnail}

Type a name in Name{.action}, choose the options in VM Properties{.action} and click Next{.action}

Creating a virtual machine - Step 1{.thumbnail}

Adding a system disk

Click the Attach Disk{.action} button.

Creating a virtual machine - Step 2{.thumbnail}

Enter 60 in the Capacity field and click Save{.action} to create a 60 GB disk.

Creating a virtual machine - Step 3{.thumbnail}

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 section of this guide.

Click Attach Disk{.action}.

Creating a virtual machine - Step 4{.thumbnail}

Change the Type{.action} settings to CD-ROM, Operation{.action} to Clone from Image, Image{.action} to WS2022EN.ISO.

Click Save{.action}.

Creating a virtual machine - Step 5{.thumbnail}

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{.action}.

Creating a virtual machine - Step 6{.thumbnail}

Change the Type{.action} settings to CD-ROM, Operation{.action} to Clone from Image, Image{.action} to Nutanix-VirtIO-1.1.7.iso.

Click Save{.action}.

Creating a virtual machine - Step 7{.thumbnail}

Network configuration

Click Attach Subnet{.action}.

Creating a virtual machine - Step 8{.thumbnail}

Leave the default fields and click Save{.action}.

Creating a virtual machine - Step 9{.thumbnail}

Click Next{.action}.

Creating a virtual machine - Step 10{.thumbnail}

Select your timezone and click Next{.action}.

Creating a virtual machine - Step 11{.thumbnail}

Click Create VM{.action}.

Creating a virtual machine - Step 12{.thumbnail}

The newly created virtual machine will then appear in the dashboard.

VM dashboard - VM Created{.thumbnail}.

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{.thumbnail}

Powering on the virtual machine

Click the Actions{.action} menu then Power ON{.action}.

Installation - WS2022 - Startup {.thumbnail}

Launching the console

Click the Actions{.action} menu then Launch Console{.action}.

Installation - WS2022 - Interface Connection {.thumbnail}

Starting the installation

Choose your local settings and click Next{.action}.

Installation - WS2022 - Etape1{.thumbnail}

Click Install now{.action}.

Installation - WS2022 - Step2{.thumbnail}

Select Windows Server 2022 Standard (Desktop Experience) and click Next{.action}.

Installation - WS2022- Etape3{.thumbnail}

Review the Microsoft software licence terms and conditions, accept them and click Next{.action}.

Installation - WS2022{.thumbnail}

Click Custom: Install Microsoft Server Operating System only (advanced){.action}.

Installation - WS2022{.thumbnail}

Click on Load driver{.action}.

Installation - WS2022- Step4{.thumbnail}

Click Browse{.action}.

Installation - WS2022- Step5{.thumbnail}

Select the correct folder e:\Windows Server 2022\amd64 and click OK{.action}.

Installation - WS2022- Step5{.thumbnail}

Select these drivers:

  • Nutanix VirtIO Balloon Driver{.action}
  • Nutanix VirtIO Ethernet Adapter{.action}
  • Nutanix VirtIO SCSI pass-through controller{.action}
  • QEMU FWCfg Device{.action}

Click Next{.action}.

Installation - WS2022- Step6{.thumbnail}

The 60 GB disk will appear, click Next{.action}.

Installation - WS2022- Step6{.thumbnail}

Enter and confirm the password in both fields and click Finish{.action}.

Installation - WS2022- Step9{.thumbnail}

Windows Server 2022 and WS2022 specific drivers for the AHV hypervisor have been installed.

Installation - WS2022- Step9{.thumbnail}

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{.action}.

NGT Installation 1{.thumbnail}

Go back to Prism Central and select the virtual machine.

NGT Installation 2{.thumbnail}

On the Actions{.action} menu, click Install NGT{.action}.

NGT Installation 3{.thumbnail}

Click Confirm & Enter Password{.action}.

NGT Installation 4{.thumbnail}

Click Skip and Mount{.action}.

NGT Installation 5{.thumbnail}

Return to the virtual machine console and right-click the CDROM drive containing the NGT.

Click Install Nutanix Guest Tools{.action}.

NGT Installation 6{.thumbnail}

Review the terms and conditions, accept them, then click Install{.action}.

NGT Installation 7{.thumbnail}

The installation will then begin.

NGT Installation 8{.thumbnail}

Once the installation is complete, close the installation wizard using the Close{.action} button.

NGT Installation 9{.thumbnail}

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{.action}.

Migrate - VM01{.thumbnail}

Check which node the VM is currently running on. It is displayed next to Host.

Migrate - VM02{.thumbnail}

Click the More{.action} button, then Migrate{.action}.

Migrate - VM03{.thumbnail}

Choose a destination node.

Migrate - VM04{.thumbnail}

The name of the new node will appear in front of Host if the migration is complete.

Migrate - VM05{.thumbnail}

Go further

Presentation of a Nutanix cluster

Importing images into Nutanix

Nutanix documentation on AHV

Nutanix licences

If you need training or technical assistance to implement our solutions, contact your sales representative or click on this link 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/.