Virtually Sober

If there is free booze and Virtualization; I'm there!

Monthly Archives: February 2017

Automated vSphere VM sizing & cost calculator for DR to Microsoft Azure

When planning DR or migrations from VMware vSphere to Microsoft Azure, one very important task is to configure the appropriate VM/instance sizing to match your current VM settings. This needs to be done in advance for the following key reasons:

  • Ensure adequate performance of the VM when running in Azure
  • Select the VM size that supports the number of vNICS and vDisks required
  • Perform a cost analysis of VM runtime and storage costs

In ZVR 5.0 selecting the Azure VM size is very easy in the GUI:

automated-vsphere-vm-sizing-ss1

But what this doesn’t do is tell you exactly which one to pick and neither does it tell you how much it is going to cost!

So how are you going to select the correct instance size and calculate the cost for all your VMware VMs? That sounds like a manual and tedious task that thousands of people are going to have to tackle over the next few years. Of course, you already know I have something that is going to help you otherwise you wouldn’t be reading this far!

Read more of this post

Introducing the Hyperconverged Home Lab!

I was asked the other day why I’ve never written a blog post about my home lab, which I use to test out my scripts and record demos etc, and my answer was “I honestly don’t know?!”. So, I present to you my beloved hyperconverged home lab:

labpic18

I first unveiled it to the public at the inaugural ZertoCON Boston 2016 and it was certainly a hit. I answered more questions about the lab than I did on Zerto! Questions such as “that looks awesome, what the hell is it?” and “I want one, what’s the build spec?”. At this point you are probably asking the same things and wondering what makes it hyperconverged? Here goes: Read more of this post

Automated bulk IP address reconfiguration with Zerto Virtual Replication

When configuring IP address changes in Zerto Virtual Replication (ZVR) one common challenge is data entry. Yes, it’s certainly easy to configure the new IP addresses in the GUI, but when you are protecting hundreds of VMs with hundreds of vNICs then using the GUI can become a problem. Not only will it take you a long time to configure each vNIC one by one, but you are introducing the risk of human error.

editvnic

To solve this challenge I created 2 PowerShell scripts to fully automate re-IP addressing in bulk. The first script “ZVR Bulk Re-IP Export v1.ps1” exports a list of every protected VM vNIC to a CSV with a column for each configuration item possible. You will need to protect every VM first for its vNIC info to be exported, edit the variables at the top of script for your environment, then run it to get the below output: Read more of this post

Protecting & Recovering Multi-TB VMs to Microsoft Azure

When replicating to Microsoft Azure using Zerto Virtual Replication 5.0 (or even Azure Site Recovery) the protected vDisks cannot be larger than 1TB due to the maximum page disk size being limited to 1TB by Microsoft. It’s rumored they are planning on increasing this to 8TB later this year, but in the meantime how do you work around this problem?
The good news is that there is a solution! On the protected VM you need to configure multiple sub-1TB disks. Don’t use 1TB exactly as the disk size, as this equates to 1024GB in a vSphere environment which is above the Azure page disk limit. Instead use a value of say 990GB to stay under the limit, but with a decent amount of space. Here you can see I’ve created 2 x 990GB VMDKs for my VM:

multi-tbvmstoazuress1

Read more of this post