SHARE, Session: 14578 Hands-on Lab: Backup/Recovery Scenarios for z/vm and Linux on System z Using IBM Solutions Lab Exercises



Similar documents
Backup and Restore Manager for z/vm

Backing Up and Restoring a z/vm Cluster and Linux on System z Guests

Program Directory for Backup and Restore Manager for z/vm. version 1 release 2.0. Program Number 5697-J06

Options for Backing Up and Restoring z/vm and Linux Guests

Options for Backing Up and Restoring a z/vm Cluster and Linux on System z Guests

Tracy Dean, IBM August Backing Up and Restoring a z/vm Cluster and Linux on System z Guests. SHARE Session #15727.

Backup Strategies for z/vm and Linux on z Systems

Program Directory for Operations Manager for z/vm. version 1 release 4.0. Program Number 5697-J10

Backup Strategies for z/vm and Linux on z Systems

Portions of this product were created using LEADTOOLS LEAD Technologies, Inc. ALL RIGHTS RESERVED.

Table of Contents. CHAPTER 1 About This Guide CHAPTER 2 Introduction CHAPTER 3 Database Backup and Restoration... 15

Overview. Business value

VERITAS Backup Exec TM 10.0 for Windows Servers

Rational Rational ClearQuest

Remedy ITSM Incident Management User Guide

Charter Business Phone. Online Control Panel Getting Started Guide. Document Version 1.0

Bosch ReadykeyPRO Unlimited Installation Guide, product version 6.5. This guide is item number DOC , revision 2.029, May 2012.

Automating Operations on z/vm and Linux on System z

TSM for Windows Installation Instructions: Download the latest TSM Client Using the following link:

Lab: Data Backup and Recovery in Windows XP

CMS Training Manual. A brief overview of your website s content management system (CMS) with screenshots. CMS Manual

IBM WebSphere Application Server Version 7.0

PORTAL ADMINISTRATION

Volume SYSLOG JUNCTION. User s Guide. User s Guide

Hypercosm. Studio.

Portions of this product were created using LEADTOOLS LEAD Technologies, Inc. ALL RIGHTS RESERVED.

How To Use Query Console

inforouter V8.0 Server Migration Guide.

Team Foundation Server 2012 Installation Guide

Lab - Data Backup and Recovery in Windows XP

USING THE MODEL IQ 1000 INTELLICLOCK

Server & Workstation Installation of Client Profiles for Windows (WAN Edition)

Performing Database and File System Backups and Restores Using Oracle Secure Backup

Smart Web. User Guide. Amcom Software, Inc.

Business Intelligence Tutorial: Introduction to the Data Warehouse Center

Horizon Debt Collect. User s and Administrator s Guide

VMware vcenter Discovered Machines Import Tool User's Guide Version for vcenter Configuration Manager 5.3

CA VM:Backup for z/vm

Configuring Situation Events in Action Manager for WebSphere Business Monitor Version 6.0

Server & Workstation Installation of Client Profiles for Windows

SonicWALL GMS Custom Reports

Installation Steps for PAN User-ID Agent

Hosting Users Guide 2011

F-Secure Messaging Security Gateway. Deployment Guide

Implementing Microsoft SQL Server 2008 Exercise Guide. Database by Design

VERITAS Backup Exec 9.1 for Windows Servers Quick Installation Guide

M100 System File Manager Help

STATISTICA VERSION 9 STATISTICA ENTERPRISE INSTALLATION INSTRUCTIONS FOR USE WITH TERMINAL SERVER

IBM i Version 7.2. Security Service Tools

Tips and Tricks SAGE ACCPAC INTELLIGENCE

Security Service tools user IDs and passwords

Appointment Scheduler

WebSphere Business Monitor V7.0 Business space dashboards

Yosemite Server Backup User s Guide

Consolidated Monitoring, Analysis and Automated Remediation For Hybrid IT Infrastructures. Goliath Performance Monitor Installation Guide v11.

SAS 9.3 Foundation for Microsoft Windows

Using RADIUS Agent for Transparent User Identification

