Вы находитесь на странице: 1из 3

Moving the vCenter Server SQL database (7960893)

Details This article describes how to relocate the SQL database that is used by VirtualCenter/vCenter Server.

Solution To move SQL Server databases used by vCenter Server to a new location: 1. Stop the VMware VirtualCenter Server, VMware VirtualCenter Management Webservices and VMware Update Manager services. For more information, see Stopping, starting, or restarting vCenter services (1003895) (search.do?cmd=displayKC&docT ype=kc&docT ypeID=DT _KB_1_1&externalId=1003895) . Note : For vCenter Server 5.0.x, stop the vCenter Inventory Service and VMware vSphere Profile-Driven Storage service. 2. Migrate the VCDB and UMDB from the existing SQL instance to the new SQL instance running on the remote server. For information on migrating databases, seeBack Up and Move a Local vCenter Server Database (http://pubs.vmware.com/vsphere-50/index.jsp? topic=%2Fcom.vmware.vsphere.upgrade.doc_50%2FGUID-7C2B12AC-98FF-4B01-91DB-46D00FC810C6.html) . 3. If migrating a vCenter Server 4.x local database, you may also need to migrate the ADAM database. For more information, see Manually backing up and restoring the vCenter Server 4.x and 5.0 ADAM instance data (1029864) (search.do?cmd=displayKC&docT ype=kc&docT ypeID=DT _KB_1_1&externalId=1029864) . 4. Note the credentials and server that vCenter Server uses to connect to the database. Update the DSN as necessary to the migrated database. For more information on this, see vCenter Server installation fails with ODBC and DNS errors (1003928) (search.do?

cmd=displayKC&docT ype=kc&docT ypeID=DT _KB_1_1&externalId=1003928)

5. Recreate SQL Agent rollup jobs. Detaching, attaching, importing, and restoring a database to a newer version of SQL Server does not automatically recreate these jobs. For more information, see Updating rollup jobs after the error: Performance data is currently not available for this entity (1004382) (search.do?cmd=displayKC&docT ype=kc&docT ypeID=DT _KB_1_1&externalId=1004382) . Note : SQL Server Agent is not available in Microsoft SQL Server 2005 and 2008 Express. For a complete list of the jobs that should be present, see: Verifying vCenter Server 2.5 jobs and stored procedures (1033588) (search.do?cmd=displayKC&docT ype=kc&docT ypeID=DT _KB_1_1&externalId=1033588) Verifying vCenter Server 4.0 jobs and stored procedures (1033587) (search.do?cmd=displayKC&docT ype=kc&docT ypeID=DT _KB_1_1&externalId=1033587) Verifying vCenter Server 4.1 jobs and stored procedures (1029824) (search.do?cmd=displayKC&docT ype=kc&docT ypeID=DT _KB_1_1&externalId=1029824) Verifying jobs and stored procedures installed in vCenter Server 5.0 (2006097) (search.do?
cmd=displayKC&docT ype=kc&docT ypeID=DT _KB_1_1&externalId=2006097)

Verifying Jobs and Stored Procedures Installed in vCenter Server 5.1 (2033096) (http://knova-prod-kcc-vip.vmware.com:8080/contactcenter/php/search.do?
cmd=displayKC&docT ype=kc&externalId=2033096&sliceId=1&docT ypeID=DT _KB_1_1&dialogID=626244198&stateId=1 0 626268794)

6. Start the VMware VirtualCenter Server and VMware Update Manager services. For more information, see Stopping, starting, or restarting vCenter services (1003895) (http://kb.vmware.com/kb/1003895) . Notes : In some instances, it may necessary to update the v c d b . p r o p e r t i e sfile with the new SQL server if the SQL DB name is referenced here. If this is not updated, the performance overview charts and the Storage Monitoring Service (SMS) may be affected after migrating the vCenter Server database. The v c d b . p r o p e r t i e sfile is located at:
C : \ P r o g r a m D a t a \ V M w a r e \ V M w a r eV i r t u a l C e n t e rf o rW i n d o w s2 0 0 8 C : \ D o c u m e n t sa n dS e t t i n g s \ A l lU s e r s \ A p p l i c a t i o nD a t a \ V M w a r e \ V M w a r eV i r t u a l C e n t e r \for all other versions

For more information on: Database server compatibility, see the Compatibility Matrix (http://www.vmware.com/pdf/vsphere4/r40/vsp_compatibility_matrix.pdf) . Moving VirtualCenter to a new server, see Migrating VirtualCenter to a different Server (5850444) (http://kb.vmware.com/kb/5850444) . Changing the vCenter Server database user ID and password, see Changing the vCenter Server database user ID and password (1006482) (search.do?

cmd=displayKC&docT ype=kc&docT ypeID=DT _KB_1_1&externalId=1006482)

When moving or relocating the Single Sign-On Server to a new database, see Update vCenter Single Sign On settings after you change the host name or port of the database server (2033516) (search.do?cmd=displayKC&docT ype=kc&docT ypeID=DT _KB_1_1&externalId=2033516) . Resolving the Update Manager issues after a database migration, see Enabling Update Manager fails with the error: database unavailable or has network problems (1015223) (search.do?cmd=displayKC&docT ype=kc&docT ypeID=DT _KB_1_1&externalId=1015223) . When moving a SQL database from one server to another, you must follow all recommendations and steps provided by the third party vendor. For more information on: Attaching and detaching a database for Microsoft SQL Server, see the Microsoft Knowledge Base article 224071 (http://support.microsoft.com/kb/224071) . Using the Copy Database Wizard in SQL Server 2000, see the Microsoft Knowledge Base article 274463 (http://support.microsoft.com/kb/274463) . Syntax or best practices, engage the third party vendor's documentation or support. For further information on moving SQL Server 2008 R2, see the MSDN article on Moving Database Files (http://msdn.microsoft.com/enus/library/ms189133.aspx) . Note: The preceding links were correct as of June 28, 2011. If you find a link is broken, provide feedback and a VMware employee will update the link. Tags moving-vcenter-database Update History 02/27/2012 - Added links to KBs 1033588, 1033587, 1029824, and 2006097 02/29/2012 - Added link to KB 1006482 01/15/2012 - Added vCenter Server 5.1 to Products and added link to KB 2033096 03/21/2013 - Added link to article 1015223 Request a Product Feature To request a new product feature or to provide feedback on a VMware product, please visit the Request a Product Feature (http://www.vmware.com/contact/contactus.html?department=prod_request) page.

Вам также может понравиться