Sunday, September 29, 2013

VMware vCenter Server 5.1 Installation

In this post i am going to show how to install VMware vCenter Server 5.1. In 5.1 the installation is a bit different. You have to install vCenter Single Sign On, vCenter Inventory Service and vCenter Server. There are two ways to install these features. One is a simple install in which the setup will automatically install database using (SQL server Express edition) along with the vCenter features. This type of installation is good for small and medium environment. For managing larger environment you have to install Enterprise edition of database. I am going to install SQL Server 2008 R2 Enterprise Edition.
I have already installed created a separate user account in Active Directory for SQL server services and have registered SPN(service principal name) against the server. In my scenario "VCENTER" is the name of server on which i am going to install vCenter along with other features. Database is already installed. The firewall of the server is disabled.

1- Open SQL server management studio and create a new database for vCenter by right clicking the database.

2- Give database a suitable name and select add.

3- Under security tab, right click logins option and select New Login...

4- Give a suitable name and configure the remaining settings and than select OK.

5- Under newly created database, in the users option right click and select New User..

6- Add the user using Login name option.
  

7- Give the user db_owner rights as shown.

8- Now create a DSN. Select ODBC Data Source Administrator option under Administrative tools in windows server. Select Add option under System DSN.

9- Select SQL server native client and select finish.

10- Give a suitable name and select a server. Select next.

11- Select the second option and enter credentials of user account which is created in SQL server database. Select next.

12- Select the database in the change the default database to. Select next

13- Select finish.



 14- For verification, perform the test.

15-  Now it's time to create a database and a user for Sinlge Sign On. Thanks to VMware, they have already provided a script, which will create a database in the database. This script can be found in the vCenter server 5.1 DVD. The location is:
D:\Single Sign On\DBScripts\SSOServer\schema\mssql\rsaIMSLiteMSSQLSetupTablespaces.sql



Before running the script, create a folder named "CHANGE ME" in the root of C drive. Now double click the script and it will open in SQL management studio. Select Execute.

16-  The database has been created in the CHANGE ME folder.

17-  Now open the SQL server management studio and expand security option and under logins create a new user. Give login name and configure the remaining settings. Select OK.

18- The script has created a new database with the name RSA. Expand the RSA database, under security option add the newly created user and assign db_owner rights as shown.

Repeat the same process and create another user with the name "RSA_DBA" and assign the same rights as of RSA_USER.
Now we can perform the installation of VMware Sinlge Sign On, Inventory service and vCenter.

Single Sign On Installation:
1- Insert the Vcenter server 5.1 DVD. Select vCenter Single Sign On and select install. 

2- Select Next.

3- Select Next.

4- Accept the terms and select Next.

5- Select Next.

6- Select Next.

7- Enter the suitable password.

8- Select Use an existing supported database and than select Next.

9- Enter the information as shown.

10- Select Next.

11- Select Next.

12- Select Next.

13- Select Next.

14- Select Install.

15- Select Finish.
The installation of vCenter Single Sign On has been successfully completed.

Inventory Service Installation:
1- Insert the Vcenter server 5.1 DVD. Select vCenter Inventory Service and select install.

2- Select Next.

3- Select Next.

4- Accept the terms and select Next.

5- Select Next.

6- Select Next.

 7- Select Next.

 8- Select Next.

9- Enter the password and select Next.

10- Select Install certificates.

11- Select Install.

12- Select finish.
The installation of the vCenter Inventory Service has been successfully completed.


vCenter Server Installation:
1- Insert the Vcenter server 5.1 DVD. Select vCenter Server and select install. 

2- Select Next.

3- Select Next.

4- Accept the terms and select Next.

5- Keep the license key blank. Select Next.

6- Select the DSN which was created previously and select Next.

7- Enter the username and password which was created in SQL database. Select Next.


8- Select Next.

9- Select Next.

10- Select Next.

11- Select Next.

12- Enter the password and select Next.

13- Enter the username and select Next.

14- Select Next.

15- Select Next.

16- Select Install.

17- Select finish.
 The installation of vCenter Server has been completed successfully. 

Conclusion: The VMware vCenter Server 5.1 installation has been completed. In the next post i will show how to install VMware vSphere Client and how to connect to the vCenter Server using the client.























 











 


 












No comments:

Post a Comment