SlideShare ist ein Scribd-Unternehmen logo
1 von 76
Downloaden Sie, um offline zu lesen
Front cover

IBM Tivoli Storage Manager:
Bare Machine Recovery for
Microsoft Windows 2003 and XP

Use built-in APIs provided by Windows
to protect your system

See how Windows ASR integrates
with ITSM

Learn how to configure your
system for recovery




                                                           Barry Kadleck
                                                         David McFarlane
                                                      Pracha Pechsuksan
                                                            Wah Han Tan




ibm.com/redbooks                          Redpaper
International Technical Support Organization

IBM Tivoli Storage Manager: Bare Machine Recovery
for Microsoft Windows 2003 and XP

October 2003
Note: Before using this information and the product it supports, read the information in “Notices” on page v.




First Edition (October 2003)

This edition applies to IBM Tivoli Storage Manager V5.2 and above.

 Note: This book is based on a pre-GA version of a product and may not apply when the product becomes
 generally available. We recommend that you consult the product documentation or follow-on versions of
 this redbook for more current information.


© Copyright International Business Machines Corporation 2003. All rights reserved.
Note to U.S. Government Users Restricted Rights -- Use, duplication or disclosure restricted by GSA ADP Schedule
Contract with IBM Corp.
Contents

                 Notices . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .v
                 Trademarks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . vi

                 Preface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . vii
                 The team that wrote this Redpaper . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . vii
                 Become a published author . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . vii
                 Comments welcome. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . vii

                 Chapter 1. Introduction. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .             1
                 1.1 IBM Tivoli Storage Manager concepts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .                        2
                 1.2 IBM Tivoli Storage Manager functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .                       3
                    1.2.1 Restore and backup functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .                      3
                    1.2.2 Archive and retrieve functions. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .                   3
                    1.2.3 Managing backups, archives, other data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .                            3
                    1.2.4 Administrative overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .                 4
                    1.2.5 Hints and tips for command line, registration, and timeout . . . . . . . . . . . . . . . . . . .                                  9

                 Chapter 2. Setting up IBM Tivoli Storage Manager for BMR . . . . . . . . . . . . . . . . . . . . .                                       11
                 2.1 Prerequisites and considerations in using ASR . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .                            12
                    2.1.1 Hardware requirements. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .                  12
                    2.1.2 Software requirements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .                 13
                    2.1.3 Supported configurations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .                  13
                 2.2 Installation of the ITSM client on your Windows environment. . . . . . . . . . . . . . . . . . . .                                   13
                 2.3 Customization of the ITSM client . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .                   14
                    2.3.1 TSM Backup/Archive Client . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .                     15
                    2.3.2 Online image support . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .                15
                    2.3.3 Open file support. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .            15
                 2.4 Performing ITSM backups for ASR with Windows XP . . . . . . . . . . . . . . . . . . . . . . . . .                                    16
                    2.4.1 ASR backup . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .            16
                    2.4.2 SYSTEMOBJECT backup. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .                        18
                    2.4.3 Incremental backup. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .               19
                    2.4.4 Copy ASR backup to diskette . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .                     21
                 2.5 Performing ITSM backups for ASR with Windows 2003 . . . . . . . . . . . . . . . . . . . . . . . .                                    22
                    2.5.1 ASR backup . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .            23
                    2.5.2 System services and system state backups . . . . . . . . . . . . . . . . . . . . . . . . . . . . .                              24
                    2.5.3 Incremental backup. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .               25
                    2.5.4 Copy ASR backup to diskette . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .                     28

                 Chapter 3. Microsoft Windows automated system recovery with ITSM . . . . . . . . . . .                                                   31
                 3.1 Recovering a Microsoft XP image using ASR and ITSM . . . . . . . . . . . . . . . . . . . . . . .                                     32
                    3.1.1 Prerequisites . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .         32
                    3.1.2 The Windows XP Professional recovery process . . . . . . . . . . . . . . . . . . . . . . . . .                                  33
                    3.1.3 Windows XP Professional recovery example . . . . . . . . . . . . . . . . . . . . . . . . . . . .                                34
                    3.1.4 Common Errors in restore process . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .                        43
                 3.2 Recovering a Microsoft 2003 image using ASR and ITSM . . . . . . . . . . . . . . . . . . . . . .                                     46
                    3.2.1 Prerequisites . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .         46
                    3.2.2 The recovery process for Windows 2003 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .                             48
                    3.2.3 Windows 2003 recovery example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .                         48
                    3.2.4 Common errors in restore process . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .                        57


© Copyright IBM Corp. 2003. All rights reserved.                                                                                                           iii
Appendix A. Slipstreaming Windows XP Service Pack 1a . . . . . . . . . . . . . . . . . . . . . . 61
               Slipstreaming . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 62
               Slipstream Windows XP Service Pack 1a . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 62




iv   IBM Tivoli Storage Manager: Bare Metal Restore for Windows
Notices

This information was developed for products and services offered in the U.S.A.

IBM may not offer the products, services, or features discussed in this document in other countries. Consult
your local IBM representative for information on the products and services currently available in your area. Any
reference to an IBM product, program, or service is not intended to state or imply that only that IBM product,
program, or service may be used. Any functionally equivalent product, program, or service that does not
infringe any IBM intellectual property right may be used instead. However, it is the user's responsibility to
evaluate and verify the operation of any non-IBM product, program, or service.

IBM may have patents or pending patent applications covering subject matter described in this document. The
furnishing of this document does not give you any license to these patents. You can send license inquiries, in
writing, to:
IBM Director of Licensing, IBM Corporation, North Castle Drive Armonk, NY 10504-1785 U.S.A.

The following paragraph does not apply to the United Kingdom or any other country where such provisions are
inconsistent with local law: INTERNATIONAL BUSINESS MACHINES CORPORATION PROVIDES THIS
PUBLICATION "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESS OR IMPLIED,
INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF NON-INFRINGEMENT,
MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Some states do not allow disclaimer of
express or implied warranties in certain transactions, therefore, this statement may not apply to you.

This information could include technical inaccuracies or typographical errors. Changes are periodically made
to the information herein; these changes will be incorporated in new editions of the publication. IBM may make
improvements and/or changes in the product(s) and/or the program(s) described in this publication at any time
without notice.

Any references in this information to non-IBM Web sites are provided for convenience only and do not in any
manner serve as an endorsement of those Web sites. The materials at those Web sites are not part of the
materials for this IBM product and use of those Web sites is at your own risk.

IBM may use or distribute any of the information you supply in any way it believes appropriate without incurring
any obligation to you.

Information concerning non-IBM products was obtained from the suppliers of those products, their published
announcements or other publicly available sources. IBM has not tested those products and cannot confirm the
accuracy of performance, compatibility or any other claims related to non-IBM products. Questions on the
capabilities of non-IBM products should be addressed to the suppliers of those products.

This information contains examples of data and reports used in daily business operations. To illustrate them
as completely as possible, the examples include the names of individuals, companies, brands, and products.
All of these names are fictitious and any similarity to the names and addresses used by an actual business
enterprise is entirely coincidental.

COPYRIGHT LICENSE:
This information contains sample application programs in source language, which illustrates programming
techniques on various operating platforms. You may copy, modify, and distribute these sample programs in
any form without payment to IBM, for the purposes of developing, using, marketing or distributing application
programs conforming to the application programming interface for the operating platform for which the sample
programs are written. These examples have not been thoroughly tested under all conditions. IBM, therefore,
cannot guarantee or imply reliability, serviceability, or function of these programs. You may copy, modify, and
distribute these sample programs in any form without payment to IBM for the purposes of developing, using,
marketing, or distributing application programs conforming to IBM's application programming interfaces.




© Copyright IBM Corp. 2003. All rights reserved.                                                               v
Trademarks
The following terms are trademarks of the International Business Machines Corporation in the United States,
other countries, or both:
     IBM       ™                        IBM®                                  Tivoli®
     pSeries®                           Rational®                             TotalStorage®
     AIX®                               Redbooks™                             Redbooks(logo)   ™
     GDPS®                              SP1®
     HACMP/6000™                        SP2®

The following terms are trademarks of other companies:

ActionMedia, LANDesk, MMX, Pentium and ProShare are trademarks of Intel Corporation in the United
States, other countries, or both.

Microsoft, Windows, Windows NT, and the Windows logo are trademarks of Microsoft Corporation in the
United States, other countries, or both.

Java and all Java-based trademarks and logos are trademarks or registered trademarks of Sun Microsystems,
Inc. in the United States, other countries, or both.

C-bus is a trademark of Corollary, Inc. in the United States, other countries, or both.

UNIX is a registered trademark of The Open Group in the United States and other countries.

SET, SET Secure Electronic Transaction, and the SET Logo are trademarks owned by SET Secure Electronic
Transaction LLC.

Other company, product, and service names may be trademarks or service marks of others.




vi     IBM Tivoli Storage Manager: Bare Metal Restore for Windows
Preface

                 This Redpaper will help you install, tailor, and configure Microsoft Windows Automated
                 System Recovery (ASR) features with IBM® Tivoli® Storage Manager (ITSM) to protect your
                 systems from catastrophic failures.



The team that wrote this Redpaper
                 This Redpaper was produced by a team of specialists from around the world working at the
                 International Technical Support Organization, San Jose Center.

                 Barry Kadleck is responsible for tape and Tivoli Storage projects at the International
                 Technical Support Organization, San Jose. He has a degree in Electronic Engineering and
                 joined IBM U.K. in 1985. He has been working with storage software and hardware for the last
                 10 years. Before joining the ITSO in 2001, Barry worked at the Product Introduction
                 Consultancy in Hursley, U.K. as a Program Manager, introducing new Tivoli Storage products
                 into Europe.

                 David McFarlane is a Technical Solutions Architect in Australia. He has 19 years of
                 experience in the I/T industry. His areas of expertise include storage management, VTS, and
                 z/series solutions. He has participated in two other ITSO residencies: IBM TotalStorage
                 Virtual Tape server: Planning, Implementing and Monitoring, SG24-2229-04, and produced
                 course materials for “GDPS®, XRC, PPRC,VTS Peer to Peer”.

                 Pracha Pechsuksan is an I/T Specialist in Thailand. He has six years of experience in AIX®
                 field and two years of experience in TSM field. He has worked at IBM for 12 years. His areas
                 of expertise include AIX, TSM, SP2®, and HACMP/6000™.

                 Wah Han Tan is an IT Specialist with the pSeries® services team in Singapore. He has
                 worked at IBM Singapore for seven years. His areas of expertise include AIX, TSM, SP2, and
                 HACMP/6000.



Become a published author
                 Join us for a two- to six-week residency program! Help write an IBM Redbook dealing with
                 specific products or solutions, while getting hands-on experience with leading-edge
                 technologies. You'll team with IBM technical professionals, Business Partners and/or
                 customers.

                 Your efforts will help increase product acceptance and customer satisfaction. As a bonus,
                 you'll develop a network of contacts in IBM development labs, and increase your productivity
                 and marketability.

                 Find out more about the residency program, browse the residency index, and apply online at:
                         ibm.com/redbooks/residencies.html



Comments welcome
                 Your comments are important to us!


© Copyright IBM Corp. 2003. All rights reserved.                                                            vii
We want our papers to be as helpful as possible. Send us your comments about this
                Redpaper or other Redbooks™ in one of the following ways:
                   Use the online Contact us review redbook form found at:
                      ibm.com/redbooks
                   Send your comments in an Internet note to:
                      redbook@us.ibm.com
                   Mail your comments to:
                      IBM Corporation, International Technical Support Organization
                      Dept. QXXE Building 80-E2
                      650 Harry Road
                      San Jose, California 95120-6099




viii   IBM Tivoli Storage Manager: Bare Metal Restore for Windows
1


    Chapter 1.   Introduction
                 The purpose of this book is to provide a guide to using the Bare Machine Recovery (BMR)
                 procedures with IBM Tivoli Storage Manager (ITSM) Level 5.2 for the following operating
                 systems:
                     Microsoft Windows XP Professional
                     Microsoft Windows 2003 Server

                 It should be first noted that this function also requires the Microsoft Windows Automated
                 System Recovery (ASR). This is a facility provided by Microsoft to recover the above
                 mentioned operating systems in the event of a catastrophic system or hardware failure. The
                 purpose of ASR is “to return the operating system to the point of last backup.” ITSM
                 interfaces with ASR to provide the data management functions and a repository for the data
                 that has been backed up.

                 In this chapter we introduce the basic concepts of IBM Tivoli Storage Manager (ITSM). We
                 will focus our attention on the backup and restore functions of the product, and provide a brief
                 overview of the archive and restore and management aspects of ITSM. This guide is not
                 intended to be a full introduction to ITSM.

                 In subsequent chapters, we discuss with examples how to do the following:
                     Install the ITSM client on your Microsoft Windows environment
                     Customize the ITSM client to ensure that backups are going to take place
                     Perform ITSM backups of the required data
                     Overview of Microsoft Windows Automated System Recovery
                     Initiate and complete the restore process using Bare Machine Recovery (BMR)

                 There will also be a section summarizing the tricks and traps we experienced so that you may
                 gain from our experience in using the product.




© Copyright IBM Corp. 2003. All rights reserved.                                                                1
1.1 IBM Tivoli Storage Manager concepts
               IBM Tivoli Storage Manager (ITSM) is a client server application designed to manage your
               storage requirements. ITSM uses policies to manage the movement of data between clients,
               servers, and storage devices. There are two components required in any environment:
                  IBM Tivoli Storage Manager server
                  IBM Tivoli Storage Manager client

               IBM Tivoli Storage Manager can be used for backup and restore, and archive and retrieve. It
               will manage backups and archives, and manage the movement of “inactive” data with the
               migrate and recall facility under HSM. ITSM will enable you to manage both the data and the
               storage that they reside upon.




                        IBM Tivoli Storage Manager
                                           Policies
                    Clients                 and                                     Server
                                          Requests



                                          migrate/
                                           recall
                                                                 Network
                                          backup/
                                          restore

                                          archive/
                                          retrieve


                                                                                      Storage Pools



               Figure 1-1 IBM Tivoli Storage Manager concepts

               IBM Tivoli Storage Manager manages the movement and storage of data. The ITSM client
               software is installed on computers in your environment that require managing, and an ITSM
               server is required to manage the metadata and the storage pools. Data can be backed up,
               archived, or moved from its primary location to storage devices used by ITSM; these locations
               are called storage pools. ITSM can be set up to run in a local area network (LAN), wide area
               network (WAN), or Storage Area Network (SAN) environments.

                Note: As a general rule, the server version should be at a higher release level than the
                client; please check release documentation for compatibility between specific releases and
                combinations.




2   IBM Tivoli Storage Manager: Bare Metal Restore for Windows
1.2 IBM Tivoli Storage Manager functions
           The following sections outline the IBM Tivoli Manager functions.


1.2.1 Restore and backup functions
           Restore
           Careful planning must be undertaken when setting up any storage management application.
           ITSM is no different. It is far better to plan well in the beginning than wish you had at the end.
           You should plan your systems to optimize the restoration functions, because they will always
           be required to operate within the most critical time scales when they are called upon. For
           example, your restore requirements should always drive your backup objectives.

           ITSM, or any backup application, is only as good as its restore function. A fast, reliable, and
           efficient restoration process is the key. All the backups in the world will not help you if you
           cannot get the data back where you want it, when you want it, and in the form that it needs to
           be in so that it can be used. ITSM fulfills all these requirements, and it is easy to use and
           understand.

           Backup
           ITSM utilizes a progressive backup methodology. A full backup is done only once, after which
           incremental backups are made only of files that have changed since the last backup. The
           metadata associated with these backup copies are stored in the ITSM database. The number
           of backup copies retained and the length of time they are retained for is specified by the
           storage administrator, and also stored in the database.

           This progressive backup methodology yields many benefits including the elimination of
           redundant backups, reduction of data movement over your network, and an automated
           method of backup and file retention.

           In addition, backups may be performed on demand, either as full, incremental, or as a
           selected set or subset of individual files. In any implementation of ITSM, the server will always
           know the location of the most recent copy of your file resides; this is crucial in the efficient and
           effective recovery of your data.


1.2.2 Archive and retrieve functions
           IBM Tivoli Storage Manager provides the archive and retrieve functions for the data that you
           need to keep for long term storage. This data may be required for tax and legal purposes
           such as a snapshot of the end of the month and fiscal year.


1.2.3 Managing backups, archives, other data
           IBM Tivoli Storage Manager utilizes user written policies to manage the data written to, and
           read from the storage devices under its control. These policies manage.the data backups and
           archives under the control of ITSM. Here are some of the data management issues for which
           policies exist:
              Version data exists
              Version data deleted
              Retain extra versions
              Retain only version
              Backup retention
              Archive retention


                                                                                    Chapter 1. Introduction   3
Copy frequency
                  Copy destination

               The metadata (data about the actual data) and media that it resides upon, exists within the
               ITSM database, journals, and log files.


1.2.4 Administrative overview
               IBM Tivoli Storage Manager Console




               Figure 1-2 ITSM Console

               The ITSM Console is the central server interface, all other server interfaces and the Web
               backup-archive client can be accessed from the ITSM Console.

               The ITSM Console is a Microsoft Management Console snap-in that provides the following
               features:
                  A Microsoft Windows style tree view of network computers on which ITSM resources are
                  installed
                  Network scan utilities that can be used to locate ITSM client and server nodes for remote
                  management
                  A Net Send feature that can be used to notify operators of ITSM mount requests and
                  status messages
                  ITSM server configuration and management wizards.
                  Command line and Web based interfaces for ITSM server management
                  A Web based interface that can be used to remotely backup and restore of client data
                  Reporting functions for ITSM server and client instances, device drivers, and schedules




4   IBM Tivoli Storage Manager: Bare Metal Restore for Windows
IBM Tivoli Storage Manager WEB Interface




Figure 1-3 ITSM Web interface

The ITSM Web interface is intended to be the primary tool for ongoing ITSM server
administration.




                                                                  Chapter 1. Introduction   5
IBM Tivoli Storage Manager server command line interface




               Figure 1-4 IBM Tivoli Storage Manager command line interface

               The ITSM server command line interface is useful for experienced ITSM administrators who
               are familiar with the ITSM command set. Some administrators rely on the ITSM command line
               as their primary configuration and management tool. This interface allows for the generation
               of administrative scripts and macros, which can be scheduled to execute automatically.




6   IBM Tivoli Storage Manager: Bare Metal Restore for Windows
IBM Tivoli Storage Manager client graphical interface




Figure 1-5 IBM Tivoli Storage Manager client graphical interface

The ITSM client graphical interface is designed to allow users to initiate “on demand” backup
archive and recovery functions from the client machine. The interface uses a familiar
Windows-styled tree view to display the drives, directories, and files that can be manipulated
between the client and the server.




                                                                    Chapter 1. Introduction   7
IBM Tivoli Storage Manager client Web interface




               Figure 1-6 IBM Tivoli Storage Manager client web interface

               The ITSM client Web interface is a graphical interface based on Java, and is included with the
               installation package, but must be manually installed and configured on each client node. The
               ITSM client Web interface supports the following browser:
                  Microsoft Internet Explorer 5.0 or later with Java Runtime Environment (JRE) 1.3.1
                  Netscape Navigator 4.7 or later with Java Runtime Environment (JRE) 1.3.1
                  Netscape Navigator 6.0 or later

               IBM Tivoli Storage Manager client command line interface




               Figure 1-7 IBM Tivoli Storage Manager client command line interface



8   IBM Tivoli Storage Manager: Bare Metal Restore for Windows
The ITSM client command line is a character based interface that provides comprehensive
           control of ITSM client functions. This interface is installed as part of the ITSM client package.


1.2.5 Hints and tips for command line, registration, and timeout
           When installing ITSM for the first time on multiple workstations, it may be a good idea to set
           the following options. These options can be reset to the required permanent values once the
           installation has either been completed, or the value of their initial setting is no longer a distinct
           advantage.

           Web administrator Command line interface
           Many administrators find that the command line interface is easier to use than the GUI; the
           ITSM Server Web Administration dialog will allow you to include the command line. Here are
           the steps to include the command line:
           1. Log on to the IBM Tivoli Storage Manager Server Web Administration interface.
           2. Choose Show command line from the Options drop down menu (see Figure 1-8).




           Figure 1-8 ITSM Web administration Command Line tip


           Registration
           When you first set up the clients for your installation, it may be advisable to allow open
           registration. This will save you from registering each client from the server interface
           individually. To do this, enter the following command from the command line interface:
              set registration open




                                                                                    Chapter 1. Introduction    9
Note: This command should be reset to closed once the initial setup of the clients has
                been completed, since it will allow any client to register without being previously
                authorized.


              Timeout of server administrator
              The Administrator timeout default is set to 5 minutes. This may not be the most effective time
              period, especially if you are having to log in multiple times while performing other tasks on the
              same machine. To alter this to not timing out, enter the following command from the command
              line interface.
                  set webauthtimeout 0

              This parameter should be set in line with your company’s security policies.




