Sunday, June 5, 2011

Installing vCenter server 4.1 with SQL Server 2008

Lab environment
Computer FQDN:
Roles: Domain Controller, DNS Server
Operating System: Windows Server 2008 R2 Enterprise

Computer FQDN:
Roles: vCenter Server with SQL Server 2008 (Standard or Enterprise)
Operating System: Windows Server 2003 R2 Enterprise 64 bit

1. At DC01, log in as Domain Administrator.
2. Launch "Active Directory Users and Computers", create a new OU named "Service Accounts".
3. Create user accounts named "vcadmin" and "vcsqlservice" with "Password never expires" option.

4. Close "Active Directory Users and Computers".
5. Go to VC01, log in as Domain Administrator.
6. Launch "Computer Management".

Remark: At Windows Server 2008 or Windows Server 2008 R2, launch "Server Manager".

7. Add "vcadmin" in the local Administrators group.

Remark: You can apply the group members by group policy.

8. Log off Domain Administrator and log in as vcadmin.
9. Launch "SQL Server 2008 Setup".

Remark: Assuming VC01 has been installed required components.

10. At "Setup Support Rules", click "OK".
11. At "Product Key" screen, click "Next".
12. Check "I accept the license terms", click "Next".
13. Click "Install".
14. At "Setup Support Rules", click "Next".
15. At "Features Selection" screen, check "Database Engine Services", "Management Tools - Basic" and "Management Tools - Complete".

16. Click "Next" three times.
17. At "Server Configuration", click "Use the same account for all SQL Server services".
18. Next to "Account Name", type "Contoso\vcsqlservice".
19. Next to "Password", enter the password of vcsqlservice.

20. Click "OK".
21. Next to "SQL Server Agent > Startup Type", select "Automatic".

22. Click "Next".
23. Click "Add Current User".
24. Click "Add".
25. Enter "Administrator".

26. Click "Next" three times.
27. Click "Install".
28. When Setup process complete, click "Next".
29. Click "Close".
30. Launch "SQL Server Management Studio", click "Connect".
31. Right-click "Databases", select "New Database".
32. Next to "Database name", type "VCDB".

33. Click "OK".
34. Expand "Security > Logins", right-click "Contoso\vcadmin", select "Properties".
35. Next to "Default database", select "VCDB".

36. At left pane, select "User Mapping".
37. Check "msdb".
38. Next to "Default Schema", type "dbo".

39. Next to "Database role membership for: msdb", check "db_owner".

40. Click "OK".
41. Close "Microsoft SQL Server Management Studio".
42. Launch "Data Sources (ODBC)".
43. Select "System DSN" tab, click "Add".
44. Select "SQL Server Native Client 10.0".

45. Click "Finish".
46. Next to "Name", type "VCDB".
47. Next to "Server", type "".

48. Click "Finish".

49. Click "Test Data Source".

50. Click "OK" three times.
51. Insert VMware vCenter 4.1 DVD, click "vCenter Server".
52. Select "English (United States)", click "OK".
53. At welcome screen, click "Next" twice.
54. Select "I agree to the terms in the license agreement", click "Next" twice.
55. Select "Use and existing supported database".
56. Next to "Data Source Name (DSN)", select "VCDB (MS SQL)".

57. Click "Next" twice.
58. Next to "Account password" and "Confirm the password", enter vcadmin's password.

59. Click "Next" twice.
60. Select "Create a standalone VMware vCenter Server instance".

61. Click "Next" three times.
62. Click "Install".
63. Click "Finish".
64. Launch "Services" console, make sure "VMware VirtualCenter Server" is started.


This posting is provided “AS IS” with no warranties, and confers no rights!

No comments:

Post a Comment