Also you need the C-MOR ISO file. This file you will find following this link:

HIRSCH Velocity Web Console Guide

Required Virtual Interface Maps to... mgmt0. virtual network = mgmt0 wan0. virtual network = wan0 mgmt1. network adapter not connected lan0

NovaBACKUP Network User s Guide

Most of your tasks in Windows XP will involve working with information

Together with SAP MaxDB database tools, you can use third-party backup tools to backup and restore data. You can use third-party backup tools for the

VERITAS NetBackup TM 6.0

Backing Up and Restoring Data

Business Objects InfoView Quick-start Guide

If you re not using Citrix XenCenter 6.0, your screens may vary. Required Virtual Interface Maps to... mgmt0. virtual network = mgmt0 wan0

Quick Start Guide. Citrix XenServer Hypervisor. Server Mode (Single-Interface Deployment) Before You Begin SUMMARY OF TASKS

Evaluator s Guide. PC-Duo Enterprise HelpDesk v5.0. Copyright 2006 Vector Networks Ltd and MetaQuest Software Inc. All rights reserved.

Code::Blocks Student Manual

Catalog Web service and catalog commerce management center customization

One of the fundamental kinds of Web sites that SharePoint 2010 allows

WebSphere Business Monitor V7.0: Clustering Single cluster deployment environment pattern

AT&T Voice DNA User Guide

STATISTICA VERSION 10 STATISTICA ENTERPRISE SERVER INSTALLATION INSTRUCTIONS

Introduction to Operating Systems

Cloud Services for Backup Exec. Planning and Deployment Guide

Intellect Platform - Tables and Templates Basic Document Management System - A101

HP Universal Print Driver Series for Windows Active Directory Administrator Template White Paper

SPHOL205: Introduction to Backup & Restore in SharePoint Hands-On Lab. Lab Manual

Symantec Backup Exec TM 11d for Windows Servers. Quick Installation Guide

VERITAS NetBackup 6.0

Centralized Mac Home Directories On Windows Servers: Using Windows To Serve The Mac

2. Using Notepad, create a file called c:\demote.txt containing the following information:

QAD Enterprise Applications. Training Guide Demand Management 6.1 Technical Training

ITS ebilling. User s Training Manual

Teamstudio USER GUIDE

QUICK START GUIDE RESOURCE MANAGERS. Last Updated: 04/27/2012

Wharf T&T Cloud Backup Service User & Installation Guide

TM Online Storage: StorageSync

WebSphere Application Server security auditing

Handle Tool. User Manual

Cloud Server powered by Mac OS X. Getting Started Guide. Cloud Server. powered by Mac OS X. AKJZNAzsqknsxxkjnsjx Getting Started Guide Page 1

TECHNICAL REFERENCE GUIDE

Using the Bluemix Analytics for Hadoop Service to Analyse Data

Business Intelligence Tutorial

WS_FTP Server. User s Guide. Software Version 3.1. Ipswitch, Inc.

NetPortal All your documents, direct to your iphone

Avalanche Remote Control User Guide. Version 4.1.3

Transcription:

SHARE, Session: 14578 Hands-on Lab: Backup/Recovery Scenarios for z/vm and Linux on System z Using IBM Solutions Lab Exercises Reference information for all labs: You each have a copy (in PDF format) of the Administration Guide and the User Guide for Backup and Restore Manager for z/vm. The following chapter and page numbers will help you find documentation on each of the commands or options used in these labs: status Admin Guide Chapter 6, page 97 bkrlist User Guide Appendix A, page 36 bkruser User Guide Appendix A, page 39 bkrjob User Guide Appendix A, page 33 bkrvol User Guide Appendix A, page 42 review Admin Guide Chapter 6, page 106 submit Admin Guide Chapter 6, page 107 config Admin Guide Chapter 5, page 71 console Admin Guide Chapter 5, page 83 All Backup and Restore Manager commands that you issue from your user ID to the any of the Backup and Restore Manager service machines must be preceded by: SMSG <server userid> For example, to issue the STATUS command from your user ID, type: SMSG BKRBKUP STATUS Copyright IBM Corp. 2008, 2014 Page 1 March 2014