10   IBM Tivoli Storage Manager: Bare Metal Restore for Windows
2


    Chapter 2.   Setting up IBM Tivoli Storage
                 Manager for BMR
                 This chapter describes the following:
                     Prerequisites and considerations in using Microsoft ASR for recovery
                     Installation of the ITSM client in your Microsoft Windows environment
                     Customization the ITSM client to ensure that backups are going to take place
                     Performing ITSM backups of the required data




© Copyright IBM Corp. 2003. All rights reserved.                                                        11
2.1 Prerequisites and considerations in using ASR
              Automated System Recovery (ASR) is a backup and restore framework provided by Microsoft
              to recover your Windows XP Professional or Windows 2003 Server system in the event of a
              catastrophic system or hardware failure. ITSM interfaces with this framework to provide
              system recovery capability using ITSM as the data management vehicle.

              Windows XP ASR recovers the target system in a two-step process:
              1. The first step, termed the “boot recovery process,” requires a new copy of Windows to be
                 temporarily installed on the target system using the original distribution media.
              2. The second step, called the “OS restore process,” restores the files of a previously saved
                 Windows installation using a backup-and-restore application (thus, deleting and writing
                 over some of the files installed by the boot recovery process).

              In the event of a system failure, the ASR can be used to restart the system, after which users
              can begin a recovery from a backed up copy of a previously saved Windows installation.

              The goal of ASR as stated by Microsoft is to return the operating system to the point of last
              backup. ASR is not used to recover application or user data. Such data is recovered through
              normal ITSM restore procedures after successful completion of ASR recovery. You should
              create a new ASR set after any major change to the system, and also on a regular schedule
              as part of a comprehensive backup plan.


2.1.1 Hardware requirements
              1. The hardware configuration of the target system must be identical to that of the original
                 system, with the exception of the hard disks, video cards, and network interface cards.

                   Note: If there is a change in the video cards or networking cards, they must be
                   manually configured.

              2. The target system must have the same number of disks as the original system.
              3. 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.
              4. All disks must have 512 byte sectors.
              5. All disks (and only such disks) that are available to ASR on which to perform a recovery
                 must be accessible.
              6. The ASR files must be accessible from a local floppy drive.
              7. The floppy and CD-ROM drives cannot be external PC-card drives.
              8. The original system must be an x86 or an Itanium machine.
              9. The original system’s disks must have 512 byte sectors.
              10.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.
              11.ASR supports FAT16 volumes up to 2.1 GB only. ASR does not support 4 GB FAT16
                 partitions that use a cluster size of 64K. If your system contains 4-GB FAT16 partitions,
                 convert them from FAT16 to NTFS before using ASR.




12   IBM Tivoli Storage Manager: Bare Metal Restore for Windows
2.1.2 Software requirements
           These are the requirements:
           1. Recovering a Windows XP SP1® system requires a Windows XP SP1 integrated
              (“slipstream”) installation CD. You cannot recover a Windows XP SP1 system using a base
              Windows XP operating system installation CD. SP1 ASR references asr_pfu.exe, which is
              not present on the base Windows XP installation. The base level Windows XP installation
              CD can be used to recover pre-SP1 Windows XP machines.
           2. With the TSM client installation package used on the TSMCLI CD, your 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. The details for creating the TSMCLI CD are
              described later in this guide.
           3. ASR requires a TSM v5.2.0 or newer client. Additionally, ASR for Windows 2003 requires
              a v5.2.0 or a newer TSM server.


2.1.3 Supported configurations
           The following table lists whether ASR is supported with the version of Windows XP at the time
           of backup and at the time of restore.


            Version of Windows at           Version of Windows at          Supported or Not
            Backup                          Restore                        Supported

            Windows XP                      Windows XP                     Supported (see Note)

            Windows XP                      Windows XP Service Pack 1a     Not supported

            Windows XP Service Pack 1       Windows XP                     Supported (see Note)

            Windows XP Service Pack 1       Windows XP Service Pack 1a     Supported

            Windows XP Service Pack 1a      Windows XP                     Not supported

            Windows XP Service Pack 1a      Windows XP Service Pack 1a     Supported

            Windows 2003 Server             Windows 2003 Server            Supported


            Note: The Japanese and Spanish versions of Microsoft Windows XP are not supported.



2.2 Installation of the ITSM client on your Windows
environment
           Please refer to the ITSM quickstart and administrator guides for the instructions on how to
           install the ITSM client on your Microsoft Windows environment.




                                             Chapter 2. Setting up IBM Tivoli Storage Manager for BMR    13
2.3 Customization of the ITSM client




              Figure 2-1 Setup wizard selection from the main menu




              Figure 2-2 Basic wizards required for ASR recovery

              You must set up the wizards selected in Figure 2-2, if they have not already been set up to
              enable ASR. In the following section, we provide an explanation of the purpose of these
              options.

              Other setup wizards can be completed, the three we have shown are the only ones required
              for the ASR recovery process.



14   IBM Tivoli Storage Manager: Bare Metal Restore for Windows
2.3.1 TSM Backup/Archive Client
           Data is transmitted to the ITSM server using the ITSM Backup/Archive client. This client,
           included with the server, provides the operational backup, and archival and recovery
           functions. The following set of data about the client is required to be registered with the
           server:
              Node name
              Communications method the ITSM client will use when communicating with the ITSM
              server
              Details on how the communication method will be utilized


2.3.2 Online image support
           Select this check box to set up the Logical Volume Snapshot Agent (LVSA) for an online
           image backup. LVSA is a snapshot provider that is used for online image backup and open file
           support operations on the Windows 2003 and XP clients.


2.3.3 Open file support
           Select this check box to configure the Logical Volume Snapshot Agent (LVSA) to enable open
           file support for backup and archive operations. This enables backup or archive of files that are
           locked by other applications. During an open file support backup or archive operation, a
           snapshot for each volume being operated on is created using the LVSA snapshot provider,
           and each snapshot is shown as a virtual volume to the client. After completion of the
           snapshot, the client uses the virtual volume as the source for backing up or archiving files to
           the server. This allows the original volume to be available for read and write operations during
           the backup or archive. Open file support is available for all types of backup (excluding backup
           of Windows 2000 or XP system objects) and archive. Requires installation of the LVSA for
           open file support through this client configuration wizard.

            Note: After you have finished the initial set up of the options file, you can use the
            Preferences window to specify other client options. To open the Preferences window,
            select the Preferences item from the Edit menu.




                                              Chapter 2. Setting up IBM Tivoli Storage Manager for BMR   15
2.4 Performing ITSM backups for ASR with Windows XP




              Figure 2-3 ITSM startup panel

              The ASR method for Bare Machine Recovery requires that the data be backed up in a certain
              order. And at least that the ASR backup (not to be confused with creating the ASR recovery
              diskette) be done prior to the latest incremental backup. The following is the order we used in
              the testing:
                  ASR backup
                  SYSTEMOBJECT backup
                  Incremental backup
                  Copy ASR backup to diskette

              An example of each of these steps is provided in the following subsections.


2.4.1 ASR backup
              Start up the ITSM Graphical User Interface (GUI) and click the backup button to back up the
              ASR files. Follow the examples in Figure 2-4 and Figure 2-5.




16   IBM Tivoli Storage Manager: Bare Metal Restore for Windows
Figure 2-4 Backup ASR files

A dialog will be presented to show the progress of this request.




Figure 2-5 Windows Automated System Recovery dialog

If you complete the incremental prior to doing the ASR backup, then the SMSS.asr and the
NTDLL.ASR files will not be backed up on the incremental backup. Simply perform another
incremental backup prior to attempting to restore the system. Otherwise, if you are restoring
the system without the ASR files in the backup, the following error will occur:

Setup was unable to start the recovery application:
         “C:windowstemptsmasr.cmd /sifpath=C:windowsrepairasr.sif”. The error code
         returned was 0x2.

This error can be fixed in the recovery process, See 3.1.3, “Windows XP Professional
recovery example” on page 34.




                                  Chapter 2. Setting up IBM Tivoli Storage Manager for BMR   17
2.4.2 SYSTEMOBJECT backup




              Figure 2-6 SYSTEMOBJECT dialog

              To back up the system objects using the GUI:
              1. Click the Backup button from the GUI main window (see Figure 2-3 on page 16). The
                 Backup window appears.
              2. Expand the directory tree by clicking the plus sign + To display files in a folder, click the
                 folder icon.
              3. Locate the System Objects node in the directory tree and expand it.
              4. Click the selection box for the system object(s) you want to back up.
              5. Click Backup. The Backup Task List window displays the backup processing status. When
                 processing completes, the Backup Report window displays the processing details.

              You can back up the Windows XP system objects together or individually. Microsoft
              recommends that all system objects be backed up together to maintain a consistent system
              state. The following are valid system objects:
                  Active Directory (domain controller only)
                  Certificate server database
                  Cluster Database (cluster node only)
                  COM+ database
                  Event logs (system, security, and application)
                  Registry
                  System and boot files
                  System volume
                  Removable Storage Management Database (RSM)
                  Replicated file systems (FRS)
                  Windows Management Instrumentation (WMI)




18   IBM Tivoli Storage Manager: Bare Metal Restore for Windows
You can exclude system objects from backup processing using the exclude.systemobject
          option. See “Exclude options” in IBM Tivoli Storage Manager for Windows: Backup-Archive
          Clients Installation and User's Guide” Version 5 Release 2, GC32-0788-03, for more
          information.


2.4.3 Incremental backup
          From the startup panel (Figure 2-3) choose the Backup option. The first item to back up is the
          data and operating system.




          Figure 2-7 ITSM Backup selection panel

          In our example we will be performing a backup and restore of a PC workstation. It is vital that
          the sequence presented here is followed. ITSM recovery with ASR is dependant upon the
          data being backed up in a certain sequence, so that your system will be returned to a state
          consistent with how it was backed up.

          Select the Backup button to initiate the system backup; Figure 2-8 will appear showing you
          that the backup is in progress.




                                             Chapter 2. Setting up IBM Tivoli Storage Manager for BMR   19
Figure 2-8 Backup task list

              If you wish to track the progress of the backup, click the Report button and Figure 2-9 will
              show you the Detailed Status Report.




              Figure 2-9 Backup report

              If your network does not support DHCP, then you can use local backup sets containing the
              backup of your system, boot drives, and SYSTEMOBJECT for Windows XP.
              Use the GENERATE BACKUPSET command to generate a backup set for a backup-archive client
              node. A backup set is a collection of a client’s active backed up data, stored and managed as
              a single object, on specific media, in server storage. While the server allows you to create a
              backup set for any client node, a backup set can only be used by a backup-archive client. See
              IBM Tivoli Storage Manager for Windows Administrator’s Reference Version 5.2 for the com-
              mands required to generate a backup set.




20   IBM Tivoli Storage Manager: Bare Metal Restore for Windows
2.4.4 Copy ASR backup to diskette




          Figure 2-10 Create ASR diskette

          First copy the ASR files to a floppy disk: Select Utilities and then Create ASR Diskette from
          the command items (see Figure 2-10).




          Figure 2-11 Create ASR diskette dialog

          Insert Floppy, click Next; the files are copied to diskette and the following dialog will appear.
          (See Figure 2-12.)




          Figure 2-12 ASR diskette confirmation



                                              Chapter 2. Setting up IBM Tivoli Storage Manager for BMR    21
If ASR backup has not been done at all, and you attempt to copy the ASR files to a floppy
              disk, then the following error dialog box will appear. (See Figure 2-13.)




              Figure 2-13 ASR error dialog



2.5 Performing ITSM backups for ASR with Windows 2003




              Figure 2-14 ITSM startup panel

              The ASR method for Bare Machine Recovery requires that the data be backed up in a certain
              order. At least that the ASR backup (not to be confused with creating the ASR recovery
              diskette) must be done prior to the latest incremental backup. The order used in the testing
              we did was:
              1.   ASR backup
              2.   System services and system state backup
              3.   Incremental backup
              4.   Copy ASR backup to diskette

              An example of each of these steps is provided in the following subsections.




22   IBM Tivoli Storage Manager: Bare Metal Restore for Windows
2.5.1 ASR backup
          Start up the ITSM Graphical User Interface (GUI) and click the Backup button to back up the
          ASR files. Follow the examples in Figure 2-4 on page 17, and Figure 2-5 on page 17.




          Figure 2-15 Backup ASR files

          A dialog will be presented to show the progress of this request.




          Figure 2-16 Windows Automated System Recovery dialog

          If you complete the incremental prior to doing the ASR backup, then the SMSS.asr and the
          NTDLL.ASR files will not be backed up on the incremental backup. Simply perform another
          incremental backup prior to attempting to restore the system. Otherwise, if you are restoring
          the system without the ASR files in the backup, the following error will occur:
             Setup was unable to start the recovery application

             “C:windowstemptsmasr.cmd /sifpath=C:windowsrepairasr.sif”. The error code returned
             was 0x2.



                                            Chapter 2. Setting up IBM Tivoli Storage Manager for BMR   23
This error can be fixed in the recovery process. See 3.1.3, “Windows XP Professional
              recovery example” on page 34.


2.5.2 System services and system state backups




              Figure 2-17 Windows 2003 System Objects dialog

              To back up system objects (for Windows 2003 these are split into system services and system
              state) using the GUI:
              1. Click the Backup button from the GUI main window (see Figure 2-3 on page 16). The
                 Backup window appears.
              2. Expand the directory tree by clicking the plus sign +. To display files in a folder, click the
                 folder icon.
              3. Locate the system services and system state nodes in the directory tree and expand it.
              4. Click the selection box for the system object(s) you want to back up.
              5. Click Backup. The Backup Task List window displays the backup processing status. When
                 processing completes, the Backup Report window displays processing details.

              You can back up Windows 2003 system objects together or individually. Microsoft
              recommends that all system objects be backed up together to maintain a consistent system
              state. The following are valid system objects:
                  Active Directory (domain controller only)
                  Certificate server database
                  Cluster database (cluster node only)
                  COM+ database
                  Event logs (system, security, and application)
                  Registry
                  System and boot files


24   IBM Tivoli Storage Manager: Bare Metal Restore for Windows
System volume
             Removable Storage Management Database (RSM)
             Replicated file systems (FRS)
             Windows Management Instrumentation (WMI)

          You can exclude system objects from backup processing using the exclude.systemobject
          option. See “Exclude options” in the IBM Tivoli Storage Manager for Windows:
          Backup-Archive Clients Installation and User's Guide Version 5 Release 2, GC32-0788-03,
          for more information.


2.5.3 Incremental backup
          From the startup panel (Figure 2-3) choose the Backup option. The first item to back up is the
          data and operating system.




          Figure 2-18 ITSM Backup selection panel

          In our example, we will be performing a backup and restore of a PC workstation. It is vital that
          the sequence presented here is followed. ITSM recovery with ASR is dependant upon the
          data being backed up in a certain sequence, so that your system will be returned to a state
          consistent with how it was backed up.

          Select the Backup button to initiate the system backup, Figure 2-8 will appear showing you
          that the backup is in progress.




                                             Chapter 2. Setting up IBM Tivoli Storage Manager for BMR   25
Figure 2-19 Backup task list

              If you wish to track the progress of the backup click the Report button, and Figure 2-9 will
              show you the Detailed Status Report.




              Figure 2-20 Backup report




26   IBM Tivoli Storage Manager: Bare Metal Restore for Windows
Figure 2-21 Incremental backup complete

If your network does not support DHCP, then you can use local backup sets containing the
backup of your system and boot drives, system state, and system services.
Use the GENERATE BACKUPSET command to generate a backup set for a backup-archive client
node. A backup set is a collection of a client’s active backed up data, stored and managed as
a single object, on specific media, in server storage. While the server allows you to create a
backup set for any client node, a backup set can only be used by a backup-archive client. See
IBM Tivoli Storage Manager for Windows Administrator’s Reference Version 5.2 for the com-
mands required to generate a backup set.




                                  Chapter 2. Setting up IBM Tivoli Storage Manager for BMR   27
2.5.4 Copy ASR backup to diskette




              Figure 2-22 Create ASR diskette

              First copy the ASR files to a floppy disk, then select Utilities and then Create ASR Diskette
              from the command items. See Figure 2-10.




              Figure 2-23 Create ASR diskette dialog

              Insert the floppy then click Next. The files are copied to diskette and the following dialog will
              appear. See Figure 2-12.




              Figure 2-24 ASR diskette confirmation




28   IBM Tivoli Storage Manager: Bare Metal Restore for Windows
If ASR backup has not been done at all, and you attempt to copy the ASR files to a floppy
disk, the following error dialog box will appear. See Figure 2-13.




Figure 2-25 ASR error dialog




                                  Chapter 2. Setting up IBM Tivoli Storage Manager for BMR   29
30   IBM Tivoli Storage Manager: Bare Metal Restore for Windows
3


    Chapter 3.   Microsoft Windows automated
                 system recovery with ITSM
                 This chapter contains the instructions and examples for recovering a Microsoft Windows XP
                 Professional or Microsoft Windows 2003 Server system using ASR and ITSM BMR.




© Copyright IBM Corp. 2003. All rights reserved.                                                        31
3.1 Recovering a Microsoft XP image using ASR and ITSM
              Remember, this is a facility provided by Microsoft to recover the operating system in the event
              of a catastrophic system or hardware failure. The purpose of ASR is “...to return the operating
              system to the point of last backup.” ITSM interfaces with ASR to provide the data
              management functions and a repository for the data that has been backed up. Microsoft
              recommendations for ASR use are:
                  “Use ASR as a last resort in system recovery, only after you have exhausted other options
                  such as the startup options Safe Mode and Last Known Good Configuration.”

3.1.1 Prerequisites
              Before you begin to attempt to restore a Microsoft Windows XP Professional system with ASR
              and ITSM, you must have the following items at hand:
                  ASR diskette
                  Windows XP Professional operating system installation CD
                  IBM Tivoli Storage Manager Client CD
                  The ITSM node password

              ASR diskette
              Refer to 2.4.4, “Copy ASR backup to diskette” on page 21 for information on how to create the
              ASR diskette required for this recovery task:

              These are the recovery steps if you did not create the ASR diskette prior to needing it for
              ASR:
              1. Create an ASR diskette for another machine through the virtualnode option.
              2. Alter the files to point to the machine and filespace for the required restore.
              3. Label a diskette using the Windows command LABEL A: TSMASR

              Refer to the detailed instructions for this task in “No ASR diskette available” on page 44.

              Windows XP Professional operating system installation CD
              This CD must have the identical operating system level as the systems that was backed up. If
              you installed Microsoft Windows XP Professional from the original CD, and subsequently
              installed any service packs, then you will need a CD with the matching service pack on the
              disk.

              A Microsoft Windows XP Professional SP1 CD can be created for this purpose, Refer to the
              Microsoft Web site “to create an integrated installation of Windows XP and the service pack,”
              at:
              http://www.microsoft.com/WindowsXP/pro/downloads/servicepacks/sp1/spdeploy.asp#the_integrat
              ed_installation_fmay

              Additional information regarding the creation of a bootable CD-ROM containing a Windows
              XP SP1 installable operating system can be found at:
              http://www.windows-help.net/WindowsXP/winxp-sp1-bootcd.html

              IBM Tivoli Storage Manager Client CD
              Finally, you will require an ITSM Client CD. The release version level of this CD must be at the
              same or at a higher level of client than the client that was in use at the time of the backup
              restoration.

              The ASR for Windows XP requires that this client be at least v5.2.0.

32   IBM Tivoli Storage Manager: Bare Metal Restore for Windows
If you are going to create a CD for the restoration it will need to be created with ’TSMCLI’ as
          the volume label and package must be renamed to TSMCLI.EXE and placed in the root
          directory of the CD. The IBM Tivoli Storage Manager client software can be downloaded from
          the following FTP site:
             ftp://ftp.software.ibm.com/storage/tivoli-storage-management/patches/client/v5r2/

          You will need to select the TSMxxxx_GA_1_WIN32.exe file from the subdirectory appropriate
          to the version you require. Obviously for the ASR you will need at least the 5.2.0 version.

          Prepare the TSM client package in package-for-the-web format burned onto a CD. This is the
          single self-extracting installation package of TSM that IBM makes available through FTP.
          1. Download the TSM client package (TSMxxxx_GA_1_WIN32.exe) where xxxx represents
             the release number within the version.
          2. Rename the package to TSMCLI.EXE. From a command prompt issue:
                 RENAME TSMxxxx_GA_1_WIN32.exe to TSMCLI.EXE
          3. Using the method described by your CD-ROM burning software, specify the volume label
             to be TSMCLI.
          4. Insure the TSMCLI.EXE file path is designated as the root directory (“”) in your CD-ROM
             burning software.
          5. Burn the CD using the method described by your CD-ROM burning software.

          A network connection which supports DHCP
          A network connection supporting DHCP is required for ASR recovery from TSM server
          storage. If your network does not support DHCP, then you can use local backup sets
          containing the backup of your system and boot drives; system state and system services
          (Windows 2003, SYSTEMOBJECT for Windows XP). See Section 2.4.3, “Incremental
          backup” on page 19 for an description about backup sets.

           Note: For best performance, system objects backup should be generated in a backup set
           separate from the boot and system drives.


          The ITSM node password
          ITSM requires the original node name and password as it was registered with the ITSM
          server prior to the recovery point for the particular node you are recovering. This will be
          required in order to establish a session with the server so that the server can authenticate the
          request and restore the data.


