Virtually Sober

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

Category Archives: Uncategorized

Automated bulk IP address reconfiguration with Zerto Virtual Replication

If you tried to use this example before 04/25/17 there was a typo in the export script which left 2 key fields blank subsequently causing an error on import. I’ve now fixed the issue so now is as good a time as any to give this cool script a run in your Zerto environment for bulk IP configuration.

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

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

Automate VM Protection with vRO & Zerto Virtual Replication – ZVM only

In this blog post I will show you how to fully automate the protection of new VMs with Zerto Virtual Replication 4.5 (ZVR) and vRealize Orchestrator (vRO).

This example is for a Zerto Virtual Manager (ZVM) that is not managed by a Zerto Cloud Manager (ZCM) and therefore won’t use the concept of ZCM managed service profiles. We will be using a combination of vSphere folders, vRO, PowerShell, a settings CSV and ZVR REST APIs to achieve automated protection.

Read more of this post

Automate VM Protection with vRO & Zerto Virtual Replication – ZVM & ZCM

In this blog post I will show you how to fully automate the protection of new VMs with Zerto Virtual Replication 4.5 (ZVR) and vRealize Orchestrator (vRO).

This example is for a Zerto Virtual Manager (ZVM) that is managed by a Zerto Cloud Manager (ZCM) and therefore uses service profiles pushed from the ZCM to the ZVM. A new service profile has to be created from the ZCM and used in this workflow as this is a requirement of automating VM protection through the Zerto API. We will be using a combination of vSphere folders, vRO, PowerShell, a settings CSV and ZVR REST APIs to achieve automated protection.

Read more of this post

Automating Bulk VM Protection – ZVM & ZCM

In this blog post I will show you how to automate the protection of VMs during initial configuration or re-installation of Zerto to a new datacenter. This example is only for a Zerto Virtual Manager (ZVM) managed by a Zerto Cloud Manager (ZCM).

I’m going to be using a combination of PowerShell, REST APIs and CSVs to complete the task. As a best practice I wouldn’t recommend creating too many VPGs simultaneously as you don’t want to overload the vCenter, storage, WAN and Zerto resources available to you. I’ll leave you to decide your own number but I personally would stick to batches of 5-25 depending on what you have at your disposal.

Read more of this post

Automating Bulk VM Protection with Zerto Virtual Replication – ZVM only

In this blog post I will show you how to automate the protection of VMs during initial configuration or re-installation of Zerto to a new datacenter. This example is only for a Zerto Virtual Manager (ZVM) that is not managed by a Zerto Cloud Manager (ZCM).

I’m going to be using a combination of PowerShell, REST APIs and CSVs to complete the task. As a best practice I wouldn’t recommend creating too many VPGs simultaneously as you don’t want to overload the vCenter, storage, WAN and Zerto resources available to you. I’ll leave you to decide your own number but I personally would stick to batches of 5-25 depending on what you have at your disposal.

Read more of this post

Introduction to Automating VM Protection with Zerto Virtual Replication

One of the most common requests I hear in my role at Zerto is to automate the protection of VMs. The 2 main use cases for this request are typically:

  1. Bulk VM protection during initial installation or re-installation. I.E you have 800 VMs to re-protect to a new datacenter and it would make more sense to automate the process (which came from a recent customer request).
  2. Automate the protection of new VMs. I.E you have new VMs being created on an hourly/daily/weekly basis be it from templates, vRealize Orchestrator or a self-service catalog and you want to automate the protection of VMs without having to manually configure DR.

The good news is that both of these use cases are easily achievable using Zerto Virtual Replication 4.5, PowerShell and the new APIs, with the examples I’m going to give you.

Read more of this post

Getting a List of VMs by VPG

Hi all!

In response to a recent MyZerto forum request I thought I’d write a short post on how to obtain a simple piece of information from Zerto; what VMs are protected and their VPG name. Read more of this post

Automating VRA Deployment

In the first post in this series I covered the basics of establishing an authenticated session with the Zerto API and connecting to the vCenter server. You need to configure the script examples covered in this first post in order to follow the instructions in this blog post, you can find this here:

https://virtuallysober.wordpress.com/2016/02/11/introduction-to-powershell-and-zerto-rest-api-scripting/

In the Zerto GUI its very simple to deploy a Virtual Replication Appliance (VRA), you simply click New VRA, specify the information required and click Install. Then with no-impact, no downtime or maintenance mode the VRA is deployed to the ESXi host in minutes: Read more of this post