92
EMC AppSync Version 1.5.0 User Guide 300-999-948 REV 01

EMC AppSync™ 1.5.0 User Guide · documentation on EMC Data Domain products, go to the EMC Data Domain Support Portal (). EMC Corporation Hopkinton, ... EMC support, product, and

  • Upload
    dotram

  • View
    241

  • Download
    1

Embed Size (px)

Citation preview

Page 1: EMC AppSync™ 1.5.0 User Guide · documentation on EMC Data Domain products, go to the EMC Data Domain Support Portal (). EMC Corporation Hopkinton, ... EMC support, product, and

EMC AppSync™Version 1.5.0

User Guide300-999-948

REV 01

Page 2: EMC AppSync™ 1.5.0 User Guide · documentation on EMC Data Domain products, go to the EMC Data Domain Support Portal (). EMC Corporation Hopkinton, ... EMC support, product, and

Copyright © 2012-2013 EMC Corporation. All rights reserved. Published in USA.

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

The information in this publication is provided as is. EMC Corporation makes no representations or warranties of any kind withrespect to the information in this publication, and specifically disclaims implied warranties of merchantability or fitness for aparticular purpose. Use, copying, and distribution of any EMC software described in this publication requires an applicablesoftware license.

EMC², EMC, and the EMC logo are registered trademarks or trademarks of EMC Corporation in the United States and othercountries. All other trademarks used herein are the property of their respective owners.