3.1.2 The Windows XP Professional recovery process
          1. Insert the operating system CD into the CD-ROM drive.
          2. 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. You may also need to be quick as
             this option does not wait around too long before a ‘normal’ startup is initiated.
          3. Press F2 to enter ASR recovery mode during text mode section of Setup. This option also
             does not wait for a response so you will need to be ready to press the ‘F2’ key.
          4. Insert the TSM-created ASR diskette (labeled TSMASR) into the floppy drive when
             prompted for the “Windows ASR recovery diskette.”
             a. Windows reads the asrpnp.sif file from the diskette.



                                   Chapter 3. Microsoft Windows automated system recovery with ITSM    33
b. Windows reformats the boot volume and may reformat other partitions on the disk if
                     partition layout is different than on the original system.
              5. The nodes hard disk will be formatted and checked for errors, also certain files will be
                 copied to the Windows installation folders.
              6. Insert the Windows client installation package CD (labeled TSMCLI) into the CD-ROM
                 drive when prompted. The TSM client package (TSMCLI.EXE) is copied to the
                 %SystemRoot%temp directory
              7. Insert the TSMASR diskette again into the floppy drive when prompted. The tsmasr.opt,
                 tsmasr.cmd, and waitforevent.exe files are copied to the %SystemRoot%temp directory.
              8. Remove the diskette when prompted prior to system reboot.
              9. Insert the operating system CD into the drive when prompted.
              10.After setup completes, a command window is opened, and the tsmasr.cmd file is run in
                 this window. A second command window is opened (and minimized), which can be used
                 for diagnostic purposes.
              11.The TSM client is silently installed.
              12.You are prompted to choose whether you want to restore from a network connected TSM
                 server (press 1) or a local backup set (press 2).
              13.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, for
                 example, r:backupsetfile1.ost. You will be prompted for subsequent volumes if you your
                 backup set occupies more than one volume.
              14.TSM commands are issued to restore the system drive.
              15.TSM commands are issued to restore system objects.
              16.The command file exits and the machine reboots. Remove the TSMASR diskette from the
                 drive. After rebooting, the operating system will come up in a fully recovered state.
              17.Recovery of user data and applications can now be performed using traditional TSM
                 restore facilities.


3.1.3 Windows XP Professional recovery example




              Figure 3-1 Booting from CD

              Insert the operating system CD into the CD-ROM drive.

              Restart the computer.

              Press the appropriate key to boot from CD.

                Note: You may need to configure your computer BIOS to prefer boot from CD




34   IBM Tivoli Storage Manager: Bare Metal Restore for Windows
You may also need to be quick to select the appropriate key to boot from CD as this option
does not wait around too long before a ‘normal’ startup is initiated.




Figure 3-2 Press F2 for ASR

Press F2 to enter ASR recovery mode during text mode section of Setup. This option also
does not wait for a response so you will need to be ready to press the ‘F2’ key.




Figure 3-3 Insert ASR diskette into floppy drive

Insert the ASR diskette (labeled TSMASR) into the floppy drive when prompted for the
“Windows ASR recovery diskette.”. This is the diskette which was created with the ITSM client
option “Create ASR Diskette” refer to Figure 2-10 on page 21.




                           Chapter 3. Microsoft Windows automated system recovery with ITSM   35
Figure 3-4 Setup is formatting the hard disk

              The nodes hard disk will be formatted, if there was a previous version of Windows residing on
              the target machine then you may need to delete the partition in order to install (recover) your
              backed up system. Follow the prompts and respond as you would for a new installation.
              Remember, however, that the new partition cannot have a drive space partition which is
              smaller than the partition which was originally backed up.




              Figure 3-5 Setup is checking the drive

              The disks are then checked for errors using the Windows utility.




36   IBM Tivoli Storage Manager: Bare Metal Restore for Windows
Figure 3-6 Setup is copying the files to the installation folders

Certain files will be copied to the Windows installation folders.




Figure 3-7 Windows ASR requests the ITSM client CD

Insert the Windows client installation package CD (labeled TSMCLI) into the CD-ROM drive
when prompted. The TSM client package (TSMCLI.EXE) is copied to the
%SystemRoot%temp directory.




                            Chapter 3. Microsoft Windows automated system recovery with ITSM   37
Figure 3-8 Windows ASR requests the TSMASR diskette

              Insert the TSMASR diskette again into the floppy drive when prompted. The tsmasr.opt,
              tsmasr.cmd, and waitforevent.exe files are copied.

              The prompt may appear three times, once for each file that is copied to the to the
              %SystemRoot%temp directory. Press enter each time and the process will continue




              Figure 3-9 Windows ASR requests removal of the floppy disk prior to rebooting the system

              Remove the diskette when prompted prior to system reboot.




38   IBM Tivoli Storage Manager: Bare Metal Restore for Windows
Figure 3-10 WIN XP Setup requires the XP operating system CD

Insert the operating system CD into the drive when prompted.




                         Chapter 3. Microsoft Windows automated system recovery with ITSM   39
Figure 3-11 Windows ASR installs IBM Tivoli Storage Manager

              After setup completes, a command window is opened, and the tsmasr.cmd file is run in this
              window. A second command window is opened (and minimized), which can be used for
              diagnostic purposes.

              The TSM client is silently installed.




40   IBM Tivoli Storage Manager: Bare Metal Restore for Windows
Figure 3-12 Decision point: restore from ITSM server or backup set

You are prompted to choose whether you want to restore from a network connected TSM
server (press 1) or a local backup set (press 2).




                          Chapter 3. Microsoft Windows automated system recovery with ITSM   41
Figure 3-13 ITSM server: requests userid and password

              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, for example,
              r:backupsetfile1.ost. You will be prompted for subsequent volumes if you your backup set
              occupies more than one volume.




42   IBM Tivoli Storage Manager: Bare Metal Restore for Windows
Figure 3-14 ITSM restores of multiple files

          TSM commands are issued to restore the system drive.

          TSM commands are issued to restore system state and system services on Windows 2003
          (system objects on Windows XP).

          The command file exits and the machine reboots. Remove the TSMASR diskette from the
          drive. After rebooting, the operating system will come up in a fully recovered state.

          Recovery of user data and applications can now be performed using traditional TSM restore
          facilities.


3.1.4 Common Errors in restore process
          Invalid order of backup
          If you completed the incremental prior to doing the ASR backup then the SMSS.asr and the
          NTDLL.ASR files will not be backed up on the incremental backup. The following error will
          occur:
          The setup was unable to start the recovery application
          “C:windowstemptsmasr.cmd /sifpath=C:windowsrepairasr.sif”. The error code returned
          was 0x2.

          Follow these instructions to recover the system from this error:
          1. Find another machine running the same maintenance level of Windows as the system you
             wish to recover.




                                     Chapter 3. Microsoft Windows automated system recovery with ITSM   43
2. Copy the SMSS.ASR and NTDLL.ASR files from the WINDOWSREPAIR directory of that
                 machine to a diskette.
              3. Re-run the ASR recovery process to the point where the TSM ASR recovery script
                 prompts you for network or backupset recovery.
              4. Use the minimized command window (shown at the bottom of Figure 3-14) to copy the
                 files to the machine being recovered. For example, you may use the command:
                  COPY A:*.ASR C:WINDOWSREPAIR
              5. Return to the recovery window and resume the recovery process.




              Figure 3-15 Diagnostic command window

              The diagnostic command window is available if you need to display or edit files. This facility is
              within a DOS prompt, and is first available when Windows ASR installs IBM Tivoli Storage
              Manager. See Figure 3-11 on page 40.

                Note: This error should only become an issue during testing as the normal state of events
                will ensure that you have done an ASR backup once the files will have been created and
                backed up.


              No ASR diskette available
              If you did not create the ASR diskette prior to needing it for the ASR then you will need to
              create a new ASR diskette on another machine and insert the virtualnodename parameter in
              the tsmasr.opt file on the newly created diskette.

              The virtualnodename option specifies the node name of your workstation when you want to
              restore or retrieve files to a different workstation.



44   IBM Tivoli Storage Manager: Bare Metal Restore for Windows
When you use the virtualnodename option in your client options file, or with a command:
1. You must specify the name you specified with the nodename option in your client options
   file (tsmasr.opt). This name should be different from the name returned by the hostname
   command on your workstation.
2. Tivoli Storage Manager prompts for the password assigned to the node you specify, if a
   password is required. If you enter the correct password, you have access to all backups
   and archives that originated from the specified node.

When connecting to a server, the client must identity itself to the server. This login
identification is determined in the following ways:
   If the nodename and virtualnodename options are not specified, or a virtual node name
   is not specified on the command line, the default login ID is the name returned by the
   hostname command.
   If the nodename option is specified, the name specified with the nodename option
   overrides the name returned by the hostname command.
   If the virtualnodename option is specified, or a virtual node name is specified on a
   command line, it cannot be the same name as the name returned by the hostname
   command.

When the virtual node name is accepted by the server, a password is required (assuming
authentication is on), even if the passwordaccess option is generate. The password is not
stored in the registry even when the passwordaccess option is set to generate. Once a
connection to the server is established, then access is permitted to any file backed up using
this login ID.

Syntax
>>-VIRTUALNodename- nodename-----------------------------------><

You will also need to change the tsmasr.cmd file to ensure that the restore commands point to
the correct filespaces for the machine that you are restoring. Here is an example of a
TSMASR.CMD file that resores the nodename IBM-BRETT, each occurrence of this
nodename would have to be altered to the nodename required for the machine restore:
      @start "IBM Tivoli Storage Manager" /MIN cmd.exe
      @echo off
      @title IBM Tivoli Storage Manager
      @echo Windows ASR is installing TSM. Please wait for installation to complete.
      %SystemRoot%temptsmcli.exe -s -e setup.exe -a /s
      /v"INSTALLDIR="%SystemRoot%temp~tsmasr" ADDLOCAL="Client"
      TRANSFORM="C:tsm_imagesTSM_BA_CLIENT1033.mst" /qn /l*v
      "C:WINDOWSrepairtsmasrsetup.log" RebootYesNo="No" REBOOT="Suppress"
      ALLUSERS=1 "
      %SystemRoot%tempwaitforevent.exe 600
      Diagnostics
      REM pause
      pushd %SystemRoot%temp~tsmasrbaclient
      copy %SystemRoot%temptsmasr.opt >nul
      @echo Do you wish to perform Automated Service Recovery (ASR) restore from the TSM
      server or from a local backup set?
      @echo 1. Restore from the TSM server.
      @echo 2. Restore from a local backup set.
      :choice
      set /P CH=
      if /I "%CH%"=="1" goto NETWORK
      if /I "%CH%"=="2" goto BACKUPSET
      goto choice


                          Chapter 3. Microsoft Windows automated system recovery with ITSM   45
:NETWORK
                     dsmc restore IBM-BRETTC$ C: -subdir=yes -preservepath=complete -replace=all
                     -tapeprompt=no -nodename=IBM-BRETT -optfile=tsmasr.opt
                     dsmc restore systemstate -asrmode=yes -nodename=IBM-BRETT -computername=IBM-BRETT
                     -optfile=tsmasr.opt
                     dsmc restore systemservices -asrmode=yes -nodename=IBM-BRETT -computername=IBM-BRETT
                     -optfile=tsmasr.opt
                     REM Diagnostics
                     dsmc query backup ibm-brettc$WINDOWSrepair*.asr -asrmode=yes
                     -nodename=IBM-BRETT -optfile=tsmasr.opt >tsmasrdiag.txt
                     REM dsmc query backup ibm-brettc$WINDOWSrepair*.asr -asrmode=yes
                     -nodename=IBM-BRETT -optfile=tsmasr.opt >a:tsmasrdiag.txt
                     @GOTO DONE
                     :BACKUPSET
                     dsmc restore backupset TSMASR IBM-BRETTC$ C: -asrmode=yes -subdir=yes
                     -preservepath=complete -replace=all -tapeprompt=no -nodename=IBM-BRETT
                     -location=file -optfile=tsmasr.opt
                     dsmc restore backupset TSMASR systemstate -asrmode=yes -nodename=IBM-BRETT
                     -location=file -replace=all -computername=IBM-BRETT -optfile=tsmasr.opt
                     dsmc restore backupset TSMASR systemservices -asrmode=yes -nodename=IBM-BRETT
                     -location=file -replace=all -computername=IBM-BRETT -optfile=tsmasr.opt
                     :DONE
                     @echo on



3.2 Recovering a Microsoft 2003 image using ASR and ITSM
              Remember, this is a facility provided by Microsoft to recover the operating system in the event
              of a catastrophic system or hardware failure. The purpose of ASR is “to return the operating
              system to the point of last backup.” ITSM interfaces with ASR to provide the data
              management functions and a repository for the data that has been backed up. The Microsoft
              recommendation for ASR use is “Use ASR as a last resort in system recovery, only after you
              have exhausted other options such as the startup options Safe Mode and Last Known Good
              Configuration.”


3.2.1 Prerequisites
              Before you begin to attempt to restore a Microsoft Windows 2003 Professional system with
              ASR, you must have the following items at hand:
                  ASR diskette
                  Windows XP Professional operating system installation CD
                  IBM Tivoli Storage Manager Client CD
                  The ITSM node password

              ASR diskette
              Refer to 2.4.4, “Copy ASR backup to diskette” on page 21 as to how to create the ASR
              diskette required for this recovery task.

              How to recover if you did not create the ASR diskette prior to needing it for ASR:
              1. Create an ASR diskette for another machine through the virtualnode option.
              2. Alter the files to point to the machine/filespace for the required restore.
              3. Label a diskette using the Windows command LABEL A: TSMASR.

              Refer to the detailed instructions for this task in “No ASR diskette available” on page 58.




46   IBM Tivoli Storage Manager: Bare Metal Restore for Windows
Windows 2003 Server operating system installation CD
This CD must have the identical operating system level as the systems that were backed up. If
you installed Microsoft Windows 2003 from the original CD, and subsequently installed any
service packs, then you will need a CD with the matching service pack on the disk.

IBM Tivoli Storage Manager Client CD
Finally, you will require an ITSM Client CD, the release, version, and level of this CD must be
at the same or at a higher level of client than the client that was in use at the time of the
backup that is being restored.

The ASR for Windows XP requires that this client be at least v5.2.0.

If you are going to create a CD for the restoration, it will need to be created with TSMCLI as
the volume label and package must be renamed to TSMCLI.EXE and placed in the root
directory of the CD. The IBM Tivoli Storage Manager client software can be downloaded from
the following FTP site:
   ftp://ftp.software.ibm.com/storage/tivoli-storage-management/patches/client/v5r2/

You need to select the TSMxxxx_GA_1_WIN32.exe file from the subdirectory appropriate to
the version you require. Obviously, for the ASR you need at least the 5.2.0 version.

Prepare the TSM client package in package-for-the-Web format burned onto a CD. This is the
single self-extracting installation package of TSM that IBM makes available through FTP:
1. Download the TSM client package (TSMxxxx_GA_1_WIN32.exe) where xxxx represents
   the release number within the version.
2. Rename the package to TSMCLI.EXE. From a command prompt issue:
       RENAME TSMxxxx_GA_1_WIN32.exe to TSMCLI.EXE
3. Using the method described by your CD-ROM burning software, specify the volume label
   to be TSMCLI.
4. Insure the TSMCLI.EXE file path is designated as the root directory () in your CD-ROM
   burning software.
5. Burn the CD using the method described by your CD-ROM burning software.

A network connection which supports DHCP
A network connection supporting DHCP is required for ASR recovery from TSM server
storage. If your network does not support DHCP, then you can use local backup sets
containing the backup of your system and boot drives; system state and system services.
See 2.4.3, “Incremental backup” on page 19 for an description about backup sets.

 Note: For best performance, system state/system services backup should be generated in
 a backup set separate from the boot and system drives.


The ITSM node password
ITSM requires the original node name and password as it was registered with the ITSM
server prior to the recovery point for the particular node you are recovering. This will be
required in order to establish a session with the server so that the server can authenticate the
request and restore the data.




                         Chapter 3. Microsoft Windows automated system recovery with ITSM    47
3.2.2 The recovery process for Windows 2003
              Here are the steps:
              1. Insert the operating system CD into the CD-ROM drive.
              2. 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. You may also need to be quick as
                 this option does not wait around too long before a “normal” startup is initiated.
              3. Press F2 to enter ASR recovery mode during text mode section of Setup. This option also
                 does not wait for a response, so you will need to be ready to press the F2 key.
              4. Insert the TSM-created ASR diskette (labeled TSMASR) into the floppy drive when
                 prompted for the “Windows ASR recovery diskette.”
                  a. Windows reads the asrpnp.sif file from the diskette.
                  b. Windows reformats the boot volume and may reformat other partitions on the disk if
                     partition layout is different than on the original system.
              5. The nodes hard disk will be formatted and checked for errors, also certain files will be
                 copied to the Windows installation folders.
              6. Insert the Windows client installation package CD (labeled TSMCLI) into the CD-ROM
                 drive when prompted. The TSM client package (TSMCLI.EXE) is copied to the
                 %SystemRoot%temp directory.
              7. Insert the TSMASR diskette again into the floppy drive when prompted. The tsmasr.opt,
                 tsmasr.cmd, and waitforevent.exe files are copied to the %SystemRoot%temp directory.
              8. Remove the diskette when prompted prior to system reboot.
              9. Insert the operating system CD into the drive when prompted.
              10.After setup completes, a command window is opened, and the tsmasr.cmd file is run in
                 this window. A second command window is opened (and minimized), which can be used
                 for diagnostic purposes.
              11.The TSM client is silently installed.
              12.You are prompted to choose whether you want to restore from a network connected TSM
                 server (press 1) or a local backup set (press 2).
              13.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, for
                 example, r:backupsetfile1.ost. You will be prompted for subsequent volumes if you your
                 backup set occupies more than one volume.
              14.TSM commands are issued to restore the system drive.
              15.TSM commands are issued to restore system state and system services.
              16.The command file exits and the machine reboots. Remove the TSMASR diskette from the
                 drive. After rebooting, the operating system will come up in a fully recovered state.
              17.Recovery of user data and applications can now be performed using traditional TSM
                 restore facilities.


3.2.3 Windows 2003 recovery example
              For the results of Figure 3-16, see the following steps.




48   IBM Tivoli Storage Manager: Bare Metal Restore for Windows
Figure 3-16 Booting from CD

1. Insert the operating system CD into the CD-ROM drive.
2. Restart the computer.
3. Press the appropriate key to boot from CD.

    Note: You may need to configure your computer BIOS to enable boot from CD.

You may also need to be quick to select the appropriate key to boot from CD as this option
does not wait around too long before a “normal” startup is initiated.




Figure 3-17 Press F2 for ASR

Press F2 to enter ASR recovery mode during text mode section of Setup. This option also
does not wait for a response so you will need to be ready to press the F2 key.




                        Chapter 3. Microsoft Windows automated system recovery with ITSM     49
Figure 3-18 Insert ASR diskette into floppy drive

              Insert the ASR diskette (labeled TSMASR) into the floppy drive when prompted for the
              Windows ASR recovery diskette. This is the diskette that was created with the ITSM client
              option Create ASR Diskette. Refer to Figure 2-10 on page 21.




              Figure 3-19 Setup is formatting the hard disk

              The nodes hard disk will be formatted, if there was a previous version of Windows residing on
              the target machine, then you may need to delete the partition in order to install (recover) your
              backed up system. Follow the prompts and respond as you would for a new installation.
              Remember however that the new partition cannot have a drive space partition that is smaller
              than the partition that was originally backed up.




50   IBM Tivoli Storage Manager: Bare Metal Restore for Windows
Figure 3-20 Setup is checking the drive

The newly partitioned drive is then checked for errors.




Figure 3-21 Setup is copying the files to the installation folders

Also, certain files will be copied to the Windows installation folders.




                            Chapter 3. Microsoft Windows automated system recovery with ITSM   51
Figure 3-22 Windows ASR requests the ITSM client CD

              Insert the Windows client installation package CD (labeled TSMCLI) into the CD-ROM drive
              when prompted. The TSM client package (TSMCLI.EXE) is copied to the
              %SystemRoot%temp directory.




              Figure 3-23 Windows ASR requests the TSMASR diskette

              Insert the TSMASR diskette again into the floppy drive when prompted. The tsmasr.opt,
              tsmasr.cmd, and waitforevent.exe files are copied.

              The prompt may appear three times, once for each file that is copied to the to the
              %SystemRoot%temp directory. Press Enter each time and the process will continue.




52   IBM Tivoli Storage Manager: Bare Metal Restore for Windows
Figure 3-24 Windows ASR requests removal of the floppy disk

Remove the diskette when prompted prior to system reboot.




Figure 3-25 WIN 2003 Setup requires the operating system CD

Insert the operating system CD into the drive when prompted.




                         Chapter 3. Microsoft Windows automated system recovery with ITSM   53
