In this post I will take a quick tour through the process of managing virtual machines running on Nutanix Acropolis Hypervisor (AHV). This will touch on the basics and the most common tasks that admins are performing on VMs that already exist. All VM management tasks will be performed from within Prism the single management interface for Nutanix clusters. The VM view within Prism is where the majority of VM-based tasks are performed. A table based view provides an easy to consume method of finding and managing your virtual machines. When selecting a VM, just below the table will be a group of actions that can be taken. These are highlighted in the image below.

Brian is a VCDX5-DCV and a Sr. Tech Marketing Engineer at Nutanix and owner of this website. He is active in the VMware community and helps lead the Chicago VMUG group. Specializing in VDI and Cloud project designs. Awarded VMware vExpert status 6 years for 2016 - 2011. VCP3, VCP5, VCP5-Iaas, VCP-Cloud, VCAP-DTD, VCAP5-DCD, VCAP5-DCA, VCA-DT, VCP5-DT, Cisco UCS Design

Share this:

Like this:

When it comes to building out a new Acropolis (AHV) cluster you are either starting out with new VMs or looking to migrate existing VMs from a vSphere environment. I have covered the process of creating new VMs in the “Creating VMs on AHV” post in this series. But if you are moving from vSphere to AHV, then there are two challenges that must be planned for. The first one is what will the conversion process look like and second, what will the migration process look like. With each of these are multiple choices and it will be up to the project team to decide which is the best choice for the project. There are likely other options that I might not mention here either.

Converting vSphere VMs

The task of converting a vSphere VM to a VM that runs on AHV is not that different than other hypervisors or even the P2V days when you were moving from physical servers. You have a VM that is in a vSphere format and must be converted to a different format. It will also have VMware tools and drivers installed into the operating system. After the conversion these will need to be cleaned up, just like they would be when migrating to other platforms.

For this there potentially two viable candidates. The first would be grabbing the virtual disk file (VMDK) from a datastore and using the image management feature in AHV to import and convert the disk. There would still be cleanup to be done, but it’s a simple one-off way. This method would not be ideal for doing a bunch of VMs, it however might be a simple method if you just have a hand full of template VMs that you want to populate on the new cluster.

The second and leading choice is to use the following method. In short with this method you are installing the VirtIO drivers in advance, think of them as the drivers that VMware tools install. Storage vMotion the VMs to a shared Nutanix datastore, power off the VM and create a new VM on AHV using the vDisks that were moved over. A fellow Nutant and VCDX has already created a detailed blog post about converting a vSphere VM to run on AHV. You can read the full details here as written by Artur Krzywdzinski.

In the future I would like to see something like Double-Take offer a solution that would offer help with these cross-platform conversions and migrations. This is something they have working for cloud migrations today. I see this becoming a common task in the future and demand is only going to increase for organizations wanting to move workloads between different resource pools whether they are on-premises or off-premises and very few of these moves will support a single VM format.

Migrating the VMs

The conversion process was just covered for what is available at the time this was published. I also touched on the option of sharing out a datastore from the AHV cluster to an existing vSphere cluster. This would allow you to Storage vMotion any VMs to that shared datastore before shutting them down to complete the conversion process. This method will likely be the most heavily used, since its familiar for other legacy types of migrations between old and new infrastructure.

A second option is available if both the vSphere and AHV clusters are running on Nutanix gear. You can create a Protection Domain (PD) on the vSphere cluster to replicate all of the VMs to the AHV cluster. This will get the data over to the AHV cluster in an efficient manner, this would be a great option if moving between sites also.

Brian is a VCDX5-DCV and a Sr. Tech Marketing Engineer at Nutanix and owner of this website. He is active in the VMware community and helps lead the Chicago VMUG group. Specializing in VDI and Cloud project designs. Awarded VMware vExpert status 6 years for 2016 - 2011. VCP3, VCP5, VCP5-Iaas, VCP-Cloud, VCAP-DTD, VCAP5-DCD, VCAP5-DCA, VCA-DT, VCP5-DT, Cisco UCS Design

Share this:

Like this:

Live migration is the ability to move a running VM from one host (node) to another without any downtime or loss of connectivity. Some vendors call this live migration, if your a VMware person this is known as a vMotion. Live migration is supported on an Acropolis Hypervisor (AHV) cluster, whether it is initiated manually or through an automatic process.

There are several ways for VMs to be live migrated to other hosts, the most common is for someone to use Prism to select the VM and choose to migrate it. They can also occur when a host is placed in maintenance mode which evacuates all VMs, from the Acropolis CLI or via the REST API.