For the most up-to-date regulatory document for your product line, go to EMC Online Support (https://support.emc.com). Fordocumentation on EMC Data Domain products, go to the EMC Data Domain Support Portal (https://my.datadomain.com).

EMC CorporationHopkinton, Massachusetts 01748-91031-508-435-1000 In North America 1-866-464-7381www.EMC.com

2 EMC AppSync 1.5.0 User Guide

Page 3: EMC AppSync™ 1.5.0 User Guide · documentation on EMC Data Domain products, go to the EMC Data Domain Support Portal (). EMC Corporation Hopkinton, ... EMC support, product, and

7

Introduction 9

AppSync overview ........................................................................................ 10Service plans provide tiered protection...................................................10Role-based management........................................................................ 10Reports show proven protection .............................................................11

AppSync architecture.................................................................................... 11AppSync server ...................................................................................... 12Host plug-in............................................................................................12AppSync user interface........................................................................... 12REST interface.........................................................................................12

Differences between AppSync and Replication Manager................................12Interoperability of AppSync and Replication Manager ................................... 12Supported applications.................................................................................13

AppSync Console 15

Starting the AppSync console........................................................................16Logging into AppSync....................................................................................16Logging out of the AppSync console ............................................................. 16Setting preferences....................................................................................... 16Console overview.......................................................................................... 17Performing actions........................................................................................ 17Times shown in the console.......................................................................... 18Troubleshooting console problems............................................................... 18

Troubleshooting browser display problems ............................................18Troubleshooting Java service errors........................................................ 19Troubleshooting browser refresh issues..................................................19

Service Plans 21

Running a service plan on demand ............................................................... 22Creating a service plan.................................................................................. 22Service plan schedule overrides ................................................................... 22Copies generated by the service plan ........................................................... 23Objects subscribed to a service plan............................................................. 23Events...........................................................................................................23Considerations when subscribing application objects to a service plan......... 23Controlling VNX LUN utilization......................................................................24Disabling and reenabling a service plan ....................................................... 24Deleting a service plan.................................................................................. 24Summary of Exchange service plans settings.................................................24Summary of SQL service plans settings......................................................... 26Summary of VMware service plans settings................................................... 27

Protecting Microsoft Exchange 29

Overview of Exchange support ......................................................................30

Preface

Chapter 1

Chapter 2

Chapter 3

Chapter 4

CONTENTS

EMC AppSync 1.5.0 User Guide 3

Page 4: EMC AppSync™ 1.5.0 User Guide · documentation on EMC Data Domain products, go to the EMC Data Domain Support Portal (). EMC Corporation Hopkinton, ... EMC support, product, and

Deploying AppSync for Exchange protection: summary of steps.................... 30Supported Exchange configurations ............................................................. 30

Disable circular logging.......................................................................... 31Exchange database copy status ............................................................. 31RecoverPoint requirements related to Exchange protection.....................31General considerations and limitations for Exchange..............................31Exchange mount host requirements .......................................................32Permissions required by Exchange..........................................................32

AppSync Exchange Interface Service .............................................................32Discovering Exchange databases ..................................................................33AppSync interaction with VSS .......................................................................33Exchange DAG in a service plan.....................................................................33Changes to Exchange service plans upon upgrade........................................ 33Protect an Exchange database ......................................................................34

Protecting an Exchange database immediately....................................... 34Subscribing an Exchange database to a service plan.............................. 35Unsubscribing a database from a service plan ....................................... 35Expiring a copy on demand.....................................................................35Creating a database copy from the Copies page......................................36

Service plan details.......................................................................................36Service plan schedule.............................................................................36Application discovery............................................................................. 37Application mapping.............................................................................. 38Pre-copy script .......................................................................................38Create copy............................................................................................ 38Post-copy script......................................................................................40Unmount previous copy.......................................................................... 40Mount copy............................................................................................ 40Validate copy..........................................................................................42Post-mount script................................................................................... 43Unmount copy........................................................................................ 44

Mounting Exchange copies............................................................................44Mount and restore limitations.................................................................44Mounting an Exchange copy on-demand.................................................44Unmounting an Exchange copy .............................................................. 47

Overview of Exchange copy restore................................................................47Affected entities during restore...............................................................47Restoring from an Exchange copy........................................................... 48Recovering an Exchange database manually...........................................49Partial restore......................................................................................... 49Restoring logs from crash-consistent (APiT) copy.................................... 50Restoring a deleted Exchange database..................................................51

Item level restore ..........................................................................................52Restoring individual mailboxes and mailbox items .................................52

Protecting SQL Server 53

Overview of SQL Server support.....................................................................54SQL Server prerequisites and supported configurations................................ 54Required permissions and rights................................................................... 54

Setting up permissions for a domain account that does not have localadministrator privileges ......................................................................... 55Setting permissions for a local, non-administrator user.......................... 55

Discovering SQL Server instances..................................................................56Discovering SQL Server databases..........................................................56

SQL Server User Databases folder................................................................. 56

Chapter 5

CONTENTS

4 EMC AppSync 1.5.0 User Guide

Page 5: EMC AppSync™ 1.5.0 User Guide · documentation on EMC Data Domain products, go to the EMC Data Domain Support Portal (). EMC Corporation Hopkinton, ... EMC support, product, and

Update login credentials for a SQL Server instance........................................57Protect a SQL Database................................................................................. 57

Configuring protection for SQL Server database...................................... 57Unsubscribing a database from a service plan........................................ 58Discovering SQL Server databases ......................................................... 58Viewing SQL database copies................................................................. 59Creating a database copy from the Copies page......................................60Expiring a SQL database copy on demand.............................................. 60

Service plan summary and details.................................................................60Service plan schedule.............................................................................61Application discovery............................................................................. 62Application mapping.............................................................................. 62Pre-copy script .......................................................................................62Create copy............................................................................................ 62Post-copy script......................................................................................63Unmount previous copy.......................................................................... 64Mount copy............................................................................................ 64Post-mount script................................................................................... 67Unmount copy........................................................................................ 67

SQL Server mount host requirements ........................................................... 67Mount considerations for SQL Server ..................................................... 68Mounting a SQL Server database copy on-demand................................. 68Unmounting a SQL Server database copy ...............................................71

Restoring from a SQL Server copy.................................................................. 72Affected entities during restore...............................................................73

Protecting VMware Datacenters 75

Configuration prerequisites .......................................................................... 76Supported VMware configurations................................................................ 76VMware VMFS requirements ......................................................................... 76VMware snapshots........................................................................................77Discovering datacenters ............................................................................... 77

List of datacenters ................................................................................. 77Adding a vCenter Server .........................................................................78List of VMware datastores ......................................................................78

Protect a VMware datastore...........................................................................78Protecting VMware datastores immediately............................................ 78Subscribing VMware datastores to a service plan................................... 79Unsubscribing datastores from a service plan.........................................79Viewing datastore copies........................................................................80Creating a datastore copy from the Copies page..................................... 80Expiring a datastore copy on demand..................................................... 80

Service plan summary and details.................................................................81Service plan schedule.............................................................................81Application discovery............................................................................. 82Application mapping.............................................................................. 82Create copy............................................................................................ 82Unmount previous copy.......................................................................... 83Mount copy............................................................................................ 83Unmount copy........................................................................................ 84

Considerations when mounting a VMFS replica ............................................ 84Mounting a datastore copy on-demand...................................................84Unmounting a VMware datastore copy ................................................... 86

Restoring from a datastore copy.................................................................... 86Virtual Machine Operations during Restore............................................. 87

Chapter 6

CONTENTS

EMC AppSync 1.5.0 User Guide 5

Page 6: EMC AppSync™ 1.5.0 User Guide · documentation on EMC Data Domain products, go to the EMC Data Domain Support Portal (). EMC Corporation Hopkinton, ... EMC support, product, and

Datastore affected entities during restore............................................... 87

Monitoring 89

RPO concepts and best practices...................................................................90Recovery point compliance report................................................................. 90Exporting an RPO compliance report to CSV...................................................90Summary of RPO compliance.........................................................................91Alerts and associated events.........................................................................91Sending alerts via email................................................................................ 91

Configuring server settings for email alerts............................................. 91Specifying email alert recipients............................................................. 92

Chapter 7

CONTENTS

6 EMC AppSync 1.5.0 User Guide

Page 7: EMC AppSync™ 1.5.0 User Guide · documentation on EMC Data Domain products, go to the EMC Data Domain Support Portal (). EMC Corporation Hopkinton, ... EMC support, product, and

Preface

Revisions and updatesAs part of an effort to improve its product lines, EMC periodically releases revisions of itssoftware and hardware. Therefore, some functions described in this document might notbe supported by all versions of the software or hardware currently in use. The releasenotes provide the most up-to-date information on product features.

Contact your EMC representative if a product does not function properly or does notfunction as described in this document.

These documents are updated periodically. Updated manuals are available on EMCOnline Support: http://support.emc.com.

Documentation of AppSync interfacesTheUser Guide and Installation and Administration Guide describe how to work withAppSync using the browser-based console.

The REST interface is described in EMC AppSync REST API Reference.

PurposeThis document describes how to use EMC AppSync.

AudienceThis document is intended for the Exchange, SQL, VMware administrator, storageadministrator, or operator who will be involved in using EMC AppSync.

DocumentationThe EMC AppSync documentation set consists of several publications.

u EMC AppSync User Guide

u EMC AppSync Installation and Administration Guide

u EMC AppSync REST API Reference

u EMC AppSync Release Notes

u online help

If you have obtained a license key for EMC ItemPoint for Microsoft Exchange Server, youwill find that the following documents are also useful:

u EMC ItemPoint™ for Microsoft® Exchange Server

u EMC ItemPoint™ ExtractWizard

EMC AppSync 1.5.0 User Guide 7

Page 8: EMC AppSync™ 1.5.0 User Guide · documentation on EMC Data Domain products, go to the EMC Data Domain Support Portal (). EMC Corporation Hopkinton, ... EMC support, product, and

Conventions used in this documentEMC documentation uses standardized formats for special notices.

DANGER

DANGER indicates a hazardous situation which, if not avoided, will result in death orserious injury.

WARNING

WARNING indicates a hazardous situation which, if not avoided, could result in death orserious injury.

CAUTION

CAUTION, used with the safety alert symbol, indicates a hazardous situation which, ifnot avoided, could result in minor or moderate injury.

NOTICE

NOTICE is used to address practices not related to personal injury.

Note

A note presents information that is important, but not hazard-related.

Where to get helpEMC support, product, and licensing information can be obtained in several locations.

Product informationFor documentation, release notes, software updates, or information about EMCproducts, go to EMC Online Support at: https://support.emc.com

Technical supportGo to EMC Online Support and click Service Center. You will see several options forcontacting EMC Technical Support. Note that to open a service request, you musthave a valid support agreement. Contact your EMC sales representative for detailsabout obtaining a valid support agreement or with questions about your account.

Your commentsYour suggestions will help us continue to improve the accuracy, organization, and overallquality of the user publications.

Send your opinions of this document to:

[email protected]

Preface

8 EMC AppSync 1.5.0 User Guide

Page 9: EMC AppSync™ 1.5.0 User Guide · documentation on EMC Data Domain products, go to the EMC Data Domain Support Portal (). EMC Corporation Hopkinton, ... EMC support, product, and

CHAPTER 1

Introduction

u AppSync overview ................................................................................................ 10u AppSync architecture............................................................................................ 11u Differences between AppSync and Replication Manager........................................12u Interoperability of AppSync and Replication Manager ........................................... 12u Supported applications.........................................................................................13

Introduction 9

Page 10: EMC AppSync™ 1.5.0 User Guide · documentation on EMC Data Domain products, go to the EMC Data Domain Support Portal (). EMC Corporation Hopkinton, ... EMC support, product, and

AppSync overviewAppSync software provides simple, self-service application protection with tieredprotection options and proven recoverability.

Service plans provide tiered protectionAppSync protects an application by creating copies of application data.

You indicate to AppSync what you want to protect by subscribing a Microsoft Exchangedatabase (for example) to a service plan. When the service plan runs, one or more copiesare created. The service plan can also mount the copy, validate it, and run user-createdscripts.

A service plan is comprised of multiple phases, including create copy, mount copy,validate copy, unmount copy, and phases that run optional user-provided scripts.

AppSync includes several application-specific plans that work without modification. Withthe Subscribe to Plan and Run command, you apply the settings of a service plan to yourdata and protect it immediately.

When you subscribe an object to a service plan, it joins any other objects that are alreadypart of the plan. All objects in the service plan are subject to the workflows and settingsdefined in the service plan. (The exceptions are the overrides specific to startup ormounting a copy.)

The default service plans offer tiered levels of protection. For example, the service plansfor Microsoft Exchange protection range from local copies once a day, to plans that makelocal and remote copies every three hours, seven days a week. You can modify a serviceplan if you need to change its settings to match your requirements, or create a new plan.Figure 1 Service Plan Settings tab

Role-based managementAppSync supports role-based access to resources and functionality.

You can set up AppSync to have multiple users. Each user can be assigned one or moreroles that correspond to their responsibilities and requirements. You can create users

Introduction

10 EMC AppSync 1.5.0 User Guide

Page 11: EMC AppSync™ 1.5.0 User Guide · documentation on EMC Data Domain products, go to the EMC Data Domain Support Portal (). EMC Corporation Hopkinton, ... EMC support, product, and

that are local to AppSync, and optionally add users through an LDAP server whichhandles the authorization.

Reports show proven protectionAppSync generates reports that tell you whether your data is protected, recoverable, andcompliant with service level agreements.

The reports included with AppSync work without modification. Alerts and reports can beeasily viewed at the top level of the AppSync dashboard. Alerts can be sent in email.AppSync can export reports to comma-separated value format.

Figure 2 The Recovery Point Compliance Report

AppSync architectureAppSync components include the AppSync server, host plug-in software, and userinterfaces.

Figure 3 AppSync architecture

Introduction

Reports show proven protection 11

Page 12: EMC AppSync™ 1.5.0 User Guide · documentation on EMC Data Domain products, go to the EMC Data Domain Support Portal (). EMC Corporation Hopkinton, ... EMC support, product, and

AppSync serverThe AppSync server software resides on a supported Windows system. It controls theservice plans and stores data about each copy it creates.

The repository is stored in a PostgreSQL database on the AppSync server.

Host plug-inAppSync installs light-weight plug-in software on the production and mount hosts.

AppSync pushes the plug-in software from the AppSync server to the host when you addthe host as a resource. In an environment that prevents the AppSync server fromaccessing a host, you can install the plug-in manually.

Examples of hosts where the plug-in resides is an Exchange mailbox server or anExchange validation or mount host.

AppSync user interfaceThe AppSync console is web-based. Supported browsers are Chrome, Internet Explorer,and Firefox.

Flash and Java Runtime Environment are required. The AppSync Support Matrix onsupport.EMC.com is the authoritative source of information on supported software andplatforms.

REST interfaceAppSync has a REST interface that allows application programmers to access informationcontrolled by AppSync.

The API is described in the AppSync REST API Reference.

Differences between AppSync and Replication ManagerAlthough they are related products, there are important differences between AppSyncand Replication Manager.

AppSync is primarily different from Replication Manager in that it uses the concept ofservice plans (protection policies) which are designed to meet specific service levelrequirements. The service plans are fully customizable and can be applied to yourapplication with a single click. As a result, AppSync is very easy to use for applicationsadministrators as well as storage administrators, because it does not require priorknowledge in data replication technology. It is important to note that AppSync can beeasily added to an existing Replication Manager environment and both products can existtogether as long as the AppSync plug-in and Replication Manager clients do not reside onthe same server.

Interoperability of AppSync and Replication ManagerAppSync and Replication Manager can co-exist with certain important limitations.

In some cases, a combination of AppSync and Replication Manager is required in order tosatisfy multiple use cases and applications. AppSync and Replication Manager can usethe same storage array, as long as they are protecting different hosts, servers, or virtualmachines.

However, the following interoperability issues exist in AppSync 1.5.0:

Introduction

12 EMC AppSync 1.5.0 User Guide

Page 13: EMC AppSync™ 1.5.0 User Guide · documentation on EMC Data Domain products, go to the EMC Data Domain Support Portal (). EMC Corporation Hopkinton, ... EMC support, product, and

u AppSync plug-in and Replication Manager clients cannot co-exist on the same server.

u Although AppSync supports Exchange 2013, at this time, AppSync can restoreindividual Exchange 2010 mailboxes and messages only, when EMC ItemPoint forMicrosoft® Exchange Server is installed. (ItemPoint is not qualified on Exchange2013).

Supported applicationsAppSync creates and manages application-consistent copies of Microsoft Exchange dataand logs, SQL Server databases, and of VMware datastores.

You can also create and manage copies of VMware datastores with the EMC VSI forVMware vSphere: AppSync Management plug-in. The plug-in is available as a separatedownload from the AppSync Online Support page at support.EMC.com.

The AppSync Support Matrix on support.EMC.com is the authoritative source ofinformation on supported software and platforms.

Introduction

Supported applications 13

Page 14: EMC AppSync™ 1.5.0 User Guide · documentation on EMC Data Domain products, go to the EMC Data Domain Support Portal (). EMC Corporation Hopkinton, ... EMC support, product, and

Introduction

14 EMC AppSync 1.5.0 User Guide

Page 15: EMC AppSync™ 1.5.0 User Guide · documentation on EMC Data Domain products, go to the EMC Data Domain Support Portal (). EMC Corporation Hopkinton, ... EMC support, product, and

CHAPTER 2

AppSync Console

u Starting the AppSync console................................................................................16u Logging into AppSync............................................................................................16u Logging out of the AppSync console ..................................................................... 16u Setting preferences............................................................................................... 16u Console overview.................................................................................................. 17u Performing actions................................................................................................ 17u Times shown in the console.................................................................................. 18u Troubleshooting console problems....................................................................... 18

AppSync Console 15

Page 16: EMC AppSync™ 1.5.0 User Guide · documentation on EMC Data Domain products, go to the EMC Data Domain Support Portal (). EMC Corporation Hopkinton, ... EMC support, product, and

Starting the AppSync consoleYou can run the AppSync console on a supported web browser from any system that hasconnectivity to the AppSync server.

Use http://appsync_server:8085/appsync to start the console.

Note

If you are upgrading from a previous version of AppSync to AppSync version 1.5, use port8080.

If you are running the console on the AppSync server, you can start the console byclicking on the AppSync shortcut on the installer's desktop. appsync_server must be a hostname, not an IP address.

Logging into AppSyncLog in with the credentials supplied by your administrator, or use the defaultadministrator account name (default is admin) with the password that was created duringAppSync server installation.

Depending on your security settings, you may be prompted to accept certificates for thefollowing when logging in the first time:u https://appsync_server:8444/cas-server/

u https://appsync_server:8445/appsync

You should permanently accept the certificates.

Logging out of the AppSync consoleLog out of the console to disconnect from the AppSync server and end the session.

Procedure

1. Click the Log out icon at the top of the AppSync console.

Note that AppSync automatically logs out an idle user after one hour.

Setting preferencesYou can set the language displayed in the user interface and optimize the console for useover remote connections.

Procedure

1. Select your language of choice from the dropdown of installed languages.

If you change the language, you must close the browser and launch AppSync again forthe settings to take effect.

2. Check Optimize for Remote Connection to optimize the user interface for use over remoteconnections.

For example, certain visual effects may cause slow screen painting when you remotelyaccess the console. Selecting this option enhances the remote response time butdoes not affect management options or functionality.

AppSync Console

16 EMC AppSync 1.5.0 User Guide

Page 17: EMC AppSync™ 1.5.0 User Guide · documentation on EMC Data Domain products, go to the EMC Data Domain Support Portal (). EMC Corporation Hopkinton, ... EMC support, product, and

Console overviewThe AppSync console is arranged in sections for management, reporting, andadministration.

u The Dashboard is a customizable view of reports and alerts. The default dashboardshows recovery point objective (RPO) status of protected applications, service plancompletion status, most recent alerts, and activity in progress.

u Protection lists discovered applications such as Microsoft Exchange and MicrosoftSQL Server, and provides the application-oriented entry point for protection, mount,restore, service plan subscription, and other operations.

u The Service Plans tab lets you view and modify service plan settings, view lists ofobjects that are subscribed to a service plan, the copies that were made of thoseobjects, and the events that were generated when the service plan was run.

u Monitoring displays alerts, recovery point compliance reports, and service plancompletion reports.

u Settings is for adding servers, VMware vCenter servers, and storage resources toAppSync. License management, user administration, and server settings are alsofound under Settings.

u Support provides access to how-to videos and the AppSync support page atsupport.EMC.com.

User roles control which sections of the console are displayed and which operations arelisted in menus. For example, the console does not display the Protection and Service Planstabs for a user who has only the Security Administrator role.

Figure 4 AppSync Dashboard

Performing actionsTo perform an action on an object, select the object and click the action buttons at thebottom of the page. Use the Shift key to select multiple objects. Use Ctrl to select

AppSync Console

Console overview 17

Page 18: EMC AppSync™ 1.5.0 User Guide · documentation on EMC Data Domain products, go to the EMC Data Domain Support Portal (). EMC Corporation Hopkinton, ... EMC support, product, and

noncontiguous objects. To perform an action on multiple objects, click the action buttonon the final selection.

Figure 5 Action buttons on the VMware Datacenter Protection page

Examples of objects are application hosts, storage systems, mailbox servers, databases,copies and users.

Times shown in the consoleTimes shown in the AppSync console reflect the local time of the AppSync server, not ofthe console.

Troubleshooting console problemsUnexpected behavior by the AppSync console may be related to the browser and itssupporting add-ons and extensions.

Troubleshooting browser display problemsIf AppSync displays stale or corrupted data, try clearing all browser-related cache.

1. Clear browser cache. Refer to the browser sepecific documentation for moreinformation.

2. Clear the Java cache:a. Select Start > Control Panel (Windows 7) or Start > Control Panel > Programs (Windows

2008/2012).

b. Double-click the Java icon.

c. Select Settings under Temporary Internet Files.

d. Select Delete Files.

AppSync Console

18 EMC AppSync 1.5.0 User Guide

Page 19: EMC AppSync™ 1.5.0 User Guide · documentation on EMC Data Domain products, go to the EMC Data Domain Support Portal (). EMC Corporation Hopkinton, ... EMC support, product, and

e. Select all available options and select OK.

Troubleshooting Java service errorsSymptom: When using the AppSync console you get an error that begins "Error startingJava Service".

Cause: One or more of the following: the Java service is not installed, the Java service isnot running, or the Mozilla Firefox browser version is incompatible.

Resolution: Install and enable the Java service. The Java service may be installed, but notenabled, so check the status of the Java service in the browser settings. If required,upgrade the browser to the latest version.

Troubleshooting browser refresh issuesSymptom: Some contents in the AppSync console are not displayed.

Cause: You refreshed the browser using the browser's Refresh icon or pressing F5 on yourkeyboard.

Resolution: To refresh content in the AppSync console, use the Refresh icon on theconsole's top right corner.

AppSync Console

Troubleshooting Java service errors 19

Page 20: EMC AppSync™ 1.5.0 User Guide · documentation on EMC Data Domain products, go to the EMC Data Domain Support Portal (). EMC Corporation Hopkinton, ... EMC support, product, and

AppSync Console

20 EMC AppSync 1.5.0 User Guide

Page 21: EMC AppSync™ 1.5.0 User Guide · documentation on EMC Data Domain products, go to the EMC Data Domain Support Portal (). EMC Corporation Hopkinton, ... EMC support, product, and

CHAPTER 3

Service Plans

u Running a service plan on demand ....................................................................... 22u Creating a service plan.......................................................................................... 22u Service plan schedule overrides ........................................................................... 22u Copies generated by the service plan ................................................................... 23u Objects subscribed to a service plan..................................................................... 23u Events................................................................................................................... 23u Considerations when subscribing application objects to a service plan................. 23u Controlling VNX LUN utilization..............................................................................24u Disabling and reenabling a service plan ............................................................... 24u Deleting a service plan.......................................................................................... 24u Summary of Exchange service plans settings.........................................................24u Summary of SQL service plans settings................................................................. 26u Summary of VMware service plans settings........................................................... 27

Service Plans 21

Page 22: EMC AppSync™ 1.5.0 User Guide · documentation on EMC Data Domain products, go to the EMC Data Domain Support Portal (). EMC Corporation Hopkinton, ... EMC support, product, and

Running a service plan on demandService plans run on a schedule but you can also run a service plan on demand.

Before you begin

This operation requires the Data Administrator role in AppSync.

Procedure

1. Select Service Plans.

2. Select the application to protect.

3. Select a plan from the list and click Run from the buttons below.

This service plan run is applicable to all the application objects currently subscribedto the plan.

The service plan runs immediately. The Run Service Plan dialog displays progress asapplication storage is discovered and mapped, and application protection beginsaccording to service plan settings.

4. Click Details to see more events that occurred during each phase.

Creating a service planYou can create a new service plan by using an existing plan as a template.

Before you begin

This operation requires the Service Plan Administrator role in AppSync.

Procedure

1. Select Service Plans.

2. Click Create.

3. In the Create New Plan dialog box, select an existing plan to use as a template. Enter aname and a description for the new service plan.

Note that the new service plan contains the same schedule and other settings as thetemplate, but there are no objects subscribed to the new service plan.

Service plan schedule overridesYou can override a service plan's schedule settings and specify separate schedules forindividual objects that are subscribed to the plan.

In the Plan Startup phase of the service plan, you select a recurrence type based on whichthe service plan is triggered. This recurrence type is applicable for all application objectsthat are subscribed to a service plan. However, you can override the settings and specifyseparate settings for selected objects.

You can override only the settings of the Recurrence Type already selected for the plan. Forinstance, the chosen recurrence type is to run On selected days... and the settings are toRun at 12:00 AM on days Fri, Sat. When you override these settings for an object, you canchange only the time and days of the week. You cannot select a different recurrence typeas part of the override.

As the Service Plan Administrator, if you change the generic recurrence settings (such asthe time to run, or minutes after the hour), there is no impact to the settings of theoverrides. However, if you change the recurrence type itself, then the overrides are nolonger valid. The new recurrence type now applies to all objects until you specifyindividual settings based on the new recurrence type.

Service Plans

22 EMC AppSync 1.5.0 User Guide

Page 23: EMC AppSync™ 1.5.0 User Guide · documentation on EMC Data Domain products, go to the EMC Data Domain Support Portal (). EMC Corporation Hopkinton, ... EMC support, product, and

Note

If an application object is subscribed to multiple plans, the plans must not be scheduledto be running at the same time.

Copies generated by the service planCopies generated by a service plan are listed in service plan's Copies tab.

You can filter the list of copies by the time of creation, and other attributes specific to theapplication.

Objects subscribed to a service planApplication objects that are subscribed to a service plan are listed in service plan'sSubscriptions tab.

EventsEvents show the progress of an operation. They are generated when a service plan is run,and when a copy is mounted or restored.

Event information includes:u Type (error, warning, or informational)

u Date and time of the event

u Description

u Server

You can view events at:

u Service plan Events tab. For example, the Events tab under Service Plans > MicrosoftExchange > Bronze shows you the events related to your Exchange copy under the plan.

u Application's Copies page. For example, navigate to Protection > VMware Datacentersand select a datacenter, then a datastore to view the Copies page. Select a copy toview its associated events in the Events pane below.

u Events are also displayed at the time they are generated in the Subscribe to plan andrun, Mount, and Restore wizards.

By default only the top level events, known as milestone events, are displayed. Amilestone event is generated at the completion of each phase in a service plan cycle. Youcan expand a milestone event to show the other events that were generated in the phase.

Considerations when subscribing application objects to a serviceplan

There is no limit to the number of objects you can subscribe to a service plan. AppSyncautomatically divides up the work for optimal performance.

However, if you need fine control over exactly what objects are grouped together formounting, scripting, and validating, consider creating multiple service plans anddistributing objects among the plans.

This technique works when the objects subscribed to a service plan are from the sameserver. Subscribe no more than 12 objects to any one service plan when using thismethod.

Service Plans

Copies generated by the service plan 23

Page 24: EMC AppSync™ 1.5.0 User Guide · documentation on EMC Data Domain products, go to the EMC Data Domain Support Portal (). EMC Corporation Hopkinton, ... EMC support, product, and

Controlling VNX LUN utilizationWhen setting up a service plan that uses VNX Snapshots, avoid overutilization anddepletion of LUNs by using care when setting the RPO value in the Plan Startup phase, andthe Always keep n Copies in the Create copy phase.

You should also monitor your VNX LUNs with the Unisphere user interface.

Disabling and reenabling a service planBy default all service plans are enabled. You can disable and reenable a service plan.

Before you begin

This operation requires the Service Plan Administrator role in AppSync.Procedure

1. Select Service Plans.

2. Select the application.

3. Select the plan and click Disable or Enable from the buttons below.

Deleting a service planYou can delete a user-created service plan.

Before you begin

This operation requires the Service Plan Administrator role in AppSync. You cannot deletea built-in service plan (for example, Bronze, Silver, Gold). You cannot delete a serviceplan if the plan has subscriptions or if there are valid copies associated with the plan.

Procedure

1. Select Service Plans.

2. Select the application.

3. Select a user-created plan and click Delete from the buttons below.

4. Click Yes to confirm.

Summary of Exchange service plans settingsThe default service plan settings create an application-consistent copy every 24 hours.Only the replication technology, specified by the Copy type in the Create copy phase, isdifferent from plan to plan.

Setting Enabled/Notenabled

Default settings Schedule

- - - -PlanStartup

Enabled Automatic schedule Recurrencetype: RPO.Creates onecopy every24 hours.First run isat midnight(00:00).

Service Plans

24 EMC AppSync 1.5.0 User Guide

Page 25: EMC AppSync™ 1.5.0 User Guide · documentation on EMC Data Domain products, go to the EMC Data Domain Support Portal (). EMC Corporation Hopkinton, ... EMC support, product, and

Setting Enabled/Notenabled

Default settings Schedule

- - - -Applicationdiscovery

Enabled None Determinedby PlanStartupphase

Applicationmapping

Enabled None Starts whenApplicationdiscoveryphasecompletes

Pre-copyscript

Notenabled

None Starts whenApplicationmappingphasecompletes

Createcopy

Enabled l Copy type is:l Bronze: Create Local copy

l Silver: Create Remote copy

l Gold: Create Local and Remote copy

l Exchange backup type: Full, Copy or Differential

l Storage Settings:l Always keep 7 copies (VNX only)

l Storage Preference - VNX Snapshot

l Event Log Scanning:l

l Fail on -1018 error

l Fail on -1019 error

l Fail on -1022 error

l Fail on Event ID 447

l Fail on Event ID 448

l Do not allow databases and logs to reside on thesame volume

Starts whenPre-copyscript phasecompletes

Post-copyscript

Notenabled

None Starts whenCreate copyphasecompletes

Unmountpreviouscopy

Notenabled

None Starts whenPost-copyscript phasecompletes

Mountcopy

Notenabled

l Mount on server: Original Host

l Mount with access: Read-only

l Mount Path: Default Path

Starts whenUnmountprevious

Service Plans

Summary of Exchange service plans settings 25

Page 26: EMC AppSync™ 1.5.0 User Guide · documentation on EMC Data Domain products, go to the EMC Data Domain Support Portal (). EMC Corporation Hopkinton, ... EMC support, product, and

Setting Enabled/Notenabled

Default settings Schedule

- - - -l Copy metadata files to: Default Path

l Image access mode: Logged access

copy phasecompletes

Validatecopy

Notenabled

l Check databases and logs in parallel

l Do not minimize log checking

l Do not perform throttle checking

Starts whenMount copyphasecompletes

Post-mountscript

Notenabled

None Starts whenValidatecopy phasecompletes

Unmountcopy

Notenabled

None Starts whenPost-mountscript phasecompletes

Summary of SQL service plans settingsThe default service plan settings create an application-consistent copy every 24 hours.Only the replication technology, specified by the Copy type in the Create copy phase, isdifferent from plan to plan.

Setting Enabled/Notenabled

Default settings Schedule

- - - -PlanStartup

Enabled Automatic schedule Recurrencetype: RPO.Creates onecopy every24 hours.First run isat midnight(00:00).

Applicationdiscovery

Enabled None Determinedby PlanStartupphase

Applicationmapping

Enabled None Starts whenApplicationdiscoveryphasecompletes

Pre-copyscript

Notenabled

None Starts whenApplicationmappingphasecompletes

Service Plans

26 EMC AppSync 1.5.0 User Guide

Page 27: EMC AppSync™ 1.5.0 User Guide · documentation on EMC Data Domain products, go to the EMC Data Domain Support Portal (). EMC Corporation Hopkinton, ... EMC support, product, and

Setting Enabled/Notenabled

Default settings Schedule

- - - -Createcopy

Enabled l Copy type is:l Bronze: Create Local copy

l Silver: Create Remote copy

l Gold: Create Local and Remote copy

l SQL Server Backup Type: Full

l Storage Settings:l Always keep 7 copies (Applies to VNX File)

l Storage Preference: VNX Snapshot

Starts whenPre-copyscript phasecompletes

Post-copyscript

Notenabled

None Starts whenCreate copyphasecompletes

Unmountpreviouscopy

Notenabled

None Starts whenPost-copyscript phasecompletes

Mountcopy

Notenabled

l Mount Copyl Mount on Server: Original Host

l Mount with access: Read only

l Mount Path: Default Path

l Copy metadata files to: Default Path

l Image Access mode: Logged access

Starts whenUnmountpreviouscopy phasecompletes

Post-mountscript

Notenabled

None Starts whenMount copyphasecompletes

Unmountcopy

Notenabled

None Starts whenPost-mountscript phasecompletes

Summary of VMware service plans settingsThe default service plan settings create an application-consistent copy every 24 hours.Only the replication technology, specified by the Copy type in the Create copy phase, isdifferent from plan to plan.

Setting Enabled/Notenabled

Default settings Schedule

- - - -PlanStartup

Enabled Automatic schedule Recurrencetype: RPO.Creates one

Service Plans

Summary of VMware service plans settings 27

Page 28: EMC AppSync™ 1.5.0 User Guide · documentation on EMC Data Domain products, go to the EMC Data Domain Support Portal (). EMC Corporation Hopkinton, ... EMC support, product, and

Setting Enabled/Notenabled

Default settings Schedule

- - - -copy every24 hours.First run isat midnight(00:00).

Applicationdiscovery

Enabled None Determinedby PlanStartupphase

Applicationmapping

Enabled None Starts whenApplicationdiscoveryphasecompletes

Createcopy

Enabled l Copy type is:l Bronze: Create Local copy

l Silver: Create Remote copy

l Gold: Create Local and Remote copy

Note

The gold plan is for RecoverPoint only. Donot use with VNX File.

l Copy Consistency: VM Consistent with a maximumof 4 simultaneous VM snapshots

l Storage Settings:l Always keep 7 copies (Applies to VNX File)

l Storage Preference: VNX Snapshot

Starts whenApplicationmappingphasecompletes

Unmountpreviouscopy

Notenabled

None Starts whenCreate copyphasecompletes

Mountcopy

Notenabled

l No default mount host

l Mount using new signature

l For RecoverPoint: mount with logged access, andmount local copy (in case of local and remote copyplan)

l For VNX file, mount copy with read-only access (incase of local copy plan)

Starts whenUnmountpreviouscopy phasecompletes

Unmountcopy

Notenabled

None Starts whenMount copyphasecompletes

Service Plans

28 EMC AppSync 1.5.0 User Guide

Page 29: EMC AppSync™ 1.5.0 User Guide · documentation on EMC Data Domain products, go to the EMC Data Domain Support Portal (). EMC Corporation Hopkinton, ... EMC support, product, and

CHAPTER 4

Protecting Microsoft Exchange

u Overview of Exchange support ..............................................................................30u Deploying AppSync for Exchange protection: summary of steps.............................30u Supported Exchange configurations ..................................................................... 30u AppSync Exchange Interface Service .....................................................................32u Discovering Exchange databases ..........................................................................33u AppSync interaction with VSS ...............................................................................33u Exchange DAG in a service plan.............................................................................33u Changes to Exchange service plans upon upgrade................................................ 33u Protect an Exchange database ..............................................................................34u Service plan details...............................................................................................36u Mounting Exchange copies....................................................................................44u Overview of Exchange copy restore........................................................................47u Item level restore ..................................................................................................52

Protecting Microsoft Exchange 29

Page 30: EMC AppSync™ 1.5.0 User Guide · documentation on EMC Data Domain products, go to the EMC Data Domain Support Portal (). EMC Corporation Hopkinton, ... EMC support, product, and

Overview of Exchange supportUse AppSync to create application-consistent copies of Exchange data.

When you add an Exchange Mailbox Server as a host, AppSync identifies whether it is anExchange standalone or an Exchange DAG member server.

You can mount the copies on a Windows Server 2008 host that has the Exchangemanagement tools installed to run a consistency check or to back up the copies to long-term storage.

AppSync can restore individual Exchange 2010 mailboxes and mailbox items when EMCItemPoint

™ for Microsoft

® Exchange

™ Server is installed.

Deploying AppSync for Exchange protection: summary of stepsThe following is a summary of steps from deployment to protection.

Procedure

1. Install the AppSync server.

2. In the AppSync user interface, go to Settings > Storage Infrastructure and click Add to addthe storage system where the Exchange mailbox database resides.

3. Go to Settings > Servers and click Add to add Exchange standalone mailbox servers orDAG member servers as hosts.

4. Go to Protection > Microsoft Exchange and click a server name from the list of Exchangestandalone and DAG servers. You are prompted to enter credentials to configure andrun the AppSync Exchange Interface service.

The Exchange databases are discovered.

5. From the list of Exchange databases, you can:

l Protect immediately with Subscribe to Plan and Run, which subscribes the databaseto a service plan and runs the protection immediately for the selected databaseonly. In the case of databases in a DAG, one of the passive databases is protectedby default.

l Subscribe to Plan, which subscribes the database to a service plan, but does not runthe plan. Protection occurs according to the service plan's schedule.

Supported Exchange configurationsVerify that your Exchange configuration meets the prerequisites. The AppSync SupportMatrix on support.EMC.com is the authoritative source of information on supportedsoftware and platforms.

AppSync supports:u Exchange 2010 mailbox servers on Windows Server 2008 SP2 and Windows Server

2008 R2.

u Exchange 2013 mailbox servers on Windows 2008 R2 SP1 or later.

u Microsoft Exchange 2010 and 2013 Database Availability Groups (DAGs) includingactive and passive copies.

Refer to the AppSync Support Matrix for supported service packs for Exchange andspecific Windows operating system requirements.

Protecting Microsoft Exchange

30 EMC AppSync 1.5.0 User Guide

Page 31: EMC AppSync™ 1.5.0 User Guide · documentation on EMC Data Domain products, go to the EMC Data Domain Support Portal (). EMC Corporation Hopkinton, ... EMC support, product, and

Disable circular loggingAppSync requires circular logging to be disabled on Exchange databases.

You should verify that circular logging is disabled in the Exchange Management Consoleunder a database's properties.

Exchange database copy statusFor protection, a standalone Exchange database copy must be in the Mounted state. In aDAG, an active copy must be in the Mounted state even when backing up a passive copy,and a passive copy must be in the Healthy state. AppSync will exclude a database fromthe service plan run if the database is not in the required state.

RecoverPoint requirements related to Exchange protectionRestrictions related to RecoverPoint support are in the areas of restore and service planconfiguration.

u Database and logs can be restored from an application consistent bookmark only.Individual items such as a message or mailbox can be restored from a crashconsistent or application consistent bookmark using EMC

® ItemPoint

™ for Microsoft

Exchange Server.

u In a RecoverPoint environment, restore granularity of Exchange is at the consistencygroup level.

u Make sure that all application items contained in a single consistency group arebeing protected by the same service plan.

General considerations and limitations for ExchangeCertain configuration settings are recommended for AppSync to support Exchange.

u The database file and transaction logs for an Exchange database can reside on thesame volume if you choose to do so. However, it is recommended that they reside onseparate volumes.

u The following files must be stored on a supported storage array to ensure that theywill be replicated: EDB files, log files, and system files.

u For better restore flexibility, Exchange databases should not share volumes.

u Partitioned disks are not supported.

u Do not use nested mountpoints. For example, if logs are on L: and the database is onthe mountpoint called L:\SG1DB1, AppSync will not be able to mount or restore thereplica. Instead, create a very small LUN and put the L: volume on it. Then create twomount points on the volume: one for the database file and one for the transactionlogs. The other option is to create the mount points on one of the volumes that arelocal to the server.

u In VMware environments, AppSync requires the storage for Exchange database andlog files to be configured as raw device mapping (RDM) disks or native iSCSI disks,not on VMware virtual disks.

u In Hyper-V environments, AppSync requires the storage for Exchange database andlog files to be iSCSI direct attached devices or SCSI pass-through devices. SCSICommand Descriptor Block (CDB) filtering must be turned off in the parent partition. Itis turned on by default.

Protecting Microsoft Exchange

Disable circular logging 31

Page 32: EMC AppSync™ 1.5.0 User Guide · documentation on EMC Data Domain products, go to the EMC Data Domain Support Portal (). EMC Corporation Hopkinton, ... EMC support, product, and

Exchange mount host requirementsVerify that your Exchange configuration meets the prerequisites necessary to useAppSync on a mount host.

u The Exchange Management Tools must be installed and the AppSync ExchangeInterface service must be configured if consistency check is desired. The ExchangeManagement Tools on the mount host must be at the same version and service packlevel as the production host.

u For VMware virtual servers, the VMware tools must be installed for snaps.u For Hyper-V SCSI pass-through, the mount host cannot be a Hyper-V host it has to be

a physical host.u The version of Windows on the mount host must match the version of Windows on

the production host.

l In the case of Windows 2003, the versions on both the hosts must be an exactmatch.

l In the case of Windows 2008 or Windows 2008 R2, the hosts can have either ofthem. You can mount from a host with Windows 2008 to a host with Windows2008 R2 and vice versa.

l In the case of Windows 2012, the versions on both the hosts must be an exactmatch.

u The mount host must have visibility to the same storage array from which the originalreplica was created. In the case of a DAG environment, you may need more than onemount host if your replicas are created from different copies of the database.

u In the case of native DAG environments:l AppSync can mount a copy to a server that is part of the production DAG provided

there is visibility to the same storage array from which the original copy wascreated.

l AppSync does not mount to the original location. Only alternate mount paths areavailable if there is a copy of the database on the server.

Permissions required by ExchangeSpecial permissions are required by the accounts that AppSync uses to work withExchange.

u On Exchange standalone servers, the account must be a domain user account withthe Databases role.

u On DAG servers, the account must be a domain user account with the Database andDatabase Copies roles.

u On a mount host, the user account must be a domain user account that is a memberof the local Administrators group.

u The account must have Log on as a batch job and Log on as a service user rights.u The account can have the View-only Organization role. This is an optional role

applicable only for MS Exchange 2013 if you have public folder mailboxes in yourenvironment. AppSync uses this role to determine the database containing the publicfolder primary hierarchy mailbox.

AppSync Exchange Interface ServiceThe first time the Exchange server is accessed, you are prompted to enter two sets ofcredentials. The first set is to install and configure the AppSync Exchange Interface

Protecting Microsoft Exchange

32 EMC AppSync 1.5.0 User Guide

Page 33: EMC AppSync™ 1.5.0 User Guide · documentation on EMC Data Domain products, go to the EMC Data Domain Support Portal (). EMC Corporation Hopkinton, ... EMC support, product, and

service on the Exchange production or mount host. The account must have localadministrator privileges. The second set of credentials is to run the service and the usermust be a domain user with certain Exchange roles – Database role for standalone andDatabase and Database Copies roles in DAG environment – with the required privilegesand roles.

Discovering Exchange databasesTo keep AppSync up to date, you should discover databases on the Exchange serverwhen there is creation, deletion, or renaming of databases.

Before you begin

The AppSync Exchange Interface service must be running. This operation requires theData Administrator role in AppSync.

Procedure

1. Navigate to Protection > Microsoft Exchange.

2. Click an Exchange server to display its databases.

3. Click the Discover Databases popup button below to discover databases for this server.

AppSync interaction with VSSMicrosoft Volume Shadow Copy Service (VSS) is the infrastructure that enables AppSyncto create application-aware copies.

When it creates a copy, AppSync coordinates with VSS and Exchange to create a shadowcopy, which is a point-in-time copy of the volumes that contain the data, logs, andsystem files for Exchange databases.

AppSync coordinates with VSS and Exchange to quiesce input-output to the databaseswhen creating the copy, and then resume the flow of data after the copy has beencreated. During a restore, AppSync coordinates with VSS and Exchange to recover thepoint-in-time shadow copy.

Exchange DAG in a service planAppSync supports protection of Exchange databases that are part of a DatabaseAvailability Group (DAG).

When a DAG server is subscribed to an AppSync service plan, it is one of the passivemembers of the DAG that is selected for protection, by default. To protect an active DAGdatabase member, select Active in the Copy to Protect column from the plan's Subscriptionstab.

Changes to Exchange service plans upon upgradeExchange service plans you had assigned in AppSyncversion 1.0, may have newdesignations, upon upgrading to AppSync version 1.5.

After an upgrade you may find that your silver and bronze service plans have merged.u If databases on the same LUNs were enabled for silver and not bronze, upon upgrade

they are now enabled for bronze.

u If the mount phase was not enabled and the paths were set to the default alternatepath, upon upgrade, you will see the new updated AppSync 1.5 path name.

Protecting Microsoft Exchange

Discovering Exchange databases 33

Page 34: EMC AppSync™ 1.5.0 User Guide · documentation on EMC Data Domain products, go to the EMC Data Domain Support Portal (). EMC Corporation Hopkinton, ... EMC support, product, and

AppSync 1.0service plan

AppSync 1.5 service plan

- -Bronze Bronze

Silver If options and overrides match, database subscriptions and copies aremoved to Bronze.

If options and overrides conflict, Silver service plans are renamed toBronze-2.

Note

To avoid confusion, EMC recommends if you have a user definedservice plan named Bronze-2 in AppSync 1.0 , that you rename theBronze-2 plan to a different name before upgrading to AppSync1.5.

Gold Renamed to Silver.

Platinum Renamed to Gold.

Protect an Exchange databaseProtect an Exchange database by subscribing it to an AppSync service plan.

AppSync's protection mechanism for databases is by means of service plans. Yousubscribe a database to a service plan and run the service plan immediately, or schedulethe service plan to run at a later time.

u Choose Subscribe to Plan and Run when you want to protect a selected databaseimmediately. The service plan is executed for the database alone. In the case of DAG,one of the passive databases is protected by default.

u Choose Subscribe to Plan when you want to schedule the protection for later.Protection for databases that are part of the service plan are executed at thescheduled time.

u Choose Run from the Service Plan page to run the whole plan immediately. Alldatabases subscribed to the plan are protected.

Protecting an Exchange database immediatelySubscribe to Plan and Run adds a database to an existing service plan and runs the serviceplan immediately for the selected database only.

Before you begin

This operation requires the Data Administrator role in AppSync.

Procedure

1. Navigate to Protection > Microsoft Exchange

2. Click an Exchange Mailbox Server or DAG from the list to display its databases.

3. From this list, select a database to protect.

When performing an operation on multiple items, be sure to keep the Shift or Ctrl keydepressed.

4. From the Protect popup button below, select the appropriate service plan fromSubscribe to Plan and Run.

Protecting Microsoft Exchange

34 EMC AppSync 1.5.0 User Guide

Page 35: EMC AppSync™ 1.5.0 User Guide · documentation on EMC Data Domain products, go to the EMC Data Domain Support Portal (). EMC Corporation Hopkinton, ... EMC support, product, and

In case of DAG, a passive database is protected by default.

The Subscribe to Plan and Run dialog appears displaying the progress through thedifferent phases.

Subscribing an Exchange database to a service planSelect Subscribe to Plan when you want to schedule the protection for later. Protection forall databases that are part of the service plan are executed at the scheduled time.

Before you begin

This operation requires the Data Administrator role in AppSync.

Procedure

1. Navigate to Protection > Microsoft Exchange.

2. Click an Exchange Mailbox Server or DAG from the list to display its databases.

3. From this list, select a database to protect.

Select multiple databases by holding down the Shift or Ctrl keys on your keyboard.

4. From the Protect popup button below, select the appropriate service plan fromSubscribe to Plan.

In case of DAG, a passive database is protected by default. To change the protectiontype with another option, specify it from the Subscriptions tab of the service plan.

The plan is added to the Plans column for the database.

Unsubscribing a database from a service planYou can unsubscribe an individual database from a service plan.

Before you begin

This operation requires the Data Administrator role in AppSync.

Procedure

1. Navigate to Protection > Microsoft Exchange

2. Select a mailbox server to display the list of Exchange databases.

3. Select the database to remove from a plan.

l Select the plan to unsubscribe from Protect > Unsubscribe from Plan. Only plans towhich the database is subscribed to are in the popup list.

l To unsubscribe from all service plans, select Unsubscribe from Plan > All.

Expiring a copy on demandExpiring a copy removes it from the AppSync database and can free up storage,depending on the replication technology and copy state.

Before you begin

This operation requires the Data Administrator role in AppSync.

Expiring a copy that was made with RecoverPoint does not remove the correspondingbookmark from RecoverPoint itself.

Protecting Microsoft Exchange

Subscribing an Exchange database to a service plan 35

Page 36: EMC AppSync™ 1.5.0 User Guide · documentation on EMC Data Domain products, go to the EMC Data Domain Support Portal (). EMC Corporation Hopkinton, ... EMC support, product, and

Procedure

1. Select Protection > Microsoft Exchange.

2. Click an Exchange mailbox server to display its databases.

3. Click an Exchange database to display its copies.

4. Select one or more copies to delete.

You can also perform this action from the Service Plan's Copies tab.

5. Select Expire from the row of buttons below.

Verify that you want to expire the copy you selected and any associated copies listedand confirm.

Creating a database copy from the Copies pageCreate a copy of a database by subscribing it to an AppSync Exchange service plan fromthe Copies page.

Before you begin

This operation requires the Data Administrator role in AppSync.Procedure

1. Navigate to Protection > Microsoft Exchange.

2. Click a mailbox server instance.

3. From the list of Exchange databases, click the database to view its copies.

The Copies page is displayed.

4. From the Create a copy using plan popup below, select the appropriate service plan.

The service plan runs immediately for the database.

Service plan detailsA service plan has the following tabs: Settings, Subscriptions, Copies, and Events.

The Settings tab shows the name, description, and status (whether enabled or disabled)of the service plan. Apart from these, the different phases of the plan are also part of thistab. Click on appropriate tabs to see information regarding Subscriptions, Copies createdby the plan and Events generated during the service plan run.

Service plan scheduleA service plan's schedule is set in the Plan Startup phase.

A service plan's Startup Type (scheduled or on demand) determines whether the plan isrun manually, or configured to run on a schedule. Options for scheduling when a serviceplan starts are:

u Specify a recovery point objective (RPO)l Set an RPO of 30 minutes or 1, 2, 3, 4, 6, 8, 12, or 24 hours

l Minutes after the hour are set in 5 minute intervals

l Default RPO is 24 hours

u Run every day at certain timesl Select up to two different times during the day

l Minutes after the hour is in 5 minute intervals

Protecting Microsoft Exchange

36 EMC AppSync 1.5.0 User Guide

Page 37: EMC AppSync™ 1.5.0 User Guide · documentation on EMC Data Domain products, go to the EMC Data Domain Support Portal (). EMC Corporation Hopkinton, ... EMC support, product, and

l There is no default selected

u Run at a certain time on selected days of the weekl One or more days of the week (up to all seven days) can be selected

l There is no default day of the week selected. Default time of day is 12:00 AM.

u Run at a certain time on selected days of the monthl Select one or more days of the month (up to all days)

l Select one time of day. Available times are at 15 minute intervals.

l Default is the first day of the month

Controlling VNX LUN utilizationWhen setting up a service plan that uses VNX Snapshots, avoid overutilization anddepletion of LUNs by using care when setting the RPO value in the Plan Startup phase, andthe Always keep n Copies in the Create copy phase.

You should also monitor your VNX LUNs with the Unisphere user interface.

Overriding service plan schedulesYou can set individual schedules for databases subscribed to a service plan, overridingthe generic recurrence setting.

Before you begin

This operation requires the Service Plan Administrator role in AppSync.

You can override only the settings of the recurrence type already selected for the serviceplan.

Procedure

1. Navigate toService Plans > Microsoft Exchange and select one of the plans from the list.

2. From the Settings tab, select the Plan Startup phase.

You will see the Plan Startup Defaults pane on the right.

3. Note the Recurrence Type selected for the plan.

A recurrence type can be set only if Scheduled is selected as the Startup Type.

4. Click the Plan Startup Overrides tab.

The Override Schedule dialog is displayed.

5. Set individual schedules for selected databases based on your requirement.

For example, if the recurrence type you selected is On specified days of the month, andthe rule setting is to Run at 12:00 AM on the 1st day of every month, you can override thetime and the day for individual databases.

Application discoveryBefore creating the copy, AppSync examines the Exchange Mailbox Server to look forchanges such as addition, deletion, renaming, or movement of databases.

There are no user settings associated with this phase and it cannot be disabled.

Protecting Microsoft Exchange

Application discovery 37

Page 38: EMC AppSync™ 1.5.0 User Guide · documentation on EMC Data Domain products, go to the EMC Data Domain Support Portal (). EMC Corporation Hopkinton, ... EMC support, product, and

Application mappingAfter discovering the application, AppSync maps it to array storage, and protectionservices such as RecoverPoint. There are no user settings associated with this phase andit cannot be disabled.

Pre-copy scriptTo perform preparatory steps before creating a copy, specify a pre-copy script andparameters on a service plan's Settings tab.

The pre-copy script runs as per the schedule set in the Plan Startup phase. Valid scriptformats are .bat, .exe, and .ps1 (PowerShell scripts). You can optionally enter credentialsto run the script as a specific user. The script runs as Local System by default.

The default location of the script is %ProgramData%\EMC\AppSync\scripts\ onthe application host.

Exact parameters depend on your script. Parameters with spaces must be enclosed indouble quotes.

This phase can be enabled or disabled. This operation requires the Service PlanAdministrator role in AppSync.

Create copyThe Create Copy phase creates a copy based on the replication technology specified inthe service plan.

This phase specifies the type of Exchange copy to make, whether to ignore Exchangeerrors in the Application event log, and if database and logs can reside on the samevolume.

For VNX Snapshot copies, this phase also sets the period for automatic expiration of thecopies. You can also choose the preferred mode of storage between VNX Snapshot andRecoverPoint Bookmark.

There are three types of copy phases depending on which plan you use:u Create local copy — For Bronze service plans, creates a local copy (RecoverPoint CDP or

VNX Snapshot) for RecoverPoint on your server.

u Create remote copy — For Silver service plans, creates a remote copy (RecoverPointbookmark or VNX Snap if NFS) on the target.

u Create local and remote copy — For Gold service plans, creates both local and remotecopies (RecoverPoint bookmarks) on the target.

Exchange backup typeAppSync uses VSS to make a consistent online copy at the volume level.

u Full creates a copy of the databases in the service plan using VSS, and includes thedatabase files, transaction logs, and checkpoint files. On successful completion ofthe backup, the logs are truncated.

u Copy creates a copy of the databases in the service plan using VSS, which includesthe database files, transaction logs, and checkpoint files, as it does using the Fulloption. However, it does not truncate the logs.

Protecting Microsoft Exchange

38 EMC AppSync 1.5.0 User Guide

Page 39: EMC AppSync™ 1.5.0 User Guide · documentation on EMC Data Domain products, go to the EMC Data Domain Support Portal (). EMC Corporation Hopkinton, ... EMC support, product, and

u Differential copies the entire transaction log volume. A full backup of the selecteddatabase must exist or the backup fails. The transaction logs are not truncated oncompletion of the backup.

Automatic expiration of VNX Snapshot copiesThe automatic expiration value in a service plan's Create Copy phase specifies themaximum desired number of VNX Snapshot copies that can exist simultaneously.

When the "Always keep x copies" value is reached, older copies are expired to freestorage for the next copy in the rotation. Failed copies are not counted. AppSync does notexpire the oldest copy until its replacement has been successfully created. For instance,if the number of copies to keep is 7, AppSync will not expire the oldest copy until the 8thcopy is created.

This setting is independent of the VNX pool policy settings in Unisphere for automaticdeletion of oldest snapshots. The service plan administrator should work with the storageadministrator to ensure that the VNX pool policy settings will enable the support of thespecified number of snapshot copies for the application residing in that pool.

AppSync does not expire copies under the following circumstances:

u Mounted copies are not expired.

u A copy that contains the only replica of a database will not be expired.

Exchange event log errorsExchange will log certain errors in the Application event log when they occur. These errorsindicate a possible corruption of the data in the .edb or log files. They can cause copycreation to fail unless you specifically instruct AppSync to ignore them.

AppSync searches the application event log for these errors every time a copy is created.The first time it runs, AppSync searches the entire log. Subsequent runs search since thelast successful run. If there are no existing copies, then AppSync will search the entire logwhen creating the next copy.

In a service plan's Create copy phase, you can configure AppSync to ignore any or all ofthese errors.

Error Meaning- --1018 The database tried and failed to verify information about a particular page in the

database.

-1019 Similar to a -1018 error but indicates that the accessed page has returned an invalid pagenumber (usually all zeros) rather than an invalid checksum.

-1022 Indicates major hardware problems, particularly disk subsystem problems. If thedatabase engine requests a page from disk but instead receives an error from the I/Osubsystem, a -1022 error results.

447 Indicates corruption in the logical database structure. This accompanies a messagestating that the information store terminated abnormally.

448 Indicates an inconsistency or corruption in a table in the Microsoft Jet database. Thisaccompanies a message stating that an information store data inconsistency has beendetected in a table.

Protecting Microsoft Exchange

Create copy 39

Page 40: EMC AppSync™ 1.5.0 User Guide · documentation on EMC Data Domain products, go to the EMC Data Domain Support Portal (). EMC Corporation Hopkinton, ... EMC support, product, and

Database and log layoutExchange supports environments in which the database and logs reside on the samevolume when there is more than one copy of the database in a DAG environment. Serviceplans can be configured to ignore the restriction that prevents databases and logs fromresiding on the same volume.

When creating copies of Exchange databases, it is a best practice to restrict a serviceplan from allowing this configuration because having databases and logs on the samevolume limits your restore options. However, you can choose whether service plans withthis configuration should succeed or not.

This option is set in the Create Copy phase of a service plan.

When selecting this option, you are limited to restoring the database and logs together.Restore will overwrite newer log files. To preserve newer log files for use during recovery,copy them to another volume before restore.

Post-copy scriptTo perform cleanup or other post-copy steps after creating a copy, specify a post-copyscript and parameters in a service plan's Settings tab.

The script runs on successful completion of the Create copy phase. Valid script formatsare .bat, .exe, and .ps1 (PowerShell scripts). You can optionally enter credentials to runthe script as a specific user. The script runs as Local System by default.

The default location of the script is %ProgramData%\EMC\AppSync\scripts\ onthe application host.

Exact parameters depend on your script. Parameters with spaces must be enclosed indouble quotes.

This phase can be enabled or disabled. This operation requires the Service PlanAdministrator role in AppSync.

Unmount previous copyThe service plan unmounts a previously mounted copy after creating the new copy. Theexception is a copy that was mounted on-demand as opposed to by the service plan; inthis case the on-demand mounted copy is not unmounted.

There are no user settings associated with this phase and it can be enabled or disabled.

Mount copyThe Mount copy phase mounts the copy. This phase can be enabled or disabled.

The Mount Copy Defaults settings for the mount host value, mount path and mount accessattributes (read-only or read-write) depend on the service plan. Other mount settingsdetermine where the Exchange metadata files are copied, the type of copy to mount andthe RecoverPoint image access type.

u Mount on ServerAllows you to choose between Windows hosts you have access to and OriginalServer. If you have chosen to validate the copies, only servers that have the ExchangeManagement Tools installed are displayed in the drop down. These servers display onthe Microsoft Exchange Protection page as "Utility Host".

u Mount with access

Protecting Microsoft Exchange

40 EMC AppSync 1.5.0 User Guide

Page 41: EMC AppSync™ 1.5.0 User Guide · documentation on EMC Data Domain products, go to the EMC Data Domain Support Portal (). EMC Corporation Hopkinton, ... EMC support, product, and

Choose the type of access the copy should be mounted with - Read/Write or Readonly

u Mount Pathl Alternate mount path

The default mount path, when the mount host is the same as the production host,is SystemDrive:\AppSyncMounts\Production_Server_Name.

This path is represented in the console as %SystemDrive%\AppSyncMounts\%%ProdServerName%%.

To specify the value of a Windows environment variable in the mount path, delimitthe variable name with single percent signs (%). The default path also contains anAppSync variable (ProdServerName) which is delimited with two percent signs (%%).

The following characters are not valid in the path:

< > : " / | ? *

l Same as original pathThis is another option for the mount path. You can select either of the options.

Note

When performing a DAG mount, do not select the mount path as Same as originalpath if the mount host also happens to be a DAG node having a copy of thedatabase that you are mounting.

u Copy metadata files toBy default, the location to copy VSS metadata files is the default path - SystemDrive:\AppSyncMounts\Production_Server_Name.

The following characters are not valid in the path:

< > : " / | ? *

If you are backing up the database to another media, you must backup thesemetadata files as well.

u Image access options during RecoverPoint mountRecoverPoint provides a target-side host application the opportunity to write data tothe target-side replication volumes, while still keeping track of source changes.

l Slow access time, fast image I/O performance (RecoverPoint access mode: Logged Access)Use this mount option if the integrity check entails the scanning of large areas ofthe replicated volumes. This is the only option available when you mount to theproduction host.

l Fast access time, Fast after roll image I/O performance (RecoverPoint access mode: VirtualAccess with Roll)Provides nearly instant access to the copy, but also updates the replicated volumein the background. When the replicated volumes are at the requested point intime, the RPA transparently switches to direct replica volume access, allowingheavy processing.

l Fast access time, Slow image I/O performance (RecoverPoint access mode: Virtual Access)Provides nearly instant access to the image; it is not intended for heavyprocessing.

u Copy to mountDisplayed for service plans that create both a local and remote copy. You can selectthe type of copy to mount.

Protecting Microsoft Exchange

Mount copy 41

Page 42: EMC AppSync™ 1.5.0 User Guide · documentation on EMC Data Domain products, go to the EMC Data Domain Support Portal (). EMC Corporation Hopkinton, ... EMC support, product, and

Mount host overrides in service planSelect different mount hosts for multiple Exchange servers subscribed to a service plan.

In the Mount copy phase of a service plan, you can specify the host that the copy shouldbe mounted on along with related mount options. However, if you have multiple serversas part of a service plan, you may want to host their copies on different hosts. You canspecify different mount hosts and other options from the Mount Copy Overrides tab of theMount copy phase in a service plan.

Overriding mount hosts in a service planIf there are multiple registered hosts and they are subscribed to the same plan, you canselect a different mount host for each server, overriding the generic mount host settings.

Before you begin

This operation requires the Data Administrator role in AppSync.

Follow these steps when you have multiple hosts subscribed to a plan and you wantdifferent mounts hosts for their database copies.

Procedure

1. Navigate to Service Plans and select one of the plans from the list.

2. From the Settings tab, select the Mount copy phase checkbox.

In the Mount Copy Defaults tab on the right, the list of servers include all Exchangeservers whose databases are subscribed to this plan. The mount settings display thedefault settings.

3. To override the default settings, click the Mount Copy Overrides tab.

4. Select the server whose mount settings you wish to override and click Set Overrides.

The Override Default Mount Settings dialog is displayed.

5. Select options only for those mount settings that you wish to override.

For example, if you want to mount a copy to a different path, you would select thepath from the Mount Path drop-down. Fields that do not have a selection retain theirdefault settings.

6. Select OK to save your changes.

A pencil icon appears in the first column of the server's row whose default mountsettings you changed.

7. To revert back to default settings for a server, select the server and click Use DefaultSettings.

Validate copyExchange management tools run a consistency check in this phase.

By default, databases and logs are checked sequentially. If the databases are not sharingthe same LUN and the mount host has sufficient resources to support parallelconsistency checks, use the In parallel option. Note that there is a limit of 16 parallelchecks that Exchange can handle.

If the consistency check completes successfully, AppSync instructs Exchange to truncatethe logs so only the changes that are uncommitted to the database remain.

This phase can be enabled or disabled.

Protecting Microsoft Exchange

42 EMC AppSync 1.5.0 User Guide

Page 43: EMC AppSync™ 1.5.0 User Guide · documentation on EMC Data Domain products, go to the EMC Data Domain Support Portal (). EMC Corporation Hopkinton, ... EMC support, product, and

Advanced options for consistency checkAppSync offers advanced options that change how Exchange consistency checks areexecuted. Enabling these features can impact performance.

Minimize log checkingChoosing this option speeds up the log checking by instructing the consistencychecking software to check only those logs that are required to recover the database.Selecting this option improves the performance of the consistency check. If youdisable the option, then consistency check will be performed on all of thedatabase’s logs.

This command instructs AppSync to check only a subset of the Exchange logs thatare included in the copy. The subset of the logs are actually the logs that arerequired to recover the database. If your backup window is small, you may find thisoption useful. However, the copy contains logs that have not been checked forconsistency. If you attempt to restore the log volume, you may find that some logfiles are corrupt or the log sequence is not complete. Before restoring the logvolume, you should mount the replica and run eseutil /k Enn against the logpath.

For maximum protection, clear Minimize log checking. For maximum performance,select it.

You must also set a working directory, which is where the required log files will becopied for checking.

The Minimize log checking option is not available when the consistency method isDifferential.

Throttle CheckingConsistency checks can be paused to slow down the IOs during the check. You canspecify the number of IOs after which to pause, and the duration of the pause.

Post-mount scriptSpecify a post-mount script and parameters from the Post-mount script option in theSettings tab of a service plan.

The script runs on successful completion of the mount copy or mount with recoveryphase. This script is typically used for backup.

From the Server drop-down, select the server on which to run the script. You canoptionally run it on a registered host other than the mount host, and enter credentials torun the script as a specific user.

The default location of the script is %ProgramData%\EMC\AppSync\scripts\ onthe application host.

Exact parameters depend on your script. Parameters with spaces must be enclosed indouble quotes.

This phase can be enabled or disabled. This operation requires the Service PlanAdministrator role in AppSync.

Protecting Microsoft Exchange

Post-mount script 43

Page 44: EMC AppSync™ 1.5.0 User Guide · documentation on EMC Data Domain products, go to the EMC Data Domain Support Portal (). EMC Corporation Hopkinton, ... EMC support, product, and

Unmount copyThe final phase in the service plan unmounts the copy. All the mounted databases areshut down as part of this phase.

This phase is disabled if the Unmount previous copy phase is enabled. There are no usersettings associated with this phase.

Mounting Exchange copiesAppSync can mount a copy on-demand, or as part of a plan.

Copies created on a standalone production Exchange server can be mounted:

u to an alternate host in the same location as the production host.

u to an alternate host in a new location. You specify mount option by adding analternate path to the start of the path.

u to the production host in an alternate location.

Copies created in a DAG can be mounted:

u to an alternate host

u to a server in another DAG

u to another server in the same DAG

Note

Copies cannot be mounted to the same DAG server on which the copy was created.

Mount and restore limitationsThere are limitations to mounting and restoring Exchange copies.

u When the root drive letter has mount points on it and they are all included in thesame plan, mounts and restores are likely to fail. For instance, if the log and systemfiles are on L:\ and the mailbox stores are on L:\SG1DBMP (where SG1DBMP is amount point), mounts and restores will fail.

u In Windows 2012 environments, when doing a restore, the data on LUNs areoverwritten even if the volume is in use. This differs from other Windows platforms inwhich AppSync displays a warning if the LUN is in use. Since restores will overwriteeverything, be sure that there is no other data on that volume and the volume is notin use.

Mounting an Exchange copy on-demandYou can initiate an on-demand mount of an Exchange copy from a copy or database.

Before you begin

This operation requires the Data Administrator role in AppSync.

Procedure

1. Select Recover > Mount a Copy from the buttons below in the Exchange Databases page.

From the Copies page or Service Plan's Copies tab, select a copy and click Mount.

2. Use the Copies or Service Plan filters to select the appropriate copy to mount.

The Copies list is refreshed based on the filters selected.

Protecting Microsoft Exchange

44 EMC AppSync 1.5.0 User Guide

Page 45: EMC AppSync™ 1.5.0 User Guide · documentation on EMC Data Domain products, go to the EMC Data Domain Support Portal (). EMC Corporation Hopkinton, ... EMC support, product, and

3. Select the copy to mount.

For a RecoverPoint copy, you also have the option to select a copy based on a specifictime. Click Select a point in time to select a copy with a specific time stamp. The timeshown here is the console's time. If the console is in a different time zone from theserver, specify the time as per the server's time zone to mount the copy.

4. In the Mount Additional Copies page, select one or more additional copies to mount. Thecopies listed here are of other databases that were protected at the same time and onthe same host as the copy you selected in the previous step.

5. In the Validate Copy page, select Yes to validate the copies and specify validationoptions. See Mount validation options on page 46 for details.

6. On the Mount Options page, select the mount options.

l Mount on ServerAllows you to choose between Windows hosts you have access to and OriginalServer. If you have chosen to validate the copies, only servers that have theExchange Management Tools installed are displayed in the drop down. Theseservers display on the Microsoft Exchange Protection page as "Utility Host".

l Mount with accessChoose the type of access the copy should be mounted with - Read/Write or Readonly

l Mount Path– Alternate mount path

The default mount path, when the mount host is the same as the productionhost, is SystemDrive:\AppSyncMounts\Production_Server_Name.

This path is represented in the console as %SystemDrive%\AppSyncMounts\%%ProdServerName%%.

To specify the value of a Windows environment variable in the mount path,delimit the variable name with single percent signs (%). The default path alsocontains an AppSync variable (ProdServerName) which is delimited with twopercent signs (%%).

The following characters are not valid in the path:

< > : " / | ? *

– Same as original pathThis is another option for the mount path. You can select either of the options.

Note

When performing a DAG mount, do not select the mount path as Same asoriginal path if the mount host also happens to be a DAG node having a copy ofthe database that you are mounting.

l Copy metadata files toBy default, the location to copy VSS metadata files is the default path - SystemDrive:\AppSyncMounts\Production_Server_Name.

The following characters are not valid in the path:

< > : " / | ? *

If you are backing up the database to another media, you must backup thesemetadata files as well.

l Image access options during RecoverPoint mountRecoverPoint provides a target-side host application the opportunity to write datato the target-side replication volumes, while still keeping track of source changes.

Protecting Microsoft Exchange

Mounting an Exchange copy on-demand 45

Page 46: EMC AppSync™ 1.5.0 User Guide · documentation on EMC Data Domain products, go to the EMC Data Domain Support Portal (). EMC Corporation Hopkinton, ... EMC support, product, and

– Slow access time, fast image I/O performance (RecoverPoint access mode: LoggedAccess)Use this mount option if the integrity check entails the scanning of large areasof the replicated volumes. This is the only option available when you mount tothe production host.

– Fast access time, Fast after roll image I/O performance (RecoverPoint access mode:Virtual Access with Roll)Provides nearly instant access to the copy, but also updates the replicatedvolume in the background. When the replicated volumes are at the requestedpoint in time, the RPA transparently switches to direct replica volume access,allowing heavy processing.

– Fast access time, Slow image I/O performance (RecoverPoint access mode: VirtualAccess)Provides nearly instant access to the image; it is not intended for heavyprocessing.

7. In the Configure AppSync Exchange Interface Service page, provide the credentials toconfigure the service on the mount server.

This page is displayed only if you chose to validate the copy if the service is notconfigured. See Configure AppSync Exchange Interface Service on page 32 for details.

8. Review the Summary and click Finish to mount the copy.

9. In the Results page, select View Details to see progress of the different phases that arepart of mounting a copy.

The last phase completed is displayed at the bottom of the list.

Validation options for a mount copyValidation for differential backup copies is not supported.

Validate database and logsWhen you create a replica of one or more Microsoft Exchange databases, you shouldmount the replica and test it for consistency. If you choose to automatically mount thereplica to an alternate host once it has been created, you should run a consistency checkon the replica. The options to validate are:u Sequentially — Run tests on one database at a time in order (serial mode). Select this

option if you have several Exchange databases on one LUN.

u In Parallel — Run tests on several databases simultaneously (parallel mode).

Minimize log checkingBy selecting Minimize log checking, AppSync checks a subset of the Exchange logs thatare included in the replica. If your backup window is small, you may find this optionuseful. However, the replica may contain logs that have not been checked forconsistency.

For maximum protection, clear Minimize log checking. For maximum performance, selectit.

Working directory — This field allows you to specify the directory to which the relevant logfiles will be moved in order to run the check, since a consistency check can only be runon all logs in a single directory.

Throttle ValidationSelect this to throttle the I/Os during a consistency check. This option is for advancedusers and typically should not be selected unless you are working with EMC Support toresolve an issue related to I/O throughput. Typically, the throttling option is not required.

If you choose to throttle I/Os, you have the following two options.

Protecting Microsoft Exchange

46 EMC AppSync 1.5.0 User Guide

Page 47: EMC AppSync™ 1.5.0 User Guide · documentation on EMC Data Domain products, go to the EMC Data Domain Support Portal (). EMC Corporation Hopkinton, ... EMC support, product, and

u Pause after I/O count of: 100 — This option allows you to choose how many I/Os canoccur between pauses. You can choose any value between 100 and 10,000 I/Os.

u Duration of pause (in milliseconds): 1000 — You can specify the duration of thepause in milliseconds. 1000 milliseconds = 1 second. If this option is not available,the pause will be one second long.)

