Sie sind auf Seite 1von 244

Avamar Management

August 2013

EMC Education Services

Copyright
Copyright 1996, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012,
2013 EMC Corporation. All Rights Reserved. EMC believes the information in this publication is accurate
as of its publication date. The information is subject to change without notice.
THE INFORMATION IN THIS PUBLICATION IS PROVIDED AS IS. EMC CORPORATION MAKES NO
REPRESENTATIONS OR WARRANTIES OF ANY KIND WITH RESPECT TO THE INFORMATION IN THIS
PUBLICATION, AND SPECIFICALLY DISCLAIMS IMPLIED WARRANTIES OF MERCHANTABILITY OR FITNESS
FOR A PARTICULAR PURPOSE.
Use, copying, and distribution of any EMC software described in this publication requires an applicable
software license.
EMC2, EMC, Data Domain, RSA, EMC Centera, EMC ControlCenter, EMC LifeLine, EMC OnCourse, EMC
Proven, EMC Snap, EMC SourceOne, EMC Storage Administrator, Acartus, Access Logix, AdvantEdge,
AlphaStor, ApplicationXtender, ArchiveXtender, Atmos, Authentica, Authentic Problems, Automated
Resource Manager, AutoStart, AutoSwap, AVALONidm, Avamar, Captiva, Catalog Solution, C-Clip,
Celerra, Celerra Replicator, Centera, CenterStage, CentraStar, ClaimPack, ClaimsEditor, CLARiiON,
ClientPak, Codebook Correlation Technology, Common Information Model, Configuration Intelligence,
Configuresoft, Connectrix, CopyCross, CopyPoint, Dantz, DatabaseXtender, Direct Matrix Architecture,
DiskXtender, DiskXtender 2000, Document Sciences, Documentum, elnput, E-Lab, EmailXaminer,
EmailXtender, Enginuity, eRoom, Event Explorer, FarPoint, FirstPass, FLARE, FormWare, Geosynchrony,
Global File Virtualization, Graphic Visualization, Greenplum, HighRoad, HomeBase, InfoMover,
Infoscape, Infra, InputAccel, InputAccel Express, Invista, Ionix, ISIS, Max Retriever, MediaStor,
MirrorView, Navisphere, NetWorker, nLayers, OnAlert, OpenScale, PixTools, Powerlink, PowerPath,
PowerSnap, QuickScan, Rainfinity, RepliCare, RepliStor, ResourcePak, Retrospect, RSA, the RSA logo,
SafeLine, SAN Advisor, SAN Copy, SAN Manager, Smarts, SnapImage, SnapSure, SnapView, SRDF,
StorageScope, SupportMate, SymmAPI, SymmEnabler, Symmetrix, Symmetrix DMX, Symmetrix VMAX,
TimeFinder, UltraFlex, UltraPoint, UltraScale, Unisphere, VMAX, Vblock, Viewlets, Virtual Matrix, Virtual
Matrix Architecture, Virtual Provisioning, VisualSAN, VisualSRM, Voyence, VPLEX, VSAM-Assist,
WebXtender, xPression, xPresso, YottaYotta, the EMC logo, and where information lives, are registered
trademarks or trademarks of EMC Corporation in the United States and other countries.
All other trademarks used herein are the property of their respective owners.
Copyright 2013 EMC Corporation. All rights reserved. Published in the USA.

Revision Date: 08/15/2013


Revision Number: MR-1CP-AVAM635.7-0.J.1

EMC Education Services

Document Revision History


Rev #

File Name

Date

EMC Avamar Administration Lab Guide


Avamar v3.6

May 2007

Update for Avamar v 3.7

August 2007

Update for VDC Environment

November 2007

Update for Avamar v 4.0.2

October 2008

Update for Avamar v 4.1

February 2009

Lab Guide revision F skipped; revision F was


only applied to the course Student Guide

N/A

Update for Avamar v5.0

March 2010

Update for Avamar v6.0

July 2011

Update for Avamar v6.1

July 2012

Update for Avamar v7.0

August 2013

Course name changed to:


Avamar Management

EMC Education Services

Table of Contents

INTRODUCTION ...................................................................................................... 7
LOGGING INTO THE LAB ENVIRONMENT .............................................................................8
LAB EXERCISE 2-1: INSTALL AND LAUNCH AVAMAR ADMINISTRATOR ................. 15
LAB 2-1:
LAB 2-1:
LAB 2-1:
LAB 2-1:

PART 1 INSTALL AVAMAR ADMINISTRATOR ......................................................16


PART 2 LAUNCH AVAMAR ADMINISTRATOR .....................................................23
PART 3 EXPLORING THE AVAMAR ADMINISTRATOR INTERFACE ............................25
PART 4 SET THE DEFAULT ADMINISTRATOR SERVER ...........................................27

LAB EXERCISE 2-2: INSTALL AVAMAR CLIENT SOFTWARE ..................................... 28


LAB 2-2: PART 1 INSTALL AVAMAR WINDOWS CLIENT SOFTWARE ....................................29
LAB 2-2: PART 2 INSTALLING AVAMAR SQL PLUG-IN .....................................................34
LAB EXERCISE 2-3: PERFORM AVAMAR ACCOUNT MANAGEMENT TASKS ............ 37
LAB 2-3:
LAB 2-3:
LAB 2-3:
LAB 2-3:
LAB 2-3:

PART 1 ADD A NEW DOMAIN........................................................................38


PART 2 ADD A NEW USER TO THE DOMAIN .....................................................41
PART 3 ACTIVATING THE CLIENT ....................................................................45
PART 4 VERIFYING CLIENT STATUS .................................................................47
PART 5 USING MCCLI COMMANDS .................................................................49

LAB EXERCISE 2-4: USING AVAMAR CLIENT MANAGER ......................................... 52


LAB 2-4: PART 1 CONFIGURING LDAP AUTHENTICATION AND INSTALLING AVAMAR CLIENT ..53
LAB 2-4: PART 2 USING CLIENT MANAGER...................................................................57
LAB EXERCISE 3-1: CREATE AVAMAR GROUPS ...................................................... 65
LAB 3-1:
LAB 3-1:
LAB 3-1:
LAB 3-1:

PART 1 CREATE A DATASET ...........................................................................66


PART 2 CREATE A SCHEDULE .........................................................................72
PART 3 CREATE A RETENTION POLICY .............................................................76
PART 4 CREATE A NEW GROUP .....................................................................79

LAB EXERCISE 3-2: RUNNING ON-DEMAND BACKUPS ........................................... 85


LAB 3-2: PART 1 RUN A FULL SYSTEM BACKUP..............................................................86
LAB 3-2: PART 2 RUN AN ON-DEMAND BACKUP OF THE GROUP USING AVAMAR
ADMINISTRATOR .........................................................................................................88
LAB 3-2: PART 3 RUN AN ON-DEMAND BACKUP USING PRE AND POST SCRIPTS ..................91
LAB 3-2: PART 4 COMPARING BACKUP DATA CAPACITY ..................................................99
LAB 3-2: PART 5 RUN AN ON-DEMAND BACKUP OF A SQL DATABASE ............................ 101
LAB 3-2: PART 6 BACKUPS WITH AVAMAR DESKTOP/LAPTOP ....................................... 105
LAB EXERCISE 3-3: MANAGING BACKUPS ........................................................... 109
LAB 3-3: PART 1 MANAGING BACKUPS..................................................................... 110
LAB EXERCISE 4-1: RUNNING RESTORES ............................................................. 115
LAB 4-1:
LAB 4-1:
LAB 4-1:
LAB 4-1:

EMC Education Services

PART 1 RUNNING RESTORES USING AVAMAR ADMINISTRATOR ......................... 116


PART 2 RESTORE A SQL DATABASE ............................................................. 124
PART 3 RESTORING WITH AVAMAR DESKTOP/LAPTOP .................................... 128
PART 4 VMWARE IMAGE BACKUP AND RESTORE ........................................... 133

LAB EXERCISE 4-2: PERFORMING A FULL SYSTEM RESTORE ................................ 145


LAB EXERCISE 5-1: USING AVAMAR ENTERPRISE MANAGER............................... 160
LAB 5-1: PART 1 EXPLORING AVAMAR ENTERPRISE MANAGER ...................................... 161
LAB EXERCISE 5-2: BACKUP RECOVERY MANAGER ............................................. 167
LAB 5-2: PART 1 CONFIGURING BACKUP & RECOVERY MANAGER ................................. 168
LAB 5-2: PART 2 EXPLORING BACKUP & RECOVERY MANAGER ..................................... 170
LAB EXERCISE 5-3: AVAMAR REPLICATION ......................................................... 175
LAB 5-3: PART 1 CONFIGURING NORMAL (STANDARD) REPLICATION ............................. 176
LAB 5-3: PART 2 RUNNING REPLICATION ON-DEMAND................................................ 182
LAB 5-3: PART 3 RESTORING A REPLICATED BACKUP ................................................... 184
LAB EXERCISE 6-1: PERFORMING DAILY SYSTEM MONITORING TASKS ............... 190
LAB 6-1: PART 1 PERFORM DAILY SYSTEM MONITORING TASKS .................................... 191
LAB 6-1: PART 2 MONITORING BACKUP AND SERVER STATUS ....................................... 198
LAB EXERCISE 6-2: USING DPNCTL ...................................................................... 202
LAB EXERCISE 6-3: DAILY MAINTENANCE ACTIVITIES .......................................... 204
LAB 6-3: PART 1 MONITORING DAILY MAINTENANCE ACTIVITIES .................................. 205
LAB 6-3: PART 2 ADMINISTRATOR BACKUP AND MAINTENANCE SCHEDULES.................... 210
LAB 6-3: PART 3 CAPACITY UTILIZATION ................................................................... 213
LAB EXERCISE 7-1: EXPLORING AVAMAR PROCESSES AND LOGS ........................ 222
LAB 7-1: PART 1 EXAMINING CACHE FILES AND BACKUP PERFORMANCE ......................... 223
LAB 7-1: PART 2 EXPLORE AVAMAR SERVER PROCESSES AND LOGS................................ 225
LAB 7-1: PART 3 EXAMINE CLIENT LOGS FOR BACKUP ACTIVITIES .................................. 228
LAB EXERCISE 7-2: RUNNING STANDARD AND CUSTOM REPORTS...................... 231
LAB 7-2: PART 1 SELECT AND RUN STANDARD REPORTS .............................................. 232
LAB 7-2: PART 2 CREATE A CUSTOM REPORT WITH AVAMAR ADMINISTRATOR................. 234
LAB 7-2: PART 3 CREATE A CUSTOM REPORT WITH MICROSOFT EXCEL ........................... 236
END OF LAB - CLEANUP....................................................................................... 242

EMC Education Services

This page intentionally left blank.

EMC Education Services

Introduction
Purpose:

The lab exercises contained in this guide give you an opportunity to


reinforce the information that you are learning in the Avamar
Management course. The lab exercises are designed to be run in a
test lab environment on the Avamar training lab system as
described below. Some of the lab exercises may make changes to
the system. For this reason, do not attempt to run the lab
exercises on a production system.

Lab Environment
Description

You will be using a Virtual Data Center (VDC) environment in Lab


Manager to perform the Avamar Management course lab
exercises.
Each student works in his own VDC configuration, accessed with an
assigned VDC/Lab Manager username and password.
The Avamar 7.0 Manag Lab configuration consists of these 5 virtual
machines:

win01 - This is your primary Windows workstation for the labs.


It also is a domain controller and DNS for your configuration.
win02 - We use this machine during the restore and replication
labs.
win02rebuild - This virtual machine is used as a recovery target
for a full server restore. It contains an identical configuration as
win02 except with blank, unformatted hard drives.
single01 - This is your dedicated Avamar single-node server.
single02 - This is your replication target Avamar server
brm - This is a Backup and Recovery Manager server

The Avamar Administrator interface and Avamar client software


will be installed by the student on win01 as part of the lab
exercises. Then, the Avamar client will be activated to the Avamar
server, single01, and the student will perform backups and restores
using the win01 client.
Note: The Avamar maintenance scheduler is disabled in this lab
environment to prevent conflicts with lab activities. Because of
this, you can expect the Avamar servers to report warnings related
to garbage collection and checkpoints.

EMC Education Services

Logging Into the Lab Environment


Follow these steps to log into the Avamar Management course lab environment VDC and your assigned
Windows host.
Step
1

