Site icon mulcas

VDI-LAB-2018 – Part 7 – Installing and configuring vCenter server 6.5

VDI lab guide

Summary:

In this part, we are going to install and configure vCenter server 6.5 (Windows-based). We need to prepare the server before the installation, adding the vCenter user created on the domain controller, applying user rights, and preparing SQL Server native client. Then, we can proceed with the vCenter installation and initial configuration.

NOTE: Using vCenter server windows based is for academic purposes (and nostalgia). vCenter will be discarded from the vSphere suite any time soon, probably in vSphere version 7.

NOTE: Using VCSA is recommended, fewer steps will be required for a VDI infrastructure. The big difference is that the vCenter user and some extra configurations are not necessary. For the VCSA option, follow the same steps of part 3 of this series.

This is part 7 out of 12 of the VDI LAB series. Check out the introduction first.

The ultimate VDI deployment guide (from scratch) with VMware vSphere 6.5 and Horizon View 7.3 – 2018. 😉

1. Prerequisites

2. Preparing the VM

  1. Deploy the VM from the template previously created.
  2. Configure a static IP address.
  3. Change computer name and add the server to the domain.

If you go to your domain controller, the server should be added in the default Computers folder. Move it to the Computers OU created during the domain controller set up.

3. Before vCenter installation

3.1 Add vCenter user to admins group

  1. Go to Windows / Computer Management
  1. Go to Local Users and Groups / Groups, right-click on Administrators and click Properties.
  1. Click Add... button.
  1. Type vCenter user (previously created), click Check Names and Click OK.
  1. Input Domain Controller credentials.
  1. The vCenter user will be added to the Administrators group.

3.2 Add vCenter user to “Log on as a service” policy

  1. Go to Windows / Windows Administrative tools.
  1. Double-click on Local Security Policy
  1. From Local Security Policy, go to Local Policies / User Rights Assignment, double-click on Log on as a service.
  1. Click Add user or group...
  1. Type vCenter user, click Check Names and Click OK.
  1. Type Domain controller server credentials and the vCenter user will be added to the log-on as a service policy.
  2. Log out of the computer and sing in back using the vCenter user.

3.3 Install SQL Server Native Client

  1. Make sure that .NET Framework 3.5 and 4.6 features are installed in the server.
  1. Got to Microsoft web page and download Microsoft SQL Server 2012 Native Client.
  1. Double-click to start the installation wizard.
  1. Click Next.
  1. Accept the license and click Next.
  1. Leave as default and click Next.
  1. Click Install.
  1. After the installation is completed, click Finish.

3.4 Configure ODBC data source

  1. Go to System and Security / Administrative Tools, double-click ODBC Data Sources (64-bits)
  1. Select System DNS tab and click Add...
  1. Select SQL Server Native Client 11.0 and click Finish.
  1. Name the Data Source and select the SQL server previously created from the drop-list. Click Next.
  1. Select Windows Authentications and click Next.
  1. Select the Database created for vCenter from the drop-list. Click Next.
  1. Leave as default and click Finish.
  1. Test the Data Source… Make sure that the “Tests Completed Successfully”.

4. vCenter 6.5 installation

  1. After all previous steps, now is time to install vCenter. Double-click the vCenter image.
  1. From the installation wizard select vCenter Server for Windows and click Install
  1. Click Next.
  1. Accept EULA and click Next.
  1. Select Embedded Deployment and click Next.
  1. Enter the vCenter domain name and click Next.
  1. Ignore the warning message and click OK.
  1. Enter vCenter SSO domain name and password. Click Next.
  1. Select Specify a user service account, type vCenter user (domain format) and password. Click Next.
  1. Select User an external database, select the vCenter database from the drop-list. Click Next.
  1. Leave ports as default if possible. Click Next.
  1. Leave Destination Directory as default and click Next.
  1. Decide whether to join or not customer experience. Click Next.
  1. Review setting and click Install.
  1. Wait for the installation to complete.
  1. After the setup is completed, click Finish.

5. vCenter 6.5 configuration

Connect to the vCenter Server through vSphere Web Client. Use the SSO credentials during the installation.

5.1 Add Identity Source

@vSphere Web Client

  1. Go to Home / Administration / Configuration / Identity Sources and click “plus” button.
  1. Select Active Directory (Integrated Windows Authentication). Click Next.
  1. Type Domain Name and click Next.
  1. Click Finish to Complete.
  1. The Active Directory will be added to the Identity Sources list.

5.2 Add vCenter Role

  1. Go to Home / Administration / Roles and click the “plus” button.
  1. Name the role and check Host / Configuration. Click OK.
  1. Right-click on the vCenter server and select Add Permissions...
  1. Select the domain and find the vCenter user created. Click Add.
  1. Follow steps as the image below and click OK.
  1. vCenter role and user will be added to the vCenter permissions.
Exit mobile version