• No results found

Technical Note P/N REV A01 June 2012

N/A
N/A
Protected

Academic year: 2021

Share "Technical Note P/N REV A01 June 2012"

Copied!
18
0
0

Loading.... (view fulltext now)

Full text

(1)

1

EMC

®

NetWorker

®

Backup and Recovery Support for

vCenter Server

Technical Note

P/N 300-014-175 REV A01 June 2012

This technical note describes how to use the NetWorker software to backup and recover a vCenter Server based on the type of vCenter deployment. It also provides best practices for protecting a vCenter Server.

The following topics are covered:

Overview ... 2

Backing up vCenter Server with the NetWorker Software ... 2

Restoring vCenter Server with the NetWorker Software ... 12

(2)

2 Overview

EMC NetWorker

Backup and Recovery Support for vCenter Server Technical Note

Overview

This technical note describes how to use the NetWorker software to backup and recover a vCenter Server based on the type of vCenter deployment. It also provides best practices for protecting a vCenter Server.

The vCenter Server is a virtualization management solution from VMware that provides centralized control of the entire virtual infrastructure. The vCenter Server offers core services related to resource management for ESXi hosts and VMs, VM and template management, VM deployment, scheduled tasks and alarms, event management, statistics, and logging.

The vCenter Server uses a database for storing its configuration, permissions, statistics, and other data. Without a proper backup of the vCenter database, you might be required to rebuild the entire virtual infrastructure from scratch in the case of a disaster. It is recommended to backup the host that runs the vCenter Server in addition to backing up the vCenter database that resides either on the same host or on a different host.

This technical note assumes that you have a working knowledge of VMware vSphere vCenter configuration.

Backing up vCenter Server with the NetWorker Software

There are multiple ways in which a vCenter Server can be deployed in an environment. The recommended method of protecting the vCenter Server depends on the type of deployment.

This table illustrates the various deployment types with their recommended backup method.

vCenter Server Deployment Type vCenter Server Backup Method: vCenter Server with embedded SQL

Express database that runs on a Windows 2008 or 2008R2 platform

Perform a backup of the vCenter Server by using either of the following methods:

• Windows Disaster Recovery

• BareMetal Recovery (BMR) ̶ enabled backup

Backup Scenario 1: vCenter Server with the bundled SQL Express database on page 3 provides more information. vCenter Server that runs on a

Windows 2008 or 2008R2 platform and a vCenter database server that is hosted on separate machine

Perform the following steps:

1. Use the appropriate NetWorker Module software to backup the database.

2. Backup the vCenter Server by using either of the following methods:

• Windows Disaster Recovery

• BareMetal Recovery (BMR) ̶ enabled backup Backup Scenario 2: vCenter Server hosted on Windows with a remote database on page 6 provides more information.

(3)

3 Backing up vCenter Server with the NetWorker Software

EMC NetWorker Backup and Recovery Support for vCenter Server Technical Note

vCenter Server Deployment Type vCenter Server Backup Method:

vCenter Server that runs on a Windows 2008 or 2008R2 platform and a vCenter database server that is hosted on separate machine

Note: The recovery involves fresh vCenter installation.

Perform the following steps:

1. Use the appropriate NetWorker Module software to backup the database.

2. Perform a filesystem backup of the required folders in the vCenter Server.

Backup Scenario 4: vCenter Server hosted on Windows with remote database (non-DR backup) on page 10 provides more information.

Note: When recovering the vCenter Server from this backup method, you must manually reinstall the vCenter Server application in a different machine.

vCenter Server Appliance with an embedded database

Perform a VADP backup of the vCenter Server appliance. vCenter Server Appliance (vCSA) with a bundled database on page 8 provides more information.

vCenter Server Appliance and the vCenter database server are hosted on a separate machine

Perform the following steps:

1. Use the appropriate NetWorker Module software to backup the database.

2. Perform a VADP backup of the vCenter Server appliance.

vCenter Server Appliance (vCSA) with remote database on page 9provides more information.

Note: For vCenter Servers that are hosted on Windows platforms that run as a virtual machine, it is recommended to either use a Windows Disaster Recovery or BMR procedure to backup the vCenter Server.

Do not use the VADP to backup the vCenter Server VM because:

• VMware recommends shutting down the vCenter services before the backup.

• VADP recovery has a limitation that requires a vCenter Server to be up and running prior to recovering any VM. This imposes a restriction that a standby vCenter Server is available for disaster recovery purposes.