How to live migrate an AHV VM

Acropolis managed virtual machines can be manually migrated to other hosts within the cluster through the VM portion of the Prism interface. First you select VM option from the top menu. Then choose the table view, then select VM to be moved and click the migrate option.

The migration action window will present the admin with the option to let the system automatically select the target host based on resource utilization or via the drop down option, allow the admin to manually select the target host from the list of nodes in the cluster.

The following image shows that you can easily select the target host to move the VM to, if you do not want to let the system make the selection for you. Click the Migrate button and the VM is on its way to the new host.

API Migrate Option

I still have very little experience with API’s but wanted to show that the option is available.

ACLI Migrate Option

The ACLI option offers the ability to specify a max bandwidth for the move along with the expect destination options.

Conclusion

I know that live migrating a VM is pretty boring these days as it should be. But educating the community that this feature is available and showing how easy and flexible it is to use is also need.

Brian is a VCDX5-DCV and a Sr. Tech Marketing Engineer at Nutanix and owner of this website. He is active in the VMware community and helps lead the Chicago VMUG group. Specializing in VDI and Cloud project designs. Awarded VMware vExpert status 6 years for 2016 - 2011. VCP3, VCP5, VCP5-Iaas, VCP-Cloud, VCAP-DTD, VCAP5-DCD, VCAP5-DCA, VCA-DT, VCP5-DT, Cisco UCS Design

Share this:

Like this:

I started my life in IT with MS-DOS and then moved into Windows when that became a thing. Then the wonders of VMware were introduced to me about a decade ago and I never looked back. Along the way, I have had limited exposure to Linux and related systems and it was always something that I wanted to learn more about, but other things always came first.

Since joining Nutanix recently, I will be learning a lot more about the Acropolis Hypervisor (AHV) offering that is built from KVM roots. This will be a new challenge for someone with my background and I’m looking forward to it. To help others with a similar background, I thought that a series of blog posts covering topics on getting started and operational tasks would be a good place to begin. These posts should help others that are new to virtualization or are experienced with VMware vSphere or Hyper-V already.

In the upper right margin of each post is an index of the posts in this series for easier access.

If there are other topics that you would like to see, drop me a note in the comments or via another method and I’ll consider it. If this series is well received I may do an Advanced AHV series at a later date.

Brian is a VCDX5-DCV and a Sr. Tech Marketing Engineer at Nutanix and owner of this website. He is active in the VMware community and helps lead the Chicago VMUG group. Specializing in VDI and Cloud project designs. Awarded VMware vExpert status 6 years for 2016 - 2011. VCP3, VCP5, VCP5-Iaas, VCP-Cloud, VCAP-DTD, VCAP5-DCD, VCAP5-DCA, VCA-DT, VCP5-DT, Cisco UCS Design

Share this:

Like this:

If you are building a new Acropolis Hypervisor (AHV) cluster there will likely be several networks that will need to be configured for VMs to consume. Also for existing AHV clusters, we all know that as environments mature and grow, typically additional networks are introduced. For these reasons a walkthrough on how to configure these networks on AHV is part of these series.

The Acropolis Hypervisor (AHV) leverages Open vSwitch (OVS) for all VM networking. When creating a new AHV cluster the management and Nutanix CVM networking paths are configured automatically. On a newly created AHV cluster there are no VM networks created automatically, VM networks are configured through Prism or the Acropolis CLI (ACLI). When networks are created within Prism they are automatically configured on all AHV hosts within the cluster to ensure compliance.

Creating VM networks in Prism

The process to create a new VM network through Prism is a simple pop-up form to fill in with the network name and corresponding VLAN ID. Once a network is created, it will be available for assignment to existing and newly created virtual machines. To get started once in Prism there are two options for getting to the network config. The first is to click on the gear in the upper right and select Network Configuration. The other option is when you are on the VM screen in prism in the upper right there is a green button for Network Config. Both options are shown in the image below.

Brian is a VCDX5-DCV and a Sr. Tech Marketing Engineer at Nutanix and owner of this website. He is active in the VMware community and helps lead the Chicago VMUG group. Specializing in VDI and Cloud project designs. Awarded VMware vExpert status 6 years for 2016 - 2011. VCP3, VCP5, VCP5-Iaas, VCP-Cloud, VCAP-DTD, VCAP5-DCD, VCAP5-DCA, VCA-DT, VCP5-DT, Cisco UCS Design