Action
Log into a Windows classroom computer.
The logon screen for your Windows client host is displayed.
Note: Your instructor will provide login instructions.

Open Microsoft Internet Explorer and go to the URL: https://vdc.emc.com


Log in to the Virtual Data Center with the user name and password provided to you by
the instructor.

At the next screen, click the Virtual Lab Manager link.

If you see this message, click Continue to this website.

EMC Education Services

Step

Action

At the Lab Manager login screen, enter the same Lab Manager Login User name and
Password assigned to you by your instructor. Then, click Login.

You will be working in the Avamar 7.0 Manag Lab configuration for all the labs for this
course. To get your own personal copy of the configuration, clone the configuration to
your Lab Manager workspace.
In the left pane of the Lab Manager screen, click Library. Next, hover over the Avamar
7.0 Manag Lab configuration and select Clone to Workspace.

EMC Education Services

Step
7

Action
In Clone to Workspace, add your name to the beginning of the configuration name:
YOUR-NAME Avamar 7.0 Manag Lab. Click OK.

EMC Education Services

10

Step
8

Action
Click Workspace on the left side of the screen.

Result: When the clone operation completes, you see a clone copy of the Avamar 7.0
Manag Lab configuration in your workspace on the right side of the screen with 6 small
console windows as shown here. The status of each window and the configuration is
Undeployed.

To be able to use the configuration, it must first be deployed. Highlight the YOUR-NAME
Avamar 7.0 Manag Lab configuration and select Deploy with defaults.

Note: Deploying the configuration may take 4-5 minutes.

EMC Education Services

11

Step

Action

10

To view a console window, click in the small console view of the virtual machine that you
want to work in.

Result: Only the console window for that machine is displayed for you to work on that
machine. When you wish to work on another virtual machine, click Configuration in the
upper left of the screen and choose another virtual machine console. You can also view a
console with Remote Desktop by clicking the Remote Desktop button.

11

To work on a virtual machine, click inside its console window.

12

To send a Ctrl-Alt-Delete sequence to one of the Windows machines, right-click or mouse


over the arrow next to the machine name in the tab and select Ctrl-Alt-Delete.

13

To release the cursor from a console, press Ctrl-Alt.

EMC Education Services

12

Step
14

Action
When you are finished with your Lab Manager configuration for the day, just logout of
Lab Manager. (Theres no need to undeploy the virtual machines until you are finished
with all the labs at the end of the class or if instructed by the Lab Guide.)
Click Logout in the upper right corner of the Lab Manager screen.

End of Lab Exercise

EMC Education Services

13

This page intentionally left blank.

EMC Education Services

14

Lab Exercise 2-1: Install and Launch Avamar Administrator


Purpose:

In this lab, you install Avamar Administrator and explore the


Avamar Administrator options.

Tasks:

In this lab, you:

References:

EMC Education Services

Install Avamar Administrator on a Windows lab


computer

Launch Avamar Administrator

Explore the Avamar Administrator interface

Set the default Administrator server for login.

Avamar Management Student Guide

15

Lab 2-1: Part 1 Install Avamar Administrator


Step
1

Action
Before beginning the lab, you should power off the win02rebuild virtual machine since
it is not going to be used until later in the lab.
Click the open the win02rebuild console by clicking it under the Configuration menu.

Mouse-over the win02rebuild tab and select Power Off.

Switch to the win01 virtual machine by selecting it from the Configuration button.

EMC Education Services

16

Step
4

Action
Log onto your Windows workstation, win01, with user name EMC\Administrator,
password student.

Alternately, you can click the Remote Desktop button to open a remote desktop
connection to win01.

Click Open in the message that appears below. Then, click Connect. In the login screen,
click Use another account and enter the user name EMC\Administrator, password
student.

Click Yes to connect despite security issues.


5

Point the web browser at the Avamar server, single01, by entering the following URL:
http://single01.emc.edu

Note: If the configuration has recently been deployed, the Avamar server may not be
available yet. It may take 5-10 minutes for the Avamar server to fully load.

EMC Education Services

17

Step

Action

Click Continue to this website if you receive a security Alert.

Click the Downloads link at the bottom of the screen.

Result: The Downloads window appears.


8

Under Downloads, expand the appropriate operating system folder for your client
computer.

For this lab, expand Windows (32 bit), and then Microsoft Windows XP, Vista, 7, 8
Microsoft Windows Server 2003, 2008.

EMC Education Services

18

Step
9

Action
Before installing Avamar Administrator, we must install a supported version of JRE.
From the listing of available installation packages, select the JRE installer, jre<version>.exe. Ignore any security warning.
Note: Depending upon the Avamar release, the options displayed may be different from
what is shown here.

Result: The browser prompts you to either run or save the file to your computer.
10

Click Run to download the file. Click Run to install the software. Accept the license
agreement to continue the installation.
Click Close to complete the JRE installation.

EMC Education Services

19

Step

Action

11

From the Documents and Downloads directory listing of available installation packages,
select AvamarConsoleMultiple-windows-<version>.exe.
Note: Depending upon the Avamar release, the options displayed may be different from
what is shown here.

Result: The browser prompts you to either run or save the file to your computer.
12

Click Run to download the file to a temporary folder. Click Run to any Security Warnings.
Result: The License Agreement window appears.

13

After reading the license agreement, click Accept.

EMC Education Services

20

Step
14

Action
Enter H:\avs\administrator as the destination folder for installation. Click Install.

Result: Installation progress is displayed.

EMC Education Services

21

Step

Action
Result: The Avamar Administrator software installation is completed. An Avamar
Administrator shortcut is installed on the desktop and an entry for Avamar
Administrator is installed on the Windows Start menu.
Shortcut:

On Windows Start menu:

15

Close the web browser window.

End of Lab Exercise Part 1

EMC Education Services

22

Lab 2-1: Part 2 Launch Avamar Administrator


Step

Action

To start Avamar Administrator in Windows, click the Avamar Administrator


shortcut on the Windows desktop or from the Windows Start menu.
Result: The Avamar Administrator interface starts and displays the Log On

window.
2

Enter the following field values:


In the User Name field, enter: MCUser
In the Password field, enter: MCUser1
In the Domain Name field, enter: /
In the Administrator Server field, enter the name of your Avamar server,
single01.emc.edu.
Then, click Log On.

EMC Education Services

23

Step

Action

Result: After the loading is complete, the main Avamar Administrator screen displays.

End of Lab Exercise Part 2

EMC Education Services

24

Lab 2-1: Part 3 Exploring the Avamar Administrator Interface


Step

Action

Use Navigation from the Avamar Administrator menu bar to invoke and switch among
the various tasks or click a button from this main screen.

Click Help > Help Topics from the menu bar. Explore the Help facility and note the
information available.

Close the Avamar Administrator Help window.


EMC Education Services

25

Step

Action

Select Actions > Exit from the Avamar Administrator menu bar to exit Avamar
Administrator.

Select Yes.

End of Lab Exercise

EMC Education Services

26

Lab 2-1: Part 4 Set the Default Administrator Server


Step

Action

Launch Avamar Administrator and click Options from the Log On screen.

Enter single01.emc.edu for the Default Administrator Server and click OK.

The server name you entered displays by default each time the Avamar
Administrator log in screen displays.

End of Lab Exercise Part 1


EMC Education Services

27

Lab Exercise 2-2: Install Avamar Client Software


Purpose:

In this lab, you install Avamar Client software and activate


your client.

Tasks:

In this lab, you:

References:

EMC Education Services

Install the Avamar Client software on your Windows host


computer
Install the Avamar SQL client plug-in

Avamar Management Student Guide

28

Lab 2-2: Part 1 Install Avamar Windows Client Software


Step

Action

Log onto your Windows workstation, win01, with user name EMC\Administrator,
password student.

Point the web browser at the Avamar server, single01, by entering the following URL:
http://single01.emc.edu.

Ignore any Security Alerts.

Click the Downloads link at the bottom of the screen.

Result: The Downloads window appears.

EMC Education Services

29

Step
5

Action
Under Downloads, expand the appropriate operating system folder for your client
computer.

For this lab, expand Windows (64 bit), and then Microsoft Windows XP, Vista, 7, 8
Microsoft Windows Server 2003, 2008, 2008 R2, 2012.

From the listing of available installation packages, select


AvamarClient-windows-<version>.msi. Ignore any security warnings.
Note: Depending upon the Avamar release, the options displayed may be different from
what is shown here.

Result: The browser prompts you to either run or save the file to your computer.

EMC Education Services

30

Step
7

Action
Click Run. When the Security Warning displays, click Run again.
Result: The installation file downloads to a temporary folder and the Backup for
Windows Setup wizard displays.

Click Next. After reading the license agreement, accept the license agreement and click
Next.

EMC Education Services

31

Step

Action

At the Custom Setup screen, confirm the installation of the Desktop/Laptop features on
this machine (Avamar Client User Interface). Click Browse and enter H:\avs as the
installation location. Click OK and Next.

10

Click Install to install the software.

11

When the installation completes, click Finish.

EMC Education Services

32

Step

Action

12

Check to be sure that the Backup Agent process is running. From Windows Start, select
Administrative Tools > Services.

13

An EMC Avamar client icon

14

Close the Services windows.

is installed in the system tray on the taskbar:

End of Lab Exercise Part 1

EMC Education Services

33

Lab 2-2: Part 2 Installing Avamar SQL Plug-in


Step

Action

SQL Server is installed and running on the win01 machine. In this lab, you install the
Avamar SQL Windows client on win01. If not already logged in, log onto your Windows
workstation, win01, with user name EMC\Administrator, password student.

Point the web browser at the Avamar server, single01, by entering the following URL:
http://single01.emc.edu.

Answer Yes and OK to Security Alerts.

Click the Downloads link at the bottom of the screen.

Result: The Downloads window appears.

EMC Education Services

34

Step
5

Action
Under Downloads, expand the appropriate operating system folder for your client
computer.
For this lab, expand Windows (64 bit), and then Microsoft Windows XP, Vista, 7, 8
Microsoft Windows Server 2003, 2008, 2008 R2, 2012.

From the directory listing of available installation packages, select


AvamarSQL-windows-<version>.msi.

Result: The browser prompts you to either run or save the file to your computer.
7

Click Run. When the Security Warning displays, click Run again.
Result: The installation file downloads to a temporary folder and the Backup Plugin for
Windows SQL Setup wizard displays.

Click Next.

EMC Education Services

35

Step

Action

Click Install.

10

When the installation completes, click Finish.

11

Close the web browser window.

End of Lab Exercise

EMC Education Services

36

Lab Exercise 2-3: Perform Avamar Account Management Tasks


Purpose:

In this lab, you practice several Avamar account management


tasks.

Tasks:

In this lab, you:

References:

EMC Education Services

Add a new domain


Add a new user to the domain
Activate the client
Verify client status
Use mccli commands

Avamar Management Student Guide

37

Lab 2-3: Part 1 Add a New Domain


Step

Action

Launch Avamar Administrator and log into single01.emc.edu with the username
MCUser and password: MCUser1.

Open the Administration interface by choosing Navigation > Administration or


click the Administration button.

Click the Account Management tab from the Administration view.

In the left pane, click the level in the tree where you want to add the domain.
For our lab exercise, click the server name in the tree to add a new domain at
the level immediately under the root domain.

EMC Education Services

38

Step

Action

Click Actions > Account Management > New Domain.

Result: The New Domain dialog box appears.


6

In the New Domain dialog box, enter DesktopClients the new domain name. The
other fields in the dialog box are optional. Click OK.

Result: A confirmation box displays.

EMC Education Services

39

Step

Action

Click OK.

Result: Your domain is now added to the domain tree structure.

End of Lab Exercise Part 1

EMC Education Services

40

Lab 2-3: Part 2 Add a New User to the Domain


Step

Action

In Avamar Administrator, choose Navigation > Administration or click the


Administration button.

Click the Account Management tab. Highlight the DesktopClients domain to add a
new user to the domain.

Note: To add a new user to a client, click the client name in the tree.
3

Click Actions > Account Management > New User(s).

Result: The New User dialog box displays.

EMC Education Services

41

Step

Action

Enter any name for the user name and give the user the Administrator role. Enter
student for the password and confirm fields. Click OK.

Result: A confirmation box displays. Click OK.

Result: Your new user is now added to the domain.