Backup Scenario 1: vCenter Server with the bundled SQL Express

database

For all vCenter Servers that are hosted on Windows with a bundled database, VMware recommends to shutdown all vCenter and database services before performing a backup. Since this will cause a downtime for the vCenter Server, schedule a backup at the least disruptive time. http://kb.vmware.com/kb/1023985 provides more information on this limitation.

The following procedure uses the savepnpc backup command to shutdown the vCenter services, perform backup, and to bring the vCenter online again.

(4)

4

Backing up vCenter Server with the NetWorker Software

EMC NetWorker

Backup and Recovery Support for vCenter Server Technical Note

To backup vCenter Server with bundled SQL Express database, perform these steps:

Task 1: Configure the vCenter Server client on the NetWorker server

To configure a vCenter Server client on the NetWorker server: 1. Open the NetWorker Management Console (Console) and then

connect to the NetWorker server.

2. Create a Client resource for the vCenter Server.

3. Type the following value in the Backup command attribute in the Client resource of the vCenter Server:

savepnpc

4. Create and save the following script as group-name.res in the following location on the vCenter Server:

NetWorker_install_path\res

where group-name is the same name that was used in the Group resource and was selected for the client that is running the vCenter Server.

If the vCenter Server belongs to multiple backup groups, create a separate group-name.res file for each group to which it belongs. group-name.res

type: savepnpc;

precmd: "C:\\Windows\\System32\\cmd.exe /c C:\\<path-to-scripts>\\stop-services.bat";

pstcmd: "C:\\Windows\\System32\\cmd.exe /c C:\\<path-to-scripts>\\start-services.bat";

timeout: "12:00pm";

abort precmd with group: Yes;

5. On the vCenter Server, save the following script as stop-services.bat in the <path-to-scripts> folder:

net stop "VMware VirtualCenter Server" /y PING 127.0.0.1 -n 20 > nul

net stop VMwareVCMSDS PING 127.0.0.1 -n 20 > nul

net stop "SQL Server (VIM_SQLEXP)" PING 127.0.0.1 -n 20 >nul

(5)

5 Backing up vCenter Server with the NetWorker Software

EMC NetWorker Backup and Recovery Support for vCenter Server Technical Note

6. Create and save the following script as start-services.bat in the same <path-to-scripts> folder on the vCenter Server:

start-services.bat

net start "SQL Server (VIM_SQLEXP)" PING 127.0.0.1 -n 20 > nul

net start "VMware VirtualCenter Server" PING 127.0.0.1 -n 20 > nul

net start "VMware VirtualCenter Management Webservices" PING 127.0.0.1 -n 20 > nul

Note: This script waits for 20 seconds before starting or stopping each service. If the vCenter services take longer to start or stop, increase the wait duration by changing the value passed to the -n parameter.

Task 2: Customize the save set field as per the type of backup

The procedure to customize the save set field of the NetWorker client differs if you are performing the following two different types of backup:

Windows Disaster Recovery

In the save set field of the vCenter Server client resource, set the value to All. The EMC NetWorker 7.6 Service Pack 2 Administration Guide or later provides information on how to configure a client for Windows Disaster Recovery backups and includes the related prerequisites.

BMR

If using HomeBase BMR:

1. In the save set field of the vCenter Server client resource, set the value to: All

2. In the Save operations attribute of the vCenter client, set the value to: VSS:DISASTER_RECOVERY=off

The EMC NetWorker 7.6 Service Pack 2 Administration Guide or later provides information on how to configure a client for BMR enabled backups and includes the related prerequisites.

Task 3: Customize the backup level and schedule To customize the backup level and schedule:

1. Schedule backups of the vCenter client.

2. Ensure that the backup level is set to Full for all of the scheduled backups of the vCenter Server. This step is required because Windows Disaster Recovery and BMR only support level full backups.

(6)

6

Backing up vCenter Server with the NetWorker Software

EMC NetWorker

Backup and Recovery Support for vCenter Server Technical Note

The backup level is determined by the level of the NetWorker client or group. The backup level can be defined explicitly or through the schedule. The “Backup Groups and Schedules” chapter in the EMC NetWorker 7.6 Service Pack 2 Administration Guide or later provides information on how to set the schedule and backup level.

Backup Scenario 2: vCenter Server hosted on Windows with a remote

database

To backup vCenter Server with a remote database server, perform the following steps:

Task 1: Configure the vCenter Server client on the NetWorker server

To configure a vCenter Server client on the NetWorker server: 1. Open the NetWorker Management Console (Console) and then

connect to the NetWorker server.

2. Create a Client resource for the vCenter Server.

3. The procedure to customize the save set field of the NetWorker client differs if you are performing the following two different types of backup:

• For Windows Disaster Recovery

In the save set field of the vCenter Server client resource, set the value to All.

The EMC NetWorker 7.6 Service Pack 2 Administration Guide or later provides information on how to configure a client for Windows Disaster Recovery backups and includes related prerequisites.

• For HomeBase BMR:

a. In the save set field of the vCenter Server client resource, set the value to:

All

b. In the Save operations attribute of the vCenter client, set the value to:

VSS:DISASTER_RECOVERY=off

The EMC NetWorker 7.6 Service Pack 2 Administration Guide or later provides information on how to configure a client for BMR enabled backups and includes the related prerequisites.

(7)

7 Backing up vCenter Server with the NetWorker Software

EMC NetWorker Backup and Recovery Support for vCenter Server Technical Note

Task 2: Customize the backup level and schedule of the vCenter Server client

To customize the backup level and schedule: 1. Schedule backups of the vCenter client.

2. Ensure that the backup level is set to Full for all of the scheduled backups of the vCenter Server. This step is required because Windows Disaster Recovery and BMR only support level full backups.

The backup level is determined by the level of the NetWorker client or group. The backup level can be defined explicitly or through the schedule.

The “Backup Groups and Schedules” chapter in the EMC NetWorker 7.6 Service Pack 2 Administration Guide or later provides information on how to set the schedule and backup level.

Task 3: Configure the vCenter database module client on the NetWorker server

To configure the vCenter database module client on the NetWorker server: 1. Open the NetWorker Management Console (Console) and then

connect to the NetWorker server.

2. Create a Client resource for the vCenter database server.

For example, use the NetWorker Module for Microsoft Applications to back up the vCenter database that runs in a SQL Server 2008 database server.

3. Truncate the vCenter database transaction logs after each backup. Truncating database transaction logs ensures that logs will not grow too large which might lead to increased backup time.

The appropriate NetWorker Module documentation provides information on how to:

• Configure a client for database backups and related pre-requisites • Truncate logs

Task 4: Customize the backup level and schedule of the vCenter database client

Schedule the backups of the vCenter database server by using a NetWorker group.

Ensure that the database server backup is scheduled to run either before or in parallel with the backup of vCenter Server. This maintains

consistency of the vCenter database in case of disaster recovery. The “Backup Groups and Schedules” chapter in the EMC NetWorker 7.6 Service Pack 2 Administration Guide or later provides information on how to set the schedule and backup level.

(8)

8

Backing up vCenter Server with the NetWorker Software

EMC NetWorker

Backup and Recovery Support for vCenter Server Technical Note

Backup Scenario 3: vCenter Server Appliance (vCSA)

When using a vCenter Server that runs as a Linux appliance, use VADP to perform backup of the appliance.

For disaster recovery purposes, there should be a standby vCenter Server available. The VADP backup image of the original vCenter Server can only be restored if the standby vCenter Server is up and running prior to the restore operation.

vCenter Server Appliance (vCSA) with a bundled database

To backup vCenter Linux appliance with a bundled database, perform the following steps:

Task 1: Configure the vCenter Server client on the NetWorker server for VADP backup

To configure a vCenter Server client on the NetWorker server for a VADP backup:

1. Open the NetWorker Management Console (Console) and then connect to the NetWorker server.

2. Create a Client resource for the vCenter Server. 3. In the vCenter Server client resource:

a. Set the save set value to *FULL*. b. Select appropriate VADP proxy host.

The “Configuring NetWorker Clients for VADP Backup” chapter in the EMC NetWorker 7.6 Service Pack 2 VMware Integration Guide provides information on how to configure a client for VADP backups and includes information on the related pre-requisites.

Task 2: Customize the schedule of the vCenter Server client Use a NetWorker group to schedule the backups of the vCenter client. The “Backup Groups and Schedules” chapter in the EMC NetWorker 7.6 Administration Guide provides information on how to set the schedule and backup level.

(9)

9 Backing up vCenter Server with the NetWorker Software

EMC NetWorker Backup and Recovery Support for vCenter Server Technical Note

vCenter Server Appliance (vCSA) with remote database

