| Configuring VMware vCenter with SQL Server |
|
|
|
| Written by Tom Hirt | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Saturday, 10 October 2009 18:27 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Installing vCenter/Virtual Center with SQL Server 2005In this KB, we will show you how to configure VMware's vCenter 2.5 with SQL Server 2005. vCenter (formally known as Virtual Center) provides the management interface for ESX hosts and clusters. ESX hosts can be managed without vCenter however many of the enterprise features of VMware are lost without vCenter. Some of the features available through vCenter include clustering, DRS (Distributed Resource Scheduling), HA (High Availablity), vMotion and much much more! That said, lets jump right into it and start configuring our first vCenter instance!
vCenter Prerequisite
vCenter can be installed on either physical or virtual machines. I prefer installation of vCenter on virtual machines for all the obvious benefits that come with virtualization. However, be aware that should your ESX hosts/cluster crash or have a complete power loss, restoration efforts can be a bit more tricky since some of the enterprise features of VMware will be lost until the vCenter instance is brought back online. vCenter 2.5 only supports Windows Server 2000/2003/2008 running in 32bit. So whether you choose a physical or virtual machine to install vCenter on, make sure your OS is 32bit (vCenter will not allow you to install on 64bit platforms.) A database is also required for vCenter 2.5. Supported database types include MSDE, Oracle, SQL Server and more. If you are following along with our KB, we will be using SQL Server 2005. Note: During the vCenter installation, you will be given the chance to install a SQL Express instance should an enterprise SQL Server instance not be available. SQL Express has many limitations and is not recommended for larger enterprises. SQL Express may be adequate for evaluation and small enterprise deployments, but generally recommend against for large production implementations. The database used for vCenter can be installed on a dedicated host, or the same host depending on the size of your environment. For scalability, I recommend installing vCenter and SQL Server on separate hosts unless your running a very small environment and know that it will never grow. The following diagram illustrates a isolated installation where the database server and vCenter are installed on seperate hosts (we will be following this model for our example.)
Finally, vCenter requires the server vCenter to be installed on to be a member of an active directory domain. vCenter uses active directory credentials for authentication. By default, the domain administrator account and/or local administrator will be the only users with access to the vCenter console, but additional users and/or groups can be configured post installation. With that said, lets begin the installation starting with SQL Server...
vCenter / Virtual Center SQL Server 2005 InstallationWe will begin our install with SQL Server 2005. Managing the ESX hosts directly (with the VMware Infrastruce Client), we created a virtual machine that will be used for our SQL Server instance and loaded/patched it with Windows Server 2003 (not shown.) We are now ready to begin installing SQL Server 2005 on this server:
Configuring SQL Server for vCenterContinuing with our configuration of vCenter / Virtual Center and SQL Server 2005, its now time to configure the database. Microsoft provides a free tool called SSMS (SQL Server Management Studio) to help manage SQL Server. Download and install SSMS on the host you intend to install vCenter on. In the following section, we will use SSMS to create a new database and set the appropriate permissions to allow vCenter to interface with SQL Server. Lets begin!
Your SQL database is now configured for vCenter! We will now continue with the configuration installing the SQL Native Client Driver on the vCenter host.
SQL Native Client Driver Install
Continuing our install, we now need to install the SQL Native Client Driver on the vCenter host. When using vCenter/Virtual Center with SQL Server 2005, the ODBC source vCenter uses must be created with the SQL Native Client driver (the SQL driver provided with Windows will not work.) The SQL Native Client driver can be found on the SQL Server 2005 installation media. In the following section, we will install the SQL Native Client driver on the vCenter server. Let's begin:
Creating a ODBC Connection for vCenterNow that we have the SQL Native Client Driver installed on the vCenter server, we now need to configure a system DNS entry for vCenter to use:
vCenter Installation
We are now ready to install vCenter. We will install our vCenter instance using a license file. However, if you have not yet purchased a license for vCenter or want to evaluate vCenter, you will be given the chance to install vCenter using a evaluation license that will expire after 60 days. If you decide to run on an evaluation license, just make sure you remember to either purchase or extend your license prior to the expiration date or you will lose management of your ESX hosts/clusters via vCenter. That said, lets get to the install!
Nice work! You can now begin managing your ESX servers/clusters using vCenter! Just point your VMware Infrastructure Client at the IP address or hostname of your vCenter server and enter either the domain or local administrator username and password. Enjoy!
!joomlacomment 4.0 Copyright (C) 2009 Compojoom.com . All rights reserved." |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Last Updated on Thursday, 29 October 2009 19:31 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||