Top Banner
Dell EMC PowerProtect Microsoft Application Agent Version 19.2 Installation Guide 302-005-992 REV 01 September 2019
34

Dell EMC PowerProtect Microsoft Application Agent ... · Using the backup discovery tool for PowerProtect management of existing ... This document describes how to install and upgrade

Aug 20, 2020

Download

Documents

dariahiddleston
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Dell EMC PowerProtect Microsoft Application Agent ... · Using the backup discovery tool for PowerProtect management of existing ... This document describes how to install and upgrade

Dell EMC PowerProtect MicrosoftApplication AgentVersion 19.2

Installation Guide302-005-992

REV 01

September 2019

Page 2: Dell EMC PowerProtect Microsoft Application Agent ... · Using the backup discovery tool for PowerProtect management of existing ... This document describes how to install and upgrade

Copyright © 2014-2019 Dell Inc. or its subsidiaries. All rights reserved.

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

THE INFORMATION IN THIS PUBLICATION IS PROVIDED “AS-IS.” DELL MAKES NO REPRESENTATIONS OR WARRANTIES OF ANY KIND

WITH RESPECT TO THE INFORMATION IN THIS PUBLICATION, AND SPECIFICALLY DISCLAIMS IMPLIED WARRANTIES OF

MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. USE, COPYING, AND DISTRIBUTION OF ANY DELL SOFTWARE DESCRIBED

IN THIS PUBLICATION REQUIRES AN APPLICABLE SOFTWARE LICENSE.

Dell Technologies, Dell, EMC, Dell EMC and other trademarks are trademarks of Dell Inc. or its subsidiaries. Other trademarks may be the property

of their respective owners. Published in the USA.

Dell EMCHopkinton, Massachusetts 01748-91031-508-435-1000 In North America 1-866-464-7381www.DellEMC.com

2 Dell EMC PowerProtect Microsoft Application Agent Installation Guide

Page 3: Dell EMC PowerProtect Microsoft Application Agent ... · Using the backup discovery tool for PowerProtect management of existing ... This document describes how to install and upgrade

5

Preface 7

Product Overview 11Introduction to the Microsoft application agent.................................................12Application Direct overview............................................................................... 12Storage Direct overview.................................................................................... 13

Installing the Microsoft Application Agent 15System requirements........................................................................................ 16Prerequisites..................................................................................................... 16

SQL Server prerequisites......................................................................16Exchange Server prerequisites............................................................. 17

Installing the Microsoft application agent.......................................................... 18Installing the Microsoft application agent using the installation wizard....18Installing the Microsoft application agent with the command prompt(silent installation)............................................................................... 20

Important steps to perform after installation.................................................... 22Deploying the CLR assembly................................................................ 22(Optional) Creating and registering the T-SQL stored procedures in auser database.......................................................................................24

Changing Microsoft application agent installation options................................ 25Change the Microsoft application agent installation.............................25Disabling PowerProtect integration .................................................... 25

Upgrading the Microsoft Application Agent 27Upgrading the Microsoft application agent by using the upgrade wizard.......... 28Upgrading the Microsoft application agent by using the command line interface(silent upgrade)................................................................................................ 28Using the backup discovery tool for PowerProtect management of existingbackups............................................................................................................ 29

Uninstalling the Microsoft Application Agent 31Uninstall the Microsoft application agent with the setup file.............................32Uninstalling the Microsoft application agent by using the Windows uninstallprogram............................................................................................................ 32Uninstalling the Microsoft application agent with the command prompt (silentuninstallation)................................................................................................... 33

Tables

Chapter 1

Chapter 2

Chapter 3

Chapter 4

CONTENTS

Dell EMC PowerProtect Microsoft Application Agent Installation Guide 3

Page 4: Dell EMC PowerProtect Microsoft Application Agent ... · Using the backup discovery tool for PowerProtect management of existing ... This document describes how to install and upgrade

Contents

4 Dell EMC PowerProtect Microsoft Application Agent Installation Guide

Page 5: Dell EMC PowerProtect Microsoft Application Agent ... · Using the backup discovery tool for PowerProtect management of existing ... This document describes how to install and upgrade

Revision history...................................................................................................................7Style conventions............................................................................................................... 8Required silent install command variables......................................................................... 20Optional silent install command variables...........................................................................21Supported command options to run ddbmaSQLCLRDeployApp.exe..................................23

12345

TABLES

Dell EMC PowerProtect Microsoft Application Agent Installation Guide 5

Page 6: Dell EMC PowerProtect Microsoft Application Agent ... · Using the backup discovery tool for PowerProtect management of existing ... This document describes how to install and upgrade

Tables

6 Dell EMC PowerProtect Microsoft Application Agent Installation Guide

Page 7: Dell EMC PowerProtect Microsoft Application Agent ... · Using the backup discovery tool for PowerProtect management of existing ... This document describes how to install and upgrade

Preface

As part of an effort to improve product lines, periodic revisions of software and hardware arereleased. Therefore, all versions of the software or hardware currently in use might not supportsome functions that are described in this document. The product release notes provide the mostup-to-date information on product features.

If a product does not function correctly or does not function as described in this document,contact a technical support professional.

Note: This document was accurate at publication time. To ensure that you are using the latestversion of this document, go to the Support website https://www.dell.com/support.

Purpose

This document describes how to install and upgrade the PowerProtect Microsoft applicationagent.

Audience

This document is intended for the user who installs and upgrades the Microsoft application agent.

Revision history

The following table presents the revision history of this document.

Table 1 Revision history

Revision Date Description

01 September 24,2019

Initial release of this document for the Microsoftapplication agent 19.2.

Related documentation

The following publications provide additional information:

l PowerProtect Microsoft Application Agent Exchange Server User Guide

l PowerProtect Microsoft Application Agent SQL Server User Guide

l PowerProtect Microsoft Application Agent Release Notes

l PowerProtect ItemPoint for Microsoft SQL Server User Guide

l PowerProtect ItemPoint for Microsoft Exchange Server User Guide

l PowerProtect Database Application Agent Installation and Administration Guide

l PowerProtect Database Application Agent Release Notes

l DDBEA section of the eLab Navigator at https://elabnavigator.emc.com/eln/modernHomeDataProtection

l Data Domain Operating System documentation