Note: On Windows 2003 server the prompt message is not clear: Setup was unable [to]
                access files needed to continue. This could be caused by an error on the CD Media
                or the CD is no longer present in the drive. Reinsert the Windows 2003 installation
                CD and respond to the prompt.




              Figure 3-26 Windows ASR installs IBM Tivoli Storage Manager

              After setup completes, a command window is opened, and the tsmasr.cmd file is run in this
              window. A second command window is opened (and minimized), which can be used for
              diagnostic purposes. The TSM client is silently installed.




54   IBM Tivoli Storage Manager: Bare Metal Restore for Windows
Figure 3-27 Decision point: restore from ITSM server or backup set

You are prompted to choose whether you want to restore from a network connected TSM
server (press 1) or a local backup set (press 2).




                          Chapter 3. Microsoft Windows automated system recovery with ITSM   55
Figure 3-28 ITSM server: requests userid and password

              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, for example,
              r:backupsetfile1.ost. You will be prompted for subsequent volumes if you your backup set
              occupies more than one volume.




56   IBM Tivoli Storage Manager: Bare Metal Restore for Windows
Figure 3-29 ITSM restores of multiple files

          ITSM commands are issued to restore the system drive.

          ITSM commands are issued to restore system state and system services on Windows 2003
          (system objects on Windows XP).

          The command file exits and the machine reboots. Remove the ITSM ASR diskette from the
          drive. After rebooting, the operating system will come up in a fully recovered state.

          Recovery of user data and applications can now be performed using traditional ITSM restore
          facilities.


3.2.4 Common errors in restore process
          Invalid order of backup
          If you completed the incremental prior to doing the ASR backup then the SMSS.asr and the
          NTDLL.ASR files will not be backed up on the incremental backup. The following error will
          occur:
                 Setup was unable to start the recovery application
                    “C:windowstemptsmasr.cmd /sifpath=C:windowsrepairasr.sif”. The error code
                    returned was 0x2.

          Follow these instructions to recover the system from this error:
          1. Find another machine running the same maintenance level of Windows as the system you
             wish to recover.



                                     Chapter 3. Microsoft Windows automated system recovery with ITSM   57
2. Copy the SMSS.ASR and NTDLL.ASR files from the WINDOWSREPAIR directory of that
                 machine to a diskette.
              3. Re-run the ASR recovery process to the point where the TSM ASR recovery script
                 prompts you for network or backupset recovery.
              4. Use the minimized command window (shown at the bottom of Figure 3-29) to copy the
                 files to the machine being recovered. For example:
                  COPY A:*.ASR C:WINDOWSREPAIR
              5. Return to the recovery window and resume the recovery process.

                   Note: This error should only become an issue during testing as the normal state of
                   events will ensure that once you have done an ASR backup once the files will have
                   been created and backed up. It is, however, important to recognize this error.




              Figure 3-30 Diagnostic command window

              The diagnostic command window is available if you need to display or edit files. This facility is
              within a DOS prompt, and is first available when Windows ASR installs IBM Tivoli Storage
              Manager. See Figure 3-26 on page 54.

              No ASR diskette available
              If you did not create the ASR diskette prior to needing it for the ASR, then you will need to
              create a new ASR diskette on another machine, and insert the virtualnodename parameter in
              the tsmasr.opt file on the newly created diskette.

              The virtualnodename option specifies the node name of your workstation when you want to
              restore or retrieve files to a different workstation.

58   IBM Tivoli Storage Manager: Bare Metal Restore for Windows
When you use the virtualnodename option in your client options file, or with a command:
1. You must specify the name you specified with the nodename option in your client options
   file (tsmasr.opt). This name should be different from the name returned by the hostname
   command on your workstation.
2. Tivoli Storage Manager prompts for the password assigned to the node you specify, if a
   password is required. If you enter the correct password, you have access to all backups
   and archives that originated from the specified node.

When connecting to a server, the client must identity itself to the server. This login
identification is determined in the following ways:
   If the nodename and virtualnodename options are not specified, or a virtual node name
   is not specified on the command line, the default login ID is the name returned by the
   hostname command.
   If the nodename option is specified, the name specified with the nodename option
   overrides the name returned by the hostname command.
   If the virtualnodename option is specified, or a virtual node name is specified on a
   command line, it cannot be the same name as the name returned by the hostname
   command.

When the virtual node name is accepted by the server, a password is required (assuming
authentication is on), even if the passwordaccess option is generate. The password is not
stored in the registry even when the passwordaccess option is set to generate. Once a
connection to the server is established, then access is permitted to any file backed up using
this login ID:

Syntax
>>-VIRTUALNodename- nodename-----------------------------------><

You will also need to change the tsmasr.cmd file to ensure that the restore commands point to
the correct file spaces for the machine that you are restoring. Here is an example of a
TSMASR.CMD file, which restores the nodename IBM-JAMES. Each occurrence of this node
name has to be altered to the node name required for the machine restore:
      @start "IBM Tivoli Storage Manager" /MIN cmd.exe
      @echo off
      @title IBM Tivoli Storage Manager
      @echo Windows ASR is installing TSM. Please wait for installation to complete.
      %SystemRoot%temptsmcli.exe -s -e setup.exe -a /s
      /v"INSTALLDIR="%SystemRoot%temp~tsmasr" ADDLOCAL="Client"
      TRANSFORM="C:tsm_imagesTSM_BA_CLIENT1033.mst" /qn /l*v
      "C:WINDOWSrepairtsmasrsetup.log" RebootYesNo="No" REBOOT="Suppress"
      ALLUSERS=1 "
      %SystemRoot%tempwaitforevent.exe 600
      Diagnostics
      REM pause
      pushd %SystemRoot%temp~tsmasrbaclient
      copy %SystemRoot%temptsmasr.opt >nul
      @echo Do you wish to perform Automated Service Recovery (ASR) restore from the TSM
      server or from a local backup set?
      @echo 1. Restore from the TSM server.
      @echo 2. Restore from a local backup set.
      :choice
      set /P CH=
      if /I "%CH%"=="1" goto NETWORK
      if /I "%CH%"=="2" goto BACKUPSET
      goto choice


                          Chapter 3. Microsoft Windows automated system recovery with ITSM   59
:NETWORK
                     dsmc restore IBM-JAMESC$ C: -subdir=yes -preservepath=complete -replace=all
                     -tapeprompt=no -nodename=IBM-JAMES -optfile=tsmasr.opt
                     dsmc restore systemstate -asrmode=yes -nodename=IBM-JAMES -computername=IBM-JAMES
                     -optfile=tsmasr.opt
                     dsmc restore systemservices -asrmode=yes -nodename=IBM-JAMES -computername=IBM-JAMES
                     -optfile=tsmasr.opt
                     REM Diagnostics
                     dsmc query backup ibm-jamesc$WINDOWSrepair*.asr -asrmode=yes
                     -nodename=IBM-JAMES -optfile=tsmasr.opt >tsmasrdiag.txt
                     REM dsmc query backup ibm-jamesc$WINDOWSrepair*.asr -asrmode=yes
                     -nodename=IBM-JAMES -optfile=tsmasr.opt >a:tsmasrdiag.txt
                     @GOTO DONE
                     :BACKUPSET
                     dsmc restore backupset TSMASR IBM-JAMESC$ C: -asrmode=yes -subdir=yes
                     -preservepath=complete -replace=all -tapeprompt=no -nodename=IBM-JAMES
                     -location=file -optfile=tsmasr.opt
                     dsmc restore backupset TSMASR systemstate -asrmode=yes -nodename=IBM-JAMES
                     -location=file -replace=all -computername=IBM-JAMES -optfile=tsmasr.opt
                     dsmc restore backupset TSMASR systemservices -asrmode=yes -nodename=IBM-JAMES
                     -location=file -replace=all -computername=IBM-JAMES -optfile=tsmasr.opt
                     :DONE
                     @echo on




60   IBM Tivoli Storage Manager: Bare Metal Restore for Windows
A


  Appendix A.    Slipstreaming Windows XP
                 Service Pack 1a
                 In this appendix we will discuss the creation of a Windows SP1a bootable CD from your
                 original Windows XP CD, and the Service Pack (SP1a) available on the Microsoft Web site.

                 Slipstreaming a Service Pack is the process utilized to integrate the Service Pack into the
                 installation, so that with every new installation the operating system and Service Pack are
                 installed at the same time.




© Copyright IBM Corp. 2003. All rights reserved.                                                               61
Ibm tivoli storage manager bare machine recovery for microsoft windows 2003 and xp redp3703
Ibm tivoli storage manager bare machine recovery for microsoft windows 2003 and xp redp3703
Ibm tivoli storage manager bare machine recovery for microsoft windows 2003 and xp redp3703
Ibm tivoli storage manager bare machine recovery for microsoft windows 2003 and xp redp3703
Ibm tivoli storage manager bare machine recovery for microsoft windows 2003 and xp redp3703

Weitere ähnliche Inhalte

Was ist angesagt?

Automation using tivoli net view os 390 v1r3 and system automation os-390 v1r...
Automation using tivoli net view os 390 v1r3 and system automation os-390 v1r...Automation using tivoli net view os 390 v1r3 and system automation os-390 v1r...
Automation using tivoli net view os 390 v1r3 and system automation os-390 v1r...Banking at Ho Chi Minh city
 
Ibm information archive architecture and deployment sg247843
Ibm information archive architecture and deployment sg247843Ibm information archive architecture and deployment sg247843
Ibm information archive architecture and deployment sg247843Banking at Ho Chi Minh city
 
Deployment guide series ibm tivoli composite application manager for web sphe...
Deployment guide series ibm tivoli composite application manager for web sphe...Deployment guide series ibm tivoli composite application manager for web sphe...
Deployment guide series ibm tivoli composite application manager for web sphe...Banking at Ho Chi Minh city
 
Integrating backup recovery and media services and ibm tivoli storage manager...
Integrating backup recovery and media services and ibm tivoli storage manager...Integrating backup recovery and media services and ibm tivoli storage manager...
Integrating backup recovery and media services and ibm tivoli storage manager...Banking at Ho Chi Minh city
 
Backing up db2 using ibm tivoli storage management sg246247
Backing up db2 using ibm tivoli storage management sg246247Backing up db2 using ibm tivoli storage management sg246247
Backing up db2 using ibm tivoli storage management sg246247Banking at Ho Chi Minh city
 
Windows nt backup and recovery with adsm sg242231
Windows nt backup and recovery with adsm sg242231Windows nt backup and recovery with adsm sg242231
Windows nt backup and recovery with adsm sg242231Banking at Ho Chi Minh city
 
Redbook: Running IBM WebSphere Application Server on System p and AIX: Optimi...
Redbook: Running IBM WebSphere Application Server on System p and AIX: Optimi...Redbook: Running IBM WebSphere Application Server on System p and AIX: Optimi...
Redbook: Running IBM WebSphere Application Server on System p and AIX: Optimi...Monty Poppe
 
An introduction to tivoli net view for os 390 v1r2 sg245224
An introduction to tivoli net view for os 390 v1r2 sg245224An introduction to tivoli net view for os 390 v1r2 sg245224
An introduction to tivoli net view for os 390 v1r2 sg245224Banking at Ho Chi Minh city
 
Migrating to netcool precision for ip networks --best practices for migrating...
Migrating to netcool precision for ip networks --best practices for migrating...Migrating to netcool precision for ip networks --best practices for migrating...
Migrating to netcool precision for ip networks --best practices for migrating...Banking at Ho Chi Minh city
 
Ibm tivoli security solutions for microsoft software environments redp4430
Ibm tivoli security solutions for microsoft software environments redp4430Ibm tivoli security solutions for microsoft software environments redp4430
Ibm tivoli security solutions for microsoft software environments redp4430Banking at Ho Chi Minh city
 
Ibm tivoli monitoring for network performance v2.1 the mainframe network mana...
Ibm tivoli monitoring for network performance v2.1 the mainframe network mana...Ibm tivoli monitoring for network performance v2.1 the mainframe network mana...
Ibm tivoli monitoring for network performance v2.1 the mainframe network mana...Banking at Ho Chi Minh city
 
Certification study guide for ibm tivoli configuration manager 4.2 redp3946
Certification study guide for ibm tivoli configuration manager 4.2 redp3946Certification study guide for ibm tivoli configuration manager 4.2 redp3946
Certification study guide for ibm tivoli configuration manager 4.2 redp3946Banking at Ho Chi Minh city
 
Deployment guide series ibm total storage productivity center for data sg247140
Deployment guide series ibm total storage productivity center for data sg247140Deployment guide series ibm total storage productivity center for data sg247140
Deployment guide series ibm total storage productivity center for data sg247140Banking at Ho Chi Minh city
 
Proof of concept guide for ibm tivoli storage manager version 5.3 sg246762
Proof of concept guide for ibm tivoli storage manager version 5.3 sg246762Proof of concept guide for ibm tivoli storage manager version 5.3 sg246762
Proof of concept guide for ibm tivoli storage manager version 5.3 sg246762Banking at Ho Chi Minh city
 

Was ist angesagt? (15)

Automation using tivoli net view os 390 v1r3 and system automation os-390 v1r...
Automation using tivoli net view os 390 v1r3 and system automation os-390 v1r...Automation using tivoli net view os 390 v1r3 and system automation os-390 v1r...
Automation using tivoli net view os 390 v1r3 and system automation os-390 v1r...
 
Ibm information archive architecture and deployment sg247843
Ibm information archive architecture and deployment sg247843Ibm information archive architecture and deployment sg247843
Ibm information archive architecture and deployment sg247843
 
Deployment guide series ibm tivoli composite application manager for web sphe...
Deployment guide series ibm tivoli composite application manager for web sphe...Deployment guide series ibm tivoli composite application manager for web sphe...
Deployment guide series ibm tivoli composite application manager for web sphe...
 
Integrating backup recovery and media services and ibm tivoli storage manager...
Integrating backup recovery and media services and ibm tivoli storage manager...Integrating backup recovery and media services and ibm tivoli storage manager...
Integrating backup recovery and media services and ibm tivoli storage manager...
 
Backing up db2 using ibm tivoli storage management sg246247
Backing up db2 using ibm tivoli storage management sg246247Backing up db2 using ibm tivoli storage management sg246247
Backing up db2 using ibm tivoli storage management sg246247
 
Windows nt backup and recovery with adsm sg242231
Windows nt backup and recovery with adsm sg242231Windows nt backup and recovery with adsm sg242231
Windows nt backup and recovery with adsm sg242231
 
Redbook: Running IBM WebSphere Application Server on System p and AIX: Optimi...
Redbook: Running IBM WebSphere Application Server on System p and AIX: Optimi...Redbook: Running IBM WebSphere Application Server on System p and AIX: Optimi...
Redbook: Running IBM WebSphere Application Server on System p and AIX: Optimi...
 
An introduction to tivoli net view for os 390 v1r2 sg245224
An introduction to tivoli net view for os 390 v1r2 sg245224An introduction to tivoli net view for os 390 v1r2 sg245224
An introduction to tivoli net view for os 390 v1r2 sg245224
 
Migrating to netcool precision for ip networks --best practices for migrating...
Migrating to netcool precision for ip networks --best practices for migrating...Migrating to netcool precision for ip networks --best practices for migrating...
Migrating to netcool precision for ip networks --best practices for migrating...
 
Ibm tivoli security solutions for microsoft software environments redp4430
Ibm tivoli security solutions for microsoft software environments redp4430Ibm tivoli security solutions for microsoft software environments redp4430
Ibm tivoli security solutions for microsoft software environments redp4430
 
Ibm tivoli monitoring for network performance v2.1 the mainframe network mana...
Ibm tivoli monitoring for network performance v2.1 the mainframe network mana...Ibm tivoli monitoring for network performance v2.1 the mainframe network mana...
Ibm tivoli monitoring for network performance v2.1 the mainframe network mana...
 
Certification study guide for ibm tivoli configuration manager 4.2 redp3946
Certification study guide for ibm tivoli configuration manager 4.2 redp3946Certification study guide for ibm tivoli configuration manager 4.2 redp3946
Certification study guide for ibm tivoli configuration manager 4.2 redp3946
 
Deployment guide series ibm total storage productivity center for data sg247140
Deployment guide series ibm total storage productivity center for data sg247140Deployment guide series ibm total storage productivity center for data sg247140
Deployment guide series ibm total storage productivity center for data sg247140
 
Proof of concept guide for ibm tivoli storage manager version 5.3 sg246762
Proof of concept guide for ibm tivoli storage manager version 5.3 sg246762Proof of concept guide for ibm tivoli storage manager version 5.3 sg246762
Proof of concept guide for ibm tivoli storage manager version 5.3 sg246762
 
Ibm total storage san file system sg247057
Ibm total storage san file system sg247057Ibm total storage san file system sg247057
Ibm total storage san file system sg247057
 

Ähnlich wie Ibm tivoli storage manager bare machine recovery for microsoft windows 2003 and xp redp3703

Ibm total storage nas backup and recovery solutions sg246831
Ibm total storage nas backup and recovery solutions sg246831Ibm total storage nas backup and recovery solutions sg246831
Ibm total storage nas backup and recovery solutions sg246831Banking at Ho Chi Minh city
 
Disaster recovery solutions for ibm total storage san file system sg247157
Disaster recovery solutions for ibm total storage san file system sg247157Disaster recovery solutions for ibm total storage san file system sg247157
Disaster recovery solutions for ibm total storage san file system sg247157Banking at Ho Chi Minh city
 
Disaster recovery solutions for ibm total storage san file system sg247157
Disaster recovery solutions for ibm total storage san file system sg247157Disaster recovery solutions for ibm total storage san file system sg247157
Disaster recovery solutions for ibm total storage san file system sg247157Banking at Ho Chi Minh city
 
Ibm system storage solutions handbook
Ibm system storage solutions handbook Ibm system storage solutions handbook
Ibm system storage solutions handbook Diego Alberto Tamayo
 
Implementing the ibm system storage san32 b e4 encryption switch - sg247922
Implementing the ibm system storage san32 b e4 encryption switch - sg247922Implementing the ibm system storage san32 b e4 encryption switch - sg247922
Implementing the ibm system storage san32 b e4 encryption switch - sg247922Banking at Ho Chi Minh city
 
Ibm virtual disk system quickstart guide sg247794
Ibm virtual disk system quickstart guide sg247794Ibm virtual disk system quickstart guide sg247794
Ibm virtual disk system quickstart guide sg247794Banking at Ho Chi Minh city
 
Large scale implementation of ibm tivoli composite application manager for we...
Large scale implementation of ibm tivoli composite application manager for we...Large scale implementation of ibm tivoli composite application manager for we...
Large scale implementation of ibm tivoli composite application manager for we...Banking at Ho Chi Minh city
 
Backing up db2 using ibm tivoli storage management sg246247
Backing up db2 using ibm tivoli storage management sg246247Backing up db2 using ibm tivoli storage management sg246247
Backing up db2 using ibm tivoli storage management sg246247Banking at Ho Chi Minh city
 
Implementing the ibm storwize v3700
Implementing the ibm storwize v3700Implementing the ibm storwize v3700
Implementing the ibm storwize v3700Diego Alberto Tamayo
 
DB2 10 for Linux on System z Using z/VM v6.2, Single System Image Clusters an...
DB2 10 for Linux on System z Using z/VM v6.2, Single System Image Clusters an...DB2 10 for Linux on System z Using z/VM v6.2, Single System Image Clusters an...
DB2 10 for Linux on System z Using z/VM v6.2, Single System Image Clusters an...IBM India Smarter Computing
 
Implementing Systems Management of IBM PureFlex System
Implementing Systems Management of IBM PureFlex SystemImplementing Systems Management of IBM PureFlex System
Implementing Systems Management of IBM PureFlex SystemIBM India Smarter Computing
 
Backing up web sphere application server with tivoli storage management redp0149
Backing up web sphere application server with tivoli storage management redp0149Backing up web sphere application server with tivoli storage management redp0149
Backing up web sphere application server with tivoli storage management redp0149Banking at Ho Chi Minh city
 
BOOK - IBM Security on ibm z vse
BOOK - IBM Security on ibm z vseBOOK - IBM Security on ibm z vse
BOOK - IBM Security on ibm z vseSatya Harish
 
Introducing and Implementing IBM FlashSystem V9000
Introducing and Implementing IBM FlashSystem V9000Introducing and Implementing IBM FlashSystem V9000
Introducing and Implementing IBM FlashSystem V9000Michael Martin
 
Certification guide series ibm tivoli provisioning manager express for softwa...
Certification guide series ibm tivoli provisioning manager express for softwa...Certification guide series ibm tivoli provisioning manager express for softwa...
Certification guide series ibm tivoli provisioning manager express for softwa...Banking at Ho Chi Minh city
 
Deployment guide series ibm tivoli composite application manager for web sphe...
Deployment guide series ibm tivoli composite application manager for web sphe...Deployment guide series ibm tivoli composite application manager for web sphe...
Deployment guide series ibm tivoli composite application manager for web sphe...Banking at Ho Chi Minh city
 

Ähnlich wie Ibm tivoli storage manager bare machine recovery for microsoft windows 2003 and xp redp3703 (20)

Ibm total storage nas backup and recovery solutions sg246831
Ibm total storage nas backup and recovery solutions sg246831Ibm total storage nas backup and recovery solutions sg246831
Ibm total storage nas backup and recovery solutions sg246831
 
