Windows Automated System Recovery (ASR) with IBM Tivoli Storage Manager Overview - PowerPoint PPT Presentation

1 / 49
About This Presentation
Title:

Windows Automated System Recovery (ASR) with IBM Tivoli Storage Manager Overview

Description:

Windows Automated System Recovery (ASR) with IBM Tivoli Storage Manager Overview What is ASR? Feature of Windows XP and Windows 2003 that provides a bare metal ... – PowerPoint PPT presentation

Number of Views:158
Avg rating:3.0/5.0
Slides: 50
Provided by: TiviliSy
Category:

less

Transcript and Presenter's Notes

Title: Windows Automated System Recovery (ASR) with IBM Tivoli Storage Manager Overview


1
Windows Automated System Recovery (ASR) with IBM
Tivoli Storage Manager Overview
2
What is ASR?
  • Feature of Windows XP and Windows 2003 that
    provides a bare metal restore framework for
    backup vendors to exploit
  • TSM interfaces with ASR to provide a method to
    recover from a catastrophic system or hardware
    failure. It should be used only after all other
    repair options have been exhausted.
  • The Goal of an ASR restore is to recover the boot
    system drives plus system state, not
    application and user data

3
What software do I need?
  • Recovering a Windows XP SP1 system requires a
    Windows XP SP1 integrated (slipstream)
    installation CD.
  • The TSM client installation package used on the
    TSMCLI CD you create for ASR recovery must be at
    the same or higher level than the level of client
    used to create the backups for the system being
    recovered.
  • ASR requires a TSM v5.2.0 or newer client.
  • Additionally ASR for Windows 2003 requires a
    v5.2.0 or newer TSM server.

4
What are the hardware restrictions of ASR?
  • Target system must be identical to that of the
    original system, with the exceptions of the hard
    disks, video cards, and network interface cards.
  • Target system must have the same number of disks
    as the original system.
  • The size of each disk on the target system must
    be greater than or equal to the size of the
    corresponding disk on the original system.
  • All disks must have 512 byte sectors.
  • All disks (and only such disks) that are
    available to ASR on which to perform a recovery
    must be accessible.
  • The ASR files must be accessible from a local
    floppy drive.
  • The floppy and CD-ROM drives cannot be external
    PC-card drives.
  • The original system must be an x86 or an Itanium
    machine.
  • All basic volumes in the original system must be
    simple. Non-simple volumes are not supported. If
    a volume is mirrored, it must be a dynamic
    volume, not a basic volume

5
Preparing for ASR overview
  • Materials required for ASR
  • Bootable operating system CD-ROM
  • User-created TSM client installation CD-ROM
  • TSM-created ASR recovery diskette
  • Incremental backup of system and boot drives
  • Backup of system state
  • Optional Local TSM backupsets containing
  • System and boot drives
  • System state
  • Note For successful backup and recovery of user
    profiles on Windows 2003 you must use the
    procedure described in DCF 1176642 TSM backup
    and restore of NTUSER.DAT in a Windows 2003
    environment.
  • TSM node password for machine being recovered

6
Preparing for ASR backup ASR files
  • Select Backup from the main GUI screen
  • Select Automated System Recovery entry in the
    tree and press backup
  • Command line
  • DSMC BACKUP ASR

7
Preparing for ASR create diskette
  • Select Create ASR Diskette from Utilities menu
  • Insert diskette into specified drive and press
    finish
  • Command line
  • LABEL A TSMASR
  • DSMC RESTORE ASR A\

8
Preparing for ASR verification
  • Make sure you backup ASR files before trying to
    create diskette
  • Can use VIRTUALNODENAME to create a diskette for
    another machine (provided the ASR files have
    previously been backed up)
  • Must BACKUP ASR prior to performing system boot
    drive incremental used for ASR recovery.
  • Insure NLDLL.ASR and SMSS.ASR backed up
  • QUERY BACKUP C\WINDOWS\REPAIR\.ASR