To backup vCenter Linux appliance with a remote database, perform the following steps:

Task 1: Configure the vCenter Server client on the NetWorker server for VADP backup

To configure a vCenter Server client on the NetWorker server for a VADP backup:

1. Open the NetWorker Management Console (Console) and then connect to the NetWorker server.

2. Create a Client resource for the vCenter Server. 3. In the vCenter Server client resource:

a. Set the save set value to *FULL*. b. Select appropriate VADP proxy host.

The “Configuring NetWorker Clients for VADP Backup” chapter in the EMC NetWorker 7.6 Service Pack 2 VMware Integration Guide provides information on how to configure a client for VADP backups and includes information on the related pre-requisites.

Task 2: Customize the backup level and schedule of the vCenter Server client

Use a NetWorker group to schedule the backups of the vCenter client. The “Backup Groups and Schedules” chapter in the EMC NetWorker 7.6 Administration Guide provides information on how to set the schedule and backup level.

Task 3: Configure the vCenter database module client on the NetWorker server

To configure the vCenter database module client on the NetWorker server:

1. Open the NetWorker Management Console (Console) and then connect to the NetWorker server.

2. Create a Client resource for the vCenter database server.

For example, use the NetWorker Module for Databases and Applications to back up the vCenter Oracle database.

3. Truncate the vCenter database transaction logs after each backup. Truncating database transaction logs ensure that logs will not grow too large which might lead to increased backup time.

The appropriate NetWorker Module documentation provides information on how to configure a client for database backups and related pre-requisites and how to truncate logs.

(10)

10

Backing up vCenter Server with the NetWorker Software

EMC NetWorker

Backup and Recovery Support for vCenter Server Technical Note

Task 4: Customize the backup level and schedule of the vCenter database client

Schedule the backups of the vCenter database server by using a

NetWorker group. Ensure that the database server backup is scheduled to run either before or in parallel with the backup of vCenter Server. This maintains consistency of the vCenter database in case of disaster

recovery.

The “Backup Groups and Schedules” chapter in the EMC NetWorker 7.6 Administration Guide provides information on how to set the schedule and backup level.

Backup Scenario 4: vCenter Server hosted on Windows with a remote

database (non-DR backup)

If the vCenter is connected to a remote database server, you can back up the vCenter management infrastructure components at the filesystem level. This type of backup is faster as compared to a full backup of the vCenter Server. However, the backup will not be DR-enabled, and you must manually recreate the target machine with a fresh operating system image prior to performing recovery of the vCenter.

To perform a non-DR backup of vCenter that is hosted on Windows with remote database server, perform the following steps:

Task 1: Configure the vCenter Server client with required save sets on the NetWorker server

Create a client resource of the vCenter Server client and mention the following paths as save sets.

SSL certificates

The location of the SSL certificates varies according to the Windows version, but typically it is in one of the following folders:

• C:\Documents and Settings\All Users\Application Data\VMware\VMware VirtualCenter\SSL

• C:\ProgramData\VMware\VMware VirtualCenter\SSL License files:

The location of the license files varies according to the Windows version, but typically it is in one of the following folders:

• C:\Program Files(x86)\VMware\Infrastructure\VirtualCenter Server\licenses

(11)

11 Backing up vCenter Server with the NetWorker Software

EMC NetWorker Backup and Recovery Support for vCenter Server Technical Note

Audit logs:

The location of the audit logs varies according to the Windows version, but typically it is in one of the following folders:

• C:\Documents and Settings\All Users\Application Data\VMware\VMware VirtualCenter\Logs

• C:\ProgramData\VMware\VMware VirtualCenter\Logs Windows guest customization (sysprep) files:

The location of the Windows guest customization (sysprep) files varies according to the Windows version, but typically it is in one of the following folders:

• C:\Documents and Settings\All Users\Application Data\VMware\VMware VirtualCenter\sysprep

• C:\ProgramData\VMware\VMware VirtualCenter\sysprep

The “Backing up Data” chapter in the EMC NetWorker 7.6 Administration Guide provides information on how to configure a client for filesystem backups Task 2: Customize the backup level and schedule of the vCenter Server client

Use a NetWorker group to schedule the backups of the vCenter client. The “Backup Groups and Schedules” chapter the EMC NetWorker 7.6 Administration Guide provides information on how to set the schedule and backup level.

Task 3: Configure the appropriate vCenter database module client on the NetWorker server

