VCenter-5.1.x suite contains various components like SSO, vCenter, vSphere Client, vSphere Web Client and vSphere Update Manager. All these components can be installed on a single server or you can have dedicated server for each component as per your environment need.
Here we will be installing all the components on the one server.VCenter 5.1 installation consists of 4 parts. We will install it one by one.
Part-1 VCenter SSO Installation
1. Insert DVD or unzip “VMware-VIMSetup-all-5.1.0-xxxxxx.zip”
If it does not autorun, use “autorun.exe” in the root of the cd or folder. Click “VCenter Server” to start the installation.
2. Click “vCenter Single Sign On”
Note: DON’T go for the “Simple Install”
3. The vCenter Single Sign On installation wizard will start. Click Next.
4. Read the license, agree and Click Next.
5. Select “Create the primary node for a new vCenter Single Sign On installation”
6. Select “Install basic vCenter Single Sign On”
7. Enter a password for the vCenter SSO administrator account
Note: See this as a local user in the SSO database; it’s not a local windows user or AD user.
If all the windows auth stops working you can still login with this “admin@System-Domain” user so make sure you remember you keep this safe.
8. You can use SQL express or a full SQL server; select your required database option. Here I will use a full SQL server running on another server.
Very Important Note:
If you are using a full SQL server for vCenter SSO, you need to create the database beforehand.
However it’s not that straightforward, you cannot just right click create new database as SSO requires some specifically named DATA and INDEX table spaces.
9. Use the below SQL script to create your SQL databases with the correct filegroups (RSA_DATA and RSA_INDEX) changing the DB name and filepaths only:
— PROJECT IMS
— MODEL IDENTITY MANAGEMENT SERVICE
— COMPANY RSA, the Security Division of EMC
— DATABASE MSSQL
— Create database
–Using this script is not mandatory. The database can be created with SQL Management Studio, ensuring that there are two tablespaces, named RSA_DATA and RSA_INDEX, and that there are only alphanumeric characters in the database name.
— Before running this script, customize the file paths (CHANGE ME) below.
— 1. Decide on a folder to hold the database files (10 GB of space required).
— For example, it can be the DATA folder of the SQL Server, usually
— C:\Program Files\Microsoft SQL Server\MSSQL10_50.<instance name>\MSSQL\DATA
— 2. Replace all 3 occurrences of C:\CHANGE ME with the path to the folder
— The database name can also be customized, but cannot contain reserved keywords like database or any characters other than letters, numbers,_, @ and #.
— Advanced users can put the different files (RSA_DATA, RSA_INDEX and LOG) on different storage devices to improve performance. RSA_INDEX is a small file which is recommended to be stored on a fast device.
CREATE DATABASE “VMware-SSO” ON PRIMARY(
— Set recommended performance settings on the database
ALTER DATABASE [VMware-SSO] SET AUTO_SHRINK ON
ALTER DATABASE [VMware-SSO] SET RECOVERY SIMPLE
To drop the database, the command is:
— DROP DATABASE VMware-SSO
10. You also need to create a SQL user that has “db owner” privileges on this SSO database.
Very Important Note:
Don’t use any special characters in the username or password for this SSO SQL user otherwise the installation WILL fail.
That’s nothing such as @ !&^%$£>< etc etc
For example “Password1” will work “P@ssword1” will not.
11. Enter your database server information, IP, username etc.
12. Enter the FQDN of the SSO server.
13. Enter the account details SSO will run under. Tick to use Network Service.
14. Set the installation folder
/* Style Definitions */
mso-padding-alt:0in 5.4pt 0in 5.4pt;
mso-fareast-font-family:”Times New Roman”;
15. Leave the SSO HTTPS port as 7444 (default).
16. Now click “Install” and let the installer run. If you get any errors check VMware’s KB.
Most errors I’ve ever got installing this are due to incorrect database settings and the username/password containing special characters (which breaks it).
Part-2 VCenter Inventory Service Installation
1. Kick off the installer for vCenter Inventory Service and Click Next.
2. Read and Accept the license agreement. Click Next.
3. Change your installation path as required. Click Next.
4. Enter the FQDN for the inventory service.
5. Keep the ports as their defaults. Click Next.
6. Select the appropriate JVM memory size for your expected end goal deployment size.
7. Enter your Single Sign On (SSO) username/password and lookup service URL:
8. The installer will generate and install a self-signed SSL cert. Click Install Certificates.
9. Click install
10. And after a few short moments the vCenter Inventory Service will complete installing.
Part-3 Vcenter Server Installation
1. Now your vCenter Inventory Service has completed your back at the initial autorun installer launch pad click “vCenter Server”.
2. The vCenter Server installer will start, Click Next.
3. Read the license agreement, accept and click next.
4. Enter your license. Click Next.
5. If deploying a small scale deployment (5 hosts and up to 50 VMs) you can choose to use SQL Server 2008 Express. If using a full SQL server installation (either local or remote), create a 64-bit DSN and choose to use an existing database.
5. Enter the credentials for your ODBC connection.
6. Choose to run the vCenter service under the “SYSTEM” account or recommended user-specified account. This can be a standard active directory account with local administrator rights on the vCenter server.
The account will be grated “Log on as a service” right on the server. Click Next.
7. As this will be the first vCenter installation choose “Create a standalone VMware vCenter Server Instance”.
You would create linked mode vCenter servers if you have muliple vCenter servers, most likley if you were deploying a vCenter at two different datacenters for use with Site Recovery Manager.
8. Verify the ports to use for vCenter server, change if required. Click Next.
9. Select your deployment inventory size to correctly size the JVM memory for vCenter server web services.
10. Enter your vCenter Single Sign On administrator credentials (admin@System-Domain) to register the vCenter Server with vCenter SSO.
11. Register the Administrators user group with vCenter Single Sign On (make sure the user group box is ticked). This way anyone that is a local administrator on this server can access it.
12. Ensure the correct vCenter Inventory Service address is entered. Here we are installing this on the same server as vCenter server.
13. Change your installation location if required. Click Next.
14. Click Install to start installing Vcenter server.
15. The installation of vCenter server is now completed, Click Finish.