EMC Education Services

42

Step

Action

Create another administrator account in the root domain to use for login instead of
using the MCUser account.
Click on the root domain and select Actions > Account Management >New User(s).

Enter your own name as the User Name and enter student as the password. Then
click OK. Use this username to log onto Avamar Administrator for the remainder of
the lab.

EMC Education Services

43

Step
7

Action
Close all Avamar Administrator windows.
Launch Avamar Administrator and log in using your new account credentials.

End of Lab Exercise Part 2

EMC Education Services

44

Lab 2-3: Part 3 Activating the Client


Step
1

Action
Avamar software has been installed onto win01, but has not yet been activated
with the server.
To activate the client, right-click the EMC Avamar Client icon
on the taskbar:

in the system tray

Select Manage > Activate Client from the EMC Avamar Client menu bar.

Enter the host name or IP address of single01.emc.edu and the DesktopClients


domain name in the appropriate boxes. Leave the port setting at its default. Click
Activate.

EMC Education Services

45

Step
4

Action
Click OK to acknowledge successful activation of the client.

Result: Your Avamar client is now online.

End of Lab Exercise Part 3

EMC Education Services

46

Lab 2-3: Part 4 Verifying Client Status


Step

Action

Launch Avamar Administrator (if not already running) and choose Navigation >
Administration or click Administration. Then, choose the Account Management tab.
Select the DesktopClients domain to see your activated client in the area below.

Check the properties of your client. From the Avamar Administrator Policy view
(Navigation > Policy), choose the Policy Management tab > Clients tab.

Select your domain from the tree in the left pane.


Result: A summary of the client properties is displayed in the right pane.

EMC Education Services

47

Step

Action

Review the detail client properties. Select your client and then click Details.

Result: The Client Details screen is displayed. Notice the CID and Activated status.

Verify that the client is now configured with the Avamar SQL plug-in.
In Client Details, click the Plug-ins tab.

Result: The display shows the plug-ins that are installed for this client.
6

Click OK to close Client Details.

End of Lab Exercise Part 4


EMC Education Services

48

Lab 2-3: Part 5 Using mccli Commands


Step

Action

From your Windows host, win01, launch PuTTY from the shortcut on the desktop to open
an SSH session with the Avamar server, single01.
Select single01 under Saved Sessions and click Load. Then, click Open. Log in as user
admin password admin1.

With mccli, display the current version of the Avamar server.


At the command prompt, type: mccli version show
Note: The version in the lab may not be the same as the screenshot.

EMC Education Services

49

Step
3

Action
With mccli, display the domains configured on the Avamar server.
At the command prompt,

type: mccli domain show


type: mccli domain show --recursive=true

What is the difference between the 2 commands?


4

Use mccli to display all clients currently configured on the Avamar server.
At the command prompt, type: mccli client show --recursive=true

EMC Education Services

50

Step
5

Action
Use mccli to display all users currently configured on the Avamar server.
At the command prompt, type: mccli user show --recursive=true

Type exit to close the PuTTY session.

End of Lab Exercise

EMC Education Services

51

Lab Exercise 2-4: Using Avamar Client Manager


Purpose:

In this lab, you activate a client with Client Manager and


explore the functions available.

Tasks:

In this lab, you explore the Avamar Client Manager


functionality.
You will:

References:

EMC Education Services

Configure Client Manager to use LDAP authorization

Install a second Avamar client

Use Client Manager to activate an Avamar client

Avamar Management Student Guide

52

Lab 2-4: Part 1 Configuring LDAP Authentication and Installing Avamar Client

Step

Action

Log onto your Windows workstation, win01, with user name EMC\Administrator and
password student.

Open Avamar Administrator and log onto your Avamar server, single01.emc.edu. Login to
the using your personal account created in the previous lab. Use password student.

Open the Administration interface and select the LDAP Management tab. Click
Directory Service Management.

EMC Education Services

53

Step

Action

In the Directory Service Management window that appears, click Add.

Enter emc.edu as the Fully Qualified Domain Name. Select the checkbox to make that the
default LDAP Domain.
Click Add. Then Yes, to confirm. Click OK to close the confirmation window.

Click Close in the Adding a new Directory Service section (not the one at the bottom of
the window.)

EMC Education Services

54

Step
7

Action
Select the EMC.EDU domain in the box on the left and click Test.
Enter the domain username Administrator and password student. Click Run Test.

Ensure that the LDAP domain test completes successfully.


8

Click Close in the test section of the window. Then close the Directory Service
Management window.

Switch to the win02 console from the Configuration button in Lab Manager.

Login as EMC\Administrator with the password of student.

EMC Education Services

55

Step

Action

10

On the client machine, win02, install the Avamar client software with the desktop / laptop
feature. Do not activate this client.
1.
2.
3.
4.
5.
6.
7.
8.

Point a web browser to http://single01.emc.edu/


Click the Downloads button.
Expand the Windows (64 bit) section.
Expand Microsoft Windows XP, Vista, 7, 8, and Microsoft Windows Server 2003,
2008, 2008 R2, 2012
Select AvamarClient-windows-<version>.msi
Choose Run to install the client.
During the installation process, install the client to the H:\avs directory and accept
all other defaults
When the installation is finished, close the web browser.

End of Lab Exercise Part 1

EMC Education Services

56

Lab 2-4: Part 2 Using Client Manager


Step
1

Action
On the client machine, win01, point the web browser to open Avamar Enterprise Manager
on single01. Accept any security warnings.
Note: It is recommended to use the Firefox or Chrome browsers for Client Manager. Firefox
is installed in the lab environment.
URL: http://single01.emc.edu/em

Select Enterprise Manager and log in with your personal account. Enter student as the
password. Then, click Log On.

Select Client Manager from the Enterprise Manager menu.

EMC Education Services

57

Step
4

Action
In the next few steps, you will activate win02 to the single01 server using Client Manager.
Expand the Clients section from the left side of the interface. Then, select Add Clients.

Click New Clients.

emc.edu will already be selected as the User Domain and Directory Domain since it was set
as the default in part 1 of this lab. Enter Administrator as a user name that has permission
to read the directory service. Enter student as the password. Click OK.

Result: WIN02.emc.edu appears in the Summary panel. (WIN01.emc.edu appears in the


Domain Controllers directory.)
EMC Education Services

58

Step
7

Action
You will now add WIN02 to the clients domain on the single01 server.
Select the checkbox next to WIN02.emc.edu. Then, click Activate.

Result: The Add New Clients dialog appears.


8

Select the DesktopClients domain. Then, click Next.

Select the Default Group. Click Finish.

EMC Education Services

59

Step

Action

10

Click OK to confirm the Client activation. Click OK again if another window appears.

11

Check the Activated Clients section after a few moments to see if the client has been
activated.

12

Expand the Logs section and select the Activation logs at the left side of the interface. Note
the entry for the recent client activation.

EMC Education Services

60

Step
13

Action
In the next steps, you create a new domain and move WIN02 to that domain using Client
Manager.
Expand the Clients section and select Activated Clients from the left side of the interface.

14

Select the checkbox next to WIN02 and click the Move button.

15

Select the clients domain in the Target Server Information panel on the right. Then, click
Create Domain. This creates a new domain within the clients domain.

EMC Education Services

61

Step
16

Action
Enter a name for your domain. Optionally, enter contact, phone, email, and location
information.
Click OK.

17

Expand the clients domain, select your new domain, and click Next.

18

Client Manager gives you the option to reassign the clients backup groups since different
groups may be available in a new domain.
Select the Default Group and click Finish.

19

Click OK to confirm that the process is running.

EMC Education Services

62

Step

Action

20

Check the Move logs by selecting Logs > Move from the left side of the interface.

21

Select Overview > Dashboard from the left side of the interface. Examine the information
presented in this view.

22

Explore the other features of Client Manager freely. Do not make any changes to the
configuration since these will still be used in later labs.
When finished, close Avamar Client Manager.

End of Lab Exercise

EMC Education Services

63

This page intentionally left blank.

EMC Education Services

64

Lab Exercise 3-1: Create Avamar Groups


Purpose:

In this lab, you use Avamar Administrator to create a new


group in your domain.

Tasks:

In this lab, you create:

References:

EMC Education Services

Dataset
Schedule
Retention Policy
Group

Avamar Management Student Guide

65

Lab 3-1: Part 1 Create a Dataset


Step
1

Action
In Part 1 of this lab, we create a dataset to backup the C:\Abackup directory.
From win01 launch Avamar Administrator and log into single01 with your personal
username.
Choose Navigation > Policy or click Policy. Then, select Policy Management tab > Groups
tab. Select the root domain in the tree. Notice the characteristics of the Default Group.

Select Tools > Manage Datasets from the menu bar.

EMC Education Services

66

Step
3

Action
Highlight the DesktopClients domain and click New to create a new dataset in the
domain.

Result: The New Dataset dialog box is displayed.


4

On the Source Data tab:

EMC Education Services

Enter a name for the new dataset. Do not use special characters or spaces in the
name.
Select Enter Explicitly and choose Windows File System for plug-in type.
Choose Select Files and/or Folders and then click the Browse button.

67

Step
5

Action
From Select Files and/or Folders, select your client from the Clients window and then
browse the Windows File System client until you can check the C:\Abackup folder.
Result: This causes all files in the directory to be selected.

Click OK.
Note: When created, a dataset can be assigned to any group or client within the domain
and its sub-domains. Selecting a client here assists in identifying a persistent selection of
files and folders for backup.

EMC Education Services

68

Step

Action
Result: Your source data selection is listed in the New Dataset dialog box.

EMC Education Services

69

Step
6

Action
Click the Options tab and select the following options:

Windows File System plug-in type


Enter a label for the backups
Report advanced statistics

Click OK to create the new dataset.

EMC Education Services

70

Step
8

Action
From the Manage All Datasets screen, expand the tree and highlight the new dataset
under your domain.
Result: The properties of the dataset are displayed. Notice the entries that you made for
Source Data and Options.

Click OK to close the Manage All Datasets screen.

End of Lab Exercise Part 1

EMC Education Services

71

Lab 3-1: Part 2 Create a Schedule


Step

Action

In Avamar Administrator, select Tools > Manage Schedules.

Highlight the DesktopClients domain in the tree and select New.

EMC Education Services

72

Step

Action

Enter a name for your schedule and select schedule parameters to run a backup every
day. Set the Earliest start time to 15 minutes past the current time as indicated in the
system tray of your Windows client VM. Set the backup to run for a maximum duration of
2 hours.
Note: Do not use special characters or spaces in the name.

Click OK to create the new schedule. Depending upon the hours set for your schedule,
you may receive a Schedule conflict message. If you do, click Yes to proceed with the save
of your schedule.

Note: In a production environment, schedules should be created so that backups run


during the Backup window.

EMC Education Services

73

Step

Action

From the Manage All Schedules screen, expand the tree and highlight the new schedule
under your domain. Review the properties of the new schedule.

Check the status of the Scheduler in the status bar at the bottom of the Avamar
Administrator screen. Status must be Running in order for group backups to run
automatically according to their assigned schedule.

Perform this step if the status indicates that the Scheduler is suspended, as shown here:

To enable scheduled server operations, click Resume All in Manage All Schedules.

Click OK to close the Manage All Schedules screen.

EMC Education Services

74

Step
9

Action
Click Yes to any Schedule conflict warnings. (Well look at this at a later time.)

End of Lab Exercise Part 2

EMC Education Services

75

Lab 3-1: Part 3 Create a Retention Policy


Step

Action

In Avamar Administrator, select Tools > Manage Retention Policies.

Highlight the DesktopClients domain in the tree and select New.

EMC Education Services

76

Step
3

Action
Enter a name for your retention policy. Select Override basic retention policy for
scheduled backups and click Advanced.
Note: Do not use special characters or spaces in the name.

Create an advanced retention policy by entering values for the number of daily, weekly,
monthly and yearly backups to retain.

Click OK and then click OK to create the new retention policy.

EMC Education Services

77

Step

Action

From the Manage All Retention Policies screen, expand the tree and highlight the new
retention policy under your domain. Review the properties for the new retention policy.

Click OK to close the Manage All Retention Policies screen.

End of Lab Exercise Part 3

EMC Education Services

78

Lab 3-1: Part 4 Create a New Group


Step

Action

In Avamar Administrator, open the Policy Management screen in the Policy view and
select the Groups tab. Highlight the DesktopClients domain and select Actions > New
Group.