To configure the vCenter database module client on the NetWorker server:

1. Open the NetWorker Management Console (Console) and then connect to the NetWorker server.

2. Create a Client resource for the vCenter database server.

For example, use the NetWorker Module for Microsoft Applications to back up a vCenter database that runs in a SQL Server 2008 database server.

3. Truncate the vCenter database transaction logs after each backup. Truncating database transaction logs ensures that logs will not grow too large which might lead to increased backup time.

The appropriate NetWorker Module documentation provides information on how to:

• Configure a client for database backups and related pre-requisites • Truncate logs

(12)

12

Restoring vCenter Server with the NetWorker Software

EMC NetWorker

Backup and Recovery Support for vCenter Server Technical Note

Task 4: Customize the backup level and schedule of the vCenter database client Schedule the backups of the vCenter database server by using a

NetWorker group. Ensure that the database server backup is scheduled to run either before or in parallel with the backup of vCenter Server. This maintains consistency of the vCenter database in case of disaster

recovery.

The “Backup Groups and Schedules” chapter the EMC NetWorker 7.6 Administration Guide provides information on how to set the schedule and backup level.

Restoring vCenter Server with the NetWorker Software

The method of restoring a vCenter Server depends on the type of backup performed by using the NetWorker software.

This section outlines the different vCenter Server recovery methods based on the backup type:

• Recovery Scenario 1: vCenter Server with the bundled SQL Express database on page 12

• Recovery Scenario 2: vCenter Server hosted on Windows with a remote database on page 13

• Recovery Scenario 3: vCenter Server Appliance with a bundled database on page 13

• Recovery Scenario 4: vCenter Server Appliance with a remote database on page 14

• Recovery Scenario 5: vCenter Server (fresh installation) hosted on Windows with a remote database on page 15

• Recovery Scenario 6: vCenter Server Appliance (fresh installation) with a remote database on page 16

Recovery Scenario 1: vCenter Server with the bundled SQL Express database

Restoring this type of backup is a one-step process where the entire vCenter Server is restored to the point where it was at the time of the backup. Depending on the backup type, refer to following documentation: • For Windows Disaster Recovery ̶ The “Windows Disaster Recovery

operations” section in the EMC NetWorker 7.6 Service Pack 2 or later Administration Guide provides more information.

• For HomeBase BMR ̶ The “Recovering with BMR” section in the EMC NetWorker 7.6 Service Pack 2 Administration Guide or later provides information on recovering with BMR.

(13)

13 Restoring vCenter Server with the NetWorker Software

EMC NetWorker Backup and Recovery Support for vCenter Server Technical Note

Recovery Scenario 2: vCenter Server hosted on Windows with a remote

database

Restoring this type of backup is a two-step process where the database is recovered and then the vCenter Server recovery is initiated.

Perform the following steps in order:

Task 1: Use the appropriate NetWorker Module software to perform the recovery of the database

Use the appropriate NetWorker Module recovery steps to restore the vCenter database.

For example, if the vCenter database is Oracle, perform a restore of Oracle as described in the NetWorker Module for Databases and Applications Administration Guide.

Note: This step is only required if the vCenter database is no longer available.

Task 2: Perform a Disaster Recovery of the vCenter Server After the database is up and running, recover the vCenter Server according to the backup type.

Depending on the backup type, refer to following documentation for detailed information:

• For Windows Disaster Recovery ̶ The “Windows Disaster Recovery operations” section in the EMC NetWorker 7.6 Service Pack 2 or later Administration Guide provides more information.

• For HomeBase BMR ̶ The “Recovering with BMR” section in the EMC NetWorker 7.6 Service Pack 2 Administration Guide or later provides information on recovering with BMR.

Recovery Scenario 3: vCenter Server Appliance with a bundled database

Restoring this type of backup is a two-step process where the standby vCenter Server is brought online and then the vCenter Server recovery is initiated by using VADP.

Perform the following steps in order:

Task 1: Bring the standby vCenter Server online To bring the standby vCenter Server online: 1. Turn on the standby vCenter Server.

2. Ensure that the vCenter Server is up and running.

(14)

14

Restoring vCenter Server with the NetWorker Software

EMC NetWorker

Backup and Recovery Support for vCenter Server Technical Note

Task 2: Perform a disaster recovery of the vCenter Server Appliance

Perform the VADP image recovery of the vCenter Server Appliance by using the standby vCenter Server as the destination.