l PowerProtect Storage Direct Primary and Protection Storage Configuration Guide

l PowerProtect Storage Direct Solutions Guide

l RecoverPoint documentation

l XtremIO documentation

Dell EMC PowerProtect Microsoft Application Agent Installation Guide 7

Page 8: Dell EMC PowerProtect Microsoft Application Agent ... · Using the backup discovery tool for PowerProtect management of existing ... This document describes how to install and upgrade

l VMAX documentation

Special notice conventions that are used in this document

The following conventions are used for special notices:

NOTICE Identifies content that warns of potential business or data loss.

Note: Contains information that is incidental, but not essential, to the topic.

Typographical conventions

The following type style conventions are used in this document:

Table 2 Style conventions

Bold Used for interface elements that a user specifically selects or clicks,for example, names of buttons, fields, tab names, and menu paths.Also used for the name of a dialog box, page, pane, screen area withtitle, table label, and window.

Italic Used for full titles of publications that are referenced in text.

Monospace Used for:

l System code

l System output, such as an error message or script

l Pathnames, file names, file name extensions, prompts, andsyntax

l Commands and options

Monospace italic Used for variables.

Monospace bold Used for user input.

[ ] Square brackets enclose optional values.

| Vertical line indicates alternate selections. The vertical line means orfor the alternate selections.

{ } Braces enclose content that the user must specify, such as x, y, or z.

... Ellipses indicate non-essential information that is omitted from theexample.

You can use the following resources to find more information about this product, obtain support,and provide feedback.

Where to find product documentation

l https://www.dell.com/supportl https://community.emc.com

Where to get support

The Support website https://www.dell.com/support provides access to product licensing,documentation, advisories, downloads, and how-to and troubleshooting information. Theinformation can enable you to resolve a product issue before you contact Support.

To access a product-specific page:

1. Go to https://www.dell.com/support.

2. In the search box, type a product name, and then from the list that appears, select theproduct.

Preface

8 Dell EMC PowerProtect Microsoft Application Agent Installation Guide

Page 9: Dell EMC PowerProtect Microsoft Application Agent ... · Using the backup discovery tool for PowerProtect management of existing ... This document describes how to install and upgrade

Knowledgebase

The Knowledgebase contains applicable solutions that you can search for either by solutionnumber (for example, KB000xxxxxx) or by keyword.

To search the Knowledgebase:

1. Go to https://www.dell.com/support.

2. On the Support tab, click Knowledge Base.

3. In the search box, type either the solution number or keywords. Optionally, you can limit thesearch to specific products by typing a product name in the search box, and then selecting theproduct from the list that appears.

Live chat

To participate in a live interactive chat with a support agent:

1. Go to https://www.dell.com/support.

2. On the Support tab, click Contact Support.

3. On the Contact Information page, click the relevant support, and then proceed.

Service requests

To obtain in-depth help from Licensing, submit a service request. To submit a service request:

1. Go to https://www.dell.com/support.

2. On the Support tab, click Service Requests.

Note: To create a service request, you must have a valid support agreement. For details abouteither an account or obtaining a valid support agreement, contact a sales representative. Toget the details of a service request, in the Service Request Number field, type the servicerequest number, and then click the right arrow.

To review an open service request:

1. Go to https://www.dell.com/support.

2. On the Support tab, click Service Requests.

3. On the Service Requests page, under Manage Your Service Requests, click View All DellService Requests.

Online communities

For peer contacts, conversations, and content on product support and solutions, go to theCommunity Network https://community.emc.com. Interactively engage with customers, partners,and certified professionals online.

How to provide feedback

Feedback helps to improve the accuracy, organization, and overall quality of publications. You cansend feedback to [email protected].

Preface

Dell EMC PowerProtect Microsoft Application Agent Installation Guide 9

Page 10: Dell EMC PowerProtect Microsoft Application Agent ... · Using the backup discovery tool for PowerProtect management of existing ... This document describes how to install and upgrade

Preface

10 Dell EMC PowerProtect Microsoft Application Agent Installation Guide

Page 11: Dell EMC PowerProtect Microsoft Application Agent ... · Using the backup discovery tool for PowerProtect management of existing ... This document describes how to install and upgrade

CHAPTER 1

Product Overview

This chapter includes the following sections:

l Introduction to the Microsoft application agent..................................................................... 12l Application Direct overview....................................................................................................12l Storage Direct overview........................................................................................................ 13

Dell EMC PowerProtect Microsoft Application Agent Installation Guide 11

Page 12: Dell EMC PowerProtect Microsoft Application Agent ... · Using the backup discovery tool for PowerProtect management of existing ... This document describes how to install and upgrade

Introduction to the Microsoft application agentThe Microsoft application agent leverages an enterprise application data protection framework toprovide application-centric data protection.

The Microsoft application agent enables database and application administrators to efficientlyback up and restore applications by using the applications’ native tools.

Microsoft application agent backups are application-consistent. The Microsoft application agentcan completely restore the backups.

Application Direct overviewApplication Direct integrates with the following technologies:

l Data Domain Boost

l Data Domain, a purpose-build backup appliance

The Microsoft application agent for Application Direct provides the following capabilities:

l Supports Application Direct backups to a Data Domain system.

l Supports Application Direct backups and restores of SQL Server over either an Ethernet (IP)or a Fibre Channel (FC) network connection to Data Domain. Backups and restores use a SQLVirtual Device Interface (VDI).

l Supports Application Direct backups and restores of Exchange Server over either IP or FC toData Domain by using the block-based backup technology.

l Supports in-flight encryption for Application Direct connections to a Data Domain 6.0 or lateroperating system over a WAN connection.To use this feature, you can configure the Data Domain system with either medium-strength orhigh-strength TLS encryption. The configuration is transparent to the Microsoft applicationagent. The latest Data Domain Boost Administration Guide provides information.

l Supports Internet Protocol version 6 (IPv6) for Application Direct backups and restores.

l Supports Data Domain IPv4, IPv6, and mixed IPv4 and IPv6 networks, that is, multi-homedenvironments of dual NIC environments.

l Supports federated Application Direct backups to protect SQL Server Always On availabilitygroup environments, which honors the Always On availability group’s Backup Preferences thatwere set on the SQL Server. You can set backup preferences to perform tasks, such asoffloading backups to a specific secondary node.