Unmounting an Exchange copyWhen you select a copy to unmount, other copies that were mounted along with theselected copy will also be unmounted.

Before you begin

This operation requires the Data Administrator role in AppSync.

You can unmount a copy only from a list of copies made for a database.

Procedure

1. Navigate to the Copies page from the Protection or Service Plan pages:

l Protection > Microsoft Exchange > select the Exchange Mailbox Server which hosts thedatabase, then select the database with the copy to unmount.

l Service Plans > Microsoft Exchange> select a service plan, then select the Copies tab.

2. From the list of copies, select the copy and click Unmount from the button below.

The Unmount Confirmation dialog displays copies of other databases that weremounted along with the selected copy to be unmounted.

3. Click Yes to confirm the unmount of all the copies shown in the dialog.

The Unmount window displays the progress of the unmount operation. All copiesassociated with the selected copy will be unmounted.

Overview of Exchange copy restoreAppSync restores VNX copies of Exchange at the LUN level. In a RecoverPointenvironment, restore is at the consistency group level.

You can restore:

u A database along with its logs.

u A database's .edb file.

u Only the logs for a database.

u An active or passive database (in conjunction with any one of the three pointsmentioned above), if the server is a member of a DAG.

Affected entities during restoreWhen restoring from a copy, you may be prompted to restore items in addition to theones you selected.