Enter a name for your new group. Use the Medium encryption method. Click Next.
Note: Do not use special characters or spaces in the group name.

EMC Education Services

79

Step

Action

Select your dataset from the Select An Existing Dataset drop-down list and click Next.

Select your schedule from the Select An Existing Schedule drop-down list and click Next.

EMC Education Services

80

Step

Action

Select your retention policy from the Select An Existing Retention Policy drop-down list
and click Next.

Highlight your client in the list of clients to select the client.

Click Finish to create the new group.

EMC Education Services

81

Step

Action

Highlight your domain in the tree to see the elements of the group that you have just
created. Notice that the group is disabled by default.

To enable the group, highlight the group and select Actions > Group > Disable Group.

Note: There are other group functions that are available including Edit Group, Copy
Group, and Delete Group. You can also enable the group from the Edit option.
10

Click Yes to confirm.

Result: Scheduled group backups for the new group are now enabled. Group properties
reports a value of No for the Disabled column.

EMC Education Services

82

Step

Action

11

Click the Group Summary Reports tab and its sub-tabs to see a summary of the
properties, settings, and resources assigned to each group in the system.

12

Come back to this step after the scheduled time for the backup has passed to check the
completion status of the scheduled backup.
Select Navigation > Activity and check the status of the backup with the Activity Monitor.

EMC Education Services

83

Step

Action

13

If the backup failed or if it completed with exceptions, investigate the Activity Session
Drill-Down log for possible cause(s) of the failure/exceptions. To do this, double-click the
entry for the backup in the Activity Monitor.

You can click the hyperlinks under the Errors and Exceptions section to jump to that
specific error. Click Close to exit the Activity Session Drill-Down.

End of Lab Exercise

EMC Education Services

84

Lab Exercise 3-2: Running On-Demand Backups


Purpose:

In this lab, you run on-demand backups using the various


interfaces.

Tasks:

In this lab, you run on-demand backups using:

References:

EMC Education Services

Avamar Administrator
Avamar Client
Desktop Laptop

Avamar Management Student Guide

85

Lab 3-2: Part 1 Run a Full System Backup

Step
1

Action
In this lab, you perform a full system backup of win02. This backup will later be used to
perform a bare metal recovery in a future lab exercise.
On win01, open Avamar Administrator with server single01.emc.edu. Login using your
personal account with student as the password.

Choose Navigation > Backup and Restore or click the Backup & Restore button. Select win02
in the clients tree.

.
3

Select Windows VSS from underneath Backup tab.

EMC Education Services

86

Step
4

Action
Select Actions > Back Up Now. Keep all default settings and click OK, then Close.

Allow the backup to complete. It may take an hour or more in our lab environment. Continue
to the next lab exercise as this backup completes.

End of Lab Exercise Part 1

EMC Education Services

87

Lab 3-2: Part 2 Run an On-demand Backup of the Group using Avamar Administrator
Step

Action

If your scheduled backup has run, make a change to the content of each of the test files in
the C:\Abackup directory on your Windows client machine.

Launch Avamar Administrator and choose Navigation > Policy or click the Policy button.

Select Policy Management tab > Groups tab. Highlight the Avamar server and check Show
sub-domain groups.
Result: A list of all the groups is displayed.

Select your group from the list of groups and then click Back Up.

Result: The Backup initiated message appears.

EMC Education Services

88

Step

Action

Click Close.

Select Navigation > Activity to view the progress of the backup with the Activity Monitor.

EMC Education Services

89

Step
7

Action
In Activity Monitor, check the backup completion status. If the backup failed or if it
completed with exceptions, investigate the Activity Session Drill-Down log for possible
cause(s) of the failure/exceptions.
When the backup completes, double-click the entry for the backup in the Activity Monitor
and review the Activity Session Drill-Down report.

Click Close to exit the Activity Session Drill-Down.

End of Lab Exercise Part 2

EMC Education Services

90

Lab 3-2: Part 3 Run an On-demand Backup Using Pre and Post Scripts
We will configure this backup to run a script before and after the backup.
Step
1

Action
Before running the backup, create the pre and post script files in the
H:\avs\etc\scripts directory on your Windows client machine:
Using Notepad, create prescript.bat
1. Open Notepad
2. Enter the following text:
echo prescript successful > C:\\Abackup\\prescript.txt

Save the file in the H:\avs\etc\scripts directory as a text document with the name,
prescript.bat.

Using Notepad, create postscript.bat


1. Open Notepad
2. Enter the following text:
echo postscript successful > C:\\Abackup\\postscript.txt

Save the file in the H:\avs\etc\scripts directory as a text document with the name,
postscript.bat.

EMC Education Services

91

Step
5

Action
Close Notepad.
Result:

Launch Avamar Administrator, if not already running, and choose Navigation > Backup &
Restore or click the Backup & Restore button.

Select single01.emc.edu from the tree on the left. Click the Show Sub Domains icon
below the domain tree. This will display all clients in all domains. Select win01 below.
Then, select the Backup tab. Make sure the Browse for Files, Folders, or Directories
option is selected.

EMC Education Services

92

Step

Action

Browse your client under Windows File System and select several files in the
C:\WINDOWS directory to backup.

Choose Actions > Preview List to see a list of the files that are selected for backup. Click
OK to exit the Preview List.

EMC Education Services

93

Step

Action

10

Choose Actions > Back Up Now from the menu bar.

11

From the On Demand Backup Options dialog box, select More Options.

EMC Education Services

94

Step
12

Action
Label the backup Scripts Backup.
Select Report advanced statistics and Show Advanced Options.

EMC Education Services

95

Step

Action

13

To test pre and post script processing, scroll down through the options and locate the pre
and post script options.

For Pre-Script Run user-defined script at beginning of backup enter:


prescript.bat.
For Post-Script Run user-defined script at end of backup enter:
postscript.bat.
Click OK.

14

Click OK to start the backup.


Result: The On Demand Backup Request message appears.

EMC Education Services

96

Step

Action

15

Click Close.

16

Select Navigation > Activity to view the status of your backup with the Activity Monitor.

17

After the backup completes, check the contents of the C:\Abackup directory for the
presence of the prescript.txt and postscript.txt files.

EMC Education Services

97

Step
18

Action
View the client logs in the H:\avs\var\clientlogs directory.

End of Lab Exercise Part 3

EMC Education Services

98

Lab 3-2: Part 4 Comparing Backup Data Capacity


Step
1

Action
Back up the C:\Abackup directory again using whichever method you prefer.
Check the Activity Monitor for the % of new bytes. Compare the difference in % of new
bytes between the two backups. Explain the difference in the percentages.

Backup the file C:\Large_File\sample_large_file.txt using the Backup and


Restore interface.

Check the Activity Monitor for the % of new bytes for the first backup of the file.

Open C:\Large_File\sample_large_file.txt using WordPad. Make several


changes throughout the file and back up the file again. Because of the large file size, it is
recommended to use WordPad instead of Notepad as it is faster at handling large files.
Check the Activity Monitor for the % of new bytes for the second backup.

EMC Education Services

99

Step

Action

Make a copy of C:\Large_File\sample_large_file.txt and backup the copy.


Check the Activity Monitor for the % of new bytes for this latest backup.

Review the Activity Monitor displaying the % of new bytes for each of the three most
recent backups.

Explain the differences in the % of new bytes among the backups.

End of Lab Exercise Part 4

EMC Education Services

100

Lab 3-2: Part 5 Run an On-demand Backup of a SQL Database


Step

Action

In this lab, you run an online backup of the SQL database, customer. SQL services must be
running on the Windows client machine for a successful backup. First, on win01, ensure
that the SQL Server is connected.
To connect to SQL Server, launch SQL Server Management Studio from the link on the
desktop.
If the Connect to Server dialog box is displayed, click Connect.

Result: The SQL Server localhost status icon displays a green symbol.

EMC Education Services

101

Step

Action

Verify that the customer database is online. Expand the Databases tree and right-click
customer. From the menu options, select Tasks. The database is online if Bring Online is
grayed out. (If the database is offline, it will be shown in the tree under Database
Snapshots - right-click the database and select Tasks > Bring Online).

Launch Avamar Administrator, if not already running, and choose Navigation > Backup &
Restore or click Backup & Restore.

Choose win01 from the tree and then select the Backup tab. Make sure the Browse for
Files, Folders, or Directories option is selected.

EMC Education Services

102

Step

Action

Uncheck any previous backup selections. Browse the Windows SQL client and select the
customer database to backup.

Select Actions > Back Up Now.

In On Demand Backup Options, click More Options, and assign a label of SQL Backup to
the backup. Note the options available for the Windows SQL plug-in. Click OK.

Click OK and then Close.

EMC Education Services

103

Step
9

Action
View the status of the backup with the Activity Monitor. Select Actions > View Statistics
to examine the statistics for the backup. Then, click Close.

End of Lab Exercise Part 5

EMC Education Services

104

Lab 3-2: Part 6 Backups with Avamar Desktop/Laptop

Step

Action

On win01, open Avamar Administrator with server single01. Login using your personal
account.

Create a new dataset named DTLTDataset to backup #USERDOCS#\*


Select Tools > Manage Datasets and click New.
Select Enter Explicitly and select the Windows File System plug-in.
Enter #USERDOCS#\* into the textbox below and click the plus sign.
In the list at the bottom of the window, select each of the plug-ins other than the Windows
File System plug-in and click the minus sign to remove them from the list.
Click OK.

EMC Education Services

105

Step

Action

In the Policy interface, create a new group to include the DTLTDataset. Name the new group,
DTLTGroup. Uncheck the Disabled box when creating the group. Use the default selections
for schedule and retention. Add the win01 client to this Group.

Right-click on the Avamar Client icon in the system tray and select Back Up

Ignore any security alerts.

EMC Education Services

106

Step
6

Action
You are automatically authenticated using your domain credentials and the Desktop/Laptop
interface appears.
Since win01 is a member of two groups, you must select which group policy to use for the
backup. Select the DTLTGroup and expand the group to confirm your backup policy.
Click Back Up Now.

Click OK to continue.

Click History to see history of the last 10 backups. The backup will not appear in the history
window until it completes.

EMC Education Services

107

Step

Action

Click the backup in the Activity History panel and view the contents of the backup in the
panel below.

10

Close the Desktop/Laptop interface.

End of Lab Exercise

EMC Education Services

108

Lab Exercise 3-3: Managing Backups


Purpose:

In this lab, you explore Management activities in Avamar


Administrator.

Tasks:

In this lab, you look at the various backup management


options in Avamar Administrator.

References:

Avamar Management Student Guide

EMC Education Services

109

Lab 3-3: Part 1 Managing Backups


Step
1

Action
Log onto the win01 workstation. Launch Avamar Administrator and connect to single01.
Choose Navigation > Backup and Restore or click Backup & Restore.

Select the Manage tab.

Expand the tree and highlight your client under your domain. Select a date from the By
day calendar that has backups.
Result: You see a list of the backups performed for the client on that day.

EMC Education Services

110

Step

Action

Highlight one of the backups and click Actions from the menu bar. Select Change
Expiration Date from the menu.

Change the retention period for the backup to a different number of days. Click OK and
Yes several times to accept the change and exit this function.

Highlight the Windows File System backup of the Windows directory with the Scripts
Backup label and select Actions > Delete Backup. Click Yes and OK to accept the change
and exit this function. (Do NOT delete the SQL backup.)

EMC Education Services

111

Step

Action

Highlight a backup and select Actions > Validate Backup. Click OK to accept the default
selections, and then OK. This performs a test restore by sending data back to the client,
but not writing it to disk.

Verify the status of the validation by viewing the Activity Monitor.

From the backup management section, select your client and choose By date range. Select
a range of dates to display the backups in Backup History and then click Retrieve.

EMC Education Services

112

Step

Action

10

Display a full list of backups for your client. Note the values displayed in the Retention
column. Highlight one of the backups that is not tagged (retention = N) and select Actions
> Change Retention.

11

Change the retention type to daily for the selected backup by selecting Tags and then
Daily. Click OK, Yes and OK.

EMC Education Services

113

Step

Action
Result: The retention type for the backup is changed.

12

Display all daily backups. Choose Daily from By retention and then click Retrieve.

13

