The database being used here is a SQL Server 2008 R2 SP2. Before you proceed with any installation, there are a couple of pre-requisites that has to be satisfied. These are:
Login to the Windows machine being prepared for vCenter Installation. Click Start > Run, and type ODBC. Open the 64 bit ODBC. Click System DSN.
Here you will have to provide an authentication mode for the database. As in the first step I am using the sa account as the DB user, I will provide the sa authentication for my vCenter database. The user that you are going to use to setup your ODBC connection must have sysadmin rights on your database end, else the installation of vCenter will fail at the ODBC wizard page.
Once the pre-requisites are met, click
Next. Here it will ask you for the SSO deployment type. If this is a first instance of Single Sign On that is being deployed and if it is being deployed for a single vCenter, then select Standalone Single Sign On.
Click
Next and it will ask you to create a new password for the SSO administrator user. Provide this credentials and document this, as this will be required for future management.
Click
Next, and it will ask for a site name. This site name can be anything, however, this has to be documented, because during link mode setup of the vCenter it will ask for this site name.
Click
Next and you will come across the port used for SSO service. This port has to be open on the machine and firewall in order for SSO to work.
Click
Next and then you will be asked for a directory where you want to install the Single Sign On component. Select a directory, or leave it for default values. Click
Next, review the configuration and proceed to
Install the SSO component.
Web Client Installation:
The next component would be install vSphere Web Client which would be a web interface to manage your vCenter environment.
From the same ISO, if the installtion mode is Simple Install, then you will be automatically prompted at this point. If it is custom, then select Web Client and click install.
Select a directory where you want to install the Web Client.
Now, the default https port for web client is 9443. If you want to provide a custom port, then change the https port value, however, record this port number as it is necessary to access the web client. If you do not want to change the port number now, and would like to do so in the future, then you will have to
follow this article.
Provide the SSO password that was created during the Single Sign On setup.
The web client needs certificates for authentication as well. VMware installs default certificates for Web Client. If needed, you can replace them later either with CA Signed Certificates or from a third party CA authority. Wild card certificates are not supported in VMware.
Finish the installation of the Web Client component.
Inventory Service Installation:
Inventory Service stores vCenter Server application and inventory data, which lets you search and access inventory objects across linked vCenter Server instances. If your search is not working in vCenter, then there is probably some issue with Inventory Service database.
Accept the
EULA and proceed
Next
Choose a directory as to where you want to install this component. Click
Next
Enter the vCenter's FQDN for which this Inventory Service needs to be registered.
Review the ports being used for this service. Again, if being changed, then you will have to make a note of the custom port numbers.
Select an Inventory size, this depends upon your environment size. Choose accordingly.
You can change your JVM size after installation as well, again, if required!
Click
Next. Provide the SSO credentials for authentication and begin the installation.
vCenter Server Installation:
This would be the last core component to be installed for a VMware vCenter environment setup. Accept the
EULA and proceed
Next.
You can enter a license key during the installation or you can enter the license key once the vCenter is setup.
Since we are using an external SQL database, we will choose the second option " Use an existing supported database " and then from the drop-down select the DSN name that was created under 64 Bit ODBC. If you do not see your DSN listed under drop-down, then enter it manually proceed
Next. If you are using an express SQL, then you will not follow the initial steps in this article for creating a vCenter database. You will check this first option which will proceed with installation of SQL express and creating a database, all by itself.
When you click
Next you will be asked for database authentication. Provide the same user which was used to create the DSN (Must have sysadmin privileges)
In the next page enter the information for VMware vCenter Server service. This can be a local authentication or a domain authentication. If your SQL service is domain then it's best to have a domain authentication for vCenter Server service as well.
If this is a fresh deployment of a vCenter then select " Standalone instance " If you are setting up another vCenter and want to join these two vCenters in linked mode, then the second option has to be chosen. You can also join two vCenters in linked mode even after two standalone instances are deployed.
Check the ports required for vCenter services and make sure these are open and proceed
Next
Again, select the inventory JVM size for vCenter server component.
Provide the SSO credentials for authentication.
Now, you will get an option to choose the SSO user name. You can give
administrator@vsphere.local or any other name. Please make sure that you do not give your existing domain name as your SSO username, as this will cause issues during adding users to vCenter.
Since vCenter is dependent on Inventory Service, the IS was installed first and the URL for IS was created and auto-populated in the next step.
In the final step, provide a directory to install vCenter component and begin the installation.
Once the installation completes, the vCenter deployment is complete. From the same ISO install vSphere Client. After installtion, open the vSphere Client and enter the IP address of the vCenter, SSO username/password and login to verify the setup is working good.
Open a browser and navigate to Web Client URL,
https://<vcenter_IP>:9443 to verify Web Client is functioning good!
That's all!