An affected entity is data that resides on your production host that unintentionallybecomes part of a replica because of its proximity to the data you intend to protect. Youcan prevent affected entity situations by properly planning your data layout based onreplica granularity. The granularity of a replica depends upon the environment.

If there are affected entities in your underlying storage configuration, the Restore Wizardnotifies you of these items. The following scenarios produce affected entities that requireyou to acknowledge that additional items will be restored:

Protecting Microsoft Exchange

Unmounting an Exchange copy 47

Page 48: EMC AppSync™ 1.5.0 User Guide · documentation on EMC Data Domain products, go to the EMC Data Domain Support Portal (). EMC Corporation Hopkinton, ... EMC support, product, and

u For RecoverPoint, if the databases are in the same consistency group they becomeaffected entities when the other database is protected.

u For VNX, if the databases are on the same LUN they become affected entities whenthe other database is protected.

If the affected entity was protected along with the database that is selected for restore, itwill be restored by AppSync. Any other database that was not protected but is an affectedentity will be overwritten.

AppSync calculates affected entities for the consistency groups or LUNs of the databasethat is selected for restore. If the affected databases in turn partially reside on otherconsistency groups or LUNs, AppSync does not calculate affected entities on thoseconsistency groups or LUNs.

Affected entities are calculated on the basis of restore granularity. If both data and logare selected for restore, then affected entities are calculated for all the consistencygroups or LUNs on which the database resides. If only data or only log restore is selected,then the affected entities are calculated for the selected component's consistency groupor LUN only.

If the database's data and log components reside on the same consistency group or LUN,the option to restore only logs or restore only data is not available. You have the optiononly to restore data and logs. The only exception to this scenario is when you choose todo a differential copy restore.

Restoring from an Exchange copyYou can perform a restore of an Exchange copy from a copy or a database.

Before you begin

This operation requires the Data Administrator role in AppSync.

Procedure

1. Select Recover > Restore > Databases and logs from the action buttons at the bottom of thepage.

2. Select the copy to restore, and click Next.

The Select Options page is displayed.

3. From the Select Options page, select the appropriate restore options, and click Next.

Option Description

Both data and logs Available when restoring from full and copy backup.

Data Available when restoring from full and copy backup.

Logs Available when restoring from full, copy, and differentialbackup.

Recover and mountdatabases after restore

Leave this selected. If not selected, you must recover thedatabase manually.

Allow AppSync toactivate databases

Available for DAG only. If selected, the database copy isactivated on the server prior to restoring it.

Note

Exchange restores only to the active copy and AppSyncrestores to the server that created the copy.

Protecting Microsoft Exchange

48 EMC AppSync 1.5.0 User Guide

Page 49: EMC AppSync™ 1.5.0 User Guide · documentation on EMC Data Domain products, go to the EMC Data Domain Support Portal (). EMC Corporation Hopkinton, ... EMC support, product, and

The Restore Warnings page is displayed. This page may be displayed if the selectedcopy has affected entities.

4. Read the warning messages for the affected databases.

In case of Exchange 2013, AppSync attempts to determine if the selected database orany of the affected entities contain the public folder primary hierarchy mailbox. If amatch is found, you will see an error message that the restore operation cannotcontinue.

To determine where the public folder primary hierarchy mailbox resides, AppSyncrequires your user profile to have an additional Exchange role - the View-onlyOrganization role. If your account does not have this role, you will see a warningmessage.

5. Select the checkbox to indicate your agreement to restore other entities along with theselected copy.

You must manually unmount the databases that will be overwritten.

6. Review the Summary page and click Finish to restore the copy.

7. In the Results page, click View Details to see progress of the different phases that arepart of restoring a copy.

The last phase completed is displayed at the bottom of the list.

Recovering an Exchange database manuallyPerform a manual recover when you have not selected the Recover and mount the databasesafter restore option in the Restore wizard.

Before you begin

When you are recovering just a database file, verify that the transaction log files neededfor recovery are present. An unbroken sequence is required. To determine the minimumrequired range of logs, run the following command against each database after therestore and before running recovery: ESEUTIL /mh <database name>. Look for the LogRequired information in the ESEUTIL output.

If the database is the active copy, it must first be unmounted in order to run the ESEUTILcommand successfully.

Perform the following tasks to do the manual recovery of the databases.

Procedure

1. Delete the checkpoint file (Enn.chk).

This is optional.

2. Delete the restore.env file (EnnRESTORE.env).

3. Recover the databases manually in soft recovery mode using the ESEUTIL command.

eseutil /r E<nn> /l <logpath> /s <chkpt file path> /d <database path>

4. Use Exchange Management Console to mount all the restored databases.

Partial restoreYou can restore data alone or restore data and then logs separately.

Before you perform a partial restore, you must ensure that your database layout fulfillssome conditions.

Protecting Microsoft Exchange

Recovering an Exchange database manually 49

Page 50: EMC AppSync™ 1.5.0 User Guide · documentation on EMC Data Domain products, go to the EMC Data Domain Support Portal (). EMC Corporation Hopkinton, ... EMC support, product, and

