HCX PowerCLI and Reverse Migrations #HCX #PowerCLI @saintdle @Virtual_Simon

April 27, 2020 Bilal Ahmed 0

So when you are going to migrating a lot of VMs you really need to script it out, as doing it in the GUI is going to slow you down massively! Now I have posted scripts where going forward to the cloud works well, but I found going in reverse can make the scripts a bit more complex. This is because the source and destination sites change, but you still do everything from the HCX Connector appliance. Special shout out to Dean Lewis @saintdle and Simon Conyard @Virtual_Simon. I have enough PowerCLI skills to be dangerous but I was falling over and needed their assistance to help me figure out what was going on. So this script will let you […]

HCX and EVC #HCX #VMware #vExpert

April 23, 2020 Bilal Ahmed 1

So I have been deploying and testing HCX recently for a customer. This customer wants to use the HCX vMotion feature to migrate out of their legacy DCs. Normally HCX Bulk Migration is used to move the majority of VMs out and HCX vMotion is used for the key heavy hitter VMs that you do not want to power down for XYZ reason. The main reason for this is time, Bulk Migration can move 100-200 VMs at a time quite easily as it uses vSphere Replication, but the downside is that during the cutover there is some downtime: VM is powered off at the source Off-line sync happens VM is powered on at the destination You can define when the […]

HCX Migrations using L2 Ext Legacy Complexities #L2VPN #HCX #VCF

March 16, 2020 Bilal Ahmed 5

Lay of the land I have been working with a customer and came across something interesting. Most people when configuring 2 vCenters don’t share VLANs between the 2, with management networks being the exception. But here we had a VLAN in 2 vCenters which needed to be migrated to our new VCF site. This new site would utilise NSX-v to terminate the default gateway. I think this is best shown in a diagram: For some unknown reason, a decision was made to separate out the Windows and Linux workloads into 2 vCenters but use the same VLAN. Sometimes you can come back and visit a decision you made previously with fresh eyes and new info and realise it wasn’t the […]

HCX Service Mesh Considerations #HCX @VMwareHCX #vExpert

January 20, 2020 Bilal Ahmed 0

So let us have a quick overview of HCX Service Meshes before we continue: Service Meshes can contain all 3 appliances or just an Interconnect appliance or just a Layer 2 Ext appliance, depending on your needs. The WAN Optimiser is optional. Features are always being added to HCX, but these are the key services/appliances. The Interconnect (IX) appliance holds most of the services, I tell people to think of it as a vSphere Replication Manager, as that is one of the main services it holds. HCX uses vSphere Replication for all its replication bits, so the same pros and cons that apply to vSphere Replication apply here as well! How the Mesh is configured and deployed is dependant on […]

HCX Migration PowerCLI Scripts #HCX @VMwareHCX #PowerCLI #vExpert

January 6, 2020 Bilal Ahmed 9

So I have been spending more and more time working with HCX and the web interface for migrations is all well and good….but really when you are wanting to do bulk migrations you are really going to want to script it Now these scripts aren’t totally my own, I have butchered other peoples and amended them for my own use cases. The guys working at Global Migration Center (GMC) helped and they actually used William Lam scripts as a base point and a couple of other PSO engineers I work with added their bits too….so credit where credit is due 🙂 Script 1 Now with the above script, you have to put in: The HCX Enterprise Manager as the source The […]

HCX Gotchas Vol 1

September 2, 2019 Bilal Ahmed 3

Right so I have been spending a lot of time working with and learning HCX recently. There are loads of people telling you how great it is and the funky things it can do (and it is great). BUT there are things that can trip you up when deploying it, and every-time I have come across one I have documented it, in the hope that I can help people who deploy it and configure it in the future! Deploying HCX Manager Now HCX is a bit of a resource hog, especially when you start deploying the additional appliances, so I was hoping to make full use of my Intel NUCs but that wasn’t meant to be. HCX Managers need 4x […]

Lets Talk About Protecting and Recovering VMs with #VCDR #vExpert

December 6, 2021 Bilal Ahmed 0

So now we have deployed and configured VCDR, now we can go into all the bits that allow you to protect your VMs and failover! Protection Groups So now we can get into the nitty-gritty of starting to create Protection Groups and Recovery Plans. This is the meat of it all, where you define what is going to be protected and how it should be recovered. As you can see you can define how VMs are added to the protection group by using Naming Patterns, Tags or VM Folders. In this example I have used vSphere Tags: In my vCenter you can see I have created a tag specifically for VCDR to use: Then we can look at the various […]

My top 5 picks for VMworld 2021

August 30, 2021 Kim Bottu 1

Over the last two years the world has changed a lot. The pandemic not only has changed the way we work, but also how we look at datacenter operations, system & application accessibility and personal devices. I used to be a datacenter guy, so my sessions will focus mostly on the datacenter space. Here are my 5 (well actually 8) picks for VMworld 2021. VMware’s direction Raghu stepped up as VMware’s CEO, I am keen to find out what Raghu’s vision is for the next years! Accelerating Innovation: Strategies for Winning Across Clouds and Apps [GEN3103] Monitoring costs If you would have asked me a couple of years ago what was most important in monitoring capabilities, I probably would have […]