3Document Revision HistoryRev # File Name DateA EMC Avamar Administration Lab Guide –Avamar v3.6May 2007B Update for Avamar v 3.7 August 2007C Update for VDC Environment November 2007D Update for Avamar v 4.0.2 October 2008E Update for Avamar v 4.1 February 2009F Lab Guide revision F skipped; revision F wasonly applied to the course Student GuideN/AG Update for Avamar v5.0 March 2010H Update for Avamar v6.0 July 2011
5Table of ContentsCOPYRIGHT.............................................................................................................2DOCUMENT REVISION HISTORY .............................................................................3INTRODUCTION......................................................................................................7LOGGING INTO THE LAB ENVIRONMENT.............................................................................8LAB EXERCISE 2-1: INSTALL AND LAUNCH AVAMAR ADMINISTRATOR .................15LAB 2-1: PART 1 – INSTALL AND LAUNCH AVAMAR ADMINISTRATION ..................................16LAB 2-1: PART 2 – LAUNCH AVAMAR ADMINISTRATOR .....................................................23LAB 2-1: PART 3 – EXPLORING THE AVAMAR ADMINISTRATOR INTERFACE ............................24LAB EXERCISE 2-2: PERFORM AVAMAR ACCOUNT MANAGEMENT TASKS ............27LAB 2-2: PART 1 – SET THE DEFAULT ADMINISTRATOR SERVER...........................................28LAB 2-2: PART 2 – ADD A NEW DOMAIN........................................................................30LAB 2-2: PART 3 – ADD A NEW USER TO THE DOMAIN .....................................................33LAB EXERCISE 2-3: INSTALL AVAMAR CLIENT SOFTWARE .....................................37LAB 2-3: PART 1 – INSTALL AVAMAR WINDOWS CLIENT SOFTWARE ....................................38LAB 2-3: PART 2 – ACTIVATING THE CLIENT ....................................................................43LAB 2-3: PART 3 – VERIFYING CLIENT STATUS .................................................................45LAB 2-3: PART 4 – INSTALLING AVAMAR SQL PLUG-IN .....................................................47LAB 2-3: PART 5 – USING MCCLI COMMANDS .................................................................51LAB EXERCISE 2-4: USING AVAMAR CLIENT MANAGER.........................................55LAB 2-4: PART 1 – CONFIGURING LDAP AUTHENTICATION AND INSTALLING AVAMAR CLIENT ..56LAB 2-4: PART 2 – USING CLIENT MANAGER...................................................................58LAB EXERCISE 3-1: CREATE AVAMAR GROUPS......................................................67LAB 3-1: PART 1 – CREATE A DATASET...........................................................................68LAB 3-1: PART 2 – CREATING A SCHEDULE......................................................................74LAB 3-1: PART 3 – CREATE A RETENTION POLICY .............................................................78LAB 3-1: PART 4 – CREATE A NEW GROUP .....................................................................81LAB EXERCISE 3-2: RUNNING ON-DEMAND BACKUPS...........................................87LAB 3-2: PART 1 – RUN AN ON-DEMAND BACKUP OF THE GROUP USING AVAMARADMINISTRATOR .........................................................................................................88LAB 3-2: PART 2 – RUN AN ON-DEMAND BACKUP USING PRE AND POST SCRIPTS ..................91LAB 3-2: PART 3 – RUN AN ON-DEMAND BACKUP USING PRE AND POST SCRIPTS ..................99LAB 3-2: PART 4 – COMPARING BACKUP DATA CAPACITY............................................... 101LAB 3-2: PART 5 – RUN AN ON-DEMAND BACKUP USING THE AVTAR COMMAND................ 103LAB 3-2: PART 6 – RUN AN ON-DEMAND BACKUP OF A SQL DATABASE............................ 105LAB 3-2: PART 7 – BACKUPS WITH AVAMAR DESKTOP/LAPTOP ....................................... 108LAB EXERCISE 3-3: MANAGING BACKUPS ...........................................................111LAB 3-3: PART 1 – MANAGING BACKUPS..................................................................... 112
6LAB EXERCISE 4-1: RUNNING RESTORES .............................................................119LAB 4-1: PART 1 – RUNNING RESTORES USING AVAMAR ADMINISTRATOR......................... 120LAB 4-1: PART 2 – RUNNING RESTORES USING MCCLI .................................................... 128LAB 4-1: PART 3 – RESTORE A SQL DATABASE ............................................................. 130LAB 4-1: PART 4 – RESTORING WITH AVAMAR DESKTOP/LAPTOP .................................... 134LAB 4-1: PART 5 – VMWARE IMAGE BACKUP AND RESTORE ........................................... 137LAB EXERCISE 5-1: USING AVAMAR ENTERPRISE MANAGER...............................147LAB 5-1: PART 1 – EXPLORING AVAMAR ENTERPRISE MANAGER...................................... 148LAB EXERCISE 5-3: AVAMAR REPLICATION .........................................................153LAB 5-3: PART 1 – CONFIGURING NORMAL (STANDARD) REPLICATION USING ENTERPRISEMANAGER .............................................................................................................. 154LAB 5-3: PART 2 – RUNNING REPLICATION ON-DEMAND................................................ 158LAB 5-3: PART 3 – RESTORING A REPLICATED BACKUP ................................................... 160LAB EXERCISE 6-1: PERFORMING DAILY SYSTEM MONITORING TASKS ...............165LAB 6-1: PART 1 – PERFORM DAILY SYSTEM MONITORING TASKS.................................... 166LAB 6-1: PART 2 – MONITORING BACKUP AND SERVER STATUS....................................... 173LAB EXERCISE 6-2: USING DPNCTL ......................................................................177LAB 6-2: PART 1 – RUNNING AVAMAR DPNCTL............................................................. 178LAB EXERCISE 6-3: DAILY MAINTENANCE ACTIVITIES..........................................179LAB 6-3: PART 1 – MONITORING DAILY MAINTENANCE ACTIVITIES .................................. 180LAB 6-3: PART 2 – ADMINISTRATOR BACKUP AND MAINTENANCE SCHEDULES.................... 185LAB 6-3: PART 3 – CAPACITY UTILIZATION ................................................................... 188LAB EXERCISE 7-1: EXPLORING AVAMAR PROCESSES AND LOGS ........................197LAB 7-1: PART 1 – EXAMINING CACHE FILES AND BACKUP PERFORMANCE......................... 198LAB 7-1: PART 2 – EXPLORE AVAMAR SERVER PROCESSES AND LOGS................................ 199LAB 7-1: PART 3 – EXAMINE CLIENT LOGS FOR BACKUP ACTIVITIES .................................. 203LAB EXERCISE 7-2: RUNNING STANDARD AND CUSTOM REPORTS......................207LAB 7-2: PART 1 – EXAMINING CACHE FILES AND BACKUP PERFORMANCE......................... 208LAB 7-2: PART 2 – CREATE A CUSTOM REPORT WITH AVAMAR ADMINISTRATOR................. 210LAB 7-2: PART 3 – CREATE A CUSTOM REPORT WITH MICROSOFT EXCEL........................... 213END OF LABS CLEANUP.............................................................................................. 219
7IntroductionPurpose: The lab exercises contained in this guide give you an opportunity toreinforce the information that you are learning in the EMC AvamarAdministration course. The lab exercises are designed to be run in atest lab environment on the Avamar training lab system asdescribed below. Some of the lab exercises may make changes tothe system. For this reason, do not attempt to run the labexercises on a production system.Lab EnvironmentDescriptionYou will be using a Virtual Data Center (VDC) environment in LabManager to perform the EMC Avamar Administration course labexercises.Each student works in his own VDC configuration, accessed with anassigned VDC/Lab Manager username and password.The Avamar 6 Admin configuration consists of these 5 virtualmachines: win01 - This will be your primary Windows workstation for thelabs. It also is a domain controller and DNS for yourconfiguration. win02 - We will use this machine during the restore andreplication labs. single01 - This is your dedicated Avamar single-node server. single02 - This is your replication target Avamar serverThe Avamar Administrator interface and Avamar client softwarewill be installed by the student on win01 as part of the labexercises. Then, the Avamar client will be activated to the Avamarserver, single01, and the student will perform backups and restoresusing the win01 client.
8Logging Into the Lab EnvironmentFollow these steps to log into the EMC Avamar Administration course lab environment VDC and your assigned Windowshost.Step Action1 Log into a Windows classroom computer.The logon screen for your Windows client host is displayed.Note: Your instructor will provide login instructions.2 Open Microsoft Internet Explorer and go to the URL, https://vdc.emc.comResult: The EMC Education Services Virtual Data Center welcome screen displays.3 Log in to the Virtual Data Center with the user name and password provided to you by the instructor.
9Step Action4 At the Applications screen, click the Virtual Lab Manager link.5 If you see this message, click Continue to this website.6 At the Lab Manager login screen, enter the Lab Manager Login User name and Password assigned to youby your instructor. Then, click Login.
10Step Action7 You will be working in the Avamar 6 Admin configuration for all the labs for this course. To get your ownpersonal 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 6 Admin Labconfiguration and select Clone to Workspace.8 In Clone to Workspace, click OK.
11Step Action9 Click Workspace on the left side of the screen.Result: When the clone operation completes, you will see a clone copy of the Avamar 6 Admin Labconfiguration in your workspace on the right side of the screen with 4 small console windows as shownhere. The status of each window and the configuration is Undeployed.10 To be able to use the configuration, it must first be deployed. Highlight the Clone (1) of Avamar 6 AdminLab configuration and select Deploy with defaults.Note: Deploying the configuration may take 4-5 minutes.
12Step Action11 After the status of the configuration changes to Deployed, highlight the arrow next to the Clone (1) ofAvamar 6 Admin Lab configuration and select Show Consoles.Result: Consoles for all the virtual machines in the configuration will be displayed.12 Alternatively to step 11, to see just one console window at a time, click in the small console view of thevirtual machine that you want to work in.Result: Only the console window for that machine is displayed for you to work on that machine. Whenyou wish to work on another virtual machine, click Configuration in the upper left of the screen andchoose another virtual machine console. You can also view a console with Remote Desktop by clicking theRemote Desktop button.
13Step Action13 To use a virtual machine that is suspended, right-click or mouse over the arrow next to the machine namein the tab and choose Resume.14 To work on a virtual machine, click inside its console window.15 To send a Ctrl-Alt-Delete sequence to one of the Windows machines, right-click or mouse over the arrownext to the machine name in the tab and select Ctrl-Alt-Delete.16 To release the cursor from a console, press Ctrl-Alt.17 When you are finished with your Lab Manager configuration for the day, just logout of Lab Manager.(There’s no need to undeploy the virtual machines until you are finished with all the labs at the end of theclass.)Click Logout in the upper right corner of the Lab Manager screen.End of Lab Exercise
14This page intentionally left blank.
15Lab Exercise 2-1: Install and Launch Avamar AdministratorPurpose: In this lab, you install Avamar Administrator and explore the AvamarAdministrator options.Tasks: In this lab, you will: Install Avamar Administrator on a Windows lab computer Launch Avamar Administrator Explore the Avamar Administrator interfaceReferences: EMC Avamar Administration Student Guide
16Lab 2-1: Part 1 – Install and Launch Avamar AdministrationStep Action1 Log onto your Windows workstation, win01, with user name Administrator, password student.2 Point the web browser at the Avamar server, single01, by entering the following URL:http://single013 Answer Yes to any Security Alerts.
17Step Action4 Scroll down to the bottom of the Secure Log On window and click Documents and Downloadsat the bottom of the screen. (Do NOT click Log On.)Result: The Documentation and Downloads window appears.5 Under Downloads, click the appropriate operating system hyperlink for your client computer.For this lab, select the link Microsoft Windows XP, 2003, Vista, 2008 under Windows for x86(32bit).
18Step Action6 Before installing Avamar Administrator, we must install a supported version of JRE.From the directory listing of available installation packages, select the JRE installer, jre-<version>.exe.Note: Depending upon the Avamar release, the options displayed may be different from what isshown here.Result: The browser prompts you to either run or save the file to your computer.
19Step Action7 Click Run to download the file. Click Run to install the software. You will be asked to close allweb browsers. Accept the license agreement to continue the installation.Click Close to complete the JRE installation.Re-open the web browser and navigate back to the Avamar Windows software page.8 From the Documents and Downloads directory listing of available installation packages, selectAvamarConsoleMultiple-windows-<version>.exe.Note: Depending upon the Avamar release, the options displayed may be different from what isshown here.Result: The browser prompts you to either run or save the file to your computer.
20Step Action9 Click Run to download the file to a temporary folder. Click Run to any Security Warnings.Result: The License Agreement window appears.10 After reading the license agreement, click Accept.11 Select the H:avsadministrator drive as the destination folder for installation. Click Install.
21Step Action12 Result: Installation progress is displayed.13 Click No to decline viewing the release notes.
22Step Action14 Result: The Avamar Administrator software installation is completed. An Avamar Administratorshortcut is installed on the desktop and an entry for Avamar Administrator is installed on theWindows Start menu.Shortcut:On Windows Start menu:15 Close the web browser window.End of Lab Exercise Part 1
23Lab 2-1: Part 2 – Launch Avamar AdministratorStep Action1 To start Avamar Administrator in Windows, click the Avamar Administrator shortcut on theWindows 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: MCUserIn the Password field, enter: MCUser1In the Domain Name field, enter: /In the Administrator Server field, enter the name of your Avamar server, single01.Then, click Log On.3 Result: After the loading is complete, the main Avamar Administrator screen displays.End of Lab Exercise Part 2
24Lab 2-1: Part 3 – Exploring the Avamar Administrator InterfaceStep Action1 Use Navigation from the Avamar Administrator menu bar to invoke and switch among thevarious tasks or click a button from this main screen.2 Click Help > Help Topics from the menu bar. Explore the Help facility and note the informationavailable.Close the Avamar Administrator Help window.
25Step Action3 Select Actions > Exit from the Avamar Administrator menu bar to exit Avamar Administrator.4 Select Yes.End of Lab Exercise
27Lab Exercise 2-2: Perform Avamar Account Management TasksPurpose: In this lab, you practice several Avamar account management tasks.Tasks:In this lab, you will: Set the default Administrator server for login. Add a new domain. Add a new user to the domain.References: EMC Avamar Administration Student Guide
28Lab 2-2: Part 1 – Set the Default Administrator ServerStep Action1 Launch Avamar Administrator and click Options from the Log On screen.2 Enter single01 for the Default Administrator Server and click OK.3 The server name you entered displays by default each time the Avamar Administratorlog in screen displays.
29Step Action4 Complete the log in to Avamar Administrator. Log in using the MCUser account andMCUser1 password.End of Lab Exercise Part 1
30Lab 2-2: Part 2 – Add a New DomainStep Action1 To add a new domain, choose Navigation > Administration > or click the Administrationbutton.2 Click the Account Management tab from the Administration view.3 In the left pane, click the level in the tree where you want to add the domain. For ourlab exercise, click the server name in the tree to add a new domain at the levelimmediately under the root domain.
31Step Action4 Click Actions > Account Management > New Domain.Result: The New Domain dialog box appears.5 In the New Domain dialog box, enter DesktopClients the new domain name. The otherfields in the dialog box are optional. Click OK.Result: A confirmation box displays.
32Step Action6 Click OK.Result: Your domain is now added to the domain tree structure.End of Lab Exercise Part 2
33Lab 2-2: Part 3 – Add a New User to the DomainStep Action1 In Avamar Administrator, choose Navigation > Administration or click the Administrationbutton.2 Click the Account Management tab. Highlight the DesktopClients domain to add a newuser to the domain.Note: To add a new user to a client, click the client name in the tree.
34Step Action3 Click Actions > Account Management > New User(s).Result: The New User dialog box displays.4 Choose the Axion Authentication System. Enter your name for the user name and givethe user the Administrator role. Enter student for the password and confirm fields. ClickOK.
35Step Action5 Result: A confirmation box displays. Click OK.Result: Your new user is now added to the domain.6 Create another administrator account in the root domain to use for login instead of usingthe MCUser account.Click on the root domain and select Actions Account Management New User(s)…
36Step Action7 Enter you own name as the User Name and choose a password. The click OK. Use thisusername to log onto Avamar Administrator for the remainder of the lab.End of Lab Exercise
37Lab Exercise 2-3: Install Avamar Client SoftwarePurpose: In this lab, you install Avamar Client software and activate your client.Tasks:In this lab, you will: Install the Avamar Client software on your Windows hostcomputer Activate the client Verify client status Install the Avamar SQL client plug-in Use mccli commandsReferences: EMC Avamar Administration Student Guide
38Lab 2-3: Part 1 – Install Avamar Windows Client SoftwareStep Action1 Log onto your Windows workstation, win01, with user name Administrator, password student.Note: For the labs, the Avamar client computer and the computer running Avamar Administratorwill be the same machine: win012 Point the web browser at the Avamar server, single01, by entering the following URL:http://single01.3 Answer OK and Yes to Security Alerts.4 Scroll down to the bottom of the Secure Log On window and click Documents and Downloads atthe bottom of the screen. (Do NOT click Log On.)Result: The Documentation and Downloads window appears.
39Step Action5 Under Downloads, click the appropriate operating system hyperlink for your client computer.For this lab, select Microsoft Windows XP, 2003, Vista, 2008 under Windows for x86 (32 bit).6 From the directory listing of available installation packages, selectAvamarClient-windows-<version>.msi.Note: Depending upon the Avamar release, the options displayed may be different from what isshown here.Result: The browser prompts you to either run or save the file to your computer.
40Step Action7 Click Run. When the Security Warning displays, click Run again.Result: The installation file downloads to a temporary folder and the Backup for Windows Setupwizard displays.8 Click Next. After reading the license agreement, accept the license agreement and click Next.
41Step Action9 At the Custom Setup screen, click Next to confirm the installation of the Desktop/Laptop featureson this machine (Avamar Client User Interface). Select H:avs as the installation location.10 Click Install to install the software.11 Click Finish.
42Step Action12 Check to be sure that the Backup Agent process is running. From Windows Start, select Settings >Control Panel > Administrative Tools > Services.13 An EMC Avamar client icon is installed in the system tray on the taskbar:14 Close the web browser, Administrative Tools, and Services windows.End of Lab Exercise Part 1
43Lab 2-3: Part 2 – Activating the ClientStep Action1 To activate the client, double-click the EMC Avamar Client icon in the system tray onthe taskbar:2 Select Actions > Activate from the EMC Avamar Client menu bar.3 Enter the host name or IP address of single01 and the DesktopClients domain name in theappropriate boxes and click Activate.
44Step Action4 Click OK to acknowledge successful activation of the client.Result: Your Avamar client is now online.5 Close the EMC Avamar Client window.End of Lab Exercise Part 2
45Lab 2-3: Part 3 – Verifying Client StatusStep Action1 Launch Avamar Administrator (if not already running) and choose Navigation > Administration orclick the Administration button. Then, choose the Account Management tab. Expand the tree inthe left pane under the DesktopClients domain to see your client in the tree.2 Check the properties of your client. From the Avamar Administrator Policy view (Navigation >Policy), choose the Policy Management tab > Clients tab.3 Select your domain from the tree in the left pane.Result: A summary of the client properties is displayed in the right pane.
46Step Action4 Review the detail client properties. Select your client and then click Details.5 Result: The Client Details screen is displayed. Notice the CID and Activated status.Click OK to close the window.End of Lab Exercise Part 3
47Lab 2-3: Part 4 – Installing Avamar SQL Plug-inStep Action1 SQL Server is installed and running on the win01 machine. In this lab, you will install the AvamarSQL Windows client on win01. If not already logged in, log onto your Windows workstation,win01, with user name Administrator, password student.2 Point the web browser at the Avamar server, single01, by entering the following URL:http://single01.3 Answer Yes and OK to Security Alerts.4 Scroll down to the bottom of the Secure Log On window and click Documents and Downloads atthe bottom of the screen. (Do NOT click Log On.)Result: The Documentation and Downloads window appears.
48Step Action5 Under Downloads, click the appropriate operating system hyperlink for your client computer.For this lab, select Windows Microsoft Windows XP, 2003, Vista, 2008 under Windows for x86 (32bit).6 From the directory listing of available installation packages, selectAvamarSQL-windows-<version>.msi.Result: The browser prompts you to either run or save the file to your computer.
49Step Action7 Click Run. When the Security Warning displays, click Run again.Result: The installation file downloads to a temporary folder and the Backup Plugin for WindowsSQL Setup wizard displays.8 Click Next.9 Click Install.
50Step Action10 When the installation completes, click Finish.11 Verify that the client is now configured with the Avamar SQL plug-in. In Avamar Administrator Policy view, click Policy Management tab, and then Clients tab. Highlight your domain in the left pane tree and then your client in the right pane. Click Details.12 In Client Details, click the Plug-ins tab.Result: The display shows the three plug-ins that are installed for this client.13 Click OK to close Client Details. Close the web browser window.End of Lab Exercise Part 4
51Lab 2-3: Part 5 – Using mccli CommandsStep Action1 From your Windows host, win01, launch PuTTY 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 rootpassword changeme.2 With mccli, display the current version of the Avamar server.At the command prompt, type: mccli version show
52Step Action3 With mccli, display the domains configured on the Avamar server.At the command prompt, type: mccli domain show type: mccli domain show --recursive=trueWhat 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=true5 Use mccli to display all users currently configured on the Avamar server.At the command prompt, type: mccli user show --recursive=true
53Step Action6 Type exit to close the PuTTY session.End of Lab Exercise
55Lab Exercise 2-4: Using Avamar Client ManagerPurpose: In this lab, you will activate a client with Client Manager and explore thefunctions available.Tasks: In this lab, you explore the Avamar Client Manager functionality.You will: Configure Client Manager and Desktop/Laptop to use LDAPauthorization Install the Avamar client with the Desktop/Laptop feature. Use Client Manager to activate an Avamar clientReferences: EMC Avamar Administration Student Guide
56Lab 2-4: Part 1 – Configuring LDAP Authentication and Installing Avamar ClientStep Action1 Log onto your Windows workstation, win02, with user name Administrator and password student.2 Open a PuTTY session to your second Avamar server, single02. Login to the server as root,password changeme.3 Change the working directory and rename the original files for krb5 configuration.Type:cd /usr/local/avamar/etcmv krb5.conf krb5.conf.templatemv ldap.properties ldap.properties.template4 Run the avldap tool to configure LDAP using the following command:/usr/local/avamar/bin/avldap --configdomainType 1 to select AD/LDAP for configuration.Enter the Fully Qualified Domain name: emc.eduEnter a username that is authorized to read the directory service’s database. For this lab, type:AdministratorEnter the Administrator user’s password: studentWhen prompted, configure emc.edu as the default domain by entering: YWhen prompted, restart DTLT and EMS by entering: YResult:
57Step Action5 On the client machine, win02, install the Avamar client software with the desktop / laptop feature.Do not activate this client. Log onto win02 as user Administrator and password student Point the web browser to http://single02/ Select Documents and Downloads Select Microsoft Windows XP, 2003, Vista, 2008 under Windows for x86 (32 bit) 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 otherdefaults When the installation is finished, close the web browser.End of Lab Exercise Part 1
58Lab 2-4: Part 2 – Using Client ManagerStep Action1 Point the web browser on win01 to open Avamar Enterprise Manager on single02. Accept anysecurity warnings.2 Select Enterprise Manager and log in with the MCUser account. Enter MCUser1 as the password.Then, click Log On.3 Select Client Manager from the Enterprise Manager menu.4 In the next few steps, you will activate win02 to the single02 server using Client Manager.Click the Activate button at the top of the interface.
59Step Action5 Select Directory Service from the blue triangle as a source for client information.6 Emc.edu will already be selected as the User Domain and Directory Domain since it was set as thedefault in part 1 of this lab. Enter Administrator as a user name that has permission to read thedirectory service. Enter student as the password. Click OK.Result: WIN02.emc.edu appears in the Client Information panel. (WIN01.emc.edu appears in theDomain Controllers directory.)7 You will now add WIN02 to the clients domain on the single02 server. Ensure that single02.emc.eduappears in the Server Information panel.Drag and drop WIN02.emc.edu from the Client Information panel on the left into the clients domainin the Server Information panel on the right.Result: The Select Groups dialog appears.
60Step Action8 Select the DefaultGroup. Click Add.9The WIN02 client now has a blue arrow icon to show that it is assigned to a domain and group.Click Activate at the bottom of the interface.
61Step Action10 The Show Clients for Activation window appears. Confirm that WIN02 is set to be activated to thecorrect server, domain, and group.Click Commit at the bottom of the interface to start the activation process. (If the Commit buttondoes not appear, maximize the browser window to full screen.)11 Click OK to confirm the Client activation. Click OK again if another window appears.12 The WIN02 client appears with a question mark icon. This means that activation is in progress.Click Close.
62Step Action13 Click the View Log button at the bottom of the interface.14 The status of WIN02 will be Pending. Close the Log Information window.15 Click the refresh button at the top right of the screen.Click Yes to refresh the page. (Since the activation has already been committed, the configurationchanges do not need to be retained.)16 If activation has completed, WIN02 appears with a green check-mark icon.If this icon did not appear, wait a few minutes and click the refresh button again.
63Step Action17 In the next steps, you will create a new domain and move WIN02 to that domain using ClientManager.Click on the Manage button at the top of the interface.18 Click the Move clients to a new domain button.19 Select the WIN02.emc.edu client. Click the Domain button at the bottom of the interface.20 Select the clients domain in the Target Server Information panel on the right. Then, click the CreateDomain button. This will create a new domain within the clients domain.
64Step Action21 Enter a name for your domain. Optionally, enter contact, phone, email, and location information.Click OK.22 Expand the clients domain, select your new domain, and click Next.23 Client Manager gives you the option to reassign the client’s backup groups since different groupsmay be available in a new domain.Select the Default Group and click Finish.24 Click OK to confirm that the process is running.
65Step Action25 Click the refresh button at the top right of the screen.Click Yes to confirm the refresh. Confirm that WIN02 is in your new domain.Click the Home button at the bottom of the interface to return to the home screen.26 Explore the other features of Client Manager freely. Do not make any changes to the configurationsince these will still be used in later labs.When finished, close Avamar Client Manager.End of Lab Exercise
67Lab Exercise 3-1: Create Avamar GroupsPurpose: In this lab, you use Avamar Administrator to create a new group in yourdomain.Tasks:In this lab, you create: Dataset Schedule Retention Policy GroupReferences: EMC Avamar Administration Student Guide
68Lab 3-1: Part 1 – Create a DatasetStep Action1 In Part 1 of this lab, we will create a dataset to backup the C:Abackup directory.Launch Avamar Administrator and choose Navigation > Policy or click the Policy button. Then,select Policy Management tab > Groups tab. Select the root domain in the tree. Notice thecharacteristics of the Default Group.2 Select Tools > Manage Datasets from the menu bar.
69Step Action3 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: 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.
70Step Action5 From Select Files And/Or Folders, select your client from the Clients window and then browse theWindows 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 itssub-domains. Selecting a client here assists in identifying a persistent selection of files and foldersfor backup.
71Step Action6 Result: Your source data selection is listed in the New Dataset dialog box.
72Step Action7 Click the Options tab and select the following options: Windows File System plug-in type and enter a label for the backups Report advanced statistics8 Click OK to create the new dataset.
73Step Action9 From the Manage All Datasets screen, expand the tree and highlight the new dataset under yourdomain.Result: The properties of the dataset are displayed. Notice the entries that you made for SourceData and Options10 Click OK to close the Manage All Datasets screen.End of Lab Exercise Part 1
74Lab 3-1: Part 2 – Creating a ScheduleStep Action1 In Avamar Administrator, select Tools > Manage Schedules.2 Highlight the DesktopClients domain in the tree and select New.
75Step Action3 Enter a name for your schedule and select schedule parameters to run a backup every day. Set theEarliest start time to 1 hour past the current time as indicated in the system tray of your Windowsclient. Set the backup to run for a maximum duration of 2 hours.Note: Do not use special characters or spaces in the name.4 Click OK to create the new schedule. Depending upon the hours set for your schedule, you mayreceive 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 theBackup window.
76Step Action5 From the Manage All Schedules screen, expand the tree and highlight the new schedule underyour domain. Review the properties of the new schedule.6 Check the status of the Scheduler in the status bar at the bottom of the Avamar Administratorscreen. Status must be Running in order for group backups to run automatically according to theirassigned schedule.7 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.8 Click OK to close the Manage All Schedules screen.
77Step Action9 Click Yes to any Schedule conflict warnings. (We’ll look at this at a later time.)End of Lab Exercise Part 2
78Lab 3-1: Part 3 – Create a Retention PolicyStep Action1 In Avamar Administrator, select Tools > Manage Retention Policies.2 Highlight the DesktopClients domain in the tree and select New.
79Step Action3 Enter a name for your retention policy. Select Override basic retention policy for scheduledbackups and click Advanced.Note: Do not use special characters or spaces in the name.4 Create an advanced retention policy by entering values for the number of daily, weekly, monthlyand yearly backups to retain.5 Click OK and then click OK to create the new retention policy.
80Step Action6 From the Manage All Retention Policies screen, expand the tree and highlight the new retentionpolicy under your domain. Review the properties for the new retention policy.7 Click OK to close the Manage All Retention Policies screen.End of Lab Exercise Part 3
81Lab 3-1: Part 4 – Create a New GroupStep Action1 In Avamar Administrator, open the Policy Management screen in the Policy view and select theGroups tab. Highlight the DesktopClients domain and select Actions > New Group.2 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.
82Step Action3 Select your dataset from the Select An Existing Dataset drop-down list and click Next.4 Select your schedule from the Select An Existing Schedule drop-down list and click Next.
83Step Action5 Select your retention policy from the Select An Existing Retention Policy drop-down list and clickNext.6 Highlight your client in the list of clients to select the client.7 Click Finish to create the new group.
84Step Action8 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.9 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, andDelete 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 avalue of No for the Disabled column.
85Step Action11 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 thecompletion status of the scheduled backup.Select Navigation > Activity and check the status of the backup with the Activity Monitor.
86Step Action13 If the backup failed or if it completed with exceptions, investigate the Activity Session Drill-Downlog for possible cause(s) of the failure/exceptions. To do this, double-click the entry for the backupin the Activity Monitor.Click Close to exit the Activity Session Drill-Down.End of Lab Exercise
87Lab Exercise 3-2: Running On-Demand BackupsPurpose: In this lab you run on-demand backups using the various interfaces.Tasks:In this lab, you will run on-demand backups using: Avamar Administrator mccli utility Avamar Client avtar command Back up a SQL database using Avamar AdministratorReferences: EMC Avamar Administration Student Guide
88Lab 3-2: Part 1 – Run an On-demand Backup of the Group using Avamar AdministratorStep Action1 If your scheduled backup has run, make a change to the contents of the C:Abackup directoryon your Windows client machine.2 Launch Avamar Administrator and choose Navigation > Policy or click the Policy button.3 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.
89Step Action4 Select your group from the list of groups and then click Back Up.Result: The Backup initiated message appears.5 Click OK.6 Select Navigation > Activity to view the progress of the backup with the Activity Monitor.
90Step Action7 In Activity Monitor, check the backup completion status. If the backup failed or if it completedwith exceptions, investigate the Activity Session Drill-Down log for possible cause(s) of thefailure/exceptions.When the backup completes, double-click the entry for the backup in the Activity Monitor andreview the Activity Session Drill-Down report.Click Close to exit the Activity Session Drill-Down.End of Lab Exercise Part 1
91Lab 3-2: Part 2 – Run an On-demand Backup using Pre and Post ScriptsStep Action1 We will configure this backup to run a script before and after the backup.Before running the backup, create the pre and post script files in the H:avsetcscriptsdirectory on your Windows client machine: Using WordPad, create prescript.bat Open WordPad and select File > New > Text Document and click OK. Enter the following text:echo prescript successful > C:Abackupprescript.txt Save the file in the H:avsetcscripts directory as a text document with thename, prescript.bat. Using WordPad, create postscript.bat Open WordPad and select File > New > Text Document and click OK. Enter the following text:echo postscript successful > C:Abackuppostscript.txt Save the file in the H:avsetcscripts directory as a text document with thename, postscript.bat.Close WordPad.
92Step Action2 Result:3 Launch Avamar Administrator, if not already running, and choose Navigation > Backup & Restoreor click the Backup & Restore button.4 Expand the tree and choose your client from the tree. Then, select the Select for Backup tab.Make sure the Browse for Files, Folders, or Directories option is selected.
93Step Action5 Browse your client under Windows File System and select several files in the C:WINDOWSdirectory to backup.6 Choose Actions > Preview List to see a list of the files that are selected for backup. Click OK to exitthe Preview List.
94Step Action7 Choose Actions > Back Up Now from the menu bar.8 From the On Demand Backup Options dialog box, set the retention period for this backup to 5days. Then, select More Options.
95Step Action9 Label the backup. Select Report advanced statistics and Show Advanced Options.
96Step Action10 To test pre and post script processing, scroll down through the options and locate the pre and postscript 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.
97Step Action11 Click OK to start the backup.Result: The On Demand Backup Request message appears.12 Click Close.
98Step Action13 Select Navigation > Activity to view the status of your backup with the Activity Monitor.14 After the backup completes, check the contents of the C:Abackup directory for the presenceof the prescript.txt and postscript.txt files.15 View the client logs in the H:avsvar directory.End of Lab Exercise Part 2
99Lab 3-2: Part 3 – Run an On-demand Backup using Pre and Post ScriptsStep Action1 From your Windows host, win01, launch PuTTY 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 rootpassword changeme.2 With mccli, display the groups that are currently configured on the Avamar server.At the command prompt, type: mccli group show --recursive=true
100Step Action3 With mccli, back up the client assigned to your group.At the command prompt,type: mccli group backup --name=yourgroup --domain=/DesktopClientsNote: Commands must be entered all on one line, i.e. no line breaks allowed.4 With mccli, back up the C:Abackup directory on your Windows client machine. Then, displaythe status of the backup activity.At the command prompt, type: mccli client backup-target --domain=/DesktopClients--name=win01.emc.edu --plugin=3001--target=”C:Abackup” type: mccli activity show --active=true5 Check the completion status of the backups. In Avamar Administrator, select Navigation > Activity.Locate the entries for the backups in the Activity Monitor.6 Exit the PuTTY session.End of Lab Exercise Part 3
101Lab 3-2: Part 4 – Comparing Backup Data CapacityStep Action1 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 bytesbetween the two backups. Explain the difference in the percentages.2 Backup the file C:Large_Filesample_large_file.txt using whichever method youprefer.3 Check the Activity Monitor for the % of new bytes for the first backup of the file.4 Make several changes throughout the file and back up the file again. Check the Activity Monitorfor the % of new bytes for the second backup.5 Make a copy of C:Large_Filesample_large_file.txt and backup the copy. Checkthe Activity Monitor for the % of new bytes for this latest backup.
102Step Action6 Review the Activity Monitor displaying the % of new bytes for each of the three most recentbackups.Explain the differences in the % of new bytes among the backups.End of Lab Exercise Part 4
103Lab 3-2: Part 5 – Run an On-demand Backup using the avtar CommandStep Action1 Open a Command Prompt window and change directory toH:avsbin.2 There are several ways of formatting the avtar command depending upon the domain level ofthe user that is used for the command. First, you will backup using the user account withadministrator privileges that is assigned to your domain. Select a file or directory to backup, thentype:avtar --create --id=username@/DesktopClients--account=/DesktopClients/win01.emc.edu “C:filename”--label=”XXXbkup”where username is the name of the user you created for your domain and filename is the name ofthe directory or file that you want to back up. For the label parameter, use a name to identify yourbackup. The command must be entered all on one line, i.e. no line breaks.3 Supply the password for your user when prompted.4 Review the information displayed in the window for the backup session. Did the backup completesuccessfully? If not, determine why and rerun the command.
104Step Action5 Back up a file using your root user account.Type:avtar -c --id=yourUserName@/ --path=/DesktopClients/win01.emc.edu“C:filename” --label=”XXXbkup”where yourUserName is the root account you created and filename is the name of the directory orfile that you want to back up. For the label parameter, use a name to identify your backup. Thecommand must be entered all on one line, i.e. no line breaks.6 Run a backup using a flag file to supply the backup retention and advanced statistics options.Remember that the parameters included in the avtar.cmd file by default will apply to allinstances of avtar running on the client. By using the --flagfile option with the avtar commandand pointing it to another file, this won’t affect other executions of avtar. Using WordPad, create the lab.cmd file. Enter the following text in the file:--expires=3--statsSave the file in txt format in the H:avsvar directory. Run this avtar command:avtar -c --id= yourUserName@/ --path=/DesktopClients/win01.emc.edu“C:filename” --label=”XXXbkup” --flagfile=”H:avsvarlab.cmd”Notice that avtar is using the parameters that you passed to it in the flag file, lab.cmd.End of Lab Exercise Part 5
105Lab 3-2: Part 6 – Run an On-demand Backup of a SQL DatabaseStep Action1 In this lab, you will run an online backup of the SQL database, customer. SQL services must berunning on the Windows client machine for a successful backup. First, on win01, ensure that theSQL Server is connected.To connect to SQL Server, select Start > Programs > Microsoft SQL Server 2008 > SQL ServerManagement StudioIf the Connect to Server dialog box is displayed, click Connect.Result: The SQL Server Win01 status icon displays a green symbol.
106Step Action2 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 thedatabase is offline, it will be shown in the tree under Database Snapshots - right-click the databaseand select Tasks > Bring Online).3 Launch Avamar Administrator, if not already running, and choose Navigation > Backup & Restoreor click the Backup & Restore button.4 Choose your client from the tree and then select the Select for Backup tab. Make sure the Browsefor Files, Folders, or Directories option is selected.
107Step Action5 Uncheck any previous backup selections. Browse the Windows SQL client and select the customerdatabase to backup.6 Select Actions > Back Up Now.7 In On Demand Backup Options, set the retention to 5 days and assign a label to the backup. Notethe options available for the Windows SQL plug-in. Click OK.8 Click OK and then Close.9 View the status of the backup with the Activity Monitor. Select Actions > View Statistics toexamine the statistics for the backup. Then, click Close.End of Lab Exercise
108Lab 3-2: Part 7 – Backups with Avamar Desktop/LaptopStep Action1 On win01, open Avamar Administrator with server single02. Login using MCUser with MCUser1 as thepassword.2 Create a new dataset named DTLTDataset to backup #USERDOCS#*3 Create a new group to include the DTLTDataset. Name the new group, DTLTGroup. Uncheck theDisabled box in New Group. Use the default selections for schedule and retention. Add the win02client to this Group.
109Step Action4 Log onto win02 using username Administrator, password student.5 Right-click on the Avamar Client icon in the system tray and select Back Up…6 Click OK and Yes to any security alerts.7 You are automatically authenticated using your domain credentials and the Desktop/Laptop interfaceappears.Expand the DTLTGroup and confirm your backup policy.Click Back Up Now.
110Step Action8 Click OK to continue.9 Click History to see history of the last 10 backups.10 Click the backup in the Activity History panel and view the contents of the backup in the panel below.11 Close the Desktop/Laptop interface.End of Lab Exercise
111Lab Exercise 3-3: Managing BackupsPurpose: In this lab you will explore the Avamar Administrator BackupManagement view.Tasks:In this lab, you will look at the various options in the AvamarAdministrator Backup Management view.References: EMC Avamar Administration Student Guide
112Lab 3-3: Part 1 – Managing BackupsStep Action1 Log onto the win01 workstation. Launch the Avamar Administrator and choose Navigation >Backup Management or click the Backup Management button.2 Expand the tree and highlight your client under your domain. Select a date from the By daycalendar that has backups.Result: You will see a list of the backups performed for the client on that day.
113Step Action3 Highlight one of the backups and click Actions from the menu bar.4 Select Change Expiration Date from the menu. Change the retention period for the backup to adifferent number of days. Click OK and Yes several times to accept the change and exit thisfunction.5 Highlight one of the Windows File System backups and select Actions > Delete Backup. Click Yesand OK to accept the change and exit this function. (Do NOT delete the SQL backup.)
114Step Action6 Highlight a backup and select Actions > Validate Backup. Click OK to accept the default selections,then OK.7 Verify the status of the validation by viewing the Activity Monitor.
115Step Action8 From Backup Management, select your client and choose By date range. Select a range of dates todisplay the backups in Backup History and then click Retrieve.9 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 > ChangeRetention.
116Step Action10 Change the retention type to daily for the selected backup by selecting Tags and then Daily. ClickOK, YES and OK.11 Result: The retention type for the backup is changed.12 Display all daily backups. Choose Daily from By retention and then click Retrieve.
117Step Action13 Select one of the backups and choose Actions > View Statistics. Examine the informationdisplayed for each of the tabs in Backup Statistics. Export the statistics to a file in C:Abackupon the Windows machine. Then, click Close.End of Lab Exercise
119Lab Exercise 4-1: Running RestoresPurpose: In this lab you practice running restores using Avamar Administrator andAvamar Web Restore.Tasks:In this lab you will: Run a restore from Avamar Administrator Run a restore using mccli Restore a SQL database Run a restore through Desktop/LaptopReferences: EMC Avamar Administration Student Guide
120Lab 4-1: Part 1 – Running Restores using Avamar AdministratorStep Action1 Make some changes to your backup target C:Abackup. Note the directory contents and datemodified of the files after your changes.2 Launch Avamar Administrator using your root account and select the Select for Restore tab in theBackup and Restore view.3 Expand the tree and highlight your client under your domain. In the By Date tab, choose a date inthe calendar to display the backups for that day.
121Step Action4 Select the scheduled backup from the list of backups for the selected date. Drill down in thecontents list and select the C:Abackup directory to restore.5 Select Actions > Restore Now from the menu bar.
122Step Action6 Note the options for restoring to another location in Restore Destination Choices. Click MoreOptions.
123Step Action7 Note the default selection for Overwrite existing files and then choose If Modified. Check ReportAdvanced statistics and click OK. Click OK to begin the restore.8 Click Close.
124Step Action9 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 thelog. Then, click Close to close the log.11 Verify the restore by looking at the details for the restored files on the target.
125Step Action12 Return to the Backup and Restore view Select for Restore tab. Select the By File/Folder tab.Expand the tree and highlight your client. Then, click Browse.13 In Select File or Folder, expand the tree and select your client. Then, drill down in the WindowsFile System directory structure and select a file in the C:Abackup directory. Click OK.14 Click Retrieve to display the backup version history for the selection.
126Step Action15 Select a version of the file to restore from Version History. Then, from the list of backupscontaining the file, select a backup from which to restore the file. Drill down in the backupcontents to select the file.16 Select Actions > Restore Now from the menu bar.17 Select Restore everything to a different location and then click Browse.
127Step Action18 Select a location for the restored file on your Windows client. Click OK to save the restore options.Click OK and OK to initiate the restore.19 Check the status of the restore on the Activity Monitor. After the restore completes, verify thatthe file was restored to the selected destination location on your client machine.End of Lab Exercise Part 1
128Lab 4-1: Part 2 – Running Restores using mccliStep Action1 From your Windows host, win01, launch PuTTY 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 root passwordchangeme.2 With mccli, display the backups for your client.At the command prompt, type:mccli backup show --name=/DesktopClients/win01.emc.edu--verboseNote: Commands must be entered all on one line, i.e. no line breaks allowed.
129Step Action3 With mccli, restore a backup to C:Temp. Pick a small Windows File System backup to restorefrom the list created in step 2. Note the label number of the backup. At the command prompt,type:mccli backup restore --labelNum=backuplabelnum --plugin=3001--name=/DesktopClients/win01.emc.edu --dest-dir=”C:Temp”where backuplabelnum is the number of the backup to restore.Note: Commands must be entered all on one line, i.e. no line breaks allowed.4 Check the status of the restore activity in Activity Monitor. When the restore completes, verifythat the file was restored to the selected destination location on your client machine.5 Exit the PuTTY session.End of Lab Exercise Part 2
130Lab 4-1: Part 3 – Restore a SQL DatabaseStep Action1 In this lab, we will restore the customer SQL database from backup. Before initiating the restore,we’ll first delete the database.To connect to SQL Server, select Start > Programs > Microsoft SQL Server 2008 > SQL ServerManagement StudioIf the Connect to Server dialog box is displayed, click Connect.Result: The SQL Server Win01 status icon displays a green symbol.
131Step Action2 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.4 Launch Avamar Administrator and open the Backup and Restore view. Select the Select forRestore tab.
132Step Action5 Expand the domain tree and select your client. Then, select the By Date tab and a date in thecalendar to display the backups to restore.Note: Select the date when Lab Exercise 3-2 Part 6 (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 thecontents list and select the customer database to restore.Note: You can sort the list of backups by column heading, including plug-in type.7 Select Actions > Restore Now from the menu bar. Click OK and OK to initiate the restore.8 Check the status of the restore activity in Activity Monitor.
133Step Action9 Open Microsoft SQL Server Management Studio, connect to SQL Server, and then expand theDatabases tree. Note that the customer database is back in the list of databases. Right-clickcustomer in the list, and then select Tasks. Note that the customer database is back online (BringOnline is grayed out.)10 Close Microsoft SQL Server Management Studio.End of Lab Exercise Part 3
134Lab 4-1: Part 4 – Restoring with Avamar Desktop/LaptopStep Action1 Log onto win02 using username Administrator, password student.2 Right-click on the Avamar Client icon in the system tray and select Restore…3 Click OK and Yes to any security alerts.4 Click Search and enter test* in the Search box. Then, click Search.
135Step Action5 The screen displays a list of files meeting the search criteria that are owned by you.6 Delete testfile2.txt from the My Documents folder on win02.7 In the Avamar Desktop/Laptop interface, select the file testfile2.txt to restore. Click OverwriteExisting File and then Restore.8 Verify that the file is restored to the My Documents folder.
136Step Action9 Delete a file from My Documents. Then, click Browse in Avamar Desktop/Laptop. Browse the MyDocuments folder and select the file to restore, select Overwrite Existing File and then click Restoreat the bottom of the screen.10 Verify that the file is restored to the My Documents folder.11 Close the Desktop/Laptop interface.End of Lab Exercise
137Lab 4-1: Part 5 – VMware Image Backup and RestoreStep Action1 In this lab, you will perform an image backup and restore of a VMware virtual machine usingVADP. Since VMware Image backups require hardware that is not compatible with the virtual labenvironment, you will be using the VMware Image Backup and Restore Simulator. Since thesimulator follows this lab, not all functionality is available. You may exit the simulator at any timeby pressing Escape.Open the VMware Image Backup and Restore Simulator.ppsx file on the desktop of win01.2 Open the Avamar Administrator Administration view.
138Step Action3 In the Account Management tab, click on the 10.127.122.80 client. This is the VCenter client thathas been registered with the Avamar server.Click on the Protection tab to view all the virtual machines managed by the VCenter server. Take anote of the values in the Protected column. Note that an image proxy has already been configuredand has guest level protection.4 Next, you will add the dev1-win02 virtual machine to the VirtualMachines domain.Select the VirtualMachines domain and select Actions Account Management New Client…
139Step Action5 The New Client window appears. The client type is automatically set to VMware Virtual Machinesince the client is being added to a virtual machine domain.Click the Browse… button to select a virtual machine.6 Check the Show sub-domain virtual machines box to show all virtual machines. Select dev1-win02from the list and click the Enable change block tracking.Then click OK.
140Step Action7 Click OK to add the new client.Click OK again to accept.Result: dev1-win02 appears under the VirtualMachines domain.8 Select the 10.127.122.80 domain and click the Protection tab. Confirm that dev1-win02 is imageprotected.9 Open the Backup and Restore view by selecting Navigation Backup and Restore.10 Expand the 10.127.122.80 domain and the VirtualMachine domain. Select the dev1-win02 client.
141Step Action11 Select Windows VMware Image.Select Actions Back Up Now…12 Click OK to initiate the backup. When the backup is initiated, click on Close.13 The backup begins by creating a snapshot of the virtual machine. Open VMware vSphere Clientfrom the Taskbar. Confirm that a snapshot of dev1-win02 has been created in the Recent Taskspanel.
142Step Action14 Return to Avamar Administrator and switch to the Activity view by selecting Navigation Activity.15 Monitor the progress of the backup. In this simulator, the backup occurs much faster than in a realenvironment. Take note of the elapsed time when the backup completes.16 You will now restore the image to the original virtual machine. The virtual machine needs to beshut down for this to occur.Open the VMware vSphere Client window. Click the VMs and Templates button.
143Step Action17 Select dev1-win02 from the left pane. Click the red box to shutdown dev1-win02.18 Confirm the shutdown.19 Open the Backup and Restore view in Avamar Administrator.20 Select dev1-win02 client and select the restore tab.
144Step Action21 Select the available backup and select All virtual disks in the bottom left panel.22 Select Actions Restore Now…23 Select Restore to original virtual machine and click OK.
145Step Action24 Accept the hardware compatibility warning.25 When the restore request is initiated, click Close.26 Open the Activity view and monitor the restore.The simulator performs restores much faster than in a production environment. Take note of theelapsed time when the restore completes.27 Open VMware vSphere Client. Select dev1-win02 and click the green triangle to start the virtualmachine.28 Click anywhere to close the simulator.End of Lab Exercise
147Lab Exercise 5-1: Using Avamar Enterprise ManagerPurpose: In this lab, you explore the functions available with Avamar EnterpriseManager.Tasks: In this lab, you explore the Avamar Enterprise Manager interface.References: EMC Avamar Administration Student Guide
148Lab 5-1: Part 1 – Exploring Avamar Enterprise ManagerStep Action1 Log onto your Windows machine, win01.2 Point the web browser to the address of the Avamar Enterprise Manager by entering the followingURL:http://single01/em3 Answer OK and Yes to any Security Alerts. Then click on Login.Result: The Avamar Enterprise Manager Login screen displays.4 Select Enterprise Manager and log in with your root account. Enter your password. Then, click LogOn.
149Step Action5 Review the information displayed in the Dashboard view, then click your Avamar server name inthe System column.6 Review the detailed information about the Avamar server displayed in the System > Status view. IfServer Status other than green in the Dashboard view (step 5 above), look for a possible cause inthe Status view.7 Select Policy from the Avamar Enterprise Manager menu.
150Step Action8 Explore the information available by clicking Groups, Clients, Datasets, Schedules and RetentionPolicies.9 Select Reports from the Avamar Enterprise Manager menu.10 Select a report to view from the Reports list. Click Run to create the report. Note that you canexport the report to a file.
151Step Action11 Go back to the System Status view by selecting System > Status from the Avamar EnterpriseManager menu.12 Click Launch Administrator to launch the Avamar Administrator.Result: Reply Run to any security warnings. You may be prompted to install a version of J2SERuntime Environment – if so, accept the license agreement and install.13 Log into the Avamar Administrator when the logon screen is displayed.14 Logout of Avamar Enterprise Manager and close Avamar Administrator.End of Lab Exercise
153Lab Exercise 5-3: Avamar ReplicationPurpose: In this lab, you will configure and run Avamar replication.Tasks: In this lab, you will: Configure normal (standard) replication for your server usingEnterprise Manager Run replication on demand using Enterprise Manager Run a directed restore of replicated dataReferences: EMC Avamar Administration Student Guide
154Lab 5-3: Part 1 – Configuring Normal (Standard) Replication using Enterprise ManagerStep Action1 From win01, point the web browser to the address of the Avamar Enterprise Manager by enteringthe following URL:http://single01/em2 Answer OK and Yes to any Security Alerts.Log onto Enterprise Manager with your user account.3 First we need to add the replication target Avamar server (single02) to the list of servers managed bythis Avamar Enterprise Manager.To add an Avamar server to Avamar Enterprise Manager, select Configure from the EnterpriseManager menu.4 From the Avamar Enterprise Manager Configure view, click Add.
155Step Action5 Enter: System Name:single02 Check the Monitor box Password: MCUser1Click Save.6 Result: The replication target server is added to the list of Avamar servers monitored by yourAvamar Enterprise Manager.7 Select Replicator > Setup from the Avamar Enterprise Manager menu.8 Avamar server single01 will be the replication source. Select single01 from the Source column.
156Step Action9 Configure replication from single01 to single02 for all clients.Enter: Destination: select the target replication server Destination User ID: repluser Destination User Password: 9RttoTriz Schedule: schedule the replication to begin automatically at 10:00 pm Timeout: 8 hours Include backups with the following retention: check all retentions. Replication type: leave it set as Full.Click Save.Note: The above selection will replicate all backups for all clients activated with the source Avamarserver.10 Replication is now set up to run according to the configured schedule. Confirm the replicationconfiguration displayed in the Replicator Setup window.
157Step Action11 View the contents of repl_cron.cfg file located in the /usr/local/avamar/etc directoryon the replication source Avamar server, single01. (Open a PuTTY session with single01.)Type:cd /usr/local/avamar/etctail repl_cron.cfg --lines=6Exit the PuTTY session.End of Lab Exercise Part 1
158Lab 5-3: Part 2 – Running Replication On-demandStep Action1 Select Replicator > Status from the Avamar Enterprise Manager menu.2 Select single01 in the Source column and click Start Replication.3 Result: The replication job is started.4 In Avamar Administrator Activity Monitor, check the replication status
159Step Action5 On win01, launch Avamar Administrator for the replication target server, single02.In Administration > Account Management, locate your domain and client beneath the REPLICATEdomain. Notice that Enterprise Manager backups (EM_BACKUPS), Administrator Server backups(MC_BACKUPS), Avamar Installer software (AVI), and Networker Data are also replicated.6 In Avamar Administrator for the replication target server, single02, check the replication status inActivity Monitor.7 Log out of Enterprise Manager.End of Lab Exercise Part 2
160Lab 5-3: Part 3 – Restoring a Replicated BackupStep Action1 From win01, launch Avamar Administrator for the replication target, single02 (if it is not alreadyrunning) and select the Administration view. Expand the domain tree and note that win01 is listed asa client under the REPLICATE domain. The REPLICATE domain holds the replicated backups. The client,win02, is listed under the /clients domain2 From the Backup and Restore view, select the Select for Restore tab.
161Step Action3 Expand the tree under the REPLICATE domain and select win01. Then, choose a date for which todisplay the backups in the By Date tab.4 Select a Windows File System backup from the list of backups for the selected date. Drill down in thecontents list and select a directory or file to restore.5 Select Actions > Restore Now from the menu bar.
162Step Action6 In Restore Options, notice that the only destination choice available is to restore everything to adifferent location. Click Browse.7 To restore the data to win02, select win02 from the /clients domain and then select a destinationlocation (C:Temp) in the Windows File System on win02 for the restored data. Click OK.8 Click OK and Close to initiate the restore.
163Step Action9 Check the status of the restore in Activity Monitor. Verify the presence of the restored files in thedestination directory on win02.10 Close the Avamar Administrator windows for the replication target, single02.End of Lab Exercise
165Lab Exercise 6-1: Performing Daily System Monitoring TasksPurpose: In this lab you perform daily system monitoring tasks.Tasks: In this lab, you will: Perform daily system monitoring tasks using Enterprise Manager Monitor backup and server statusReferences: EMC Avamar Administration Student Guide
166Lab 6-1: Part 1 – Perform Daily System Monitoring TasksStep Action1 On win01, launch Avamar Administrator for single01 using your root account (if not alreadylaunched.) Open the Avamar Administrator Activity view.In Activity Monitor, are there any backups or restores that have not completed successfully?If so, double-click the entry to view the Activity Session Drill-Down log. Why did the activity fail tocomplete successfully? Click Cancel to close the log window.2 View the Group Status Summary to see a summary of activity for each group.
167Step Action3 Open the Avamar Administrator Administration view. View the information displayed in the EventManagement tab. Double-click an event in the list to display detail for that event.4 Are there unacknowledged events? If so, click the Unacknowledged Events tab at the bottom ofthe window to see the Unacknowledged Events.If there aren’t any unacknowledged events, skip to step 7.5 Double-click an event in the list to view the event detail (alternatively, right-click the event andselect View Detail.) Click Close to close the Event Detail window.
168Step Action6 To acknowledge the event, highlight the event. Then, right-click the event and select AcknowledgeEvents.7 Select Tools > Manage Profiles. In Manage All Profiles, drill down in the tree in the left pane andhighlight Event Codes under System Profile to display the event codes. In the right pane, look atthe events that require acknowledgement.
169Step Action8 In Manage All Profiles, select the High Priority Events profile and then click Copy.9 Give the profile a name and click OK.10 Select your new profile in the list and click Edit.
170Step Action11 In Edit Profile,In the Properties tab, select Profile Enabled select Email Enabled select Send data on a schedule12 In the Email Notification tab, add firstname.lastname@example.org to the distribution list
171Step Action13 Click Send Email to test the notification. Click OK to confirm.14 Click OK and OK to save your profile and exit Manage Profiles.15 Start Outlook Express on win01 and verify that the administrator received the test email fromemailalert.16 Click the Audit Log tab at the bottom of the window. Look at the events that are displayed in thelog.17 Examine the information displayed in the Services Administration tab of the Avamar AdministratorAdministration view. Which types of properties are reporting status here?
172Step Action18 View the properties of the Replication cron job by highlighting it in the list, then right-clicking andselecting View Properties. When is the cron job scheduled to run? Notice how to suspend and howto run the cron job on-demand.End of Lab Exercise Part 1
173Lab 6-1: Part 2 – Monitoring Backup and Server StatusStep Action1 Initiate a large file system backup and then cancel the activity in the Administrator Server viewSession Monitor tab. Highlight the session and then select Actions > Cancel Session. Click OK.Click Yes to the Cancel Activity dialog.2 Click Close.3 Check the status of the cancelled backup in the Activity Monitor.
174Step Action4 Suspend all backup and restore activity. From the Server view, select Actions > SuspendBackups/Restores. Click Yes to confirm and OK to the informational message.5 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?6 From the Server view, select the Server Management tab. What is reported for the Node 0.0 statusindicator in the server tree?Click Node 0.0 in the tree. For the Node details, note the current operational state of the server asdisplayed in the State and Runlevel server properties.7 Resume backups and restores by selecting Actions > Suspend Backups/Restores or by clicking theResume Backups/Restores icon in the Task bar. Reply Yes and OK.
175Step Action8 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?9 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 theinformation that is displayed for the server at each level.Server:End of Lab Exercise
177Lab Exercise 6-2: Using dpnctlPurpose: In this lab, you will use dpnctl to perform some basic systemadministrator.Tasks: In this lab, you will: Check the status of the Avamar server using dpnctl Start Avamar processes using dpnctlReferences: EMC Avamar Administration Student Guide
178Lab 6-2: Part 1 – Running Avamar dpnctlStep Action1 From win01, launch PuTTY to open an SSH session with single01. Log in as user root passwordchangeme.2 Type the following command:dpnctl statusResult: The running status of all Avamar processes is displayed.3 List the processes that are displayed and their status.4 Type the following command:dpnctl startWhat are the results of running this command?5 Type the following command:dpnctl --help | moreWhat are the sub-components of Avamar that can be started, stopped and “statused” viadpnctl?6 Exit the PuTTY session.End of Lab Exercise
179Lab Exercise 6-3: Daily Maintenance ActivitiesPurpose: In this lab, you use Avamar tools for checkpoint management and capacityutilization.Tasks: In this lab, you will: Examine the tools for managing the daily maintenance activities Assess daily server schedules Look at capacity utilization of the lab serverReferences: EMC Avamar Administration Student Guide
180Lab 6-3: Part 1 – Monitoring Daily Maintenance ActivitiesStep Action1 From the Avamar Administrator Server view, click the Server Management tab. Review theMaintenance 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 maintenanceactivities will not run during the next maintenance or blackout window. The Start time of GarbageCollection Details indicates the last time that garbage collection ran.
181Step Action2 From the Avamar Administrator Server view, click the Checkpoint Management tab.Are checkpoints being created?Are checkpoints being validated?3 If the maintenance activities are suspended, unsuspend the maintenance activities by selectingActions > Resume Maintenance Activities from the menu bar in the Server view. Maintenanceactivities will run normally during the next blackout or maintenance window. If maintenanceactivities are not suspended, you will see Suspend Maintenance Activities as a command optioninstead.4 If resuming activities, click Yes to confirm that you want to resume maintenance activities.
182Step Action5 Click the Server Management tab and select single01 in the tree. Check the dates of the Lastcheckpoint and Last validated checkpoint to be sure that the dates are recent. Ideally, the lastcheckpoint 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 validatedcheckpoint.6 Select the Checkpoint Management tab.7 Force a checkpoint to run by selecting Actions > Create Checkpoint.8 Notice that the maintenance scheduler will be disabled while this on-demand checkpoint activitytakes place. Click Yes and then OK.
183Step Action9 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 changeme.At a command line, type: cplistResult:Exit the PuTTY session.11 From the Avamar Administrator Server view Checkpoint Management, highlight the checkpointthat you created. Right-click and select Validate.12 Select the type of validation to perform and click OK.
184Step Action13 Monitor the progress of the validation from Checkpoint Management. Check for any errors when itcompletes.End of Lab Exercise Part 1
185Lab 6-3: Part 2 – Administrator Backup and Maintenance SchedulesStep ActionTask A goal is configuring backup schedules is to reduce the potential for conflicts between maintenanceand backup activities. It is important that when any changes are made to the blackout andmaintenance window settings, the administrator monitors these activities closely to ensure thatdaily maintenance activities are completing successfully.In this lab, configure the backup, maintenance and blackout schedules to meet the conditions of thefollowing scenario and resolve any conflicts that occur.Scenario: Technical Support has asked you to temporarily use a longer garbage collection period of 6hours. Backup activities start no earlier than 7 PM and are able to complete within 10 hours. Theremainder of the day is used for other maintenance activities, such as HFS check.1 Configure a backup schedule to match the scenario above. Select Manage Schedules from the Toolsmenu.2 Select the Schedules tab. Revise the Default Schedule using the criteria above.
186Step Action3 After clicking OK, you should receive the following notice regarding a conflict with the maintenancewindow. Click Yes.4 In Manage All Schedules, click the Maintenance Window tab.5 Note the default settings for the Backup, Blackout and Maintenance windows as shown here. Changethe settings to match the scenario on the previous page.
187Step Action6 Result: Note that extending the duration of the blackout window shortens the duration of themaintenance window. After making changes to the settings, click OK.7 Click Yes to any Schedule conflict notification(s).8 Resolve conflicts so that the backup schedule(s) run within the period of time defined by the Backupwindow.End of Lab Exercise Part 2
188Lab 6-3: Part 3 – Capacity UtilizationStep Action1 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 > nodelist.txt3 View the information displayed by the utility, especially the disk capacity stats.Type: view nodelist.txtLocate the disk capacity information.Exit view (:q)
1894 Show the current checkpoint utilization. At the command prompt of the SSH session, type:cpsHow much space is the checkpoint that you created using?How much space is occupied by the cur directory?5 Return to Avamar Administrator (keep the PuTTY session open) and run the DPN Summary report.Select Tools > Manage Reports from the menu bar.
1906 From Manage All Reports, click Activities – DPN Summary. Click Run.7 Change the Filtered by dates to ensure that your backup activity is included in the report. ClickRetrieve to run the report.
1918 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.9 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 Reportswindows.
19210 Open the report with Microsoft Excel.11 For the successfully completed backup jobs, calculate the Average Weighted Commonality based onthe 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):Calculate Average Weighted Commonality = (1-(DCR/TBP))*100 =
19312 Use information provided with the capacity.sh utility to see if the Avamar system is running insteady state.Return to the PuTTY session for your assigned Avamar server. As user root or user admin (passwordfor both users is changeme), type:capacity.shWhich fields in the report help to determine if the system is running in steady state?13 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 anysecurity alerts.14 Select Enterprise Manager and log in with your root account. Then, click Log On.
19415 Select Reports from the Avamar Enterprise Manager menu.16 Select the Avamar Capacity Usage Report. Change the filter to include all your backup activity in thereport. Click Run to run the report.
19517 Select the Avamar Capacity Forecast Report. Change the filter to show the forecast for the next 3months. Click Run to run the report.Note: You may receive a notice that there is not enough data to produce this report.18 Create the Capacity Utilization and Forecast graph. Select System from the Avamar EnterpriseManager menu and then select Capacity.
19619 Run the report for the period of time that you have been performing backups and forecast out for 1month. Select Date Range and then select the From Date and To Date. Click Run.20 Run the Average Daily Change Rate graph for the server. Select System >Average Daily Change Rate.Then, select For Server.21 Run the report for the period of time that you have been performing backups. Select Date Range andthen select the From Date and To Date. Click Run.22 Logout of Avamar Enterprise Manager.23 Exit the PuTTY session.End of Lab Exercise
197Lab Exercise 7-1: Exploring Avamar Processes and LogsPurpose: In this lab, you will examine some tools for basic troubleshooting.Tasks: In this lab, you will: Look at the effect of the client cache files on backups Run system commands to determine which processes arerunning on server and client machines Examine client logs for backup activitiesReferences: EMC Avamar Administration Student Guide
198Lab 7-1: Part 1 – Examining Cache Files and Backup PerformanceStep Action1 In this lab, we observe the effect that deleting the p_cache and f_cache files has on filesystem backups.Backup a directory that you have not backed up before that contains a substantial amount of filesand data. Using the Activity Monitor or client Work Order Status, note the duration of the backup:________________2 Delete the p_cache.dat file on your Windows client machine (default directory: H:avsvar).Backup the same directory again and note the duration of the backup: ______________3 Delete the f_cache.dat file on your Windows client machine.Backup the same file/directory again and note the duration: ______________4 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
199Lab 7-1: Part 2 – Explore Avamar Server Processes and LogsStep Action1 Start a PuTTY session for single01 and log on as user admin (password changeme).2 Run the ps command to list the utility node Java-based processes currently running.Type:ps –efm | grep java | more3 Run the ps command to list the utility node postgres processes currently running.Type:ps –efm | grep post | more
2004 Check to see if data server gsan processes are running.Type:ps –efm | grep gsan | more5 Run df –k for a display of the server mount points and capacity utilization of each mount point.6 Logs for activities run by cron (for example, replication) are located at/usr/local/avamar/var/cron.List the logs in that directory (ls –lt command). View the replicate.log file.
2017 The Administrator server logs are located at /usr/local/avamar/var/mc/server_log. Usethe ls –lt command to list the contents of the directory.8 The data storage node logs are located at /data01/cur. List the logs stored in that directory.
2029 Logs for the maintenance activities are located in the persistent store in /sysinfo/log. Thecontents 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/logavmaint ls /sysinfo/log/201y/mmLook at thegarbage collectionlog informationfor a monthavmaint cat /sysinfo/log/201y/mm/gc > gcmonth.logview gcmonthgc.logView all hfschecklog informationfor a monthavmaint cat /sysinfo/log/201y/mm/hfscheck | view -Look at the cplogs for the pastdaydumpmaintlogs --days=1 --types=cp >yesterdayscp.logview yesterdayscp.logwhere y is the current year and mm is the month when the activities were run. Types of logs includecp (checkpoint), gc (garbage collection) and hfscheck (checkpoint validation).Type the commands all on one line.10 Exit the PuTTY session.End of Lab Exercise Part 2
203Lab 7-1: Part 3 – Examine Client Logs for Backup ActivitiesStep Action1 Log onto win02.2 Using the EMC Avamar Desktop/Laptop interface, run a backup.3 Double click the Avamar icon in the system tray to view the work order list. Find the Workorder ID ofthe backup.4 Locate the corresponding avtar log file in the H:avsvar directory on the Windows clientmachine.
2045 Open the log with Notepad and view the contents.6 Using WordPad, create an avtar.cmd file with the following entries:Save the file in txt format in the H:avsvar directory.
2057 Run another backup using the EMC Avamar Desktop/Laptop interface. View the log in theH:avsvar directory and notice the additional log detail and statistics.End of Lab Exercise
207Lab Exercise 7-2: Running Standard and Custom ReportsPurpose: In this lab, you will run standard and custom Avamar reports.Tasks: In this lab, you will: Select and run standard reports Create custom reports using Avamar Administrator Use Microsoft Excel to select data from a database viewReferences: EMC Avamar Administration Student Guide
208Lab 7-2: Part 1 – Examining Cache Files and Backup PerformanceStep Action1 Launch Avamar Administrator on server single01, if not already running. To view a list of standardAvamar reports, select Tools > Manage Reports from the menu bar.2 Select a report from the list in Manage All Reports and click Run.
209Step Action3 Change the filer criteria and then click Retrieve to create the report.4 Review the information displayed in the report.5 Click Close and OK.End of Lab Exercise Part 1
210Lab 7-2: Part 2 – Create a Custom Report with Avamar AdministratorStep Action1 From Avamar Administrator, select Tools > Manage Reports from the menu bar.2 From Manage All Reports, select the DesktopClients domain from the domain tree and click New.
2113 In New Report, select a report view and enter a name and title for your report. Select filterspecifications and click OK.4 Select your new report from the domain tree and click Run.
2125 Filter the report by dates that you select in Filtered by and then click Retrieve.Note: Backend Capacity Reports cannot be filtered.6 Review your report. Then, click Close and OK.End of Lab Exercise Part 2
213Lab 7-2: Part 3 – Create a Custom Report with Microsoft ExcelStep Action1 Log onto win01.2 First, we need to install a PostgreSQL ODBC driver on the Windows host, win01.You will find a recommended driver package in the psqlodbc_08_03_0200 directory on thedesktop.To launch the installer, double-click the psqlodbc.msi file. Accept the license agreement anddefault install prompts. If applicable, double-click upgrade.bat and follow the instructions for theupgrade.3 To configure the driver:a) Choose Start > Settings > Control Panel > Administrative Tools > Data Sources (ODBC).b) Click the System DSN tab.c) Click Add.d) In the Create New Data Source window, select PostgreSQL ANSI and click Finish.
2144 For PostgreSQL ANSI ODBC Driver (psqlODBC) Setup, enter the following information:Data Source: MCDatabaseDatabase: mcdbServer: single01Port: 5555User Name: viewuserPassword: viewuser15 Click Save, then OK.6 Open Microsoft Excel and select the Data tab. Then, select Get External Data > From Other Sources >From Microsoft Query.
2157 For Choose Data Source, select MCDatabase and click OK.8 In the Query Wizard, expand a database view, such as v_events, and select the fields that you want todisplay 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.
2169 Input any selection criteria in the Filter Data window and click Next.10 Choose fields by which to sort the data and click Next.
21711 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.
21813 Result: Your report is displayed in the Microsoft Excel worksheet.End of Lab Exercise
219END OF LAB - CLEANUPWhen you are sure that you are finished with the Avamar Administration labs, please perform these lab clean-up steps.Step Action1 Click Workspace in the left side of the Lab Manager window.2 Highlight the arrow next to the Avamar 6 Admin configuration name and select Undeploy -Discard State.
220Step Action3 When you are sure that you no longer want to work in this lab configuration, highlight the arrownext to the Avamar 6 Admin configuration name and select Delete.Result: Your lab configuration will be deleted.End of Lab Exercise