RecoverPoint partial restore considerationsIn a RecoverPoint environment, the granularity of restore is at the consistency group level.When you restore a database from a bookmark, any bookmarks that are newer than thebookmark being restored are deleted. The corresponding application copies will also bedeleted. The following best practices are recommended:u The database and logs must reside in different consistency groups.

If you have data and logs for an Exchange database in the same consistency group,partial restore is not supported.

u The logs should be restored from a newer Differential backup copy. AppSync does notsupport restoring just the logs from a Full or Copy backup in a RecoverPointenvironment.

In a VNX environment, the database and logs must reside on different LUNs.

Restore dataRestore data from a Full or Copy backup. You can restore data only to preserve the logsthat are on the production host.

In the Restore wizard, restore data from the most recent copy and select the Recover andmount the databases after restore option.

Restore logsRestore data from a Full or Copy backup and then restore the logs from a later copy tomake the copy current.

Restoring a copy from the logs is a two-step process. Run the Restore wizard and select afull backup copy to restore only data. Do not opt to Recover and mount the databases afterrestore in this run.

Run the Restore wizard again and select a backup copy (a differential backup in case ofRecoverPoint) to restore only the logs. This time, select the Recover and mount thedatabases after restore option. This copy must be later than the backup copy that youselected during the first run.

Note

If your restore operation includes restoring logs, the restore will overwrite any logscreated since the copy was created. Therefore, after the restore, your database reflectsthe point in time when the copy was created. If you want to preserve logs created sincethe copy, you should choose to restore only the database(s), preventing AppSync fromrestoring older logs over your newer logs, or make a copy of the current log files onanother volume.

Restoring logs from crash-consistent (APiT) copyRestore an any point in time (APiT) copy using logs.

Before you begin

This is applicable only in a RecoverPoint environment.

Protecting Microsoft Exchange

50 EMC AppSync 1.5.0 User Guide

Page 51: EMC AppSync™ 1.5.0 User Guide · documentation on EMC Data Domain products, go to the EMC Data Domain Support Portal (). EMC Corporation Hopkinton, ... EMC support, product, and

Note

Restoring logs from a crash-consistent copy is not a recommended practice as thebackup is not taken with the Exchange writer. However, the option can be used tominimize data loss when application consistent copies for that time window are notavailable to restore from.

To use log files from a crash-consistent copy, follow these steps:

Procedure

1. Restore a database from an application-consistent copy without recovering it.

2. Mount a copy from a newer point in time.

3. Copy the newer log files to the production log volume.

4. Use ESEUTIL /k Enn (Enn is the log prefix for the database) to check the logs, thenrecover and mount the database.

Restoring a deleted Exchange databaseAppSync can restore a database even if it is deleted from Exchange in standalone andDAG environments.

Before you begin

u If you deleted the database files and created an empty database, dismount thedatabase and delete its files. The database that you are restoring should not havedata and log files at the original location where they were when the empty databasewas created. The log file signatures will not match those in the AppSync copy and therestore will fail.

u If you completely remove the database and recreate it, the database name and its filepath and names should be exactly the same as those in your AppSync copy. If you donot recreate the deleted database, AppSync will recreate it.

u In a DAG environment:l There should be no active or passive copies of the deleted DAG database.

l AppSync will recreate and restore only the active database copy to the server thatcreated the AppSync copy. After the database has been restored and recovered,you can recreate the DAG passive copies.

If you have not selected the Recover and mount the databases after restore option in theRestore wizard, perform the following manual steps to recover the database.

Procedure

1. Copy the required logs from _restoredLogs directory to the directory where the currentlogs reside.

2. If the log file prefix changed, rename the required log files to use the new prefix.

3. Delete the E<nn>restore.env file.

4. Recover the databases manually in soft recovery mode using the ESEUTIL command.

eseutil /r E<nn> /l <logpath> /s <chkpt file path> /d <database path>

5. Delete the _restoredLogs directory which should be empty after the database isrecovered.

Protecting Microsoft Exchange

Restoring a deleted Exchange database 51

Page 52: EMC AppSync™ 1.5.0 User Guide · documentation on EMC Data Domain products, go to the EMC Data Domain Support Portal (). EMC Corporation Hopkinton, ... EMC support, product, and

Item level restoreAppSync can restore individual Exchange 2010 mailboxes and messages when EMC

®

ItemPoint™

for Microsoft®

Exchange™

Server is installed.

The following software must be installed and running on the mount host where you wantto perform item level restores:u AppSync host plug-in

u EMC ItemPoint for Microsoft Exchange Server

u Microsoft Exchange MAPI client

u Microsoft Outlook 32-bit client

Restoring individual mailboxes and mailbox itemsUse ItemPoint to restore individual Exchange mailboxes and mailbox items.

Before you begin

This operation requires the Data Administrator role in AppSync.Procedure

1. Select Recover > Restore > Individual items from the row of buttons at the bottom of thepage on a Databases or Copies page.

The AppSync Item Restore Wizard opens.