The “Recovering VADP Backups” chapter in the EMC NetWorker 7.6 Service Pack 2 VMware Integration Guide provides information on how to perform image level recovery from VADP backups and includes information on the related pre-requisites.

Recovery Scenario 4: vCenter Server Appliance with a remote database

Restoring this type of backup is a three-step process where the database is recovered, a standby vCenter Server is brought online, and then the vCenter Server recovery is initiated.

Perform the following steps in order:

Task 1: Use the appropriate NetWorker Module software to perform a recovery of the database

Use the appropriate NetWorker Module recovery steps to restore the vCenter database.

For example, if vCenter database was Oracle then perform restore of Oracle as described in the NetWorker Module for Databases and Applications Administration Guide.

Note: This step is only required if the vCenter database is no longer available. Task 2: Bring the standby vCenter Server online

To bring the standby vCenter Server online: 1. Turn on the standby vCenter Server.

2. Ensure that the vCenter Server is up and running.

3. Attach the appropriate ESX or ESXi to the standby vCenter Server. Task 3: Perform a Disaster Recovery of the vCenter Server

Appliance

After the standby vCenter Server is online with the required ESX or ESXi attached to it, perform the VADP image recovery of the vCenter Server Appliance by using the standby vCenter Server as the destination.

The “Recovering VADP Backups” chapter in the EMC NetWorker 7.6 Service Pack 2 VMware Integration Guide provides information on how to perform image level recovery from VADP backups and includes information on the related pre-requisites.

(15)

15 Restoring vCenter Server with the NetWorker Software

EMC NetWorker Backup and Recovery Support for vCenter Server Technical Note

Recovery Scenario 5: vCenter Server (fresh installation) hosted on

Windows with a remote database

Restoring this type of backup requires that a user create a fresh target machine as well as perform a reinstall of vCenter application. This type of restore is also used to migrate the vCenter Server to a different higher-end machine.

Perform the following steps in order:

Task 1: Use the appropriate module to perform recovery of database

Use the appropriate NetWorker Module recovery steps to restore the vCenter database.

For example, if vCenter database was Oracle then perform a restore of Oracle as described in the NetWorker Module for Databases and Applications Administration Guide.

Note: This step is only required if the vCenter database is no longer available.

Task 2: Create a target machine with fresh operating system image

To create a new machine with fresh operating system image:

1. Create a new machine with a fresh operating system image. This machine can either have the same hostname/IP as the original vCenter Server or a different hostname/IP.

2. Install the NetWorker client package on the target machine.

3. If assigning a different hostname/IP for the target machine, ensure that the target machine is configured as a client on the NetWorker server.

Task 3: Use the NetWorker User program to restore the vCenter filesystem backups

To restore the vCenter filesystem backups:

1. Perform a recovery of the vCenter filesystem backups onto the target machine.

Note: Recover all of the save sets that were backed up as part of Backup Scenario 4: vCenter Server hosted on Windows with remote database (non-DR backup), Task 1: Configure the vCenter Server client with required save sets on the NetWorker server on page 10. 2. Ensure that the backups are restored to the same location in the target

machine.

3. If the destination machine uses a different hostname/IP from the original vCenter Server, use the directed recovery feature to recover the save sets.

(16)

16

Restoring vCenter Server with the NetWorker Software

EMC NetWorker

Backup and Recovery Support for vCenter Server Technical Note

4. If a different hostname/IP is assigned for the target vCenter Server machine, the ESX/ESXi hosts will show up in disconnected state. This is because the ESX hosts must be made aware of that change, otherwise the ESX hosts will continue to send their heartbeats to the original IP address of vCenter Server and appear as not responding or disconnected. The following VMware kb article provides more information

http://kb.vmware.com/kb/1001493.

The EMC NetWorker 7.6 Administration Guide provides information on: • How to recover data by using NetWorker User program.

• How to perform directed recovery

Task 4: Prepare a DSN pointing to vCenter database

Prepare a DSN that points to the database. The vSphere Upgrade Guide at

http://www.vmware.com/support/pubs provides more information. Task 5: Reinstall the vCenter Server application on the target machine

To reinstall the vCenter Server application on the target machine: 1. Perform vCenter Server installation onto the destination machine. 2. Select the following option during installation:

Do not overwrite, leave my existing database in place

Note: Ensure that the new vCenter Server is of the same version as the original vCenter Server. If the version is different, you might face issues when connecting to the recovered database.

