Summary of Contents for VMware VCM 5.3 - RECOVERY GUIDE
Page 1
Configuration Manager Backup and Disaster Recovery Guide VCM 5.3 This document supports the version of each product listed and supports all subsequent versions until the document is replaced by a new edition. To check for more recent editions of this document, see http://www.vmware.com/support/pubs. EN-000472-00...
Page 2
VMware products are covered by one or more patents listed at http://www.vmware.com/go/patents. VMware is a registered trademark or trademark of VMware, Inc. in the United States and/or other jurisdictions. All other marks and names mentioned herein may be trademarks of their respective companies.
Perform a File System Backup Back up HTTP Certificates Performing Recovery Procedures Import HTTP Certificates Restoring the Databases Restore the System Database Restore the Report Server Database Restore the VCM Databases Installing VCM Restoring File System Components Script for Exported Reports Index VMware, Inc.
Page 4
VCM Backup and Disaster Recovery Guide VMware, Inc.
About This Book This manual, VCM Backup and Disaster Recovery Guide, describes the steps required to ensure the preparation and implementation of a successful disaster recovery plan for VMware vCenter Configuration Manager (VCM). This document contains the following information: Backup procedures...
Page 6
Customers with appropriate support contracts should use telephone support for priority 1 issues. Go to http://www.vmware.com/support/phone_support.html. Support Offerings To find out how VMware support offerings can help meet your business needs, go to http://www.vmware.com/support/services. VMware Professional VMware Education Services courses offer extensive hands-on labs, case study Services examples, and course materials designed to be used as on-the-job reference tools.
Implementing a Disaster Recovery Plan To provide a disaster recovery plan for vCenter Configuration Manager (VCM), VMware recommends the following procedures be implemented for an “Active Production / Standby Spare” recovery model. This guide provides a baseline for configuring the proper backup schedules and information on how to recover a system using these prepared backups.
Page 8
VCM Backup and Disaster Recovery Guide VMware, Inc.
The example provided in this guide assumes a weekly full backup and a daily differential backup of each database. Transaction log (point-in-time) backups are not available, as the VCM databases are configured in Simple Recovery mode and should not be modified. VMware, Inc.
2. Connect to the VCM Database Server using an account with SQL Administrative privileges. 3. In Object Explorer, navigate to the Maintenance Plans node. 4. Right-click Maintenance Plans, and then select Maintenance Plan Wizard. 5. Click Next, and then enter a name and description for the maintenance plan. VMware, Inc.
Page 11
6. Click Change to create a schedule for the Full Backup Plan. 7. Ensure that the schedule is enabled as a Recurring schedule type. 8. Configure the schedule at a time when minimal Collector activity will be occurring. 9. Click Next. The Select Maintenance Tasks page appears. VMware, Inc.
Page 12
10. Select Back Up Database (Full), and then click Next. The Select Maintenance Task Order page appears. 11. If you are combining this backup task with other tasks, set an appropriate execution order. VMware recommends performing the backup after all other tasks. The Define Back Up Database (Full) Task page appears.
Page 13
The following databases should be included in the backup set (select corresponding databases if alternate names were used during the initial installation): CSI_Domain, master, msdb, ReportServer, VCM, VCM_Coll, and VCM_UNIX. 13. Click OK to select the databases and return to the Define Back Up Database (Full) Task. VMware, Inc.
Page 14
VCM Backup and Disaster Recovery Guide 14. Click OK to select the databases and return to the Define Back Up Database (Differential) Task. VMware, Inc.
Page 15
Backup file extension: Specify the extension as bak. Verify backup integrity: Select this option. 15. Click Next. The Select Report Options page appears. 16. On the final Maintenance Plan Wizard page, verify all selected options. 17. Click Finish to complete the maintenance plan. VMware, Inc.
Page 16
VCM Backup and Disaster Recovery Guide 18. Ensure all tasks complete successfully. VMware, Inc.
2. Connect to the VCM Database Server using an account with SQL Administrative privileges. 3. Navigate to the Maintenance Plans node in the Object Explorer. 4. Right-click Maintenance Plans, and then select Maintenance Plan Wizard. 5. Click Next, and then enter a name and description for the maintenance plan. VMware, Inc.
Page 18
6. Click Change to create a schedule for the Differential Backup Plan. 7. Ensure that the schedule is enabled as a Recurring schedule type. 8. Configure the schedule at a time when minimal Collector activity will be occurring. 9. Click Next. The Select Maintenance Tasks page appears. VMware, Inc.
Page 19
10. Select Back Up Database (Differential), and then click Next. The Select Maintenance Task Order page appears. 11. If you are combining this backup task with other tasks, set an appropriate execution order. VMware recommends performing the backup after all other tasks. The Define Back Up Database (Differential) Task page appears.
Page 20
The databases that should be included in the backup set include (select corresponding databases if alternate names were used during the initial installation): CSI_Domain, msdb, ReportServer, VCM, VCM_Coll, and VCM_UNIX. 13. Click OK to select the databases and return to the Define Back Up Database (Differential) Task. VMware, Inc.
Page 21
Then specify the folder for the designated backup drive and folder structure. Backup file extension: Specify the extension as bak. Verify backup integrity: Select this option. 14. Click Next. The Select Report Options page appears. VMware, Inc.
Page 22
VCM Backup and Disaster Recovery Guide 15. On the final Maintenance Plan Wizard page, verify all selected options. 16. Click Finish to complete the maintenance plan. 17. Ensure all tasks complete successfully. VMware, Inc.
File system backups may be performed using corporate standard tools or simple scripted file copies. It is not necessary to back up the entire file system or the VCM Program directory structure. At a minimum, VMware recommends you create a backup of the entire contents of the CMFILES$ share (default location: C:\Program Files\VMware\VCM\WebConsole\L1033\Files). If customizations have been made to your Collector, or if reports have been exported to a non-default location, you must also ensure that these additional files are backed up as needed.
Page 24
7. Select Local computer for the snap-in to manage certificates on the local computer. Click Finish. 8. Close the Add Standalone Snap-in wizard page, and then click OK to close the Add/Remove Snap-in wizard page and return to the Console. 9. From the Console Root, navigate to Trusted Root Certificate Authorities and select Certificates. VMware, Inc.
Page 25
Performing Backup Procedures 10. Right-click VMware VCM Enterprise Certificate and select Export. The Certificate Export Wizard appears. 11. Click Next. The Export Private Key page appears. 12. Select to export the private key with the certificate. Click Next. VMware, Inc.
Page 26
14. Enter a password for the certificate export. Click Next. The File to Export page appears. 15. Enter a location and name for the VMware VCM Enterprise Certificate. 16. Verify your selected options, and then click Finish to complete the export process. The Certificate Export Wizard should report the export was successful.
Page 27
Performing Backup Procedures 18. Repeat the steps above to export your personal Collector Certificate, selecting the VMware VCM Collector Certificate as the Personal Certificate to export. VMware, Inc.
Page 28
VCM Backup and Disaster Recovery Guide VMware, Inc.
1. Use the VCM 5.3 Installation and Getting Started Guide to install and validate all VCM prerequisites on the recovery server. 2. Ensure the prerequisites check completed successfully. 3. Open Internet Explorer. 4. Navigate to http://[SERVERNAME]/reports, where SERVERNAME is the name of the recovery server. VMware, Inc.
3. From the File menu, select Add/Remove Snap-in to add a new Snap-in. The Add/Remove Snap-in window appears. 4. Click Add. In the Add Standalone Snap-in window, select Certificates, and then click Add. The Certificates snap-in window appears. 5. Choose Computer account to manage certificates for a computer account VMware, Inc.
Page 31
Console. 9. Locate the Trusted Root Certification Authorities and the Certificates store. 10. Right-click Certificates, select All Tasks, and then select Import. The Certificate Import Wizard appears. 11. Click Next. The File to Import page appears. VMware, Inc.
Page 32
13. Enter the required password and verify the "Mark this key as exportable" check box is selected. Click Next. The Certificate Store page appears. 14. Select to place all certificates in the Trusted Root Certification Authorities store. Click Next. VMware, Inc.
Page 33
15. Verify the Certificate Import operation, and then click Finish complete the wizard. Make sure the wizard reports that the import was successful. 16. Repeat the steps above to import the VCM Collector Certificate into the Personal certificate store. VMware, Inc.
Page 34
VCM Backup and Disaster Recovery Guide VMware, Inc.
4. Wait for the service to start successfully. 5. Start SQL Server Management Studio. 6. When you are prompted for login credentials, select Cancel to avoid launching the Object Explorer. 7. Click New Query to start a new query definition. VMware, Inc.
Page 36
12. Rename the SQL Server @@servername definition with the following command: 13. Click Execute. 14. Restart the SQL Server Service and reconnect using an account with Administrative privileges. 15. Restore the msdb database with the following command: 16. Click Execute. VMware, Inc.
/restart Wait for the IIS services to stop and then restart successfully. 10. Open Internet Explorer and enter http://[SERVERNAME]/Reports/ to navigate to the Report Server and verify that SRS is operating properly. The Report Manager window appears. VMware, Inc.
Page 38
12. Click ECM to select the shared data source. The Properties General tab appears, displaying the Connection string. 13. Select Windows integrated Security, and then enter the following value into the Connection string field: Integrated Security=SSPI;Data Source=SERVERNAME;Initial Catalog=VCM;LANGUAGE=us_english; 14. Click ECM Reports to begin the process of removing any stranded accounts in SRS. VMware, Inc.
5. Restore the CSI_Domain database by entering this command, and then click Execute: 6. Drop the definition of the VCM_Raw database, which is a temporary database that is automatically re- created during the installation. 7. Update the path of exported reports by using "Script for Exported Reports" on page VMware, Inc.
Page 40
VCM Backup and Disaster Recovery Guide VMware, Inc.
1. Start the VCM installation. 2. Select Run Installation Wizard, and continue through the wizard, to the Configure Components page. 3. When prompted to select a database instance, make sure your existing database name is selected, and then click Validate. VMware, Inc.
Page 42
5. When prompted to select or generate a certificate for HTTP Agents, click Select, and then select the VMware VCM Collector Certificate to use the existing HTTP Certificate. The Collector Certificate and Enterprise Certificate fields will populate with the selected certificate.
The exports will still work correctly, but editing the scheduled job will still show the old location. If you edit one of these exceptions and click Finish without correcting the export location, it will break. You must remember to edit the @oldserver and @newserver variables before running this MPORTANT script. VMware, Inc.
Page 44
VCM Backup and Disaster Recovery Guide VMware, Inc.
Need help?
Do you have a question about the VCM 5.3 - RECOVERY GUIDE and is the answer not in the manual?
Questions and answers