Select one of the backups and choose Actions > View Statistics. Examine the information
displayed for each of the tabs in Backup Statistics. Export the statistics to a file in
C:\Abackup on the Windows machine. Then, click Close.

End of Lab Exercise


EMC Education Services

114

Lab Exercise 4-1: Running Restores


Purpose:

In this lab, you practice running restores using Avamar


Administrator and Avamar Desktop/Laptop restore.

Tasks:

In this lab, you:

Run a restore from Avamar Administrator

Restore a SQL database

Run a restore through Desktop/Laptop

Perform a backup and restore of a VMware virtual


machine

References:

Avamar Management Student Guide

EMC Education Services

115

Lab 4-1: Part 1 Running Restores using Avamar Administrator


Step

Action

Delete the three testfile text files in the C:\Abackup.

Launch Avamar Administrator using your own account and select the Restore tab in the
Backup and Restore interface.

Expand the tree and highlight the win01 client under your domain. In the By Date tab,
choose a date in the calendar to display the backups for that day.

EMC Education Services

116

Step

Action

Select a backup with the Abackup label from the list of backups for the selected date.
Drill down in the contents list and select the C:\Abackup directory to restore.

Select Actions > Restore Now from the menu bar.

EMC Education Services

117

Step
6

Action
Note the options for restoring to another location in Restore Destination Choices. Click
More Options.

EMC Education Services

118

Step

Action

Note the default selection for Overwrite existing files. Check Report Advanced statistics
and click OK. Click OK to begin the restore.

Click Close.

EMC Education Services

119

Step

Action

Select Navigation > Activity to view the progress/status of the restore with the Activity
Monitor.

10

Double-click the activity in Activity Monitor to open the Activity Session Drill-Down log.
Review the log. Then, click Close to close the log.

11

Verify the restore by looking for the restored files on the target.

EMC Education Services

120

Step

Action

12

Return to the Backup and Restore view Restore tab. Select the By File/Folder tab. Expand
the tree and highlight win01. Then, click Browse.

13

In Select File or Folder, expand the tree and select win01. Then, drill down in the
Windows File System directory structure and select a test file in the C:\Abackup
directory. Click OK.

14

Click Retrieve to display the backup version history for the selection.

EMC Education Services

121

Step

Action

15

Select a version of the file to restore from Version History. Then, from the list of backups
containing the file, select a backup from which to restore the file. Drill down in the backup
contents to select the file.

16

Select Actions > Restore Now from the menu bar.

17

Select Restore everything to a different location and then click Set Destination. Then click
Browse.

EMC Education Services

122

Step

Action

18

Select C:\Users\Administrator\Desktop on the win01 client. Click OK and OK


to save the restore options. Click OK and Close to initiate the restore.

19

Check the status of the restore on the Activity Monitor. After the restore completes,
verify that the file was restored to the selected destination location on your client
machine.

End of Lab Exercise Part 1

EMC Education Services

123

Lab 4-1: Part 2 Restore a SQL Database


Step
1

Action
In this lab, we restore the customer SQL database from backup. Before initiating the
restore, well first delete the database.
To connect to SQL Server, launch SQL Server Management Studio from the link on the
desktop.
If the Connect to Server dialog box is displayed, click Connect.

Result: The SQL Server localhost status icon displays a green symbol.

EMC Education Services

124

Step
2

Action
Expand the Databases tree and right-click the customer database. Select Delete. Then
click OK.

Result: The customer database is no longer listed under the Databases tree.
3

Close Microsoft SQL Server Management Studio.

Launch Avamar Administrator and open the Backup and Restore view. Select the Restore
tab.

EMC Education Services

125

Step
5

Action
Expand the domain tree and select win01. Then, select the By Date tab and a date in the
calendar to display the backups to restore.

Note: Select the date when Lab Exercise 3-2 Part 5 (backup of the customer database)
was run.
6

From the list of backups, select the backup that used the Windows SQL plug-in. Drill down
in the contents list and select the customer database to restore.

Note: You can sort the list of backups by column heading, including plug-in type.

EMC Education Services

126

Step

Action

Select Actions > Restore Now from the menu bar. Click More Options and deselect the
Tail-log backup checkbox. Click OK and OK to initiate the restore.

Check the status of the restore activity in Activity Monitor. Wait for the restore to
complete.

Open Microsoft SQL Server Management Studio, connect to SQL Server, and then expand
the Databases tree. Note that the customer database is back in the list of databases.
Right-click customer in the list, and then select Tasks. Note that the customer database is
back online (Bring Online is grayed out.)

10

Close Microsoft SQL Server Management Studio.

End of Lab Exercise Part 2


EMC Education Services

127

Lab 4-1: Part 3 Restoring with Avamar Desktop/Laptop


Step

Action

Log onto win01 using username EMC\Administrator, password student.

Delete testfile2.txt from the C:\Abackup folder on win01.

In this lab environment, win01 has both DTLT and the SQL plug-in installed. DTLT is not fully
supported when other plug-ins are installed. In a typical environment, it is very uncommon
for a database server to use Desktop/Laptop.
Uninstall the SQL plug-in by opening the Control Panel > Uninstall a program. Select EMC
Avamar Backup Plug-in for SQL and click Uninstall. Click Yes to proceed with the uninstall
process.

Open Start > Administrative Tools > Services. Select Backup Agent and click Restart.

EMC Education Services

128

Step

Action

Right-click the Avamar Client icon in the system tray and select Restore.

Ignore any security alerts. If prompted, enter student as a password.

Click Search and enter testfile in the Search box. Click Search.

EMC Education Services

129

Step

Action

The screen displays a list of files meeting the search criteria that are owned by you. Note that
when using the search interface, even though multiple versions of testfile2.txt have been
backed up, only the most recent version is displayed.

In the Avamar Desktop/Laptop interface, select the file testfile2.txt to restore. Click
Overwrite Existing File and then Restore.

10

Verify that the file is restored to the C:\Abackup folder.

11

Desktop/Laptop allows restores to a different computer as long as the same user is logged in.
Log onto win02 as user EMC\Administrator with password student.

EMC Education Services

130

Step

Action

12

Open Desktop/Laptop by right-clicking on the Avamar icon in the system tray and selecting
Restore. Ignore any security warnings.

13

Select win01.emc.edu from the pull down menu under the search bar.
Click Browse on the left.

14

Select the earliest Backup Date and the earliest Time from the pull down menus. This opens
the first backup taken on win01.

EMC Education Services

131

Step

Action

15

Select the C:\Abackup folder and select a file to restore, select Overwrite Existing File and
then click Browse at the bottom of the screen.

16

Select C:\Users\Administrator\Desktop. Then, click the Select Folder.

17

Click Restore at the bottom of the Desktop/Laptop interface.

18

Verify that the file is restored to the Desktop.

19

Close the Desktop/Laptop interface. Return to the win01 console.

End of Lab Exercise Part 3

EMC Education Services

132

Lab 4-1: Part 4 VMware Image Backup and Restore


In this lab, you simulate an image backup and restore of a VMware virtual machine using VADP. Since
VMware Image backups require hardware that is not compatible with the virtual lab environment,
you will be using the VMware Image Backup and Restore Simulator.
Since the simulator is designed to follow this lab, not all functionality is available and it is important
to follow the instructions in this lab guide carefully. Brief instructions are provided within the
simulator but do not substitute the instructions in this lab guide. You may exit the simulator at any
time by pressing Escape.

Step

Action

Open the VMware Image Backup and Restore Simulator.ppsx file on the desktop of
win01.

Open the Avamar Administrator Administration view.

EMC Education Services

133

Step
3

Action
In the Account Management tab, click the vcenter.emc.edu domain. This is the VCenter
client that has been registered with the Avamar server.
Click the Protection tab to view all the virtual machines managed by the VCenter server.
Take a note of the values in the Protected column. Note that an image proxy has already
been configured and has guest level protection. Note also, that winclient-1 is not
protected.

Add the winclient-1 virtual machine to the VirtualMachines domain.


Select the VirtualMachines domain and select Actions > Account Management > New
Client.

Result: The Select VMware Entity window appears.

EMC Education Services

134

Step
5

Action
Check the Show sub-entities box to show all virtual machines. Sselect winclient-1 from
the list. Make sure that Enable changed block tracking is enabled.
Click OK.

Click OK to add the new client.


Click OK to accept.
Result: winclient-1 appears under the VirtualMachines domain.

EMC Education Services

135

Step

Action

Select the vcenter.emc.edu domain and click the Protection tab. Confirm that winclient-1
is image protected.

Open the Backup and Restore view by selecting Navigation > Backup and Restore.

Select the VirtualMachines domain. Select winclient-1.

EMC Education Services

136

Step
10

Action
Select Windows VMware Image.
Select Actions > Back Up Now.

11

Click OK to initiate the backup. When the backup is initiated, click on Close.

12

The backup begins by creating a snapshot of the virtual machine. Open VMware vSphere
Client by clicking the icon on the Taskbar.

Confirm that a snapshot of winclient-1 has been created in the Recent Tasks panel.
Progress of the backup is also shown.

EMC Education Services

137

Step

Action

13

Return to Avamar Administrator and switch to the Activity view by selecting Navigation >
Activity.

14

Monitor the progress of the backup. In this simulator, the backup occurs much faster than
in a real environment. Take note of the elapsed time when the backup completes.

15

You will now restore the image to the original virtual machine. The virtual machine needs
to be shut down for this to occur.
Open the VMware vSphere Client window by clicking its icon on the toolbar.

16

Select the winclient-1 virtual machine from the left pane. Click the red box to shutdown
winclient-1.

EMC Education Services

138

Step

Action

17

Open the Backup and Restore view in Avamar Administrator.

18

Select the winclient-1 client and select the Restore tab.

19

Select the available backup from the panel on the right. Then select All virtual disks in the
bottom left panel.

20

Select Actions > Restore Now.

EMC Education Services

139

Step
21

Action
Click More Options.
Select Power on VM with NICs enabled from the Select Post Restore Options menu.
Click OK and then OK again to start the restore.

22

Accept the hardware compatibility warning.

23

When the restore request is initiated, click Close.

EMC Education Services

140

Step
24

Action
Open the Activity view and monitor the restore.
The simulator performs restores much faster than in a production environment. Take note
of the elapsed time when the restore completes.

25

You now perform a file level restore of the winclient-1 virtual machine. The restore will
use the same image level backup that was taken earlier in this lab.
Open the Backup and Restore interface in Avamar Administrator.

26

Click the File Level Restore icon in the bottom left panel.

EMC Education Services

141

Step
27