In these labs, we ll be using the following user IDs: USER01 through USER15 you ll each be assigned one of these user IDs to use during class. Their passwords are IBMCLASS. CLASSADM this will be used by the instructor BKRBKUP the master server for Backup and Restore Manager BKRCATLG the catalog server for Backup and Restore Manager BKRWRK01 through BKRWRK04 the worker service machines for Backup and Restore Manager We ll also be using Operations Manager for z/vm to view the backup server consoles. You don t need to do the Operations Manager labs before doing these labs. The first lab here will walk you through what you need to know about Operations Manager. Copyright IBM Corp. 2008, 2014 Page 2 March 2014

Lab 1: Use and customize console viewing in Operations Manager for z/vm In this lab you ll be using Operations Manager to view the consoles of the Backup Manager service machines (BKRBKUP, BKRCATLG, BKRWRKnn). So we ll spend a few minutes getting familiar with this function and customizing it for you. Using the VIEWCON command, Operations Manager allows you to view the messages on any monitored console to which you are authorized. Within VIEWCON you can scroll up and down, scroll left and right, search for text forward or backward, and toggle in and out of auto scroll mode. In addition, in VIEWCON, you can turn on or off the date and/or time. You can customize your VIEWCON sessions by creating a PROFILE that specifies how function keys operate. You can also customize the default date/time display settings. Steps for Lab 1: 1. Create your own VIEWCON profile to customize your settings. Issue the command: xedit viewcon profile a 2. Insert the following line to customize your default date/time display to include the time only: FORMAT=1 Refer to the VIEWCON command in the Operations Manager Admin Guide for more details or if you want to choose different options for the default date/time display. 3. Insert the following line to show the PF keys in a highlighted font: SHOWPF=Y,Y,AAI,CAI Refer to the VIEWCON command in the Operations Manager Admin Guide for more details or if you want to choose different options for showing or hiding the PF keys. 4. Insert the following line to assign the toggle for autoscroll to PF2. (By default it s PA2): PF02=SCROLL Refer to the VIEWCON command in the Admin Guide for details. 5. Save your changes and close the file. Issue: file 6. View the console of user ID BKRBKUP by issuing the following command: viewcon bkrbkup Notice in the lower right corner you are in autoscroll mode and the console you are viewing belongs to BKRBKUP. Copyright IBM Corp. 2008, 2014 Page 3 March 2014

7. Use F7 and F8 to scroll up and down. Notice that this takes you out of auto scroll mode. 8. Use F10 and F11 to scroll left and right. 9. Put a number on the command line when using F7, F8, F10, or F11. Notice that it will scroll the specified number of rows or columns. 10. Use the \ (backslash) character to search backwards in the console for some specific text. The text you are looking for will be at the top of the window. Again, notice that this takes you out of auto scroll mode. 11. Use the / (forward slash) character to search forward in the console for some specific text. The text you are looking for will be at the top of the window. 12. Use the PF2 key to toggle back to auto scroll mode. 13. Use F3 to exit VIEWCON. ********** End of Lab 1 ********** Copyright IBM Corp. 2008, 2014 Page 4 March 2014

Lab 2: Become familiar with the panel interfaces for finding data that has been backed up and is available for restore The backup catalog is housed in Shared File System (SFS). You can use the panel interfaces provided by Backup and Restore Manager to review the catalog contents from various starting points: BKRLIST is what end users will typically use to find their own data. For performance reasons, this command should not be used from a user ID that has administrator privileges on large systems. BKRUSER is what administrators will typically use to find and restore individual files for a specific user ID. BKRJOB is what administrators will typically use to find and restore data associated with a specific job and instance. BKRVOL is what administrators will typically use to find and restore data associated with a specific DASD volume. In addition, you can use SFS commands such as DIRLIST to review the catalog content directly. This would typically only be needed if you are trying to debug a problem. You should not modify catalog content unless directed to do so by the IBM Support team. Copyright IBM Corp. 2008, 2014 Page 5 March 2014

