When planning a VMware home lab, you’ll face some decisions regarding the configuration to use based on the resources and internal infrastructure you have. One key part of these decisions is how to deploy VMware vCenter (VCSA) in Workstation.
To deploy VCSA in a home lab, you have two options: Deploy the VM appliance directly in VMware Workstation; or deploy a double-nested VM using Workstations and a virtual ESXi host. In this blog post, I use the first option, and I’ll show how to deploy VMware VCSA 6.7 U2 in VMware Workstation.
Needless to say that the idea to carry on the VCSA deployment directly in VMware Workstation is for a home lab, testing, and self-education. In a production environment, you should deploy VMware vCenter (VCSA) in the (usually physical) ESXi hypervisor.
In previous VMware Workstation versions, you needed to hack one of the VCSA installation files in order to proceed with the deployment and set up. This "hack" is no longer a need in VMware Workstation 15 and newer versions; now, you can import the VCSA (.ofv or .ova) file directly into Workstation as you do for any other VM.
As you might already know, the network configuration is fundamental when you are deploying a VCSA, since it is susceptible to the use of DNS and FQDN. In a home lab, your network and other testing infrastructure play an essential role in this decision.
For instance, if you don’t have a DNS server, I’ll recommend using DHCP as a deployment option. This option is just for testing purposes due to the recommendation is to use a static IP address. If you don’t set an FQDN, you won’t be able to change the IP address in the future, if it's needed. Now, if you have a DNS service running, better using a static IP address and a proper FQDN.
Note: The latest version of vSphere, 6.7 U3, will allow changing the FQDN. See resources.
Note: I am using Bridged Network (VMnet0) from the Workstation Network editor for this specific configuration.
Note: The above recommendations are based on my current home lab and network configuration. Options widely vary based on your configuration and decisions.
To import a VMware vCenter Server Appliance follow the steps below:
- Go to File / Open…
- Search the for VCSA .ovf file. This file is inside <VCSA folder location>/ vcsa. Open the .ovf file.
- The Import Virtual Machine wizard will show up. Accept the license and click Next.
- Name the VCSA, change the storage path if desired and click Next.
- Since the deployment is for a home lab, select the first option, Tiny vCenter Server with Embedded PSC, and click Next.
- On Properties, is where we need to decide what network mode options to use, DHCP or Static.
- From Networking Configuration, type:
- Host Network IP Address Family: ipv4
- Host Network Mode: dhcp
- The next step is not required (immediately), but I prefer to do it here. From System Configuration input the root password of this VCSA. Other options are not necessary at the moment; click Next.
- The appliance will be imported into the Workstation library.
- You need to wait for a while until the VCSA is fully deployed before procced. From the VCSA tab, pay attention that the FQDN and IP address shows “https” instead “http”; and that is similar to the image below. You will get an IP address based on your home network configuration and the VMnet0 settings.
- From your web browser, type the IP address of your new deployed VCSA and 5480 port. In my case, https://192.168.0.103:5480. Click Advanced and then Proceed to -<P address> (unsafe).
- Click on Set Up to start stage 2, the installation.
- Login with the root password, and proceed with the installation, leave everything as default.
- On SSO configuration add vsphere.local as SSO domain name and create a password. Continue with the installation.
- Review the settings and click Finish.
- The appliance set up will start. If you get an error on this step, it is usually a network issue. If you pass the 2%, you are good. The installation is going to take about 10 min, depending on your PC.
- After the installation is completed, close the windows. Do not click on “https://photon-machine:443” since it is not going to work.
- Access the VCSA via a web browser using the IP address assigned by DHCP. Launch the vSphere client using HTML5.
- Input SSO credentials and log in.
- You can now access the vCenter Server Appliance directly from VMware Workstation.
Static IP Option
Steps are similar to the DHCP option. The import thing here is first to add the VCSA into the DNS records.
- Go to your Active Directory server and from the DNS manager add a new host, the VCSA.
- From Networking Configuration, type:
- Host Network IP Address Family: ipv4
- Host Network Mode: static
- Host Network IP Address: <your static IP address>
- Host Network Prefix: 24 <or the desired>
- Host Network Default Gateway: <your home network DG>
- Host Network DNS Servers: <the IP address of your active directory, and a secondary DNS if you want>
- Host Network Identity: <blank>
Follow the below image as a reference:
- If you want, also add the root password from the System Configuration option.
- When available, access the VCSA using the static IP address configured and 5480 port. In my case, https://192.168.0.155:5480. Click Advanced and then Proceed to <P address> (unsafe).
- Follow the same steps as the DHCP option.
- On the Appliance Configuration option, change the system name to match the DNS record created in the Active Directory. In my case: vcsa.home.lab. Leave all other configurations as default. Click Next and complete the installation.
- With this option, you will be able to change the IP address of the appliance if needed and also accessing the client using the FQDN. Eg. https://vcsa.home.lab:5480
I am trying to install vcenter 7 at home in this way only but it get stuk in second phase of deployment (everytime it is stucking at different operations of deployment).
Also I am have alloted 6GB of ram to this virtual machine.
Will it possible to install vcenter in such less amount of ram?
Hi Jennifer, can't tell what could be your problem but getting stuck during the installation is usually a network issue, maybe DNS.
You can install vCenter with 6GB, but it is really not recommended, not sure if it is even a good idea for a lab. If you still want to try it, here is another post on how to do it.
I followed your exact instructions for DHCP to deploy VCSA 6.7.0-14070457 OVF10 templated on to VMware workstation 16 latest workstation with 5.1 GiB Memory and 2 vCPU Intel Core i5 @ 1.60GHz
And 400 GB storage space free
At stage 2 install after 50 minutes progressed nearly 97% installed and at 97% starting VMware Performance Charts takes so long and finally fails and then throws a first deploy error
I observed the same when DNS is setup and static configuration is done at 97% for same version VCSA 6.7.0-14070457 OVF10 after 97% completion starting VMware Performance Charts it took so long and failed.
Entire duration no network issue was encountered as i was monitoring entire process.
Is there anything specific about starting VMware Performance Charts service that is causing this home lab deployment to fail?
I have tried many times tried this and observed and is the same, progressed to 97% starting VMware Performance Charts service fails. Very frustrating.
Any help would be really great. Thank you.
As I said in another comment this is usually a network issue, but... hard to tell... Another reason could be that you don't have enough memory to allocate VCSA, as it should be above 10GB (ideally).
You can also try checking the integrity of the VCSA file, which is another common reason for the problem that you are having. I wrote about it in this blog post: https://mulcas.com/files-integrity-check-using-vmware-cryptographic-hashes/.
Hope you can solve the issue.
Will this modification for memory in this article you have shared tells ovf template to use what user specific memory is defined in layout.json when you start ovf deployment onto VMware workstation 16?https://mulcas.com/how-to-install-vmware-vcsa-6-7-with-less-than-10gb-ram/
You are such an inspiration and helpful to the techs out there trying to get started with vcsa.
Sorry i was a bit impatient since it took an hour. But finally it worked and installed with DHCP option.
But the issue now I am facing is when i clicked Launch the vSphere client using HTML5, it throws this error:
 An error occurred while sending an authentication request to the vCenter Single Sign-On server –