9
Including 2003 User Profiles in the ASR Process
10
Preparing for ASR 2003
  • Edit the file TSMASR.CMD on the floppy disk
    created in the prior step. Place the two commands
    NTBACKUP and PAUSE following the dsmc restore
    systemservices line similar to the following
    example
  • NETWORK
  • dsmc restore \\TSMWIN2K3\C\ C\ -subdiryes
    -preservepathcomplete -replaceall
    -tapepromptno -nodenameNTBACKUP
    -optfiletsmasr.opt
  • dsmc restore systemstate -asrmodeyes
    -nodenameNTBACKUP -computernameTSMWIN2K3
    -optfiletsmasr.opt
  • dsmc restore systemservices -asrmodeyes
    -nodenameNTBACKUP -computernameTSMWIN2K3
    -optfiletsmasr.opt
  • NTBACKUP
  • PAUSE

11
Preparing for ASR - 2003
  • Remove Passwordaccess generate from the
    tsmasr.opt file on the floppy if it exists
  • Use Ntbackup.exe to backup the windows user
    profiles to local file storage. We will then use
    TSM to back up this file
  • i. Create a script which lists all the instances
    of ntuser.dat and ntuserclass.dat into an
    ntbackup.exe
  • ii. execute the script
  • iii.Backup the ntbackup file created
  • iv.Ensure the file was backed up
  • DSMC Query Backup

12
End of 2003 User Profiles Additional Steps
13
Preparing for ASR back up system boot drives
  • Perform complete incremental backup of system and
    boot drives
  • System drive is partition containing ntldr and
    boot.ini
  • Boot drive is partition containing Windows system
    directory
  • Select drives from GUI backup screen and press
    backup
  • Command line
  • DSMC INCREMENTAL C

14
Preparing for ASR back up system state
  • GUI
  • Select entries from GUI backup screen and press
    backup
  • Command line
  • XP
  • DSMC BACKUP SYSTEMOBJECT
  • 2003
  • DSMC BACKUP SYSTEMSTATE
  • DSMC BACKUP SYSTEMSERVICES
  • Verification
  • XP
  • DSMC QUERY BACKUP SYSTEMOBJECT
  • 2003 (can use showmemberyes)
  • DSMC QUERY SYSTEMSTATE
  • DSMC QUERY SYSTEMSERVICES

15
Preparing for ASR TSM CD-ROM
  • User must create a TSM client installation CD
    using package-for-the-web (PTF) package
  • Download the TSM client package from IBM FTP
    server
  • Rename the package to TSMCLI.EXE. From a command
    prompt issue
  • RENAME IPxxxxx.EXE TSMCLI.EXE
  • Using the method described by your CD-ROM burning
    software, specify the volume label to be TSMCLI.
  • Insure the TSMCLI.EXE file path is designated as
    the root directory (\) in your CD-ROM burning
    software.
  • Burn the CD using the method described by your
    CD-ROM burning software.

16
Preparing for ASR connectivity
  • Network connection supporting DHCP is required
    for ASR recovery from TSM server storage
  • Alternatively can use local backup sets
  • For best performance generate separate backupsets
    for system state/services and system/boot drives

17
Recovering Windows 2003
  • Insert the operating system CD into the CD drive.
  • Restart the computer. Press the appropriate key
    to boot from CD. Note you may need to configure
    your computer BIOS to enable boot from CD.
  • Press F6 if you need to install any third party
    SCSI or RAID drivers

18
Recovering Windows 2003
  • Press F2 to enter ASR recovery mode during text
    mode section of Setup

19
Recovering Windows 2003
  • Insert the TSMASR diskette into the floppy drive
    when prompted for the Windows ASR recovery
    diskette

20
Recovering Windows 2003
  • Windows reformats the boot volume and may
    reformat other partitions on the disk if
    partition layout is different than the original
    system. This partitioning and format process may
    cause several reboots

21
Recovering Windows 2003
  • Setup copies files
  • Setup initializes for text mode

22
Recovering Windows 2003
  • Insert the TSMCLI CD into the CD drive when
    prompted.
  • The TSM client package (TSMCLI.EXE) is copied to
    the SystemRoot\temp directory
  • Insert the TSMASR diskette again into the floppy
    when prompted. The tsmasr.opt, tsmasr.cmd, and
    waitforevent.exe files are copied to the
    SystemRoot\temp directory.