Steps for Lab 2: 1. Using the BKRUSER command, find any data owned by your user ID in the backup catalog. Use F11 to select items from the lists presented and drill down to the next level. You can also use the filter at the top of most panels to narrow down the list of items displayed on that panel. Wildcards are allowed in the filter fields. 2. Using the BKRLIST command, find any data owned by your user ID in the backup catalog. Use one of the following methods: Issue BKRLIST then use the Owner field in the top right of the panel to filter on your userid. Issue BKRLIST * * * USERnn replacing the nn with your user number. 3. Using the BKRJOB command, review the backup jobs that have already been run on your system. Typically you would use this interface to restore an entire job. For the lab exercise, however, we ll just restore one file from a job: a. Put the cursor on a specific job/instance and use F11 to see the details. b. Select one of the files listed in the job and hit F10 to restore. You can pick any file since you will just restore to your reader you won t actually replace the file on a disk. c. Choose to have the file sent to your reader. 4. Using the BKRVOL command, review the volumes that contain data that has been backed up on your system. Typically you would use this interface to restore an entire volume. For the lab exercise, however, we ll just restore one file from a volume: a. Use F11 multiple times to navigate through the volume backup details and find the files on a device on that volume that has been backed up. b. Select one of the files listed in the job and hit F10 to restore. c. Choose to have the file sent to your reader. ********** End of Lab 2 ********** Copyright IBM Corp. 2008, 2014 Page 6 March 2014

Lab 3: Perform a backup of your A-disk We ll use a sample job template to create your own backup job that will only back up your A-disk. The backup will be written to disk (rather than tape.) Many options will already be selected for you. (We ll review those options in future labs.) In this lab you ll only specify which disk is backed up. Remember that to submit a job for review, you issue: SMSG BKRBKUP REVIEW <job template filename> To submit a job for backup, issue: SMSG BKRBKUP SUBMIT <job template filename> For the class, all active job templates will be stored in an SFS directory. This allows Backup Manager to always have access to the latest files and allows each student to update his/her own file in the directory. You have this SFS directory accessed as filemode E. Copyright IBM Corp. 2008, 2014 Page 7 March 2014

Steps for Lab 3: 1. Using FILELIST, verify your A-disk does not contain any large files. 2. Copy the sample job template we ve created for the class to your personal job template. Both will be in the SFS directory we have set up for job templates. Use your user ID or user number as the filename to ensure uniqueness: COPYFILE LABSAMP TEMPLATE E <userid> TEMPLATE E 3. XEDIT your job template: XEDIT <userid> TEMPLATE E 4. Scroll down or find the specification for the target media: CONFIG BKR_OUTPUT_SPEC. You ll notice that the value is CMSFILE BACKUP DISKPOOL *. 5. From the XEDIT command line use FILELIST to find the file BACKUP DISKPOOL on any accessed disk. 6. Browse its contents. You ll notice a list of <userid> <diskaddress> pairs. This tells Backup Manager where to write the backup data, since we are not writing to tape. 7. Type QQUIT in XEDIT and hit F3 from FILELIST until you are back in the XEDIT session for your job template. 8. Scroll down or find the specification for the job name: CONFIG BKR_JOB_NAME. Change the value to match the filename of your job template: USERnn 9. Similarly, scroll down or find the specification for the filename of the catalog granules: CONFIG BKR_CATALOG_GRANULE_FN. Change the value to match the filename of your job template: USERnn 10. You can optionally review other specified options. We ll work with them later. 11. Scroll down or find the Job_Header section that contains INCLUDE and EXCLUDE statements. 12. Modify the INCLUDE statement to specify your user ID in the INCLUDE column and 0191 in the VDEV column. This will include only your 191 disk (or A-disk) in the backup job. File your changes. 13. Submit your job for review SMSG BKRBKUP REVIEW <job template filename> Notice the messages you receive. Correct any errors. Copyright IBM Corp. 2008, 2014 Page 8 March 2014

