Connect with us

Gadgets

How to Create vCenter Cluster with VMWare Workstation (Part 1): Lab Design

[ad_1]

Read this guide to learn how to create a vCenter cluster with VMWare Workstation Pro 17 VMs as VMWare ESXi hosts. To make this an easy read, I have divided the guides into 5 parts.

This first part explains the lab setup.

Overview

VMWare Workstation Pro 17 supports nested virtualization which allows you to turn a VM into VMWare ESXi hosts. I’m using this feature in this article to build a vCenter Cluster using two virtual machines.

The setup described in this article is for lab or test purposes. It is not recommended to install VMWare ESXi hosts on VMWare Workstation in a production environment.

I’m building this lab as part of my lab for my article series on migrating VMWare VMs to Hyper-V using System Center Virtual Machine Manager (SCVMM).

If you intend to follow the steps in this 8-part series, use the steps below to plan your lab setup.

Step 1: Plan the Lab Hardware Configuration

To help you set up this lab, my VMWare Workstation Pro 17 is installed in a Windows 11 HP Envy x360 Convertible laptop with these specs:

Processor Specs RAM Storage
Intel i7-7500 2.7 Gz 32 GB Disk 1: 250 GB
Disk 2: 1 TB

The table below outlines the VMWare Workstation VM specs and their functions.

VM Purpose vCPUs RAM vNICs
IPMvESXi1 ESXi Host 2 16384 2
IPMvESXi2 ESXi Host 2 8192 2
IPMvCSA* vCenter Server 8 Appliance NA NA NA
IPMviSCSI Windows Server 2022 iSCSI Server 1 1024 1
Table 1

*IPMvCSA is NOT a VMWare Workstation VM but a vCenter appliance. We will create this when we install vCenter Appliance 8 in part 5 of this guide.

I assigned 16GB RAM to one of the ESXi VMs because 14 GB is the minim RAM required to set up a vCenter Server appliance. We will install vCenter on this ESXi Host later.

The VMWare Workstation Pro PC (Windows 11 on HP ENVY x360 Convertible) is named IPMpVMW2. The two NICs on the ESXi Host VMs will be Teamed.

Later, I’ll configure the Windows iSCSI Server to use the 1 TB drive in the VMWare Workstation host as an iSCSI storage. This will be used as the Datastore for the VMWare ESXi hosts.

If the computer you’re installing VMWare Workstation Pro (IPMpVMW2) does not have a second 1 TB hard drive, use an external USB drive. However, it is important to mention that the disk should be at least 1 TB if you intend to use the setup in this guide.

Step 2: Plan the Lab Network Configuration

Finally, the table below details the network configurations for the hosts.

Host IP Address Subnet Mask Default Gateway DNS Server
IPMpVMW2 192.168.0.150 255.255.255.0 192.168.0.1 192.168.0.80
IPMvESXi1 192.168.0.151 255.255.255.0 192.168.0.1 192.168.0.80
IPMvESXi2 192.168.0.152 255.255.255.0 192.168.0.1 192.168.0.80
IPMvCSA 192.168.0.153 255.255.255.0 192.168.0.1 192.168.0.80
IPMviSCSI 192.168.0.154 255.255.255.0 192.168.0.1 192.168.0.80
Table 2

The default gateway is the IP address of my router while the DNS server is a Windows Server 2019 VM hosted on another laptop.

Step 3: Create Partitions on the iSCSI Disk

  1. Log in to the computer you will be installing the VMWare Workstation Pro.
  2. Then, right-click the Windows Start menu and select Disk Management.
Then, right-click Windows Start menu andn select Disk Management
  1. If the disk is offline, right-click it and select Online.

Deleting the partition (or volume) on a disk wipes all data. Before you perform step 4, copy all data on the disk to another location.

  1. After that, delete all existing partitions by right-clicking the partition and selecting Delete Volume.
After that, delete all existing partitions by right-clicking the partition and selecting Delete VolumeAfter that, delete all existing partitions by right-clicking the partition and selecting Delete Volume