Disaster recovery solutions for ibm total storage san file system sg247157
Disaster recovery solutions for ibm total storage san file system sg247157Disaster recovery solutions for ibm total storage san file system sg247157
Disaster recovery solutions for ibm total storage san file system sg247157
 
Disaster recovery solutions for ibm total storage san file system sg247157
Disaster recovery solutions for ibm total storage san file system sg247157Disaster recovery solutions for ibm total storage san file system sg247157
Disaster recovery solutions for ibm total storage san file system sg247157
 
Ibm system storage solutions handbook
Ibm system storage solutions handbook Ibm system storage solutions handbook
Ibm system storage solutions handbook
 
Implementing the ibm system storage san32 b e4 encryption switch - sg247922
Implementing the ibm system storage san32 b e4 encryption switch - sg247922Implementing the ibm system storage san32 b e4 encryption switch - sg247922
Implementing the ibm system storage san32 b e4 encryption switch - sg247922
 
Ibm virtual disk system quickstart guide sg247794
Ibm virtual disk system quickstart guide sg247794Ibm virtual disk system quickstart guide sg247794
Ibm virtual disk system quickstart guide sg247794
 
Large scale implementation of ibm tivoli composite application manager for we...
Large scale implementation of ibm tivoli composite application manager for we...Large scale implementation of ibm tivoli composite application manager for we...
Large scale implementation of ibm tivoli composite application manager for we...
 
Backing up db2 using ibm tivoli storage management sg246247
Backing up db2 using ibm tivoli storage management sg246247Backing up db2 using ibm tivoli storage management sg246247
Backing up db2 using ibm tivoli storage management sg246247
 
Sg248107 Implementing the IBM Storwize V3700
Sg248107 Implementing the IBM Storwize V3700Sg248107 Implementing the IBM Storwize V3700
Sg248107 Implementing the IBM Storwize V3700
 
Implementing the ibm storwize v3700
Implementing the ibm storwize v3700Implementing the ibm storwize v3700
Implementing the ibm storwize v3700
 
DB2 10 for Linux on System z Using z/VM v6.2, Single System Image Clusters an...
DB2 10 for Linux on System z Using z/VM v6.2, Single System Image Clusters an...DB2 10 for Linux on System z Using z/VM v6.2, Single System Image Clusters an...
DB2 10 for Linux on System z Using z/VM v6.2, Single System Image Clusters an...
 
Implementing Systems Management of IBM PureFlex System
Implementing Systems Management of IBM PureFlex SystemImplementing Systems Management of IBM PureFlex System
Implementing Systems Management of IBM PureFlex System
 
Backing up web sphere application server with tivoli storage management redp0149
Backing up web sphere application server with tivoli storage management redp0149Backing up web sphere application server with tivoli storage management redp0149
Backing up web sphere application server with tivoli storage management redp0149
 
BOOK - IBM Security on ibm z vse
BOOK - IBM Security on ibm z vseBOOK - IBM Security on ibm z vse
BOOK - IBM Security on ibm z vse
 
Introducing and Implementing IBM FlashSystem V9000
Introducing and Implementing IBM FlashSystem V9000Introducing and Implementing IBM FlashSystem V9000
Introducing and Implementing IBM FlashSystem V9000
 
Ibm total storage san file system sg247057
Ibm total storage san file system sg247057Ibm total storage san file system sg247057
Ibm total storage san file system sg247057
 
IBMRedbook
IBMRedbookIBMRedbook
IBMRedbook
 
Certification guide series ibm tivoli provisioning manager express for softwa...
Certification guide series ibm tivoli provisioning manager express for softwa...Certification guide series ibm tivoli provisioning manager express for softwa...
Certification guide series ibm tivoli provisioning manager express for softwa...
 
Deployment guide series ibm tivoli composite application manager for web sphe...
Deployment guide series ibm tivoli composite application manager for web sphe...Deployment guide series ibm tivoli composite application manager for web sphe...
Deployment guide series ibm tivoli composite application manager for web sphe...
 
Introducing ibm tivoli license manager sg246888
Introducing ibm tivoli license manager sg246888Introducing ibm tivoli license manager sg246888
Introducing ibm tivoli license manager sg246888
 

Mehr von Banking at Ho Chi Minh city

IBM MobileFirst Platform v7.0 POT Offers Lab v1.0
IBM MobileFirst Platform v7.0 POT Offers Lab v1.0IBM MobileFirst Platform v7.0 POT Offers Lab v1.0
IBM MobileFirst Platform v7.0 POT Offers Lab v1.0Banking at Ho Chi Minh city
 
IBM MobileFirst Platform v7.0 POT App Mgmt Lab v1.1
IBM MobileFirst Platform  v7.0 POT App Mgmt Lab v1.1IBM MobileFirst Platform  v7.0 POT App Mgmt Lab v1.1
IBM MobileFirst Platform v7.0 POT App Mgmt Lab v1.1Banking at Ho Chi Minh city
 
IBM MobileFirst Platform v7.0 POT Analytics v1.1
IBM MobileFirst Platform v7.0 POT Analytics v1.1IBM MobileFirst Platform v7.0 POT Analytics v1.1
IBM MobileFirst Platform v7.0 POT Analytics v1.1Banking at Ho Chi Minh city
 
IBM MobileFirst Platform Pot Sentiment Analysis v3
IBM MobileFirst Platform Pot Sentiment Analysis v3IBM MobileFirst Platform Pot Sentiment Analysis v3
IBM MobileFirst Platform Pot Sentiment Analysis v3Banking at Ho Chi Minh city
 
IBM MobileFirst Platform 7.0 POT InApp Feedback V0.1
IBM MobileFirst Platform 7.0 POT InApp Feedback V0.1IBM MobileFirst Platform 7.0 POT InApp Feedback V0.1
IBM MobileFirst Platform 7.0 POT InApp Feedback V0.1Banking at Ho Chi Minh city
 
Tme 10 cookbook for aix systems management and networking sg244867
Tme 10 cookbook for aix systems management and networking sg244867Tme 10 cookbook for aix systems management and networking sg244867
Tme 10 cookbook for aix systems management and networking sg244867Banking at Ho Chi Minh city
 
Tivoli data warehouse version 1.3 planning and implementation sg246343
Tivoli data warehouse version 1.3 planning and implementation sg246343Tivoli data warehouse version 1.3 planning and implementation sg246343
Tivoli data warehouse version 1.3 planning and implementation sg246343Banking at Ho Chi Minh city
 
Tivoli data warehouse 1.2 and business objects redp9116
Tivoli data warehouse 1.2 and business objects redp9116Tivoli data warehouse 1.2 and business objects redp9116
Tivoli data warehouse 1.2 and business objects redp9116Banking at Ho Chi Minh city
 
Tivoli business systems manager v2.1 end to-end business impact management sg...
Tivoli business systems manager v2.1 end to-end business impact management sg...Tivoli business systems manager v2.1 end to-end business impact management sg...
Tivoli business systems manager v2.1 end to-end business impact management sg...Banking at Ho Chi Minh city
 
Tape automation with ibm e server xseries servers redp0415
Tape automation with ibm e server xseries servers redp0415Tape automation with ibm e server xseries servers redp0415
Tape automation with ibm e server xseries servers redp0415Banking at Ho Chi Minh city
 
Tivoli storage productivity center v4.2 release guide sg247894
Tivoli storage productivity center v4.2 release guide sg247894Tivoli storage productivity center v4.2 release guide sg247894
Tivoli storage productivity center v4.2 release guide sg247894Banking at Ho Chi Minh city
 
Synchronizing data with ibm tivoli directory integrator 6.1 redp4317
Synchronizing data with ibm tivoli directory integrator 6.1 redp4317Synchronizing data with ibm tivoli directory integrator 6.1 redp4317
Synchronizing data with ibm tivoli directory integrator 6.1 redp4317Banking at Ho Chi Minh city
 

Mehr von Banking at Ho Chi Minh city (20)

Postgresql v15.1
Postgresql v15.1Postgresql v15.1
Postgresql v15.1
 
Postgresql v14.6 Document Guide
Postgresql v14.6 Document GuidePostgresql v14.6 Document Guide
Postgresql v14.6 Document Guide
 
IBM MobileFirst Platform v7.0 Pot Intro v0.1
IBM MobileFirst Platform v7.0 Pot Intro v0.1IBM MobileFirst Platform v7.0 Pot Intro v0.1
IBM MobileFirst Platform v7.0 Pot Intro v0.1
 
IBM MobileFirst Platform v7 Tech Overview
IBM MobileFirst Platform v7 Tech OverviewIBM MobileFirst Platform v7 Tech Overview
IBM MobileFirst Platform v7 Tech Overview
 
IBM MobileFirst Foundation Version Flyer v1.0
IBM MobileFirst Foundation Version Flyer v1.0IBM MobileFirst Foundation Version Flyer v1.0
IBM MobileFirst Foundation Version Flyer v1.0
 
IBM MobileFirst Platform v7.0 POT Offers Lab v1.0
IBM MobileFirst Platform v7.0 POT Offers Lab v1.0IBM MobileFirst Platform v7.0 POT Offers Lab v1.0
IBM MobileFirst Platform v7.0 POT Offers Lab v1.0
 
IBM MobileFirst Platform v7.0 pot intro v0.1
IBM MobileFirst Platform v7.0 pot intro v0.1IBM MobileFirst Platform v7.0 pot intro v0.1
IBM MobileFirst Platform v7.0 pot intro v0.1
 
IBM MobileFirst Platform v7.0 POT App Mgmt Lab v1.1
IBM MobileFirst Platform  v7.0 POT App Mgmt Lab v1.1IBM MobileFirst Platform  v7.0 POT App Mgmt Lab v1.1
IBM MobileFirst Platform v7.0 POT App Mgmt Lab v1.1
 
IBM MobileFirst Platform v7.0 POT Analytics v1.1
IBM MobileFirst Platform v7.0 POT Analytics v1.1IBM MobileFirst Platform v7.0 POT Analytics v1.1
IBM MobileFirst Platform v7.0 POT Analytics v1.1
 
IBM MobileFirst Platform Pot Sentiment Analysis v3
IBM MobileFirst Platform Pot Sentiment Analysis v3IBM MobileFirst Platform Pot Sentiment Analysis v3
IBM MobileFirst Platform Pot Sentiment Analysis v3
 
IBM MobileFirst Platform 7.0 POT InApp Feedback V0.1
IBM MobileFirst Platform 7.0 POT InApp Feedback V0.1IBM MobileFirst Platform 7.0 POT InApp Feedback V0.1
IBM MobileFirst Platform 7.0 POT InApp Feedback V0.1
 
Tme 10 cookbook for aix systems management and networking sg244867
Tme 10 cookbook for aix systems management and networking sg244867Tme 10 cookbook for aix systems management and networking sg244867
Tme 10 cookbook for aix systems management and networking sg244867
 
Tivoli firewall magic redp0227
Tivoli firewall magic redp0227Tivoli firewall magic redp0227
Tivoli firewall magic redp0227
 
Tivoli data warehouse version 1.3 planning and implementation sg246343
Tivoli data warehouse version 1.3 planning and implementation sg246343Tivoli data warehouse version 1.3 planning and implementation sg246343
Tivoli data warehouse version 1.3 planning and implementation sg246343
 
Tivoli data warehouse 1.2 and business objects redp9116
Tivoli data warehouse 1.2 and business objects redp9116Tivoli data warehouse 1.2 and business objects redp9116
Tivoli data warehouse 1.2 and business objects redp9116
 
Tivoli business systems manager v2.1 end to-end business impact management sg...
Tivoli business systems manager v2.1 end to-end business impact management sg...Tivoli business systems manager v2.1 end to-end business impact management sg...
Tivoli business systems manager v2.1 end to-end business impact management sg...
 
Tec implementation examples sg245216
Tec implementation examples sg245216Tec implementation examples sg245216
Tec implementation examples sg245216
 
Tape automation with ibm e server xseries servers redp0415
Tape automation with ibm e server xseries servers redp0415Tape automation with ibm e server xseries servers redp0415
Tape automation with ibm e server xseries servers redp0415
 
Tivoli storage productivity center v4.2 release guide sg247894
Tivoli storage productivity center v4.2 release guide sg247894Tivoli storage productivity center v4.2 release guide sg247894
Tivoli storage productivity center v4.2 release guide sg247894
 
Synchronizing data with ibm tivoli directory integrator 6.1 redp4317
Synchronizing data with ibm tivoli directory integrator 6.1 redp4317Synchronizing data with ibm tivoli directory integrator 6.1 redp4317
Synchronizing data with ibm tivoli directory integrator 6.1 redp4317
 

Kürzlich hochgeladen

Genislab builds better products and faster go-to-market with Lean project man...
Genislab builds better products and faster go-to-market with Lean project man...Genislab builds better products and faster go-to-market with Lean project man...
Genislab builds better products and faster go-to-market with Lean project man...Farhan Tariq
 
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...Wes McKinney
 
Time Series Foundation Models - current state and future directions
Time Series Foundation Models - current state and future directionsTime Series Foundation Models - current state and future directions
Time Series Foundation Models - current state and future directionsNathaniel Shimoni
 
Modern Roaming for Notes and Nomad – Cheaper Faster Better Stronger
Modern Roaming for Notes and Nomad – Cheaper Faster Better StrongerModern Roaming for Notes and Nomad – Cheaper Faster Better Stronger
Modern Roaming for Notes and Nomad – Cheaper Faster Better Strongerpanagenda
 
A Framework for Development in the AI Age
A Framework for Development in the AI AgeA Framework for Development in the AI Age
A Framework for Development in the AI AgeCprime
 
Take control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteTake control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteDianaGray10
 
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxA Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxLoriGlavin3
 
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptxPasskey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptxLoriGlavin3
 
From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .Alan Dix
 
The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsThe Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsPixlogix Infotech
 
Generative Artificial Intelligence: How generative AI works.pdf
Generative Artificial Intelligence: How generative AI works.pdfGenerative Artificial Intelligence: How generative AI works.pdf
Generative Artificial Intelligence: How generative AI works.pdfIngrid Airi González
 
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024BookNet Canada
 
So einfach geht modernes Roaming fuer Notes und Nomad.pdf
So einfach geht modernes Roaming fuer Notes und Nomad.pdfSo einfach geht modernes Roaming fuer Notes und Nomad.pdf
So einfach geht modernes Roaming fuer Notes und Nomad.pdfpanagenda
 
Scale your database traffic with Read & Write split using MySQL Router
Scale your database traffic with Read & Write split using MySQL RouterScale your database traffic with Read & Write split using MySQL Router
Scale your database traffic with Read & Write split using MySQL RouterMydbops
 
Manual 508 Accessibility Compliance Audit
Manual 508 Accessibility Compliance AuditManual 508 Accessibility Compliance Audit
Manual 508 Accessibility Compliance AuditSkynet Technologies
 
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxThe Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxLoriGlavin3
 
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc
 
Why device, WIFI, and ISP insights are crucial to supporting remote Microsoft...
Why device, WIFI, and ISP insights are crucial to supporting remote Microsoft...Why device, WIFI, and ISP insights are crucial to supporting remote Microsoft...
Why device, WIFI, and ISP insights are crucial to supporting remote Microsoft...panagenda
 
Connecting the Dots for Information Discovery.pdf
Connecting the Dots for Information Discovery.pdfConnecting the Dots for Information Discovery.pdf
Connecting the Dots for Information Discovery.pdfNeo4j
 
Emixa Mendix Meetup 11 April 2024 about Mendix Native development
Emixa Mendix Meetup 11 April 2024 about Mendix Native developmentEmixa Mendix Meetup 11 April 2024 about Mendix Native development
Emixa Mendix Meetup 11 April 2024 about Mendix Native developmentPim van der Noll
 

Kürzlich hochgeladen (20)

Genislab builds better products and faster go-to-market with Lean project man...
Genislab builds better products and faster go-to-market with Lean project man...Genislab builds better products and faster go-to-market with Lean project man...
Genislab builds better products and faster go-to-market with Lean project man...
 
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...
 
Time Series Foundation Models - current state and future directions
Time Series Foundation Models - current state and future directionsTime Series Foundation Models - current state and future directions
Time Series Foundation Models - current state and future directions
 
Modern Roaming for Notes and Nomad – Cheaper Faster Better Stronger
Modern Roaming for Notes and Nomad – Cheaper Faster Better StrongerModern Roaming for Notes and Nomad – Cheaper Faster Better Stronger
Modern Roaming for Notes and Nomad – Cheaper Faster Better Stronger
 
A Framework for Development in the AI Age
A Framework for Development in the AI AgeA Framework for Development in the AI Age
A Framework for Development in the AI Age
 
Take control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteTake control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test Suite
 
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxA Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
 
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptxPasskey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
 
From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .
 
The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsThe Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and Cons
 
Generative Artificial Intelligence: How generative AI works.pdf
Generative Artificial Intelligence: How generative AI works.pdfGenerative Artificial Intelligence: How generative AI works.pdf
Generative Artificial Intelligence: How generative AI works.pdf
 
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
 
So einfach geht modernes Roaming fuer Notes und Nomad.pdf
So einfach geht modernes Roaming fuer Notes und Nomad.pdfSo einfach geht modernes Roaming fuer Notes und Nomad.pdf
So einfach geht modernes Roaming fuer Notes und Nomad.pdf
 
Scale your database traffic with Read & Write split using MySQL Router
Scale your database traffic with Read & Write split using MySQL RouterScale your database traffic with Read & Write split using MySQL Router
Scale your database traffic with Read & Write split using MySQL Router
 
Manual 508 Accessibility Compliance Audit
Manual 508 Accessibility Compliance AuditManual 508 Accessibility Compliance Audit
Manual 508 Accessibility Compliance Audit
 
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxThe Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
 
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
 
Why device, WIFI, and ISP insights are crucial to supporting remote Microsoft...
Why device, WIFI, and ISP insights are crucial to supporting remote Microsoft...Why device, WIFI, and ISP insights are crucial to supporting remote Microsoft...
Why device, WIFI, and ISP insights are crucial to supporting remote Microsoft...
 
Connecting the Dots for Information Discovery.pdf
Connecting the Dots for Information Discovery.pdfConnecting the Dots for Information Discovery.pdf
Connecting the Dots for Information Discovery.pdf
 
Emixa Mendix Meetup 11 April 2024 about Mendix Native development
Emixa Mendix Meetup 11 April 2024 about Mendix Native developmentEmixa Mendix Meetup 11 April 2024 about Mendix Native development
Emixa Mendix Meetup 11 April 2024 about Mendix Native development
 

