Installing VMware vCenter Server

This section covers installing VMware vCenter Server, including:

  • Installing VCenter Server Appliance

  • Adding Licenses to Your vCenter Server

  • Adding a Host

  • Setting the NTP Service on a Host

  • Setting a vCenter Appliance to Auto-Start

  • Mounting an NFS ISO Data Store

Note

This deployment guide assumes you are building an environment for a proof of concept. Refer to VMware best practice guides before building your production environment.

Installing VCenter Server Appliance (VCSA)

The VCSA is a preconfigured virtual appliance built on Project Photon OS that allows you to manage multiple ESXi hosts and perform configuration changes from a single pane of glass. Since the OS was developed by VMware and accelerated by NVIDIA vGPUs, it offers better performance and boot times than the previous Linux-based appliance. Furthermore, it uses an embedded vPostgres database, giving VMware complete control of the software stack in tandem with the performance of NVIDIA-certified Systems. This results in significant optimization for vSphere environments and quicker release of security patches and bug fixes, enabling IT admins to focus on organizational goals and strategic initiatives.

The VCSA scales up to 2500 hosts and 45,000 virtual machines. Features such as Update Manager are bundled into the VCSA, file-based backup and restore, and vCenter High Availability. The appliance also saves operating system license costs and is quicker and easier to deploy and patch.

Note

A couple of releases ago, the VCSA reached feature parity with its Microsoft Windows counterpart and is now the preferred deployment method for vCenter Server.

Software Considerations:

  • VCSA must be deployed to an ESXi host or vCenter.

  • You must check the compatibility of any third-party products and plugins that might be used for backups, anti-virus, monitoring, etc., as these may need upgrading for ESXi compatibility.

  • To check version compatibility with other VMware products Product Interoperability Matrix.

Architectural Considerations:

Hardware and Storage Requirements:

  • See the document Hardware Requirements for specifications. The corresponding size you select during installation will determine the number of CPUs and the amount of memory (disk can be thin provisioned).

  • See the document Storage Requirements for further details. Storage requirements for the smallest environments start at 250 GB and increase depending on your specific database.

  • The ESXi host on which you deploy the VCSA must not be in lockdown or Maintenance Mode.

  • All vSphere components must be configured to use an NTP server. The installation may fail, or the vCenter Server Appliance VPXD service may not start if the clocks are not synchronized.

  • FQDN resolution must be enabled when you deploy the vCenter Server.

  • Required Ports for vCenter Server and Platform Services Controller.

  • vSphere VMware Configuration Maximums.

vCenter Server Appliance (VCSA) Installation

