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

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

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.

- Advertisement -

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

1. Prerequisites

  • Windows Server 2016 template, previously created in part 4 of this series
  • vCenter 6.5 (or 6.7) image.
  • SQL Server 2012 Native Client image (It will be downloaded in section 3)

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.
Part7 Image01

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
Computer Management
  1. Go to Local Users and Groups / Groups, right-click on Administrators and click Properties.
Part7 Image03
  1. Click Add... button.
Part7 Image04
  1. Type vCenter user (previously created), click Check Names and Click OK.
Part7 Image05
  1. Input Domain Controller credentials.
Part7 Image06
  1. The vCenter user will be added to the Administrators group.
Part7 Image07

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

  1. Go to Windows / Windows Administrative tools.
Part7 Image08
  1. Double-click on Local Security Policy
Local Security Policy
  1. From Local Security Policy, go to Local Policies / User Rights Assignment, double-click on Log on as a service.
Part7 Image10
  1. Click Add user or group...
Part7 Image11
  1. Type vCenter user, click Check Names and Click OK.
Part7 Image12
  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.
Part7 Image13

3.3 Install SQL Server Native Client

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

3.4 Configure ODBC data source

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

4. vCenter 6.5 installation

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

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.
Part7 Image46
  1. Select Active Directory (Integrated Windows Authentication). Click Next.
Part7 Image47
  1. Type Domain Name and click Next.
Part7 Image48
  1. Click Finish to Complete.
Part7 Image49
  1. The Active Directory will be added to the Identity Sources list.
Part7 Image50

5.2 Add vCenter Role

  1. Go to Home / Administration / Roles and click the “plus” button.
Part7 Image51
  1. Name the role and check Host / Configuration. Click OK.
Part7 Image52
  1. Right-click on the vCenter server and select Add Permissions...
Part7 Image53
  1. Select the domain and find the vCenter user created. Click Add.
Part7 Image54
  1. Follow steps as the image below and click OK.
Part7 Image55
  1. vCenter role and user will be added to the vCenter permissions.
Part7 Image56
Juan Mulford
Juan Mulford
I have been active in IT for over fourteen years now. I am a solutions architect, working with storage, virtualization, and VDI solutions. For the past ten years, I have been living and working in Taiwan.

Leave a Reply

- Advertisement -

Popular Articles

mulcas.com-Raspberry-Pi

Raspberry Pi OS in a Virtual Machine with VMware

4
Although the Raspberry Pi OS is designed and optimized for the Raspberry Pi module, it is possible to test and use it without its hardware, with VMware. This solution can be useful if you are a developer (or just a curious guy) and don't have a Raspberry Pi module with you
Unable to delete inaccessible datastore

Unable to delete an "inaccessible" datastore

7
I was switching my storage array, so I migrated the VMs from that old datastore/storage to a new datastore/storage. The old datastore was shared by 3 ESXi hosts, no cluster. After migrating the VMs and unmount/delete the datastore, it was still presented in two of the ESXi hosts and was marked as inaccessible.
This is not a valid source path / URL

This is not a valid source path / URL - SourceTree and Gitlab

0
I have been working on a project with a friend who set up a repository in Gitlab but even though I was able to view all projects on it, I couldn’t really join the repository. I was using SourceTree and Gitlab.
mulcas.com-VMware-OVF-Tool

How to export a Virtual Machine using the VMware OVF Tool

9
The VMware OVF Tool is implemented by VMware for easily importing and exporting virtual machines in Open Virtualization Format (OVF) standard format. Here, I want to show you how to download and install it, and then how to use it from a Windows machine.
Couldn't load private key - Putty key format too new

Couldn't load private key - Putty key format too new

5
couldn't load private key - Putty key format too new.” This issue happens when you use PuTTygen to generate or convert to a ppk key. Here is how to fix it. 
- Advertisement -

Recent Comments