Cross Cluster Workload Migration within the same clastic PVDC

March 1, 2023

I came into a scenario recently where we need to decommission a cluster from a provider PVDC where that cluster also contains workloads already provisioned by the customer through the VCD tenant portal. In order to do so, we need to migrate a bunch of workloads for an organization from the orgVDC under workload cluster 1 knowing that both workload cluster 1 and cluster 2 are part of an elastic PVDC spanning both clusters.

There may be other ways to do the migration but I want to share my simple procedure that I followed which may help others in case the hit the same use case. Always keep it simple!

1. Disable Cluster 2 resource pool under the PVDC

First of all and as we want to decommission workload cluster 2, we need to disable cluster 2 as a resource pool under the PVDC so that no new VMs can be provisioned by the customer onto that cluster and thereby introduce new VMs to be migrated in addition to the existing ones.

 

Note: This will not affect the running VMs under cluster 2. They will remain running but we are only disabling the capability for the customer to provision new VMs to the cluster through VCD.

 

Login to the provider portal then navigate to Resources > Cloud Resources > Provide PVDCs. Select your PVDC then navigate to Resource Pools. Select your cluster Dand click Disable.

 

2. Disable the VM/Host rule of cluster 2 Placement Policy

Before we can migrate the workloads, we need to disable the VM/Host rule of the placement policy of cluster 2. When the rule is enabled, the provisioned VMs under cluster 2 can run only on cluster 2 ESXI nodes and can’t be migrated to cluster 1.

Select your cluster and navigate to Configure > Configuration > VM/Host Rules. Select your placement policy affinity rule, click Edit and disable it.

 

3. Migrate workloads from cluster 2 to cluster 1

We have a VM provisioned through VCD portal with a selected placement policy to run on workload cluster 2. I will illustrate the procedure by migrating this single VM but the same can be followed for the other workloads.

As we have a shared storage spanning both workload clusters, we have only to vMotion the workload (from compute perspective) from cluster 2 to cluster 1. To do so, right click on the VM choose Migrate.

Select Change compute resource only, and click Next.

Select Resource Pools, then choose the resource pool for the same OVDC under cluster 1.

Proceed with the default selections, Next > Next > Finish.

Now the VM is migrated, you can notice that it is running under the tenant OVDC in cluster 1.

 

4. Change the placement policy of the migrated workload

Login to the tenant portal and check the status of migrated VM. You will notice a warning message stating that the VM is non-compliant with the compute placement policy.

This is expected because the VM was originally provisioned to cluster 2 and the placement policy valued attached to the VM is still cluster 2 policy although the VM is running now under cluster 1 from vSphere perspective.

To comply with the compute policy from VCD perspective, we need to change the placement policy of the VM.

Navigate to Data Centers > Virtual Machines. Click on the VM and navigate to Hardware > Compute. You will notice that the placement policy is still pointing to cluster 2.

Click on Edit and change the placement policy to point to cluster 1.

Click Save.

You will notice now that the placement policy is changed and the warning message disappeared meaning that the VM is compliant again.

We are done with the VM migration completely. Notice that this was a live migration without any downtime. 