An error occurred when processing the metadata during vCenter Single Sign-On setup – java.net.SocketTimeoutException: Read timed out.
Not sure if there is any certificate issue or is this error related to some sort of timeout configuration.
Any help from you would be good? Thanks Juan.
Thanks for your words 🙂
Unfortunately, I haven't used VMware solutions for a while (planning to come back to this soon), so there are many things I don't recall. Also, don't remember that specific issue that you are having, my recommendation, for now, is to check with the VMware Knowledge base.
I had figured out and solved this issue. The error was because i had an add blocker Chrome extension running which i had to turn off. It’s perfectly working now.
I just have one question, with the license, after the EVAL expires for vcsa what will be the impact? Will all the ESXi hosts go into a inaccessible or disconnected state? As my evaluation is due to end in 30 days. Thanks
This is from VMware:
License and evaluation period expiry lead to consequences that prevent you from performing certain operations in the vSphere environment.
For ESXi hosts, license or evaluation period expiry leads to disconnecting the hosts from vCenter Server. All powered-on virtual machines continue to work, but you cannot power on virtual machine once they are powered-off. You cannot change the current configuration of the features that are already in use. You cannot use the features that remained unused while the host was in evaluation mode.
When the license or evaluation period of a vCenter Server system expires, all hosts disconnect from that vCenter Server system.
DHCP installation working fine, but
The static IP config does not seem to install for some reason. It gets stuck on installing RPM so it is not even moving to start stage 2. On VMware working behind NAT static IP is set with Domain controller with AD DNS installed with appropriate forward and reverse lookup DNS records creation for vcenter.
It's good to get the static IP installation completed as with DHCP IP is changing so next time you boot up the DHCP IP changes hence issues as the services won't start up and therefore cannot consistently log in to vCenter via SSO.
Any help if you can provide would be great to get the static IP option working.
Sharing my research success – information to those curious running behind NAT on latest VMWARE WORKSTATION 16 to those in community who wish to try in your home lab.
Open ports on Windows Defender Firewall
1. 443 for HTTP Secure
2. 9443 for vSphere Client HTTPS
This will result in VCSA 6.7 successfully deploy OVF on VMWARE WORKSTATION with NAT (vmnet8) without DNS records in place.
Set the IP to static via Appliance shell using this command: /opt/vmware/share/vami/vami_config_net
But if you are running this on your Laptop and in a need to shut down then next time you boot the appliance up and attempt to browse vCENTER HTML 5 login page you will encounter with this error:
503 Service Unavailable (Failed to connect to endpoint: [N7Vmacore4Http20NamedPipeServiceSpecE:0x000055ed2fdb3820] _serverNamespace = / action = Allow _pipeName =/var/run/vmware/vpxd-webserver-pipe)
To resolve this issue and render vCENTER HTML 5 login page you will have to run this below command and Regenerate a new VMCA Root Certificate and replace all certificates.
During my research this source help me to solve the above 503 Service Unavailable error.