Backup Manager Overview 20090423

download Backup Manager Overview 20090423

of 64

Transcript of Backup Manager Overview 20090423

  • 8/2/2019 Backup Manager Overview 20090423

    1/64

    IBM Software

    2009 IBM Corporation

    Managing Backup and Recovery of z/VMand Linux on System z

    Backup and Restore Manager for z/VM

    Tracy Dean, [email protected]

    April 2009

  • 8/2/2019 Backup Manager Overview 20090423

    2/64

  • 8/2/2019 Backup Manager Overview 20090423

    3/64

    IBM Software

    2009 IBM Corporation3 Managing Backup and Recovery of z/VM and Linux on System z

    Backup Data and Media

    Backup andRestoreManager

    CMSminidisk

    FN1 FT1 FM1

    FN2 FT2 FM2

    FN3 FT3 FM3

    Shared FileSystem(SFS)

    DIRA/DIRB/FN1 FT1

    DIRA/DIRC/FN2 FT2

    DIRD/DIRE/FN3 FT3

    ECKD

    FBA

    VFB-512

    MDisk/Track

    MDisk/Track

    MDisk/Track

    CMSminidisk

    (disk pool)

    Tape

    TwinTapes

    DDRTape

  • 8/2/2019 Backup Manager Overview 20090423

    4/64

    IBM Software

    2009 IBM Corporation4 Managing Backup and Recovery of z/VM and Linux on System z

    Restore Data and Media

    Backup andRestoreManager

    Tape

    CMS

    minidisk

    CMSminidisk

    Share FileSystem(SFS)

    ECKD

    FBA

    VFB-512

    FN2 FT2 FM2

    FN3 FT3 FM3

    DIRA/DIRB/FN1 FT1

    DIRA/DIRC/FN2 FT2

    MDisk/Track

    MDisk/Track

    MDisk/Track

    Spool/reader

    FN1 FT1 FM1

    FN2 FT2 FM2

  • 8/2/2019 Backup Manager Overview 20090423

    5/64

    IBM Software

    2009 IBM Corporation5 Managing Backup and Recovery of z/VM and Linux on System z

    Backup and Restore Manager and Linux Guests

    Using Backup and Restore Manager with Tivoli Storage Manager

    z/VMBackup and Restore

    Manager

    Other guest Other guest

    FBA or ECKDDASD

    TSM

    Server

    TSMClient

    CMS minidiskand SFS files

    dirA/file1.ext

    dirB/file2.ext

    dirC/file3.ext

    FN FT FM

    FN FT FM

    FN FT FM

    Linux

    Choose the solution that meets your needs or combine for file recovery and DR

  • 8/2/2019 Backup Manager Overview 20090423

    6/64

    IBM Software

    2009 IBM Corporation6 Managing Backup and Recovery of z/VM and Linux on System z

    Key Benefits

    System backups available for Disaster Recovery

    Option to restore using DDR or Backup and Restore Manager

    Manage retention of DR backups

    Retrieve a list of tapes associated with a specific backup

    Pull list for movement to off-site storage

    Guest backups available for restoring to a previous state orlevel

    Backups of user data available for

    Restoring to a previous state or level

    Replacing files accidentally erased or corrupted

    Users restore their own data

    No administrator interaction required

  • 8/2/2019 Backup Manager Overview 20090423

    7/64

    IBM Software

    2009 IBM Corporation7 Managing Backup and Recovery of z/VM and Linux on System z

    Key Benefits Cont

    Flexible selection of data to back up

    Include/exclude

    Minidisks, directories Real device addresses or volsers Extents

    Mask by filename, filetype, or SFS path

    Review a defined backup job before submission

    Management of backup data Retention set as part of the backup job

    Automatic aging and pruning of the backup catalog

    Including associated tapes and disk pools

    View/query the list of expired backups Reduced backup window with concurrent processing

    Multiple worker service machines sharing the job

    Suggest one worker service machine for each available tape drive

  • 8/2/2019 Backup Manager Overview 20090423

    8/64

    IBM Software

    2009 IBM Corporation8 Managing Backup and Recovery of z/VM and Linux on System z

    Defining a Backup Job

    /* Include/Exclude definitions */

    /********************************************************************/

    FUNCTION MEDIATYPE OWNER VDEV VOLUME DEVTYPE START END SIZE

    |----------|----------|--------|--|----|------|--------|--|----------|--|----------|--|-------|

    INCLUDE MINIDISK * = * * * = * = * = *

    EXCLUDE MINIDISK *LNX* = * * * = * = * = *EXCLUDE MINIDISK MAINT = 0123 * * = * = * = *

    EXCLUDE MINIDISK MAINT = 0124 * * = * = * = *

    EXCLUDE MINIDISK * = * * * = * = END = *

    EXCLUDE MINIDISK * = * * * = * = * > 3300

    INCLUDE MINIDISK MAINT = 012* * * = * = * = *

    *SELECT MINIDISK MAINT 0123 0-0,1-20,391.45,436-480,3230.4,3238-end

    *SELECT MINIDISK MAINT 0124 0-End

    FUNCTION MEDIATYPE ADDRESS

    |----------|----------|---------|

    INCLUDE RDEVICE A0*

    INCLUDE RDEVICE 900-90F

    FUNCTION MEDIATYPE VOLSER|----------|----------|------|

    INCLUDE RDEVVOL 530*

    FUNCTION MEDIATYPE POOLNAME OWNER FS

    |----------|----------|--------|--------|---|

    INCLUDE SFS VMSYSU: * SFS

    EXCLUDE SFS VMSYSU: VMSERVU SFS

  • 8/2/2019 Backup Manager Overview 20090423

    9/64

    IBM Software

    2009 IBM Corporation9 Managing Backup and Recovery of z/VM and Linux on System z

    Backup and Restore Manager Service Machines

    z/VM

    Main Server(BKRBKUP)

    Verifies configurationinformation

    Processes job templates(review and submit)

    Assigns backup and restoretasks to workers

    AUTOLOGs workers asneeded

    Authorized Users

    Request backups

    Request restores

    Find data in the catalog

    Worker(BKRWRKnn)

    Performs backup and restoretasks

    Sends catalog data to catalog

    server Retrieves catalog data from

    catalog server

    Catalog Server

    (BKRCATLG)

    Creates catalogentries in SFS

    Provides catalog datawhen requested

    SFS Server(BKRSVSFS)

  • 8/2/2019 Backup Manager Overview 20090423

    10/64

    IBM Software

    2009 IBM Corporation10 Managing Backup and Recovery of z/VM and Linux on System z

    Summary

    Use Backup and Restore Manager to

    Perform file-level backups of z/VM dataPerform image level backups on non-z/VM guest data

    Perform disaster recovery backups of entire system

    Easily find and restore data as neededManage retention of backup data

  • 8/2/2019 Backup Manager Overview 20090423

    11/64

    IBM Software

    2009 IBM Corporation

    Backup and Recovery ScenariosIncluding Automation

  • 8/2/2019 Backup Manager Overview 20090423

    12/64

    IBM Software

    2009 IBM Corporation12 Managing Backup and Recovery of z/VM and Linux on System z

    Scenario 8:

    Performing an Incremental Backup

    Administrator previously performed a full backup

    Incremental job defined, using last full backup asits base

    Change a file on users A-disk

    Submit incremental job for review

    Submit incremental job for backup processing

    Use Operations Manager to monitor backupservers

  • 8/2/2019 Backup Manager Overview 20090423

    13/64

    IBM Software

    2009 IBM Corporation13 Managing Backup and Recovery of z/VM and Linux on System z

    Scenario 8: Detailed steps

    From a z/VM user ID, change a filexedit b b a

    From an authorized z/VM user ID, submit a backupjob for review

    smsg bkrbkup review increm01

    Review the resulting files in the reader (LINKFAIL

    and JOB files)

    From an authorized z/VM user ID, submit a backupjob for backup processing

    smsg bkrbkup submit increm01

    View the console of the backup servers to seethe processing

    gomcmd opmgrm1 viewcon user(backup)

  • 8/2/2019 Backup Manager Overview 20090423

    14/64

    IBM Software

    2009 IBM Corporation14 Managing Backup and Recovery of z/VM and Linux on System z

  • 8/2/2019 Backup Manager Overview 20090423

    15/64

    IBM Software

    2009 IBM Corporation15 Managing Backup and Recovery of z/VM and Linux on System z

  • 8/2/2019 Backup Manager Overview 20090423

    16/64

    IBM Software

    2009 IBM Corporation16 Managing Backup and Recovery of z/VM and Linux on System z

  • 8/2/2019 Backup Manager Overview 20090423

    17/64

    IBM Software

    2009 IBM Corporation17 Managing Backup and Recovery of z/VM and Linux on System z

  • 8/2/2019 Backup Manager Overview 20090423

    18/64

    IBM Software

    2009 IBM Corporation18 Managing Backup and Recovery of z/VM and Linux on System z

  • 8/2/2019 Backup Manager Overview 20090423

    19/64

    IBM Software

    2009 IBM Corporation19 Managing Backup and Recovery of z/VM and Linux on System z

  • 8/2/2019 Backup Manager Overview 20090423

    20/64

    IBM Software

    2009 IBM Corporation20 Managing Backup and Recovery of z/VM and Linux on System z

  • 8/2/2019 Backup Manager Overview 20090423

    21/64

    IBM Software

    2009 IBM Corporation21 Managing Backup and Recovery of z/VM and Linux on System z

  • 8/2/2019 Backup Manager Overview 20090423

    22/64

    IBM Software

    2009 IBM Corporation22 Managing Backup and Recovery of z/VM and Linux on System z

  • 8/2/2019 Backup Manager Overview 20090423

    23/64

    IBM Software

    2009 IBM Corporation23 Managing Backup and Recovery of z/VM and Linux on System z

  • 8/2/2019 Backup Manager Overview 20090423

    24/64

    IBM Software

    2009 IBM Corporation24 Managing Backup and Recovery of z/VM and Linux on System z

  • 8/2/2019 Backup Manager Overview 20090423

    25/64

    IBM Software

    2009 IBM Corporation25 Managing Backup and Recovery of z/VM and Linux on System z

    Scenario 9:

    Restoring Files from Backup

    Full and incremental backups performed previously

    User accidentally erases or corrupts a file

    User restores the file from backup

    Full screen interface to see all files available in backup

    Including multiple versions of the same file

    Filters and sorting available to easily find the needed file

    Request restore directly to disk or to reader

    No administrator intervention required

  • 8/2/2019 Backup Manager Overview 20090423

    26/64

    IBM Software

    2009 IBM Corporation26 Managing Backup and Recovery of z/VM and Linux on System z

    Scenario 9: Detailed steps

    From a z/VM user ID, view all catalog data you ownbkrlist

    Use the filters to find the file you want to restore

    Put the cursor on the file and hit F10

    Specify the user ID to whom the file should be sent

    and hit F10 Look at the reader of that user ID to see the restored

    file and a copy of the console during the restoreprocessing

    rdrlist

    View the contents of the file to verify its thecorrect version

    peek

  • 8/2/2019 Backup Manager Overview 20090423

    27/64

    IBM Software

    2009 IBM Corporation27 Managing Backup and Recovery of z/VM and Linux on System z

  • 8/2/2019 Backup Manager Overview 20090423

    28/64

    IBM Software

    2009 IBM Corporation28 Managing Backup and Recovery of z/VM and Linux on System z

  • 8/2/2019 Backup Manager Overview 20090423

    29/64

    IBM Software

    2009 IBM Corporation29 Managing Backup and Recovery of z/VM and Linux on System z

  • 8/2/2019 Backup Manager Overview 20090423

    30/64

    IBM Software

    2009 IBM Corporation30 Managing Backup and Recovery of z/VM and Linux on System z

  • 8/2/2019 Backup Manager Overview 20090423

    31/64

    IBM Software

    2009 IBM Corporation31 Managing Backup and Recovery of z/VM and Linux on System z

  • 8/2/2019 Backup Manager Overview 20090423

    32/64

    IBM Software

    2009 IBM Corporation32 Managing Backup and Recovery of z/VM and Linux on System z

    IBM S ft

  • 8/2/2019 Backup Manager Overview 20090423

    33/64

    IBM Software

    2009 IBM Corporation33 Managing Backup and Recovery of z/VM and Linux on System z

    Scenario 10:

    Scheduling Image Backups of Linux Guests

    Initiated or scheduled by Operations Manager

    Schedule defined in Operations Manager to initiate

    backups at specific times/intervals May include multiple schedules to allow quiescing/backing up

    one guest at a time

    Action associated with each schedule

    Linux guest is shut down

    Operations Manager watches for shutdown complete

    Sends request to Backup and Restore Manager to back upthe specific DASD/minidisks associated with the guest

    Operations Manager watches for backup complete message Restarts Linux guest

    Guest is down for minimum time required for backup

    IBM Soft are

  • 8/2/2019 Backup Manager Overview 20090423

    34/64

    IBM Software

    2009 IBM Corporation34 Managing Backup and Recovery of z/VM and Linux on System z

    Scenario 10: Detailed steps Define a schedule to start the automated backup processgomcmd opmgrm1 defschd name(demo),action(stoplnx),when(now)

    View the Operations Manager log to see the schedule trigger

    gomcmd opmgrm1 viewlog

    View the console of the Linux guest to see it shut downgomcmd opmgrm1 viewcon user name(omeglnx1)

    View the console of the backup server to see the backup startgomcmd opmgrm1 viewcon user name(bkrbkup)

    Find the worker that has been assigned and view its consolegomcmd opmgrm1 viewcon user name(bkrwrkxx)

    View the console of the Linux guest to see it restartgomcmd opmgrm1 viewcon user name(omeglnx1)

    View the backup catalog to see the completed jobbkrjob

    IBM Software

  • 8/2/2019 Backup Manager Overview 20090423

    35/64

    IBM Software

    2009 IBM Corporation35 Managing Backup and Recovery of z/VM and Linux on System z

    IBM Software

  • 8/2/2019 Backup Manager Overview 20090423

    36/64

    IBM Software

    2009 IBM Corporation36 Managing Backup and Recovery of z/VM and Linux on System z

    IBM Software

  • 8/2/2019 Backup Manager Overview 20090423

    37/64

    IBM Software

    2009 IBM Corporation37 Managing Backup and Recovery of z/VM and Linux on System z

    IBM Software

  • 8/2/2019 Backup Manager Overview 20090423

    38/64

    IBM Software

    2009 IBM Corporation38 Managing Backup and Recovery of z/VM and Linux on System z

    IBM Software

  • 8/2/2019 Backup Manager Overview 20090423

    39/64

    So t a e

    2009 IBM Corporation39 Managing Backup and Recovery of z/VM and Linux on System z

    IBM Software

  • 8/2/2019 Backup Manager Overview 20090423

    40/64

    2009 IBM Corporation40 Managing Backup and Recovery of z/VM and Linux on System z

    IBM Software

  • 8/2/2019 Backup Manager Overview 20090423

    41/64

    2009 IBM Corporation41 Managing Backup and Recovery of z/VM and Linux on System z

    IBM Software

  • 8/2/2019 Backup Manager Overview 20090423

    42/64

    2009 IBM Corporation42 Managing Backup and Recovery of z/VM and Linux on System z

    Scenario 10: How Do You Do That?

    Console rule in Operations Manager:

    *

    * Watch for shutdown complete message on Linux guest

    DEFRULE NAME(LNXDOWN),+

    MATCH(*HCPSIG211%I User OMEGLNX1*),+

    ACTION(LNXBKUP)

    * Turn off the rule in general

    SUSPEND RULE(LNXDOWN)

    IBM Software

  • 8/2/2019 Backup Manager Overview 20090423

    43/64

    2009 IBM Corporation43 Managing Backup and Recovery of z/VM and Linux on System z

    Scenario 10: How Do You Do That?Chain of actions in Operations Manager, triggered by schedule*

    * Start of guest backup scenario, resume rule for guest shutdown msg

    DEFACTN NAME(STOPLNX),+

    COMMAND('RESUME RULE(LNXDOWN)'),+

    ENV(GOM),+

    NEXTACTN(STOPLNXA)

    *

    * Change SECUSER to Operations Manager before shutting it downDEFACTN NAME(STOPLNXA),+

    COMMAND(CP SET SECUSER OMEGLNX1 OPMGRM1),+

    ENV(LVM),+

    NEXTACTN(STOPLNXB)

    *

    * Action to shut down Linux guest in prep for backup

    DEFACTN NAME(STOPLNXB),+

    COMMAND(CP SIGNAL SHUTDOWN OMEGLNX1 WITHIN 90),+

    ENV(LVM)

    IBM Software

  • 8/2/2019 Backup Manager Overview 20090423

    44/64

    2009 IBM Corporation44 Managing Backup and Recovery of z/VM and Linux on System z

    Scenario 10: How Do You Do That?Chain of actions and rules in Operations Manager:* Highlight message and submit backup job for a specific Linux guest

    DEFACTN NAME(LNXBKUP),+

    INPUT(AHI),+NEXTACTN(LNXBKUPB)

    *

    DEFACTN NAME(LNXBKUPB),+

    COMMAND(CP SMSG BKRBKUP SUBMIT BKUPLNX1),+

    ENV(LVM)

    ** Define all Backup Manager workers as a group

    DEFGROUP NAME(BKRWRKRS),+

    USER(BKRWRK0*)

    *

    * Restart Linux guest when Backup is complete

    DEFRULE NAME(BKUPDONE),+

    MATCH(*BACKUP COMPLETE - OMEGLNX1*),+

    GROUP(BKRWRKRS),+

    ACTION(STRTLNX)

    IBM Software

  • 8/2/2019 Backup Manager Overview 20090423

    45/64

    2009 IBM Corporation45 Managing Backup and Recovery of z/VM and Linux on System z

    Scenario 10: How Do You Do That?Suspend rule in Operations Manager (dont back up the guest everytime it is shut down)

    * Suspend rule for backing up Linux guest

    DEFACTN NAME(DELBKUP),+

    COMMAND(SUSPEND RULE(LNXDOWN)),+

    ENV(GOM)

    IBM Software

  • 8/2/2019 Backup Manager Overview 20090423

    46/64

    2009 IBM Corporation46 Managing Backup and Recovery of z/VM and Linux on System z

    Scenario 11:

    Reviewing a Disaster Recovery Backup

    Create a backup job based on sample provided

    Perform image backup of DASD volumes forDisaster Recovery (DR) purposes

    Can include z/VM and Linux guests

    Output of backup is a DDR tape

    Compatible with DDR for restore at recovery site

    Submit DR job for review

    Review output of review processing

    IBM Software

  • 8/2/2019 Backup Manager Overview 20090423

    47/64

    2009 IBM Corporation47 Managing Backup and Recovery of z/VM and Linux on System z

    Scenario 11: Detailed steps From an authorized z/VM user ID, copy the sample DDR

    template from the sample disk to a new backup job

    Edit the new job and make necessary changes

    xedit ddrdemo template c

    If not using SFS for templates disk, tell Backup Manager toreaccess the disk

    smsg bkrbkup cms acc 199 e/e

    From an authorized z/VM user ID, submit the backup job forreview processing

    smsg bkrbkup review ddrdemo

    View the file(s) returned to you by Backup Managerpeek

    IBM Software

  • 8/2/2019 Backup Manager Overview 20090423

    48/64

    2009 IBM Corporation48 Managing Backup and Recovery of z/VM and Linux on System z

    IBM Software

  • 8/2/2019 Backup Manager Overview 20090423

    49/64

    2009 IBM Corporation49 Managing Backup and Recovery of z/VM and Linux on System z

    IBM Software

  • 8/2/2019 Backup Manager Overview 20090423

    50/64

    2009 IBM Corporation50 Managing Backup and Recovery of z/VM and Linux on System z

    IBM Software

  • 8/2/2019 Backup Manager Overview 20090423

    51/64

    2009 IBM Corporation51 Managing Backup and Recovery of z/VM and Linux on System z

    IBM Software

  • 8/2/2019 Backup Manager Overview 20090423

    52/64

    2009 IBM Corporation52 Managing Backup and Recovery of z/VM and Linux on System z

    IBM Software

  • 8/2/2019 Backup Manager Overview 20090423

    53/64

    2009 IBM Corporation53 Managing Backup and Recovery of z/VM and Linux on System z

    IBM Software

  • 8/2/2019 Backup Manager Overview 20090423

    54/64

    2009 IBM Corporation54 Managing Backup and Recovery of z/VM and Linux on System z

    IBM Software

    Scenario 12:

  • 8/2/2019 Backup Manager Overview 20090423

    55/64

    2009 IBM Corporation55 Managing Backup and Recovery of z/VM and Linux on System z

    Scenario 12:

    Reviewing data in the Backup catalog for recovery

    Various backup jobs have previously been submitted and completed

    Full screen interfaces available for searching the backup catalog andfinding data available for recovery

    BKRLIST

    Useful when looking for a specific file or set of files owned by a specific user ID

    Users with ADMIN authority beware of size Use parameters to narrow the search

    BKRUSER Useful when looking for backup jobs associated with a specific user ID

    BKRJOB

    Useful when looking for backup jobs by job name

    BKRVOL

    Useful when looking for backup jobs associated with a specific DASD volume

    IBM Software

  • 8/2/2019 Backup Manager Overview 20090423

    56/64

    2009 IBM Corporation56 Managing Backup and Recovery of z/VM and Linux on System z

    Scenario 12: Detailed steps

    From an authorized z/VM user ID, issue one of thefollowing commands to browse the catalog

    bkrlist

    bkruser

    bkrjob

    bkrvol

    Use F11 to drill down through details

    Use F10 to restore data

    IBM Software

  • 8/2/2019 Backup Manager Overview 20090423

    57/64

    2009 IBM Corporation57 Managing Backup and Recovery of z/VM and Linux on System z

    IBM Software

  • 8/2/2019 Backup Manager Overview 20090423

    58/64

    2009 IBM Corporation58 Managing Backup and Recovery of z/VM and Linux on System z

    IBM Software

  • 8/2/2019 Backup Manager Overview 20090423

    59/64

    2009 IBM Corporation59 Managing Backup and Recovery of z/VM and Linux on System z

    IBM Software

  • 8/2/2019 Backup Manager Overview 20090423

    60/64

    2009 IBM Corporation60 Managing Backup and Recovery of z/VM and Linux on System z

    IBM Software

  • 8/2/2019 Backup Manager Overview 20090423

    61/64

    2009 IBM Corporation61 Managing Backup and Recovery of z/VM and Linux on System z

    IBM Software

  • 8/2/2019 Backup Manager Overview 20090423

    62/64

    2009 IBM Corporation62 Managing Backup and Recovery of z/VM and Linux on System z

  • 8/2/2019 Backup Manager Overview 20090423

    63/64

    IBM Software

  • 8/2/2019 Backup Manager Overview 20090423

    64/64

    2009 IBM Corporation64 Managing Backup and Recovery of z/VM and Linux on System z

    Thank You

    MerciGrazie

    Gracias

    Obrigado

    Danke

    Japanese

    English

    French

    Russian

    German

    Italian

    Spanish

    Brazilian Portuguese

    Arabic

    Traditional Chinese

    Simplified Chinese

    Tamil

    Thai

    KoreanHindi