ScriptVMware

Consolidating datacenters

There is truly many ways and approaches to do server/datacenter consolidation… What i’m sharing here is just one way to do it, for one customer. But it has been done in so many ways for other customers – simple p2v and v2v from customer site in to the datacenter and onto more advanced approaches where some of the data is mirrored in via SAN replication/mirror and the rest is p2v or v2v’ed into datacenter.

Like i said there are many ways to do this… What is this project, well quite simple it’s all about moving 800 VMs from one datacenter to another, in this case I was so lucky that the datacenters are relatively close to each other which made it possible, to extend the network and stretch the storage over to the customers site, which again greatly simplifies the setup and how we’re able move the VMs from one site to the other.

The below graph hopefully helps to simplify how this is done. On both sites of there’s deployed various vSphere stack components with a minimum requirement of a vCenter installation. The customer was already using the vSwtich which was one the reasons that this approach was chosen. The customers vlans where extended into the datacenter where they were translated to suited vlans at the datacenter, next the storage from the datacenter were extended/streched into the customer site and datastores were presented to the customers vSphere clusters. Lastly hosts in the datacenter were brought up and configured to match the customers ESX version and settings. See my post on HP BIOS settings in order to get the must out of your host hardware.┬áThese hosts were then presented to the customers vCenter.

  • Now we have customer network extended to datacenter.
  • Datacenter storage streched to customer site.
  • Datacenter Hosts in a cluster at the customer site.

 

Now it was just a matter of creating the network (will blog about that in an up coming post) and moving the VMs. The last part were done with the script below in order to standalize the moving of VMs and save time and mouse clicks.

 

One thought on “Consolidating datacenters

Leave a Reply

Your email address will not be published. Required fields are marked *