Download the latest VMware vCenter Server Appliance ISO from VMware downloads.

  1. Mount the ISO on your computer. The VCSA installer is compatible with Mac, Linux, and Windows.

  2. Browse to the corresponding directory for your operating system, e.g., \vcsa-ui-installer\win32: right-click Installer and select Run as administrator.

    ../_images/dg-vcenter-01.png
  3. As we are installing a new instance, click Install.

    ../_images/dg-vcenter-02.png
  4. The install is two stages. We begin with Stage1: Deploy vCenter Server. Click Next to start.

    ../_images/dg-vcenter-03.png
  5. Read and accept the EULA, and then click Next to continue.

    ../_images/dg-vcenter-04.png
  6. Select the ESXi host on which to install the VCSA as a guest. This must be a host that runs ESXi 6.5 or later. NVIDIA recommends that the vCenter server (Windows or appliance-based) run on a separate management cluster from the one designated for VDI workloads. Enter the IP address or fully qualified domain name (FQDN) of the chosen host, its root username, and password; then click Next.

    ../_images/dg-vcenter-05.png
  7. If your desktop can reach the host, you should see a certificate warning as it connects. This warning is due to the use of a self-signed certificate. If you are using a signed certificate, you will not see this warning. Click Yes to continue.

    ../_images/dg-vcenter-06.png
  8. The credentials are validated.

    ../_images/dg-vcenter-07.png
  9. When prompted after a successful connection, provide a VM name for the vCenter Server 7, type the passwords in the Set Root password field, and enter the root password again, and click Next.

    ../_images/dg-vcenter-08.png
  10. Select a deployment size appropriate to the number of hosts and virtual machines that vCenter Server will manage, then click Next.

    ../_images/dg-vcenter-09.png
  11. Select the datastore where the VCSA will be deployed, select thin provisioning if required, and click Next.

    ../_images/dg-vcenter-10.png
  12. The installer displays the Configure network settings. Before you configure these settings, choose an appropriate static IP address, and enter it into local DNS (e.g., on the Domain Controller). Once you can resolve the address, enter the IP address hostname on the network setting page, then scroll down and enter the remaining items. When all desired settings are complete, select Next.

    ../_images/dg-vcenter-11.png
  13. Review the settings before starting the vCenter Server deployment and click Finish to start the installation.

    ../_images/dg-vcenter-12.png
  14. The vCenter Server will start deploying on the specified target ESXi host. Installation progress can be viewed on the screen.

    ../_images/dg-vcenter-13.png
  15. With the VCSA now deployed, move on to stage 2 by clicking Continue.

    ../_images/dg-vcenter-14.png
  16. Select Next to proceed with Stage 2, setting up the vCenter Server.

    ../_images/dg-vcenter-15.png
  17. Configure the NTP server by selecting the Time synchronization mode and Enabling the SSH access, then click Next.

    ../_images/dg-vcenter-16.png
  18. Click Ok to the vCenter IP Address change warning.

    ../_images/dg-vcenter-17.png
  19. Enter a unique SSO domain name, configure a password for the SSO administrator, click Next.

    Note

    The default SSO domain name is vSphere.local. The SSO domain name should not be the same as your Active Directory Domain.

    ../_images/dg-vcenter-18.png
  20. Select or deselect the customer experience improvement program box and click Next.

    ../_images/dg-vcenter-19.png
  21. Review the details on the summary page and click Finish to finalize the setup.

    ../_images/dg-vcenter-20.png
  22. The installer displays a warning that you cannot pause or stop the install once you start it. Click Ok to acknowledge the warning and start the install.

    ../_images/dg-vcenter-21.png
  23. When the install process is complete, click Close to exit the installer and entire Stage 2 of the VCSA setup.

    ../_images/dg-vcenter-22.png

Post Installation

This section describes the post-install and configuration of the vCenter Server.

Adding Licenses to the vCenter Server

Use the following procedure to configure vCenter:

  1. Connect to the vCenter post install using the IP or FQDN of the vCenter. Access vSphere by selecting Launch vSphere Client (HTML5).

    ../_images/dg-vcenter-23.png
  2. The VMware Single Single-On page displays. Enter the username and password that you specified during installation, then click the Login button.

    ../_images/dg-vcenter-24.png
  3. The VMware vSphere Web Client page displays.

    ../_images/dg-vcenter-25.png
  4. You must apply for a new vCenter license key within 60 days. If you have purchased vCenter Server, log in to your licensing portal. Select your license and log in to the vSphere Web Client using the SSO administrator login. (If the license key does not appear, then check with your VMware account manager.)

  5. Click the Menu drop-down, then click Administration. Select Licenses from the left-hand menu, then select the Licenses tab. Click Add New Licenses to open the New Licenses dialog.

    ../_images/dg-vcenter-26.png
  6. Enter the vCenter Server Standard license key provided at the vSphere Licensing Portal.

    ../_images/dg-vcenter-27.png
  7. Enter a unique name for the license in the License Name field and then click Next.

    ../_images/dg-vcenter-28.png
  8. Review your selections, then click Finish to close the Enter New License dialog and return to the VMware vSphere Web Client page.

    ../_images/dg-vcenter-29.png

Adding a Host

