Menu

Virtual Geek

Tales from real IT system administrators world and non-production environment

PART 2 : VCENTER SERVER 6.0 INSTALLATION ON WINDOWS 2012 R2

July 10, 2016 11:53PM

PART 1 : VCENTER SQL DATABASE AND ODBC DSN CREATION
PART 2 : VCENTER SERVER 6.0 INSTALLATION ON WINDOWS 2012 R2
PART 3.1 : VMWARE VSPHERE UPDATE MANAGER INSTALLATION ON WINDOWS 2012 R2
ADDING AND ASSIGNING VSPHERE LICENSES IN VCENTER SERVER AND ESXI
Deploy install VCSA (vCenter server appliance 6.5) on VMWare Workstation

After creating new SQL database and configuring DSN ODBC connection on vCenter server, I will install vCenter Server 6.0, For this I have download ISO file from https://my.vmware.com site. before attaching ISO file to virtual machine I will configure some required settings first on the DNS server as well as on local vcenter server. I will check on the DNS server if Pointer record (ptr) is present, if not I will create it. (Most probably you will see one entry in forward lookup zone by default once server is joined into domain, for Reverse lookup zones it need to be created Zone first for vcenter IP address subnet first, then  you can add it manually or  will see Pointer (PTR) record next time you join server into domain), I am going to install PSC controller and vCenter (all roles) on single server.

Before starting installation install one of the prerequisite .net 3.5 as shown INSTALLING .NET 3.5 FRAMEWORKS ON WINDOWS SERVER 2012 R2.
DNS Server forward a and reverse ptr records vcenter
I will be using  service account created in active directory to run vcenter services. For this I have already created one account in active directory and added it on Administrators group on vcenter server using computer management tool under local users and groups. This user vcenteradmin is also a part of Sqladmins group on active directory (so it has complete access on vcenterdb on sql server as shown in my previous article VCENTER SQL DATABASE AND ODBC DSN CREATION)
vcenter server administrators group vsphere admins
Next I attach ISO to VM, Either CD/DVD will autorun and Installer invokes or open cdrom drive and hit autorun.exe, Select vCenter Server for Windows and click install in the installer menu. (All the prerequisites i have fulfilled before hand on the windows server 2012 R2 and it is showing none in Prerequisites.)
vcenter server installer autorun on windows
Next screen is welcome message after that check the accept license agreement terms and click next.
vmware vcenter server 6.0 installer accept eula
I am going to use embedded deployment for this installation, PSC (Platform Services Controller) and vCenter role is going to be on the same server. System name is same computer fqdn.

What is Platform Services Controller 6.0 (PSC)?
Platform Services Controller (PSC) is a component of the VMware Cloud Infrastructure Suite. PSC deals with identity management for administrators and applications that interact with the vSphere platform. (I will say this enhanced version of SSO with more added features)
Components that are installed with PSC 6.0 include:
     * VMware Appliance Management Service (only in Appliance-based PSC)
     * VMware License Service
     * VMware Component Manager
     * VMware Identity Management Service
     * VMware HTTP Reverse Proxy
     * VMware Service Control Agent
     * VMware Security Token Service
     * VMware Common Logging Service
     * VMware Syslog Health Service
     * VMware Authentication Framework
     * VMware Certificate Service
     * VMware Directory Service
For more information on PSC (Platform services manager) check on this link
Selecting PSc and vcenter site Platform services controller
Type the password for single sign on user Administrator@vsphere.local and remember it for later login, (Here you can choose different domain name, I am keeping it default), Site name is something similar and functions as active directory sites. I am using service account created in AD which has Administrators rights on the vCenter001. This service account must have log on as a service privilege which I have assigned in local security policy editor
vcenter single sign-on configuration PSC and user service account
To enable this policy setting, Open run and type gpedit.msc it will open local computer group policy, navigate to Local Computer Policy > Computer Configuration > Windows Settings > Security Settings > Local Policies > User rights assignments and find for Log on as service, right click and open properties, and add service account in my case is vcloud-lab\vcenteradmin.
group policy user rights assignment, log on as a service
On the database settings selection menu choose use an external database, I already had created DSN connection in previous article, which I can select for drop down list. (Make sure service account is a db_owner on the vcenter database instance on SQL server), I keep all the ports defaults and open them through firewall.
Common vCenter Ports 
     HTTP Port: 80
     HTTPS Port: 443
     Syslog Service Port: 514
     Syslog Service TLS Port: 1514
Platform Services Controller Ports
     Secure Token Service Port: 7444
vCenter Server Ports
     Auto Deploy Management Port:  6502
     Auto Deploy Service Port: 6501
     ESXi Dump Collector Port: 6500
     ESXi Heartbeat Port: 902
     vSPhere Web Client Port: 9443
Also following ports must be opened for deployment:
     88, 389, 636,2012, 2014, 2020, 7080,11711 and 11712
vcenter server use an external database sql connection and vcenter ports
This is last installation configuration of vCenter Server, It asks for destination installation directory and shows configuration summary page. Hit install to begin with installation.
Vcenter server PSC installation directory and summary
Installation will take approx 10-15 mins and once the it is completed successfully, You can use it for 60 days until you add license, also to test it click on Launch vSphere Web client, Link will open in browser as https://vcenter_fqdn/vSphere-client. Use user name as Administrator@vsphere.local and password defined earlier.
vCenter server installation completed launch vsphere web client

Go Back

Hello,
I followed your instruction - but when I've tried to connect to the external DB I got the following error:
"The user associated with the DSN has insufficient privileges. Please provide sufficient privileges for the user by granting the user the following permission:
*VIEW SERVER STATE
*VIEW ANY DEFINITION
*VIEW ANY DEFINITION
*SELECT msdb..sysjobs
etc

Thanks David for comments, Please use 3 of the article links mentioned here, I use same steps for configuring my Production, but never found any issue, let me know if you are still facing issue.

Hi David,
As vmware has announced to deprecate windows vcenter model, Suggesting you to go with VCSA vcenter server appliance.
http://vcloud-lab.com/entries/vcenter-server/deploy-install-vcsa-vcenter-server-appliance-6-5-on-vmware-workstation



Comment