Action
Avamar browses the contents of the image backup. The directory labeled [Disk#1]
represents the first virtual disk. In this case, it is the C drive.
Expand this directory by clicking the plus sign next to the directory to show the contents
of the C drive.

28

Select the checkbox next to ProgramData. Select Actions > Restore Now.

EMC Education Services

142

Step

Action

29

Review the Restore Options dialog. Click OK to begin the restore.

30

Confirm that files may be overwritten by clicking Yes.

EMC Education Services

143

Step

Action

31

Avamar needs login credentials to the virtual machine in order to restore files into the
virtual machines file system. In this simulator, the credentials are already filled in. Click
OK.

32

Click Close when the restore has been initiated.

33

Open the Activity view and monitor the restore.


The simulator performs restores much faster than in a production environment. Take note
of the elapsed time when the restore completes.

34

This completes this lab. Click anywhere to exit the simulator.

End of Lab Exercise Part 4

EMC Education Services

144

Lab Exercise 4-2: Performing a Full System Restore


Purpose:

In this lab, you practice running a full system restore using


the Avamar disaster recovery tool.

Tasks:

In this lab, you perform a full system restore.

References:

Avamar Management Student Guide

EMC Education Services

145

Step

Action

From your Windows host, win01, launch Avamar Administrator and log into single01 using
your personal username and password.
Open the Backup and Restore interface.

Verify that a valid disaster recovery backup exists by selecting win02 from the tree on the
left and selecting the Restore tab. Select the Windows System backup that was taken in
Lab 3-2 Part 1. Be sure to select the backup that used the Windows VSS plug-in.
Browse the backup to ensure that there is an entry for the ASR Writer, labeled ASR (Drive
Letters)

EMC Education Services

146

Step

Action

Write down the full domain path of the win02 client. Use the same capitalization as shown
in the tree on the left.
(example: /clients/XYZDomain/WIN02.emc.edu):

Domain Path: __________________________________________________________

Simulate a disaster of the win02 machine by undeploying it from Lab Manager.


Click Workspace in left panel of the Lab Manager interface.

Mouse-over your configuration and select Open.

EMC Education Services

147

Step

Action

Mouse-over the win02 virtual machine and select Undeploy - Discard State. Click OK to
confirm. Do not undeploy any other virtual machine.

Do a full system recovery. Open a console to the win02rebuild virtual machine by clicking
its console icon.

The win02rebuild virtual machine has identical hardware to win02 except with blank,
unformatted disks. To begin the full system recovery, you will insert the Avamar System
Recovery disk into the new server. This ISO is typically downloaded from the Avamar
Documents and Downloads page and placed on a USB drive or burned onto a CD. For this
lab, an ISO image is used instead.
Mouse-over the win02rebuild tab and select Insert CD

EMC Education Services

148

Step

Action

If the dropdown list is empty, click the green refresh button in the corner of the Insert CD
dialog.
Select AvamarWindowsSystemRecover_x64-7.0.VERSION_WinPE3.iso from the
dropdown list and click OK.

10

Mouse-over the win02rebuild tab and select Power On. Click OK to reset the virtual
machine.

Wait for the WinPE disk to load and for the Avamar System Recovery Wizard window to
appear.

EMC Education Services

149

Step
11

Action
When the Avamar System Recovery Wizard welcome screen appears, confirm that the
date and time are accurate. Then, click Next.

EMC Education Services

150

Step
12

Action
Confirm that one network interface appears. Select this NIC and click Next.

EMC Education Services

151

Step
13

Action
Enter the following information on the next screen.
Host name: win02
DNS domain: emc.edu
Under the IPv4 tab enter the following:
TCP/IPv4 Address: Use the following IPv4 address
IPv4 address: 192.168.1.23
IPv4 Subnet mask: 255.255.255.0
IPv4 Default gateway: 192.168.1.99
DNS Server: Use the following DNS server addresses
Preferred IPv4 DNS server: 192.168.1.21
Alternate IPv4 DNS server: (Leave Blank)
Note: Due to a limitation of the Lab Manager environment, the IP Address will be changed
from 192.168.1.22 to 192.168.1.23 for this server recovery. Typically, the replacement
server would keep the same IP address as the original. Changing the IP Address of the
server will result in a number of steps in this lab that are usually not performed.

Click Next.
EMC Education Services

152

Step

Action

14

Confirm that both disks are recognized. Click Next.

15

Enter the following information:


Avamar Server: single01.emc.edu
Avamar User Name: Your user account
Avamar Password: student
Avamar Domain: /
Avamar Account: (Full path to win02 client as recorded in step 3. THIS FIELD IS CASE
SENSITIVE)

Click Next.
Note: If you receive an error suggesting a possible network or DNS failure, check both the
network information entered previously and all information on the current Select Server
screen. This error falsely reports any mis-entered information (including wrong passwords)
as a network problem.

EMC Education Services

153

Step

Action

16

Select the system backup that was taken previously in Lab 3-2 Part 6. Click Next.

17

Confirm the drives that will be restored. Leave checkbox to perform a quick format
checked. Click Next.

18

Confirm the information on the summary screen.

Click Restore. Accept that you want to format the disks and click OK.

EMC Education Services

154

Step
19

Action
In this lab environment, the IP Address of the restored system is different than the
original. Because of this, you must update its DNS entry to reflect this change.
While the system is being restored, log onto win01 as EMC\Administrator with password
student.

20

Open DNS Manager by selecting Start > Administrative Tools > DNS.

21

Expand WIN01 > Forward Lookup Zones and select emc.edu from the tree on the left.

22

Double click on win02 in the panel on the right. Change the IP address to 192.168.1.23.

Click OK and close DNS Manager.

EMC Education Services

155

Step
23

Action
Return to win02rebuild and wait for the recovery to complete.
When the recovery completes, click Reboot.

24

When the server starts up, log in as EMC\Administrator with password student. Note that
the server has been recovered.

25

Change the servers IP address.


Open the start menu. Right click on Network and select Properties.

26

Click Local Area Connection.

27

In the window that appears, click Properties.

EMC Education Services

156

Step

Action

28

Select Internet Protocol version 4 (TCP/IPv4) and click Properties.

29

Change the IP address to 192.168.1.23. Leave all other fields as is.

Click OK and close all windows.


30

Since the IP Address was changed the win02 client should be reactivated to ensure proper
communication with the Avamar server.
Right-click the Avamar icon and select Manage > Activate Client.

EMC Education Services

157

Step
31

Action
Confirm that the Administrator Server Address is single01.emc.edu and that the Client
Domain is /clients/YourDomainName.

Click Activate then OK to confirm the successful activation.

End of Lab Exercise

EMC Education Services

158

This page intentionally left blank.

EMC Education Services

159

Lab Exercise 5-1: Using Avamar Enterprise Manager


Purpose:

In this lab, you explore the functions available with Avamar


Enterprise Manager.

Tasks:

In this lab, you explore the Avamar Enterprise Manager


interface.

References:

Avamar Management Student Guide

EMC Education Services

160

Lab 5-1: Part 1 Exploring Avamar Enterprise Manager


Step

Action

Log onto your Windows machine, win01.

Point the web browser to the address of the Avamar Enterprise Manager by entering the
following URL:
http://single01.emc.edu/em

Ignore any Security Alerts. Then click on Login.


Result: The Avamar Enterprise Manager Login screen displays.

Select Enterprise Manager and log in with your user account. Enter your password. Then,
click Log On.

EMC Education Services

161

Step

Action

Review the information displayed in the Dashboard view.

We will add the second Avamar server, single02, to the list of servers managed by this
Avamar Enterprise Manager.
To add an Avamar server to Avamar Enterprise Manager, select Configure from the
Enterprise Manager menu.

From the Avamar Enterprise Manager Configure view, click Add.

EMC Education Services

162

Step
8

Action
Enter:
System Name:single02.emc.edu
Check the Monitor box
Password: MCUser1
Click Save.

Result: The replication target server is added to the list of Avamar servers monitored by
your Avamar Enterprise Manager.

Return to the dashboard by clicking Dashboard from the menu at the top. Note that
information about both servers can now be viewed.

EMC Education Services

163

Step
10

Action
Click single01 in the Server column.
Review the detailed information about the Avamar server displayed in the System > Status
view. If there is Server Status other than green in the Dashboard view (step 5 above), look
for a possible cause in the Status view.
Note: Since the maintenance scheduler is disabled in this lab environment, you can expect
garbage collection and checkpoints to report errors.

11

Select Policy from the Avamar Enterprise Manager menu.

EMC Education Services

164

Step

Action

12

Explore the information available by clicking Groups, Clients, Datasets, Schedules and
Retention Policies.

13

Select Reports from the Avamar Enterprise Manager menu.

14

Select a report to view from the Reports list. Click Run to create the report. Note that you
can export the report to a file.

EMC Education Services

165

Step

Action

15

Go back to the System Status view by selecting System > Status from the Avamar
Enterprise Manager menu.

16

Click Launch Administrator to launch the Avamar Administrator.

Result: Reply Run to any security warnings. You may be prompted to install a version of
J2SE Runtime Environment if so, accept the license agreement and install.
17

Note that the login screen is filled in with your username and the server field is filled.

18

Logout of Avamar Enterprise Manager and close Avamar Administrator.

End of Lab Exercise

EMC Education Services

166

Lab Exercise 5-2: Backup Recovery Manager


Purpose:

In this lab, you configure and run Avamar replication.

Tasks:

In this lab, you:

References:

EMC Education Services

Configure Backup & Recovery Manager to monitor


Avamar

Explore the Backup & Recovery Manager interface

Avamar Management Student Guide

167

Lab 5-2: Part 1 Configuring Backup & Recovery Manager


Backup & Recovery Manager adapter software comes pre-installed on an Avamar server. However, it
needs to be configured with a BRM server. In this lab environment, single01 has already been
configured with the BRM server, but single02 has not.

Step

Action

From your Windows host, win01, launch PuTTY from the shortcut on the desktop to open
an SSH session with the Avamar server, single02.
Select single02 under Saved Sessions and click Load. Then, click Open. Log in as user
admin password admin1.

Ensure that the BRM Adaptor process is not running by entering the following command:
adaptorctl.pl --stop

Configure the adaptor for the BRM server by typing


adaptorctl.pl --setup --jmsaddr=brm.emc.edu

Start the adaptor by entering the following command:


adaptorctl.pl --start

Stop the mcs service by typing


dpnctl stop mcs
Note: If Avamar Administrator is running, it will lose its connection after running this
command.

Change directories by typing


cd /usr/local/avamar/var/mc/server_data/prefs

Make a copy of the mcserver.xml file


cp mcserver.xml mcserver.xml.orig

EMC Education Services

168

Step
8

Action
Open the mcserver.xml file for editing by typing
emacs mcserver.xml
Note: The vi text editor is also available on every Avamar server and can be used if
preferred. The following instructions are for the Emacs editor.

Find the enableBrmService entry. Press Ctrl-S to open the search prompt. Then, type
enableBrmService and press Enter.

10

Change the value for the enableBrmService entry from false to true.

11

Exit the Emacs editor by pressing Ctrl-X then Ctrl-C. When asked, press y to save the
changes.

12

Restart the mcs service:


dpnctl start mcs

13

Stopping the mcs process also suspended the backup scheduler. Restart the backup
scheduler by typing:
dpnctl start sched

14

Close all putty sessions.

End of Lab Exercise Part 1

EMC Education Services

169

Lab 5-2: Part 2 Exploring Backup & Recovery Manager


Step
1

Action
Point a web browser to Backup & Recovery Manager by entering the BRM server
hostname.
Note: It is recommended to use the Firefox or Chrome browsers for Backup & Recovery
Manager. Firefox is installed in the lab environment.
URL: http://brm.emc.edu/

Ignore any security warnings.


2

Log in to Backup & Recovery Manager as user admin with a password changeme.

You are asked to change the default password. For this lab, enter Student1! as the
password.

EMC Education Services

170

Step

Action

Examine the information on the Home screen. Be sure to scroll down and to the right to
view all the events.

Click Systems at the top of the screen. The two configured Avamar servers are shown.
Click single01 and view the information shown in the panel below.

EMC Education Services

171

Step
6

Action
Return to Backup & Recovery Manager and click the Alerts button at the top of the
screen. View the errors and warnings.
If there are any errors or warnings, mouse over one of the Worst Systems graphs to see
the name of the system with the most errors or warnings. Click the graph to filter the
alerts to show only alerts from that system.

Click Activities at the top of the screen. Select 1 Week Ago from the pull down menu, to
show activity from the past week.

Examine the backup activity.

EMC Education Services

172

Step

Action

Click Events at the top of the screen. Examine the events.

10

Enter single02 into the search bar in the top right of the BRM interface. Click View
Results under the Events section. This shows only the events for single02.

11

Select one of the events and click Hide at the bottom of the screen.

12

Click Reports at the top of the screen. From the menu at the left, choose System Reports>
Capacity & Usage Snapshot.

EMC Education Services

173

Step
13

Action
Confirm that both Avamar servers are in the Selected Systems box. Set the timeframe to
show results for the last 1 week.
Click Run Report.

14

Click the double arrow icon


in the top right, to view the report results. Click the Time
Chart to view a graph of the data.

15

Explore Backup & Recovery Manager freely. When finished, close Backup & Recovery
Manager.

End of Lab Exercise

EMC Education Services

174

Lab Exercise 5-3: Avamar Replication


Purpose:

In this lab, you configure and run Avamar replication.

Tasks:

In this lab, you will:

References:

EMC Education Services

Configure normal (standard) replication for your


server

Run replication on demand

Run a directed restore of replicated data

Avamar Management Student Guide

175

Lab 5-3: Part 1 Configuring Normal (Standard) Replication


Step
1

Action
In this lab, you configure replication to transfer all backups from single01 to single02.
Open Avamar Administrator and log onto single01 using your personal user account.

Open the Replication interface by selecting Navigation > Replication or clicking the
Replication button.

You must add single02 as a replication destination.


Select the Destinations tab. Then Select Actions > New Destination.

EMC Education Services

176

Step
4

Action
Enter the following information into the New Replication Destination window:
Name:
Host/IP

single02

single02.emc.edu
Encryption: High
Base Port: 27000
Username: root
Password: root12

Click the Verify Authentication button. If the authentication succeeds, click Close then OK
to add the new destination.
Result: single02 appears as a replication destination.

EMC Education Services

177

Step
6

Action
Create a replication group that runs nightly.
Select the Groups tab. Then, select New Replication Group.

Name the replication group Nightly_Full. Click Next.

Leave all of the Source settings at their default so that all backups from all clients are
replicated. Click Next.

EMC Education Services

178

Step

Action

Confirm that single02 is selected as the destination. Click Next.

10

Leave the Expiration settings at default so that the backup expirations are not changed
during replication. Click Next.

EMC Education Services

179

Step

Action

11

Select the Default Replication Schedule. Click Next.

12

Confirm the settings and click More Options.

EMC Education Services

180

Step
13

Action
Select Report Advanced Statistics. Examine the other options. Click OK then Finish to
create the replication group.
Result: The Nightly_Full group appears in the list.

14

Open the Policy interface. Note that the Nightly_Full replication group is also listed under
the Policy Management > Groups tab.

End of Lab Exercise Part 1

EMC Education Services

181

Lab 5-3: Part 2 Running Replication On-demand


Step

Action

In Avamar Administrator, open the Replication interface.

Select the Nightly_Full replication group that was created previously. Start the replication ondemand by selecting Actions > Replicate Now.

Result: The replication job is started. Click Close.

In Avamar Administrator Activity Monitor, check the replication status. It may take a few
minutes to begin.

EMC Education Services

182

Step
4

Action
On win01, launch Avamar Administrator for the replication target server, single02. Log in as
MCUser with password MCUser1.
In Administration > Account Management, locate your domain and client beneath the
REPLICATE domain.

In Avamar Administrator for the replication target server, single02, check the replication
status in Activity Monitor. Notice that Enterprise Manager backups (EM_BACKUPS),
Administrator Server backups (MC_BACKUPS), Avamar Installer software (AVI), and
Networker Data are also replicated.
Wait for the replication to complete before proceeding to the next lab.

End of Lab Exercise Part 2

EMC Education Services

183

Lab 5-3: Part 3 Restoring a Replicated Backup


Step
1

Action
From win01, launch Avamar Administrator for the replication target, single02 (if it is not
already running) and select the Administration view. Expand the domain tree and note that
win01 is listed as a client under the REPLICATE/DesktopClients domain. The REPLICATE
domain holds the replicated backups.
Note that the /clients domain (not under REPLICATE) is empty. There are no clients
registered to single02.

Temporarily activate win01 to the single02 server in order to perform the restore.
Right-click on the Avamar icon in the system tray and select Manage > Activate Client. Enter
single02.emc.edu for the server address and clients for the client domain.
Click Activate. Confirm that the client will be unregistered from single01.

EMC Education Services

184

Step

Action

From the Backup and Restore view, select the Restore tab.

Expand the tree under the REPLICATE domain and select win01. Then, choose a date for
which to display the backups in the By Date tab.

EMC Education Services

185

Step

Action

Select a Windows File System backup from the list of backups for the selected date. Drill
down in the contents list and select a directory or file to restore.

Select Actions > Restore Now from the menu bar.

EMC Education Services

186

Step

Action

In Restore Options, notice that the only destination choice available is to restore everything
to a different location. Click Browse in the Restore Destination Client section.

Select win01 from the tree and click OK.

Note that now you may choose whether or not to restore to a different directory.
9

Click OK and Close to initiate the restore.

EMC Education Services

187

Step

Action

10

Check the status of the restore in Activity Monitor. Verify the presence of the restored files
in the destination directory on win01.

11

Reactivate win01 to the single01 server for normal operation.


Right-click on the Avamar icon in the system tray and select Manage > Activate Client. Enter
single01.emc.edu for the server address and DesktopClients for the client domain.
Click Activate. Confirm that the client will be unregistered from single02.

12

Close the Avamar Administrator windows for the replication target, single02.

End of Lab Exercise

EMC Education Services

188

This page intentionally left blank.

EMC Education Services

189

Lab Exercise 6-1: Performing Daily System Monitoring Tasks


Purpose:

In this lab, you perform daily system monitoring tasks.

Tasks:

In this lab, you:

References:

EMC Education Services

Perform daily system monitoring tasks

Monitor backup and server status

Avamar Management Student Guide

190

Lab 6-1: Part 1 Perform Daily System Monitoring Tasks


Step
1

Action
On win01, launch Avamar Administrator for single01 using your root account (if not
already launched.) Open the Avamar Administrator Launcher by selecting Navigation >
Launcher.
Are there any critical events or warnings? Is the system state showing a red x indicating
a problem? Are there any backups or replication jobs that have failed or successed with
exception?

Click the double arrow button


next to System State to examine the problems. Since
the maintenance scheduler has been suspended in this lab environment, you should
expect to see problems with garbage collection and checkpoints. These activities will be
resumed in Lab 6-3.

EMC Education Services

191

Step
3

Action
Are there any backups or replication jobs that have not completed successfully?
If so, open the Activity interface. Double-click the entry to view the Activity Session DrillDown log. Why did the activity fail to complete successfully? Click Cancel to close the log
window.

View the Activity Status Summary tab to see a summary of activity for each group.

EMC Education Services

192

Step

Action

Open the Avamar Administrator Administration view. View the information displayed in
the Event Management tab. Double-click an event in the list to display detail for that
event.

Are there unacknowledged events? If so, click the Unacknowledged Events tab at the
bottom of the window to see the Unacknowledged Events.

If there arent any unacknowledged events, skip to step 9.


7

Double-click an event in the list to view the event detail (alternatively, right-click the event
and select View Detail.) Click Close to close the Event Detail window.

EMC Education Services

193

Step

Action

To acknowledge the event, highlight the event. Right-click the event and select
Acknowledge Events.

Select Tools > Manage Profiles. In Manage All Profiles, drill down in the tree in the left
pane and highlight Event Codes under System Profile to display the event codes. In the
right pane, look at the events that require acknowledgement.

EMC Education Services

194

Step

Action

10

In Manage All Profiles, select the High Priority Events profile and then click Copy.

11

Give the profile a name and click OK.

12

Select your new profile in the list and click Edit.

EMC Education Services

195

Step
13

Action
In Edit Profile,
In the Properties tab,

select Profile Enabled


select Email Enabled
select Send data on a schedule

14

In the Email Notification tab, add administrator@emc.edu to the distribution list.

15

Click Send Email to test the notification. Click OK to confirm.

EMC Education Services

196

Step

Action

16

Click OK and OK to save your profile and exit Manage Profiles.

17

Start Microsoft Office Outlook on win01 from the link on the desktop and verify that the
administrator received the test email from the Avamar server.

18

In Avamar Administrators Administration interface click the Audit Log tab at the bottom
of the window. Look at the events that are displayed in the log.

Examine the information displayed in the Services Administration tab of the Avamar
Administrator Administration view. Which types of properties are reporting statuses
here?

End of Lab Exercise Part 1

EMC Education Services

197

Lab 6-1: Part 2 Monitoring Backup and Server Status


Step
1

Action
Initiate a large file system backup and then cancel the activity in the Administrator Server
view Session Monitor tab. Highlight the session and then select Actions > Cancel Session.
Click OK.

Click Yes to the Cancel Activity dialog.


2

Click Close.

EMC Education Services

198

Step
3

Action
Check the status of the cancelled backup in the Activity Monitor. Double-click on the status
to examine its log file. What was the cause of the failure?
Note: It may take a few minutes for the backup to stop running.

Suspend all backup and restore activity. From the Server view, select Actions > Suspend
Backups/Restores. Click Yes to confirm and OK to the informational message.

Start a file system backup or restore.


What is the status of the activity that is reported in the Activity Monitor?

What is the status that is reported for the server in the status bar at the bottom of the
window?

EMC Education Services

199

Step

Action

From the Server view, select the Server Management tab. Select Node 0.0 in the server tree.
What is reported as its state and runlevel?

Resume backups and restores by selecting Actions > Resume Backups/Restores or by clicking
the Resume Backups/Restores icon in the Task bar. Reply Yes and OK.

What is the status of the backup/restore activity that is reported in the Activity Monitor?

What is the status that is reported for the server in the status bar at the bottom of the
window?

EMC Education Services

200

Step

Action

What is the status of the server that is reported in the Server view Server Management tab?

Click each level of the Server Management tree (Server, Module, Node, and Partition) and
note the information that is displayed for the server at each level.

Server:

End of Lab Exercise

EMC Education Services

201

Lab Exercise 6-2: Using dpnctl


Purpose:

In this lab, you use dpnctl to perform some basic system


administrator.

Tasks:

In this lab, you:

References:

EMC Education Services

Check the status of the Avamar server using dpnctl

Start Avamar processes using dpnctl

Avamar Management Student Guide

202

Step

Action

From win01, launch PuTTY to open an SSH session with single01. Log in as user admin
password admin1.

Type the following command:


dpnctl status
Result: The running status of all Avamar processes is displayed.

Make sure that Avamar Administrator is still running and connected to single01.
Type the following command:
dpnctl stop mcs
What happened to Avamar Administrator? Why?

Type the following command again:


dpnctl status
Which two processes were stopped as compared to step 2?

Type the following command:


dpnctl start
What are the results of running this command?

Type the following command:


dpnctl --help | more
What are the sub-components of Avamar that can be started, stopped and statused via
dpnctl?

Exit the PuTTY session.

End of Lab Exercise


EMC Education Services

203

Lab Exercise 6-3: Daily Maintenance Activities


Purpose:

In this lab, you use Avamar tools for checkpoint management


and capacity utilization.

Tasks:

In this lab, you:

References:

EMC Education Services

Examine the tools for managing the daily maintenance


activities

Assess daily server schedules

Look at capacity utilization of the lab server

Avamar Management Student Guide

204

Lab 6-3: Part 1 Monitoring Daily Maintenance Activities


Step
1

Action
Log into single01 with Avamar Administrator using your username.
From the Avamar Administrator Server view, click the Server Management tab. Select
single01.emc.edu from the tree on the left and review the Maintenance Activities Details
and Garbage Collection Details for the status of these activities.
What is the status of the Maintenance Activities?

Is Garbage Collection running at this time? Has Garbage Collection run recently?

Note: A status of Suspended for Maintenance Activities Details indicates that server
maintenance activities will not run during the next maintenance window. The Start time of
Garbage Collection Details indicates the last time that garbage collection ran.

EMC Education Services

205

Step
2

Action
From the Avamar Administrator Server view, click the Checkpoint Management tab.
Are checkpoints being created?
Are checkpoints being validated?

If the maintenance activities are suspended, unsuspend the maintenance activities by


selecting Actions > Resume Maintenance Activities from the menu bar in the Server view.
Maintenance activities will run normally during the next maintenance window. If
maintenance activities are not suspended, you will see Suspend Maintenance Activities as
a command option instead.

If resuming activities, click Yes to confirm that you want to resume maintenance activities.

EMC Education Services

206

Step
5

Action
Click the Server Management tab and select single01 in the tree. Check the dates of the
Last checkpoint and Last validated checkpoint to be sure that the dates are recent.
Ideally, the last checkpoint and the last validated checkpoint should occur within the last
24 hours.

Note: If Maintenance Activities have just been resumed, there may not yet be a recent
validated checkpoint.
6

Select the Checkpoint Management tab.

Force a checkpoint to run by selecting Actions > Create Checkpoint.

EMC Education Services

207

Step

Action

Notice that the maintenance scheduler will be disabled while this on-demand checkpoint
activity takes place. Click Yes and then OK.

Verify that the checkpoint is created by checking the Checkpoint Management display.

10

View the checkpoint information displayed with the cplist command.


Start a PuTTY session and log into single01 as user admin password admin1.
At a command line, type: cplist
Result:

Exit the PuTTY session.


11

From the Avamar Administrator Server view Checkpoint Management, highlight the
checkpoint that you created. Right-click and select Checkpoint Validate.

EMC Education Services

208

Step
12

Action
Click Yes to temporarily disable the scheduler.
Select the type of validation to perform and click OK.

13

Monitor the progress of the validation from Checkpoint Management. Check for any
errors when it completes.

End of Lab Exercise Part 1

EMC Education Services

209

Lab 6-3: Part 2 Administrator Backup and Maintenance Schedules


Task: A goal of configuring backup schedules is to reduce the potential for conflicts between
maintenance and backup activities. It is important that when any changes are made to the
maintenance window settings, the administrator monitors these activities closely to ensure that daily
maintenance activities are completing successfully.
In this lab, configure the backup and maintenance schedules to meet the conditions of the following
scenario and resolve any conflicts that occur.
Scenario: Technical Support has asked you to temporarily use a longer maintenance period of 14
hours. Backup activities start no earlier than 7 PM and are able to complete within 10 hours. The
remainder of the day is used for other maintenance activities, such as HFS check.
Step

Action

Configure a backup schedule to match the scenario above. Select Manage Schedules from
the Tools menu.

Select the Schedules tab. Revise the Default Schedule using the criteria above.

EMC Education Services

210

Step

Action

After clicking OK, you should receive the following notice regarding a conflict with the
maintenance window. Click Yes.

In Manage All Schedules, click the Maintenance Window tab.

Note the default settings for the Backup, Blackout and Maintenance windows as shown
here. Change the settings to match the scenario on the previous page.

Result: Note that changing the duration of the backup window changes the duration of the
maintenance window.

EMC Education Services

211

Step

Action

After making changes to the settings, click OK.

Click Yes to any Schedule conflict notification(s).

Resolve conflicts so that the backup schedule(s) run within the period of time defined by the
Backup window.

End of Lab Exercise Part 2

EMC Education Services

212

Lab 6-3: Part 3 Capacity Utilization


Step

Action

Select Server Management from the Administrator Server view and click single01 in the tree.

What is the current server utilization percentage and the number of bytes protected?
2

In the PuTTY session with single01, as the admin user, type:


avmaint nodelist > nodlist.txt

View the information displayed by the utility, especially the disk capacity stats.
Type: more nodelist.txt
Locate the disk capacity information.

Exit view by pressing q.

EMC Education Services

213

Step
4

Action
Show the current checkpoint utilization. At the command prompt of the SSH session, type:
cps
How much space is the checkpoint that you created using?

How much space is occupied by the cur directory?

Return to Avamar Administrator (keep the PuTTY session open) and run the DPN Summary
report. Select Tools > Manage Reports from the menu bar.

EMC Education Services

214

Step

Action

From Manage All Reports, click Activities DPN Summary. Click Run.

Change the Filtered by dates to ensure that your backup activity is included in the report.
Click Retrieve to run the report.

EMC Education Services

215

Step
8

Action
Note the information displayed in the report.

Are there any backups that look like they took an especially long time to complete?

Are there a high number of backups failing?

Look at the information reported in the Total Bytes and ModSent columns.

Click Export to export the report data to a CSV file on win01.


After saving the report to your Windows machine, click Close and OK to exit the Manage All
Reports windows.

EMC Education Services

216

Step

Action

10

Open the report with Microsoft Excel.

11

For the successfully completed backup jobs, calculate the Average Weighted Commonality
based on the information in the report:
Sum TotalBytes for all clients for the Total Bytes Protected (TBP):

Calculate the average ModSent for each client:

Sum the client averages for the Daily Change Rate (DCR):

EMC Education Services

217

Step
12

Action
Look at the Avamar Enterprise Manager capacity reports.
Point your web browser to the URL of the Avamar Enterprise Manager. Answer OK and Yes to
any security alerts.

13

Select Enterprise Manager and log in with your account.

14

Select Reports from the Avamar Enterprise Manager menu.

15

Select the Avamar Capacity Usage Report. Change the filter to include all your backup
activity in the report. Click Run to run the report.

EMC Education Services

218

Step
16

Action
Select the Avamar Capacity Forecast Report. Change the filter to show the forecast for the
next 3 months. Click Run to run the report.

Note: You may receive a notice that there is not enough data to produce this report.
17

Create the Capacity Utilization and Forecast graph. Select System from the Avamar
Enterprise Manager menu and then select Capacity.

18

Run the report for the period of time that you have been performing backups and forecast
out for 1 month. Select Date Range and then select the From Date and To Date. Click Run.

EMC Education Services

219

Step

Action

19

Run the Average Daily Change Rate graph for the server. Select System > Average Daily
Change Rate. Select For Server.

20

Run the report for the period of time that you have been performing backups. Select Date
Range and then select the From Date and To Date. Click Run.

21

Logout of Avamar Enterprise Manager. Exit the PuTTY session.

End of Lab Exercise

EMC Education Services

220

This page intentionally left blank.

EMC Education Services

221

Lab Exercise 7-1: Exploring Avamar Processes and Logs


Purpose:

In this lab, you examine some tools for basic troubleshooting.

Tasks:

In this lab, you:

References:

EMC Education Services

Look at the effect of the client cache files on backups

Run system commands to determine which processes


are running on server and client machines

Examine client logs for backup activities

Avamar Management Student Guide

222

Lab 7-1: Part 1 Examining Cache Files and Backup Performance


Step

Action

In this lab, we observe the effect that deleting the p_cache and f_cache2 files has on
file system backups.
Backup C:\Program Files from the win01 client. Using the Activity Monitor or client Work
Order Status, note the duration of the backup:
________________
This represents the time it takes when there are no entries in the cache files.

Backup the same directory again and note the duration of the backup: ______________
This represents the time it takes for subsequent backups of a client benefiting from both
the p_cache.dat and f_cache2.dat files.

Delete the p_cache.dat file on your Windows client machine (default directory:
H:\avs\var).

Backup the same directory again and note the duration of the backup: ______________
This shows how much longer the backup will take without the benefit of the p_cache.dat
file.
4

Delete the f_cache2.dat file on your Windows client machine.


Backup the same directory again and note the duration: ______________
This shows how much longer the backup will take without the benefit of the f_cache.dat
file.

EMC Education Services

223

Step
4

Action
Delete both the p_cache.dat and the f_cache.dat files on your Windows client.
Backup the same file/directory again and note the backup duration: _________________

End of Lab Exercise Part 1

EMC Education Services

224

Lab 7-1: Part 2 Explore Avamar Server Processes and Logs


Step

Action

Start a PuTTY session for single01 and log on as user admin (password admin1).

Run the ps command to list the utility node Java-based processes currently running.
Type:
ps -efm | grep java | more

Run the ps command to list the utility node postgres processes currently running.
Type:
ps -efm | grep post | more

EMC Education Services

225

Check to see if data server gsan processes are running.


Type:
ps -efm | grep gsan | more

Run df -k for a display of the server mount points and capacity utilization of each mount
point.

The Administrator server logs are located at


/usr/local/avamar/var/mc/server_log. Use the ls -lt command to list the
contents of the directory.

EMC Education Services

226

The data storage node logs are located at /data01/cur. List the logs stored in that
directory.

Logs for the maintenance activities are located in the persistent store in /sysinfo/log.
The contents of this directory are viewable by using the avmaint and dumpmaintlogs
commands. Examine the contents of the logs using these commands.

To view:

Type:

Directories
under
/sysinfo/log

avmaint ls /sysinfo/log/yyyy/mm

Look at the
garbage
collection log
information for
a month

avmaint cat /sysinfo/log/yyyy/mm/gc | more

View all
hfscheck log
information for
a month

avmaint cat /sysinfo/log/yyyy/mm/hfscheck |


more

Look at the cp
logs for the past
day

dumpmaintlogs --days=1 --types=cp | more

Where yyyy is the current year and mm is the current month

Where yyyy is the current year and mm is the current month

Where yyyy is the current year and mm is the current month

where yyyy is the current year and mm is the month when the activities were run. Types of
logs include cp (checkpoint), gc (garbage collection) and hfscheck (checkpoint validation).
Type the commands all on one line.
9

Exit the PuTTY session.

End of Lab Exercise Part 2

EMC Education Services

227

Lab 7-1: Part 3 Examine Client Logs for Backup Activities


Step

Action

Log onto win01.

Using Avamar Administrator, run a backup using default options.

Double-click the Avamar icon in the system tray to view the work order list. Find the
Workorder ID of the backup.

Locate the corresponding avtar log file in the H:\avs\var\clientlogs directory on


the Windows client machine.

EMC Education Services

228

Step

Action

Open the log with Notepad and view the contents.

Using Notepad, create an avtar.cmd file with the following entries:

Save the file in txt format in the H:\avs\var directory.

EMC Education Services

229

Step
7

Action
Run another backup using the Avamar Administrator interface. View the log in the
H:\avs\var\clientlogs directory and notice the additional log detail and statistics.

End of Lab Exercise

EMC Education Services

230

Lab Exercise 7-2: Running Standard and Custom Reports


Purpose:

In this lab, you run standard and custom Avamar reports.

Tasks:

In this lab, you:

References:

EMC Education Services

Select and run standard reports

Create custom reports using Avamar Administrator

Use Microsoft Excel to select data from a database


view

Avamar Management Student Guide

231

Lab 7-2: Part 1 Select and Run Standard Reports


Step

Action

Launch Avamar Administrator on server single01, if not already running. To view a list of
standard Avamar reports, select Tools > Manage Reports from the menu bar.

Select a report from the list in Manage All Reports and click Run.

Change the filer criteria and then click Retrieve to create the report.

EMC Education Services

232

Step

Action

Review the information displayed in the report.

Click Close and choose not to export the report.

End of Lab Exercise Part 1

EMC Education Services

233

Lab 7-2: Part 2 Create a Custom Report with Avamar Administrator


Step

Action

From Manage All Reports, select the DesktopClients domain from the domain tree and click
New.

In New Report, select a report view and enter a name and title for your report. Select filter
specifications and click OK.
If you decide to create a Backend Capacity report as shown below, click the Edit button to
add a client or domain.

EMC Education Services

234

Step

Action

Select your new report from the domain tree and click Run.

Click Retrieve.

Review your report. Click Close and No.

End of Lab Exercise Part 2

EMC Education Services

235

Lab 7-2: Part 3 Create a Custom Report with Microsoft Excel


Step

Action

Log onto win01.

First, we need to install a PostgreSQL ODBC driver on the Windows host, win01.
You will find a recommended driver package in the psqlodbc_09_01_0100 directory on
the desktop.
To launch the installer, double-click the psqlodbc.msi file. Accept the license agreement
and default install prompts.
Then, double-click upgrade.bat and accept all defaults for the upgrade.

To configure the driver:


a)
b)
c)
d)