14. You should also receive at least one file from BKRBKUP: the resolved job template. Use the RDRLIST command and the PEEK function key to review the resolved job. 15. Find the Job_Header section and verify that you have only the following statement: DUMPDYN <userid> 0191 $$DRIVER$$ If you do not see this statement, return to step 3 and correct any errors. 16. Submit your job for backup: SMSG BKRBKUP SUBMIT <job template filename> Notice you receive the same messages as you received in Step 6, plus additional information about which worker the job has been sent to. 17. Using Operations Manager, view the console of that worker to see your job being processed: VIEWCON BKRWRKnn Keep in mind that the job may complete quickly and others in the class are also submitting jobs. You can use the reverse find (\) when viewing the console to find your user ID. Exit the console using F3. 18. Using Operations Manager, view the console of the catalog server to verify your backup data has been cataloged. VIEWCON BKRCATLG You can search for messages like the following: BKRBUI9047I --- Owner - VDEV: <userid> - 0191 Exit the console using F3. 19. Using the BKRUSER command, find your data that has just been backed up. 20. Choose a file and request a restore of the file to your reader. Verify the file in your reader. ********** End of Lab 3 ********** Copyright IBM Corp. 2008, 2014 Page 9 March 2014

Lab 4: Practice INCLUDE/EXCLUDE options In this exercise, you won t perform any actual backups. Instead, you ll practice specifying multiple INCLUDE/EXCLUDE statements to see how they affect each other. You will also specify various values for each of the available fields on the INCLUDE/EXCLUDE statements. You ll also specify multiple workers for the job to see how Backup Manager divides the job amongst the workers. You ll then use the REVIEW function to verify your results. To understand the various options on the INCLUDE/EXCLUDE statements, it s important to remember how wildcard characters work. Backup Manager supports the following z/vm wildcard characters: * means 0 to n characters % means one and only one character. You can use multiple of these to represent, for example, exactly 2 characters # means one and only one numeric character (0-9) @ means one and only one hex character (0-9, A-F, a-f) & means one and only one alphabetic character (A-Z, a-z) Steps for Lab 4: 1. XEDIT your job template: XEDIT <userid> TEMPLATE E 2. Find the specification for the number of workers: CONFIG BKR_JOB_WORKERS. Change the value to 2. 3. Find the Job_Header section that can contains INCLUDE and EXCLUDE statements. 4. Modify the INCLUDE and EXCLUDE statements to do any or all of the following. Note: To specify SFS and DASD volume information, uncomment and use the INCLUDE/EXCLUDE SFS and INCLUDE/EXCLUDE RDEVVOL statements instead of INCLUDE/EXCLUDE MINIDISK. Exclude all minidisks on the system Include all of MAINT s minidisks Include all users minidisks with a virtual address ending in 91 Exclude all minidisks that are 50 cylinders or more in size Exclude everything in the SFS filepools VMSYSU (note, use the EXCLUDE SFS Include everything in the SFS filepool VMSYSU owned by 5697J06B and 5697J10C (Operations Manager and Backup Manager configuration files) Include all DASD volumes with a volser that starts with TV Copyright IBM Corp. 2008, 2014 Page 10 March 2014

5. File your changes. 6. Submit your job for review: SMSG BKRBKUP REVIEW <job template filename> Notice the messages you receive. Correct any errors. 7. Use the RDRLIST command and the PEEK function key to review the resolved job templates. You ll have one file for each worker you specified. 8. Find the Job_Header section in the first file (the filename ends 00) and notice the DUMPDYN statements, based on your INCLUDE and EXCLUDE specifications. Remember, this will only list every other disk since you specified 2 workers. If you do not see these statements return to step 1 and correct any errors. 9. Find the Job_Header section in the second file (the filename ends 01) and notice the DUMPDYN statements for the remaining disks and SFS filespaces. If you do not see these statements return to step 1 and correct any errors. 10. As time permits, repeat the above steps specifying different options on your INCLUDE and EXCLUDE statements. You can also change the number of workers. ********** End of Lab 4 ********** Copyright IBM Corp. 2008, 2014 Page 11 March 2014