l Supports federated Application Direct backups of Exchange Server Database AvailabilityGroups (DAGs).

l Supports backup and recovery operations for Data Domain Virtual Edition (DDVE) for SQLServer and Exchange Server in the following cloud environments:

n Amazon Web Services (AWS) cloud.

n Azure cloud.

Note: Cluster configurations and cloud-tier are not supported for AWS and Azure cloudenvironments.

Product Overview

12 Dell EMC PowerProtect Microsoft Application Agent Installation Guide

Page 13: Dell EMC PowerProtect Microsoft Application Agent ... · Using the backup discovery tool for PowerProtect management of existing ... This document describes how to install and upgrade

Storage Direct overviewThe Storage Direct solution integrates primary storage with protection storage for backups to aData Domain system.

Storage Direct provides block movement of the data on application source LUNs to Data DomainLUNs over a dedicated storage network.

The application host neither reads nor moves data. Only the changed blocks are moved fromprimary storage to protection storage over the dedicated network.

The Storage Direct workflow can provide data protection in situations, such as small or non-existent backup windows, demanding recovery time objective (RTO) or recovery point objective(RPO) requirements, or a combination of these situations, when more traditional approachescannot successfully meet business demands.

The Microsoft application agent for Storage Direct provides the following capabilities:

l Enables you to perform the following types of backups:

n Storage Direct with RecoverPoint backups from XtremIO primary storage to a Data Domainsystem

n Storage Direct backups from Symmetrix VMAX primary storage to a Data Domain system

l Supports SQL and Exchange server backup and restore operations on the following storagearrays:

n XtremeIO with RecoverPoint

n VMAX

l Supports Internet Protocol version 6 (IPv6) for Storage Direct backups and restores.

l In the case of federated Storage Direct backups, the Microsoft application agent backs upAlways On availability group databases as stand-alone databases. Offloading backups toanother node for Storage Direct protection is not a concern because data moves from primarystorage directly to a Data Domain system.

Product Overview

Dell EMC PowerProtect Microsoft Application Agent Installation Guide 13

Page 14: Dell EMC PowerProtect Microsoft Application Agent ... · Using the backup discovery tool for PowerProtect management of existing ... This document describes how to install and upgrade

Product Overview

14 Dell EMC PowerProtect Microsoft Application Agent Installation Guide

Page 15: Dell EMC PowerProtect Microsoft Application Agent ... · Using the backup discovery tool for PowerProtect management of existing ... This document describes how to install and upgrade

CHAPTER 2

Installing the Microsoft Application Agent

This chapter includes the following sections:

l System requirements............................................................................................................. 16l Prerequisites..........................................................................................................................16l Installing the Microsoft application agent.............................................................................. 18l Important steps to perform after installation.........................................................................22l Changing Microsoft application agent installation options.....................................................25

Dell EMC PowerProtect Microsoft Application Agent Installation Guide 15

Page 16: Dell EMC PowerProtect Microsoft Application Agent ... · Using the backup discovery tool for PowerProtect management of existing ... This document describes how to install and upgrade

System requirementsThe DDBEA section of the eLab Navigator at https://elabnavigator.emc.com/eln/modernHomeDataProtection provides information about the supported operating systems andapplications for the Microsoft application agent for Application Direct and Storage Direct.

PrerequisitesEnsure that the following prerequisites are met before you install the Microsoft application agent.

SQL Server prerequisitesEnsure that a SQL Server environment meets the following prerequisites before installing theMicrosoft application agent:

l Ensure that the volume on which you install the Microsoft application agent will not be part ofbackups.

l Install the following applications on the host as Administrator:

n Microsoft SQL Server.

n Either the SQL Server Management Studio (SSMS) as part of the SQL Server installationor the Microsoft Visual Studio 2010 Shell (Isolated) Redistributable Package managementtool.

n .NET Framework 4.0.

To install and use ItemPoint for SQL for Storage Direct backups, install .Net 4.5 framework.

The DDBEA section of the eLab Navigator at https://elabnavigator.emc.com/eln/modernHomeDataProtection provides more information about the supported software andoperating system versions.

n If you are installing Microsoft application agent with Storage Direct for VMAX, install VMAXSolutions Enabler first before you install Microsoft application agent. Otherwise, when theMicrosoft application agent is installed it overwrites the registry keys. Ensure that youperform a typical installation of the VMAX Solutions Enabler. The Solutions EnablerInstallation and Configuration Guide provides installation instructions.

l Obtain the required software licenses.

Contact your sales representative for more details about the required licenses for theenvironment.