April 4, 2025
Maximize ROI in financial services with Broadcom's VMware Cloud Foundation
March 17, 2025
Optimize your Microsoft Azure DaaS budget with the new Horizon Cloud on Azure Standard Subscription. Omnissa announces Horizon Cloud on Microsoft Azure Standard Subscription, a cost-effective and scalable desktop as a service (DaaS) offering designed to simplify virtual desktop and application delivery. The offering allows customers to use Horizon Cloud on Azure to deliver optimized single-session VDI desktops or multi-session RDSH (Remote Desktop Session Host) desktops and apps, while streamlining management and modernizing app delivery. Furthermore, Horizon Cloud on Microsoft Azure offers a superior, personalized end-user experience that boosts productivity and satisfaction with end-users. Let’s take a closer look. Flexible Desktop and App Configurations Horizon Cloud on Azure Standard Subscription allows IT to choose between single-session and multi-session configurations for VDI and RDSH. Single-session VDI gives each user a dedicated virtual machine, which provides efficient resource utilization, personalized experience, and enhanced security. For single-session VDI, IT can offer end users dedicated/persistent and floating/non-persistent desktops. Multi-session, also known as RDSH, provides both published desktops and published applications that are available as shared sessions from a virtual machine, allowing multiple users to share resources leading to reduced costs. Streamlined Management with the Horizon Control Plane Managing virtual desktops and apps in any cloud and across data centers can be challenging, but the cloud-hosted Horizon Control Plane simplifies it with a suite of next-gen SaaS services for unified management of Horizon deployments, including Horizon Cloud on Azure. The Horizon Control Plane provides various management services like app and image management, power management, unified brokering, and monitoring. The Image Management Service automates the image publishing process, making it easier to replicate and scale images across single and multi-cloud environments. Dynamic power management automatically adjusts resources based on demand, reducing compute costs. Instead of paying for desktops based on powered-on capacity, regardless of if they’re being used, IT can control how desktops are provisioned and deprovisioned based on user load or schedules. Unified brokering allows users to seamlessly access virtual desktops and apps through a single URL, using intelligent routing that considers available capacity, location, and user preferences. For monitoring, Omnissa Intelligence (included with this Horizon Cloud on Azure Standard offering) and Experience Management for Horizon (available as an add-on to this Horizon Cloud on Azure Standard offering) provide IT teams with insights into end-user experiences, helping identify issues and improve performance. These are just some of the comprehensive set of services on the Horizon Control Plane that help IT teams simplify management of their Horizon environments. Modern App Delivery with App Volumes Traditional app lifecycle management in virtual desktop and app environments is often complex and time-consuming. To reduce complexity and time, Horizon Cloud on Azure Standard Subscription includes App Volumes and Apps on Demand, available directly from the Horizon Control Plane. App Volumes improves application delivery by allowing IT to package applications once and deploying them across Horizon 8, Horizon Cloud, and even other virtual desktop and app solutions. IT can use App Volumes to separate app management from OS management and therefore reduce the number of OS images being managed. App compatibility is no longer an issue as App Volumes supports diverse app formats that can be delivered anywhere. With Apps on Demand , IT can further reduce lifecycle management, time and infrastructure costs by delivering apps to users when they need them, not if they need them. Exceptional User Experience To provide a great user experience, Horizon Cloud on Azure desktop and app experience can be optimized via the Blast Protocol, personalized with Dynamic Environment Manager (DEM), and accessed using Workspace ONE Intelligent Hub. With the Blast Protocol, end users get an immersive display experience with high-fidelity visuals, high quality audio and video, robust GPU support, and security features like screen capture blocking. Thousands of peripherals are supported to meet industry-specific requirements, like credit card readers for retail or tap-and-go secure sign-in readers for healthcare. DEM simplifies profile management and personalization through dynamic policy configuration, combining the ease of managing application and persona settings while providing consistent and personal desktop experiences. Users can access desktops and apps directly from Workspace ONE Intelligent Hub, which offers a unified app catalog with SSO to published apps, packaged apps, SaaS apps, virtual desktops, and web links.
December 6, 2024
Omnissa Horizon and VMware vSphere Foundation for VDI combined offerings explained
February 12, 2024
Embracing Change with VMware vSphere Foundation
VMware by Broadcom Dramatically Simplifies Offer Lineup and Licensing Model
December 13, 2023
VMware by Broadcom Dramatically Simplifies Offer Lineup and Licensing Model
By Mohamad AlHussein March 1, 2023
This post will walk you through the steps needed to capture the incoming/outgoiing traffic on Tier0 gateway uplink level. The result will be a PCAP file that can be imported into a packet analyzer such as Wireshark for further troubleshooting and analysis.
More Posts