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. 😉
- 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
- Deploy the VM from the template previously created.
- Configure a static IP address.
- 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
- Go to Windows / Computer Management
- Go to Local Users and Groups / Groups, right-click on Administrators and click Properties.
- Click Add... button.
- Type vCenter user (previously created), click Check Names and Click OK.
- Input Domain Controller credentials.
- The vCenter user will be added to the Administrators group.
3.2 Add vCenter user to “Log on as a service” policy
- Go to Windows / Windows Administrative tools.
- Double-click on Local Security Policy
- From Local Security Policy, go to Local Policies / User Rights Assignment, double-click on Log on as a service.
- Click Add user or group...
- Type vCenter user, click Check Names and Click OK.
- Type Domain controller server credentials and the vCenter user will be added to the log-on as a service policy.
- Log out of the computer and sing in back using the vCenter user.
3.3 Install SQL Server Native Client
- Make sure that .NET Framework 3.5 and 4.6 features are installed in the server.
- Got to Microsoft web page and download Microsoft SQL Server 2012 Native Client.
- Double-click to start the installation wizard.
- Click Next.
- Accept the license and click Next.
- Leave as default and click Next.
- Click Install.
- After the installation is completed, click Finish.
3.4 Configure ODBC data source
- Go to System and Security / Administrative Tools, double-click ODBC Data Sources (64-bits)
- Select System DNS tab and click Add...
- Select SQL Server Native Client 11.0 and click Finish.
- Name the Data Source and select the SQL server previously created from the drop-list. Click Next.
- Select Windows Authentications and click Next.
- Select the Database created for vCenter from the drop-list. Click Next.
- Leave as default and click Finish.
- Test the Data Source… Make sure that the “Tests Completed Successfully”.
4. vCenter 6.5 installation
- After all previous steps, now is time to install vCenter. Double-click the vCenter image.
- From the installation wizard select vCenter Server for Windows and click Install
- Click Next.
- Accept EULA and click Next.
- Select Embedded Deployment and click Next.
- Enter the vCenter domain name and click Next.
- Ignore the warning message and click OK.
- Enter vCenter SSO domain name and password. Click Next.
- Select Specify a user service account, type vCenter user (domain format) and password. Click Next.
- Select User an external database, select the vCenter database from the drop-list. Click Next.
- Leave ports as default if possible. Click Next.
- Leave Destination Directory as default and click Next.
- Decide whether to join or not customer experience. Click Next.
- Review setting and click Install.
- Wait for the installation to complete.
- 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
- Go to Home / Administration / Configuration / Identity Sources and click “plus” button.
- Select Active Directory (Integrated Windows Authentication). Click Next.
- Type Domain Name and click Next.
- Click Finish to Complete.
- The Active Directory will be added to the Identity Sources list.
5.2 Add vCenter Role
- Go to Home / Administration / Roles and click the “plus” button.
- Name the role and check Host / Configuration. Click OK.
- Right-click on the vCenter server and select Add Permissions...
- Select the domain and find the vCenter user created. Click Add.
- Follow steps as the image below and click OK.
- vCenter role and user will be added to the vCenter permissions.