Ibm tivoli storage manager bare machine recovery for microsoft windows 2003 and xp redp3703

  • 1. Front cover IBM Tivoli Storage Manager: Bare Machine Recovery for Microsoft Windows 2003 and XP Use built-in APIs provided by Windows to protect your system See how Windows ASR integrates with ITSM Learn how to configure your system for recovery Barry Kadleck David McFarlane Pracha Pechsuksan Wah Han Tan ibm.com/redbooks Redpaper
  • 2.
  • 3. International Technical Support Organization IBM Tivoli Storage Manager: Bare Machine Recovery for Microsoft Windows 2003 and XP October 2003
  • 4. Note: Before using this information and the product it supports, read the information in “Notices” on page v. First Edition (October 2003) This edition applies to IBM Tivoli Storage Manager V5.2 and above. Note: This book is based on a pre-GA version of a product and may not apply when the product becomes generally available. We recommend that you consult the product documentation or follow-on versions of this redbook for more current information. © Copyright International Business Machines Corporation 2003. All rights reserved. Note to U.S. Government Users Restricted Rights -- Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
  • 5. Contents Notices . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .v Trademarks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . vi Preface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . vii The team that wrote this Redpaper . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . vii Become a published author . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . vii Comments welcome. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . vii Chapter 1. Introduction. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 1.1 IBM Tivoli Storage Manager concepts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2 1.2 IBM Tivoli Storage Manager functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3 1.2.1 Restore and backup functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3 1.2.2 Archive and retrieve functions. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3 1.2.3 Managing backups, archives, other data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3 1.2.4 Administrative overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4 1.2.5 Hints and tips for command line, registration, and timeout . . . . . . . . . . . . . . . . . . . 9 Chapter 2. Setting up IBM Tivoli Storage Manager for BMR . . . . . . . . . . . . . . . . . . . . . 11 2.1 Prerequisites and considerations in using ASR . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12 2.1.1 Hardware requirements. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12 2.1.2 Software requirements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13 2.1.3 Supported configurations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13 2.2 Installation of the ITSM client on your Windows environment. . . . . . . . . . . . . . . . . . . . 13 2.3 Customization of the ITSM client . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14 2.3.1 TSM Backup/Archive Client . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15 2.3.2 Online image support . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15 2.3.3 Open file support. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15 2.4 Performing ITSM backups for ASR with Windows XP . . . . . . . . . . . . . . . . . . . . . . . . . 16 2.4.1 ASR backup . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16 2.4.2 SYSTEMOBJECT backup. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18 2.4.3 Incremental backup. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19 2.4.4 Copy ASR backup to diskette . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21 2.5 Performing ITSM backups for ASR with Windows 2003 . . . . . . . . . . . . . . . . . . . . . . . . 22 2.5.1 ASR backup . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23 2.5.2 System services and system state backups . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24 2.5.3 Incremental backup. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25 2.5.4 Copy ASR backup to diskette . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28 Chapter 3. Microsoft Windows automated system recovery with ITSM . . . . . . . . . . . 31 3.1 Recovering a Microsoft XP image using ASR and ITSM . . . . . . . . . . . . . . . . . . . . . . . 32 3.1.1 Prerequisites . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32 3.1.2 The Windows XP Professional recovery process . . . . . . . . . . . . . . . . . . . . . . . . . 33 3.1.3 Windows XP Professional recovery example . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34 3.1.4 Common Errors in restore process . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43 3.2 Recovering a Microsoft 2003 image using ASR and ITSM . . . . . . . . . . . . . . . . . . . . . . 46 3.2.1 Prerequisites . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 46 3.2.2 The recovery process for Windows 2003 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 48 3.2.3 Windows 2003 recovery example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 48 3.2.4 Common errors in restore process . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 57 © Copyright IBM Corp. 2003. All rights reserved. iii
  • 6. Appendix A. Slipstreaming Windows XP Service Pack 1a . . . . . . . . . . . . . . . . . . . . . . 61 Slipstreaming . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 62 Slipstream Windows XP Service Pack 1a . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 62 iv IBM Tivoli Storage Manager: Bare Metal Restore for Windows
  • 7. Notices This information was developed for products and services offered in the U.S.A. IBM may not offer the products, services, or features discussed in this document in other countries. Consult your local IBM representative for information on the products and services currently available in your area. Any reference to an IBM product, program, or service is not intended to state or imply that only that IBM product, program, or service may be used. Any functionally equivalent product, program, or service that does not infringe any IBM intellectual property right may be used instead. However, it is the user's responsibility to evaluate and verify the operation of any non-IBM product, program, or service. IBM may have patents or pending patent applications covering subject matter described in this document. The furnishing of this document does not give you any license to these patents. You can send license inquiries, in writing, to: IBM Director of Licensing, IBM Corporation, North Castle Drive Armonk, NY 10504-1785 U.S.A. The following paragraph does not apply to the United Kingdom or any other country where such provisions are inconsistent with local law: INTERNATIONAL BUSINESS MACHINES CORPORATION PROVIDES THIS PUBLICATION "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF NON-INFRINGEMENT, MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Some states do not allow disclaimer of express or implied warranties in certain transactions, therefore, this statement may not apply to you. This information could include technical inaccuracies or typographical errors. Changes are periodically made to the information herein; these changes will be incorporated in new editions of the publication. IBM may make improvements and/or changes in the product(s) and/or the program(s) described in this publication at any time without notice. Any references in this information to non-IBM Web sites are provided for convenience only and do not in any manner serve as an endorsement of those Web sites. The materials at those Web sites are not part of the materials for this IBM product and use of those Web sites is at your own risk. IBM may use or distribute any of the information you supply in any way it believes appropriate without incurring any obligation to you. Information concerning non-IBM products was obtained from the suppliers of those products, their published announcements or other publicly available sources. IBM has not tested those products and cannot confirm the accuracy of performance, compatibility or any other claims related to non-IBM products. Questions on the capabilities of non-IBM products should be addressed to the suppliers of those products. This information contains examples of data and reports used in daily business operations. To illustrate them as completely as possible, the examples include the names of individuals, companies, brands, and products. All of these names are fictitious and any similarity to the names and addresses used by an actual business enterprise is entirely coincidental. COPYRIGHT LICENSE: This information contains sample application programs in source language, which illustrates programming techniques on various operating platforms. You may copy, modify, and distribute these sample programs in any form without payment to IBM, for the purposes of developing, using, marketing or distributing application programs conforming to the application programming interface for the operating platform for which the sample programs are written. These examples have not been thoroughly tested under all conditions. IBM, therefore, cannot guarantee or imply reliability, serviceability, or function of these programs. You may copy, modify, and distribute these sample programs in any form without payment to IBM for the purposes of developing, using, marketing, or distributing application programs conforming to IBM's application programming interfaces. © Copyright IBM Corp. 2003. All rights reserved. v
  • 8. Trademarks The following terms are trademarks of the International Business Machines Corporation in the United States, other countries, or both: IBM ™ IBM® Tivoli® pSeries® Rational® TotalStorage® AIX® Redbooks™ Redbooks(logo) ™ GDPS® SP1® HACMP/6000™ SP2® The following terms are trademarks of other companies: ActionMedia, LANDesk, MMX, Pentium and ProShare are trademarks of Intel Corporation in the United States, other countries, or both. Microsoft, Windows, Windows NT, and the Windows logo are trademarks of Microsoft Corporation in the United States, other countries, or both. Java and all Java-based trademarks and logos are trademarks or registered trademarks of Sun Microsystems, Inc. in the United States, other countries, or both. C-bus is a trademark of Corollary, Inc. in the United States, other countries, or both. UNIX is a registered trademark of The Open Group in the United States and other countries. SET, SET Secure Electronic Transaction, and the SET Logo are trademarks owned by SET Secure Electronic Transaction LLC. Other company, product, and service names may be trademarks or service marks of others. vi IBM Tivoli Storage Manager: Bare Metal Restore for Windows
  • 9. Preface This Redpaper will help you install, tailor, and configure Microsoft Windows Automated System Recovery (ASR) features with IBM® Tivoli® Storage Manager (ITSM) to protect your systems from catastrophic failures. The team that wrote this Redpaper This Redpaper was produced by a team of specialists from around the world working at the International Technical Support Organization, San Jose Center. Barry Kadleck is responsible for tape and Tivoli Storage projects at the International Technical Support Organization, San Jose. He has a degree in Electronic Engineering and joined IBM U.K. in 1985. He has been working with storage software and hardware for the last 10 years. Before joining the ITSO in 2001, Barry worked at the Product Introduction Consultancy in Hursley, U.K. as a Program Manager, introducing new Tivoli Storage products into Europe. David McFarlane is a Technical Solutions Architect in Australia. He has 19 years of experience in the I/T industry. His areas of expertise include storage management, VTS, and z/series solutions. He has participated in two other ITSO residencies: IBM TotalStorage Virtual Tape server: Planning, Implementing and Monitoring, SG24-2229-04, and produced course materials for “GDPS®, XRC, PPRC,VTS Peer to Peer”. Pracha Pechsuksan is an I/T Specialist in Thailand. He has six years of experience in AIX® field and two years of experience in TSM field. He has worked at IBM for 12 years. His areas of expertise include AIX, TSM, SP2®, and HACMP/6000™. Wah Han Tan is an IT Specialist with the pSeries® services team in Singapore. He has worked at IBM Singapore for seven years. His areas of expertise include AIX, TSM, SP2, and HACMP/6000. Become a published author Join us for a two- to six-week residency program! Help write an IBM Redbook dealing with specific products or solutions, while getting hands-on experience with leading-edge technologies. You'll team with IBM technical professionals, Business Partners and/or customers. Your efforts will help increase product acceptance and customer satisfaction. As a bonus, you'll develop a network of contacts in IBM development labs, and increase your productivity and marketability. Find out more about the residency program, browse the residency index, and apply online at: ibm.com/redbooks/residencies.html Comments welcome Your comments are important to us! © Copyright IBM Corp. 2003. All rights reserved. vii
  • 10. We want our papers to be as helpful as possible. Send us your comments about this Redpaper or other Redbooks™ in one of the following ways: Use the online Contact us review redbook form found at: ibm.com/redbooks Send your comments in an Internet note to: redbook@us.ibm.com Mail your comments to: IBM Corporation, International Technical Support Organization Dept. QXXE Building 80-E2 650 Harry Road San Jose, California 95120-6099 viii IBM Tivoli Storage Manager: Bare Metal Restore for Windows
  • 11. 1 Chapter 1. Introduction The purpose of this book is to provide a guide to using the Bare Machine Recovery (BMR) procedures with IBM Tivoli Storage Manager (ITSM) Level 5.2 for the following operating systems: Microsoft Windows XP Professional Microsoft Windows 2003 Server It should be first noted that this function also requires the Microsoft Windows Automated System Recovery (ASR). This is a facility provided by Microsoft to recover the above mentioned operating systems in the event of a catastrophic system or hardware failure. The purpose of ASR is “to return the operating system to the point of last backup.” ITSM interfaces with ASR to provide the data management functions and a repository for the data that has been backed up. In this chapter we introduce the basic concepts of IBM Tivoli Storage Manager (ITSM). We will focus our attention on the backup and restore functions of the product, and provide a brief overview of the archive and restore and management aspects of ITSM. This guide is not intended to be a full introduction to ITSM. In subsequent chapters, we discuss with examples how to do the following: Install the ITSM client on your Microsoft Windows environment Customize the ITSM client to ensure that backups are going to take place Perform ITSM backups of the required data Overview of Microsoft Windows Automated System Recovery Initiate and complete the restore process using Bare Machine Recovery (BMR) There will also be a section summarizing the tricks and traps we experienced so that you may gain from our experience in using the product. © Copyright IBM Corp. 2003. All rights reserved. 1
  • 12. 1.1 IBM Tivoli Storage Manager concepts IBM Tivoli Storage Manager (ITSM) is a client server application designed to manage your storage requirements. ITSM uses policies to manage the movement of data between clients, servers, and storage devices. There are two components required in any environment: IBM Tivoli Storage Manager server IBM Tivoli Storage Manager client IBM Tivoli Storage Manager can be used for backup and restore, and archive and retrieve. It will manage backups and archives, and manage the movement of “inactive” data with the migrate and recall facility under HSM. ITSM will enable you to manage both the data and the storage that they reside upon. IBM Tivoli Storage Manager Policies Clients and Server Requests migrate/ recall Network backup/ restore archive/ retrieve Storage Pools Figure 1-1 IBM Tivoli Storage Manager concepts IBM Tivoli Storage Manager manages the movement and storage of data. The ITSM client software is installed on computers in your environment that require managing, and an ITSM server is required to manage the metadata and the storage pools. Data can be backed up, archived, or moved from its primary location to storage devices used by ITSM; these locations are called storage pools. ITSM can be set up to run in a local area network (LAN), wide area network (WAN), or Storage Area Network (SAN) environments. Note: As a general rule, the server version should be at a higher release level than the client; please check release documentation for compatibility between specific releases and combinations. 2 IBM Tivoli Storage Manager: Bare Metal Restore for Windows
  • 13. 1.2 IBM Tivoli Storage Manager functions The following sections outline the IBM Tivoli Manager functions. 1.2.1 Restore and backup functions Restore Careful planning must be undertaken when setting up any storage management application. ITSM is no different. It is far better to plan well in the beginning than wish you had at the end. You should plan your systems to optimize the restoration functions, because they will always be required to operate within the most critical time scales when they are called upon. For example, your restore requirements should always drive your backup objectives. ITSM, or any backup application, is only as good as its restore function. A fast, reliable, and efficient restoration process is the key. All the backups in the world will not help you if you cannot get the data back where you want it, when you want it, and in the form that it needs to be in so that it can be used. ITSM fulfills all these requirements, and it is easy to use and understand. Backup ITSM utilizes a progressive backup methodology. A full backup is done only once, after which incremental backups are made only of files that have changed since the last backup. The metadata associated with these backup copies are stored in the ITSM database. The number of backup copies retained and the length of time they are retained for is specified by the storage administrator, and also stored in the database. This progressive backup methodology yields many benefits including the elimination of redundant backups, reduction of data movement over your network, and an automated method of backup and file retention. In addition, backups may be performed on demand, either as full, incremental, or as a selected set or subset of individual files. In any implementation of ITSM, the server will always know the location of the most recent copy of your file resides; this is crucial in the efficient and effective recovery of your data. 1.2.2 Archive and retrieve functions IBM Tivoli Storage Manager provides the archive and retrieve functions for the data that you need to keep for long term storage. This data may be required for tax and legal purposes such as a snapshot of the end of the month and fiscal year. 1.2.3 Managing backups, archives, other data IBM Tivoli Storage Manager utilizes user written policies to manage the data written to, and read from the storage devices under its control. These policies manage.the data backups and archives under the control of ITSM. Here are some of the data management issues for which policies exist: Version data exists Version data deleted Retain extra versions Retain only version Backup retention Archive retention Chapter 1. Introduction 3
  • 14. Copy frequency Copy destination The metadata (data about the actual data) and media that it resides upon, exists within the ITSM database, journals, and log files. 1.2.4 Administrative overview IBM Tivoli Storage Manager Console Figure 1-2 ITSM Console The ITSM Console is the central server interface, all other server interfaces and the Web backup-archive client can be accessed from the ITSM Console. The ITSM Console is a Microsoft Management Console snap-in that provides the following features: A Microsoft Windows style tree view of network computers on which ITSM resources are installed Network scan utilities that can be used to locate ITSM client and server nodes for remote management A Net Send feature that can be used to notify operators of ITSM mount requests and status messages ITSM server configuration and management wizards. Command line and Web based interfaces for ITSM server management A Web based interface that can be used to remotely backup and restore of client data Reporting functions for ITSM server and client instances, device drivers, and schedules 4 IBM Tivoli Storage Manager: Bare Metal Restore for Windows
  • 15. IBM Tivoli Storage Manager WEB Interface Figure 1-3 ITSM Web interface The ITSM Web interface is intended to be the primary tool for ongoing ITSM server administration. Chapter 1. Introduction 5
  • 16. IBM Tivoli Storage Manager server command line interface Figure 1-4 IBM Tivoli Storage Manager command line interface The ITSM server command line interface is useful for experienced ITSM administrators who are familiar with the ITSM command set. Some administrators rely on the ITSM command line as their primary configuration and management tool. This interface allows for the generation of administrative scripts and macros, which can be scheduled to execute automatically. 6 IBM Tivoli Storage Manager: Bare Metal Restore for Windows
  • 17. IBM Tivoli Storage Manager client graphical interface Figure 1-5 IBM Tivoli Storage Manager client graphical interface The ITSM client graphical interface is designed to allow users to initiate “on demand” backup archive and recovery functions from the client machine. The interface uses a familiar Windows-styled tree view to display the drives, directories, and files that can be manipulated between the client and the server. Chapter 1. Introduction 7
  • 18. IBM Tivoli Storage Manager client Web interface Figure 1-6 IBM Tivoli Storage Manager client web interface The ITSM client Web interface is a graphical interface based on Java, and is included with the installation package, but must be manually installed and configured on each client node. The ITSM client Web interface supports the following browser: Microsoft Internet Explorer 5.0 or later with Java Runtime Environment (JRE) 1.3.1 Netscape Navigator 4.7 or later with Java Runtime Environment (JRE) 1.3.1 Netscape Navigator 6.0 or later IBM Tivoli Storage Manager client command line interface Figure 1-7 IBM Tivoli Storage Manager client command line interface 8 IBM Tivoli Storage Manager: Bare Metal Restore for Windows
  • 19. The ITSM client command line is a character based interface that provides comprehensive control of ITSM client functions. This interface is installed as part of the ITSM client package. 1.2.5 Hints and tips for command line, registration, and timeout When installing ITSM for the first time on multiple workstations, it may be a good idea to set the following options. These options can be reset to the required permanent values once the installation has either been completed, or the value of their initial setting is no longer a distinct advantage. Web administrator Command line interface Many administrators find that the command line interface is easier to use than the GUI; the ITSM Server Web Administration dialog will allow you to include the command line. Here are the steps to include the command line: 1. Log on to the IBM Tivoli Storage Manager Server Web Administration interface. 2. Choose Show command line from the Options drop down menu (see Figure 1-8). Figure 1-8 ITSM Web administration Command Line tip Registration When you first set up the clients for your installation, it may be advisable to allow open registration. This will save you from registering each client from the server interface individually. To do this, enter the following command from the command line interface: set registration open Chapter 1. Introduction 9
  • 20. Note: This command should be reset to closed once the initial setup of the clients has been completed, since it will allow any client to register without being previously authorized. Timeout of server administrator The Administrator timeout default is set to 5 minutes. This may not be the most effective time period, especially if you are having to log in multiple times while performing other tasks on the same machine. To alter this to not timing out, enter the following command from the command line interface. set webauthtimeout 0 This parameter should be set in line with your company’s security policies. 10 IBM Tivoli Storage Manager: Bare Metal Restore for Windows
  • 21. 2 Chapter 2. Setting up IBM Tivoli Storage Manager for BMR This chapter describes the following: Prerequisites and considerations in using Microsoft ASR for recovery Installation of the ITSM client in your Microsoft Windows environment Customization the ITSM client to ensure that backups are going to take place Performing ITSM backups of the required data © Copyright IBM Corp. 2003. All rights reserved. 11
  • 22. 2.1 Prerequisites and considerations in using ASR Automated System Recovery (ASR) is a backup and restore framework provided by Microsoft to recover your Windows XP Professional or Windows 2003 Server system in the event of a catastrophic system or hardware failure. ITSM interfaces with this framework to provide system recovery capability using ITSM as the data management vehicle. Windows XP ASR recovers the target system in a two-step process: 1. The first step, termed the “boot recovery process,” requires a new copy of Windows to be temporarily installed on the target system using the original distribution media. 2. The second step, called the “OS restore process,” restores the files of a previously saved Windows installation using a backup-and-restore application (thus, deleting and writing over some of the files installed by the boot recovery process). In the event of a system failure, the ASR can be used to restart the system, after which users can begin a recovery from a backed up copy of a previously saved Windows installation. The goal of ASR as stated by Microsoft is to return the operating system to the point of last backup. ASR is not used to recover application or user data. Such data is recovered through normal ITSM restore procedures after successful completion of ASR recovery. You should create a new ASR set after any major change to the system, and also on a regular schedule as part of a comprehensive backup plan. 2.1.1 Hardware requirements 1. The hardware configuration of the target system must be identical to that of the original system, with the exception of the hard disks, video cards, and network interface cards. Note: If there is a change in the video cards or networking cards, they must be manually configured. 2. The target system must have the same number of disks as the original system. 3. 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. 4. All disks must have 512 byte sectors. 5. All disks (and only such disks) that are available to ASR on which to perform a recovery must be accessible. 6. The ASR files must be accessible from a local floppy drive. 7. The floppy and CD-ROM drives cannot be external PC-card drives. 8. The original system must be an x86 or an Itanium machine. 9. The original system’s disks must have 512 byte sectors. 10.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. 11.ASR supports FAT16 volumes up to 2.1 GB only. ASR does not support 4 GB FAT16 partitions that use a cluster size of 64K. If your system contains 4-GB FAT16 partitions, convert them from FAT16 to NTFS before using ASR. 12 IBM Tivoli Storage Manager: Bare Metal Restore for Windows
  • 23. 2.1.2 Software requirements These are the requirements: 1. Recovering a Windows XP SP1® system requires a Windows XP SP1 integrated (“slipstream”) installation CD. You cannot recover a Windows XP SP1 system using a base Windows XP operating system installation CD. SP1 ASR references asr_pfu.exe, which is not present on the base Windows XP installation. The base level Windows XP installation CD can be used to recover pre-SP1 Windows XP machines. 2. With the TSM client installation package used on the TSMCLI CD, your 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. The details for creating the TSMCLI CD are described later in this guide. 3. ASR requires a TSM v5.2.0 or newer client. Additionally, ASR for Windows 2003 requires a v5.2.0 or a newer TSM server. 2.1.3 Supported configurations The following table lists whether ASR is supported with the version of Windows XP at the time of backup and at the time of restore. Version of Windows at Version of Windows at Supported or Not Backup Restore Supported Windows XP Windows XP Supported (see Note) Windows XP Windows XP Service Pack 1a Not supported Windows XP Service Pack 1 Windows XP Supported (see Note) Windows XP Service Pack 1 Windows XP Service Pack 1a Supported Windows XP Service Pack 1a Windows XP Not supported Windows XP Service Pack 1a Windows XP Service Pack 1a Supported Windows 2003 Server Windows 2003 Server Supported Note: The Japanese and Spanish versions of Microsoft Windows XP are not supported. 2.2 Installation of the ITSM client on your Windows environment Please refer to the ITSM quickstart and administrator guides for the instructions on how to install the ITSM client on your Microsoft Windows environment. Chapter 2. Setting up IBM Tivoli Storage Manager for BMR 13
  • 24. 2.3 Customization of the ITSM client Figure 2-1 Setup wizard selection from the main menu Figure 2-2 Basic wizards required for ASR recovery You must set up the wizards selected in Figure 2-2, if they have not already been set up to enable ASR. In the following section, we provide an explanation of the purpose of these options. Other setup wizards can be completed, the three we have shown are the only ones required for the ASR recovery process. 14 IBM Tivoli Storage Manager: Bare Metal Restore for Windows
  • 25. 2.3.1 TSM Backup/Archive Client Data is transmitted to the ITSM server using the ITSM Backup/Archive client. This client, included with the server, provides the operational backup, and archival and recovery functions. The following set of data about the client is required to be registered with the server: Node name Communications method the ITSM client will use when communicating with the ITSM server Details on how the communication method will be utilized 2.3.2 Online image support Select this check box to set up the Logical Volume Snapshot Agent (LVSA) for an online image backup. LVSA is a snapshot provider that is used for online image backup and open file support operations on the Windows 2003 and XP clients. 2.3.3 Open file support Select this check box to configure the Logical Volume Snapshot Agent (LVSA) to enable open file support for backup and archive operations. This enables backup or archive of files that are locked by other applications. During an open file support backup or archive operation, a snapshot for each volume being operated on is created using the LVSA snapshot provider, and each snapshot is shown as a virtual volume to the client. After completion of the snapshot, the client uses the virtual volume as the source for backing up or archiving files to the server. This allows the original volume to be available for read and write operations during the backup or archive. Open file support is available for all types of backup (excluding backup of Windows 2000 or XP system objects) and archive. Requires installation of the LVSA for open file support through this client configuration wizard. Note: After you have finished the initial set up of the options file, you can use the Preferences window to specify other client options. To open the Preferences window, select the Preferences item from the Edit menu. Chapter 2. Setting up IBM Tivoli Storage Manager for BMR 15
  • 26. 2.4 Performing ITSM backups for ASR with Windows XP Figure 2-3 ITSM startup panel The ASR method for Bare Machine Recovery requires that the data be backed up in a certain order. And at least that the ASR backup (not to be confused with creating the ASR recovery diskette) be done prior to the latest incremental backup. The following is the order we used in the testing: ASR backup SYSTEMOBJECT backup Incremental backup Copy ASR backup to diskette An example of each of these steps is provided in the following subsections. 2.4.1 ASR backup Start up the ITSM Graphical User Interface (GUI) and click the backup button to back up the ASR files. Follow the examples in Figure 2-4 and Figure 2-5. 16 IBM Tivoli Storage Manager: Bare Metal Restore for Windows
  • 27. Figure 2-4 Backup ASR files A dialog will be presented to show the progress of this request. Figure 2-5 Windows Automated System Recovery dialog If you complete the incremental prior to doing the ASR backup, then the SMSS.asr and the NTDLL.ASR files will not be backed up on the incremental backup. Simply perform another incremental backup prior to attempting to restore the system. Otherwise, if you are restoring the system without the ASR files in the backup, the following error will occur: Setup was unable to start the recovery application: “C:windowstemptsmasr.cmd /sifpath=C:windowsrepairasr.sif”. The error code returned was 0x2. This error can be fixed in the recovery process, See 3.1.3, “Windows XP Professional recovery example” on page 34. Chapter 2. Setting up IBM Tivoli Storage Manager for BMR 17
  • 28. 2.4.2 SYSTEMOBJECT backup Figure 2-6 SYSTEMOBJECT dialog To back up the system objects using the GUI: 1. Click the Backup button from the GUI main window (see Figure 2-3 on page 16). The Backup window appears. 2. Expand the directory tree by clicking the plus sign + To display files in a folder, click the folder icon. 3. Locate the System Objects node in the directory tree and expand it. 4. Click the selection box for the system object(s) you want to back up. 5. Click Backup. The Backup Task List window displays the backup processing status. When processing completes, the Backup Report window displays the processing details. You can back up the Windows XP system objects together or individually. Microsoft recommends that all system objects be backed up together to maintain a consistent system state. The following are valid system objects: Active Directory (domain controller only) Certificate server database Cluster Database (cluster node only) COM+ database Event logs (system, security, and application) Registry System and boot files System volume Removable Storage Management Database (RSM) Replicated file systems (FRS) Windows Management Instrumentation (WMI) 18 IBM Tivoli Storage Manager: Bare Metal Restore for Windows
  • 29. You can exclude system objects from backup processing using the exclude.systemobject option. See “Exclude options” in IBM Tivoli Storage Manager for Windows: Backup-Archive Clients Installation and User's Guide” Version 5 Release 2, GC32-0788-03, for more information. 2.4.3 Incremental backup From the startup panel (Figure 2-3) choose the Backup option. The first item to back up is the data and operating system. Figure 2-7 ITSM Backup selection panel In our example we will be performing a backup and restore of a PC workstation. It is vital that the sequence presented here is followed. ITSM recovery with ASR is dependant upon the data being backed up in a certain sequence, so that your system will be returned to a state consistent with how it was backed up. Select the Backup button to initiate the system backup; Figure 2-8 will appear showing you that the backup is in progress. Chapter 2. Setting up IBM Tivoli Storage Manager for BMR 19
  • 30. Figure 2-8 Backup task list If you wish to track the progress of the backup, click the Report button and Figure 2-9 will show you the Detailed Status Report. Figure 2-9 Backup report If your network does not support DHCP, then you can use local backup sets containing the backup of your system, boot drives, and SYSTEMOBJECT for Windows XP. Use the GENERATE BACKUPSET command to generate a backup set for a backup-archive client node. A backup set is a collection of a client’s active backed up data, stored and managed as a single object, on specific media, in server storage. While the server allows you to create a backup set for any client node, a backup set can only be used by a backup-archive client. See IBM Tivoli Storage Manager for Windows Administrator’s Reference Version 5.2 for the com- mands required to generate a backup set. 20 IBM Tivoli Storage Manager: Bare Metal Restore for Windows
  • 31. 2.4.4 Copy ASR backup to diskette Figure 2-10 Create ASR diskette First copy the ASR files to a floppy disk: Select Utilities and then Create ASR Diskette from the command items (see Figure 2-10). Figure 2-11 Create ASR diskette dialog Insert Floppy, click Next; the files are copied to diskette and the following dialog will appear. (See Figure 2-12.) Figure 2-12 ASR diskette confirmation Chapter 2. Setting up IBM Tivoli Storage Manager for BMR 21
  • 32. If ASR backup has not been done at all, and you attempt to copy the ASR files to a floppy disk, then the following error dialog box will appear. (See Figure 2-13.) Figure 2-13 ASR error dialog 2.5 Performing ITSM backups for ASR with Windows 2003 Figure 2-14 ITSM startup panel The ASR method for Bare Machine Recovery requires that the data be backed up in a certain order. At least that the ASR backup (not to be confused with creating the ASR recovery diskette) must be done prior to the latest incremental backup. The order used in the testing we did was: 1. ASR backup 2. System services and system state backup 3. Incremental backup 4. Copy ASR backup to diskette An example of each of these steps is provided in the following subsections. 22 IBM Tivoli Storage Manager: Bare Metal Restore for Windows
  • 33. 2.5.1 ASR backup Start up the ITSM Graphical User Interface (GUI) and click the Backup button to back up the ASR files. Follow the examples in Figure 2-4 on page 17, and Figure 2-5 on page 17. Figure 2-15 Backup ASR files A dialog will be presented to show the progress of this request. Figure 2-16 Windows Automated System Recovery dialog If you complete the incremental prior to doing the ASR backup, then the SMSS.asr and the NTDLL.ASR files will not be backed up on the incremental backup. Simply perform another incremental backup prior to attempting to restore the system. Otherwise, if you are restoring the system without the ASR files in the backup, the following error will occur: Setup was unable to start the recovery application “C:windowstemptsmasr.cmd /sifpath=C:windowsrepairasr.sif”. The error code returned was 0x2. Chapter 2. Setting up IBM Tivoli Storage Manager for BMR 23
  • 34. This error can be fixed in the recovery process. See 3.1.3, “Windows XP Professional recovery example” on page 34. 2.5.2 System services and system state backups Figure 2-17 Windows 2003 System Objects dialog To back up system objects (for Windows 2003 these are split into system services and system state) using the GUI: 1. Click the Backup button from the GUI main window (see Figure 2-3 on page 16). The Backup window appears. 2. Expand the directory tree by clicking the plus sign +. To display files in a folder, click the folder icon. 3. Locate the system services and system state nodes in the directory tree and expand it. 4. Click the selection box for the system object(s) you want to back up. 5. Click Backup. The Backup Task List window displays the backup processing status. When processing completes, the Backup Report window displays processing details. You can back up Windows 2003 system objects together or individually. Microsoft recommends that all system objects be backed up together to maintain a consistent system state. The following are valid system objects: Active Directory (domain controller only) Certificate server database Cluster database (cluster node only) COM+ database Event logs (system, security, and application) Registry System and boot files 24 IBM Tivoli Storage Manager: Bare Metal Restore for Windows
  • 35. System volume Removable Storage Management Database (RSM) Replicated file systems (FRS) Windows Management Instrumentation (WMI) You can exclude system objects from backup processing using the exclude.systemobject option. See “Exclude options” in the IBM Tivoli Storage Manager for Windows: Backup-Archive Clients Installation and User's Guide Version 5 Release 2, GC32-0788-03, for more information. 2.5.3 Incremental backup From the startup panel (Figure 2-3) choose the Backup option. The first item to back up is the data and operating system. Figure 2-18 ITSM Backup selection panel In our example, we will be performing a backup and restore of a PC workstation. It is vital that the sequence presented here is followed. ITSM recovery with ASR is dependant upon the data being backed up in a certain sequence, so that your system will be returned to a state consistent with how it was backed up. Select the Backup button to initiate the system backup, Figure 2-8 will appear showing you that the backup is in progress. Chapter 2. Setting up IBM Tivoli Storage Manager for BMR 25
  • 36. Figure 2-19 Backup task list If you wish to track the progress of the backup click the Report button, and Figure 2-9 will show you the Detailed Status Report. Figure 2-20 Backup report 26 IBM Tivoli Storage Manager: Bare Metal Restore for Windows
  • 37. Figure 2-21 Incremental backup complete If your network does not support DHCP, then you can use local backup sets containing the backup of your system and boot drives, system state, and system services. Use the GENERATE BACKUPSET command to generate a backup set for a backup-archive client node. A backup set is a collection of a client’s active backed up data, stored and managed as a single object, on specific media, in server storage. While the server allows you to create a backup set for any client node, a backup set can only be used by a backup-archive client. See IBM Tivoli Storage Manager for Windows Administrator’s Reference Version 5.2 for the com- mands required to generate a backup set. Chapter 2. Setting up IBM Tivoli Storage Manager for BMR 27
  • 38. 2.5.4 Copy ASR backup to diskette Figure 2-22 Create ASR diskette First copy the ASR files to a floppy disk, then select Utilities and then Create ASR Diskette from the command items. See Figure 2-10. Figure 2-23 Create ASR diskette dialog Insert the floppy then click Next. The files are copied to diskette and the following dialog will appear. See Figure 2-12. Figure 2-24 ASR diskette confirmation 28 IBM Tivoli Storage Manager: Bare Metal Restore for Windows
  • 39. If ASR backup has not been done at all, and you attempt to copy the ASR files to a floppy disk, the following error dialog box will appear. See Figure 2-13. Figure 2-25 ASR error dialog Chapter 2. Setting up IBM Tivoli Storage Manager for BMR 29
  • 40. 30 IBM Tivoli Storage Manager: Bare Metal Restore for Windows
  • 41. 3 Chapter 3. Microsoft Windows automated system recovery with ITSM This chapter contains the instructions and examples for recovering a Microsoft Windows XP Professional or Microsoft Windows 2003 Server system using ASR and ITSM BMR. © Copyright IBM Corp. 2003. All rights reserved. 31
  • 42. 3.1 Recovering a Microsoft XP image using ASR and ITSM Remember, this is a facility provided by Microsoft to recover the operating system in the event of a catastrophic system or hardware failure. The purpose of ASR is “...to return the operating system to the point of last backup.” ITSM interfaces with ASR to provide the data management functions and a repository for the data that has been backed up. Microsoft recommendations for ASR use are: “Use ASR as a last resort in system recovery, only after you have exhausted other options such as the startup options Safe Mode and Last Known Good Configuration.” 3.1.1 Prerequisites Before you begin to attempt to restore a Microsoft Windows XP Professional system with ASR and ITSM, you must have the following items at hand: ASR diskette Windows XP Professional operating system installation CD IBM Tivoli Storage Manager Client CD The ITSM node password ASR diskette Refer to 2.4.4, “Copy ASR backup to diskette” on page 21 for information on how to create the ASR diskette required for this recovery task: These are the recovery steps if you did not create the ASR diskette prior to needing it for ASR: 1. Create an ASR diskette for another machine through the virtualnode option. 2. Alter the files to point to the machine and filespace for the required restore. 3. Label a diskette using the Windows command LABEL A: TSMASR Refer to the detailed instructions for this task in “No ASR diskette available” on page 44. Windows XP Professional operating system installation CD This CD must have the identical operating system level as the systems that was backed up. If you installed Microsoft Windows XP Professional from the original CD, and subsequently installed any service packs, then you will need a CD with the matching service pack on the disk. A Microsoft Windows XP Professional SP1 CD can be created for this purpose, Refer to the Microsoft Web site “to create an integrated installation of Windows XP and the service pack,” at: http://www.microsoft.com/WindowsXP/pro/downloads/servicepacks/sp1/spdeploy.asp#the_integrat ed_installation_fmay Additional information regarding the creation of a bootable CD-ROM containing a Windows XP SP1 installable operating system can be found at: http://www.windows-help.net/WindowsXP/winxp-sp1-bootcd.html IBM Tivoli Storage Manager Client CD Finally, you will require an ITSM Client CD. The release version level of this CD must be at the same or at a higher level of client than the client that was in use at the time of the backup restoration. The ASR for Windows XP requires that this client be at least v5.2.0. 32 IBM Tivoli Storage Manager: Bare Metal Restore for Windows
  • 43. If you are going to create a CD for the restoration it will need to be created with ’TSMCLI’ as the volume label and package must be renamed to TSMCLI.EXE and placed in the root directory of the CD. The IBM Tivoli Storage Manager client software can be downloaded from the following FTP site: ftp://ftp.software.ibm.com/storage/tivoli-storage-management/patches/client/v5r2/ You will need to select the TSMxxxx_GA_1_WIN32.exe file from the subdirectory appropriate to the version you require. Obviously for the ASR you will need at least the 5.2.0 version. Prepare the TSM client package in package-for-the-web format burned onto a CD. This is the single self-extracting installation package of TSM that IBM makes available through FTP. 1. Download the TSM client package (TSMxxxx_GA_1_WIN32.exe) where xxxx represents the release number within the version. 2. Rename the package to TSMCLI.EXE. From a command prompt issue: RENAME TSMxxxx_GA_1_WIN32.exe to TSMCLI.EXE 3. Using the method described by your CD-ROM burning software, specify the volume label to be TSMCLI. 4. Insure the TSMCLI.EXE file path is designated as the root directory (“”) in your CD-ROM burning software. 5. Burn the CD using the method described by your CD-ROM burning software. A network connection which supports DHCP A network connection supporting DHCP is required for ASR recovery from TSM server storage. If your network does not support DHCP, then you can use local backup sets containing the backup of your system and boot drives; system state and system services (Windows 2003, SYSTEMOBJECT for Windows XP). See Section 2.4.3, “Incremental backup” on page 19 for an description about backup sets. Note: For best performance, system objects backup should be generated in a backup set separate from the boot and system drives. The ITSM node password ITSM requires the original node name and password as it was registered with the ITSM server prior to the recovery point for the particular node you are recovering. This will be required in order to establish a session with the server so that the server can authenticate the request and restore the data. 3.1.2 The Windows XP Professional recovery process 1. Insert the operating system CD into the CD-ROM drive. 2. 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. You may also need to be quick as this option does not wait around too long before a ‘normal’ startup is initiated. 3. Press F2 to enter ASR recovery mode during text mode section of Setup. This option also does not wait for a response so you will need to be ready to press the ‘F2’ key. 4. Insert the TSM-created ASR diskette (labeled TSMASR) into the floppy drive when prompted for the “Windows ASR recovery diskette.” a. Windows reads the asrpnp.sif file from the diskette. Chapter 3. Microsoft Windows automated system recovery with ITSM 33
  • 44. b. Windows reformats the boot volume and may reformat other partitions on the disk if partition layout is different than on the original system. 5. The nodes hard disk will be formatted and checked for errors, also certain files will be copied to the Windows installation folders. 6. Insert the Windows client installation package CD (labeled TSMCLI) into the CD-ROM drive when prompted. The TSM client package (TSMCLI.EXE) is copied to the %SystemRoot%temp directory 7. Insert the TSMASR diskette again into the floppy drive when prompted. The tsmasr.opt, tsmasr.cmd, and waitforevent.exe files are copied to the %SystemRoot%temp directory. 8. Remove the diskette when prompted prior to system reboot. 9. Insert the operating system CD into the drive when prompted. 10.After setup completes, a command window is opened, and the tsmasr.cmd file is run in this window. A second command window is opened (and minimized), which can be used for diagnostic purposes. 11.The TSM client is silently installed. 12.You are prompted to choose whether you want to restore from a network connected TSM server (press 1) or a local backup set (press 2). 13.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, for example, r:backupsetfile1.ost. You will be prompted for subsequent volumes if you your backup set occupies more than one volume. 14.TSM commands are issued to restore the system drive. 15.TSM commands are issued to restore system objects. 16.The command file exits and the machine reboots. Remove the TSMASR diskette from the drive. After rebooting, the operating system will come up in a fully recovered state. 17.Recovery of user data and applications can now be performed using traditional TSM restore facilities. 3.1.3 Windows XP Professional recovery example Figure 3-1 Booting from CD Insert the operating system CD into the CD-ROM drive. Restart the computer. Press the appropriate key to boot from CD. Note: You may need to configure your computer BIOS to prefer boot from CD 34 IBM Tivoli Storage Manager: Bare Metal Restore for Windows
  • 45. You may also need to be quick to select the appropriate key to boot from CD as this option does not wait around too long before a ‘normal’ startup is initiated. Figure 3-2 Press F2 for ASR Press F2 to enter ASR recovery mode during text mode section of Setup. This option also does not wait for a response so you will need to be ready to press the ‘F2’ key. Figure 3-3 Insert ASR diskette into floppy drive Insert the ASR diskette (labeled TSMASR) into the floppy drive when prompted for the “Windows ASR recovery diskette.”. This is the diskette which was created with the ITSM client option “Create ASR Diskette” refer to Figure 2-10 on page 21. Chapter 3. Microsoft Windows automated system recovery with ITSM 35
  • 46. Figure 3-4 Setup is formatting the hard disk The nodes hard disk will be formatted, if there was a previous version of Windows residing on the target machine then you may need to delete the partition in order to install (recover) your backed up system. Follow the prompts and respond as you would for a new installation. Remember, however, that the new partition cannot have a drive space partition which is smaller than the partition which was originally backed up. Figure 3-5 Setup is checking the drive The disks are then checked for errors using the Windows utility. 36 IBM Tivoli Storage Manager: Bare Metal Restore for Windows
  • 47. Figure 3-6 Setup is copying the files to the installation folders Certain files will be copied to the Windows installation folders. Figure 3-7 Windows ASR requests the ITSM client CD Insert the Windows client installation package CD (labeled TSMCLI) into the CD-ROM drive when prompted. The TSM client package (TSMCLI.EXE) is copied to the %SystemRoot%temp directory. Chapter 3. Microsoft Windows automated system recovery with ITSM 37
  • 48. Figure 3-8 Windows ASR requests the TSMASR diskette Insert the TSMASR diskette again into the floppy drive when prompted. The tsmasr.opt, tsmasr.cmd, and waitforevent.exe files are copied. The prompt may appear three times, once for each file that is copied to the to the %SystemRoot%temp directory. Press enter each time and the process will continue Figure 3-9 Windows ASR requests removal of the floppy disk prior to rebooting the system Remove the diskette when prompted prior to system reboot. 38 IBM Tivoli Storage Manager: Bare Metal Restore for Windows
  • 49. Figure 3-10 WIN XP Setup requires the XP operating system CD Insert the operating system CD into the drive when prompted. Chapter 3. Microsoft Windows automated system recovery with ITSM 39
  • 50. Figure 3-11 Windows ASR installs IBM Tivoli Storage Manager After setup completes, a command window is opened, and the tsmasr.cmd file is run in this window. A second command window is opened (and minimized), which can be used for diagnostic purposes. The TSM client is silently installed. 40 IBM Tivoli Storage Manager: Bare Metal Restore for Windows
  • 51. Figure 3-12 Decision point: restore from ITSM server or backup set You are prompted to choose whether you want to restore from a network connected TSM server (press 1) or a local backup set (press 2). Chapter 3. Microsoft Windows automated system recovery with ITSM 41
  • 52. Figure 3-13 ITSM server: requests userid and password 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, for example, r:backupsetfile1.ost. You will be prompted for subsequent volumes if you your backup set occupies more than one volume. 42 IBM Tivoli Storage Manager: Bare Metal Restore for Windows
  • 53. Figure 3-14 ITSM restores of multiple files TSM commands are issued to restore the system drive. TSM commands are issued to restore system state and system services on Windows 2003 (system objects on Windows XP). The command file exits and the machine reboots. Remove the TSMASR diskette from the drive. After rebooting, the operating system will come up in a fully recovered state. Recovery of user data and applications can now be performed using traditional TSM restore facilities. 3.1.4 Common Errors in restore process Invalid order of backup If you completed the incremental prior to doing the ASR backup then the SMSS.asr and the NTDLL.ASR files will not be backed up on the incremental backup. The following error will occur: The setup was unable to start the recovery application “C:windowstemptsmasr.cmd /sifpath=C:windowsrepairasr.sif”. The error code returned was 0x2. Follow these instructions to recover the system from this error: 1. Find another machine running the same maintenance level of Windows as the system you wish to recover. Chapter 3. Microsoft Windows automated system recovery with ITSM 43
  • 54. 2. Copy the SMSS.ASR and NTDLL.ASR files from the WINDOWSREPAIR directory of that machine to a diskette. 3. Re-run the ASR recovery process to the point where the TSM ASR recovery script prompts you for network or backupset recovery. 4. Use the minimized command window (shown at the bottom of Figure 3-14) to copy the files to the machine being recovered. For example, you may use the command: COPY A:*.ASR C:WINDOWSREPAIR 5. Return to the recovery window and resume the recovery process. Figure 3-15 Diagnostic command window The diagnostic command window is available if you need to display or edit files. This facility is within a DOS prompt, and is first available when Windows ASR installs IBM Tivoli Storage Manager. See Figure 3-11 on page 40. Note: This error should only become an issue during testing as the normal state of events will ensure that you have done an ASR backup once the files will have been created and backed up. No ASR diskette available If you did not create the ASR diskette prior to needing it for the ASR then you will need to create a new ASR diskette on another machine and insert the virtualnodename parameter in the tsmasr.opt file on the newly created diskette. The virtualnodename option specifies the node name of your workstation when you want to restore or retrieve files to a different workstation. 44 IBM Tivoli Storage Manager: Bare Metal Restore for Windows
  • 55. When you use the virtualnodename option in your client options file, or with a command: 1. You must specify the name you specified with the nodename option in your client options file (tsmasr.opt). This name should be different from the name returned by the hostname command on your workstation. 2. Tivoli Storage Manager prompts for the password assigned to the node you specify, if a password is required. If you enter the correct password, you have access to all backups and archives that originated from the specified node. When connecting to a server, the client must identity itself to the server. This login identification is determined in the following ways: If the nodename and virtualnodename options are not specified, or a virtual node name is not specified on the command line, the default login ID is the name returned by the hostname command. If the nodename option is specified, the name specified with the nodename option overrides the name returned by the hostname command. If the virtualnodename option is specified, or a virtual node name is specified on a command line, it cannot be the same name as the name returned by the hostname command. When the virtual node name is accepted by the server, a password is required (assuming authentication is on), even if the passwordaccess option is generate. The password is not stored in the registry even when the passwordaccess option is set to generate. Once a connection to the server is established, then access is permitted to any file backed up using this login ID. Syntax >>-VIRTUALNodename- nodename----------------------------------->< You will also need to change the tsmasr.cmd file to ensure that the restore commands point to the correct filespaces for the machine that you are restoring. Here is an example of a TSMASR.CMD file that resores the nodename IBM-BRETT, each occurrence of this nodename would have to be altered to the nodename required for the machine restore: @start "IBM Tivoli Storage Manager" /MIN cmd.exe @echo off @title IBM Tivoli Storage Manager @echo Windows ASR is installing TSM. Please wait for installation to complete. %SystemRoot%temptsmcli.exe -s -e setup.exe -a /s /v"INSTALLDIR="%SystemRoot%temp~tsmasr" ADDLOCAL="Client" TRANSFORM="C:tsm_imagesTSM_BA_CLIENT1033.mst" /qn /l*v "C:WINDOWSrepairtsmasrsetup.log" RebootYesNo="No" REBOOT="Suppress" ALLUSERS=1 " %SystemRoot%tempwaitforevent.exe 600 Diagnostics REM pause pushd %SystemRoot%temp~tsmasrbaclient copy %SystemRoot%temptsmasr.opt >nul @echo Do you wish to perform Automated Service Recovery (ASR) restore from the TSM server or from a local backup set? @echo 1. Restore from the TSM server. @echo 2. Restore from a local backup set. :choice set /P CH= if /I "%CH%"=="1" goto NETWORK if /I "%CH%"=="2" goto BACKUPSET goto choice Chapter 3. Microsoft Windows automated system recovery with ITSM 45
  • 56. :NETWORK dsmc restore IBM-BRETTC$ C: -subdir=yes -preservepath=complete -replace=all -tapeprompt=no -nodename=IBM-BRETT -optfile=tsmasr.opt dsmc restore systemstate -asrmode=yes -nodename=IBM-BRETT -computername=IBM-BRETT -optfile=tsmasr.opt dsmc restore systemservices -asrmode=yes -nodename=IBM-BRETT -computername=IBM-BRETT -optfile=tsmasr.opt REM Diagnostics dsmc query backup ibm-brettc$WINDOWSrepair*.asr -asrmode=yes -nodename=IBM-BRETT -optfile=tsmasr.opt >tsmasrdiag.txt REM dsmc query backup ibm-brettc$WINDOWSrepair*.asr -asrmode=yes -nodename=IBM-BRETT -optfile=tsmasr.opt >a:tsmasrdiag.txt @GOTO DONE :BACKUPSET dsmc restore backupset TSMASR IBM-BRETTC$ C: -asrmode=yes -subdir=yes -preservepath=complete -replace=all -tapeprompt=no -nodename=IBM-BRETT -location=file -optfile=tsmasr.opt dsmc restore backupset TSMASR systemstate -asrmode=yes -nodename=IBM-BRETT -location=file -replace=all -computername=IBM-BRETT -optfile=tsmasr.opt dsmc restore backupset TSMASR systemservices -asrmode=yes -nodename=IBM-BRETT -location=file -replace=all -computername=IBM-BRETT -optfile=tsmasr.opt :DONE @echo on 3.2 Recovering a Microsoft 2003 image using ASR and ITSM Remember, this is a facility provided by Microsoft to recover the operating system in the event of a catastrophic system or hardware failure. The purpose of ASR is “to return the operating system to the point of last backup.” ITSM interfaces with ASR to provide the data management functions and a repository for the data that has been backed up. The Microsoft recommendation for ASR use is “Use ASR as a last resort in system recovery, only after you have exhausted other options such as the startup options Safe Mode and Last Known Good Configuration.” 3.2.1 Prerequisites Before you begin to attempt to restore a Microsoft Windows 2003 Professional system with ASR, you must have the following items at hand: ASR diskette Windows XP Professional operating system installation CD IBM Tivoli Storage Manager Client CD The ITSM node password ASR diskette Refer to 2.4.4, “Copy ASR backup to diskette” on page 21 as to how to create the ASR diskette required for this recovery task. How to recover if you did not create the ASR diskette prior to needing it for ASR: 1. Create an ASR diskette for another machine through the virtualnode option. 2. Alter the files to point to the machine/filespace for the required restore. 3. Label a diskette using the Windows command LABEL A: TSMASR. Refer to the detailed instructions for this task in “No ASR diskette available” on page 58. 46 IBM Tivoli Storage Manager: Bare Metal Restore for Windows
  • 57. Windows 2003 Server operating system installation CD This CD must have the identical operating system level as the systems that were backed up. If you installed Microsoft Windows 2003 from the original CD, and subsequently installed any service packs, then you will need a CD with the matching service pack on the disk. IBM Tivoli Storage Manager Client CD Finally, you will require an ITSM Client CD, the release, version, and level of this CD must be at the same or at a higher level of client than the client that was in use at the time of the backup that is being restored. The ASR for Windows XP requires that this client be at least v5.2.0. If you are going to create a CD for the restoration, it will need to be created with TSMCLI as the volume label and package must be renamed to TSMCLI.EXE and placed in the root directory of the CD. The IBM Tivoli Storage Manager client software can be downloaded from the following FTP site: ftp://ftp.software.ibm.com/storage/tivoli-storage-management/patches/client/v5r2/ You need to select the TSMxxxx_GA_1_WIN32.exe file from the subdirectory appropriate to the version you require. Obviously, for the ASR you need at least the 5.2.0 version. Prepare the TSM client package in package-for-the-Web format burned onto a CD. This is the single self-extracting installation package of TSM that IBM makes available through FTP: 1. Download the TSM client package (TSMxxxx_GA_1_WIN32.exe) where xxxx represents the release number within the version. 2. Rename the package to TSMCLI.EXE. From a command prompt issue: RENAME TSMxxxx_GA_1_WIN32.exe to TSMCLI.EXE 3. Using the method described by your CD-ROM burning software, specify the volume label to be TSMCLI. 4. Insure the TSMCLI.EXE file path is designated as the root directory () in your CD-ROM burning software. 5. Burn the CD using the method described by your CD-ROM burning software. A network connection which supports DHCP A network connection supporting DHCP is required for ASR recovery from TSM server storage. If your network does not support DHCP, then you can use local backup sets containing the backup of your system and boot drives; system state and system services. See 2.4.3, “Incremental backup” on page 19 for an description about backup sets. Note: For best performance, system state/system services backup should be generated in a backup set separate from the boot and system drives. The ITSM node password ITSM requires the original node name and password as it was registered with the ITSM server prior to the recovery point for the particular node you are recovering. This will be required in order to establish a session with the server so that the server can authenticate the request and restore the data. Chapter 3. Microsoft Windows automated system recovery with ITSM 47
  • 58. 3.2.2 The recovery process for Windows 2003 Here are the steps: 1. Insert the operating system CD into the CD-ROM drive. 2. 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. You may also need to be quick as this option does not wait around too long before a “normal” startup is initiated. 3. Press F2 to enter ASR recovery mode during text mode section of Setup. This option also does not wait for a response, so you will need to be ready to press the F2 key. 4. Insert the TSM-created ASR diskette (labeled TSMASR) into the floppy drive when prompted for the “Windows ASR recovery diskette.” a. Windows reads the asrpnp.sif file from the diskette. b. Windows reformats the boot volume and may reformat other partitions on the disk if partition layout is different than on the original system. 5. The nodes hard disk will be formatted and checked for errors, also certain files will be copied to the Windows installation folders. 6. Insert the Windows client installation package CD (labeled TSMCLI) into the CD-ROM drive when prompted. The TSM client package (TSMCLI.EXE) is copied to the %SystemRoot%temp directory. 7. Insert the TSMASR diskette again into the floppy drive when prompted. The tsmasr.opt, tsmasr.cmd, and waitforevent.exe files are copied to the %SystemRoot%temp directory. 8. Remove the diskette when prompted prior to system reboot. 9. Insert the operating system CD into the drive when prompted. 10.After setup completes, a command window is opened, and the tsmasr.cmd file is run in this window. A second command window is opened (and minimized), which can be used for diagnostic purposes. 11.The TSM client is silently installed. 12.You are prompted to choose whether you want to restore from a network connected TSM server (press 1) or a local backup set (press 2). 13.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, for example, r:backupsetfile1.ost. You will be prompted for subsequent volumes if you your backup set occupies more than one volume. 14.TSM commands are issued to restore the system drive. 15.TSM commands are issued to restore system state and system services. 16.The command file exits and the machine reboots. Remove the TSMASR diskette from the drive. After rebooting, the operating system will come up in a fully recovered state. 17.Recovery of user data and applications can now be performed using traditional TSM restore facilities. 3.2.3 Windows 2003 recovery example For the results of Figure 3-16, see the following steps. 48 IBM Tivoli Storage Manager: Bare Metal Restore for Windows
  • 59. Figure 3-16 Booting from CD 1. Insert the operating system CD into the CD-ROM drive. 2. Restart the computer. 3. Press the appropriate key to boot from CD. Note: You may need to configure your computer BIOS to enable boot from CD. You may also need to be quick to select the appropriate key to boot from CD as this option does not wait around too long before a “normal” startup is initiated. Figure 3-17 Press F2 for ASR Press F2 to enter ASR recovery mode during text mode section of Setup. This option also does not wait for a response so you will need to be ready to press the F2 key. Chapter 3. Microsoft Windows automated system recovery with ITSM 49
  • 60. Figure 3-18 Insert ASR diskette into floppy drive Insert the ASR diskette (labeled TSMASR) into the floppy drive when prompted for the Windows ASR recovery diskette. This is the diskette that was created with the ITSM client option Create ASR Diskette. Refer to Figure 2-10 on page 21. Figure 3-19 Setup is formatting the hard disk The nodes hard disk will be formatted, if there was a previous version of Windows residing on the target machine, then you may need to delete the partition in order to install (recover) your backed up system. Follow the prompts and respond as you would for a new installation. Remember however that the new partition cannot have a drive space partition that is smaller than the partition that was originally backed up. 50 IBM Tivoli Storage Manager: Bare Metal Restore for Windows
  • 61. Figure 3-20 Setup is checking the drive The newly partitioned drive is then checked for errors. Figure 3-21 Setup is copying the files to the installation folders Also, certain files will be copied to the Windows installation folders. Chapter 3. Microsoft Windows automated system recovery with ITSM 51
  • 62. Figure 3-22 Windows ASR requests the ITSM client CD Insert the Windows client installation package CD (labeled TSMCLI) into the CD-ROM drive when prompted. The TSM client package (TSMCLI.EXE) is copied to the %SystemRoot%temp directory. Figure 3-23 Windows ASR requests the TSMASR diskette Insert the TSMASR diskette again into the floppy drive when prompted. The tsmasr.opt, tsmasr.cmd, and waitforevent.exe files are copied. The prompt may appear three times, once for each file that is copied to the to the %SystemRoot%temp directory. Press Enter each time and the process will continue. 52 IBM Tivoli Storage Manager: Bare Metal Restore for Windows
  • 63. Figure 3-24 Windows ASR requests removal of the floppy disk Remove the diskette when prompted prior to system reboot. Figure 3-25 WIN 2003 Setup requires the operating system CD Insert the operating system CD into the drive when prompted. Chapter 3. Microsoft Windows automated system recovery with ITSM 53
  • 64. Note: On Windows 2003 server the prompt message is not clear: Setup was unable [to] access files needed to continue. This could be caused by an error on the CD Media or the CD is no longer present in the drive. Reinsert the Windows 2003 installation CD and respond to the prompt. Figure 3-26 Windows ASR installs IBM Tivoli Storage Manager After setup completes, a command window is opened, and the tsmasr.cmd file is run in this window. A second command window is opened (and minimized), which can be used for diagnostic purposes. The TSM client is silently installed. 54 IBM Tivoli Storage Manager: Bare Metal Restore for Windows
  • 65. Figure 3-27 Decision point: restore from ITSM server or backup set You are prompted to choose whether you want to restore from a network connected TSM server (press 1) or a local backup set (press 2). Chapter 3. Microsoft Windows automated system recovery with ITSM 55
  • 66. Figure 3-28 ITSM server: requests userid and password 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, for example, r:backupsetfile1.ost. You will be prompted for subsequent volumes if you your backup set occupies more than one volume. 56 IBM Tivoli Storage Manager: Bare Metal Restore for Windows
  • 67. Figure 3-29 ITSM restores of multiple files ITSM commands are issued to restore the system drive. ITSM commands are issued to restore system state and system services on Windows 2003 (system objects on Windows XP). The command file exits and the machine reboots. Remove the ITSM ASR diskette from the drive. After rebooting, the operating system will come up in a fully recovered state. Recovery of user data and applications can now be performed using traditional ITSM restore facilities. 3.2.4 Common errors in restore process Invalid order of backup If you completed the incremental prior to doing the ASR backup then the SMSS.asr and the NTDLL.ASR files will not be backed up on the incremental backup. The following error will occur: Setup was unable to start the recovery application “C:windowstemptsmasr.cmd /sifpath=C:windowsrepairasr.sif”. The error code returned was 0x2. Follow these instructions to recover the system from this error: 1. Find another machine running the same maintenance level of Windows as the system you wish to recover. Chapter 3. Microsoft Windows automated system recovery with ITSM 57
  • 68. 2. Copy the SMSS.ASR and NTDLL.ASR files from the WINDOWSREPAIR directory of that machine to a diskette. 3. Re-run the ASR recovery process to the point where the TSM ASR recovery script prompts you for network or backupset recovery. 4. Use the minimized command window (shown at the bottom of Figure 3-29) to copy the files to the machine being recovered. For example: COPY A:*.ASR C:WINDOWSREPAIR 5. Return to the recovery window and resume the recovery process. Note: This error should only become an issue during testing as the normal state of events will ensure that once you have done an ASR backup once the files will have been created and backed up. It is, however, important to recognize this error. Figure 3-30 Diagnostic command window The diagnostic command window is available if you need to display or edit files. This facility is within a DOS prompt, and is first available when Windows ASR installs IBM Tivoli Storage Manager. See Figure 3-26 on page 54. No ASR diskette available If you did not create the ASR diskette prior to needing it for the ASR, then you will need to create a new ASR diskette on another machine, and insert the virtualnodename parameter in the tsmasr.opt file on the newly created diskette. The virtualnodename option specifies the node name of your workstation when you want to restore or retrieve files to a different workstation. 58 IBM Tivoli Storage Manager: Bare Metal Restore for Windows
  • 69. When you use the virtualnodename option in your client options file, or with a command: 1. You must specify the name you specified with the nodename option in your client options file (tsmasr.opt). This name should be different from the name returned by the hostname command on your workstation. 2. Tivoli Storage Manager prompts for the password assigned to the node you specify, if a password is required. If you enter the correct password, you have access to all backups and archives that originated from the specified node. When connecting to a server, the client must identity itself to the server. This login identification is determined in the following ways: If the nodename and virtualnodename options are not specified, or a virtual node name is not specified on the command line, the default login ID is the name returned by the hostname command. If the nodename option is specified, the name specified with the nodename option overrides the name returned by the hostname command. If the virtualnodename option is specified, or a virtual node name is specified on a command line, it cannot be the same name as the name returned by the hostname command. When the virtual node name is accepted by the server, a password is required (assuming authentication is on), even if the passwordaccess option is generate. The password is not stored in the registry even when the passwordaccess option is set to generate. Once a connection to the server is established, then access is permitted to any file backed up using this login ID: Syntax >>-VIRTUALNodename- nodename----------------------------------->< You will also need to change the tsmasr.cmd file to ensure that the restore commands point to the correct file spaces for the machine that you are restoring. Here is an example of a TSMASR.CMD file, which restores the nodename IBM-JAMES. Each occurrence of this node name has to be altered to the node name required for the machine restore: @start "IBM Tivoli Storage Manager" /MIN cmd.exe @echo off @title IBM Tivoli Storage Manager @echo Windows ASR is installing TSM. Please wait for installation to complete. %SystemRoot%temptsmcli.exe -s -e setup.exe -a /s /v"INSTALLDIR="%SystemRoot%temp~tsmasr" ADDLOCAL="Client" TRANSFORM="C:tsm_imagesTSM_BA_CLIENT1033.mst" /qn /l*v "C:WINDOWSrepairtsmasrsetup.log" RebootYesNo="No" REBOOT="Suppress" ALLUSERS=1 " %SystemRoot%tempwaitforevent.exe 600 Diagnostics REM pause pushd %SystemRoot%temp~tsmasrbaclient copy %SystemRoot%temptsmasr.opt >nul @echo Do you wish to perform Automated Service Recovery (ASR) restore from the TSM server or from a local backup set? @echo 1. Restore from the TSM server. @echo 2. Restore from a local backup set. :choice set /P CH= if /I "%CH%"=="1" goto NETWORK if /I "%CH%"=="2" goto BACKUPSET goto choice Chapter 3. Microsoft Windows automated system recovery with ITSM 59
  • 70. :NETWORK dsmc restore IBM-JAMESC$ C: -subdir=yes -preservepath=complete -replace=all -tapeprompt=no -nodename=IBM-JAMES -optfile=tsmasr.opt dsmc restore systemstate -asrmode=yes -nodename=IBM-JAMES -computername=IBM-JAMES -optfile=tsmasr.opt dsmc restore systemservices -asrmode=yes -nodename=IBM-JAMES -computername=IBM-JAMES -optfile=tsmasr.opt REM Diagnostics dsmc query backup ibm-jamesc$WINDOWSrepair*.asr -asrmode=yes -nodename=IBM-JAMES -optfile=tsmasr.opt >tsmasrdiag.txt REM dsmc query backup ibm-jamesc$WINDOWSrepair*.asr -asrmode=yes -nodename=IBM-JAMES -optfile=tsmasr.opt >a:tsmasrdiag.txt @GOTO DONE :BACKUPSET dsmc restore backupset TSMASR IBM-JAMESC$ C: -asrmode=yes -subdir=yes -preservepath=complete -replace=all -tapeprompt=no -nodename=IBM-JAMES -location=file -optfile=tsmasr.opt dsmc restore backupset TSMASR systemstate -asrmode=yes -nodename=IBM-JAMES -location=file -replace=all -computername=IBM-JAMES -optfile=tsmasr.opt dsmc restore backupset TSMASR systemservices -asrmode=yes -nodename=IBM-JAMES -location=file -replace=all -computername=IBM-JAMES -optfile=tsmasr.opt :DONE @echo on 60 IBM Tivoli Storage Manager: Bare Metal Restore for Windows
  • 71. A Appendix A. Slipstreaming Windows XP Service Pack 1a In this appendix we will discuss the creation of a Windows SP1a bootable CD from your original Windows XP CD, and the Service Pack (SP1a) available on the Microsoft Web site. Slipstreaming a Service Pack is the process utilized to integrate the Service Pack into the installation, so that with every new installation the operating system and Service Pack are installed at the same time. © Copyright IBM Corp. 2003. All rights reserved. 61