After deleting the volumes/partition, you’ll create two volumes. The first volume (300 GB) will be used to save VMs in part 2 of this guide. Meanwhile, the second volume (uses the remaining space on the disk) will be used to create iSCSI LUMs to be used by the ESXi hots.

vCenter 8 Appliance requires the ESXi host it is being installed to have access to a datastore with at least 579 GB of free space. So, make sure that the second volume you create below has at least 600 GB.
  1. Right-click the “Unallocated space” on the disk and select New Simple Volume.
Right-click the Unallocated space on the disk and select New Simple VolumeRight-click the Unallocated space on the disk and select New Simple Volume
  1. On the first page of the wizard, click Next. Then, on the Specify Volume Size page, enter 620000 (620 GB) on the Simple volume size field.

I’m using 620 GB to ensure I have enough space on the volume. This is because when you create a volume, some of the space is retained by the Operating System.

On the first page of the wizard, click Next. Then, on the Specify Volume Size page, enter 620000 (620 GB) on the Simpe volume size fieldOn the first page of the wizard, click Next. Then, on the Specify Volume Size page, enter 620000 (620 GB) on the Simpe volume size field
  1. Then, on the Assign Drive Letter or Path page, select Do not assign a drive letter or path.

We’re not assigning a drive letter to this partition because in part 4, we would attach this volume (partition) to the iSCSI VM and use the disk to create a Windows Server 2022 iSCSI target.

  1. On the Format Partition page, select “Do not format this volume.” Once again, we do not need to partition the volume for reasons I explained earlier.
On the Format Partition page, select Do not format this volume. Once again, we do not need to partition the volume for reasons I already explainedOn the Format Partition page, select Do not format this volume. Once again, we do not need to partition the volume for reasons I already explained
  1. Finally, review your selections and click Finish to create the volume.
  2. Right-click the free space again, and create another volume.
Right-click the free space again, and create another volumeRight-click the free space again, and create another volume
  1. This time, use up the remaining drive space (333852 MB, in my example) to create the volume.
This time, use up the remaining drive space (333852 MB, in my example) to create the volume. This time, use up the remaining drive space (333852 MB, in my example) to create the volume.

Assign the volume a drive letter and format it. You may also give the volume a label for ease of identification – I gave mine “VMStorage.”

Assign the volume a drive letter and format itAssign the volume a drive letter and format it
You may also give the volume a label for ease of identification - I gave mine VMStorageYou may also give the volume a label for ease of identification - I gave mine VMStorage

When you finish, you should have two partitions (volumes). The first one (slightly above 600 GB should be raw while the second should be assigned a drive letter and formatted.

When you finish, you should have two partitions (volumes). The first one (slightly above 600 GB should be raw while the second shold be assigned adrive letter and formattedWhen you finish, you should have two partitions (volumes). The first one (slightly above 600 GB should be raw while the second shold be assigned adrive letter and formatted

Before you move on to the next section, create a folder called “VMWare” – you’ll save all downloaded app installation files to this folder as we progress in this series.

Step 4: Install VMWare Workstation Pro 17

In this last part, you’ll download VMWare Workstation 17.0 Pro and install it on the computer you’re using for this lab setup. I’ll install mine on an HP Envy x360 Convertible laptop running Windows 11.

Here are the steps. I did not include screenshots because the installation is pretty straightforward.

  1. Create a free Broadcom account and sign in. If you’re not aware, Broadcom now owns VMWare!
  2. Then, click the VMware Workstation Pro Download link – it will load in your Broadcom account page.
  3. Expand VMWare Workstation 17.0 Pro for Personal use (Windows) and click the link to the latest version.
  4. On the next page, accept the license agreement and click the download link
  5. Save the exe file in the “VMWare Workstation” folder
  6. Double-click the downloaded exe file to start the installation
  7. Click Next (accept defaults) for the rest of the installation.

Now that we have sorted out the lap setup and configurations, let’s proceed to part two of this guide – creating the VMWare Workstation VMs.

Read part 2: Download ESXi ISO (link opens in a new browser tab).

[ad_2]

Victor Ashiedu

Source link