23
Recovering Windows 2003
  • Remove the diskette when prompted prior to system
    reboot
  • Insert Operating System CD into the drive prior
    to reboot.

24
Recovering Windows 2003
  • After setup completes a command window is opened
    and the tsmasr.cmd file is run in this window.
  • The TSM client is silently installed.
  • You are prompted whether you want to restore from
    a network connected TSM server (press 1) or a
    local backup set (press 2)

25
Recovering Windows 2003
  • Next TSM prompts for your ID and password if you
    are restoring from the TSM server. If restoring
    from local backup set you are prompted for the
    path to the local backup set volumes
  • TSM commands are issued to restore the system
    drive.
  • TSM commands are issued to restore system state
    and system services on Windows 2003. When this
    command completes a message Press any key to
    continue will appear. Do Not
  • Press any key to continue at this point.

26
Recovering Windows 2003
  • The Ntbackup interface will launch at this point.
    Click on the Advanced Mode link and select
    next
  • Select the Restore Wizard button then select
    next
  • Select c\ntbackup.bkf which contains the user
    profile and select next.
  • Specify Retore files to Original location
  • On the How to Restore Wizard dialog, select
    Replace existing files then select next.
  • Leave all three default options selected on the
    Advanced Restore options, select next.
  • Select finish on the completing the Restore
    Wizard dialog

27
Recovering Windows 2003
  • When the restore completes, close the NTbackup
    application
  • From the command window that says Press any key
    to continue Press a key to allow ASR to proceed
  • The command file will exit, the machine will
    reboot. Remove the ASR diskette
  • The OS will come up in a fully recovered state.

28
Recovering Windows 2003
  • The operating system comes up in fully recovered
    state.
  • Recovery of user data and applications can now be
    performed using traditional TSM restore
    facilities

29
Known Issues/ Restrictions
  • If the Backup ASR command is not run prior to the
    full incremental, the ASR restore will fail.
  • ASR can not be used to perform a restore on an
    authoritative primary domain in Windows 2003.
    This is a Microsoft Restriction- Article ID
    836421
  • ASR is not always successful on a restore to a
    new drive of the same size. Please see DCF
    1193072
  • Error "Setup was unable to format the drive"
    During Restore. See DCF 1193064 or Microsoft
    Article 817708
  • To do Network Restore, machine must be DHCP
    enabled. Please see DCF 1182116

30
TSM Commands for ASR
  • gtgt-BACKup ASR-----------------gtlt
  • '- options-'
  • Generates ASR files (asr.sif, asrpnp.sif,
    tsmasr.opt, tsmasr.cmd, waitforevent.exe) in the
    adsm.sys\ASR staging directory and backs them up
    to the ASR filespace on the server.
  • gtgt-REStore ASR---destinationfilespec------------
    -----gtlt

  • '- options-'
  • Restores ASR files to the specified location. By
    default files are restored to adsm.sys\ASR
    staging directory. An ASR recovery diskette is
    created by specifying the diskette drive as the
    restore location or by copying the files from the
    adsm.sys\ASR staging directory to a diskette.

31
TSM Options for ASR
  • .-No--.
  • gtgt-ASRMODE-------------------------------------
    ----gtlt
  • '-Yes-'
  • indicates that a restore is being performed in
    system ASR recovery mode. This option is used in
    the context of restore commands generated in the
    tsmasr.cmd file by the BACKUP ASR command only.
    It should not be used outside the context of ASR
    recovery mode.
  • gtgt-COMPUTERNAME- -----ltcomputernamegt-----gtlt
  • specifies the name of the computer for which
    system state recovery is being performed ASR
    mode. This option is used in the context of
    restore commands generated in the tsmasr.cmd file
    by the BACKUP ASR command only. It should not be
    used outside the context of ASR recovery mode.

