A Step-by-Step guide to configuring VMware Site Recovery Manager (SRM) 8.2 in my Lab: Part 2 – Nested ESXi Hosts

So lets get started building our VMware Site Recover Manager 8.2 lab. In my last post I outlined how my lab was set up – yours may be different. In this post we’re going to start deploying all the systems necessary for the lab, beginning with a couple of nested ESXi hosts representing my production and DR sites.

Read on…

Note: this is part 2 of a 10 part series. Links to the rest of the series can be found at the bottom of the page.

In order to test Site Recover Manager in my lab, I’m going to deploy 2 nested ESXi hosts. These will be connected to 2 internal-only vSwitches which will be connected together via a VyOS router. In the screenshot below I’ve logged into my physical server running ESXi 6.7 and I’ve gone to the Networking section so you can see the vSwitches. Generally I name my vSwitches based on the IP subnet that I’ll be using there. So here I’ll be connecting the Production ESXi host to the vSwitch called 10.0.1.0/24 and the DR ESXi host to the vSwitch called 10.0.2.0/24.

(Note: although it is no longer a requirement to enable promiscuous mode on vSwitches in oreder to make nested ESXi work, I still do it just in case anything else relies on this setting.)

nested esx 01

My physical server has 2 datastores. datastore1 is where I keep all my ISOs, VM templates, etc. datastore2 is where all my test workloads are installed.

nested esx 02

At this stage I have just 2 virtual machines running, the VyOS router and my Windows Server 2016 domain controller that serves as my management system as well as providing AD, DNS, DHCP and file sharing services for any labs that need it.

nested esx 03

So let’s start by deploying the Production ESXi host. Here I’ve right-clicked on Virtual Machines and selected Create/Register VM:

nested esx 04

Select the option to Create a new virtual machine and click Next:

nested esx 05

Give the VM a meaningful name (here I’ve called it esx-prod-01 to match its DNS entry). Set the Guest OS Family to Other and set the Guest OS Version to VMware ESXi 6.5 or later. You’ll get a support warning that you can ignore. Click Next:

nested esx 06

Select the datastore where you want to install the VM and click Next:

nested esx 07

You’ll need to configure the VM with at least 2 CPU cores in order to install ESXi. Here I’ve set the CPU count to 8 with 1 core per socket.

In order to run ESXi in nested mode we need to select the option for Hardware virtualization as shown:

nested esx 08

I’ve set the memory to 24GB and I’ve set the hard disk size at 500GB, thin provisioned. This will be the main datastore on the nested ESXi host.

You should also add a second smaller disk at this stage to be configured as a placeholder datastore for SRM later. This can be small so you can create it as a 10GB thin provisioned disk. A separate placeholder datastore isn’t strictly required when using vSphere Replication but it can help to avoid confusion when distinguishing between replication targets and placeholder VMs. See here.

nested esx 08a

Now add some NICs. Here, I’ve configured 4 NICs, all connected to the 10.0.1.0/24 portgroup (i.e. my production network). I probably won’t use all of them but I like to have enough to give myself plenty of options. I’ve also connected the ESXi 6.7 installation media to the CD/DVD drive and checked the box for Connect at power on. Click Next:

nested esx 10

Review the VM settings and when you’re happy click Finish:

nested esx 11

Power on the VM and open a console. To start the installation, hit Enter:

nested esx 12

Press F11 to accept the EULA:

nested esx 13

Select the 500GB disk as the installation device and hit Enter:

nested esx 14a

 

The keyboard layout defaults to US Default but you can change that at this stage. Hit Enter:

nested esx 15

Set the root password and hit Enter:

nested esx 16

To start the installation process, hit F11:

nested esx 17

The installation will take a few minutes depending on the speed of you disk drive. Once it completes you can hit Enter to reboot the VM and load the hypervisor:

nested esx 18

When the hypervisor has finished loading, hit F2 to customize it:

nested esx 19

Log in as the root user:

nested esx 20

Scroll down the Configure Management Network and hit Enter:

nested esx 21

Select the adapters that you want connected to the management network and hit Enter:

nested esx 22

Set static IP address options and hit Enter:

nested esx 23

Set the Primary DNS Server (here I’ve specified the IP address of my Windows Server Domain Controller where I’ve created DNS entris for all the systems I’ll be deploying) and the hostname and hit Enter:

nested esx 24

Set the DNS suffix and hit Enter:

nested esx 25

Finally hit esc.  You’ll be prompted to confirm the changes by hitting Y:

nested esx 26

Here we can see new hostname and IP address have been applied:

nested esx 27

Now we can point a browser at the managment IP address of the nested ESXi host and examine its properties:

nested esx 28

The installation process will have formatted the 500GB installation drive as a VMFS datastore. Now we’ll need to format the second 10GB volume. Right-click on the Storage icon and select New datastore as shown:

nested esx 36

Chose the option for Create new VMFS datastore and click Next:

nested esx 37

Give the placeholder datastore a meaningful name. Select the available unformatted disk that we added to the nested ESXi host and click Next:

nested esx 38

Select the default partitioning options and click Next:

nested esx 39

Click Finish:

nested esx 40

Click OK to accept the warning:

nested esx 34

We should now be able to see the new datastore in the list:

nested esx 41

So that’s our first nested ESXi host deployed, to be used as the central resource of our production site. Now we’ll need to go all the way back to the start and deploy a second identical host to be used as the basis of our DR site

Now that we have our two nested ESXi hosts deployed, we can proceed to deploying two vCenter Servers, one for each site, Production and DR. And I’ll be showing you how to do that in my next post.

Until then…

<–Previous   Next–>

Part 1 – Overview
Part 2 – Nested ESXi Hosts
Part 3 – Deploy vCenter Servers
Part 4 – Deploy vSphere Replication
Part 5 – Configure vSphere Replication
Part 6 – First Replication Job
Part 7 – Deploy SRM Appliance
Part 8 – Configure SRM – Site Pairing
Part 9 – Configure SRM – Mappings
Part 10 – First Recovery Plan