Recovery Scenario 6: vCenter Server Appliance (fresh installation) with a

remote database

Restoring this type of backup requires that you create a fresh vCenter Server Appliance and then point it to the vCenter database.

Perform the following steps in order:

Task 1: Use the appropriate NetWorker Module software to perform a recovery of the database

Use the appropriate NetWorker Module recovery steps to restore the vCenter database.

For example, if vCenter database was Oracle then perform a restore of Oracle as described in the NetWorker Module for Databases and Applications Administration Guide.

Note: This step is only needed if the vCenter database is no longer available.

(17)

17 Restoring vCenter Server with the NetWorker Software

EMC NetWorker Backup and Recovery Support for vCenter Server Technical Note

Task 2: Deploy a fresh vCenter Server Appliance and then point it to the recovered database

To deploy a fresh vCenter Server Appliance:

1. Deploy a fresh vCenter Server appliance with either the same hostname/IP as the original vCenter Server or a different hostname/IP.

2. After deployment, point the new appliance to the recovered database server.

3. Do not to select the following option when configuring the remote database server settings in the vCenter Server Appliance:

Reset DB contents

If the new vCenter Server Appliance has the same hostname/IP as the original vCenter Server

To recover a new vCenter Server Appliance with the same hostname/IP, where the SSL certificates changes, and the ESX/ESXi hosts displays as disconnected in the vSphere client:

1. Right-click Disconnected hosts> Connect. 2. Provide the root login credentials.

3. Follow the prompts to reconnect the ESX hosts.

If the new vCenter Server Appliance has a different hostname/IP as the original vCenter Server

If a different hostname/IP was assigned for the target vCenter Server Appliance, the ESX/ESXi hosts will show up in a disconnected state in the vSphere Client. This is because the ESX hosts must be made aware of that change, otherwise the ESX hosts will continue to send their

heartbeats to the original IP address of vCenter Server and appear as not responding or disconnected. For more information, refer the below VMware kb article at http://kb.vmware.com/kb/1001493.

To recover a fresh vCenter Server Appliance with a different hostname/IP as the original the vCenter Server:

1. Right-click Disconnected hosts> Connect. 2. Provide the root login credentials.

3. Follow the prompts to reconnect the ESX hosts.

Note: Ensure that the new vCenter Appliance is of the same version as the original vCenter Server. If the version is different, you might face issues when connecting to the recovered database.

(18)

18

Restoring vCenter Server with the NetWorker Software

EMC NetWorker

Backup and Recovery Support for vCenter Server Technical Note

Copyright © 2012 EMC Corporation. All Rights Reserved.

EMC believes the information in this publication is accurate as of its publication date. The information is subject to change without notice.

THE INFORMATION IN THIS PUBLICATION IS PROVIDED "AS IS." EMC

CORPORATION MAKES NO REPRESENTATIONS OR WARRANTIES OF ANY KIND WITH RESPECT TO THE INFORMATION IN THIS PUBLICATION, AND SPECIFICALLY DISCLAIMS IMPLIED WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.

Use, copying, and distribution of any EMC software described in this publication requires an applicable software license.

For the most up-to-date listing of EMC product names, see EMC Corporation Trademarks on EMC.com.

References

Related documents

You can use TTY2 to log in to the vCenter Server Appliance Direct Console User Interface to change the password of the root user, configure the network settings, or enable access to

vCenter Server installed at both sites. VMware SRM requires two independent vCenter environments, each managed by its own vCenter Server. The vSphere client installed at both sites.

The user interface of the vCenter Infrastructure Navigator 2.0 virtual appliance that is deployed on vCenter Server 5.0 can only be viewed from the vSphere Web Client 5.1.. N OTE

During the vCenter Update Manager upgrade process, record all configuration settings used (vCenter Server information, Database information, port settings) as these will be

5 Right-click a vSphere inventory object, such as a virtual machine, host, cluster, folder, datastore, resource pool, and so on, and select All vCenter Orchestrator Actions. N OTE

vCenter Server performs compatibility checks before it allows migration of running or suspended virtual machines to ensure that the virtual machine is compatible with the target

A: vCenter Server (with VMware Infrastructure (VI) Client, vSphere Web Client, vSphere (API access), Dedicated Virtual Machine Recovery (VMR) backup appliance, vRealize..

If the vSphere Client is connected to a vCenter Server system that is part of a connected group in vCenter Linked Mode, you can search the inventories of all vCenter Server systems