l Download the Microsoft application agent software package from Online Support (https://support.emc.com) to the Windows Microsoft application agent for SQL Server host.

l To deploy Common Language Runtime (CLR) assembly and run CLR-integrated T-SQLfunctions in a SQL environment, you must be an administrator on:

n The SQL host domain admin if the SQL host is part of domain and SQL server is running inthe context of a domain admin.

n The SQL Server and the master database.

l To register the CLR assembly that you require for T-SQL integration, you have made .NETFramework 4.0 available in the MSSQL environment.

l For the Windows login account that the Microsoft application agent backup and restoreprocesses use to connect to a SQL Server, grant the following roles:

n SQL Server system administrator (sysadmin) role to provide the T-SQL backup query.

Installing the Microsoft Application Agent

16 Dell EMC PowerProtect Microsoft Application Agent Installation Guide

Page 17: Dell EMC PowerProtect Microsoft Application Agent ... · Using the backup discovery tool for PowerProtect management of existing ... This document describes how to install and upgrade

n SQL Server sysadmin role to open a shared memory handle when starting the VDI.

l As a Microsoft application agent user, ensure that you are a member of the following groups:

n Local backup operators group.

n Local administrators group.

For SQL Server Application Direct operations, the PowerProtect Microsoft Application AgentSQL Server User Guide provides the minimum user privileges that are required for the SQLServer and Windows account.

l Log in with an administrative user to install and start the Microsoft application agent. If you arenot a domain administrator user, run as a local administrator.

l To perform the Microsoft application agent for SQL Server backups to a Data Domain serverover FC, you have granted the SQL Server user (SERVICE) the administrator privileges.

l To successfully create backup and restore logs, you have granted the SQL Server user(SERVICE) the write access to the Microsoft application agent installation folder and the logsubfolder.

l Log in with an administrative user to run ItemPoint. You must run ItemPoint in theadministrative mode.

l Installation of the PowerProtect agent requires port 7000 to be open bidirectionally. This portis required to enable communication between the Microsoft application agent and thePowerProtect appliance.

Exchange Server prerequisitesEnsure that an Exchange Server environment meets the following prerequisites before installingthe Microsoft application agent:

l Ensure that the volume on which you Install the Microsoft application agent will not be part ofbackups.

l Install the following applications on the host as Administrator:

n Microsoft Exchange Server.

n .NET Framework 4.0.

To install and use ItemPoint for Exchange for Storage Direct backups, install .NET 4.0 SP1framework.

Ensure that you are using Microsoft Office Outlook 2010 or later (32-bit versions only).

The DDBEA section of the eLab Navigator at https://elabnavigator.emc.com/eln/modernHomeDataProtection provides more information about the supported software andoperating system versions.

n If you are installing Microsoft application agent with Storage Direct for VMAX, install VMAXSolutions Enabler first before you install Microsoft application agent. Otherwise, whenMicrosoft application agent is installed it overwrites the registry keys. Ensure that youperform a typical installation of the VMAX Solutions Enabler in local mode. The SolutionsEnabler Installation and Configuration Guide provides installation instructions.

l Obtain one of the following software licenses:

n Data Protection Suite for Enterprise Applications Capacity license.

n Data Protection Suite Capacity license.

To enable Storage Direct with RecoverPoint operations with an XtremIO system, obtain theappropriate XtremIO and RecoverPoint source capacity licenses.

Installing the Microsoft Application Agent

Dell EMC PowerProtect Microsoft Application Agent Installation Guide 17

Page 18: Dell EMC PowerProtect Microsoft Application Agent ... · Using the backup discovery tool for PowerProtect management of existing ... This document describes how to install and upgrade

Contact your sales representative for more details about the license for the environment.

l Download the Microsoft application agent software package from Online Support (https://support.emc.com) to the Windows Microsoft application agent for Exchange Server host.

l Ensure that the Microsoft application agent user is a member of the local administrators group.

l Log in with an administrative user to install and start the Microsoft application agent. If you arenot a domain administrator user, run as a local administrator.

l Log in with an administrative user to run ItemPoint. You must run ItemPoint in theadministrative mode.

Installing the Microsoft application agentYour system must meet specific requirements and prerequisites before you install the Microsoftapplication agent.

NOTICE The Microsoft application agent can coexist with other backup products that you useto protect data. However, the Microsoft application agent cannot coexist with the databaseapplication agent.

Installing the Microsoft application agent using the installation wizardTo install the Microsoft application agent using the installation wizard, perform the following steps:

About this task

Procedure

1. Download the msappagent192_win_x64.zip file to the host where you want to installthe Microsoft application agent.

2. Open msappagent192_win_x64.zip with WinZip.

When you are prompted for a password, type the password that you received with thesoftware license.

3. Use WinZip to extract the msappagent192_win_x64.zip file.

4. In the extracted folder, launch emcmsappagent-19.2.0.0.exe.

The installation wizard appears.

5. On the Welcome Wizard page, select I agree to the license term and agreements, andthen click Next.

6. On the Change Install Location page, perform one of the following tasks:

l To install the Microsoft application agent in the default folder, leave the installationlocation as-is.

The default installation folder is C:\Program Files\DPSAPPS\MSAPPAGENT.

l To specify a different installation location, perform the following steps: .

a. Click Change.

b. In the dialog box that appears, specify the installation location.

c. Click OK.

7. Click Next.

8. On the Configure Installation Options page, complete the following steps:

Installing the Microsoft Application Agent

18 Dell EMC PowerProtect Microsoft Application Agent Installation Guide

Page 19: Dell EMC PowerProtect Microsoft Application Agent ... · Using the backup discovery tool for PowerProtect management of existing ... This document describes how to install and upgrade

a. Select any of the following install options as required:

l Select Application Direct to install the Data Domain Boost for EnterpriseApplications (DDBEA) solution to protect data using Data Domain Boost technology.

l Select Storage Direct to install the Storage Direct hardware provider to protect datausing VMAX or RecoverPoint.

l Select VM Direct to restore a backup to a SQL Server virtual machine that is notprotected in a PowerProtect protection policy.

Note: By default, when a SQL Server virtual machine is added to a protectionpolicy in PowerProtect, the Microsoft application agent and ItemPoint silentlyinstall on the protected virtual machine. When you are restoring a VM Directbackup to an alternate instance on a virtual machine that is not part of aprotection policy, you must install the Microsoft application agent on the targetvirtual machine.

l Select SSMS Plug-in to install the SQL Server Management Studio plug-in userinterface, which you can use to perform SQL Server backup and restore operations.

l Select ItemPoint to install the ItemPoint software, which you can use to performgranular-level and table-level restore operations.

l To connect the Microsoft application agent with a PowerProtect appliance, performthe following steps:

a. Select the PowerProtect Data Manager checkbox.

b. In the Appliance Hostname or IP address field, type the hostname or IP addressof the PowerProtect server.

You can enable integration with a PowerProtect server at any time by re-running theinstallation wizard.

Note: Installation of the PowerProtect agent requires port 7000 to be openbidirectionally. This port is required to enable communication between the Microsoftapplication agent and the PowerProtect appliance.

b. Click Install >.

Note: If you select Storage Direct and the Solutions Enabler is not detected on thehost, a warning message appears. Ensure that you install Solutions Enabler before youinstall the Microsoft application agent.

9. For SQL Server only, review the information in Deploying the CLR assembly on page 22 and (Optional) Creating and registering the T-SQL stored procedures in a user database on page24.

10. For SQL Server only, on the CLR assembly deployment wizard page, perform the followingsteps:

Note: This step does not apply to installations on Exchange Server. If you are installingthe software on an Exchange Server, click Close.

a. Select or clear the SQL Server instances on which you want to deploy the CLRAssembly. By default, all the SQL Server instances are selected.

b. To deploy CLR Assembly, select one of the following authentication options:

l Current Windows User

l Use Windows Authentication

Installing the Microsoft Application Agent

Dell EMC PowerProtect Microsoft Application Agent Installation Guide 19

Page 20: Dell EMC PowerProtect Microsoft Application Agent ... · Using the backup discovery tool for PowerProtect management of existing ... This document describes how to install and upgrade

l Use Database Authentication

c. Select Enable ProtectPoint Stored Procedures to use the Storage Direct storedprocedures.

d. In the User name and Password fields respectively, type the username and thepassword of the user who has the privileges to deploy the CLR Assembly.

e. Click Deploy.

If you have selected ItemPoint to install on a SQL Server host, the Windows Securitydialog box appears to confirm the installation of the EldoS driver.

f. Click Install.

g. After the deployment completes, click Next.

11. On the Complete the Setup page, click Finish.

If you are installing the Microsoft application agent on an Exchange Server host, the AppAgent Exchange Admin Configuration tool launches. The PowerProtect Microsoft ApplicationAgent Exchange Server User Guide provides information about the tool.

Installing the Microsoft application agent with the command prompt (silentinstallation)

To silently install the Microsoft application agent, run the following command:

emcmsappagent-19.2.0.0.exe -silent -log "<log_file_path>" [ProductInstallPath="<installation_path>"] [EnableSSMS={0|1}] [EnableVMDirect={0|1}][EnableProtectPoint={0|1}] [EnableSSMSProtectPoint={0|1}] [InstallPPDMAgentCheckBox={0|1}] [PPDMHostname="<hostname/IP>"] [EnableCLR={0|1}]

Note: The ItemPoint software cannot be installed silently. To install ItemPoint for granular-level recovery, use the Microsoft application agent installation wizard.

The following table describes the required silent install command variables.

Table 3 Required silent install command variables

Variable Description

-silent Indicates a silent installation.

-log "<log_file_path>" Specifies the path where the log file must becreated or saved.

The log file displays the status of theinstallation. In the case of silent installation,you must use the -log <log_file_path>option.

The following table describes the optional silent install command variables.

Installing the Microsoft Application Agent

20 Dell EMC PowerProtect Microsoft Application Agent Installation Guide

Page 21: Dell EMC PowerProtect Microsoft Application Agent ... · Using the backup discovery tool for PowerProtect management of existing ... This document describes how to install and upgrade

Table 4 Optional silent install command variables

Variable Description

ProductInstallPath="<installation_path>"

Specifies a modified path where the productmust be installed. If you don't specify thisoption, the product is installed to the defaultlocation.

EnableSSMS={0|1} Specifies whether to install the SSMS plug-in.The default value is 1, which installs the SSMSplug-in.

EnableVMDirect={0|1} Installs VM Direct when you specify 1. Thedefault value is 0, which does not install VMDirect.

EnableProtectPoint={0|1} Installs the Storage Direct hardware providerwhen you specify 1. The default value is 0,which does not install Storage Direct.

EnableSSMSProtectPoint={0|1} Installs the Storage Direct hardware providerand the SSMS plug-in for Storage Directwhen you specify 1. The default value is 0,which does not install these options.

InstallPPDMAgentCheckBox={0|1} Integrates the Microsoft application agentwith a PowerProtect server during installationwhen you specify 1. The default value is 0.

Note: Installation of the PowerProtectagent requires port 7000 to be openbidirectionally. This port is required toenable communication between theMicrosoft application agent and thePowerProtect appliance.

PPDMHostname="<hostname/IP>" Specifies the hostname or IP address of thePowerProtect server where the backupinformation will be reported.

EnableCLR={0|1} Specifies whether to deploy CLR. By default,this option is enabled and has the value 1,which deploys CLR.

Example commands to silently install the Microsoft application agent

Consider the following example commands to silently install the Microsoft application agent:

l The following command installs the Microsoft application agent with VM Direct:

emcmsappagent-19.2.0.0.exe -silent EnableVMDirect=1

Installing the Microsoft Application Agent

Dell EMC PowerProtect Microsoft Application Agent Installation Guide 21

Page 22: Dell EMC PowerProtect Microsoft Application Agent ... · Using the backup discovery tool for PowerProtect management of existing ... This document describes how to install and upgrade

l The following command installs the Microsoft application agent with the Application DirectSSMS plug-in:

emcmsappagent-19.2.0.0.exe -silent -log "C:\Users\Administrator\Desktop\installLog.txt" ProductInstallPath="C:\Users\Administrator\Desktop\EMC msappagent—sappagent40"

l The following command installs the Microsoft application agent without deploying CLR:

emcmsappagent-19.2.0.0.exe -silent -log "C:\Users\Administrator\Desktop\installLog.txt" ProductInstallPath="C:\Users\Administrator\Desktop\EMC msappagent—sappagent40" EnableCLR=0

l The following command installs the Microsoft application agent with Storage Direct only:

emcmsappagent-19.2.0.0.exe -silent -log "C:\Users\Administrator\Desktop\installLog.txt" ProductInstallPath="C:\Users\Administrator\Desktop\EMC msappagent—sappagent40" EnableProtectPoint=1 EnableSSMS=0

l The following command installs the Microsoft application agent with Storage Direct and theSSMS plug-in:

emcmsappagent-19.2.0.0.exe -silent -log "C:\Users\Administrator\Desktop\installLog.txt" ProductInstallPath="C:\Users\Administrator\Desktop\EMC msappagent—sappagent40" EnableSSMSProtectPoint=1

l The following command installs the Microsoft application agent with the PowerProtectintegration:

emcmsappagent-19.2.0.0.exe -silent InstallPPDMAgentCheckBox=1 PPDMHostname="<PowerProtect_Data_Manager_hostname_or_IP>"

Important steps to perform after installationl Install the Microsoft application agent on all the nodes of a SQL Server cluster so the CLR

Assembly is deployed for all the SQL Server instances.

l To deploy the CLR Assembly on a new instance, or modify the CLR Assembly on an instance,run the CLR Assembly deployment wizard by using ddbmaSQLCLRDeployApp.exe, which istypically present in the <Product_Installation_Folder>\DPSAPPS\MSAPPAGENT\binfolder.

l The installer installs all the binaries as a single agent that supports Application Direct andStorage Direct. However, the installer registers the Storage Direct Hardware Provider as aCOM service (automatic), which is inactive.

l If you will perform backups through PowerProtect Data Manager, enable the discovery andscheduling of backups with PowerProtect Data Manager by approving the client in thePowerProtect Data Manager UI.

Deploying the CLR assemblyYou must deploy the CLR Assembly to perform any of the following tasks in a SQL Serverenvironment:

l Create and use T-SQL backups

l Delete expired backups

Installing the Microsoft Application Agent

22 Dell EMC PowerProtect Microsoft Application Agent Installation Guide

Page 23: Dell EMC PowerProtect Microsoft Application Agent ... · Using the backup discovery tool for PowerProtect management of existing ... This document describes how to install and upgrade

l Restore T-SQL backups

To deploy the CLR Assembly on a SQL Server instance, you must enable or register the CLRassembly on the SQL Server. The Microsoft application agent for SQL Server installation processuses the registered CLR assembly to deploy the CLR-integrated T-SQL functions. http://msdn.microsoft.com/en-us/library/ms254498(v=vs.110).aspx provides information about SQLServer CLR.

The deployment creates a CLR assembly (Dynamic Link Library [DLL]) that contains the followingstored procedures, which run the Microsoft application agent for SQL Server CLI commands:

l emc_run_backupl emc_run_restorel emc_run_deletel protectpoint_run_backupl protectpoint_run_restorel protectpoint_run_deleteThe “Microsoft application agent for Application Direct with SQL Server” chapter providesinformation about using the Microsoft application agent for SQL Server command prompt and GUI.

You must deploy the CLR Assembly on all the SQL Server instances, on which you want to run theMicrosoft application agent for SQL Server T-SQL scripts.

To deploy the CLR Assembly on a new instance, or modify the CLR Assembly on an instance, runthe CLR Assembly deployment wizard by using ddbmaSQLCLRDeployApp.exe, which is typicallypresent in the <Product_Installation_Folder>\DPSAPPS\MSAPPAGENT\bin folder.

You can run the binary either in an interactive Windows mode, or with the command prompt byspecifying the -q option.

The following table lists the supported command line options and their description.

Table 5 Supported command options to run ddbmaSQLCLRDeployApp.exe

Option Description

-h | -help Displays the usage of the command line andthe description of the behavior.

-m: [install | uninstall] Runs the application in either the installationor the uninstallation mode. The default valueis install.

-i <instance_name>: Specifies the name of the instance to register.If you do not specify the instance name, allthe instances are connected.

-u: <user name> Specifies the name of the database user touse for SQL connection.

-q: Does not display the GUI to the user anddisplays all text to the console.

Installing the Microsoft Application Agent

Dell EMC PowerProtect Microsoft Application Agent Installation Guide 23

Page 24: Dell EMC PowerProtect Microsoft Application Agent ... · Using the backup discovery tool for PowerProtect management of existing ... This document describes how to install and upgrade

(Optional) Creating and registering the T-SQL stored procedures in a userdatabase

By default, the installation wizard (CLR deployment wizard) creates the stored procedures in themaster database. However, you can create and register the T-SQL stored procedures in a userdatabase, which is not a master database.

About this task

Note: This procedure uses the default Microsoft application agent installation path. If theMicrosoft application agent is not installed in the default path, use the relevant path in thecommands.

Procedure

1. When you install the Microsoft application agent, do not deploy the CLR Assembly on theSQL Server instance, on which you want to register the Microsoft application agent storedprocedures in a user database. If the assembly is already registered on the instance,unregister or remove the assembly by using the ddbmaSQLCLRDeployApp.exe file.

2. After the Microsoft application agent installation completes, run the following commands onthe SQL Server:

sp_configure 'show advanced options', 1;GORECONFIGURE;GOsp_configure 'clr enabled', 1;GORECONFIGURE;GO

Note: If you have modified the CPU or IO affinity mask for the server, replaceRECONFIGURE with RECONFIGURE WITH OVERRIDE in the above commands. Thismodification disables configuration parameter checking that would otherwise preventthe changes from being made.

3. Create a login in the master table by running the following commands:

create asymmetric key ddbmaCLRExtensionKey from executable file ='C:\Program Files\DPSAPPS\MSAPPAGENT\bin\DDBMASQLCLRLib.dll'gocreate login ddbmaCLRExtLogin from asymmetric key ddbmaCLRExtensionKey;gogrant unsafe assembly to ddbmaCLRExtLogin;go

4. Run the following commands on the user database, in which you want to register or save thestored procedures:

CREATE ASSEMBLY ddbmaSQLCLR from 'C:\Program Files\DPSAPPS\MSAPPAGENT\bin\DDBMASQLCLRLib.dll' WITH PERMISSION_SET = UNSAFE;goCREATE PROCEDURE emc_run_backup @cmdText nvarchar(MAX) AS EXTERNAL NAMEddbmaSQLCLR.[ddbmaSQLCLRLib.DDBMASQL].RunBackup;goCREATE PROCEDURE emc_run_restore @cmdText nvarchar(MAX) AS EXTERNAL NAMEddbmaSQLCLR.[ddbmaSQLCLRLib.DDBMASQL].RunRestore;

Installing the Microsoft Application Agent

24 Dell EMC PowerProtect Microsoft Application Agent Installation Guide

Page 25: Dell EMC PowerProtect Microsoft Application Agent ... · Using the backup discovery tool for PowerProtect management of existing ... This document describes how to install and upgrade

goCREATE PROCEDURE emc_run_delete @cmdText nvarchar(MAX) AS EXTERNAL NAMEddbmaSQLCLR.[ddbmaSQLCLRLib.DDBMASQL].RunDelete;go

After you register or save the stored procedures in a user database, you must use this userdatabase to run T-SQL procedures to perform backups and restores.

Changing Microsoft application agent installation optionsAfter installing the Microsoft application agent, you can change installation options at any time byrerunning the install wizard.

Change the Microsoft application agent installationProcedure

1. Double-click emcmsappagent-19.2.0.0.exe.

2. On the Install Modification page, select Change, and then click Next.

3. On the Configure Installation Options page, select the optional features that you want toinstall.

If you do not select features that were previously installed, they are removed.

Note: If you are removing the PowerProtect Data Manager installation option, performthe steps described in Disabling PowerProtect integration on page 25 to finishremoving PowerProtect integration.

4. Click Change.

Disabling PowerProtect integrationAfter removing the PowerProtect Data Manager installation option when changing installationoptions or upgrading the Microsoft application agent, manually delete the PowerProtect gatherinformation file.

Failure to delete this file can lead to new information files being added to the breadcrumbsdirectory during backup and delete operations.

The file is located in the following directory:

<install_path>\config\.ddbmcon.gatherInfoFor example, if the Microsoft application agent is installed in the default installation path, the file islocated in C:\Program Files\DPSAPPS\MSAPPAGENT\config\.ddbmcon.gatherInfo.

Installing the Microsoft Application Agent

Dell EMC PowerProtect Microsoft Application Agent Installation Guide 25

Page 26: Dell EMC PowerProtect Microsoft Application Agent ... · Using the backup discovery tool for PowerProtect management of existing ... This document describes how to install and upgrade

Installing the Microsoft Application Agent

26 Dell EMC PowerProtect Microsoft Application Agent Installation Guide

Page 27: Dell EMC PowerProtect Microsoft Application Agent ... · Using the backup discovery tool for PowerProtect management of existing ... This document describes how to install and upgrade

CHAPTER 3

Upgrading the Microsoft Application Agent

To upgrade the Microsoft application agent, use either the upgrade wizard or the command lineinterface (silent upgrade).

Note: You must install the same version of the Microsoft application agent on each node in ahigh-availability environment. During an upgrade of the software, ensure that no backups orrestores are running on either the client or each node in the high-availability environment.

This chapter includes the following sections:

l Upgrading the Microsoft application agent by using the upgrade wizard...............................28l Upgrading the Microsoft application agent by using the command line interface (silent

upgrade)................................................................................................................................28l Using the backup discovery tool for PowerProtect management of existing backups........... 29

Dell EMC PowerProtect Microsoft Application Agent Installation Guide 27

Page 28: Dell EMC PowerProtect Microsoft Application Agent ... · Using the backup discovery tool for PowerProtect management of existing ... This document describes how to install and upgrade

Upgrading the Microsoft application agent by using theupgrade wizard

Note: If Microsoft application agent version 4.7 or earlier is integrated with eCDM software,then instead of upgrading to the latest version of Microsoft application agent, you mustuninstall the earlier version and then install the latest version of the software.

1. Download the msappagent192_win_x64.zip file to the Microsoft application agent host.

2. Open and extract the msappagent192_win_x64.zip file with WinZip.When you are prompted for a password, type the password that you received with thesoftware license.

3. To start the installation wizard, double-click emcmsappagent-19.2.0.0.exe.

4. On the Welcome Wizard page, select I agree to the license term and agreements, and thenclick Next.

5. On the Change Install Location page, click Upgrade.

6. On the Configure Installation Options page, select the optional installation features that yourequire.If you had previously enabled PowerProtect integration, you are not required to specify thehostname or IP address of the PowerProtect server.

7. Click Upgrade.

NOTICE If the Microsoft application agent that you are upgrading is integrated withPowerProtect, immediately after the Microsoft application agent version 19.2 is installed, thePowerProtect administrator must run auto-configuration for the Microsoft application agentprotection policies. From the Protection Policies page, select the policy for the upgradedMicrosoft application agent, and then click SET LOCKBOX.

Upgrading the Microsoft application agent by using thecommand line interface (silent upgrade)

Note: If Microsoft application agent version 4.7 or earlier is integrated with eCDM software,then instead of upgrading to the latest version of Microsoft application agent, you mustuninstall the earlier version and then install the latest version of the software.

To upgrade the Microsoft application agent silently, run one of the following commands:

l emcmsappagent-19.2.0.0.exe -s -log “<log_file_path>"The command to either install or upgrade is the same, where -s performs silent installation orupgrade.

-log specifies the path, where the log file must be created or saved.

Note: The log file displays the status of the installation. In the case of silent installation,you must use the -log <log_file_path> option.

l emcmsappagent-19.2.0.0.exe -s -upgrade -log “<log_file_path>”The -upgrade option in this command indicates that you are performing an upgrade. The resultof running this command is the same as the result of running the emcmsappagent.exe -scommand.

-log specifies the path, where the log file must be created or saved.

Upgrading the Microsoft Application Agent

28 Dell EMC PowerProtect Microsoft Application Agent Installation Guide

Page 29: Dell EMC PowerProtect Microsoft Application Agent ... · Using the backup discovery tool for PowerProtect management of existing ... This document describes how to install and upgrade

Note: The log file displays the status of the installation. In the case of silent installation,you must use the -log <log_file_path> option.

l emcmsappagent-19.2.0.0.exe -s -upgrade InstallPPDMAgentCheckBox=1PPDMHostname="<PowerProtect_Data_Manager_hostname_or_IP>"The -upgrade option in this command indicates that you are performing an upgrade. Thiscommand performs the silent upgrade with the PowerProtect integration.

NOTICE If the Microsoft application agent that you are upgrading is integrated withPowerProtect, immediately after the Microsoft application agent version 19.2 is installed, thePowerProtect Administrator must run auto-configuration for the Microsoft application agentprotection policies. From the Protection Policies page, select the policy for the upgradedMicrosoft application agent, and then click SET LOCKBOX.

Using the backup discovery tool for PowerProtectmanagement of existing backups

To enable the PowerProtect Data Manager management of existing backups after you haveupgraded from a previous version of Microsoft application agent, you must run the backupdiscovery tool, AgentBackupDiscovery.exe. Existing backups are Microsoft application agentbackups that you performed before integrating the Microsoft application agent with PowerProtectData Manager software.

At the end of an upgrade of the Microsoft application agent with the upgrade wizard, the wizarddisplays a message about running the AgentBackupDiscovery.exe tool to discover existingbackups and manage them in PowerProtect Data Manager software.

NOTICERetention lock is not supported for discovered existing backups in PowerProtect DataManager.

You cannot use the backup discovery tool to discover existing DD Boost-over-FC backups.

After you run the backup discovery tool, you can continue to use the existing backup scripts toperform the Microsoft application agent backups. Ensure that all the databases backed up witha particular script are added to a single protection policy. By default, the PowerProtect DataManager overrides the Data Domain details by using the storage unit from the protectionpolicy. If you do not want the Data Domain details to be overridden, use the -a"SKIP_DD_OVERRIDE=TRUE" option in the backup scripts.

To discover the existing backups by using the backup discovery tool, perform the following steps.

1. In the Microsoft application agent installation directory, C:\Program Files\DPSAPPS\MSAPPAGENT\bin, run AgentBackupDiscovery.exe as the administrator.

The Discovery of existing backups dialog box appears.

Note: If the program does not start but displays the following message, an ongoing backupdiscovery process is running, as invoked by the PowerProtect Data Manager:

Backup discovery is in progress. Please wait for it to complete.

When the discovery process is complete, you can run the backup discovery tool.

2. In the Data Domain system list in the dialog box, select the appropriate Data Domain IP addressor hostname, storage unit, and username for the existing backups that you want thePowerProtect Data Manager software to discover.

Upgrading the Microsoft Application Agent

Dell EMC PowerProtect Microsoft Application Agent Installation Guide 29

Page 30: Dell EMC PowerProtect Microsoft Application Agent ... · Using the backup discovery tool for PowerProtect management of existing ... This document describes how to install and upgrade

Note: Select only one storage unit at a time. After discovery is complete for the storageunit, you can run the backup discovery tool again to discover the backups of anotherstorage unit.

3. In the Client hostname field, you can change the client hostname from the default localhostname as needed.

To enable the backup discovery for an AAG or FCI, you must specify the appropriate clienthostname:

l If the host is part of an AAG, specify the Windows cluster name.

l If the host is part of a SQL virtual server or FCI, specify the virtual server name.

4. In the Backup discovery time period field, select the number of months for the time period,as the time in the past when the backups were performed. You can select 1 month, 2 months,or 3 months for the time period.

5. After you have specified the required field values, click Generate.

When the PowerProtect Data Manager software completes the generation of the backupmetadata or breadcrumbs, the following message appears in the dialog box. Depending on thenumber of old backups, the generation of breadcrumbs can take some time:

Breadcrumbs generated successfully.

Upgrading the Microsoft Application Agent

30 Dell EMC PowerProtect Microsoft Application Agent Installation Guide

Page 31: Dell EMC PowerProtect Microsoft Application Agent ... · Using the backup discovery tool for PowerProtect management of existing ... This document describes how to install and upgrade

CHAPTER 4

Uninstalling the Microsoft Application Agent

You can use the setup file, the Windows uninstall program, or the command prompt (silentuninstallation) to uninstall the Microsoft application agent.

This chapter includes the following sections:

l Uninstall the Microsoft application agent with the setup file................................................. 32l Uninstalling the Microsoft application agent by using the Windows uninstall program...........32l Uninstalling the Microsoft application agent with the command prompt (silent uninstallation)

.............................................................................................................................................. 33

Dell EMC PowerProtect Microsoft Application Agent Installation Guide 31

Page 32: Dell EMC PowerProtect Microsoft Application Agent ... · Using the backup discovery tool for PowerProtect management of existing ... This document describes how to install and upgrade

Uninstall the Microsoft application agent with the setup fileAbout this task

To uninstall the Microsoft application agent for SQL Server with the setup file, perform thefollowing steps.

Procedure

1. Launch emcmsappagent-19.2.0.0.exe.

2. On the Install Modification page, select Remove, and then click Next.

3. On the Configure Uninstallation Options page, click Remove.

4. On the Removing the CLR assembly page:

a. Select the required SQL Server instances to remove the CLR Assembly.

By default, all the SQL Server instances are selected.

b. Select one of the following options to remove the CLR assembly:

l Use Windows Authentication

l Use Database Authentication

c. In the User name and Password fields, type the credentials for the user who has theprivileges to remove CLR assembly.

d. Click Remove.

e. After the removal completes, click Next.

5. On the Complete the Setup page, click Finish.

Results

The Microsoft application agent is uninstalled.

Uninstalling the Microsoft application agent by using theWindows uninstall program

About this task

To uninstall the Microsoft application agent by using the Windows uninstall program, perform thefollowing steps.

Procedure

1. On the Windows desktop, click Start > Control Panel > Programs > Uninstall a program.

2. In the Uninstall or change a program window, perform one of the following steps:

l Select Microsoft app agent, and then click Uninstall.

l Double-click Microsoft app agent.

3. On the Install Modification page, select Remove, and then click Remove.

4. On the Removing the CLR assembly page:

a. Either select or clear the required SQL Server instances to remove the CLR Assembly.By default, all the SQL Server instances are selected.

Uninstalling the Microsoft Application Agent

32 Dell EMC PowerProtect Microsoft Application Agent Installation Guide

Page 33: Dell EMC PowerProtect Microsoft Application Agent ... · Using the backup discovery tool for PowerProtect management of existing ... This document describes how to install and upgrade

b. Select either Use Windows Authentication or Use Database Authentication to removeCLR assembly.

c. In the User name and Password fields respectively, type the username and thepassword of the user, who has the privileges to remove CLR assembly.

d. Click Remove.

e. After the removal completes, click Next.

5. On the Complete the Setup page, click Finish.

Uninstalling the Microsoft application agent with thecommand prompt (silent uninstallation)

To uninstall the Microsoft application agent without any intervention, run the following command:

emcmsappagent-19.2.0.0.exe -uninstall -q UninstallADMAgent=1 -log"<log_file_path>"where:

l -q indicates silent uninstallation.

l UninstallADMAgent=1 is compulsory for silent uninstallation. If this option is not added in theuninstall command, then the ADM agent will still exist after the Microsoft application agent isuninstalled.

l -log specifies the path, where the log file must be created or saved.Note: The log file displays the status of the installation. In the case of silent installation,you must use the -log <log_file_path> option.

Consider the following example command to uninstall the Microsoft application agent with thecommand prompt:

emcmsappagent-19.2.0.0.exe -uninstall -q UninstallADMAgent=1 -log "C:\Users\Administrator\Desktop\uninstallLog.txt"

Uninstalling the Microsoft Application Agent

Dell EMC PowerProtect Microsoft Application Agent Installation Guide 33

Page 34: Dell EMC PowerProtect Microsoft Application Agent ... · Using the backup discovery tool for PowerProtect management of existing ... This document describes how to install and upgrade

Uninstalling the Microsoft Application Agent

34 Dell EMC PowerProtect Microsoft Application Agent Installation Guide