32
Reference information
  • Tivoli Field Guide
  • Using Microsoft Windows Automated System Recovery
    (ASR) to Recover Windows XP and Windows 2003
    Systems with the IBM Tivoli Storage Manager
    Backup-Archive Client for Windows
  • http//www-3.ibm.com/software/sysmgmt/products/sup
    port/Field_Guides_Technical.html
  • Microsoft Knowledge Base articles
  • 299044 How to Install Additional Files During
    Automated System Recovery
  • 314058 Description of the Windows XP Recovery
    Console
  • 314470 Definition of System Partition and Boot
    Partition
  • 314686 ASR Cannot Restore System Disk to
    Replacement Disk of Identical Size
  • 314688 A Logical Disk Manager ASR Utility
    Error Message When You Use ASR to Restore Disks
    That Are in a RAID Set
  • 316484 The Files for the Recovery Diskette
    Could Not Be Created Error Message Occurs When
    You Use Ntbackup for Automated System Recovery

33
Reference information (continued)
  • Creating Windows XP SP1 slipstream CD
  • http//www.microsoft.com/WindowsXP/pro/downloads/s
    ervicepacks/sp1/spdeploy.aspthe_integrated_instal
    lation_fmay
  • http//www.windows-help.net/WindowsXP/winxp-sp1-bo
    otcd.html.
  • IBM Redbooks
  • Disaster Recovery Strategies with Tivoli Storage
    Management - SG-24-6844
  • http//www.redbooks.ibm.com/abstracts/sg246844.htm
    l
  • Windows NT Backup and Recovery with ADSM
    SG-24-2231
  • http//www.redbooks.ibm.com/abstracts/sg242231.htm
    l
  • ADSM Client Disaster Recovery - Bare Metal
    SG-24-4880
  • http//www.redbooks.ibm.com/abstracts/sg244880.htm
    l
  • Deploying the Tivoli Storage Manager Client in a
    Windows 2000 Environment SG-24-6141
  • http//www.redbooks.ibm.com/abstracts/sg246141.htm
    l

34
Questions and Answers
35
Recovering Windows XP
36
Recovering Windows XP
  • Insert the operating system CD into the CD drive.
  • Restart the computer. Press the appropriate key
    to boot from CD. Note you may need to configure
    your computer BIOS to enable boot from CD.
  • Press F6 if you need to install any third party
    SCSI or RAID drivers.

37
Recovering Windows XP
  • Press F2 to enter ASR recovery mode during text
    mode section of Setup.

38
Recovering Windows XP
  • Windows setup loads device support files

39
Recovering Windows XP
  • Insert the TSMASR diskette into the floppy drive
    when prompted for the Windows ASR recovery
    diskette
  • Windows reformats the boot volume and may
    reformat other partitions on the disk if
    partition layout is different than the original
    system.
  • This partitioning and format process may cause
    several reboots

40
Recovering Windows XP
  • Windows creates a list of files to copy
  • Windows text-mode setup begins

41
Recovering Windows XP
  • Insert the TSMCLI CD into the CD drive when
    prompted.
  • The TSM client package (TSMCLI.EXE) is copied to
    the SystemRoot\temp directory

42
Recovering Windows XP
  • Insert the TSMASR diskette again into the floppy
    when prompted.
  • The tsmasr.opt, tsmasr.cmd, and waitforevent.exe
    files are copied to the SystemRoot\temp
    directory

43
Recovering Windows XP
  • Remove the diskette when prompted prior to system
    reboot

44
Recovering Windows XP
  • The system reboots into Windows XP GUI-mode setup

45
Recovering Windows XP
  • Insert the operating system CD into the drive
    when prompted

46
Recovering Windows XP
  • After setup completes a command window is opened
    and the tsmasr.cmd file is run in this window
  • The TSM client is silently installed
  • You are prompted whether you want to restore from
    a network connected TSM server (press 1) or a
    local backup set (press 2)

47
Recovering Windows XP
  • Next TSM prompts for your ID and password if you
    are restoring from the TSM server.
  • If restoring from local backup set you are
    prompted for the path to the local backup set
    volumes

48
Recovering Windows XP
  • TSM commands are issued to restore the system
    drive
  • TSM commands are issued to system objects
  • The command file exits and the machine reboots.
  • Remove the TSMASR diskette from the drive.

49
Recovering Windows XP
  • Operating system comes up in fully recovered
    state
  • Recovery of user data and applications can now be
    performed using traditional TSM restore
    facilities.
Write a Comment
User Comments (0)
About PowerShow.com