Use the following procedure to add a host in vCenter.

  1. Select the Home icon (house) on the VMware vSphere Web Client page.

  2. Select Hosts and Clusters.

  3. From the Actions drop-down list, select New Datacenter.

    ../_images/dg-vcenter-30.png
  4. Enter a name for the datacenter in the Datacenter Name field and click Ok.

    ../_images/dg-vcenter-31.png
  5. The new datacenter is visible in the left panel of the vSphere Web Client. Click the actions drop-down and select Add a Host.

    ../_images/dg-vcenter-32.png
  6. Enter the hostname or IP address of the vSphere host and click Next.

    ../_images/dg-vcenter-33.png
  7. Enter the administrator account credentials in the Username and Password fields and click Next.

    ../_images/dg-vcenter-34.png
  8. Click Yes to replace the host certificate.

    ../_images/dg-vcenter-35.png
  9. The Host summary dialog displays. Review the settings and click Next to proceed.

  10. The Assign license dialog displays. Confirm the license selection and click Next.

  11. The Lockdown mode dialog displays. Accept the default setting (Disabled) and click Next.

  12. The VM location dialog displays. Select a cluster or accept the default option and click Next to continue.

  13. The Ready to Complete dialog displays. Click Finish to complete adding the new host.

    ../_images/dg-vcenter-36.png
  14. The new host is now visible in the left panel when you click the datacenter name.

    ../_images/dg-vcenter-37.png

Setting the NTP Service on a Host

  1. Click a host object in the menu on the left, click Configure > System > Time Configuration > Network Time Protocol > Edit.

    ../_images/dg-vcenter-38.png
  2. Check the Enable box and enter a valid time server and click OK.

    ../_images/dg-vcenter-39.png

    Note

    Public NTP Servers:

    • pool.ntp.org

    • 0.pool.ntp.org

    • 1.pool.ntp.org

    • 2.pool.ntp.org

    • 3.pool.ntp.org

  3. Set the NTP Service Startup Policy to Start and Stop with host and click okay.

    ../_images/dg-vcenter-45.png

Setting the CPU Power Management Policy

  1. Click a host object in the menu on the left, click Configure > Hardware > Overview > Power Management > Edit.

    ../_images/dg-vcenter-47.png
  2. Select the High performance power management policy and click OK.

Setting a vCenter Appliance to Auto-Start

Use the following procedure to set a vCenter Appliance to start automatically:

  1. In the vSphere Web Client, select the host then select Configure > Virtual Machines > VM Startup/Shutdown. Click the Edit button.

    ../_images/dg-vcenter-40.png
  2. The Edit VM Startup and Shutdown Configuration window displays. Select the vCenter Server, then click the Move Up button to move that virtual machine up to the Automatic Startup section of the appliance table. Then click the Edit button.

    ../_images/dg-vcenter-41.png
  3. Select and set the following options:

    • Set Startup Settings to Use specified settings

    • Select Continue immediately if VMware Tools starts

    • Set Startup Delay to 0

    • Set Shutdown Settings to Use specified settings

    • Set Shutdown Delay to 0

    • Set Perform shutdown action to Guest shutdown

    ../_images/dg-vcenter-42.png
  4. Click Ok to apply the configuration settings.

    Note

    The vCenter Web Client may not reflect these configuration changes immediately. Either click the Refresh icon or a different configuration group and return to the current setting.

Mounting an NFS ISO Data Store

Use the following procedure to mount an NFS ISO data store.

  1. In the main vSphere Web Client window, select Hosts and Clusters and select the host.

  2. Select Storage -> New Datastore from the Actions drop-down menu. The New Datastore window displays with the Type tab selected.

    ../_images/dg-vcenter-43.png
  3. Select NFS and click Next to proceed.

  4. The Select NFS version tab displays.

  5. Select the correct NFS version and click Next to proceed.

  6. The Name and configuration tab displays.

  7. Enter the NFS exported folder path and the NFS server address in the Folder and Address fields.

    • Because the data store is an ISO data store, consider mounting it as read-only by checking the Mount NFS as a read-only checkbox.

  8. Click Next to proceed. The Host accessibility tab displays.

  9. Select the host that will use the new data store.

  10. Select Next to proceed. The Ready to complete tab displays.

    ../_images/dg-vcenter-44.png
  11. Review the settings.

  12. Click Finish to complete adding the NFS ISO data store. This data store is now accessible as an installation source for virtual machine CD drives.