2. From the Select Copy screen, select a copy from the list. If the copy was made withRecoverPoint, you can Add a desired point in time and select that copy. Specify a dateand time (and DAG server if appropriate) when you select this option. (If you startedthe wizard from a copy, you don't perform this step.)

3. If the copy is unmounted you will then select mount options. From the Select MountOptions screen, select the mount host and the mount path (original path or default).

4. From the Item Level Restore Settings screen, enter user name and passwordcredentials to access the item level restore wizard, and select a temporary directory.The temporary directory is used by ItemPoint to store files used to recover data. Thesefiles may require disk space equal to the size of the .log files.

This operation requires the Microsoft Exchange MAPI client and Outlook 32-bit client.For additional details on the required Exchange roles and permissions for the accountused to access ItemPoint, refer to the EMC ItemPoint for Microsoft Exchange Serverdocumentation.

5. From the Summary screen, confirm your settings and select Finish to launch EMCItemPoint for Microsoft Exchange Server. The Results screen displays progress andItemPoint is launched.

After you finish

Use ItemPoint to restore mailbox items. For more information about using EMC ItemPointfor Microsoft Exchange Server, refer to the EMC ItemPoint for Microsoft Exchange Serverdocumentation.

If copy expiration was disabled before the restore, reenable expiration.

Protecting Microsoft Exchange

52 EMC AppSync 1.5.0 User Guide

Page 53: EMC AppSync™ 1.5.0 User Guide · documentation on EMC Data Domain products, go to the EMC Data Domain Support Portal (). EMC Corporation Hopkinton, ... EMC support, product, and

CHAPTER 5

Protecting SQL Server

u Overview of SQL Server support.............................................................................54u SQL Server prerequisites and supported configurations........................................ 54u Required permissions and rights........................................................................... 54u Discovering SQL Server instances..........................................................................56u SQL Server User Databases folder......................................................................... 56u Update login credentials for a SQL Server instance................................................57u Protect a SQL Database......................................................................................... 57u Service plan summary and details......................................................................... 60u SQL Server mount host requirements ....................................................................67u Restoring from a SQL Server copy.......................................................................... 72

Protecting SQL Server 53

Page 54: EMC AppSync™ 1.5.0 User Guide · documentation on EMC Data Domain products, go to the EMC Data Domain Support Portal (). EMC Corporation Hopkinton, ... EMC support, product, and

Overview of SQL Server supportUse AppSync to create and manage application-consistent copies of Microsoft SQL Serverdatabases.

Some feature highlights available in the current release:

u Dynamic discovery of user databases during service plan run.u Support for databases on physical hosts and RDMs on virtual hosts.u Protection for standalone production SQL Server instances.u Mount, mount with recovery, and restore on a standalone server.

SQL Server prerequisites and supported configurationsVerify that your SQL Server configuration meets the prerequisites listed here. Refer to theAppSync Support Matrix for information on required service packs and supportedoperating systems.

u AppSync supports SQL Server on various Windows operating systems. Refer to theAppSync Support Matrix for specific SQL Server operating system requirements.

u SQL Server database and its transaction logs must be located on disks in the samestorage array.

u Multiple SQL Server databases can exist on the same volume, or across multiplevolumes. However, it is best practice to not mix databases from more than one SQLServer instance on a volume.

u Multiple SQL Server instances can coexist on the same host.u The SQL Server database must be online during replication.u System databases are not supported.u Full-text catalogs associated with a filegroup are included as part of a replica of that

filegroup. If the full-text catalogs are not located on supported storage, protection willfail. When using full-text catalogs, you should make sure that the storage devicewhere the catalog is located does not include data that is not related to the database.

u SQL Server database snapshots are not discovered.u Mount host must have SQL Server installed if you want to recover databases from the

mounted copy. It is recommended to use the same version of SQL Server on theproduction and mount hosts.

u AppSync does not truncate transaction logs so you should create a databasemaintenance plan to coexist with your scheduled replications. Refer to Microsoft SQLServer documentation for information about creating a database maintenance plan.

u By subscribing both the principal and the mirror databases to a service plan,AppSync creates a copy of a SQL Server database with an active database mirroringsession even when the mirror database resides on a different SQL Server host. If youattempt to create a copy of a database mirror, the copy fails with an error indicatingthat the database is currently not in a valid state.

Required permissions and rightsUsers require certain permissions and rights to protect databases in a SQL Serverenvironment. The user account must be configured to use either SQL Serverauthentication or Windows authentication.

The Windows user account can either be a member of the local Administrators group or anon-Administrator account with the restrictions outlined next.

In SQL Server 2012, the default virtual account used in the service startup account of thedatabase engine does not have the requisite file system permissions for accessing the

Protecting SQL Server

54 EMC AppSync 1.5.0 User Guide

Page 55: EMC AppSync™ 1.5.0 User Guide · documentation on EMC Data Domain products, go to the EMC Data Domain Support Portal (). EMC Corporation Hopkinton, ... EMC support, product, and

mounted or restored database files. Therefore, recovery of SQL databases may fail. Toovercome this, you must change the service startup account for the SQL Server databaseengine to use a domain user account with appropriate privileges and permissions.

Setting up permissions for a domain account that does not have local administratorprivileges

Additional setup is required if you need to use a domain account that does not have localadministrator privileges.

Procedure

1. Create a Windows domain user (for example, sqluser) and make it part of the DomainUsers group.

2. In SQL Server Management Studio, create a new login, using the newly createddomain account and select Windows authentication.

3. In the General page, select master as the default database.

4. In the Server Roles page, select sysadmin and public.

5. In the User Mapping page, set the database role membership to public.

6. Add the user to each SQL Server instance on which this user needs access:

a. On the domain controller: On the hosts added to the domain: Start > Programs >

Administrative Tools > Domain Controller Security Policy

On the hosts added to the domain: Start > Programs > Administrative Tools > LocalSecurity Policy

b. Access security settings and allow login locally (Security Settings > Local Policies >

User Rights Assignment > Allow log on locally)

c. Add the user (the example is sqluser) you created earlier.

7. Log in to the domain controller machine for each host added to that domain that usesAppSync and set the Security policy.

8. Grant this user read and write permissions on the directory where the AppSync plug-inis installed (typically C:\Program Files\EMC\AppSync Host Plug-in).

9. Use this user from AppSync when you configure protection or perform other actionsthat require access to SQL Server.

10.At the time of restore, if you select the option to back up the transaction logs to a file,the user must have rights to the target directory.

Setting permissions for a local, non-administrator userA user account that does not have local administrator privileges needs certainpermissions before it can be used to access SQL Server from AppSync.

Procedure

1. Create a Windows user and make it part of the Users group.

2. In SQL Server Management Studio, create a new login, using the newly createdaccount. For the authentication type, select Windows authentication.

3. In the Server Roles page, select sysadmin and public.

4. In the User Mapping page, set the database role membership to public.

5. Add the user to each SQL Server instance on which this user needs access:

Protecting SQL Server

Setting up permissions for a domain account that does not have local administrator privileges 55

Page 56: EMC AppSync™ 1.5.0 User Guide · documentation on EMC Data Domain products, go to the EMC Data Domain Support Portal (). EMC Corporation Hopkinton, ... EMC support, product, and

a. On the host running the plug-in, set the security policy. On the domain controll,run Start > Programs > Administrative Tools > Local Security Policy.

On the hosts added to the domain: StartProgramsAdministrative ToolsLocal SecurityPolicy.

b. Access security settings and allow login locally (Security Settings > Local Policies >

User Rights Assignment > Allow log on locally).c. Add the user (the example is sqluser) you created earlier.

6. Grant this user read and write permissions on the folder where the AppSync plug-in isinstalled.

7. If you select the restore option to back up the transaction logs to a file, the user musthave rights to the target directory.

Discovering SQL Server instancesTo keep AppSync up to date, you should discover SQL Server instances when there iscreation or deletion of instances.

Before you begin

This operation requires the Data Administrator role in AppSync.

Procedure

1. Navigate to Protection > Microsoft SQL Server.

2. From the Discover Instances popup button below:

l Select On Server and select one of the servers to discover instances from.

l Select Add Servers to add a new server to AppSync.

Discovering SQL Server databasesAppSync discovers new user databases on demand or automatically on a service planrun.

When you click the User Databases folder the first time, AppSync discovers databasesand lists them. To manually discover databases again, click Discover Databases in theDatabases page.

On the other hand, when you subscribe the User Databases folder to a plan, databasesare automatically discovered on each run of the plan. All databases that are currentlyONLINE, including those that were added to the SQL instance after the last service planrun, are automatically protected.

If individual databases are subscribed to a plan instead of the User Databases folder,AppSync does not automatically discover any new databases that were created after thelast run of the plan. In this case, AppSync rediscovers the database information of all thedatabases originally subscribed to the plan and protects the ones that are ONLINE.

SQL Server User Databases folderThe SQL Server User Database folder contains all the user databases for this SQL Serverinstance that have been discovered and stored in the AppSync database.

From the Protect button, you can subscribe the folder to a plan. By doing so, all thedatabases part of this folder are also protected. Once protected, the Service Plan columndisplays the name of the plan.

Clicking on the User Databases folder lists the individual databases part of this SQL Serverinstance.

Protecting SQL Server

56 EMC AppSync 1.5.0 User Guide

Page 57: EMC AppSync™ 1.5.0 User Guide · documentation on EMC Data Domain products, go to the EMC Data Domain Support Portal (). EMC Corporation Hopkinton, ... EMC support, product, and

In the Databases page, an entry in the Service Plans column tells you that all thedatabases that are part of the folder are protected. Any user databases added to theinstance will also be protected. AppSync will automatically stop protecting any databasesremoved from the instance.

Update login credentials for a SQL Server instanceIf the credentials for a SQL Server instance have changed, you need to update them inAppSync.

Before you begin

This operation requires the Data Administrator role in AppSync. In addition, you shouldknow the new credentials for the SQL Server instance.

Procedure

1. Select Protection.

2. Select Microsoft SQL Server.

3. Select an instance.

4. Click Connection Settings from the row of buttons below.

5. Enter the SQL Server credentials.

The credentials can be a Windows user or a SQL user with required privileges.

Protect a SQL DatabaseProtect a SQL database by subscribing it to an AppSync service plan.

In order to optimize performance, AppSync protects a maximum of 35 databases perinstance. If more than 35 databases are subscribed per instance, AppSync breaks theminto groups of 35 and protects the groups sequentially.

This number (35) is a server setting and can be modified, if required. Contact EMCSupport to do so.

You can protect objects in different ways from different places in AppSync:

u Choose Subscribe to Plan and Run when you want to protect a selected databaseimmediately. The service plan is executed for the database alone.

u Choose Subscribe to Plan when you want to schedule the protection for later.Protection for databases that are part of the service plan are executed at thescheduled time.

u Choose an appropriate service plan from Create copy using plan in the database Copiespage.

u Choose Run from the SQL Server Service Plans page to run the whole planimmediately.

Configuring protection for SQL Server databaseYou subscribe a database or the User Databases folder to a service plan and run theservice plan immediately, or schedule the service plan to run at a later time.

Before you begin

This operation requires the Data Administrator role in AppSync.

Protecting SQL Server

Update login credentials for a SQL Server instance 57

Page 58: EMC AppSync™ 1.5.0 User Guide · documentation on EMC Data Domain products, go to the EMC Data Domain Support Portal (). EMC Corporation Hopkinton, ... EMC support, product, and

Procedure

1. Navigate to Protection > Microsoft SQL Server.

2. Click a server instance to display its databases.

l To protect all databases within the User Database folder, select the User Databasefolder.

l To protect an individual database, click User Databases and select a database fromthe list.

3. From the Protect popup button below, select the appropriate service plan from:

Option Description

Subscribe to Plan andRun

To subscribe the database for protection and run the planimmediately for the selected database(s).

Subscribe to Plan To subscribe the database for protection. Protection for alldatabases that are part of the service plan are executed atthe scheduled time.

Unsubscribing a database from a service planWhen you unsubscribe an individual database from a service plan, all existing databasecopies will be retained; only further protection will be removed.

Before you begin

This operation requires the Data Administrator role in AppSync.

Procedure

1. Navigate to Protection > Microsoft SQL Server.

2. Click the SQL server instance.

3. Click User Databases.

4. Select the database to unsubscribe from a service plan.

l Select the plan to unsubscribe from Protect > Unsubscribe from Plan. Only plans towhich the database is subscribed to are in the popup list.

l To unsubscribe from all service plans, select Unsubscribe from Plan > All.

Discovering SQL Server databasesUse the Discover New Databases command to update the SQL Server databases known toAppSync.

Before you begin

This operation requires the Data Administrator role in AppSync.

Procedure

1. Navigate to Protection > Microsoft SQL Server.

2. Click a server instance, then the User Databases folder.

3. In the User Databases page, click Discover New Databases from the row of buttonsbelow.

Protecting SQL Server

58 EMC AppSync 1.5.0 User Guide

Page 59: EMC AppSync™ 1.5.0 User Guide · documentation on EMC Data Domain products, go to the EMC Data Domain Support Portal (). EMC Corporation Hopkinton, ... EMC support, product, and

Discovery can take several minutes to complete depending on the size of theinstance.

Viewing SQL database copiesView the list of database copies by navigating to Protection > Microsoft SQL Server andselecting a SQL Server, then a database.

Before you begin

This operation requires the Data Administrator role in AppSync.

You can also see details of a copy from the Copies tab of the Service Plan.The list of copies can be filtered by time of creation, and by service plan. In the ServicePlan Copies tab, you can also filter by instance.

Column Description- -Status l Green: successful

l Yellow: completed with errors

l Red: failed

Name Name of the copy. The copy is named with the time at which it wasmade.

Service Plan Name of the service plan associated with the copy.

SQL Server Backup Type Type of SQL backup: Full or Copy

Mount Status Whether the copy is mounted or not. If mounted, displays the name ofthe mount host.

Copy Type Type of copy can be one of these:l CDP Bookmark

l CRR Bookmark

l VNX Snap

Recovery Values can be:l Not Recovered - when copy is not mounted or it is a filesystem

mount

l Successful - when Recovery is successful

l Failed - when Recovery failed

The following additional details are displayed in the Service Plan Copies tab.

Instance The SQL Server instance that hosts the database.

Database The name of the copy's database.

Time The time at which the database copy was made.

Server Name of the server that hosts the SQL Server instance.

Site RecoverPoint site information.

Protecting SQL Server

Viewing SQL database copies 59

Page 60: EMC AppSync™ 1.5.0 User Guide · documentation on EMC Data Domain products, go to the EMC Data Domain Support Portal (). EMC Corporation Hopkinton, ... EMC support, product, and

Creating a database copy from the Copies pageCreate a copy of a database by subscribing it to an AppSync SQL Server service plan fromthe Copies page.

Before you begin

This operation requires the Data Administrator role in AppSync.Procedure

1. Navigate to Protection > Microsoft SQL Server.

2. Click a server instance and click User Databases to display its databases.

3. From this list, click the database to view its copies.

The Copies page is displayed.

4. From the Create a copy using plan popup below, select the appropriate service plan.

The service plan runs immediately for the database.

Expiring a SQL database copy on demandExpiring a database copy removes it from the AppSync database and can free up storage,depending on the replication technology and copy state.

Before you begin

This operation requires the Data Administrator role in AppSync.

Expiring a copy that was made with RecoverPoint does not remove the correspondingbookmark from RecoverPoint itself.

Procedure

1. Select Protection > Microsoft SQL Server.

2. Click a SQL Server instance to display its database folders.

3. Click the User Database folder.

4. Click the database whose copies you want to expire.

5. From the Copies page, select one or more copies to expire.

You can also perform this action from the Service Plan's Copies tab.

6. Select Expire from the row of buttons below.

Verify that you want to expire the copy you selected and any associated copies listedand confirm.

Service plan summary and detailsThe service plan Settings tab shows the name, description, schedule, and status of theservice plan. Click the phases for detailed service plan settings and other tabs forinformation about subscriptions, lists of copies and events generated by the plan.

Protecting SQL Server

60 EMC AppSync 1.5.0 User Guide

Page 61: EMC AppSync™ 1.5.0 User Guide · documentation on EMC Data Domain products, go to the EMC Data Domain Support Portal (). EMC Corporation Hopkinton, ... EMC support, product, and

Service plan scheduleA service plan's schedule is set in the Plan Startup phase.

A service plan's Startup Type (scheduled or on demand) determines whether the plan isrun manually, or configured to run on a schedule. Options for scheduling when a serviceplan starts are:

u Specify a recovery point objective (RPO)l Set an RPO of 30 minutes or 1, 2, 3, 4, 6, 8, 12, or 24 hours

l Minutes after the hour are set in 5 minute intervals

l Default RPO is 24 hours

u Run every day at certain timesl Select up to two different times during the day

l Minutes after the hour is in 5 minute intervals

l There is no default selected

u Run at a certain time on selected days of the weekl One or more days of the week (up to all seven days) can be selected

l There is no default day of the week selected. Default time of day is 12:00 AM.

u Run at a certain time on selected days of the monthl Select one or more days of the month (up to all days)

l Select one time of day. Available times are at 15 minute intervals.

l Default is the first day of the month

Overriding service plan schedulesYou can set individual schedules for databases subscribed to a service plan, overridingthe generic recurrence setting.

Before you begin

This operation requires the Service Plan Administrator role in AppSync.

You can override only the settings of the recurrence type already selected for the serviceplan.

Procedure

1. Navigate to Service Plans and select one of the plans from the list.

2. From the Settings tab, select the Plan Startup phase.

You will see the Plan Startup Defaults pane on the right.

3. Note the Recurrence Type selected for the plan.

A recurrence type can be set only if Scheduled is selected as the Startup Type.

4. Select the Start service plan phase.

You will see the Start service plan pane on the right.

5. Note the Recurrence Type selected for the plan.

A recurrence type can be set only if Automatic is selected in the Startup.

6. Click the Plan Startup Overrides tab.

You can see the list of all databases subscribed to the plan.

Protecting SQL Server

Service plan schedule 61

Page 62: EMC AppSync™ 1.5.0 User Guide · documentation on EMC Data Domain products, go to the EMC Data Domain Support Portal (). EMC Corporation Hopkinton, ... EMC support, product, and

7. Select one or more databases and click Override Schedule.

The Override Schedule dialog is displayed.

8. Set the schedule based on your requirement and click OK.

For example, if the default recurrence type is On specified days of the month, and the rulesetting is to Run at 12:00 AM on the 1st day of every month, you can override the time andthe day for individual datastores.A Pencil icon indicates that default settings have been overidden.

Application discoveryBefore creating the User Database folder's copy, AppSync examines the SQL Serverinstance to look for changes such as addition, deletion, renaming, or movement ofdatabases. If individual databases are being protected, AppSync rediscovers informationabout the selected database. A database is protected only if it is in the ONLINE state.

There are no user settings associated with this phase and it cannot be disabled.

Application mappingAfter discovering the application, AppSync maps it to array storage, and protectionservices such as RecoverPoint. There are no user settings associated with this phase andit cannot be disabled.

Pre-copy scriptTo perform preparatory steps before creating a copy, specify a pre-copy script andparameters on a service plan's Settings tab.

The pre-copy script runs as per the schedule set in the Plan Startup phase. Valid scriptformats are .bat, .exe, and .ps1 (PowerShell scripts). You can optionally enter credentialsto run the script as a specific user. The script runs as Local System by default.

The default location of the script is %ProgramData%\EMC\AppSync\scripts\ onthe application host.

Exact parameters depend on your script. Parameters with spaces must be enclosed indouble quotes.

This phase can be enabled or disabled. This operation requires the Service PlanAdministrator role in AppSync.

Create copyThe Create Copy phase creates a copy based on the replication technology specified in theservice plan.

This phase specifies the backup type of SQL Server copy to make, the preferred type ofstorage - VNX Snapshot or RecoverPoint Bookmark. For VNX Snapshot copies, this phasealso sets the period for automatic expiration of the copies.

There are three types of copy phases depending on which plan you use:u Create local copy — For Bronze service plans, creates a local copy (CDP or Snapshot) for

RecoverPoint on your server.

u Create remote copy — For Silver service plans, creates a remote copy (RecoverPointbookmark or VNX Snap if NFS) on the target.

Protecting SQL Server

62 EMC AppSync 1.5.0 User Guide

Page 63: EMC AppSync™ 1.5.0 User Guide · documentation on EMC Data Domain products, go to the EMC Data Domain Support Portal (). EMC Corporation Hopkinton, ... EMC support, product, and

u Create local and remote copy — For Gold service plans, creates both local and remotecopies (RecoverPoint bookmarks) on the target.

SQL Server backup typeTwo backup types are supported: Full and Copy.

u Full protects the database, and the active part of the transaction log. This copy type istypically used when the copy will be considered a backup of the database or whenthe copy will be mounted in order to use a third-party product to create a backup ofthe database. This type of copy allows you to restore transaction logs to bring thedatabase forward to a point in time that is newer than the copy, assuming you havebacked up those transaction logs. AppSync uses Microsoft SQL Server’s VDI snapshotfeature to create this type of copy.

u Copy protects the database and the active part of the transaction log without affectingthe sequence of backups. This provides DBAs with a way to create a copy withoutinterfering with third-party backup applications that may be creating full and/ordifferential backups of the SQL Server databases. AppSync uses Microsoft SQLServer’s VDI snapshot feature to create this type of copy.

Automatic expiration of VNX Snapshot copiesThe automatic expiration value in a service plan's Create Copy phase specifies themaximum desired number of VNX Snapshot copies that can exist simultaneously.

When the "Always keep x copies" value is reached, older copies are expired to freestorage for the next copy in the rotation. Failed copies are not counted. AppSync does notexpire the oldest copy until its replacement has been successfully created. For instance,if the number of copies to keep is 7, AppSync will not expire the oldest copy until the 8thcopy is created.

This setting is independent of the VNX pool policy settings in Unisphere for automaticdeletion of oldest snapshots. The service plan administrator should work with the storageadministrator to ensure that the VNX pool policy settings will enable the support of thespecified number of snapshot copies for the application residing in that pool.

AppSync does not expire copies under the following circumstances:

u Mounted copies are not expired.

u A copy that contains the only replica of a database will not be expired.

Post-copy scriptTo perform cleanup or other post-copy steps after creating a copy, specify a post-copyscript and parameters in a service plan's Settings tab.

The script runs on successful completion of the Create copy phase. Valid script formatsare .bat, .exe, and .ps1 (PowerShell scripts). You can optionally enter credentials to runthe script as a specific user. The script runs as Local System by default.

The default location of the script is %ProgramData%\EMC\AppSync\scripts\ onthe application host.

Exact parameters depend on your script. Parameters with spaces must be enclosed indouble quotes.

This phase can be enabled or disabled. This operation requires the Service PlanAdministrator role in AppSync.

Protecting SQL Server

Post-copy script 63

Page 64: EMC AppSync™ 1.5.0 User Guide · documentation on EMC Data Domain products, go to the EMC Data Domain Support Portal (). EMC Corporation Hopkinton, ... EMC support, product, and

Unmount previous copyThe service plan unmounts a previously mounted copy after creating the new copy. Theexception is a copy that was mounted on-demand as opposed to by the service plan; inthis case the on-demand mounted copy is not unmounted.

All the recovered databases are shut down as part of this phase. There are no usersettings associated with this phase and it can be enabled or disabled.

Mount copyThe Mount copy phase either mounts the copy or mounts and recovers the copy. Thisphase can be enabled or disabled.

In the Mount Copy Defaults settings, you can set values to Mount copy or Mount andrecover copy.

In the Mount copy settings, you set the mount host value, mount path and mountpermissions (read-only or read-write). Other mount settings determine where the SQLmetadata files are copied and the RecoverPoint image access type.

Field Description

Mount on Server The server on which to mount the copy. All SQL Servers registeredwith AppSync are available for selection.

Mount withaccess

Type of access the copy should be mounted with.

Mount path The Default Mount Path is %SystemDrive%\AppSyncMounts\%%ProdServerName%%. You can enter a valid path by typing.

To specify the value of a Windows environment variable in the mountpath, delimit the variable name with single percent signs (%). Thedefault path also contains an AppSync variable (ProdServerName)which is delimited with two percent signs (%%).

The following characters are not valid in the path:< > : " / | ? *

The mount path could also be Same as Original Path. However, thisoption is not available when the mount host is the same asproduction host.

Copy metadatafiles to

The Default Path is the location to copy VDI and VSS metadata files:%SystemDrive%\AppSyncMounts\%%ProdServerName%%.You can enter a valid path by typing.

The following characters are not valid in the path: < > : " / | ? *

If you are backing up the database to another media, you must backup these metadata files as well.

AppSync can integrate with third-party backup software to create tapebackups of SQL Server copies. The target directory specified heremust be part of the backup.

Image accessmode (duringRecoverPointmount)

u Logged Access:Use this mount option if the integrity check entails the scanningof large areas of the replicated volumes. This is the only optionavailable when you mount to the production host.

Protecting SQL Server

64 EMC AppSync 1.5.0 User Guide

Page 65: EMC AppSync™ 1.5.0 User Guide · documentation on EMC Data Domain products, go to the EMC Data Domain Support Portal (). EMC Corporation Hopkinton, ... EMC support, product, and

Field Description

u Virtual Access with Roll:Provides nearly instant access to the copy, but also updates thereplicated volume in the background. When the replicatedvolumes are at the requested point in time, the RPA transparentlyswitches to direct replica volume access, allowing heavyprocessing.

u Virtual Access:Provides nearly instant access to the image; it is not intended forheavy processing.

In the Mount and recover copy settings, you specify the recovery instance, the type ofrecovery, and the database naming details. Other settings are similar to the Mount copysettings such as mount path and image access type.

Field Description

RecoveryInstance

The SQL Server instance to be used for recovery. If the connectionsettings are not set or are invalid for the instance, the SQL ServerConnection Settings dialog appears. Click Connection Settings to resetthe credetials.

Recovery Type Available options are: Recovery (default), No Recovery, and Standby

Databaserenaming

This drop down includes:u Use original database names (default if alternate instance):

This is not available for selection if the Recovery Instance is theproduction instance.

u Use original database names with suffix:This is the default if Recovery Instance is the production instance.

Naming Suffix Only displayed when Original database names with Suffix is selected inthe Database renaming dropdown. The default value is AppSync.

Mount path The default mount path, when the mount host is the same as theproduction host, is %SystemDrive%\AppSyncMounts\%%ProdServerName%%.

To specify the value of a Windows environment variable in the mountpath, delimit the variable name with single percent signs (%). Thedefault path also contains an AppSync variable (ProdServerName)which is delimited with two percent signs (%%).

The following characters are not valid in the path: < > : " / | ? *

The mount path could also be Same as Original Path. You can selecteither of the options.

Copy metadatafiles to

By default, the location to copy VSS metadata files is the same as themount path.

If the mount path is Same as Original Path, then this defaults to%SystemDrive%\AppSyncMounts\%%ProdServerName%%.

The following characters are not valid in the path: < > : " / | ? *

If you are backing up the database to another media, you mustbackup these metadata files as well.

Protecting SQL Server

Mount copy 65

Page 66: EMC AppSync™ 1.5.0 User Guide · documentation on EMC Data Domain products, go to the EMC Data Domain Support Portal (). EMC Corporation Hopkinton, ... EMC support, product, and

Field Description

AppSync can integrate with third-party backup software to create tapebackups of SQL Server copies. The target directory specified heremust be part of the backup.

Image accessmode (duringRecoverPointmount)

u Logged Access:Use this mount option if the integrity check entails the scanning oflarge areas of the replicated volumes. This is the only optionavailable when you mount to the production host.

u Virtual Access with Roll:Provides nearly instant access to the copy, but also updates thereplicated volume in the background. When the replicatedvolumes are at the requested point in time, the RPA transparentlyswitches to direct replica volume access, allowing heavyprocessing.

u Virtual Access:Provides nearly instant access to the image; it is not intended forheavy processing.

Overriding mount settings in a service planIf multiple registered SQL Servers are subscribed to the same plan, you can selectdifferent mount and recover settings for each SQL Server, overriding the generic settings.

Before you begin

This operation requires the Data Administrator role in AppSync.Procedure

1. Navigate to Service Plans > Microsoft SQL Server and click one of the plans from the list.

2. From the Settings tab, select the Mount copy phase.

3. On the right pane, select the Mount Copy Overrides tab.

The list of servers include all SQL servers whose databases are subscribed to thisplan.

Based on whether Mount copy or Mount and recover copy is selected, the default settingsdisplay for all the Servers.

4. Select the Server whose settings you want to override and click Set Overrides.

The Override Default Mount Settings dialog is displayed.

5. Select options only for those mount settings that you wish to override.

Fields that do not have a selection retain their default settings.

6. Click OK.

A pencil icon appears in the first column of the Server's row whose default mountsettings you changed.

7. To revert back to default settings for a server, click Use Default Settings.

Protecting SQL Server

66 EMC AppSync 1.5.0 User Guide

Page 67: EMC AppSync™ 1.5.0 User Guide · documentation on EMC Data Domain products, go to the EMC Data Domain Support Portal (). EMC Corporation Hopkinton, ... EMC support, product, and

Post-mount scriptSpecify a post-mount script and parameters from the Post-mount script option in theSettings tab of a service plan.

The script runs on successful completion of the mount copy or mount with recoveryphase. This script is typically used for backup.

From the Server drop-down, select the server on which to run the script. You canoptionally run it on a registered host other than the mount host, and enter credentials torun the script as a specific user.

The default location of the script is %ProgramData%\EMC\AppSync\scripts\ onthe application host.

Exact parameters depend on your script. Parameters with spaces must be enclosed indouble quotes.

This phase can be enabled or disabled. This operation requires the Service PlanAdministrator role in AppSync.

Unmount copyThe final phase in the service plan unmounts the copy. This phase is disabled if theUnmount previous copy phase is enabled. There are no user settings associated with thisphase.

If you have chosen to Mount and recover copy in the Mount copy phase, all the mounteddatabases are shut down as part of this phase.

Custom shutdown script prior to unmountPrior to unmount, if you wish to perform a customized shut down of the databases, youcan place a script at the following location: %ProgramData%\EMC\AppSync\script\.

The script name must be in this format:<ServicePlanName>_<host_ProductionInstanceName OR ProductionInstanceName>_ShutdownSQL.bat where:u ServicePlanName is the name of the service plan that the database is subscribed tou host_ProductionInstanceName OR ProductionInstanceName:

l In host_ProductionInstanceName , you can replace host by another name, theProductionInstanceName is needed irrespective of whether there are different SQLinstances or not.

l Use ProductionInstanceName in case of default production instance which isequal to the host name.

Note

Using the _ as a separator in the script file name is mandatory.

In the absence of a customized script, AppSync will perform a shut down of thedatabases prior to unmount.

SQL Server mount host requirementsThe mount host requires the same versions of the AppSync plug-in, Windows, SQL Server,and HBA drivers as the production host.

If database recovery is not performed, then SQL Server is not required on the mount host.

Protecting SQL Server

Post-mount script 67

Page 68: EMC AppSync™ 1.5.0 User Guide · documentation on EMC Data Domain products, go to the EMC Data Domain Support Portal (). EMC Corporation Hopkinton, ... EMC support, product, and

If the mount host is a virtual machine, the Virtual Center must be registered withAppSync. This is needed to mount RDMs. Virtual disks are not supported.

Mount considerations for SQL ServerMount host must have SQL Server installed if you want to recover databases from themounted copy. If the mount host is a virtual machine, the Virtual Center must beregistered with AppSync. This is needed to mount RDMs. Virtual disks are not supported.

Mount and production host versionsu If the major version of the SQL Server instance on the production mount host is later

than that of the mount host, recovery will fail for all databases belonging to thatinstance.

u If the major version of the SQL Server instance on the production mount host is earlierthan that of the mount host, recovery will succeed only if the recovery type is eitherRECOVERY or NORECOVERY. Recovery will fail if recovery type is STANDBY.

u If the major version of the SQL Server instance on the production mount host is sameas that of the mount host, but the minor version is earlier, recovery will fail for alldatabases belonging to that instance.

u If the major version of the SQL Server instance on the production mount host is sameas that of the mount host, but the minor version is later, recovery will succeed only ifthe recovery type is either RECOVERY or NORECOVERY. Recovery will fail if recoverytype is STANDBY.

Mounting a SQL Server database copy on-demandYou can initiate an on-demand mount of a database copy from a copy or a database.

Before you begin

This operation requires the Data Administrator role in AppSync.

Procedure

1. In the Databases page, select Recover > Mount a Copy.

From the Copies page, select a copy and click Mount.

The SQL Server Mount wizard launches.

2. Use the Database, Copies or Service Plan filters to select the appropriate copy to mount.

The copies list is refreshed based on the filters selected.

3. Select the copy to mount.

For a RecoverPoint copy, you also have the option to select a bookmark based on aspecific time. However, there should be a copy available in AppSync prior to the timeyou select.

Click Select a point in time to select a copy with a specific time stamp. The time shownhere is the console's time. If the console is in a different time zone from theRecoverPoint Appliance (RPA), specify the time as per the server's time zone to mountthe copy.

4. In the Mount Additional Copies page, select one or more additional copies to mount. Thecopies listed here are of other databases that were protected at the same time and onthe same SQL Server as the copy you selected in the previous step.

5. On the Select Mount Options page, select Mount copy on page 69 or Mount and recovercopy on page 70.

Protecting SQL Server

68 EMC AppSync 1.5.0 User Guide

Page 69: EMC AppSync™ 1.5.0 User Guide · documentation on EMC Data Domain products, go to the EMC Data Domain Support Portal (). EMC Corporation Hopkinton, ... EMC support, product, and

6. In the Summary page, review the choices you made in the previous pages and clickFinish to mount the copy.

7. In the Results page, select View Details to see progress of the different phases that arepart of mounting a copy.

The last phase completed is displayed at the bottom of the list.

SQL Server Mount Copy options

Field Description

Mount on Server The server on which to mount the copy. All SQL Servers registeredwith AppSync are available for selection.

Mount withaccess

Type of access the copy should be mounted with.

Mount path The Default Mount Path is %SystemDrive%\AppSyncMounts\%%ProdServerName%%. You can enter a valid path by typing.

To specify the value of a Windows environment variable in the mountpath, delimit the variable name with single percent signs (%). Thedefault path also contains an AppSync variable (ProdServerName)which is delimited with two percent signs (%%).

The following characters are not valid in the path:< > : " / | ? *

The mount path could also be Same as Original Path. However, thisoption is not available when the mount host is the same asproduction host.

Copy metadatafiles to

The Default Path is the location to copy VDI and VSS metadata files:%SystemDrive%\AppSyncMounts\%%ProdServerName%%.You can enter a valid path by typing.

The following characters are not valid in the path: < > : " / | ? *

If you are backing up the database to another media, you must backup these metadata files as well.

AppSync can integrate with third-party backup software to create tapebackups of SQL Server copies. The target directory specified heremust be part of the backup.

Image accessmode (duringRecoverPointmount)

u Logged Access:Use this mount option if the integrity check entails the scanningof large areas of the replicated volumes. This is the only optionavailable when you mount to the production host.

u Virtual Access with Roll:Provides nearly instant access to the copy, but also updates thereplicated volume in the background. When the replicatedvolumes are at the requested point in time, the RPA transparentlyswitches to direct replica volume access, allowing heavyprocessing.

u Virtual Access:Provides nearly instant access to the image; it is not intended forheavy processing.

Protecting SQL Server

Mounting a SQL Server database copy on-demand 69

Page 70: EMC AppSync™ 1.5.0 User Guide · documentation on EMC Data Domain products, go to the EMC Data Domain Support Portal (). EMC Corporation Hopkinton, ... EMC support, product, and

SQL Server Mount and Recover copy options

Field Description

RecoveryInstance

The SQL Server instance to be used for recovery. If the connectionsettings are not set or are invalid for the instance, the SQL ServerConnection Settings dialog appears. Click Connection Settings to resetthe credetials.

Recovery Type Available options are: Recovery (default), No Recovery, and Standby

Databaserenaming

This drop down includes:u Use original database names (default if alternate instance):

This is not available for selection if the Recovery Instance is theproduction instance.

u Use original database names with suffix:This is the default if Recovery Instance is the production instance.

Naming Suffix Only displayed when Original database names with Suffix is selected inthe Database renaming dropdown. The default value is AppSync.

Mount path The default mount path, when the mount host is the same as theproduction host, is %SystemDrive%\AppSyncMounts\%%ProdServerName%%.

To specify the value of a Windows environment variable in the mountpath, delimit the variable name with single percent signs (%). Thedefault path also contains an AppSync variable (ProdServerName)which is delimited with two percent signs (%%).

The following characters are not valid in the path: < > : " / | ? *

The mount path could also be Same as Original Path. You can selecteither of the options.

Copy metadatafiles to

By default, the location to copy VSS metadata files is the same as themount path.

If the mount path is Same as Original Path, then this defaults to%SystemDrive%\AppSyncMounts\%%ProdServerName%%.

The following characters are not valid in the path: < > : " / | ? *

If you are backing up the database to another media, you mustbackup these metadata files as well.

AppSync can integrate with third-party backup software to create tapebackups of SQL Server copies. The target directory specified heremust be part of the backup.

Image accessmode (duringRecoverPointmount)

u Logged Access:Use this mount option if the integrity check entails the scanning oflarge areas of the replicated volumes. This is the only optionavailable when you mount to the production host.

u Virtual Access with Roll:Provides nearly instant access to the copy, but also updates thereplicated volume in the background. When the replicatedvolumes are at the requested point in time, the RPA transparently

Protecting SQL Server

70 EMC AppSync 1.5.0 User Guide

Page 71: EMC AppSync™ 1.5.0 User Guide · documentation on EMC Data Domain products, go to the EMC Data Domain Support Portal (). EMC Corporation Hopkinton, ... EMC support, product, and

Field Description

switches to direct replica volume access, allowing heavyprocessing.

u Virtual Access:Provides nearly instant access to the image; it is not intended forheavy processing.

Supported mount recovery modes

The following mount recovery types are available when you are recovering a SQLdatabase copy.

RecoveryType

Description

Recovery Instructs the restore operation to roll back any uncommitted transactions.After the recovery process, the database is ready for use.

No Recovery Instructs the restore operation not to roll back any uncommittedtransactions. When in No Recovery mode, the database is unusable. Thisoption is useful when the Database Administrator needs to restore one ormore transaction log backups. Database is attached to the instanceselected for recovery and is left in the "Restoring" state.

Standby Restores files and opens the database in read-only mode. Subsequently,the Database Administrator can manually apply additional transaction logbackups.

Note

If you are restoring a database from an older version of SQL Server onto anewer SQL Server version, do not use standby mode. If you use standby,the upgrade to the newer version cannot happen and that will result in afailure of the operation.

Unmounting a SQL Server database copyWhen you select a copy to unmount, other copies that were mounted along with theselected copy will also be unmounted.

Before you begin

This operation requires the Data Administrator role in AppSync.

You can unmount a copy only from a list of copies made for a database.

Procedure

1. Navigate to the Copies page from the Protection or Service Plan pages:

l Protection > Microsoft SQL Server > select the Server instance which hosts thedatabase, click the User Databases folder, then select the database with the copy tounmount.

l Service Plans > Microsoft SQL Server> select a service plan, then select the Copies tab.

2. From the list of copies, select the copy and click Unmount from the button below.

The Unmount Confirmation dialog displays all the copies of other databases that weremounted along with the selected copy to be unmounted.

Protecting SQL Server

Unmounting a SQL Server database copy 71

Page 72: EMC AppSync™ 1.5.0 User Guide · documentation on EMC Data Domain products, go to the EMC Data Domain Support Portal (). EMC Corporation Hopkinton, ... EMC support, product, and

3. Click Yes to confirm the unmount of all the copies shown in the dialog.

The Unmount window displays the progress of the unmount operation. All copiesassociated with the selected copy will be unmounted.

Restoring from a SQL Server copyYou can perform a restore of a SQL Server copy from the Server's Copies page, serviceplan's Copies page or from the Databases page.

Before you begin

This operation requires the Data Administrator role in AppSync.Procedure

1. In the Databases page, select Recover > Restore .

In the Copies page, select a copy and click Restore.

The SQL Server Restore wizard launches.

2. Select the copy to restore.

Use the Time or Service Plan filters to select the appropriate copy to restore. The copieslist is refreshed based on the filters selected.

3. Click Next.

If the selected copy has affected entities, the Restore Warnings page is displayed.

4. Read the warning messages for the affected databases. Select the checkbox toindicate your agreement to restore other entities along with the selected copy.

5. In the Backup Transaction Logs step, select Yes to backup logs prior to restore.

a. In the Back up to box, enter the location where the logs will be backed up. The fileswill bear the name of the database.

b. Select the Add a file extension to the backup file name checkbox and specify anextension for the backed up files. The default extension is .trn.

c. Select the Add a prefix to the backup file names checkbox and specify a prefix for thebacked up files. The default prefix is AppSync.

d. Select the Database is damaged checkbox to backup tail log files.

e. Select the Truncate the transaction logs checkbox as required.

This checkbox is not available for selection if you selected the Database is damagedcheckbox.

f. Select the Overwrite existing backup files checkbox as required.

This checkbox is not available for selection if you selected the Database is damagedcheckbox.

6. Click Next for the Restore Options.

The Restore Options page is displayed.

7. Select the appropriate recovery or restore options.

To recover the database, choose from one of these options:

l Leave database ready to use This option is not available if you have chosen to backuptransaction logs.

l Leave databases non-operational

Protecting SQL Server

72 EMC AppSync 1.5.0 User Guide

Page 73: EMC AppSync™ 1.5.0 User Guide · documentation on EMC Data Domain products, go to the EMC Data Domain Support Portal (). EMC Corporation Hopkinton, ... EMC support, product, and

l Leave databases in read-only mode: If you select this option, specify the location inthe Standby file location box where the standby files must be stored. The defaultpath is C:\temp.

To restore the database, select the Overwrite the existing databases checkbox. Thisoption is not available if you have chosen to backup transaction logs.

8. Click Next.

The Summary page is displayed.

9. Review the Summary page and click Finish to perform the restore.

10.In the Results page, click View Details to see progress of the different phases that arepart of restoring a copy.

The last phase completed is displayed at the bottom of the list.

How AppSync manages damaged SQL databasesDamaged databases may have data files missing or damaged with their log files intact.AppSync can take tail log backups for damaged databases. A damaged database mustnot contain bulk-logged changes and it must not be in OFFLINE state.

If the production database is damaged and you select the Database is damaged checkboxduring restore, AppSync backs up the tail log of the damaged database beforeproceeding with restore. If the damaged database is in RECOVERY_PENDING or SUSPECTstate, AppSync first tries to detach the database by setting the EMERGENCY mode on it. IfAppSync fails to set EMERGENCY mode on the database, it drops the database and thenproceeds with the restore. Once the restore is successful, you can recover the databasemanually using the tail log backup.

Affected entities during restoreWhen restoring from a copy, you may be prompted to restore items in addition to theones you selected.

An affected entity is data that resides on your production host that unintentionallybecomes part of a replica because of its proximity to the data you intend to protect. Youcan prevent affected entity situations by properly planning your data layout based onreplica granularity. The granularity of a replica depends upon the environment.

If there are affected entities in your underlying storage configuration, the Restore Wizardnotifies you of these items. The following scenarios produce affected entities that requireyou to acknowledge that additional items will be restored:

u For RecoverPoint, if the databases are in the same consistency group they becomeaffected entities when the other database is protected.

u For VNX, if the databases are on the same LUN they become affected entities whenthe other database is protected.

If the affected entity was protected along with the database that is selected for restore, itwill be restored by AppSync. Any other database that was not protected but is an affectedentity will be overwritten.

AppSync calculates affected entities for the consistency groups or LUNs of the databasethat is selected for restore. If the affected databases in turn partially reside on otherconsistency groups or LUNs, AppSync does not calculate affected entities on thoseconsistency groups or LUNs.

Depending upon the type of affected entity, the affected databases are detached byAppSync or you must manually detach them from the SQL Server instance.

Protecting SQL Server

How AppSync manages damaged SQL databases 73

Page 74: EMC AppSync™ 1.5.0 User Guide · documentation on EMC Data Domain products, go to the EMC Data Domain Support Portal (). EMC Corporation Hopkinton, ... EMC support, product, and

Affected entities are calculated only for the SQL Server instances where the credentialsare configured. AppSync does a fresh database discovery for all these instances beforecalculating the affected entities.

Protecting SQL Server

74 EMC AppSync 1.5.0 User Guide

Page 75: EMC AppSync™ 1.5.0 User Guide · documentation on EMC Data Domain products, go to the EMC Data Domain Support Portal (). EMC Corporation Hopkinton, ... EMC support, product, and

CHAPTER 6

Protecting VMware Datacenters

u Configuration prerequisites .................................................................................. 76u Supported VMware configurations.........................................................................76u VMware VMFS requirements ................................................................................. 76u VMware snapshots................................................................................................77u Discovering datacenters ....................................................................................... 77u Protect a VMware datastore...................................................................................78u Service plan summary and details......................................................................... 81u Considerations when mounting a VMFS replica .....................................................84u Restoring from a datastore copy............................................................................ 86

Protecting VMware Datacenters 75

Page 76: EMC AppSync™ 1.5.0 User Guide · documentation on EMC Data Domain products, go to the EMC Data Domain Support Portal (). EMC Corporation Hopkinton, ... EMC support, product, and

Configuration prerequisitesConfiguration prerequisites are required to integrate AppSync with VMware VMFSprotection. RecoverPoint and VMware must be configured according to those products’documentation.

VMware configuration prerequisitesu VMware VirtualCenter must be used in the environment.

u AppSync supports VMware’s use of VSS with VM snapshots when supported versionsof vSphere is installed and VMware Tools are present on the virtual machine on theVMFS you are replicating. Refer to VMware documentation for use of the VSS-relatedcharacteristics in the AppSync copy and contact VMware regarding considerationsrelated to VSS in this configuration.The AppSync Support Matrix on support.EMC.com is the authoritative source ofinformation on supported software and platforms.

u When there is a configuration change in the vCenter Server, perform a discovery ofdatacenters in the vCenter Server from the AppSync console before you protect adatastore.

Make sure that the VMFS UUID is unique in the virtual center inventory across alldatacenters.

RecoverPoint configuration prerequisitesu Configure RecoverPoint protection (CDP/CRR/CLR) for your production LUNs prior to

deploying AppSync. Refer to RecoverPoint documentation to create consistencygroups and define replication sets.

u Make target LUNs visible to the ESX server used as a mount host.

u In case of a ESX cluster, target LUNs should be made visible to all the ESX hosts inthe cluster.

u The AppSync server must be able to connect to the RPA through the network.

Supported VMware configurationsAppSync can operate (create, mount, and restore copies) in VMware VMFS and NFSdatastore configurations.

VMware VMFS requirementsSome considerations apply when AppSync is introduced into a VMware environment forthe purpose of protecting VMware datastores.

All VMware specific operations occur through the VMware VirtualCenter.

AppSync can be configured to require VirtualCenter Server login credentials in order toallow protection of a certain VMFS for security purposes.

Unless you instruct AppSync to omit this feature, AppSync takes a VMware Snapshot foreach virtual machine that is online and residing on the VMFS just prior to protection inorder to ensure operating system consistency of the resulting replica.

AppSync supports VMware’s use of VSS with VM snapshots when a supported version ofvSphere is installed and VMware Tools are present on the virtual machine on the VMFSyou are protecting. Refer to VMware documentation for use of the VSS-relatedcharacteristics in the AppSync copy and contact VMware regarding considerations relatedto VSS in this configuration.

If virtual machines in the datastore have RDMs or iSCSI LUNs visible to them, theresulting copy will not contain those LUNs. If the virtual machine has virtual disks other

Protecting VMware Datacenters

76 EMC AppSync 1.5.0 User Guide

Page 77: EMC AppSync™ 1.5.0 User Guide · documentation on EMC Data Domain products, go to the EMC Data Domain Support Portal (). EMC Corporation Hopkinton, ... EMC support, product, and

than the boot drive, it is possible to capture those as well, provided the underlyingdatastore is a part of the same service plan.

VMware snapshotsWhen the VM consistency option is selected, AppSync creates snapshots of all the virtualmachines that are in powered on state while the datastore is being replicated.

AppSync creates a Quiesced snapshot of the virtual machines that are in powered onstate. VMware Tools is used to quiesce the file system in the virtual machine. Quiescing afile system is a process of bringing the on-disk data of a physical or virtual computer intoa state suitable for backups. This process might include operations such as flushing dirtybuffers from the operating system's in-memory cache to disk, or other higher-levelapplication-specific tasks. If the VM consistency option is not set, AppSync skips theprocess of creating the virtual machine snapshots.

Discovering datacentersTo keep AppSync up to date, you should discover datacenters on the VMware vCenterserver when there is a change in the configuration of the vCenter Server.

Before you begin

u This operation requires the Data Administrator role in AppSync.

u At least one vCenter server must be added to AppSync.

Procedure

1. Navigate to Protection > VMware Datacenters.

2. On the VMware Datacenters page, click Discover Datacenters > On Virtual Center andselect a vCenter server to discover its datacenters.

Optionally, you can also add a vCenter server by clicking Add vCenter Server. See Add avCenter Server on page 78.

List of datacentersThe top level of the VMware Datacenters page shows all datacenters registered withAppSync.

Column Description

Protection statusof datacenter

u Green: Latest copies of all datastores on the datacenterprotected successfully

u Yellow: One or more of the latest datastore copies on thedatacenter completed with errors

u Red: One or more of the latest datastore copies on thedatacenter failed to complete

u "i" symbol: One or more datastores on the datacenter are eithernot subscribed to service plans or do not have copiesassociated with them

Name Name of the datacenter on the vCenter server.

vCenter Server Name of the vCenter server that hosts the datacenter.

Last Discovery Time when a discovery was last performed on the vCenter server.

Alert Recipients List of email aliases to receive email alerts.

Protecting VMware Datacenters

VMware snapshots 77

Page 78: EMC AppSync™ 1.5.0 User Guide · documentation on EMC Data Domain products, go to the EMC Data Domain Support Portal (). EMC Corporation Hopkinton, ... EMC support, product, and

Clicking on a datacenter name shows the datastores.

Adding a vCenter ServerYou must add the vCenter Server to AppSync when a virtual machine is used as a mounthost for a VNX Snapshot copy.

Before you begin

This operation requires the Resource Administrator role in AppSync.You need to know the credentials of an account with Administrator privileges on thevCenter Server.

Procedure

1. Select Settings > VMware vCenter Servers.

2. Click Add.

3. Enter the vCenter Server name.

4. Enter the credentials for an account that has Administrator privileges on the vCenterServer.

List of VMware datastoresThe list contains VMware datastores that have been discovered and stored in theAppSync database.

Clicking on the datastore name displays the copies of the datastore.

The Service Plan column shows the plans that the datastore is subscribed to. Otherdetails include the type of datastore (VMFS or NFS), and name of the ESX server.

Protect a VMware datastoreProtect a VMware datastore by subscribing it to an AppSync VMware service plan.

AppSync's protection mechanism for datastores is by means of service plans. Yousubscribe a datastore to a service plan and run the service plan immediately, or schedulethe service plan to run at a later time.

u Choose Subscribe to Plan and Run when you want to protect selected datastoresimmediately. The service plan is executed for the datastores alone.

u Choose Subscribe to Plan when you want to schedule the protection for later.Protection for datastores that are part of the service plan are executed at thescheduled time.

u Choose an appropriate service plan from Create a copy using in the datastore Copiespage.

u Choose Run from the VMware Datacenters Service Plan page to run the whole planimmediately.

Protecting VMware datastores immediatelySubscribe to Plan and Run adds datastores to an existing service plan and runs the serviceplan immediately for the selected datastores only.

Before you begin

This operation requires the Data Administrator role in AppSync.

Protecting VMware Datacenters

78 EMC AppSync 1.5.0 User Guide

Page 79: EMC AppSync™ 1.5.0 User Guide · documentation on EMC Data Domain products, go to the EMC Data Domain Support Portal (). EMC Corporation Hopkinton, ... EMC support, product, and

Procedure

1. Navigate to Protection > VMware Datacenters.

2. Click a datacenter to display its datastores.

3. From this list, select a datastore to protect.

Select multiple datastores by holding down the Shift or Ctrl keys on your keyboard.

4. From the Protect popup button below, select the appropriate service plan fromSubscribe to Plan and Run.

The Subscribe to Plan and Run dialog appears displaying the progress through thedifferent phases.

Subscribing VMware datastores to a service planSelect Subscribe to Plan when you want to schedule the protection for later. Protection forall datastores that are part of the service plan are executed at the scheduled time.

Before you begin

This operation requires the Data Administrator role in AppSync.

Procedure

1. Navigate to Protection > VMware Datacenters.

2. Click a datacenter to display its datastores.

3. From this list, select the datastore to protect.

Select multiple datastores by holding down the Shift or Ctrl keys on your keyboard.

4. From the Protect popup button below, select the appropriate service plan fromSubscribe to Plan.

The selected plan appears in the Service Plan column for the datastore.

Unsubscribing datastores from a service planYou can unsubscribe datastores from a service plan or from all service plans that they aresubscribed to.

Before you begin

This operation requires the Data Administrator role in AppSync.Procedure

1. Navigate to Protection > VMware Datacenters.

2. Click a datacenter to display its datastores.

3. From this list, select the datastore to remove from a service plan.

You can select multiple datastores if they are subscribed to the same service plan.Select multiple datastores by holding down the Shift or Ctrl keys on your keyboard.

4. From the Protect popup button below, select a service plan from Unsubscribe from Plan,or select All to remove the datastore(s) from all plans.

The service plan name is removed from the Service Plan column for the datastore(s).

Protecting VMware Datacenters

Subscribing VMware datastores to a service plan 79

Page 80: EMC AppSync™ 1.5.0 User Guide · documentation on EMC Data Domain products, go to the EMC Data Domain Support Portal (). EMC Corporation Hopkinton, ... EMC support, product, and

Viewing datastore copiesView the list of datastore copies by navigating to Protection > VMware Datacenters andselecting a datacenter, then a datastore.

Before you begin

This operation requires the Data Administrator role in AppSync.

The copies are named with the time at which they were made. You can see other copydetails such as its type, mount status, the VM consistency status and the service planassociated with the copy.

Creating a datastore copy from the Copies pageCreate a copy of a datastore by subscribing it to an AppSync VMware service plan fromthe Copies page.

Before you begin

This operation requires the Data Administrator role in AppSync.

Procedure

1. Navigate to Protection > VMware Datacenters.

2. Click a datacenter to display its datastores.

3. From this list, click the datastore to view its copies.

The Copies page is displayed.

4. From the Create a copy using popup below, select the appropriate service plan.

The service plan runs immediately for the datastore.

Expiring a datastore copy on demandExpiring a copy removes it from the AppSync database and can free up storage,depending on the replication technology and the copy state.

Before you begin

This operation requires the Data Administrator role in AppSync.

Expiring a copy that was made with RecoverPoint does not remove the correspondingbookmark from RecoverPoint itself.

Procedure

1. Select Protection > VMware Datacenters.

2. Click a datacenter to display its datastores.

3. Click the datastore whose copies you want to expire.

4. From the Copies page, select one or more copies to expire.

You can also perform this action from the Service Plan's Copies tab.

5. Select Expire from the row of buttons below.

Verify that you want to expire the copy you selected and any associated copies listedand confirm.

Protecting VMware Datacenters

80 EMC AppSync 1.5.0 User Guide

Page 81: EMC AppSync™ 1.5.0 User Guide · documentation on EMC Data Domain products, go to the EMC Data Domain Support Portal (). EMC Corporation Hopkinton, ... EMC support, product, and

Service plan summary and details

Service plan scheduleA service plan's schedule is set in the Plan Startup phase.

A service plan's Startup Type (scheduled or on demand) determines whether the plan isrun manually, or configured to run on a schedule. Options for scheduling when a serviceplan starts are:

u Specify a recovery point objective (RPO)l Set an RPO of 30 minutes or 1, 2, 3, 4, 6, 8, 12, or 24 hours

l Minutes after the hour are set in 5 minute intervals

l Default RPO is 24 hours

u Run every day at certain timesl Select up to two different times during the day

l Minutes after the hour is in 5 minute intervals

l There is no default selected

u Run at a certain time on selected days of the weekl One or more days of the week (up to all seven days) can be selected

l There is no default day of the week selected. Default time of day is 12:00 AM.

u Run at a certain time on selected days of the monthl Select one or more days of the month (up to all days)

l Select one time of day. Available times are at 15 minute intervals.

l Default is the first day of the month

Overriding service plan schedulesYou can set different schedules for individual datastores subscribed to a service plan,overriding the generic recurrence setting.

Before you begin

This operation requires the Data Administrator role in AppSync.

You can override only the settings of the recurrence type already selected for the serviceplan.

Procedure

1. Navigate to Service Plans and select one of the plans from the list.

2. From the Settings tab, select the Plan Startup phase .

You will see the Plan Startup Defaults pane on the right.

3. Note the Recurrence Type selected for the plan.

A recurrence type can be set only if Scheduled is selected as the Startup Type.

4. Click the Plan Startup Overrides tab.

You can see the list of all datastores subscribed to the plan.

5. Select one or more datastores and click Override Schedule.

The Override Schedule dialog is displayed.

Protecting VMware Datacenters

Service plan summary and details 81

Page 82: EMC AppSync™ 1.5.0 User Guide · documentation on EMC Data Domain products, go to the EMC Data Domain Support Portal (). EMC Corporation Hopkinton, ... EMC support, product, and

6. Set the schedule based on your requirement and click OK.

For example, if the default recurrence type is On specified days of the month, and the rulesetting is to Run at 12:00 AM on the 1st day of every month, you can override the time andthe day for individual datastores.A Pencil icon indicates that default settings have been overidden.

Application discoveryBefore creating the copy, AppSync performs discovery on the selected datastores andupdates the AppSync database if there is any change in configuration of the vCenterserver.

There are no user settings associated with this phase and it cannot be disabled.

Application mappingAfter discovering the application, AppSync maps it to array storage, and protectionservices such as RecoverPoint. There are no user settings associated with this phase andit cannot be disabled.

Create copyThe Create Copy phase creates a copy based on the preferred storage type specified bythe user.

This phase specifies the type of datastore copy to make, and the storage settings for thecopies. The copy phase creates a local copy, remote copy, or a local and remote copybased on whether you have chosen the bronze, silver, or gold service plan.

There are three types of copy phases depending on which plan you use:u Create local copy — For Bronze service plans, creates a local copy - CDP Bookmark for

RecoverPoint, VNX Snapshot or VNX File Snapshot for VNX - on your server.u Create remote copy — For Silver service plans, creates a remote copy - CRR Bookmark

for RecoverPoint or VNX File Snapshot in case of NFS for VNX - on the target.u Create local and remote copy — For Gold service plans, creates both local and remote

copies - CLR Bookmark for RecoverPoint - on the target.

Datastore copy consistency type

Copy Consistencyu VM Consistent creates a copy of the datastores in the service plan including running

programs, processes, and even windows that were open at the time of the snapshot.

Maximum Simultaneous VM Snapshots is the number of simultaneous snapshots of allVMs present. The default value is 4 snapshots.

u Crash Consistent creates a copy of the datastores in the service plan. Crash consistentcopies have everything except data from the memory at the time of taking thesnapshot.

Automatic expiration of VNX Snapshot and VNXFile Snapshot copies

The automatic expiration value in a service plan's Create Copy phase specifies themaximum desired number of VNX and VNXFile Snapshot copies that can existsimultaneously.

When the "Always keep x copies" value is reached, older copies are expired to freestorage for the next copy in the rotation. Failed copies are not counted. AppSync does not

Protecting VMware Datacenters

82 EMC AppSync 1.5.0 User Guide

Page 83: EMC AppSync™ 1.5.0 User Guide · documentation on EMC Data Domain products, go to the EMC Data Domain Support Portal (). EMC Corporation Hopkinton, ... EMC support, product, and

expire the oldest copy until its replacement has been successfully created. For instance,if the number of copies to keep is 3, AppSync will not expire the oldest copy until the 4thcopy is created successfully.

This setting is independent of the VNX pool policy settings in Unisphere for automaticdeletion of oldest snapshots. The service plan administrator should work with the storageadministrator to ensure that the VNX pool policy settings will enable the support of thespecified number of snapshot copies for the application residing in that pool.

AppSync does not expire copies under the following circumstances:

u Mounted copies are not expired.

u A copy that contains the only replica of a datastore will not be expired.

Unmount previous copyThe service plan unmounts a previously mounted copy after creating the new copy. Theexception is a copy that was mounted on-demand as opposed to by the service plan; inthis case the on-demand mounted copy is not unmounted.

There are no user settings associated with this phase and it can be enabled or disabled.

Mount copyThe Mount copy phase mounts all the datastore copies created by that service plan run.

The Mount Copy Defaults settings for the copy to mount depends on the service plan. Othermount settings determine the mount host, access mode and mount signature.

This phase can either be enabled or disabled.

General Settings:u Mount on host: lists all the ESX servers discovered on the registered vCenter servers.

u Mount Signature: lists Use original signature and Use new signature to select from. WhenUse new signature is selected, AppSync resignatures the VMFS volume on mount.Applicable only for VMware VMFS datastores.

RecoverPoint Settings:u Image access mode (during RecoverPoint mount):

l Logged Access:Use this mount option if the integrity check entails the scanning of large areas ofthe replicated volumes. This is the only option available when you mount to theproduction host.

l Virtual Access with Roll:Provides nearly instant access to the copy, but also updates the replicated volumein the background. When the replicated volumes are at the requested point intime, the RPA transparently switches to direct replica volume access, allowingheavy processing.

l Virtual Access:Provides nearly instant access to the image; it is not intended for heavyprocessing.

VNX File Settings: This option is available only for VMware VNXFile datastores.u Mount Copy with access: Select the type of access the copy should be mounted with -

Read-only or Read-Write.

Protecting VMware Datacenters

Unmount previous copy 83

Page 84: EMC AppSync™ 1.5.0 User Guide · documentation on EMC Data Domain products, go to the EMC Data Domain Support Portal (). EMC Corporation Hopkinton, ... EMC support, product, and

Overriding mount settings in a service planIf there are multiple VMware datastores subscribed to the same plan, you can selectdifferent mount settings for each datastore, overriding the generic mount settings.

Before you begin

This operation requires the Data Administrator role in AppSync.

Procedure

1. Navigate to Service Plans > VMware Datacenters and click one of the plans from the list.

2. From the Settings tab, select the Mount copy phase.

3. On the right pane, select the Mount Copy Overrides tab.

The list of datacenters include all vCenter datacenters whose datastores aresubscribed to this plan. The mount settings display the default settings.

4. Select the datastore whose settings you want to override and click Set Overrides.

Select multiple datastores by holding down the Shift or Ctrl keys on your keyboard.

The Mount Copy Overrides dialog is displayed.

5. Select options only for those mount settings that you wish to override.

For example, if you want to mount a copy to the production host, you would select Usenew signature from the Mount Signature drop-down.

Fields that do not have a selection retain their default settings.

6. Click OK.

A pencil icon appears in the first column of the datastore's row whose default mountsettings you changed.

7. To revert back to default settings, select the datastore(s) and click Use Default Settings.

Unmount copyThe final phase in the service plan unmounts the copy.

This phase is disabled if the Unmount previous copy phase is enabled. There are no usersettings associated with this phase.

Considerations when mounting a VMFS replicaWhen you mount a VMFS replica to an alternate ESX Server, AppSync performs all tasksnecessary to make the VMFS visible to the ESX Server. Once that is complete, furtheradministration tasks such as restarting the virtual machines and the applications mustbe completed by scripts or manual intervention.

Mounting a datastore copy on-demandYou can initiate an on-demand mount of a datastore copy from the datastore's Copiespage, service plan's Copies tab or from a datacenter's Datastore page.

Before you begin

This operation requires the Data Administrator role in AppSync.

Protecting VMware Datacenters

84 EMC AppSync 1.5.0 User Guide

Page 85: EMC AppSync™ 1.5.0 User Guide · documentation on EMC Data Domain products, go to the EMC Data Domain Support Portal (). EMC Corporation Hopkinton, ... EMC support, product, and

Procedure

1. From the Recover popup button, select Mount a Copy in the Datastore or Copies page orService Plan Copies tab.

2. Use the Copies or Service Plan filters to select the appropriate copy to mount.

The copies list is refreshed based on the filters selected.

3. Select the copy to mount.

For a RecoverPoint copy, you also have the option to select a bookmark based on aspecific time. However, there should be a copy available in AppSync prior to the timeyou select.

Click Select a point in time to select a copy with a specific time stamp. The time shownhere is the AppSync console's time. If the console is in a different time zone from theRecoverPoint Appliance (RPA), specify the time as per the server's time zone to mountthe copy.

4. In the Mount Additional Copies page, select one or more additional copies to mount. Thecopies listed here are of other datastores that were protected at the same time and onthe same datacenter as the copy you selected in the previous step.

5. On the Select Mount Settings page:

a. From the Mount on Host drop-down list, select the host on which to mount the copy.

All ESX Servers under the vCenter Server registered with AppSync are listed aspossible mount host candidates.

b. From the Mount Signature drop-down list, select from one of these options: Use newsignature, Use original signature. Applicable only for VMware VMFS datastores.

c. In case of a RecoverPoint copy, from the Image Access Options drop-down list, selectfrom one of these options:

– Logged Access:Use this mount option if the integrity check entails the scanning of large areasof the replicated volumes. This is the only option available when you mount tothe production host.

– Virtual Access with Roll:Provides nearly instant access to the copy, but also updates the replicatedvolume in the background. When the replicated volumes are at the requestedpoint in time, the RPA transparently switches to direct replica volume access,allowing heavy processing.

– Virtual Access:Provides nearly instant access to the image; it is not intended for heavyprocessing.

d. From the Mount copy with access drop-down list, select the type of access the copyshould be mounted with: Read-only or Read-write. Applicable only for VMwareVNXFile datastores.

6. From the Summary page, review the copy and mount settings that you chose in theprevious pages and click Finish to mount the copy.

7. In the Results page, click Details link to see the progress of the different phases thatare part of mounting a copy.

The last phase completed is displayed at the bottom of the list of phases.

Protecting VMware Datacenters

Mounting a datastore copy on-demand 85

Page 86: EMC AppSync™ 1.5.0 User Guide · documentation on EMC Data Domain products, go to the EMC Data Domain Support Portal (). EMC Corporation Hopkinton, ... EMC support, product, and

Unmounting a VMware datastore copyWhen you select a copy to unmount, other copies that were mounted along with theselected copy will also be unmounted.

Before you begin

This operation requires the Data Administrator role in AppSync.

You can unmount a copy only from a list of copies made for a datastore.

Procedure

1. Navigate to the Copies page from the Protection or Service Plan pages:

l Protection > VMware Datacenters > select the VMware datacenter that hosts thedatastore, then select the datastore with the copy to unmount.

l Service Plans > VMware Datacenters> select a service plan, then select the Copies tab.

2. From the list of copies, select the datastore copy and click Unmount from the buttonbelow.

The Unmount Confirmation dialog displays all the copies of other datastores that weremounted along with the selected copy to be unmounted.

3. Click Yes to confirm the unmount of all the copies shown in the dialog.

The Unmount window displays the progress of the unmount operation. All copies thatwere mounted along with the selected copy will be unmounted.

Restoring from a datastore copyYou can perform a restore of a datastore copy from the datastore's Copies page, serviceplan's Copies tab or from a datacenter's Datastore page.

Before you begin

This operation requires the Data Administrator role in AppSync.

Procedure

1. Select Recover > Restore from Datastore or Copies page or Service Plan Copies tab.

The Datastore Restore wizard launches.

2. Select the copy to restore.

Use the Copies or Service Plan filters to select the appropriate copy to restore. Thecopies list is refreshed based on the filters selected.

For a RecoverPoint copy, you also have the option to select a bookmark based on aspecific time. However, there should be a copy available in AppSync prior to the timeyou select.

Click Select a point in time to select a copy with a specific time stamp. The time shownhere is the console's time. If the console is in a different time zone from the RPA,specify the time as per the server's time zone to restore the copy.

3. Click Next.

If the selected copy has affected entities, the Restore Warnings page is displayed.

4. Read the warning messages for the affected datastores. Select the checkbox toindicate your agreement to restore other entities along with the selected copy.

You must manually unmount the datastores that will be overwritten.

Protecting VMware Datacenters

86 EMC AppSync 1.5.0 User Guide

Page 87: EMC AppSync™ 1.5.0 User Guide · documentation on EMC Data Domain products, go to the EMC Data Domain Support Portal (). EMC Corporation Hopkinton, ... EMC support, product, and

Only RecoverPoint copies have affected entities.

5. In the Virtual Machine Operations step, select the appropriate actions that you wantAppSync to perform before and after restore. See Virtual Machine Operations on page87 for details.

6. In the Summary page, review the settings that you selected in the previous pages andclick Finish to perform the restore.

7. In the Results page, click View Details to see progress of the different phases that arepart of restoring a copy.

The last phase completed is displayed at the bottom of the list.

Virtual Machine Operations during RestoreAppSync can perform operations on the virtual machines associated with the datastoresselected for restore.

Virtual MachineOperation

Description

- -VMs present at startof restore

Power down VMs at start of restore: If the virtual machines are present at

the start of restore, AppSync will shut them down prior to beginning therestore operation. This is important for a successful restore.

Perform VMoperations afterrestore

l Return VMs back to state found at start of restore: After restore,

AppSync will power on the virtual machines and return them to thesame state they were at prior to restore.

l Register all virtual machines: After restore, AppSync will register all

virtual machines to the vCenter inventory.

l Register and power up all virtual machines: After restore, AppSync

will power on the virtual machines and register them to the vCenterinventory.

You can select only one of these options.

VMs not present atstart of restore

Perform VMoperations afterrestore

l Register all virtual machines: After restore, AppSync will register all

virtual machines to the vCenter inventory.

l Register and power up all virtual machines: AppSync will power on

the virtual machines and register them to the vCenter inventory.

Datastore affected entities during restoreWhen you restore a datastore, AppSync calculates affected entities for other datastoresthat share the same storage.

An affected entity is data that resides on your ESX server that unintentionally becomespart of a replica because of its proximity to the data you intend to protect. You canprevent affected entity situations by properly planning your data layout.

In case of RecoverPoint, the granularity is at the consistency group level. If the CG isselected for restore, AppSync identifies other datastores which are residing on the sameCG that were also protected alongside, and restores them. If the affected entity was notprotected, AppSync will not be able to restore it properly. This is displayed as a warningin the Restore wizard.

Protecting VMware Datacenters

Virtual Machine Operations during Restore 87

Page 88: EMC AppSync™ 1.5.0 User Guide · documentation on EMC Data Domain products, go to the EMC Data Domain Support Portal (). EMC Corporation Hopkinton, ... EMC support, product, and

There are no affected entities for VNX because multiple datastores cannot span the sameLUN and multiple datastores cannot be hosted on the same File System.

If there are affected entities in your underlying storage configuration, the Restore Wizardnotifies you of these items requiring you to acknowledge that additional items will berestored.

Protecting VMware Datacenters

88 EMC AppSync 1.5.0 User Guide

Page 89: EMC AppSync™ 1.5.0 User Guide · documentation on EMC Data Domain products, go to the EMC Data Domain Support Portal (). EMC Corporation Hopkinton, ... EMC support, product, and

CHAPTER 7

Monitoring

u RPO concepts and best practices...........................................................................90u Recovery point compliance report..........................................................................90u Exporting an RPO compliance report to CSV...........................................................90u Summary of RPO compliance.................................................................................91u Alerts and associated events.................................................................................91u Sending alerts via email........................................................................................ 91

Monitoring 89

Page 90: EMC AppSync™ 1.5.0 User Guide · documentation on EMC Data Domain products, go to the EMC Data Domain Support Portal (). EMC Corporation Hopkinton, ... EMC support, product, and

RPO concepts and best practicesA recovery point objective is one of several scheduling options that can be selected aspart of a service plan's Plan Startup phase.

When you subscribe an object (such as an Exchange database) to a service plan thatuses RPO as its recurrence type, the object acquires the recovery point objectivespecified in the service plan.

Since you can subscribe an object to more than one service plan, it is possible for anobject to have more than one recovery point objective. When an object has more thanone RPO, the service plan with the highest RPO frequency (that is, the lowest RPO hoursvalue) is used for calculation and reports.

As a best practice, you should subscribe an object to only one RPO-enabled service plan.If you subscribe an object to additional service plans, they should not use the RPO-basedrecurrence type.

Recovery point compliance reportThe recovery point compliance report shows the recoverability for all objects that aresubscribed to service plans with an RPO recurrence type. The report is at Monitoring >

Recovery Point Compliance Report.

Column Description- -Server Host level object, such as a Microsoft Exchange Mailbox Server

Application Name of the protected object, such as a Microsoft Exchange database. Click thename to go to the list of copies for the object.

RecoveryPointObjective

The recovery point objective as defined in the Start phase of the associated serviceplan.

Time SinceLastRecoveryPoint

Amount of time since the last copy or bookmark created by the associated serviceplan. A green icon indicates the copy is RPO compliant. A red icon indicates non-compliance.

Service Plan Name of the service plan. Click the name to go to the service plan definition.

Exporting an RPO compliance report to CSVYou can create an RPO compliance report in comma-separated value format.

Before you begin

No particular AppSync role is required for this operation.Procedure

1. Go to Monitoring > Recovery Point Compliance Report.

2. Sort and arrange columns as desired for the report.

3. Click Export to run the Export wizard.

You have the option to include table headers and export only selected rows. Thedefault file name is "Recovery Point Objectives_mm_dd_yyyy_hh_mm_ss.csv".

Monitoring

90 EMC AppSync 1.5.0 User Guide

Page 91: EMC AppSync™ 1.5.0 User Guide · documentation on EMC Data Domain products, go to the EMC Data Domain Support Portal (). EMC Corporation Hopkinton, ... EMC support, product, and

Summary of RPO complianceThe Recovery Point Objectives summary on the dashboard shows the percentage of RPOsmet across all objects that are subscribed to RPO-enabled service plans.

Alerts and associated eventsAn alert is generated when a service plan phase fails, when an RPO is not met, or when amount or restore fails.

Service plan failure alerts are generated immediately upon failure of a service planphase. When an application goes out of RPO compliance, the associated alert isgenerated within one hour.

AppSync displays alerts in the console at Monitoring > Alerts.

Column Description- -Alert (!) Level of alert

Time Date and time of the alert.

Server Application server, such as a Microsoft Exchange server.

Application Replicated object, such as a Microsoft Exchange database.

Category Phase Failure, RPO

Service Plan Service plan that was running when the alert was generated, or the service plan thatcreated the copy that failed a mount or restore.

Message Describes the cause of the alert.

You can filter alerts by the time they were generated and by the associated service plan.

View the associated events that led up to the alert by clicking on the alert. Expand thetop-level events to see additional details. You can filter associated events by any column.

Sending alerts via emailYou can configure AppSync to send failure alerts via email to a list of recipients.

You enable alert emails and add recipients per application instance, such as an Exchangemailbox server.

Configuring server settings for email alertsSMTP services must be configured on a machine accessible by the AppSync server.

Before you begin

This operation requires the Resource Administrator role in AppSync.Refer to SMTP documentation for configuration procedures.

Procedure

1. Select Settings > AppSync Server Settings.

2. Under Send Mail settings, enter values for SMTP server, port, and sender.

Use Test to validate the settings by entering a recipient's address then checking therecipient's inbox. You can also Restore Original Settings.

3. Click Apply.

Monitoring

Summary of RPO compliance 91

Page 92: EMC AppSync™ 1.5.0 User Guide · documentation on EMC Data Domain products, go to the EMC Data Domain Support Portal (). EMC Corporation Hopkinton, ... EMC support, product, and

Specifying email alert recipientsConfigure email alerts per application instance level.

Before you begin

This operation requires the Data Administrator role in AppSync.SMTP services must be configured on a machine accessible by the AppSync server. See Configuring server settings for email alerts on page 91.

Procedure

1. Select Protection > Application (Microsoft Exchange, SQL Server, or VMware Datacenter).

2. Select the application object to set alert settings for.

3. Select Alert Settings from the row of buttons below.

4. Enter one or more email recipients, separated by commas (,).

When you click OK, a test email is sent to recipients for verification.

Monitoring

92 EMC AppSync 1.5.0 User Guide