EMC Education Services

Launch C:\Windows\SysWOW64\odbcad32.exe
Click the System DSN tab.
Click Add.
In the Create New Data Source window, select PostgreSQL ANSI and click Finish.

236

Step
4

Action
For PostgreSQL ANSI ODBC Driver (psqlODBC) Setup, enter the following information:
Data Source: MCDatabase
Database: mcdb
Server: single01
Port: 5555
User Name: viewuser
Password: viewuser1

Click Save, then OK.

Open Microsoft Excel and select the Data tab. Then, select From Other Sources > From
Microsoft Query.

EMC Education Services

237

Step

Action

For Choose Data Source, select MCDatabase and click OK.

In the Query Wizard, expand a database view, such as v_events, and select the fields that you
want to display from the table. Make sure you select a table view (prefix v_). Click Next.

Refer to the charts in Module 7 of the course student guide for a list of the supported
database views.

EMC Education Services

238

Step

Action

Input any selection criteria in the Filter Data window and click Next.

10

Choose fields by which to sort the data and click Next.

EMC Education Services

239

Step

Action

11

Choose Return Data to Microsoft Office Excel and click Finish.

12

Choose a starting cell to place the data in the worksheet and click OK.

Result: Your report is displayed in the Microsoft Excel worksheet.

End of Lab Exercise


EMC Education Services

240

This page intentionally left blank.

EMC Education Services

241

END OF LAB - CLEANUP


When you are sure that you are finished with the Avamar Management labs, please perform these lab cleanup steps.
Step

Action

Click Workspace in the left side of the Lab Manager window.

Highlight the arrow next to the Clone (1) Avamar 7.0 Manag Lab configuration name and
select Undeploy - Discard State.

EMC Education Services

242

Step
3

Action
When you are sure that you no longer want to work in this lab configuration, highlight
the arrow next to the YOUR-NAME Avamar 7.0 Manag Lab configuration name and
select Delete.

Result: Your lab configuration will be deleted.

End of Lab Exercise

EMC Education Services

243

End of Lab

EMC Education Services

244

Das könnte Ihnen auch gefallen