Dec 29

Home Lab SRM – Part 1- Environment Setup

Needed to brush up a bit on SRM for a couple of projects I am working on so I set up an environment in my home lab to practice up on the installation, configuration, and testing of SRM.

Here is my lab design diagram that helps me keep things organized.

Each “site” consist of an ESXi server, vCenter Server, SRM Server, and a LeftHand VSA. The “sites” share the domain controller built using AutoLab scripts. I manually added the DNS entries for the site servers.

I am using the shell VMs from AutoLab for the ESXi, vCenter, and SRM servers, the SRM server uses the vCenter shell VM, but not the automated build scripts. The free SCO router from AutoLab is used for access into the environment. I set up port forwarding rules to forward 4901 to RDP(3389) on site1-vc and 4902 to RDP on site2-vc. A pfsense firewall is being used to simulate the WAN connectivity between the two VSAs.

vSphere 5.0 is installed on the ESXi servers and the network connectivity is configured. For this lab I kept the network configuration fairly simple. I have a VM network on the same vSwitch as the management network and a separate vSwitch with a VMkernel port connected to the storage network for the software iSCSI adapter.

The vCenter servers are also 5.0 and installed in Linked Mode so that each one (including SRM) can be managed from either “site”.

The trickiest piece of the set up was getting the LeftHand VSAs configured for iSCSI access from the hosts and then remote replication. This article helped me with the setup and getting the volumes replicating between the two VSAs – http://www.virtuallifestyle.nl/2008/11/vmware-site-recovery-manager-with-lefthand-vsa/. The article is from a few years ago but the process is basically the same.

Setting up access to the volumes is a little different as I could not find the “Access Volume” wizard. Instead you have to add the ESXi host to the “Servers” tree of the cluster. You will need the vmk IP address that will be accessing the volume and the iqn of the software iSCSI initiator.

Once the server is added read/write access to the volume the server will be accessing needs to be assigned.

The rest of the set up is pretty much as it is here http://www.virtuallifestyle.nl/2008/11/vmware-site-recovery-manager-with-lefthand-vsa/. Once completed there is a single volume on each VSA presented to each host. A schedule is set up to remote replicate the volume to the volume on the “remote” VSA every 30 minutes.

SRM Server 5.0.2 is installed on each of the “site” SRM servers. I am using SQL 2008 Express R2 installed locally on the SRM servers as the database for SRM. This is not supported and the SRM database has to be created and setup before SRM 5.0.2 will install. Instructions to set up the SQL 2008 Express R2 for SRM can be found here http://www.sysadmintutorials.com/tutorials/vmware-vsphere-5-x/site-recovery-manager-5/part-1-vmware-srm-5-database-setup/


After the SRM server is installed at each site the plugin is installed in the vSphere Client.

Now the environment is ready for SRM to be configured and tested, but that is another post…


About the author


Hersey Cartwright is an IT professional with extensive experience designing, implementing, managing, and supporting technologies that improve business processes. Hersey is Solutions Architect for SimpliVity covering Virginia, Washington DC, and Maryland. He holds the VMware Certified Design Expert (VCDX-DV #128) certification. Hersey actively participates in the VMware community and was awarded the VMware vExpert title in 2016, 2015, 2014, 2013, and 2012. He enjoys working with, teaching, and writing about virtualization and other data center technologies. Follow Hersey on Twitter @herseyc

1 comment

  1. Bjørn-Tore

    Hi there –
    Very useful info on your pages! I check in often.
    Is the lab setup in this tutorial only Vmware Workstation, or do you have a physical Lab?


Leave a Reply

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

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>

2 × 1 =