Many people use VMware Workstation to set up lab environments. The first step in getting vSphere 8 with a vSphere cluster running is to install the vCenter Server Appliance (vCSA). Let's see how we can deploy vCenter Server 8 in VMware Workstation.

VMware Workstation is a Type 2 hypervisor that runs as an application on top of your existing workstation or laptop. So it allows you to use your existing hardware without dedicating resources to run your lab environment. In addition, deploying the vCenter Server OVA appliance in VMware Workstation is easy and works well for installation.

Preparing the installation

After you download the vCenter Server 8 ISO media, you can open it in Windows by mounting the media. There is currently a known issue in deploying the OVA file contained in the ISO directly to VMware Workstation. Hence, we will first need to make a change to avoid an error message.

First, extract the vCSA 8 ISO into a folder. We will then use the OVF tool to create an OVF file from the OVA file. This step allows us to make a necessary change for the vCSA 8 installation.

Extracting the contents of the ISO file into a local folder

Extracting the contents of the ISO file into a local folder

Navigate to the extracted vcsa folder. There, you will find the vCenter Server deployment OVA file. Using the included ovftool (in this folder), we need to convert the OVA file to an OVF. You can do that with the following command:

ovftool .\<vcsa ova file name> <vcsa ovf file name>

Next, delete the file with the .mf extension, which is the manifest file (this prevents an error since the file will not match the manifest after we modify it). Your folder should look like this:

After converting the OVA file to an OVF

After converting the OVA file to an OVF

Edit the vCSA OVF file. Find the following section by searching for guestinfo.cis.upgrade.import.directory. Change userConfigurable="false" to "true".

Editing the upgrade import directory configuration

Editing the upgrade import directory configuration

Import the OVF file to a VM

We will use the OVF file in VMware Workstation to deploy the vCenter Server 8 appliance. In VMware Workstation, click File > Open. Choose the file you created with the OVF tool.

When you open the OVF appliance file, you will be presented with the Import Virtual Machine wizard to configure the values needed for the appliance import. First, accept the EULA.

Next, configure a name for the appliance and set the storage path for the new virtual machine.

Choose a name for the vCSA and where to store the VM

Choose a name for the vCSA and where to store the VM

Select your deployment size for the new vCenter Server deployment.

Choose a vCenter Server deployment size

Choose a vCenter Server deployment size

On the Properties screen, we are interested in the Networking Configuration, SSO Configuration, System Configuration, and Networking Properties. On the Networking Configuration screen, we configure how we want the IP address to be configured for vCenter.

Populate the network properties for the vCSA appliance

Populate the network properties for the vCSA appliance

On the SSO Configuration screen, you will want to set your SSO password. Set your root password on the System Configuration screen.

Configure the root password for the new vCSA appliance

Configure the root password for the new vCSA appliance

Finally, you can set the networking properties, including the domain name and the domain search path. Then, click the Import button.

Set the domain name and domain search path

Set the domain name and domain search path

After a few minutes, you should see your appliance boot and get to the console screen, which displays the web address for the VAMI admin interface.

The new vCenter Server VM boots and is ready to connect

The new vCenter Server VM boots and is ready to connect

Configure the appliance using the VAMI

After navigating to the VAMI address and logging in with the root account, you should see the screen below. Here, we choose Setup since we are setting up a new appliance.

Click the Setup option for vCSA 8 in VMware Workstation

Click the Setup option for vCSA 8 in VMware Workstation

Since we have already completed Phase 1 using the OVF import, we are ready to begin Phase 2. Click Next on the first screen.

Beginning phase 2 installation of vCenter Server

Beginning phase 2 installation of vCenter Server

On the vCenter Server Configuration screen, verify your network settings. In addition, you can set your time synchronization settings and SSH access configuration.

Verify the network configuration

Verify the network configuration

Next, configure the SSO domain and password.

Set up the SSO domain and password

Set up the SSO domain and password

Next, decide whether you want to join the Customer Experience Improvement Program (CEIP). Finally, we are ready to complete the Phase 2 configuration. Click Finish.

Ready to complete phase 2 of the vCenter Server deployment in VMware Workstation

Ready to complete phase 2 of the vCenter Server deployment in VMware Workstation

You will see a warning that the installation cannot be interrupted at this point. I like to take a snapshot of the appliance here, since it will allow easily rolling back in case something goes wrong. Phase 2 installation begins.

Stage 2 configuration of vCenter Server progresses

Stage 2 configuration of vCenter Server progresses

After a few minutes, the installation finishes, and the appliance automatically refreshes the page to display the login screen for the VAMI interface. At this point, you should be good to browse to the URL of your vCenter Server appliance without the ":5480" and log in to the vCenter Server 8 vSphere Client.

Wrapping up

The vCenter Server installation in VMware Workstation is a bit tedious due to the current need to convert the OVA to OVF and modify the OVF file. However, without the modification, the installation will fail with an error during the appliance's configuration in phase 2.

Subscribe to 4sysops newsletter!

Once the change is made, and you use the OVF file, both phases of the installation process work fine. Since installing vCenter Server in VMware Workstation isn't supported for production environments, this deployment should only be for lab purposes.

1 Comment
  1. Matt Mancini 3 months ago

    Great job on this write up! Worked perfectly for for me!

Leave a reply

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

*

© 4sysops 2006 - 2023

CONTACT US

Please ask IT administration questions in the forums. Any other messages are welcome.

Sending

Log in with your credentials

or    

Forgot your details?

Create Account