IBM E16RMLL-I - Tivoli Storage Manager Implementation Manual

Manual is about: Implementation Guide

Summary of E16RMLL-I - Tivoli Storage Manager

  • Page 1

    Ibm.Com/redbooks ibm tivoli storage manager implementation guide charlotte brooks peter mcfarlane norbert pott eduardo tomaz martin trcka use the included worksheets, scripts, and macros to make your job easier see features for new and advanced users use this hands-on guide for planning and setup fr...

  • Page 3

    Ibm tivoli storage manager implementation guide june 2006 international technical support organization sg24-5416-03.

  • Page 4

    © copyright international business machines corporation 1999, 2000, 2003, 2006. All rights reserved. Note to u.S. Government users restricted rights -- use, duplication or disclosure restricted by gsa adp fourth edition (june 2006) this edition applies to ibm tivoli storage manager version 5.3.2. No...

  • Page 5: Contents

    © copyright ibm corp. 1999, 2000, 2003, 2006. All rights reserved. Iii contents figures . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Xvii notices . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ....

  • Page 6

    Iv ibm tivoli storage manager implementation guide 2.2.16 number of archives kept . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24 2.2.17 archive frequency . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24 2.2.18 archive window times . . . . . . . . ....

  • Page 7

    Contents v 2.8.5 archive sizing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42 2.8.6 database volume identification . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43 2.8.7 tivoli storage manager recovery log . . . . . . . . . . . . . . . . . . . . ....

  • Page 8

    Vi ibm tivoli storage manager implementation guide 3.7.1 server options file . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 91 3.7.2 settings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 93 3.8 summary . . . . . . . . . ...

  • Page 9

    Contents vii 5.1.2 defining database volumes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 190 5.2 recovery log . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 192 5.2.1 recovery log design considerations . . . . . . . . . . . . . . . . . ....

  • Page 10

    Viii ibm tivoli storage manager implementation guide 6.5.2 auditing volume contents . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 246 6.5.3 back up a storage pool . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 248 6.5.4 check a tape in to a library . . . . . . ...

  • Page 11

    Contents ix 8.3 client option sets . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 298 8.3.1 considerations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 298 8.3.2 default environment . . . . . . . . . . . . . . . . . . . . . . ...

  • Page 12

    X ibm tivoli storage manager implementation guide 11.4.1 unix command-line examples and output . . . . . . . . . . . . . . . . . . 366 11.4.2 windows gui retrieve examples . . . . . . . . . . . . . . . . . . . . . . . . . . 367 11.5 summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ....

  • Page 13

    Contents xi 13.7.8 database backup management . . . . . . . . . . . . . . . . . . . . . . . . . . 442 13.8 error conditions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 445 13.8.1 tivoli storage manager errors. . . . . . . . . . . . . . . . . . . . . . . . . ...

  • Page 14

    Xii ibm tivoli storage manager implementation guide 15.4.3 general parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 509 15.5 system design for performance . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 511 15.5.1 pci busses . . . . . . . . . . . . . . . ....

  • Page 15

    Contents xiii 17.4 setting up server-free data movement . . . . . . . . . . . . . . . . . . . . . . . . . 570 17.4.1 san configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 570 17.4.2 san zoning . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ....

  • Page 16

    Xiv ibm tivoli storage manager implementation guide 20.1 windows bare machine recovery . . . . . . . . . . . . . . . . . . . . . . . . . . . . 630 20.1.1 collect client machine information for disaster recovery . . . . . . . . 630 20.1.2 collect partition and logical volume information with diskmap ...

  • Page 17

    Contents xv 22.2.4 testing new updates . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 699 22.2.5 enabling production mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 700 22.3 performing server upgrades . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ....

  • Page 18

    Xvi ibm tivoli storage manager implementation guide how to get ibm redbooks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 770 ibm redbooks collections . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 771 index . . . . . . . . . . . . . . . . ....

  • Page 19: Figures

    © copyright ibm corp. 1999, 2000, 2003, 2006. All rights reserved. Xvii figures 1-1 our ibm tivoli storage manager environment. . . . . . . . . . . . . . . . . . . . . 5 2-1 tivoli storage manager backup/restore scenarios. . . . . . . . . . . . . . . . . 17 2-2 lan-free data movement . . . . . . . ....

  • Page 20

    Xviii ibm tivoli storage manager implementation guide 4-26 installing a new web client screen panel . . . . . . . . . . . . . . . . . . . . . . . 140 4-27 selection of the web services . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 141 4-28 choose the path and file name of the options...

  • Page 21

    Figures xix 7-1 sample policy definitions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 271 10-1 isc login screen. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 313 10-2 administration interface welcome window . . . . . . . . . . . . . . . ...

  • Page 22

    Xx ibm tivoli storage manager implementation guide 16-2 windows device manager . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 535 16-3 correctly identified devices in windows device manager . . . . . . . . . . 536 16-4 registry settings for maximumsglist in windows 2000 . . . . ...

  • Page 23

    Figures xxi 22-6 aix lab environment. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 708.

  • Page 24

    Xxii ibm tivoli storage manager implementation guide.

  • Page 25: Notices

    © copyright ibm corp. 1999, 2000, 2003, 2006. All rights reserved. Xxiii 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 ...

  • Page 26: Trademarks

    Xxiv ibm tivoli storage manager implementation guide trademarks the following terms are trademarks of the international business machines corporation in the united states, other countries, or both: eserver e server redbooks™ (logo) eserver™ iseries™ pseries® xseries® z/os® z/vm® zseries® advanced pe...

  • Page 27: Preface

    © copyright ibm corp. 1999, 2000, 2003, 2006. All rights reserved. Xxv preface this ibm® redbook describes how to integrate, install, configure, and operate the very latest ibm tivoli® storage manager in heterogeneous environments. You will learn how to implement and operate ibm tivoli storage manag...

  • Page 28

    Xxvi ibm tivoli storage manager implementation guide peter mcfarlane is an it infrastructure consultant for andersenit in brisbane, australia. He is a certified tivoli storage manager consultant and aix technical expert. He has 28 years of experience in it, including 22 years on unix platforms and 1...

  • Page 29

    Preface xxvii landzettel, armando lemos da silva filho, rod macleod, andy pattinson, patrick randall, holger speh, phil thomas, and roland tretau. Thanks to the following people for their invaluable contributions to this project: emma jacobs, deanna polm, sangam racherla, julie czubik international ...

  • Page 30: Become A Published Author

    Xxviii ibm tivoli storage manager implementation guide 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 p...

  • Page 31: Introduction

    © copyright ibm corp. 1999, 2000, 2003, 2006. All rights reserved. 1 part 1 introduction the objective of this book is to provide material describing how to implement and operate ibm tivoli storage manager. We assume a basic knowledge of ibm tivoli storage manager, which you can gain by reading the ...

  • Page 32

    2 ibm tivoli storage manager implementation guide.

  • Page 33: Implementation Checklists

    © copyright ibm corp. 1999, 2000, 2003, 2006. All rights reserved. 3 chapter 1. Implementation checklists in this chapter we offer an overview of the ibm tivoli storage manager environment described in our book, as well as implementation checklists for planning, installing, and operating that enviro...

  • Page 34: 1.1  The Big Picture

    4 ibm tivoli storage manager implementation guide 1.1 the big picture any tivoli storage manager solution consists of a number of pieces that are crafted to satisfy a particular set of requirements. These solution pieces include definitions for data storage management, policy management, user manage...

  • Page 35

    Chapter 1. Implementation checklists 5 figure 1-1 our ibm tivoli storage manager environment the two primary disk storage pools hold client directory information (diskdirs) and client data (diskdata). The remaining storage pool (tapedata) is on tape and holds only client data. A copy of the client d...

  • Page 36

    6 ibm tivoli storage manager implementation guide the option files provided are examples for customizing your tivoli storage manager server and clients. If you want to use them in your implementation, you need to modify the example files to fit into your environment, and replace the existing options...

  • Page 37: 1.2  Planning Checklist

    Chapter 1. Implementation checklists 7 we recommend that you download the support material files into a separate directory on a system from which you can run an administrative command client. In our experience, the implementation works best when you choose a unix or windows platform for that system....

  • Page 38

    8 ibm tivoli storage manager implementation guide 1.2.1 server implementation checklist the server checklist identifies those tasks you must complete to set up this tivoli storage manager server environment. The tasks contained in the checklist are shown in table 1-3. These tasks are performed by ei...

  • Page 39

    Chapter 1. Implementation checklists 9 install base server code and latest fixes. 3.3, “aix server installation” on page 70, 3.4, “linux server installations” on page 72 or 3.5, “windows 2000/2003 server installation” on page 78 for your specific platform update server options file. 3.7.1, “server o...

  • Page 40

    10 ibm tivoli storage manager implementation guide define device classes. 6.2.5, “defining a device class for a library” on page 228 change server run-time settings. 3.7, “customization” on page 91 define storage pools. 6.3, “storage pools” on page 231 stgcreate define storage pool volumes. 6.4, “st...

  • Page 41

    Chapter 1. Implementation checklists 11 1.2.2 client implementation checklist the client implementation checklist consists of two parts that identify those tasks you must complete to set up this tivoli storage manager client environment. The tasks contained in the checklists are shown in table 1-4 a...

  • Page 42

    12 ibm tivoli storage manager implementation guide 1.2.3 operations checklist the operations checklist consists of those tasks you should complete on a daily basis. The tasks contained in the checklist are shown in table 1-6. Each task in the table has a reference to another section in this book. Ea...

  • Page 43: 1.3  Summary

    Chapter 1. Implementation checklists 13 1.3 summary in conclusion, we have discussed and given you access to many checklists, and now it is time to move into the actual planning details, architectural considerations, environments, and our recommendations. Monitor number of scratch tapes available. “...

  • Page 44

    14 ibm tivoli storage manager implementation guide.

  • Page 45: Implementation Planning

    © copyright ibm corp. 1999, 2000, 2003, 2006. All rights reserved. 15 chapter 2. Implementation planning a successful implementation of ibm tivoli storage manager benefits enormously from planning prior to attempting to set up the environment. We have just discussed the checklists you can use, and n...

  • Page 46: 2.1  Planning

    16 ibm tivoli storage manager implementation guide 2.1 planning understanding your customers, your environment, your business, your needs, and your requirements are key to success, in storage management as well as business in general. Tivoli storage manager can help with your storage management need...

  • Page 47

    Chapter 2. Implementation planning 17 at this point, it is very important that you consider your backup and restore requirements so that you can match the tivoli storage manager features to your needs. Since statistics show that the majority of user restore requests are for single files or other sma...

  • Page 48

    18 ibm tivoli storage manager implementation guide image, and backup set requirements that should be suitable for a real-life situation. In any case, you must evaluate whether all such requirements are really important in your case and decide whether to implement them. Complete table 2-1 using a col...

  • Page 49

    Chapter 2. Implementation planning 19 2.2.1 client name enter the name tivoli storage manager will use for each client. Each name must be unique. We recommend using the host name for the tivoli storage manager client name, so various groups such as help desk personnel or end users can easily correla...

  • Page 50

    20 ibm tivoli storage manager implementation guide 2.2.4 total storage available calculate the total amount of usable disk storage in gb available on the client. This number is the amount of disk storage seen by the client file system and does not contain the actual amount installed and used by a ra...

  • Page 51

    Chapter 2. Implementation planning 21 2.2.7 number of files backed up calculate the total number of files to be backed up for each client. This number is used to estimate disk and tape storage requirements on the tivoli storage manager server. If the number of files is unknown, two values are possib...

  • Page 52

    22 ibm tivoli storage manager implementation guide compression takes time, so you need to decide whether the compression is helping or hurting the total elapsed time of your operation. In general, very high speed networks do not benefit as much from compression because network bandwidth is usually n...

  • Page 53

    Chapter 2. Implementation planning 23 2.2.10 backup window times enter the times of the day between which tivoli storage manager must start and complete its backup cycle. This window depends on when end-user client usage drops off, by availability requirements and by network capacity usage time fram...

  • Page 54

    24 ibm tivoli storage manager implementation guide 2.2.14 gb copied per archive calculate or estimate the amount of data to be archived during each archive session. Archives target specific data files. Typically, you do not archive whole systems. 2.2.15 number of files archived calculate or estimate...

  • Page 55

    Chapter 2. Implementation planning 25 2.2.20 number of image backups identify the number of eligible system images that you want to back up. For a workstation that does not change very frequently, a good number could be six to twelve per machine. 2.2.21 image backup frequency identify how often you ...

  • Page 56

    26 ibm tivoli storage manager implementation guide for more information about client option sets see 8.3, “client option sets” on page 298. 2.3 data retention requirements in this section we identify the requirements for managing the data received from the clients. Categorize your data into a small ...

  • Page 57

    Chapter 2. Implementation planning 27 2.3.2 number of backup versions determine the number of changed copies that you want to keep of a file that exists on the client when the backup task runs. How many different versions of that file do you want to be able to restore? For example, if backup runs ev...

  • Page 58

    28 ibm tivoli storage manager implementation guide 2.3.6 archive retention period determine how long you want to keep a file that is archived. Many sites set up a limited number of data groups with standard archive retention periods, such as seven days, 31 days, 180 days, 365 days, or 7 years. Nonst...

  • Page 59

    Chapter 2. Implementation planning 29 tivoli storage manager implementations that are small (small number of clients managing a small amount of data) do not see much benefit from collocation, due to the small number of tapes required for any restore. Large tivoli storage manager implementations ofte...

  • Page 60

    30 ibm tivoli storage manager implementation guide 2.3.11 backup set retention a backup set execution creates a copy of the client node's previously backed up active files and stores them on sequential media. This has an impact on the number of tapes that you may need, especially if you want to reta...

  • Page 61

    Chapter 2. Implementation planning 31 2.4.2 installed user base the number of tivoli storage manager servers installed for a particular platform is a consideration. At the time of writing, there are more tivoli storage manager servers installed in windows and aix platforms, compared with the other c...

  • Page 62

    32 ibm tivoli storage manager implementation guide license. Check with your sales representative for more information about pricing and license regulations. 2.4.4 capacity the tivoli storage manager server can essentially manage a basically unlimited number of clients and an unlimited amount of data...

  • Page 63: 2.5  System Size

    Chapter 2. Implementation planning 33 it is important to look at the skills available among your staff for a particular operating system platform. If there are more people familiar with a particular platform, then it will be easier to maintain tivoli storage manager in this environment. 2.4.7 suppor...

  • Page 64

    34 ibm tivoli storage manager implementation guide faster i/o subsystem increases. Separate controllers or adapters for disk and tape devices become essential as the load increases. Memory is used to cache database entries, among other things. As the number of files being managed increases (and thus...

  • Page 65: 2.7  Network

    Chapter 2. Implementation planning 35 in installations where network connectivity is slow or expensive, placing a tivoli storage manager server close to the clients usually makes sense. For example, for a business that has multiple file servers in each of a number of cities interconnected by a slow ...

  • Page 66

    36 ibm tivoli storage manager implementation guide workload calculations an important consideration for designing the overall tivoli storage manager solution is the total amount of data that the tivoli storage manager server will need to support for backup or restore over a particular time frame. A ...

  • Page 67

    Chapter 2. Implementation planning 37 lan/wan transports the performance of your network backup solution will be no better than the performance of your network. You must consider expected and real performance of your network when you are designing a tivoli storage manager solution. As an example, ca...

  • Page 68

    38 ibm tivoli storage manager implementation guide when planning for lan-free data movement, remember that the file metadata must still be sent over the lan. This metadata can add overhead to a lan-free backup. Even though the data is streaming over the san to the tape or disk, the metadata still go...

  • Page 69

    Chapter 2. Implementation planning 39 2.7.3 network name resolution the tivoli storage manager server machine requires a name that clients use to reference the tivoli storage manager server. If tcp/ip is used, create a domain name server (dns) entry for tivoli storage manager itself, as well as a dn...

  • Page 70

    40 ibm tivoli storage manager implementation guide the database holds two types of data: entries for backups: this sizing calculates how much of the database holds backup entries. Entries for archives: this sizing calculates how much of the database holds archive entries. The database also holds ite...

  • Page 71

    Chapter 2. Implementation planning 41 as with any database, the faster the disk used for the database the better. Spreading the database over as many physical disks as possible allows for better performance because multiple disk heads can be seeking, reading, and writing simultaneously. Counter to c...

  • Page 72

    42 ibm tivoli storage manager implementation guide for example, using the sample data in table 2-1 on page 18 and table 2-5 on page 26, calculate the sample database size as follows: 1. 60,000 (3,000 files per workstation * 20 clients) + 8,000 (2,000 files per server) = 68,000 2. 60,000 * 2 + 8,000 ...

  • Page 73

    Chapter 2. Implementation planning 43 2.8.6 database volume identification the total required database size including both backup and archive requirements will be 190 + 1192.32 = 1382.4 mb. We recommend using the tivoli storage manager mirroring function for the database instead of a hardware or ope...

  • Page 74

    44 ibm tivoli storage manager implementation guide you have to manually increase the size of the recovery log. This may take some time but can usually be avoided with adequate precautions (for example, by monitoring and planning for growth). To estimate the size of the recovery log, multiply the dat...

  • Page 75

    Chapter 2. Implementation planning 45 until space is needed for further backups. This can significantly improve restore performance for recently backed up files. As the cost of per megabyte of disk decreases, more and more disk is being used in tivoli storage manager designs. Some use no tape at all...

  • Page 76

    46 ibm tivoli storage manager implementation guide migration to the next storage pool can execute concurrently; however, performance will degrade. We recommend using a primary disk storage pool of at least the recommended size to reduce interference from migration while backup is running. 2.8.9 disk...

  • Page 77

    Chapter 2. Implementation planning 47 to additionally increase the storage pool to hold archive data as well, follow these steps: 1. Using table 2-1 on page 18 and the gb copied per archive field, group all machines that require simultaneous archive operations during one common time frame (for examp...

  • Page 78

    48 ibm tivoli storage manager implementation guide on their own disk devices and controller separate from the database and the recovery log, if possible. Complete table 2-11 with the primary storage pool file names and volume names for your primary storage pool. We are considering backup and archive...

  • Page 79

    Chapter 2. Implementation planning 49 complete table 2-12 on page 49 with the device configuration and volume history file names and sizes. Table 2-12 device configuration and volume history worksheets 2.8.13 total disk total disk refers only to the numbers discussed here. If you are using mirroring...

  • Page 80: 2.9  Tape Drives and Sizing

    50 ibm tivoli storage manager implementation guide 2.9 tape drives and sizing in this section we discuss the calculations for estimating the size of a tape library to support a tivoli storage manager solution. Similar calculations can be used to determine the total disk storage needed to support an ...

  • Page 81

    Chapter 2. Implementation planning 51 whether you use table 2-14 or your own calculations, it is critical when designing a tivoli storage manager solution to measure the backup and potential restore workload against the speed of your tape solution. In our earlier example, for instance, we calculated...

  • Page 82

    52 ibm tivoli storage manager implementation guide 2.9.1 tape devices tape drives come in all sizes, including, but not limited to, dlt, sdlt, lto, 3590, and other device types. Each type of drive has a different data capacity, performance, cost, and reliability characteristics. Although data capaci...

  • Page 83: 2.10  Tape Volumes

    Chapter 2. Implementation planning 53 to avoid limiting your scalability (few environments are static or shrink with regards to the amount of managed data) to avoid building additional complexity into the design and implementation, which will drive the cost of implementation higher because the price...

  • Page 84

    54 ibm tivoli storage manager implementation guide requirements, and therefore, the calculation may not be linear. In any case, keep in mind that it is best to assume a middle case/worst case scenario so that you do not run out of tapes. Backup tapes to calculate the number of on-site tape volumes r...

  • Page 85

    Chapter 2. Implementation planning 55 archive tapes for archive tapes: 1. Using table 2-1 on page 18, multiply the gb copied per archive by (1 - the data compression rate), giving transferred archive data. 2. For each client, multiply the transferred archive data by the number of archives kept in a ...

  • Page 86

    56 ibm tivoli storage manager implementation guide 3. If the tape device has a capacity of 400 gb, then the image backup data needs only one tape to store it all (assuming no compression). Therefore, the total on-site tape requirements for this example would be 14+4+1 = 19 tapes. 2.10.2 off-site vol...

  • Page 87

    Chapter 2. Implementation planning 57 we have a total of 49 on-site, off-site, and scratch tapes. Fifteen percent of this is nine tapes. Backup set volumes it is worth calculating backup set tape space requirements separately from regular file-based processing due to the nature of backup sets. Note ...

  • Page 88

    58 ibm tivoli storage manager implementation guide adding up all these numbers as stored in table 2-15 on page 51 gives a total of 68 tape volumes required, growing to 75 in the first year, assuming a 10% growth rate. You then need to consider this number against the library configurations available...

  • Page 89: 2.11  Administrator Ids

    Chapter 2. Implementation planning 59 2.11 administrator ids identify who will be the tivoli storage manager administrators in your organization. A tivoli storage manager administrator controls tivoli storage manager resources. There can be numerous administrators with varying levels of authority ov...

  • Page 90

    60 ibm tivoli storage manager implementation guide 2.11.1 license considerations this section describes the tasks involved when licensing a tivoli storage manager system, including registering, saving, and auditing. The base ibm tivoli storage manager feature includes the following support: an unlim...

  • Page 91

    Chapter 2. Implementation planning 61 the nodelock file is destroyed or corrupted. Tivoli storage manager stores license information in the nodelock file, which is located in the directory from which the server is started. Monitoring licenses when license terms change (for example, a new license is ...

  • Page 92: 2.12  Other Considerations

    62 ibm tivoli storage manager implementation guide 2.12 other considerations there are numerous other topics to be considered when planning a tivoli storage manager installation. Many of these topics are outside the scope of this book, but we mention them here for completeness. Staffing staffing req...

  • Page 93: 2.13  Summary

    Chapter 2. Implementation planning 63 export/import it is possible to export a client definition and all of its related data from one tivoli storage manager server and import it into another tivoli storage manager server. This facility is useful for moving clients from one server platform to another...

  • Page 94

    64 ibm tivoli storage manager implementation guide.

  • Page 95: Installation

    © copyright ibm corp. 1999, 2000, 2003, 2006. All rights reserved. 65 part 2 installation in this part of the book we discuss the installation of the server and client code that will be used to implement ibm tivoli storage manager. We provide implementation checklists and describe the various planni...

  • Page 96

    66 ibm tivoli storage manager implementation guide.

  • Page 97: Server Installation

    © copyright ibm corp. 1999, 2000, 2003, 2006. All rights reserved. 67 chapter 3. Server installation in this chapter we explain the steps relating to the basic installation of an ibm tivoli storage manager server. We cover the topics of code installation and options file customization. We assume tha...

  • Page 98: 3.1  Software Installation

    68 ibm tivoli storage manager implementation guide 3.1 software installation we assume that you have read and understood the ibm redbook, ibm tivoli storage management concepts, sg24-4877, as well as the previous chapters. You should also use the instructions in the associated quick start manual for...

  • Page 99

    Chapter 3. Server installation 69 the individual fix directories in general include files listed below. The names and content of these files may vary slightly across platforms: readme.Ftp this file contains the download and install instructions. Readme.1st this file contains important information th...

  • Page 100

    70 ibm tivoli storage manager implementation guide 3.3 aix server installation here we show how to perform a fresh install of the tivoli storage manager server code on aix on a pseries server with aix v5.3 64-bit installed. You must be logged in as root to install the tivoli storage manager server c...

  • Page 101

    Chapter 3. Server installation 71 – tivoli.Tsm.License.Cert license certificates – tivoli.Tsm.Server.Webcon administration center 4. Perform a preview install to make sure there is sufficient disk space and that all prerequisite filesets have been selected. With preview only and preview new license ...

  • Page 102

    72 ibm tivoli storage manager implementation guide [top] geninstall -i "a -cgnqwxy -j" -z -d /usr/sys/inst.Images -f file 2>&1 file: i:tivoli.Tsm.License.Aix5.Rte64 5.3.2.0 i:tivoli.Tsm.License.Cert 5.3.2.0 i:tivoli.Tsm.Msg.En_us.Devices 5.3.2.0 i:tivoli.Tsm.Msg.En_us.Server 5.3.2.0 i:tivoli.Tsm.Ser...

  • Page 103

    Chapter 3. Server installation 73 3.4.2 installation commands go to the directory where the tivsm-server package was uncompressed and unpacked (or the mount point for cd-rom). Execute the server installation script, install_server, as shown in example 3-4. Select the language for installation (2 for...

  • Page 104

    74 ibm tivoli storage manager implementation guide - do not download, install, copy, access, or use the program; and - promptly return the program and proof of entitlement to press enter to continue viewing the license agreement, or, enter "1" to accept the agreement, "2" to decline it or "99" to go...

  • Page 105

    Chapter 3. Server installation 75 the basic install includes the following packages: tivsm-server-5.3.2-0 tivsm-license-5.3.2-0 should i continue with the basic install? (y/n) y installing tivsm-server-5.3.2-0. Preparing... ########################################### [100%] 1:tivsm-server ##########...

  • Page 106

    76 ibm tivoli storage manager implementation guide 3.4.3 post-installation steps after the installation, the server does not start automatically. We need to customize the server options file, /opt/tivoli/tsm/server/bin/dsmserv.Opt. As shown in example 3-6, the default dsmserv.Opt file created at ins...

  • Page 107

    Chapter 3. Server installation 77 anr4726i the icc support module has been loaded. Anr0990i server restart-recovery in progress. Anr0200i recovery log assigned capacity is 8 megabytes. Anr0201i database assigned capacity is 36 megabytes. Anr0306i recovery log volume mount in progress. Anr0353i recov...

  • Page 108

    78 ibm tivoli storage manager implementation guide 3.4.4 uninstallation of the server if you need to uninstall the server, use rpm to uninstall the modules: rpm -e tivsm-license-5.3.2-0.I386.Rpm rpm -e tivsm-server-5.3.2-0.I386.Rpm rpm -e tivsm-tsmscsi-5.3.2-0.I386.Rpm depending on the customization...

  • Page 109

    Chapter 3. Server installation 79 figure 3-1 windows tivoli storage manager server installation menu 2. Choose the tsm server installation package first. The installshield wizard will guide you through the installation of the package. Click next on the wizard welcome window. 3. The license agreement...

  • Page 110

    80 ibm tivoli storage manager implementation guide manager server components and prerequisites are installed. If you do not want to install the server to the default install path c:\program files\tivoli\tsm, you can change the installation path on the custom setup page. Select complete and click nex...

  • Page 111

    Chapter 3. Server installation 81 3.5.3 tivoli storage manager device driver package installation to install: 1. Choose tsm device driver from the installation menu (figure 3-1 on page 79). 2. The installshield wizard initiates. Click next on the wizard welcome window. 3. Enter customer information ...

  • Page 112

    82 ibm tivoli storage manager implementation guide if you want to install a different language pack or the backup-archive client code on the same machine, you may do so by choosing those options in the install menu. 3.5.4 windows 2000/2003 configuration wizards the tivoli storage manager server util...

  • Page 113: Center

    Chapter 3. Server installation 83 figure 3-3 shows the main screen for the server configuration wizard. Figure 3-3 server main configuration wizard 3.6 integrated solution console and administration center tivoli storage manager v5.3 and later servers are administered through a new administrative gu...

  • Page 114

    84 ibm tivoli storage manager implementation guide you install the administration center as an ibm integrated solutions console (isc) component. The integrated solutions console allows you to install components provided by multiple ibm applications, and access them from a single interface. The tivol...

  • Page 115

    Chapter 3. Server installation 85 figure 3-4 isc and tsm administration center: sample figure 3.6.1 isc and administration center installation the isc and the administration center are supported on aix, windows, sun solaris, and linux. For detailed information about the system requirements and platf...

  • Page 116

    86 ibm tivoli storage manager implementation guide figure 3-5 installshield wizard for ibm integrated solutions console 2. The next screen shows detailed installation system requirements. This information is also available in the readme file in the installation directory. Make sure that your system ...

  • Page 117

    Chapter 3. Server installation 87 click next. You will be asked to review and confirm your settings as shown in figure 3-6. Figure 3-6 isc installation: review and confirm settings.

  • Page 118

    88 ibm tivoli storage manager implementation guide 7. To start the installation, click next. The installation progress will be displayed as in figure 3-7. Figure 3-7 isc installation progress 8. After the isc installation is complete, a success screen is displayed. Click next, then click finish. You...

  • Page 119

    Chapter 3. Server installation 89 9. Change to the directory to which you have extracted the administration center code and start setupac.Exe. The installshield wizard for tivoli storage administration center is displayed, as shown in figure 3-8. Click next. Figure 3-8 installshield wizard for admin...

  • Page 120

    90 ibm tivoli storage manager implementation guide documentation. If you do not require a language other than english make no selection and click next. The installation configuration settings will be displayed for confirmation, as shown in figure 3-9. Figure 3-9 administration center installation: c...

  • Page 121: 3.7  Customization

    Chapter 3. Server installation 91 figure 3-10 tsm administration center installation: success 3.7 customization the tivoli storage manager server has a number of options and settings that control its operation. You specify the options in the server options, as well as some individual settings. 3.7.1...

  • Page 122

    92 ibm tivoli storage manager implementation guide table 3-1 shows the default location of the tivoli storage manager server options file by server platform. We recommend saving a backup copy of the existing options file before updating it. Table 3-1 server options file location although the number ...

  • Page 123

    Chapter 3. Server installation 93 for more information about the different server options, see ibm tivoli storage manager quick start manual and administrator’s reference manual for your platform. 3.7.2 settings tivoli storage manager provides default server run-time settings. These settings are sto...

  • Page 124

    94 ibm tivoli storage manager implementation guide password prompt, that user must have the system access revoked. Example 3-10 shows how this policy is implemented through administrative commands. Example 3-10 setting security-related commands on the server tsm: tsm>set authentication on anr2095i a...

  • Page 125: 3.8  Summary

    Chapter 3. Server installation 95 3.8 summary now you have your tivoli storage manager server installed. It is time to move on to installing the clients and testing your initial backup configuration. The following chapter talks specifically about configuring clients..

  • Page 126

    96 ibm tivoli storage manager implementation guide.

  • Page 127: Backup-Archive Client

    © copyright ibm corp. 1999, 2000, 2003, 2006. All rights reserved. 97 chapter 4. Backup-archive client installation now that you have your server installed, in this chapter we cover the steps you must perform to install and configure the backup-archive client. We also show you how to configure the b...

  • Page 128

    98 ibm tivoli storage manager implementation guide 4.1 backup-archive client code there are three types of tivoli storage manager client. Here we describe some of their characteristics. 4.1.1 backup-archive client the first type is the native backup-archive client . This client code is installed on ...

  • Page 129

    Chapter 4. Backup-archive client installation 99 figure 4-1 difference between a local and web-based restore here is your data local client restore via ibm tivoli storage manager client "ron" ibm tivoli storage manager client code installed - runs local gui or cli please restore hermione's data "her...

  • Page 130

    100 ibm tivoli storage manager implementation guide the web backup-archive client main window is shown in figure 4-2. Its functions are described in the following sections. Figure 4-2 web backup-archive client main window the web client has components that must be installed and configured on any cli...

  • Page 131: 4.2  Code Installation

    Chapter 4. Backup-archive client installation 101 the remote client agent performs the client functions initiated with the web client interface. The name of the executable is dsmagent. The agent does not have to be running all the time. The acceptor daemon starts the agent when client functions are ...

  • Page 132

    102 ibm tivoli storage manager implementation guide 4.2.1 backup-archive client code the backup-archive client is installed on each machine that you need to protect with backups. After installing the client code and customizing how it should interact with the tivoli storage manager server, you have ...

  • Page 133

    Chapter 4. Backup-archive client installation 103 here are the steps: 1. Insert either the tivoli storage manager client for aix installation cd in the cd-rom drive or store a downloaded the installation package onto your file system. As root, enter smitty installp at the shell prompt. 2. Choose ins...

  • Page 134

    104 ibm tivoli storage manager implementation guide f1¦ f8=image f10=exit enter=do ¦ f5¦ /=find n=find next ¦ f9+--------------------------------------------------------------------------+ 4. Select the filesets to install, as shown in example 4-3. Place the cursor in the software to install option ...

  • Page 135

    Chapter 4. Backup-archive client installation 105 5. Perform a preview install to ensure that there is sufficient disk space and that all prerequisite filesets have been selected. Example 4-4 shows the preview only and preview new license agreements options set to yes. Example 4-4 smitty screen - pr...

  • Page 136

    106 ibm tivoli storage manager implementation guide extend file systems if space needed? Yes + overwrite same or newer versions? No + verify install and check file sizes? No + detailed output? No + process multiple volumes? Yes + accept new license agreements? Yes + preview new license agreements? N...

  • Page 137

    Chapter 4. Backup-archive client installation 107 store the compressed installation package on the machine where you want to install the backup-archive client and do the following: 1. Decompress the zip file and unpack the tar file, as in example 4-7. The command output was actually longer, as there...

  • Page 139

    Chapter 4. Backup-archive client installation 109 installshield method the method is: 1. Insert the installation cd and when the autorun displays the main installation window, click install products tobegin. Figure 4-4 shows the available backup-archive client installation packages. Figure 4-4 backu...

  • Page 140

    110 ibm tivoli storage manager implementation guide 2. Select the language environment for the installation process (in our case english). The installshield wizard then starts the installation process. Click next and you are given an option to specify the destination folder where the client code is ...

  • Page 141

    Chapter 4. Backup-archive client installation 111 3. Choose the type of installation. In figure 4-6 we chose a typical installation. You may choose custominstallation to select additional components and features, such as open files support, image backup support, and more. However, when these feature...

  • Page 142

    112 ibm tivoli storage manager implementation guide 5. When the installation is done, the window shown in figure 4-7 will be displayed. Click finish to end the installation. Figure 4-7 completion of client installation this concludes the interactive installation of the windows backup-archive client....

  • Page 143: 4.3  Customization

    Chapter 4. Backup-archive client installation 113 down all tivoli storage manager client programs and services before performing the installation. Example 4-10 backup-archive sample client silent installation c:\> msiexec /i "c:\windowsclient5.3.2\tsmcli\x32\client\disk1\ibm tivoli storage manager c...

  • Page 144

    114 ibm tivoli storage manager implementation guide dsm_config specifies the location of the client options file dsm.Opt. Set this environment variable to the fully qualified path and file name of the client options file. Dsm_dir specifies the location of all other client files. Set this environment...

  • Page 145

    Chapter 4. Backup-archive client installation 115 we provide recommended option files for the various client platforms, as the layout of the supplied options file is not immediately intuitive. The backup-archive client has at least one configuration file, which is divided into the following parts: c...

  • Page 146

    116 ibm tivoli storage manager implementation guide communication options each tivoli storage manager client needs basic communication settings to send or receive data. You can choose any protocol that is supported by tivoli storage manager, provided that both client and server are properly configur...

  • Page 147

    Chapter 4. Backup-archive client installation 117 tcpbuffsize specifies the size, in kilobytes, of the tivoli storage manager internal tcp/ip communication buffer. This setting is highly operating-system specific. You must only use the allowed values for your tcp/ip implementation. Nodename indicate...

  • Page 148

    118 ibm tivoli storage manager implementation guide provides a secure way for exchanging passwords and generating a new one whenever the old client node password expires. Replace specifies default behavior for when tivoli storage manager restores files that already exist on the client node. This opt...

  • Page 149

    Chapter 4. Backup-archive client installation 119 options file to support your requirements. Respective client options are dateformat, numberformat, and timeformat. Include-exclude options the include-exclude options are written into the client user options file dsm.Opt on non-unix platforms. On uni...

  • Page 150

    120 ibm tivoli storage manager implementation guide 4.3.2 web backup-archive client these client options are important when using the web client: passwordaccess the passwordaccess option must be set to generate and the password itself must be generated by first running a backup-archive client sessio...

  • Page 151

    Chapter 4. Backup-archive client installation 121 when the gui client starts, it checks to see whether a client user options file exists. If the client user options file does not exist (which is typically the case when the client is first installed), the setup wizard automatically starts to guide yo...

  • Page 152

    122 ibm tivoli storage manager implementation guide to create a new client options file: 1. Open the java gui with the command dsmj . Since this is the first time we run the client, and the options file is not configured yet, the client wizard starts immediately, as shown in figure 4-8. We choose cr...

  • Page 153

    Chapter 4. Backup-archive client installation 123 2. In the next screen (figure 4-9) enter the tivoli storage manager server name. On unix clients, you may create multiple server definitions in your central option file (dsm.Sys), each with different settings. Each set of definitions uses a different...

  • Page 154

    124 ibm tivoli storage manager implementation guide if the client resides on the same machine as server code). We chose tcp/ip, as in figure 4-10, since this is the most common method across all client types. Figure 4-10 client/server communication method screen.

  • Page 155

    Chapter 4. Backup-archive client installation 125 4. When using the tcp/ip communication method, we need to provide the address of the server and the tcp/ip port the server instance listens on, as in figure 4-11. You may use either the tcp/ip address or the host name. In our case, the server is inst...

  • Page 156

    126 ibm tivoli storage manager implementation guide 5. Enter the client node name that will be used to authenticate with the server defined in this stanza. You need to ask your tivoli storage manager administrator what node name they used to register your client to the server. Often this is the same...

  • Page 157

    Chapter 4. Backup-archive client installation 127 6. In the final screen, figure 4-13, you are prompted to apply the settings configured in the previous screens. To review or change any options, click back. When satisfied, complete the configuration wizard by clicking finish. Figure 4-13 completing ...

  • Page 158

    128 ibm tivoli storage manager implementation guide journalling on aix setup with the client v5.3.3 you can use the journalling service to run journal-based backups on aix nodes. This service observes and keeps track of changes in files in local file systems. During incremental backups this informat...

  • Page 159

    Chapter 4. Backup-archive client installation 129 the script file /usr/tivoli/tsm/client/ba/bin/jbbinittab. This puts the following entry in /etc/inittab so that the journal daemon starts when the machine boots: tsmjbb:2:wait:/usr/tivoli/tsm/client/ba/bin/rc.Tsmjbb > /dev/console 2>&1 4.5 use of win...

  • Page 160

    130 ibm tivoli storage manager implementation guide to do this: 1. Start the native gui either from start → programs → tivoli storage manager → backup-archive gui or with the dsm command at the command line. On startup, the client checks whether a client options file exists as specified in the dsm_c...

  • Page 161

    Chapter 4. Backup-archive client installation 131 2. In the next screen (figure 4-16) you have the option to create, update, or import an options file. We select create a new options file. Figure 4-16 windows create options file.

  • Page 162

    132 ibm tivoli storage manager implementation guide 3. Enter a node name to be used by the client. You need to contact your tivoli storage manager administrator to obtain the node name they have used to register your client to the server. In figure 4-17 we used the host name, diomede. Figure 4-17 wi...

  • Page 163

    Chapter 4. Backup-archive client installation 133 4. Select the communication method. We chose tcp/ip, as in figure 4-18. Figure 4-18 client-server communication method.

  • Page 164

    134 ibm tivoli storage manager implementation guide 5. Enter the tivoli storage manager server ip address or resolvable host name and the tcp/ip port number. Figure 4-19 shows our values using the default tcp/ip port of 1500. Figure 4-19 tcp/ip parameters.

  • Page 165

    Chapter 4. Backup-archive client installation 135 6. Figure 4-20 shows a recommended include/exclude file list. These files are in most cases not needed for system recovery, so the client configuration wizard gives you the option to directly exclude here, while allowing other files to be backed up o...

  • Page 166

    136 ibm tivoli storage manager implementation guide example. On the other hand, excluding executables (.Exe) or dynamic library files (.Dll) might have a negative impact on the recovery procedures. In our example, figure 4-21, we exclude video files with an .Avi suffix. Figure 4-21 common file exclu...

  • Page 167

    Chapter 4. Backup-archive client installation 137 all file systems, so we recommend the backup all local file systems option unless you really do want to exclude certain file systems from backup. Doing this ensures that if you add a new partition or disk, it will be automatically included in increme...

  • Page 168

    138 ibm tivoli storage manager implementation guide 9. Figure 4-23 shows the end of the wizard. To apply the settings you have selected, click finish. You can also modify your selections by going back. Figure 4-23 completion of client configuration wizard 10.The client gui automatically starts. You ...

  • Page 169

    Chapter 4. Backup-archive client installation 139 4.5.2 web client configuration to run the configuration tasks and launch the configuration wizard from the backup-archive client main screen. Select utilities → setup wizard from the client gui, shown in figure 4-59 on page 172. 1. We are setting up ...

  • Page 170

    140 ibm tivoli storage manager implementation guide 2. We want to install a new web client, so select this option as in figure 4-26. Figure 4-26 installing a new web client screen panel.

  • Page 171

    Chapter 4. Backup-archive client installation 141 3. As shown in figure 4-27, we select the name of the web service “client acceptor process, which you will see running and also will be seen later in the windows services list. We accept the default name. Figure 4-27 selection of the web services.

  • Page 172

    142 ibm tivoli storage manager implementation guide 4. Enter the path and file name of the options file, as in figure 4-28. We have chosen the default location, which is the client installation directory, in subdirectory baclient. Figure 4-28 choose the path and file name of the options file.

  • Page 173

    Chapter 4. Backup-archive client installation 143 5. In figure 4-29, specify the port that the web client acceptor will listen on. This will be the port you reference when connecting with your browser. We choose the default, 1581. Figure 4-29 enter a web client acceptor port number.

  • Page 174

    144 ibm tivoli storage manager implementation guide 6. It should display your client node name. Enter in the client password, as shown in figure 4-30. We recommend checking the contact the tsm server to validate password box so that the client will authenticate with the tivoli storage manager server...

  • Page 175

    Chapter 4. Backup-archive client installation 145 7. In the service login options panel, select the windows account that will start and run the web client service. Also you can select whether to start the service automatically or manually, as shown in figure 4-31. Figure 4-31 selection panel for the...

  • Page 176

    146 ibm tivoli storage manager implementation guide 8. Next, choose a name for the remote client agent, as in figure 4-32. This will be the name of the service that displays in the windows services applet. Note that this service only runs when requested by the web client; therefore, you do not speci...

  • Page 177

    Chapter 4. Backup-archive client installation 147 9. Determine whether you want to revoke access to this web client for administrators with access privilege, which is shown in figure 4-33. Note that this will not restrict the administrators who are granted client owner privilege. We leave it with de...

  • Page 178

    148 ibm tivoli storage manager implementation guide 10.In the window shown in figure 4-34 choose whether to start the web client services after this wizard completes. Figure 4-34 choose whether to start the service after the wizard completes.

  • Page 179

    Chapter 4. Backup-archive client installation 149 11.Figure 4-35 is the completion screen for the wizard. Click finish to commit the changes or back to review your selections. Figure 4-35 completion panel for the web client configuration 12.Figure 4-36 shows that we are all done. Figure 4-36 that is...

  • Page 180

    150 ibm tivoli storage manager implementation guide an mscs cluster environment, you will have one scheduler service backing up operating system files on local disks using a local node name and another scheduler service, running under a cluster-wide node name, backing up database files on shared dis...

  • Page 181

    Chapter 4. Backup-archive client installation 151 3. Enter a name for the scheduler service, as in figure 4-38. You can choose to install it on the local machine or on a remote machine. Optionally, you may specify for the web client acceptor daemon (cad) to operate the scheduler service. This is use...

  • Page 182

    152 ibm tivoli storage manager implementation guide 4. In figure 4-39, enter the option file. For our first scheduler instance, this is the standard client options file. If running multiple scheduler clients, then each needs its own client options file. Figure 4-39 select the option file to use.

  • Page 183

    Chapter 4. Backup-archive client installation 153 5. Enter the client node name and password (figure 4-40). As before in step 6 on page 144, you can choose to immediately authenticate to the tivoli storage manager server. Figure 4-40 supply the client node name and password.

  • Page 184

    154 ibm tivoli storage manager implementation guide 6. Choose which windows account to run the service in, and the startup options, as in figure 4-41. Figure 4-41 choose the windows account and starting options for the client.

  • Page 185

    Chapter 4. Backup-archive client installation 155 7. Enter a directory and name for the schedule and error log files. We accepted the default locations, as shown in figure 4-42. We also selected to log events to the windows event log. The schedule log contains the results of scheduled operations, an...

  • Page 186

    156 ibm tivoli storage manager implementation guide 8. In figure 4-43, choose whether to start the scheduler service after this wizard completes. Figure 4-43 startup choice once the wizard has completed.

  • Page 187

    Chapter 4. Backup-archive client installation 157 9. Figure 4-44 is the completion screen for the wizard. Click finish to commit the changes or back to review your selections. Figure 4-44 configuration completion panel 10.Figure 4-45 shows the successful completion message. Figure 4-45 scheduler ins...

  • Page 188

    158 ibm tivoli storage manager implementation guide this section shows how to configure this feature with the wizard: 1. Start the wizard from the backup-archive client and select help me configure the tsm journal engine from the screen shown in figure 4-25 on page 139. 2. In figure 4-46, choose ins...

  • Page 189

    Chapter 4. Backup-archive client installation 159 3. In the screen shown in figure 4-47 select which file systems you want to journal. You can select individual file systems or check to journal all local file systems. Figure 4-47 choose the file systems that are to be journaled.

  • Page 190

    160 ibm tivoli storage manager implementation guide 4. In the screen shown in figure 4-48 specify where to put the journal database. You can have one single journal database for all the journaled file systems, or have the journal files spread across the respective file systems. If running the journa...

  • Page 191

    Chapter 4. Backup-archive client installation 161 5. In the next screen (figure 4-49 on page 161) you specify which particular changes in the file systems are to be monitored by the journal engine. By default, creating new objects, changing the content of the existing ones, and changing access contr...

  • Page 192

    162 ibm tivoli storage manager implementation guide 6. You can limit the maximum size of the journal database. We recommend not doing this, as shown in figure 4-50. Figure 4-50 journal database maximum size panel.

  • Page 193

    Chapter 4. Backup-archive client installation 163 7. Define the service login options. As with the other services, we recommend running as the system account, as shown in figure 4-51. Figure 4-51 login properties for the journal service.

  • Page 194

    164 ibm tivoli storage manager implementation guide 8. In the screen shown in figure 4-52 we select to start the service immediately. Figure 4-52 start up service after the wizard completes.

  • Page 195

    Chapter 4. Backup-archive client installation 165 9. Figure 4-53 is the completion screen for the wizard. Click finish to commit the changes or back to review your selections. Figure 4-53 journal service completion wizard 10.The journal engine is successfully installed, as shown in figure 4-54. Figu...

  • Page 196

    166 ibm tivoli storage manager implementation guide 2. Select install the logical volume snapshot agent, as in figure 4-55. Figure 4-55 install panel for the online image support 3. There are no options to select. The agent simply performs the installation. Click next on the completion window. You a...

  • Page 197

    Chapter 4. Backup-archive client installation 167 figure 4-56 successful configuration of online image support 4.5.6 open file support configuration as with the previous configuration, open file support is very short and simple. Open file backup is now supported on all supported windows platforms, s...

  • Page 198: 4.6  Client Interfaces

    168 ibm tivoli storage manager implementation guide 3. There are no options to select. The agent simply installs. Click next on the completion window. Figure 4-58 shows that the agent has successfully installed. Figure 4-58 successfully completed panel 4.6 client interfaces tivoli storage manager cl...

  • Page 199

    Chapter 4. Backup-archive client installation 169 example 4-12 backup-archive client interfaces by platform there are minor differences between the backup-archive client code on different platforms. For example, the windows client has specific options to handle the windows registry information, whic...

  • Page 200

    170 ibm tivoli storage manager implementation guide unix, we also give examples of windows commands. 4.6.1 command line the command-line interface (cli) is a character mode interface, and therefore is well suited for those users who are generally familiar with these types of interfaces, for example,...

  • Page 201

    Chapter 4. Backup-archive client installation 171 the operating system prompt. This is the recommended way to use the dsmc command when creating scripts for automation. You can create each dsmc command in turn (as well as any other operating system command you want to include in the script) and save...

  • Page 202

    172 ibm tivoli storage manager implementation guide 4.6.2 gui most end users find the gui more attractive and intuitive than the command line. You can use it for all tivoli storage manager client operations except for scheduled operations. Starting a session to start the gui, enter dsm at the operat...

  • Page 203: 4.7  Client Scheduler

    Chapter 4. Backup-archive client installation 173 figure 4-60 shows the main screen of the java™-based client gui on unix and linux. Figure 4-60 java-based backup-archive client gui interface depending on the features of your unix machine, for example, if it has the common desktop environment (cde) ...

  • Page 204

    174 ibm tivoli storage manager implementation guide process on the workstation. Once you start the client scheduler, further intervention is not necessary. With regard to scheduling, you may also want to: display information about available schedules. Display information about work that the schedule...

  • Page 205

    Chapter 4. Backup-archive client installation 175 to start the client scheduler on your client node and connect to the server scheduler, enter the dsmc schedule command from the operating system prompt, as shown in example 4-16. You will be prompted to type in the password unless you have set the pa...

  • Page 206

    176 ibm tivoli storage manager implementation guide unix/linux to run the schedule command in the background and to keep the client scheduler running even if you log off your unix system, enter the command shown in example 4-17 on page 176 from the unix shell. Example 4-17 running the client schedul...

  • Page 207

    Chapter 4. Backup-archive client installation 177 example 4-18 shows how to manually install the client scheduler named tsm central scheduler on node diomede on a windows 2003 machine. Example 4-18 installation and configuration of scheduler service using dsmcutil c:\program files\tivoli\tsm\baclien...

  • Page 208

    178 ibm tivoli storage manager implementation guide the dsmcutil utility can also be used to install the other services (web client, journal engine, and so on) as well as query and update service settings. For more information about the use and syntax of dsmcutil, see ibm tivoli storage manager back...

  • Page 209

    Chapter 4. Backup-archive client installation 179 execute regular schedules, especially if you have an enterprise policy to have tivoli storage manager machines backed up at some point in the day. If you rely on manual startup, this can be easily forgotten if the owner of the client system has to re...

  • Page 210

    180 ibm tivoli storage manager implementation guide you can also change settings using the services applet like any other operating system or application service. Figure 4-62 shows how to do this. Figure 4-62 changing startup behavior of the client scheduler service in windows 4.7.2 stopping the sch...

  • Page 211: 4.8  Web Client Usage

    Chapter 4. Backup-archive client installation 181 on windows platforms, you can also terminate the client scheduler by stopping its service in the services applet or calling the dsmcutil stop command, as shown in example 4-20. Example 4-20 stopping client scheduler service using dsmcutil stop comman...

  • Page 212

    182 ibm tivoli storage manager implementation guide logical volume operations. The windows web client can also back up and restore system objects. For file-based restore operations, both active and inactive files can be restored, and the point-in-time restore function is supported. You may search fo...

  • Page 213

    Chapter 4. Backup-archive client installation 183 4.8.4 starting the web client the web client consists of two processes on the client workstation: the client acceptor and remote client agent. Client acceptor the client acceptor daemon (cad) is an http daemon that serves the web client java applet t...

  • Page 214

    184 ibm tivoli storage manager implementation guide figure 4-63 shows the main web client screen. Figure 4-63 platform-independent web client when you try to connect to a client by using the web client interface, tivoli storage manager validates the administrator id given. You are then granted acces...

  • Page 215

    Chapter 4. Backup-archive client installation 185 on windows platforms, if you wish to disable administrators from accessing the web client, you can prevent the service from starting by disabling it. To do that, change the service setting to disabled or use a dsmcutil equivalent command. In example ...

  • Page 217: Database and Recovery Log

    © copyright ibm corp. 1999, 2000, 2003, 2006. All rights reserved. 187 chapter 5. Database and recovery log by now you should have completed the installation of your ibm tivoli storage manager server and clients, and done some basic functional testing. You are ready to move on to further customizati...

  • Page 218: 5.1  Database

    188 ibm tivoli storage manager implementation guide 5.1 database the database is a critical tivoli storage manager component. It must be configured for good availability performance. 5.1.1 database design considerations before you start, there are a few important differences to consider, depending o...

  • Page 219

    Chapter 5. Database and recovery log 189 if you have a number of physical disks (or logical luns) allocated for use with tivoli storage manager, try to position the database volumes on different file systems, to leverage performance provided by the hardware. If using mirroring for database and recov...

  • Page 220

    190 ibm tivoli storage manager implementation guide figure 5-1 tivoli storage manager database volumes 5.1.2 defining database volumes there are two ways to allocate a new database volume. The most common and easiest to use is the define dbvolume command (or equivalent administration center gui func...

  • Page 221

    Chapter 5. Database and recovery log 191 example 5-1 shows how to define a new database volume on a windows server. The volume is called c:\tsmdata\dbp\dbv_01.Dsm and is 1 gb in size. Example 5-1 defining a database volume tsm: lochness_server1> define dbvolume c:\tsmdata\dbp\dbv_01.Dsm formatsize=1...

  • Page 222: 5.2  Recovery Log

    192 ibm tivoli storage manager implementation guide example 5-2 shows the second phase—extending the database. Example 5-2 extending the database tsm: lochness_server1> query db available assigned maximum maximum page total used pct max. Space capacity extension reduction size usable pages util pct ...

  • Page 223

    Chapter 5. Database and recovery log 193 5.2.1 recovery log design considerations recovery log volume numbers, sizes, and locations affect performance of the recovery log. The following points should be considered: all recovery log volumes must be on random access media (that is, disk drives). If th...

  • Page 224

    194 ibm tivoli storage manager implementation guide figure 5-2 shows a recovery log consisting of three volumes (log01.Dsm through log03.Dsm). The volumes could exist on the same disk, or be spread across any number of actual disk drives. Figure 5-2 recovery log volumes 5.2.2 defining recovery log v...

  • Page 225

    Chapter 5. Database and recovery log 195 example 5-3 shows how to allocate a new recovery log volume on a windows server. The volume is called d:\tsmdata\rlp\log_01.Dsm and is 512 mb in size. Example 5-3 defining a recovery log volume tsm: lochness_server1> define logvol d:\tsmdata\rlp\log_01.Dsm fo...

  • Page 226: 5.3  Setting The Log Mode

    196 ibm tivoli storage manager implementation guide as with the database, you must extend the recovery log once you have defined a new volume. Example 5-4 shows how to extend the recovery log using the extend log command. Example 5-4 extending the recovery log tsm: lochness_server1> extend log 512 w...

  • Page 227

    Chapter 5. Database and recovery log 197 recovery log. Changes made to the database since the last backup cannot be recovered if the database is lost. Database backups can only be used to perform point-in-time recovery (that is, to the time of the last database backup). In normal log mode, you need ...

  • Page 228

    198 ibm tivoli storage manager implementation guide 5.4 defining the database backup trigger the database backup trigger determines when to back up the tivoli storage manager database, based on the recovery log utilization. When the recovery log is in rollforward mode, the potential for it to fill u...

  • Page 229

    Chapter 5. Database and recovery log 199 process process description status number -------- -------------------- ---------------------------------------- 76 database backup full backup: 0 pages of 1500 backed up. Current output volume: lto888 tsm: lochness_server1> query dbbackuptrigger full increme...

  • Page 230

    200 ibm tivoli storage manager implementation guide 5.5.1 database space trigger to define a new space trigger for the database, so that new volumes will be automatically created (tivoli storage manager generates the volume names), issue the define spacetrigger db command as in example 5-8. The expa...

  • Page 231

    Chapter 5. Database and recovery log 201 whenever the system detects that the database needs extra space, it triggers the expansion, and writes messages to the activity log, as shown in the query actlog command in example 5-9. Example 5-9 activity log messages from database expansion tsm: lochness_s...

  • Page 232: 5.6  Mirroring

    202 ibm tivoli storage manager implementation guide whenever the system detects that the recovery log needs extra space, it triggers the expansion and writes messages in the activity log, as shown in the query actlog command in example 5-11. Example 5-11 activity log messages from recovery log expan...

  • Page 233

    Chapter 5. Database and recovery log 203 mirroring function at a minimum, rather than just operating system software or disk hardware mirroring. Although you can mirror either the database or the recovery log, we recommend that you mirror both. Mirroring both database and log provides better availab...

  • Page 234

    204 ibm tivoli storage manager implementation guide tivoli storage manager copy volumes must have at least the same capacity as the original volumes. If your database consists of eight volumes of 1 gb each, you will need eight more 1 gb allocated volumes to completely mirror the database. If you cre...

  • Page 235

    Chapter 5. Database and recovery log 205 mirror database volumes on the other. Table 5-2 shows how the volume placement would work. We assume for the unix examples, that /tsm and /tsm1 are file systems created on separate disks. Table 5-2 database and recovery log volume placement on two disks 5.6.1...

  • Page 236

    206 ibm tivoli storage manager implementation guide number -------- ------------------- ---------------------------------------------- 80 database copy volume c:\tsmdata\dbm\dbm_01.Dsm - 888 synchronization megabytes of 1024 tsm: lochness_server1> query dbvol volume name copy volume name copy volume...

  • Page 237

    Chapter 5. Database and recovery log 207 84 recovery log copy volume c:\tsmdata\rlm\lgm_01.Dsm - 256 synchronization megabytes of 512 tsm: lochness_server1>query logvol volume name copy volume name copy volume name copy (copy 1) status (copy 2) status (copy 3) status ---------------- ------ --------...

  • Page 238

    208 ibm tivoli storage manager implementation guide reduced. You must first define a new volume and extend the database if the number in that column is smaller than the size of the volume you wish to delete. Use the reduce db command to reduce the database size. Once the database is reduced in size,...

  • Page 239

    Chapter 5. Database and recovery log 209 /tsm/db/primary- sync'd /tsm/db/mirror/- sync'd undef- /dbp_01.Dsm dbm_01.Dsm ined tsm: atlantic> delete dbvol /usr/tivoli/tsm/server/bin/db.Dsm anr2244i delete process initiated for database volume /usr/tivoli/tsm/ server/bin/db.Dsm (process id 11). Ans8003i...

  • Page 240: 5.8  Database Backup

    210 ibm tivoli storage manager implementation guide we see that there is enough space to reduce the log by 8 mb, the size of the default recovery log volume. To delete the volume, use the delete logvol command, as shown in example 5-17. Example 5-17 deleting a recovery log volume tsm: atlantic> q lo...

  • Page 241

    Chapter 5. Database and recovery log 211 if you are following the steps in this chapter, the dbbackuptrigger will already start database backups as needed. However, we also recommend that you run a full database backup on a regular basis (at the least, daily). If you make a number of database config...

  • Page 242: 5.9  Additional Commands

    212 ibm tivoli storage manager implementation guide anr4550i full database backup (process 15) complete, 2002 pages copied. Anr0985i process 15 for database backup running in the foreground completed with completion state success at 11:40:08. The output from the two examples is very similar because ...

  • Page 243

    Chapter 5. Database and recovery log 213 you should think of this as a security feature. Database backups are extremely important—you do not want to be in the situation where the last seven days of database backups are contained on one tape that, at the crucial moment when a restore is required, tur...

  • Page 244: 5.10  Summary

    214 ibm tivoli storage manager implementation guide anr1784i a database reorganization would reduce the database utilization by an estimated 0 mb. Anr0987i process 87 for estimate dbreorg running in the foreground processed 940 items with a completion state of success at 12:09:21. Anr0381i buffer po...

  • Page 245: Data Storage

    © copyright ibm corp. 1999, 2000, 2003, 2006. All rights reserved. 215 chapter 6. Data storage in the previous chapters we created planning material and performed installations, followed by database and recovery log customization. This chapter deals with storage configuration and customization. We a...

  • Page 246: 6.1  Example Environment

    216 ibm tivoli storage manager implementation guide 6.1 example environment the examples presented in this chapter are based on the environment shown in figure 6-1. The example environment contains four primary storage pools and two copy pools. Client data backups go to the disk-based storage pool d...

  • Page 247

    Chapter 6. Data storage 217 6.1.1 primary storage pools in our example solution we set up four primary storage pools: tapedata, diskdata, diskdirs, and none. Storage pool tapedata must be set up before storage pool diskdata, because diskdata refers to tapedata as its next storage pool. The examples ...

  • Page 248: 6.2  Devices

    218 ibm tivoli storage manager implementation guide offdirs, for making copies of diskdirs to take off-site. Offdirs is not collocated and also has its reclamation threshold set to 100%. Reuse delay is set to five days. 6.2 devices before defining a new device to the tivoli storage manager server, t...

  • Page 249

    Chapter 6. Data storage 219 vendor’s device, you may require operating system device drivers for the device from the vendor. The following points should be noted: on windows 2000 and 2003, you may need to use the tivoli storage manager device driver. – however, if you are using ibm tape devices, suc...

  • Page 250

    220 ibm tivoli storage manager implementation guide storage manager-supported list, and common to all tivoli storage manager server platforms (for example lto, 4mm, dlt). B. Storage pool: this specifies the device class to use for storing data. Storage pools have various attributes based on the devi...

  • Page 251

    Chapter 6. Data storage 221 table 6-1 guide to setting up storage pools order of definition component class component to define the type of device below, follow each component section auto library disk stg pool sequential disk stg pool copy stg pool 1 physical library 6.2.1, “defining a library” on ...

  • Page 252

    222 ibm tivoli storage manager implementation guide 6.2.1 defining a library there are two parts to configuring a library: defining the library and defining a path to it. To define the library, you simply need the name you will call it, the type (scsi, manual, 349x, and so on), whether you will shar...

  • Page 253

    Chapter 6. Data storage 223 library type: scsi acs id: private category: scratch category: worm scratch category: external manager: shared: yes lanfree: obeymountretention: primary library manager: wwn: serial number: autolabel: yes reset drives: yes last update by (administrator): admin last update...

  • Page 254

    224 ibm tivoli storage manager implementation guide the path. Example 6-2 shows an example of the define path command when used to define a path from a server to a library. Example 6-2 defining a path to an automated library tsm: atlantic> define path atlantic 3582lib srctype=server autodetect=yes d...

  • Page 255

    Chapter 6. Data storage 225 with the path successfully created, the query library command now provides us with some more information. We can see the san world-wide name (wwn) and the library’s serial number. 6.2.3 defining a drive in a library libraries with multiple drives must have each drive defi...

  • Page 256

    226 ibm tivoli storage manager implementation guide anr8404i drive dr01 defined in library 3582lib. Tsm: atlantic> q dr f=d library name: 3582lib drive name: dr00 device type: unknown on-line: yes read formats: write formats: element: drive state: unknown volume name: allocated to: wwn: serial numbe...

  • Page 257

    Chapter 6. Data storage 227 drive state: unknown volume name: allocated to: wwn: 500308c140067006 serial number: 1110177214 last update by (administrator): admin last update date/time: 02/22/2006 13:59:08 cleaning frequency (gigabytes/asneeded/none): asneeded library name: 3582lib drive name: dr01 d...

  • Page 258

    228 ibm tivoli storage manager implementation guide on-line: yes last update by (administrator): admin last update date/time: 02/22/2006 13:59:08 source name: atlantic source type: server destination name: dr01 destination type: drive library: 3582lib node name: device: /dev/rmt1 external manager: l...

  • Page 259

    Chapter 6. Data storage 229 example 6-6 shows defining a device class for use with an ibm 3582 lto2 library. Example 6-6 defining an lto device class tsm: atlantic> define devclass lto2-dc library=3582lib devtype=lto format=ultrium2c estcapacity=400g mountretention=10 mountwait=20 mountlimit=drives ...

  • Page 260

    230 ibm tivoli storage manager implementation guide the command shown in example 6-7 defines a device class named lto2-offsite for library 3582lib. Example 6-7 defining an extra device class for the same library tsm: atlantic> define devclass lto2-offsite library=3582lib devtype=lto format=ultrium2c...

  • Page 261: 6.3  Storage Pools

    Chapter 6. Data storage 231 as for other device classes, use the define devclass command, specifying the devtype=file option. Example 6-8 defines a device class named seqf-dc with a maximum capacity of 256 mb. We also create a sequential file device class for use with directory metadata (from the di...

  • Page 262

    232 ibm tivoli storage manager implementation guide tivoli storage manager has two types of storage pools: primary storage pools copy storage pools a primary storage pool can use random access storage (disk device class) or sequential access storage (tape, optical, or file device classes). A copy st...

  • Page 263

    Chapter 6. Data storage 233 pool name class name capacity util migr mig mig pool pct pct ---------- ---------- --------- ---- ----- ---- --- ----------- tapedata lto2-dc 0.0 m 0.0 0.0 90 70 6.3.2 defining a random access disk storage pool define a primary disk storage pool using the define stgpool c...

  • Page 264

    234 ibm tivoli storage manager implementation guide diskdata disk 0.0 m 0.0 0.0 80 30 tapedata none disk 0.0 m 0.0 0.0 90 70 tapedata lto2-dc 0.0 m 0.0 0.0 90 70 note that the estimated capacity and utilization figures are zero at this point, as we have not assigned any volumes or stored any data as...

  • Page 265

    Chapter 6. Data storage 235 diskfile seqf-dc 0.0 m 0.0 0.0 90 70 none disk 0.0 m 0.0 0.0 90 70 tapedata lto2-dc 0.0 m 0.0 0.0 90 70 operation of a sequential access file storage pool a sequential access storage pool with a file device class acts somewhat differently compared to a storage pool mapped...

  • Page 266

    236 ibm tivoli storage manager implementation guide recommend using single drive configurations for production environments, as discussed in 2.9.3, “number of tape drives” on page 52. Example 6-13 updates the existing storage pool tapedata to use diskfile as its reclamation storage pool. We then upd...

  • Page 267

    Chapter 6. Data storage 237 continue copy on error?: crc data: no reclamation type: threshold tsm: atlantic> update stg diskfile nextstgpool=tapedata anr2202i storage pool diskfile updated. Tsm: atlantic> q stg diskfile storage device estimated pct pct high low next storage pool name class name capa...

  • Page 268

    238 ibm tivoli storage manager implementation guide the commands given in example 6-14 set up the following storage pools: a copy storage pool named offdirs, with device class lto2-dc. Reclamation is switched off and the reuse delay is set for five days. A copy storage pool named offdata, with devic...

  • Page 269: 6.4  Storage Pool Volumes

    Chapter 6. Data storage 239 in 1.1.1, “our support material” on page 5, we show how to load a predefined macro into the tivoli storage manager. The macro mac.Stgdelete, which we provide to delete the default storage pools, is shown in “delete default storage pools” on page 739. The macro deletes the...

  • Page 270

    240 ibm tivoli storage manager implementation guide performance. And with more volumes, you can easily remove some from one pool and assign to another if your requirements change during processing (temporarily or permanently). Example 6-16 shows the commands to define and query volumes. Example 6-16...

  • Page 271

    Chapter 6. Data storage 241 /tsm/stg/diskdata- diskdata disk 2,048.0 0.0 on-line /ddvol_04.Dsm /tsm/stg/diskdata- diskdata disk 2,048.0 0.0 on-line /ddvol_05.Dsm /tsm/stg/diskdata- diskdata disk 2,048.0 0.0 on-line /ddvol_06.Dsm tsm: atlantic> q stg diskdata storage device estimated pct pct high low...

  • Page 272

    242 ibm tivoli storage manager implementation guide ibm001, ibm002, ... Ibm999, and so on). Each tape cartridge must be supplied with a label before you attempt to use it in a library. Tapes with external labels on the cartridge can be loaded into the library, either by opening the door and physical...

  • Page 273

    Chapter 6. Data storage 243 -------- ------------------- ---------------------------------------------- 25 label libvolume anr8805i labelling volumes in library 3582lib; 6 volumes(s) labelled. The label libvolume process runs in the background, and you can check the status using the query process co...

  • Page 274

    244 ibm tivoli storage manager implementation guide slot. Note that query libvolume displays the inventory in order of the volume label, not by element or slot. Note also that the owner and last use fields are not populated, as the tapes have only just been checked in and not used yet. Replying to m...

  • Page 275: 6.5  Additional Commands

    Chapter 6. Data storage 245 3582lib; 1 volume(s) found. (session: 82, process: 29) 02/23/2006 14:58:02 anr0985i process 29 for checkin libvolume running in the background completed with completion state success at 14:58:02. (session: 82, process: 29) the process actually starts before we answer the ...

  • Page 276

    246 ibm tivoli storage manager implementation guide example 6-21 shows the audit process for our 3582lib library. Example 6-21 auditing library contents tsm: atlantic> audit library 3582lib checklabel=barcode ans8003i process number 34 started. Tsm: atlantic> q pr process process description status ...

  • Page 277

    Chapter 6. Data storage 247 by contrast, the query content command (see 6.5.10, “querying volume contents” on page 260) displays only the database’s view of what is stored and does not require the volume to be mounted. Example 6-22 audits a volume named 031akk and logs any discrepancies to the activ...

  • Page 278

    248 ibm tivoli storage manager implementation guide ------------------- ---------------------------------------------------------- 02/23/2006 16:22:25 anr2017i administrator admin issued command: audit volume 031akk fix=yes (session: 110) 02/23/2006 16:22:25 anr0984i process 35 for audit volume (rep...

  • Page 279

    Chapter 6. Data storage 249 copy storage pool offdata. Because the backup stgpool operation is incremental, only new files in the primary pool are copied to the copy pool. If we first back up diskdata, then tapedata, any files that might have migrated from diskdata to tapedata after we backed up dis...

  • Page 280

    250 ibm tivoli storage manager implementation guide 02/23/06 17:55:15 anr8346i query request: no requests are outstanding. 02/23/06 17:56:02 anr8337i lto volume cla001 mounted in drive dr01 (/dev/rmt1). 02/23/06 17:56:02 anr1340i scratch volume cla001 is now defined in storage pool offdata. 02/23/06...

  • Page 281

    Chapter 6. Data storage 251 8 checkin libvolume anr8425i checking in volumes in search mode in library 3582lib. Tsm: atlantic> q act date/time message ------------------- ---------------------------------------------------------- 02/27/2006 10:54:38 anr8430i volume 039akk has been checked into libra...

  • Page 282

    252 ibm tivoli storage manager implementation guide to check the extra volumes in, we must check them in as private. Example 6-27 shows the checkin process for the private volumes. Example 6-27 checking in tapes with private status tsm: atlantic> checkin libvol 3582lib status=private checklabel=barc...

  • Page 283

    Chapter 6. Data storage 253 notice that the last use column is blank, as these tapes were used before being checked out and back in again. The last use column only applies to tapes that have been used after being checked in. 6.5.5 check out library volumes to check out library volumes, use the check...

  • Page 284

    254 ibm tivoli storage manager implementation guide example 6-29 shows checking out multiple volumes together by separating the volume labels with commas (no spaces). You can also specify a file name that contains a list of volumes to be checked out. Example 6-29 checking out multiple volumes from a...

  • Page 285

    Chapter 6. Data storage 255 6.5.6 deleting storage-related objects to remove storage-related objects, we use variations of the delete command. To delete objects in the storage hierarchy, you must first delete objects that depend on the object you wish to delete. Suppose you want to delete a library....

  • Page 286

    256 ibm tivoli storage manager implementation guide tsm: atlantic> del library 3582lib anr8410i library 3582lib deleted. Tsm: atlantic> q libvol anr2034e query libvolume: no match found using this criteria. Ans8001i return code 11. Tsm: atlantic> q vol devc=lto2-dc volume name storage device estimat...

  • Page 287

    Chapter 6. Data storage 257 anr8331i lto volume 022akk is mounted r/w in drive dr01 (/dev/rmt1), status: dismounting. Anr8334i 2 matches found. 6.5.8 migration migration is the process of moving data from one primary storage pool to the next storage pool specified by the nextstgpool attribute. Migra...

  • Page 288

    258 ibm tivoli storage manager implementation guide 02/24/2006 09:23:51 anr2017i administrator admin issued command: migrate stgpool diskdata low=0 dur=30 (session: 165) 02/24/2006 09:23:51 anr0984i process 38 for migration started in the background at 09:23:51. (session: 165, process: 38) 02/24/200...

  • Page 289

    Chapter 6. Data storage 259 example 6-35 moving data from one volume to another tsm: atlantic> move data 021akk stg=tapedata anr2232w this command will move all of the data stored on volume 021akk to other volumes within the same storage pool; the data will be inaccessible to users until the operati...

  • Page 290

    260 ibm tivoli storage manager implementation guide 6.5.10 querying volume contents you can see what files are on a volume using the query content command. The query content command queries the database to display the contents of a volume. It does not mount and read the volume. A volume does not hav...

  • Page 291

    Chapter 6. Data storage 261 example 6-37 on page 261 shows the output from the query occupancy command. Example 6-37 querying occupancy tsm: atlantic> q occ node name type filespace fsid storage number of physical logical name pool name files space space occupied occupied (mb) (mb) ---------- ---- -...

  • Page 292

    262 ibm tivoli storage manager implementation guide tsm: atlantic> q stg storage device estimated pct pct high low next storage pool name class name capacity util migr mig mig pool pct pct ---------- ---------- --------- ---- ----- ---- --- ----------- oldrdata disk 12 g 0.0 0.0 80 30 tapedata 6.5.1...

  • Page 293

    Chapter 6. Data storage 263 5, process: 1) 03/02/2006 11:00:28 anr4931i reclamation process 1 started for copy storage pool offdata manually, threshold=85, offsiterclmlimit=no limit, duration=30. (session: 5, process: 1) 03/02/2006 11:00:28 anr2753i (reclaim_offdata):anr2110i reclaim stgpool started...

  • Page 294

    264 ibm tivoli storage manager implementation guide notice that volume 032akk, once empty, will not be deleted from the pool until after the reuse delay. 6.5.14 sql commands the tivoli storage manager database can be queried using structured query language (sql) commands. The implementation of sql w...

  • Page 295

    Chapter 6. Data storage 265 note that the table name is a string literal (enclosed in single quotes). The name must be supplied as it is stored in syscat.Tables (that is, in uppercase). If it was supplied in lowercase, no data would have been returned. You can generate you own custom queries and cre...

  • Page 296

    266 ibm tivoli storage manager implementation guide example 2 example 6-43 counts the number of volumes within each storage pool. This can be useful where you have large libraries with many volumes. Example 6-43 querying the number of volumes in each storage pool tsm: atlantic> select count(*) as "n...

  • Page 297: 6.6  Summary

    Chapter 6. Data storage 267 example 4 example 6-45 shows the volumes where a node has data stored and the storage pool that the volumes belong to. Example 6-45 querying volume usage by node tsm: atlantic> select distinct node_name, \ cont> volume_name from volumeusage where node_name='paris' node_na...

  • Page 298

    268 ibm tivoli storage manager implementation guide.

  • Page 299: Data Storage Policies

    © copyright ibm corp. 1999, 2000, 2003, 2006. All rights reserved. 269 chapter 7. Data storage policies in this chapter we focus on the actual storage policy implementation. Before continuing, you should have already filled out the planning sheets, and we assume that you have read and understood the...

  • Page 300: 7.1  Recommended Setup

    270 ibm tivoli storage manager implementation guide 7.1 recommended setup figure 7-1 on page 271 shows the key components of our sample policy configuration. We define two policy domains, server and workstn. Both domains have similar policy sets and management classes, but their copy group details s...

  • Page 301

    Chapter 7. Data storage policies 271 figure 7-1 sample policy definitions in 1.1.1, “our support material” on page 5, we show how to load a predefined macro into ibm tivoli storage manager. The macro mac.Policy, which we provide to define the recommended policy settings in our book environment, is s...

  • Page 302

    272 ibm tivoli storage manager implementation guide 7.1.1 defining policy domains the sample configuration consists of two policy domains: for servers and for workstations, respectively. The typical nature of the data found on each type of machine makes this a logical division of resources and follo...

  • Page 303

    Chapter 7. Data storage policies 273 management class to make sure that a copy is taken. A typical example of this type of file is an application log file that receives messages or errors. While the application is running, it is likely that the file will be modified with additional messages or error...

  • Page 304

    274 ibm tivoli storage manager implementation guide tsm: atlantic> define mgmtclass server server special migdestination=none description="special management class for server domain" anr1520i management class special defined in policy domain server, set server. Tsm: atlantic> define mgmtclass server...

  • Page 305

    Chapter 7. Data storage policies 275 directory expiration should be governed by a separate management class. The backup copy group retention options for both existing versions and deleted versions for this management class should be set so that the directory objects do not expire before the files be...

  • Page 306

    276 ibm tivoli storage manager implementation guide destination=diskdirs frequency=1 verexists=nolimit verdeleted=nolimit retextra=100 retonly=100 mode=modified serialization=shrstatic anr1530i backup copy group standard defined in policy domain server, set server, management class directory. Tsm: a...

  • Page 307

    Chapter 7. Data storage policies 277 archives are retained for 100 days (example 7-5). Files that are changing during archiving are not stored. If it later turned out that we had additional archive requirements, for example, to keep certain files for seven years, we could easily define a suitable ar...

  • Page 308

    278 ibm tivoli storage manager implementation guide domain set name class group data data extra only name name name exists deleted versions version --------- --------- --------- --------- -------- -------- -------- ------- workstn workstn data standard 2 1 30 30 workstn workstn directory standard no...

  • Page 309

    Chapter 7. Data storage policies 279 example 7-8 shows how to validate the recommended policy sets. Example 7-8 validating policy sets tsm: atlantic> validate policyset server server anr1515i policy set server validated in domain server (ready for activation). Tsm: atlantic> validate policyset works...

  • Page 310

    280 ibm tivoli storage manager implementation guide caution. Example 7-10 shows how to remove a policy domain named standard. Example 7-10 removing the standard domain tsm: atlantic> delete domain standard do you wish to proceed? (yes/no) yes anr1501i policy domain standard deleted. If a policy doma...

  • Page 311

    Chapter 7. Data storage policies 281 moving a node the update node command can be used to assign a node to a new domain. The data is bound to the management classes in the new domain during the next backup operation. The process of assigning the data to the new domain’s management classes is called ...

  • Page 312: 7.4  Enforcing Your Policy

    282 ibm tivoli storage manager implementation guide 7.4 enforcing your policy once the policy is defined, you want to enforce it using the expire inventory command. This command makes sure that any extra copies of data in your copy groups are removed from the database. It also takes care of data tha...

  • Page 313: Managing Tivoli Storage

    © copyright ibm corp. 1999, 2000, 2003, 2006. All rights reserved. 283 chapter 8. Managing tivoli storage manager this chapter explains the creation and maintenance of users of an ibm tivoli storage manager system. 8.

  • Page 314: 8.1  Management

    284 ibm tivoli storage manager implementation guide 8.1 management using the information you have gathered during the planning phase, as well as the understanding you have gained from reading ibm tivoli storage management concepts, sg24-4877, you should be able now define both users and clients on y...

  • Page 315

    Chapter 8. Managing tivoli storage manager 285 8.1.2 considerations creating an administrator is a two-step process: 1. Define the administrator id. 2. Grant the necessary privileges. The register admin command explicitly creates an administrator id with certain defined privileges. If an administrat...

  • Page 316

    286 ibm tivoli storage manager implementation guide since it might be the only way to recover from certain emergencies if you have lost the password of all other administrative ids. You cannot: register or update the server_console user id. Lock or unlock the server_console user id. Rename the serve...

  • Page 317

    Chapter 8. Managing tivoli storage manager 287 system define an id for the tivoli storage manager administrator and another for your backup tivoli storage manager administrator. These administrators should have system privileges. You should have at least two administrator ids with system privileges ...

  • Page 318

    288 ibm tivoli storage manager implementation guide reporting define an id for tivoli storage manager reporting purposes. Although this administrator has no special privileges, it does have authority to issue query commands. This is especially useful for producing regular reports through a method su...

  • Page 319

    Chapter 8. Managing tivoli storage manager 289 displaying administrators use the query admin command to display administrators. If no administrator name is specified, all administrators are displayed. If an administrator name is specified, only that administrator’s information is displayed. In examp...

  • Page 320

    290 ibm tivoli storage manager implementation guide changing an administrator password an administrative user can change his or her own password using the update admin command. A user with system privilege can change any administrator’s password. There is no way to determine the current password for...

  • Page 321: 8.2  Client Nodes

    Chapter 8. Managing tivoli storage manager 291 tsm: atlantic> remove admin admin do you wish to proceed? (yes (y)/no (n)) y anr2069i administrator admin removed. 8.2 client nodes when the tivoli storage manager server is installed, the tivoli storage manager backup-archive client and the administrat...

  • Page 322

    292 ibm tivoli storage manager implementation guide the domain parameter specifies the name of the policy domain to which the node is assigned. If you do not specify a policy domain name, the node is assigned to the default policy domain (standard). Within our recommended environment, there are two ...

  • Page 323

    Chapter 8. Managing tivoli storage manager 293 example 8-10 shows the commands to create these nodes. We give all nodes the same password, sharks. Example 8-10 registering a client node tsm: atlantic> register node propaganda sharks domain=server userid=none contact="tal (tomaz aline leilla)" anr206...

  • Page 324

    294 ibm tivoli storage manager implementation guide policy domain name: workstn last access date/time: 02/07/2006 17:52:24 days since last access: password set date/time: 02/07/2006 17:43:44 days since password set: invalid sign-on count: 0 locked?: no contact: tomaz_aline_leilla@work compression: c...

  • Page 325

    Chapter 8. Managing tivoli storage manager 295 example 8-13 shows how to grant node authority for all nodes to a client administrator named helpdesk. Example 8-13 granting access to client nodes tsm: atlantic> grant authority helpdesk classes=node node=* anr2126i grant authority: administrator helpd...

  • Page 326

    296 ibm tivoli storage manager implementation guide changing passwords for client nodes an administrative user with either system privilege, unrestricted policy privilege, or restricted policy privilege for the policy domain to which the client node is assigned can change the password of a client no...

  • Page 327

    Chapter 8. Managing tivoli storage manager 297 in example 8-17 we delete the file space /opt for the client losgatos. Note that we are not deleting any files on the client itself—we are deleting all records of any files backed up or archived in that file system on the tivoli storage manager server. ...

  • Page 328: 8.3  Client Option Sets

    298 ibm tivoli storage manager implementation guide assigned, can delete a client node. Before removing a client node, you must delete all its backup and archive files. Use the remove node command, as shown in example 8-19. Example 8-19 deleting a client node tsm: atlantic> remove node losgatos do y...

  • Page 329

    Chapter 8. Managing tivoli storage manager 299 include-exclude rules if you put include-exclude statements in the client options set, these will always override the include-exclude statements in the client options file. You can imagine that the client options set include-exclude statements are added...

  • Page 330

    300 ibm tivoli storage manager implementation guide based on the client platform. Each is built from the base option set with the addition of specific include-exclude recommendations for that platform. 8.3.4 working with client option sets in this section we explain how to perform various processes ...

  • Page 331

    Chapter 8. Managing tivoli storage manager 301 example 8-21 shows how to clone the client option set named windows to another named windows_clone, replacing the verbose option with the quiet option. Example 8-21 copying client option sets tsm: atlantic> copy cloptset windows windows_clone anr2055i c...

  • Page 332: 8.4  Summary

    302 ibm tivoli storage manager implementation guide deleting a client option set you need either system privilege or unrestricted policy privilege to delete a client option set with the delete cloptset command. In example 8-24 we delete the option set windows. Example 8-24 deleting client option set...

  • Page 333: Licensing

    © copyright ibm corp. 1999, 2000, 2003, 2006. All rights reserved. 303 chapter 9. Licensing in this chapter we describe the tasks of licensing an ibm tivoli storage manager system and monitoring its compliance. We discuss the process of registering, activating, and monitoring your licenses (but not ...

  • Page 334: 9.1  Licensed Features

    304 ibm tivoli storage manager implementation guide 9.1 licensed features the base tivoli storage manager server license supports an unlimited number of administrative clients, one backup-archive client using named pipes or shared memory protocol, and a selection of removable media devices. Table 9-...

  • Page 335

    Chapter 9. Licensing 305 9.2 registering licensed features if you received a tivoli storage manager evaluation (try-and-buy), the license registration is done automatically during the installation of the server and you do not need to do anything further. If you bought a base tivoli storage manager s...

  • Page 336: 9.3  Saving Your Licenses

    306 ibm tivoli storage manager implementation guide 9.3 saving your licenses when license registration is complete, the licenses are stored in a file named nodelock in the server start directory. Keep the installation cd-rom that contains the license certificate files in a safe place to be used if y...

  • Page 337: 9.5  Monitoring Licenses

    Chapter 9. Licensing 307 if a tivoli storage manager system exceeds the terms of its license agreement, one of the following occurs: the server issues a warning message indicating that it is not in compliance with the licensing terms. Operations fail because the server is not licensed for specific f...

  • Page 338

    308 ibm tivoli storage manager implementation guide number of tdp for emc symmetrix in use: 0 number of tdp for emc symmetrix in try buy mode: 0 number of tdp for emc symmetrix r/3 in use: 0 number of tdp for emc symmetrix r/3 in try buy mode: 0 number of tdp for was in use: 0 number of tdp for was ...

  • Page 339

    Chapter 9. Licensing 309 9.6 tivoli storage manager v5.2 license features for reference purposes, table 9-2 on page 309 shows the license features for tivoli storage manager v5.2. Table 9-2 tivoli storage manager 5.2 licensed features licensed feature license files additional backup-archive clients:...

  • Page 340

    310 ibm tivoli storage manager implementation guide managed libraries library.Lic library sharing libshare.Lic ibm tivoli storage manager for applications; tivoli data protection for websphere® application server was.Lic ibm tivoli storage manager for ndmp ndmp.Lic managed system for san use mgsyssa...

  • Page 341: Administrative Client

    © copyright ibm corp. 1999, 2000, 2003, 2006. All rights reserved. 311 chapter 10. Administrative client in the previous chapters we discussed the various stages from planning through implementation of the server and clients, then moved on to the storage setup, licensing, and administrative roles. H...

  • Page 342: 10.1  Administration Center

    312 ibm tivoli storage manager implementation guide 10.1 administration center the administration center web-interface provides an easy way to manage multiple server instances from a single browser window. It is available since tivoli storage manager v5.3, and is hosted in the integrated solution co...

  • Page 343

    Chapter 10. Administrative client 313 limitations, refer to the ibm tivoli storage manager administration center readme. 10.1.2 administration center interface to access the administration center, type http://:/ibm.Console in your browser, as shown in figure 10-1. We installed the isc and administra...

  • Page 344

    314 ibm tivoli storage manager implementation guide figure 10-2 administration interface welcome window the administration center is a task-oriented interface that guides you through the administration of tivoli storage manager servers. Without a deep knowledge of tivoli storage manager internals an...

  • Page 345

    Chapter 10. Administrative client 315 devices managed by the server. The health monitor also provides access to the server activity log, so you can view messages generated during server operations. Disaster recovery management : if your servers are licensed for tivoli storage manager extended editio...

  • Page 346: 10.2  Administrative Client

    316 ibm tivoli storage manager implementation guide displayed. You can use this tool without having to install the cli code, which is described in the following section. Figure 10-4 java-based command line administrative interface we recommend that you use the administration center administrative in...

  • Page 347

    Chapter 10. Administrative client 317 explain how to install a tivoli storage manager administrative client and tell you what options to configure. Some examples of the interfaces for various types of access are also included. The command-line administrative client is a tool that looks and operates ...

  • Page 348

    318 ibm tivoli storage manager implementation guide figure 10-5 using installshield wizard to install the administrative client interface a faster method is to make a silent installation using msiexec, where you may specify the administrative client to be installed, as in example 10-1. Example 10-1 ...

  • Page 349

    Chapter 10. Administrative client 319 inflexible, because it creates management issues if the tivoli storage manager server is moved or the addressing scheme is changed. Other useful parameters include the date, time, number, and language format options. Note that unix and linux clients require the ...

  • Page 350

    320 ibm tivoli storage manager implementation guide example 10-3 shows starting a cli session and displaying the port. Example 10-3 establishing an administrative session on tcpadminport c:\documents and settings\administrator>dsmadmc ibm tivoli storage manager command line administrative interface ...

  • Page 351

    Chapter 10. Administrative client 321 to start the cli, enter dsmadmc at the operating system prompt. You will be prompted for an administrative id and password. Without authentication, you cannot log on to the tivoli storage manager server. Example 10-5 shows the start of an administrative client s...

  • Page 352

    322 ibm tivoli storage manager implementation guide mount mode: this is similar to console mode, but displays only messages related to mount and dismount operations on volumes, including requests to the administrator to checkout or checkin a volume. Example 10-7 shows how to start mount mode with ds...

  • Page 353: 10.3  Summary

    Chapter 10. Administrative client 323 enter your password: ***** session established with server atlantic: aix-rs/6000 server version 5, release 3, level 2.2 server date/time: 02/21/2006 14:58:44 last access: 02/21/2006 14:52:16 anr8337i lto volume 029akk mounted in drive lt02 (/dev/rmt1). Anr8336i ...

  • Page 354

    324 ibm tivoli storage manager implementation guide.

  • Page 355: Operational Details

    © copyright ibm corp. 1999, 2000, 2003, 2006. All rights reserved. 325 part 3 operational details in this part of the book we discuss client and server operational tasks, such as backup, restore, archive, retrieval functions, client and server interfaces, client scheduling, administration tasks, and...

  • Page 356

    326 ibm tivoli storage manager implementation guide.

  • Page 357: Client Operations

    © copyright ibm corp. 1999, 2000, 2003, 2006. All rights reserved. 327 chapter 11. Client operations continuing on from the setup and configuration part of this book, we have now begun the operational portion in which our initial discussions center on how to perform backup-archive client operations ...

  • Page 358

    328 ibm tivoli storage manager implementation guide 11.1 running backup operations to start backing up a file, directory, or the whole machine, use the incremental command, which is the default option from the gui. This command backs up all new or changed files in your default client domain, or in t...

  • Page 359

    Chapter 11. Client operations 329 table 11-1 gives examples of backup operations using a unix backup-archive client. Table 11-1 backup command examples: unix table 11-2 gives examples of backup operations using a windows backup-archive client. Table 11-2 backup command examples: windows if you want ...

  • Page 360

    330 ibm tivoli storage manager implementation guide the next example illustrates the relationship between wildcards in the include/exclude statements and backup commands. Point-in-time full logical volume backup for a drive dsmc backup image d:\ full backup of all files in c:\data\list1.Txt home to ...

  • Page 361

    Chapter 11. Client operations 331 11.1.1 exclude rules preventing some files from being backed up suppose there are two files in a directory c:\tsm, myfile.Doc and myfile. We configure an exclude rule to avoid some of the files, as shown in example 11-1. Example 11-1 include/exclude settings in dsm....

  • Page 362

    332 ibm tivoli storage manager implementation guide total number of objects rebound: 0 total number of objects deleted: 0 total number of objects expired: 0 total number of objects failed: 0 total number of subfile objects: 0 total number of bytes transferred: 103.78 kb data transfer time: 0.01 sec ...

  • Page 363

    Chapter 11. Client operations 333 total number of objects deleted: 0 total number of objects expired: 0 total number of objects failed: 0 total number of subfile objects: 0 total number of bytes transferred: 103.78 kb data transfer time: 0.00 sec network data transfer rate: 0.00 kb/sec aggregate dat...

  • Page 364

    334 ibm tivoli storage manager implementation guide normal file--> 1,048,576 /ts/charlotte/data3 [sent] normal file--> 1,048,576 /ts/eduardo/data1 [sent] normal file--> 1,048,576 /ts/eduardo/data2 [sent] normal file--> 1,048,576 /ts/eduardo/data3 [sent] normal file--> 1,048,576 /ts/martin/data1 [sen...

  • Page 365

    Chapter 11. Client operations 335 node name: atlantic session established with server lochness_server1: windows server version 5, release 3, level 2.2 server date/time: 02/20/06 15:20:05 last access: 02/20/06 15:18:50 backup image function invoked. Using static image backup. Volume --> 33,554,432 /h...

  • Page 366

    336 ibm tivoli storage manager implementation guide command line backup/archive client interface client version 5, release 3, level 2.0 client date/time: 02/20/06 15:39:25 (c) copyright by ibm corporation and other(s) 1990, 2005. All rights reserved. Node name: atlantic session established with serv...

  • Page 367

    Chapter 11. Client operations 337 backup image function invoked. Ans1063e the specified path is not a valid file system or logical volume name. Group backup example 11-7, example 11-8, and example 11-9 on page 339 show examples of commands related to and including the backup group command. Example 1...

  • Page 368

    338 ibm tivoli storage manager implementation guide root@atlantic > dsmc backup group -filelist=/ ts /filelist -groupname=residentgrp -virtualfsname=/tsmresidentfs -mode=full ibm tivoli storage manager command line backup/archive client interface client version 5, release 3, level 2.0 client date/ti...

  • Page 369

    Chapter 11. Client operations 339 network data transfer rate: 11,954.42 kb/sec aggregate data transfer rate: 3,551.03 kb/sec objects compressed by: 0% elapsed processing time: 00:00:02 example 11-9 is on the tivoli storage manager server. It shows that a new file space is created, /tsmresidentfs, af...

  • Page 370

    340 ibm tivoli storage manager implementation guide 7,351,355 b 02/20/2006 16:13:43 default a full /tsmresidents/res identgrp size backup date mgmt class a/i file ---- ----------- ---------- --- ---- 256 b 02/20/2006 16:13:43 default a /tsmresidents/home 256 b 02/20/2006 16:13:43 default a /tsmresid...

  • Page 371

    Chapter 11. Client operations 341 create backup set backup sets are created using a tivoli storage manager server command, rather than via the backup-archive client. The generated backup set can be stored in a file or on sequential storage. In example 11-11 we create a backup set of the client file ...

  • Page 372

    342 ibm tivoli storage manager implementation guide 11.1.3 windows gui backup examples figure 11-1 shows the windows backup gui. On other platforms, use the java or web client—the look and feel is almost identical. From this window you can select specific files or folders that you want to back up an...

  • Page 373

    Chapter 11. Client operations 343 figure 11-2 estimate function after the backup operation is complete, a status report similar to figure 11-3 displays. This report contains data such as the total amount of files backed up and the transfer rate during the backup operation. The view button is availab...

  • Page 374

    344 ibm tivoli storage manager implementation guide 11.1.4 additional backup options for windows in this section we discuss backup options available for windows clients only: adaptive subfile backups should be used if backups are sent on a device with very limited bandwidth, such as a modem. Only ch...

  • Page 375

    Chapter 11. Client operations 345 figure 11-4 windows 2000 system object backup 11.2 running restore operations to restore a file, a directory, or even the whole machine, you need to know two things: what you want to restore (file name, directory), and, optionally, from when (point-in-time), if you ...

  • Page 376

    346 ibm tivoli storage manager implementation guide the gui and the command-line interface have search functions in case you do not know the exact file names or directories needed for restore. You can also select the files from a list using the pick option with the command-line restore command, as s...

  • Page 377

    Chapter 11. Client operations 347 latest options. The inactive option instructs tivoli storage manager to display and restore an inactive backup if an active one is not available, and the latest option restores the most recent backup version of a file, even if that backup is inactive. You cannot res...

  • Page 378

    348 ibm tivoli storage manager implementation guide table 11-4 gives some examples of restore operations using a windows backup-archive client. Table 11-4 restore command examples: windows 11.2.1 unix command-line examples and output here are some command-line examples. File restore example 11-14 sh...

  • Page 379

    Chapter 11. Client operations 349 restoring 1,048,576 /ts/charlotte/data3 [done] restoring 1,048,576 /ts/eduardo/data1 [done] restoring 1,048,576 /ts/eduardo/data2 [done] restoring 1,048,576 /ts/eduardo/data3 [done] restoring 1,048,576 /ts/martin/data1 [done] restoring 1,048,576 /ts/martin/data2 [do...

  • Page 380

    350 ibm tivoli storage manager implementation guide file '/ts/peter/data1' exists select an appropriate action 1. Replace this object 2. Replace all objects that already exist 3. Skip this object 4. Skip all objects that already exist a. Abort this operation action [1,2,3,4,a] : 2 restoring 1,048,57...

  • Page 381

    Chapter 11. Client operations 351 restoring 4,096 /ts/sys [done] restoring 1,048,576 /ts/charlotte/data1 [done] restoring 1,048,576 /ts/charlotte/data2 [done] restoring 1,048,576 /ts/charlotte/data3 [done] restoring 1,048,576 /ts/eduardo/data1 [done] restoring 1,048,576 /ts/eduardo/data2 [done] rest...

  • Page 382

    352 ibm tivoli storage manager implementation guide group restore example 11-17 on page 352, example 11-18 on page 352, and example 11-19 on page 353 show how to restore from a group backup. Example 11-17 on page 352 shows you how to list the groups backed up in a specific virtual tivoli storage man...

  • Page 383

    Chapter 11. Client operations 353 example 11-19 shows the contents of the group residentgrp and the output of the restore. From the pick window, you may choose the specific file that you want to restore. In the example, we chose to restore the file data1 in the directory /home/guest. Example 11-19 r...

  • Page 384

    354 ibm tivoli storage manager implementation guide 11.2.2 windows gui restore examples figure 11-5 shows the restore gui on windows. On other platforms, use the java or web client—the look and feel is almost identical. You may select specific files, directories, or complete drives to restore. To re...

  • Page 385

    Chapter 11. Client operations 355 the estimate function, as described in 11.1.3, “windows gui backup examples” on page 342, is also available when doing a restore operation. You can also choose to do a point-in-time restore if you do not want to restore the latest backup or if you want to restore fi...

  • Page 386

    356 ibm tivoli storage manager implementation guide you can specify other restore options, such as to prompt when a file with the same name is present in the destination path, or to restore files or folders only from the source path. Figure 11-7 shows the restore options window. Figure 11-7 restore ...

  • Page 387

    Chapter 11. Client operations 357 after choosing the files, directories, or drives you want to restore, you will be prompted for the destination of the restore operation, as shown in figure 11-8. You can select to restore the files you selected in the original path or to a different directory or dri...

  • Page 388

    358 ibm tivoli storage manager implementation guide a detailed report is available after the restore operation, as in figure 11-9 on page 358. If there were errors during the restore, click the view button to see the details. Figure 11-9 restore report.

  • Page 389

    Chapter 11. Client operations 359 for windows users, you can restore the system object using the gui, as shown in figure 11-10 on page 359. We recommend that you restore the components of the system object together to make sure that the system state is consistent after the restore operation. See 20....

  • Page 390

    360 ibm tivoli storage manager implementation guide workstation and delete files as you archive them using the deletefiles option. Typically, you use archives to save information with either a legal requirement (for example, account information, annual reports, billing information, or annual custome...

  • Page 391

    Chapter 11. Client operations 361 table 11-6 gives examples of archive operations using a windows backup-archive client. Table 11-6 archive command examples: windows 11.3.1 unix command-line examples and output example 11-20 shows an archive operation and its command output. Example 11-20 unix archi...

  • Page 392

    362 ibm tivoli storage manager implementation guide normal file--> 1,048,576 /ts/martin/data1 [sent] normal file--> 1,048,576 /ts/martin/data2 [sent] normal file--> 1,048,576 /ts/martin/data3 [sent] normal file--> 1,048,576 /ts/norbert/data2 [sent] normal file--> 1,048,576 /ts/norbert/data3 [sent] n...

  • Page 393

    Chapter 11. Client operations 363 11.3.2 windows gui archive examples figure 11-11 on page 363 shows the archive gui on windows. On other platforms, use the java or web client—the look and feel is almost identical. You may enter your own description for the files you want to archive. If you do not e...

  • Page 394

    364 ibm tivoli storage manager implementation guide the estimate function is also available for the archive operation. See 11.1.3, “windows gui backup examples” on page 342, for more information about the estimate function. You can modify archive options shown in figure 11-12 on page 364, such as ch...

  • Page 395

    Chapter 11. Client operations 365 a detailed report similar to figure 11-13 is available for viewing. It will show the archive statistics and the errors encountered, if any. Figure 11-13 archive report 11.4 running retrieve operations the retrieve command obtains copies of archived files from the ti...

  • Page 396

    366 ibm tivoli storage manager implementation guide table 11-8 gives examples of retrieve operations using a windows backup-archive client. Table 11-8 retrieve command examples: windows 11.4.1 unix command-line examples and output example 11-21 shows command output for a retrieve operation on the ob...

  • Page 397

    Chapter 11. Client operations 367 data transfer time: 1.66 sec network data transfer rate: 1,846.62 kb/sec aggregate data transfer rate: 1,015.30 kb/sec elapsed processing time: 00:00:03 tsm> 11.4.2 windows gui retrieve examples figure 11-14 on page 367 shows the tivoli storage manager retrieve gui ...

  • Page 398

    368 ibm tivoli storage manager implementation guide you can specify retrieve options similar to restore options, as shown in figure 11-15. You can choose to overwrite files without prompting you or to retrieve files or directories only from the package you selected. Figure 11-15 retrieve options.

  • Page 399

    Chapter 11. Client operations 369 once you have chosen the files or package you want to archive, you will be prompted for the destination of the retrieve operation, as shown in figure 11-16. You may choose to retrieve the files back to their original location or to a different path. Figure 11-16 ret...

  • Page 400: 11.5  Summary

    370 ibm tivoli storage manager implementation guide a detailed status report similar to figure 11-17 is available for review. This contains the retrieve statistics and the errors encountered, if any. Figure 11-17 retrieve report 11.5 summary you are now familiar with the client operations, such as b...

  • Page 401: Scheduling

    © copyright ibm corp. 1999, 2000, 2003, 2006. All rights reserved. 371 chapter 12. Scheduling scheduling is at the core of efficient ibm tivoli storage manager operations. Having a comprehensive and integrated set of schedules allows the server to run with very little intervention during normal oper...

  • Page 402

    372 ibm tivoli storage manager implementation guide the command or action that you run may be an incremental backup (client schedule) or a storage pool migration (administrative schedule) that should run every day at a particular time. You also have to estimate how long the command runs so that you ...

  • Page 403: 12.1  The Wheel of Life

    Chapter 12. Scheduling 373 12.1 the wheel of life figure 12-1 on page 374 shows the recommended series of operations that should occur in a tivoli storage manager environment and the sequence in which those operations should occur. The actual start time and duration of the various operations depend ...

  • Page 404

    374 ibm tivoli storage manager implementation guide figure 12-1 scheduling of operations 12.2 administrative schedules an administrative schedule is a directive to trigger an action on the tivoli storage manager server. It consists of an internal server command and parameters describing when the act...

  • Page 405

    Chapter 12. Scheduling 375 example 12-1 shows the syntax to define an administrative schedule named db_backup for a full database backup starting at 7 a.M. Every morning. Example 12-1 defining an administrative schedule tsm: atlantic> define schedule db_backup type=administrative cmd="backup db devc...

  • Page 406

    376 ibm tivoli storage manager implementation guide 2 copy backup data to off-site storage pool media. Backup storage pool diskdirs. 0.5 task 1 complete 12.2.1, “defining an off-site backup schedule” on page 377 3 backup storage pool diskdata. 1.0 task 1 complete 4 backup storage pool tapedata. 1.0 ...

  • Page 407

    Chapter 12. Scheduling 377 we recommend that no other schedules or administrative tasks are performed during client backups, so that backups have the maximum system resources available to them to minimize the backup time. Running administrative tasks or schedules during the client backup window will...

  • Page 408

    378 ibm tivoli storage manager implementation guide 2. Back up the primary storage pools to their copy storage pool. See 6.5.3, “back up a storage pool” on page 248, for more information. A. Back up the diskdirs storage pool to the offdirs storage pool. B. Back up the diskdata storage pool to the of...

  • Page 409

    Chapter 12. Scheduling 379 /* pools, followed by the */ /* database. If there are */ /* active node sessions, */ /* reschedule to run again in */ /* 20 minutes */ /* */ /* the script will back up */ /* three storage pools named */ /* diskdirs, diskdata and */ /* tapedata to copypools named */ /* off...

  • Page 410

    380 ibm tivoli storage manager implementation guide once the script is defined to the server, you need to define a schedule that will run the script for you every day at 4 a.M. The macro, mac.Schedules, which we provide to define recommended schedules in our book environment, is shown in “define sch...

  • Page 411

    Chapter 12. Scheduling 381 database backup expiry, but if you have not licensed it, you must delete the volume history yourself. Use the delete volhistory command to do this. We recommend deleting any database backups that are older than seven days. The delete volhistory command will never delete th...

  • Page 412

    382 ibm tivoli storage manager implementation guide 12.2.3 defining a migration schedule migration of your primary storage pools during client backup can and will slow down the client backup sessions and can impact the scheduling of other server processes. We recommend scheduling primary storage poo...

  • Page 413

    Chapter 12. Scheduling 383 the default tivoli storage manager configuration file specifies a 24-hour cycle for expiration, with expiration processing beginning 24 hours from when you first start the server. Unfortunately, this situation is rarely ever satisfactory. Expiration of inventory can be com...

  • Page 414

    384 ibm tivoli storage manager implementation guide storage pool, selecting a threshold to trigger reclamation. Then you would wait for a period of time, and run another update stgpool command to reset the reclamation threshold to its previous value. You can still use the two-step update storage poo...

  • Page 415

    Chapter 12. Scheduling 385 12.2.6 defining a licensing audit schedule occasionally, you may wish to check storage statistics for your clients, that is, how much data the clients are storing on the server, and what type of data that is. The query auditoccupancy command provides information about clie...

  • Page 416: 12.3  Client Schedules

    386 ibm tivoli storage manager implementation guide 12.2.7 querying administrative events you can query the scheduled events using the query event and query schedule commands. Example 12-13 shows the outputs from these commands. Example 12-13 querying administrative events tsm: lochness_server1> q s...

  • Page 417

    Chapter 12. Scheduling 387 part is integrated into the tivoli storage manager process and is responsible for managing the schedules and notifying clients. The client scheduler is a separate process on the tivoli storage manager client and provides communication between the server and client. See “sc...

  • Page 418

    388 ibm tivoli storage manager implementation guide administrators who have policy rights for the domain or system rights can control these schedules. Schedule name: the schedule name can be any unique name you choose, up to 30 characters long. It should represent the function it performs. Start tim...

  • Page 419

    Chapter 12. Scheduling 389 before tivoli storage manager v5.3, there were limited options for setting the repetition parameters. You could not, for example, schedule a backup to run on the first wednesday of each month—with enhanced schedules, you can. We wish to schedule an image backup of the c dr...

  • Page 420

    390 ibm tivoli storage manager implementation guide figure 12-2 and figure 12-3 show the corresponding panels from the administration center, selecting the day of week and week of the month. Figure 12-2 enhanced schedule repetition, day of week, isc panel figure 12-3 enhanced schedule, week of month...

  • Page 421

    Chapter 12. Scheduling 391 12.3.3 associating a client with a schedule once the schedule is defined, we need to specify which client nodes will run it. The define association command forms the link between the schedule and the node. Nodes are associated to schedules within their own domain. A node m...

  • Page 422

    392 ibm tivoli storage manager implementation guide 12.3.4 verifying the client schedules check when the schedules are due to run using the query event command. If the nodes and schedules are set up and associated correctly, you will see an entry for each node/schedule pair, as shown in example 12-1...

  • Page 423

    Chapter 12. Scheduling 393 week of month: expire: never tsm> quit.

  • Page 424

    394 ibm tivoli storage manager implementation guide.

  • Page 425: Routine Tasks

    © copyright ibm corp. 1999, 2000, 2003, 2006. All rights reserved. 395 chapter 13. Routine tasks ibm tivoli storage manager, like any other software system, has to be maintained and operated in order to check that the tasks that are implemented are still working. To accomplish this, you may need to ...

  • Page 426: 13.1  Operations Staff

    396 ibm tivoli storage manager implementation guide 13.1 operations staff the operations team is responsible for monitoring, correcting errors, and working together with technical support to isolate any non-specific error condition. Basically, you need the following logical roles among your current ...

  • Page 427: 13.2  Server Procedures

    Chapter 13. Routine tasks 397 13.2 server procedures in this section we show how to start and stop a tivoli storage manager server. Tivoli storage manager is essentially a software program that runs as any other application in your system. This means that you can start the server and let it run cont...

  • Page 428

    398 ibm tivoli storage manager implementation guide tivoli storage manager for aix-rs/6000 version 5, release 3, level 2.2 licensed materials - property of ibm (c) copyright ibm corporation 1990, 2004. All rights reserved. U.S. Government users restricted rights - use, duplication or disclosure rest...

  • Page 429

    Chapter 13. Routine tasks 399 on windows systems, you can also start the server in active console mode from the tivoli storage manager server utilities program. Figure 13-1 shows the main tivoli storage manager server utilities screen and the launch option to start tivoli storage manager in console ...

  • Page 430

    400 ibm tivoli storage manager implementation guide automatic start on aix, after the tivoli storage manager server installation, the system is configured to start the tivoli storage manager server automatically during the system startup. The following entry is added to the system initialization fil...

  • Page 431

    Chapter 13. Routine tasks 401 13.2.2 stopping the tivoli storage manager server there are two ways of stopping a tivoli storage manager server: immediate stop: this brings the server down immediately. All system processes and client activity are interrupted. Drain system activity and stop: this is t...

  • Page 432

    402 ibm tivoli storage manager implementation guide draining system activity before stopping the server to shut down the server without severely impacting administrative and client node activity with the server, we recommend taking some steps before actually issuing the halt command to the server: 1...

  • Page 433

    Chapter 13. Routine tasks 403 3 tcp/ip run 0 s 261.6 k 2.3 k admin aix tsmadmin 20 tcp/ip idlew 1 s 1.1 m 768 node aix atlantic 21 tcp/ip recvw 0 s 591 191.2 m node aix atlantic 22 tcp/ip idlew 10 s 1,023 1.3 k node aix atlantic 23 tcp/ip recvw 0 s 549 492.3 m node aix atlantic 3. Notify users: noti...

  • Page 434: 13.3  Event Monitoring

    404 ibm tivoli storage manager implementation guide another operation. These sessions will automatically expire when the specified restore interval has passed. For further details, see the query restore and cancel restore commands. 5. Find out if any other processes are running, such as server migra...

  • Page 435

    Chapter 13. Routine tasks 405 the tivoli storage manager activity log helps the administrator track server activity and monitor the system. The activity log contains messages generated by the server and is stored in the database. All messages sent to the server console are stored in the activity log...

  • Page 436

    406 ibm tivoli storage manager implementation guide schedule randomization percentage: 25 query schedule period: client maximum command retries: client retry period: client scheduling modes: any log mode: normal database backup trigger: not defined bufpoolsize: 524,288 k active receivers: console ac...

  • Page 437: 13.4  Health Monitoring

    Chapter 13. Routine tasks 407 to enable a specific receiver (such as console, actlog, eventserver, file, filetext, snmp, tivoli, userexit) use the enable events command, as shown in example 13-11. Example 13-11 enable events command tsm: atlantic> enable events actlog all nodename=* anr1844i enable ...

  • Page 438

    408 ibm tivoli storage manager implementation guide 13.4.1 enabling the admin_center account to enable the admin_center account: 1. Open a view of your tivoli storage manager server so that you can see the menu option server properties, as shown in figure 13-2. 2. In the server properties portlet, s...

  • Page 439

    Chapter 13. Routine tasks 409 4. Update the password if necessary and ensure that the lock check box is not checked, as shown in figure 13-3. Figure 13-3 admin_center account update pwd and lock box unchecked 13.4.2 using health monitoring using the health monitor, you get an overall view of how the...

  • Page 440

    410 ibm tivoli storage manager implementation guide the administrator name that the health monitor uses, admin_center, is locked or does not exist on the server. There were internal errors in the health monitor. Click the server name to get more information about possible causes. Warning or needs at...

  • Page 441

    Chapter 13. Routine tasks 411 4. Enter the password and refresh interval to enable the health monitor, as shown in figure 13-5. Click ok to complete. Figure 13-5 defining the health monitor password and refresh interval 5. To display the status of a tivoli storage manager server, click health monito...

  • Page 442: 13.5  Operational Reporting

    412 ibm tivoli storage manager implementation guide 13.5 operational reporting the tivoli storage manager operational reporting feature automates some of the monitoring tasks you typically perform manually. By generating reports and monitors, operational reporting notifies you if a server requires a...

  • Page 443

    Chapter 13. Routine tasks 413 figure 13-7 shows the quick glance view of your tivoli storage manager environment health using the daily report. Figure 13-7 ibm tivoli operational reporting result operational reporting can write data to a file that can be read by a tec log file adapter. The log file ...

  • Page 444: 13.6  Daily Sanity Checks

    414 ibm tivoli storage manager implementation guide 13.6 daily sanity checks this section shows you how to perform basic, yet important, system validations on your tivoli storage manager environment. These checks are run manually, but obviously many could (and should) be automated. We show the comma...

  • Page 445

    Chapter 13. Routine tasks 415 total usable pages: 262,144 used pages: 8,361 pct util: 3.2 max. Pct util: 3.2 physical volumes: 2 buffer pool pages: 131,072 total buffer requests: 1,964 cache hit pct.: 84.83 cache wait pct.: 0.00 backup in progress?: no type of backup in progress: incrementals since ...

  • Page 446

    416 ibm tivoli storage manager implementation guide tsm: atlantic> query log format=detail available space (mb): 512 assigned capacity (mb): 512 maximum extension (mb): 0 maximum reduction (mb): 508 page size (bytes): 4,096 total usable pages: 130,560 used pages: 233 pct util: 0.2 max. Pct util: 0.2...

  • Page 447

    Chapter 13. Routine tasks 417 backup operation: volume seq: device class: lto2-dc volume name: 022akk volume location: command: date/time: 02/24/2006 09:28:21 volume type: stgnew backup series: backup operation: volume seq: device class: lto2-dc volume name: 023akk volume location: command: date/tim...

  • Page 448

    418 ibm tivoli storage manager implementation guide ----------------------------------- --------- --------- ------------- --------- client 0 0 0 0 atlantic 1,236 0 0 1,236 miles 0 0 0 0 losgatos 0 0 0 0 propaganda 0 0 0 0 trcka 0 0 0 0 paris 4,670 0 0 4,670 diomede 159 0 0 159 display drive informat...

  • Page 449

    Chapter 13. Routine tasks 419 3582_shared 030akk scratch 4,106 lto 3582_shared 031akk scratch 4,107 lto 3582_shared 038akk scratch 4,114 lto 3582_shared 039akk scratch 4,115 lto number of scratch tapes you can use an sql query to display the number of scratch tapes available in the library, as shown...

  • Page 450

    420 ibm tivoli storage manager implementation guide (mb) (mb) ---------- ---- ---------- ----- ---------- --------- --------- --------- atlantic bkup / 10 diskdata 1,002 12.09 12.09 atlantic bkup /usr 11 diskdata 20,324 1,223.98 1,223.98 atlantic bkup /tsm4sbr 12 diskdata 4 1,051.15 1,051.15 diomede...

  • Page 451

    Chapter 13. Routine tasks 421 offdirs lto2-dc 0.0 m 0.0 tapedata lto2-dc 409,600,0- 0.0 0.0 90 70 00 g tapedata_lf lto2c 0.0 m 0.0 0.0 90 70 query one or more storage pool volumes use the query volume command to display information about one or more storage pool volumes, as shown in example 13-25. T...

  • Page 452

    422 ibm tivoli storage manager implementation guide search activity log for messages one of the basic commands to access the activity log is the query actlog command. Use the query actlog command to search the server activity log for messages, as shown in example 13-26. You can select messages by da...

  • Page 453

    Chapter 13. Routine tasks 423 02/27/2006 08:43:27 anr2121w attention: more than 28 mb of the database has changed and the last database backup was more than 24 hours ago. Use the backup db command to provide for database recovery. 02/27/2006 09:09:55 anr8925w drive dr00 in library 3582_shared has no...

  • Page 454

    424 ibm tivoli storage manager implementation guide to query scheduled administrative events use the type=administrative parameter, as shown in example 13-29. Example 13-29 query event type syntax tsm: atlantic> query event * type=administrative scheduled start actual start schedule name status ----...

  • Page 455

    Chapter 13. Routine tasks 425 2. Restartable restore sessions lock the file space and do not allow files to be moved off of sequential volumes. The query restore command displays the restartable restore sessions and their associated file space, as shown in example 13-31. The cancel restore command c...

  • Page 456

    426 ibm tivoli storage manager implementation guide 13.7 storage media management this section shows you how to use tivoli storage manager removable media (tapes or optical media), how to label them, and how to manage the many possible stages a tape can have. When the tivoli storage manager accesses...

  • Page 457

    Chapter 13. Routine tasks 427 is reclaimed. When the volume is reclaimed, any valid, unexpired data is moved to other volumes or possibly to another storage pool (for storage pools with single-drive libraries). When a volume becomes empty because all valid data either expires or is moved to another ...

  • Page 458

    428 ibm tivoli storage manager implementation guide figure 13-8 how tivoli storage manager tapes are processed 13.7.2 label and check in tapes the label libvolume command requires parameters to specify: the name of the library where the storage volume is located the name of the storage volume whethe...

  • Page 459

    Chapter 13. Routine tasks 429 whether to check in the volume to the scratch pool or as a private volume the type of device (applies to 349x libraries only) depending on the library that you have (349x, scsi, or manual), the command syntax may be slightly different. For further details, type: help la...

  • Page 460

    430 ibm tivoli storage manager implementation guide checking in tapes in a library with the barcode reader is shown in example 6-18 on page 242. If you have a manual library (for example, a single stand-alone 8-mm drive) with no barcode reader, specify the label you want to use, as shown in example ...

  • Page 461

    Chapter 13. Routine tasks 431 for our discussion we assume that all data that is available in the company is on-site data. All data that is remotely stored in another location is off-site data. Figure 13-9 shows on-site and off-site tape volumes. Figure 13-9 on-site and off-site distinction tapes us...

  • Page 462

    432 ibm tivoli storage manager implementation guide figure 13-10 shows a typical tape management with enhanced control of the actual state of the tapes. Figure 13-10 ibm tivoli storage manager and tape life cycle providing that all of your primary storage pools are being backed up, then under normal...

  • Page 463

    Chapter 13. Routine tasks 433 figure 13-11 shows how data is generically processed on tape from the moment the data is backed up until it is sent to the off-site location. Figure 13-11 tivoli storage manager tape processing 13.7.4 moving data from on-site to off-site the commands explained in this s...

  • Page 464

    434 ibm tivoli storage manager implementation guide libvolume does not apply. Therefore there is no concept of checking volumes in and out. For devices in automated libraries (such as a tape autochanger), tivoli storage manager interacts with the library to mount volumes, but sends messages when the...

  • Page 465

    Chapter 13. Routine tasks 435 volume name storage device estimated pct volume pool name class name capacity util status (mb) ------------------------ ----------- ---------- --------- ----- -------- 044akk offdata coffsite 5,000.0 0.2 filling tsm: atlantic> backup stgpool diskdirs offdirs anr2017i ad...

  • Page 466

    436 ibm tivoli storage manager implementation guide ------------------------ ----------- ---------- --------- ----- -------- 044akk offdata coffsite 5,000.0 0.2 filling tsm: atlantic> query volume * access=readwrite,readonly status=full,filling stgpool=offdirs volume name storage device estimated pc...

  • Page 467

    Chapter 13. Routine tasks 437 anr2017i administrator tsmadmin1 issued command: checkout libv 3582shared 034akk anr0984i process 16 for checkout libvolume started in the background at 16:03:11. Anr8434i checkout libvolume: operation for volume 034akk in library 3582shared started as process 16. Anr83...

  • Page 468

    438 ibm tivoli storage manager implementation guide storage pool name: offdata device class name: coffsite estimated capacity (mb): 5,000.0 pct util: 0.2 volume status: filling access: offsite pct. Reclaimable space: 99.8 scratch volume?: yes in error state?: no number of writable sides: 1 number of...

  • Page 469

    Chapter 13. Routine tasks 439 number of read errors: 0 volume location: itso vault last update by (administrator): tsmadmin1 last update date/time: 02/22/06 15:19:21 13.7.5 off-site tape management to on-site in this section we show how to move off-site volumes to the on-site location. These off-sit...

  • Page 470

    440 ibm tivoli storage manager implementation guide ------------------------ ----------- ---------- --------- ----- -------- 040akk offdata coffsite 0.0 0.0 empty 041akk offdirs coffsite 0.0 0.0 empty we recommend that you keep a record of these volumes for tracking purposes and use it as a shipping...

  • Page 471

    Chapter 13. Routine tasks 441 the volumes are checked in as scratch, because they are empty. This is demonstrated in example 13-41. We do not specify to label them because these tapes have returned from previous use, and therefore we can use their existing labels. Example 13-41 checkin libvolume for...

  • Page 472

    442 ibm tivoli storage manager implementation guide off-site tapes also become emptier over time and need to be reclaimed. We need the reclamation process so that the size of our off-site storage pool does not grow indefinitely. We already know that reclaiming on-site volumes requires mounting the v...

  • Page 473

    Chapter 13. Routine tasks 443 database backup volumes are tracked in a different manner than those of storage pools. Use the query volhistory command to identify tape volumes containing database backups. Alternately, you can use the activity log messages to identify those tapes. Assuming that the da...

  • Page 474

    444 ibm tivoli storage manager implementation guide anr8438i checkout libvolume for volume 046akk in library 3582shared completed successfully. Anr0985i process 17 for checkout libvolume running in the background completed with completion state success at 18:07:40. Move volumes off-site you should m...

  • Page 475: 13.8  Error Conditions

    Chapter 13. Routine tasks 445 move the tape volumes from off-site to on-site you should move the backup volumes from your off-site location to your site. We recommend that you track the tapes in a movement log. Update the volume to scratch use the delete volhistory command to return the database bac...

  • Page 476

    446 ibm tivoli storage manager implementation guide be related to hardware problems, or even a software component reporting error conditions. 13.8.1 tivoli storage manager errors error analysis is a key point to your tivoli storage manager environment. If for any reason the tivoli storage manager ca...

  • Page 477

    Chapter 13. Routine tasks 447 undetermined error has occurred). Refer to appendix b in the 'messages' manual for recommended action. .... 02/24/06 03:21:45 anr1414w volume 032akk access mode is "read-only" due to previous write error. Example 13-47 on page 446 shows two library errors and one volume...

  • Page 478

    448 ibm tivoli storage manager implementation guide d1a1ae6f 0212152400 i h rmt1 tape sim/mim record e85c5c4c 0212083000 p s lftdd software program error e85c5c4c 0212083000 p s lftdd software program error 0ba49c99 0212082600 t h scsi0 scsi bus error 2bfa76f6 0212075000 t s sysproc system shutdown ...

  • Page 479

    Chapter 13. Routine tasks 449 type: unkn resource name: lmcpd description message redirected from syslog user causes operator redirected syslog messages to error log recommended actions review detailed data detail data syslog message error on 3494a, volume 024akk, era 83 library drive exception wind...

  • Page 480

    450 ibm tivoli storage manager implementation guide figure 13-12 shows an example of our windows environment logging errors about the tivoli storage manager application. Note that not all of these may be true error conditions. You must evaluate whether it is actually a problem or simply a misconfigu...

  • Page 481: 13.9  Summary

    Chapter 13. Routine tasks 451 in this example we selected for further analysis one of the red events (indicated by the small stop sign), which is an error condition. Figure 13-13 shows that a query drive command was executed in one of our tivoli storage manager server test environments, but no drive...

  • Page 482

    452 ibm tivoli storage manager implementation guide require customization. In our next chapter we move on to more advanced operational topics..

  • Page 483: Advanced Operations

    © copyright ibm corp. 1999, 2000, 2003, 2006. All rights reserved. 453 chapter 14. Advanced operations in this chapter we cover exporting data from the server and server groups, reorganizing the database, and integrating the ibm tivoli storage manager environment with the ibm tivoli enterprise conso...

  • Page 484

    454 ibm tivoli storage manager implementation guide 14.1 exporting server to server in this section we cover the facility to export and import data directly between servers using tcp/ip. Before tivoli storage manager v5.2, you could export to media, physically move the media onto another server, the...

  • Page 485

    Chapter 14. Advanced operations 455 14.2.1 preparing to export to another server for immediate import when you export data to another server over the network, the export triggers an immediate import on the target server. You can export data to a tivoli storage manager server of the same or different...

  • Page 486

    456 ibm tivoli storage manager implementation guide option allows you to preview the export without actually exporting the data, to see how much space will actually be required on the target server. To actually perform the operation, re-run the command without the preview option. Example 14-1 export...

  • Page 487

    Chapter 14. Advanced operations 457 14.2.3 exporting client node information to another server when you issue the export node command, the server exports client node definitions. Each client node definition includes: user id, password, and contact information name of the policy domain to which the c...

  • Page 488

    458 ibm tivoli storage manager implementation guide (0 errors have been detected). Tsm: atlantic>q act date/time message ------------------- --------------------------------------------------------- 03/01/2006 14:53:50 anr2017i administrator admin issued command: export node paris filedata=all toser...

  • Page 489

    Chapter 14. Advanced operations 459 example 14-3 shows the export policy process in preview mode, and a selection of messages logged to the activity log. Example 14-3 exporting policy domains tsm: atlantic>export policy * toserver=lochness_server1 previewimport=yes anr0609i export policy started as ...

  • Page 490

    460 ibm tivoli storage manager implementation guide 03/01/2006 15:08:29 anr0611i export policy started by admin as process 14 has ended. (session: 255) 03/01/2006 15:08:29 anr0986i process 14 for export policy running in the background processed 60 items for a total of 4,822 bytes with a completion ...

  • Page 491

    Chapter 14. Advanced operations 461 figure 14-1 shows our setup. Figure 14-1 server-to-server lab setup the windows xp tivoli storage manager backup-archive client sarah is currently configured to send its data to the windows server lochness. As shown in example 14-4, we issue a define server comman...

  • Page 492

    462 ibm tivoli storage manager implementation guide example 14-5 shows the reciprocal command on lochness. Example 14-5 defining server atlantic on lochness tsm: lochness_server1>define server atlantic serverpassword=itso hladdress=9.43.86.49 lladdress=1500 anr1660i server atlantic defined successfu...

  • Page 493

    Chapter 14. Advanced operations 463 once the process is complete, the results can be found in the actlog output, as shown in example 14-8 and example 14-9 on page 464. Example 14-8 lochness’ activity log for the export process tsm: lochness_server1>q act date/time message ------------------- -------...

  • Page 494

    464 ibm tivoli storage manager implementation guide 03/01/2006 16:21:33 anr0986i process 5 for export node running in the background processed 37862 items for a total of 5,086,013,044 bytes with a completion state of success at 16:21:33. (session: 32) example 14-9 atlantic’s activity log of the impo...

  • Page 495

    Chapter 14. Advanced operations 465 4966809 kilobytes of data. (session: 269, process: 23) 03/01/2006 16:22:31 anr0611i import (from server lochness_server1) started by admin as process 23 has ended. (session: 269, process: 23) 03/01/2006 16:22:31 anr0986i process 23 for import (from server lochness...

  • Page 496

    466 ibm tivoli storage manager implementation guide sarah bkup \\sarah\c$ 1 diskdirs 2,714 0.75 0.75 sarah bkup system 2 diskdata 1,810 242.84 242.84 object note that although lochness appears to have more data for sarah, we can see that the extra data are in copy storage pools. The actual number of...

  • Page 497

    Chapter 14. Advanced operations 467 subsequent backups performed on atlantic. Below are some details on merging of files. 14.4.1 merging file spaces you can merge imported client backup, archive, and space-managed files into existing file spaces, and automatically skip duplicate files that may exist...

  • Page 498

    468 ibm tivoli storage manager implementation guide tcp/ip address, and tcp/ip port, then the imported backup object is inserted as an inactive version. If there are no active versions of an object with the same node, file space, tcp/ip address, and tcp/ip port on the target server, and the imported...

  • Page 499

    Chapter 14. Advanced operations 469 sarah bkup \\sarah\c$ 1 diskdata 33,443 4,601.39 4,601.39 sarah bkup \\sarah\c$ 1 diskdirs 2,738 0.77 0.77 sarah bkup system 2 diskdata 3,620 486.40 486.40 object we can see that on atlantic, there are now 114 more files from c: and 1810 more files from the system...

  • Page 500

    470 ibm tivoli storage manager implementation guide the additional files that were backed up while connected to atlantic are now visible on lochness’ query occupancy output, as shown in example 14-16. Example 14-16 occupancy after file spaces are merged tsm: atlantic>q occ sarah node name type files...

  • Page 501

    Chapter 14. Advanced operations 471 being moved to a new server, you can move the backup data that was stored on the originating server after the export operation was initiated. The fromdate and fromtime options are available when you issue an export server or export node command. 14.4.2 suggestions...

  • Page 502

    472 ibm tivoli storage manager implementation guide in example 14-17 we create a new group and add two members. Use query servergroup to display information about server groups. Example 14-17 defining a server group and members tsm: lochness_server1>define servergroup redserv desc="redbook sg24-5416...

  • Page 503

    Chapter 14. Advanced operations 473 server(s). Anr1687i output for command 'q db ' issued against server atlantic follows: available assigned maximum maximum page total used pct max. Space capacity extension reduction size usable pages util pct (mb) (mb) (mb) (mb) (bytes) pages util --------- ------...

  • Page 504

    474 ibm tivoli storage manager implementation guide deciding whether you really need to reorganize the database reorganizing the tivoli storage manager database is not a task to be taken lightly. The load operation can take a long time (24+ hours) if your database is large. To facilitate the process...

  • Page 505

    Chapter 14. Advanced operations 475 process: 3) 03/02/2006 11:51:51 anr0987i process 3 for estimate dbreorg running in the background processed 120287 items with a completion state of success at 11:51:51. (session: 12, process: 3) 03/02/2006 11:53:37 anr2017i administrator admin issued command: quer...

  • Page 506

    476 ibm tivoli storage manager implementation guide device configuration file and store the original file in a safe place. Edit the copy of the file to have temporary manual definitions for the library and the drive you will use. Follow these guidelines: • for the library definition, change the libr...

  • Page 507

    Chapter 14. Advanced operations 477 because the library is defined to be a manual library, you will need to manually mount the tapes. 7. Format the database and recovery log using the dsmserv loadformat utility. This utility prepares the existing server database for the dsmserv loaddb utility. For e...

  • Page 508

    478 ibm tivoli storage manager implementation guide 14.7 tivoli storage manager and tec integration tivoli storage manager includes the tivoli receiver, a tivoli enterprise console (tec) adapter for sending tivoli storage manager events to the tec. You can specify the events to be logged based on th...

  • Page 509: 14.8  Summary

    Chapter 14. Advanced operations 479 2. Enable events for logging to the tivoli receiver (tec). The following enables logging for severe and error messages coming from all tivoli storage manager nodes and servers to tec. Refer to the ibm tivoli storage manager administrator’s guide for more informati...

  • Page 510

    480 ibm tivoli storage manager implementation guide.

  • Page 511: Performance Considerations

    © copyright ibm corp. 1999, 2000, 2003, 2006. All rights reserved. 481 chapter 15. Performance considerations in this chapter we emphasize the importance of a complete tuning methodology. We hope you will gain an understanding of all the related components and understand the importance of making cha...

  • Page 512

    482 ibm tivoli storage manager implementation guide 15.1 how to measure performance in measuring tivoli storage manager performance, you need to fine-tune parameters and run specific testing scenarios. Fine-tuning tivoli storage manager is not just for backup, since the restore window is as importan...

  • Page 513

    Chapter 15. Performance considerations 483 clearly, with so many combinations and possibilities, it is not feasible to discuss all possible combinations of these parameters within the scope of this book. This book should be taken as advice to follow when faced with performance questions, so that you...

  • Page 514

    484 ibm tivoli storage manager implementation guide compression application to combine and or compress a bunch of smaller files into one big file of the required size. Do not try to push multiple smaller files that equal the total size that you are trying to move—this will skew your benchmarks. The ...

  • Page 515

    Chapter 15. Performance considerations 485 so how do you launch the ftp script right before the backup occurs? By including your ftp script in a tivoli storage manager client options file (or dsm.Sys on unix/linux) as pre-schedule (or post-schedule, or both) commands: preschedulecmd c:\temp\ftpbench...

  • Page 516

    486 ibm tivoli storage manager implementation guide chapter 15-5, “z/os: ftp command without disk bottleneck” on page 486 shows an example of connecting to a z/os system and switching to the *dev.Null directory to avoid write i/o on the target system. The local file is being read from in this exampl...

  • Page 517

    Chapter 15. Performance considerations 487 150 opening data connection for 500mbfile. 226 transfer complete. Ftp: 536801936 bytes sent in 52.09seconds 10304.49kbytes/sec. Ftp> get 500mbfile 200 port command successful. 150 opening data connection for 500mbfile (524288000 bytes). 226 transfer complet...

  • Page 518

    488 ibm tivoli storage manager implementation guide data transfer time: 416.28 sec network data transfer rate: 1,229.97 kb/sec aggregate data transfer rate: 1,216.43 kb/sec elapsed processing time: 00:07:03 so now, why did it take so long to restore the object? From the ftp statistics we know that t...

  • Page 519

    Chapter 15. Performance considerations 489 the output file name cannot be specified, but after the task is complete, you can rename it to a meaningful name, for example, yymmdd_client_stats.Txt. Example 15-10 shows the output for the backup of the 500 mb file. We have shown only the thread informati...

  • Page 520

    490 ibm tivoli storage manager implementation guide we did not expect anything spectacular from this trace, as the backup was running fine, so now let us compare it to the restore numbers. The statistics, again an extract only, are shown in example 15-11. Example 15-11 client instrumentation statist...

  • Page 521

    Chapter 15. Performance considerations 491 performance tracing” on page 492, we explain the sections of the client instrumentation traces: client setup initial processing including signon, authorization, and queries for policy set and file system information. Process dirs processing directory and fi...

  • Page 522

    492 ibm tivoli storage manager implementation guide memory and writing the recovery log data. For backup direct to tape, this includes flushing the tape buffers. Sleep sleeping time. Thread wait time spent waiting on another thread. Other time spent on any other task not mentioned above. If you see ...

  • Page 523

    Chapter 15. Performance considerations 493 by default, the output is sent to the console or administrative display, using a pipe to redirect it to a file. We collected the server instrumentation traces for the backup and the restore attempt. Since we know we are backing up a file of 500 mb it is eas...

  • Page 524

    494 ibm tivoli storage manager implementation guide acquire xlatch 3 0.000 0.000 0.000 0.000 thread wait 2007 411.620 0.205 0.000 2.172 unknown 0.000 ---------------------------------------------------------------------------- total 421.000 1216.8 512256 thread 46 sessionthread (win thread id 2604) ...

  • Page 525

    Chapter 15. Performance considerations 495 restore function invoked. Restoring 524,288,000 /home/root/500mbfile [done] restore processing finished. Total number of objects restored: 1 total number of objects failed: 0 total number of bytes transferred: 500.06 mb data transfer time: 41.12 sec network...

  • Page 526

    496 ibm tivoli storage manager implementation guide 15.2.1 database and recovery log when implementing a tivoli storage manager server, consider using multiple disk volumes for the database and recovery log files. This enables the server process to spread its i/o (input/output) over several volumes ...

  • Page 527

    Chapter 15. Performance considerations 497 figure 15-1 on page 497 shows the side effects of placing multiple storage pool volumes on a single disk. The increased seek activity can degrade performance. Figure 15-1 tivoli storage manager volume definitions it is also preferable to send backups of lar...

  • Page 528

    498 ibm tivoli storage manager implementation guide incremental backup is nearly always preferred over selective backup, because selective backup generates a new version every time, regardless of whether the specific file has changed or not. 15.2.4 client configuration using the powerful include and...

  • Page 529

    Chapter 15. Performance considerations 499 than or equal to 98%. To check the cache hit percentage, use the query db f=d command, as shown in example 15-17. This shows that our cache hit percentage is 99.89%, which is fine. Example 15-17 query db f=d tsm: lochness_server1>q db format=detail availabl...

  • Page 530

    500 ibm tivoli storage manager implementation guide mirrorwrite this specifies how mirrored volumes are accessed when the server writes pages to the recovery log or database during normal processing. A value of sequential specifies that the server writes to the mirrored volume one after another. Ser...

  • Page 531

    Chapter 15. Performance considerations 501 the database using database unload and reload processing. By reloading the database, you compress and reorganize it. This process is described in detail in chapter 14, “advanced operations” on page 453. 15.3.2 transactions this section covers server options...

  • Page 532

    502 ibm tivoli storage manager implementation guide if the movebatchsize or movesizethresh parameters are increased from the default values, the server will require more recovery log space—up to two or more times larger than a recovery log when the defaults are used. Also, the server requires more t...

  • Page 533

    Chapter 15. Performance considerations 503 that the server must handle. If you need 10 concurrent nodes to perform backup operations and each of them has a multi-threading capability (resource utilization) of 4, then you must set maxsession to at least 40 (10 x 4). Maxschedsessions the maxschedsessi...

  • Page 534

    504 ibm tivoli storage manager implementation guide tcpbuffsize the tcpbuffsize option specifies the size of the internal tcp communication buffer that is used to transfer data between the client node and the server. A large buffer can improve communication performance, but requires more memory. The...

  • Page 535

    Chapter 15. Performance considerations 505 throughput thresholds use the throughputtimethreshold and throughputdatathreshold to control how tivoli storage manager handles slow performing client sessions. Slow performing sessions may pin your recovery log and result in slower overall server performan...

  • Page 536: 15.4  Client Node

    506 ibm tivoli storage manager implementation guide you can have the server collocate client data when the data is initially stored in server storage. If you have a storage hierarchy, you can also have the data collocated when the server migrates the data from the initial storage pool to the next st...

  • Page 537

    Chapter 15. Performance considerations 507 if you increase this parameter, consider that: more data per transaction will increase server recovery log requirements. Check log and log pool space to ensure that there is enough space, and remember that a larger log may increase server startup time. More...

  • Page 538

    508 ibm tivoli storage manager implementation guide if you set the resourceutilization option to enable multiple client/server sessions and are backing up direct to tape, you must also update the server option maxnumpfor client node maximum mount points allowed. The following factors can affect the ...

  • Page 539

    Chapter 15. Performance considerations 509 large buffer can improve communication performance, but requires more memory. Tcpwindowsize the tcpwindowsize option specifies the size of the tcp/ip sliding window in kilobytes. This option overrides the operating system's tcp send and receive spaces. It s...

  • Page 540

    510 ibm tivoli storage manager implementation guide the client compression option is only in effect if your tivoli storage manager administrator specifies that your client node may choose its own compression. When a node is registered using the register node command, there is a compression parameter...

  • Page 541

    Chapter 15. Performance considerations 511 restore processing has changed since then: during the process directories will be created with default attributes and the correct attributes and acl information is applied once the data is read from the media. Therefore the original reason to cache director...

  • Page 542

    512 ibm tivoli storage manager implementation guide for fibre channel tape devices, consider the throughput of the tape device and the hba. For example, if you are using third generation lto drives with rated performance of 80 mbps, and your backup data streams are able to push the drives to close t...

  • Page 543

    Chapter 15. Performance considerations 513 gigabit technology supports jumbo frames (9000 bytes), which should be used whenever gigabit ethernet hardware is implemented. Unfortunately not every gigabit hardware component implements jumbo frames. Using this feature is only practical when all elements...

  • Page 544

    514 ibm tivoli storage manager implementation guide 15.6.3 file system volumes versus raw logical volumes as a rule of thumb, the general recommendation is to put tivoli storage manager server volumes on raw logical volumes (rlv) in a unix environment. In addition to the read/write performance, rlv ...

  • Page 545

    Chapter 15. Performance considerations 515 running the vmtune command shown in example 15-18 (pre aix v5.2) and the vmo command in example 15-19 (aix v5.2 and later). Example 15-18 tuning pre-5.2 aix file system cache usage /usr/samples/kernel/vmtune -p50 example 15-19 tuning aix 5.2 and newer file ...

  • Page 546

    516 ibm tivoli storage manager implementation guide we recommend setting maxpgahead to the maximum of 256. When tuning maxpgahead you must also adjust the maxfree parameter to allow room for this data. The maxfree parameter should equal minfree+maxpgahead (or later), as shown in example 15-20. Examp...

  • Page 547

    Chapter 15. Performance considerations 517 15.6.6 journal-based incremental backup using journal-based incremental backup (jbb) can provide substantially faster incremental backups of file systems with a large number of files with small daily change rates. Configuration of the journal options is don...

  • Page 548

    518 ibm tivoli storage manager implementation guide thread: 515 elapsed time 406.433 sec section actual (sec) average(msec) frequency used ------------------------------------------------------------------ process dirs 308.412 8.7 35332 solve tree 0.000 0.0 0 compute 0.000 0.0 0 begintxn verb 0.000 ...

  • Page 549

    Chapter 15. Performance considerations 519 so out of the total time of 406 seconds, it takes 308 seconds to process the 35332 directories and realize that only two objects have changed. In addition, the server is queried for the objects available, resulting in a search and transfer of 82 mb worth of...

  • Page 550: 15.7  Summary

    520 ibm tivoli storage manager implementation guide please keep in mind that this is only a single small test in our lab, but it should be sufficient to explain the major advantages of journaling to you. We recommend that you leave the journal database size set to unlimited. Limiting the journal dat...

  • Page 551

    Chapter 15. Performance considerations 521 figure 15-2 on page 521, while by far not complete, should give you a good starting point when reviewing your tivoli storage manager tunables. Figure 15-2 tivoli storage manager tunables overview if you document all your changes, making one change then re-t...

  • Page 552

    522 ibm tivoli storage manager implementation guide.

  • Page 553: Advanced Topics

    © copyright ibm corp. 1999, 2000, 2003, 2006. All rights reserved. 523 part 4 advanced topics in this part of the book we discuss more advanced topics, such as lan-free backups and using network data management protocol (ndmp) and the network appliance file server to achieve file level restore. Also...

  • Page 554

    524 ibm tivoli storage manager implementation guide.

  • Page 555: Leveraging San

    © copyright ibm corp. 1999, 2000, 2003, 2006. All rights reserved. 525 chapter 16. Leveraging san environments we now enter into the advanced topics for this guide. In this chapter we describe how to exploit your san environment to perform lan-free client operations. We cover, in detail, requirement...

  • Page 556

    526 ibm tivoli storage manager implementation guide 16.1 lan-free prerequisites before deploying lan-free data movement in your environment, you should carefully plan the system configuration, since this provides a smooth transition through system setup into production. As part of your planning, you...

  • Page 557

    Chapter 16. Leveraging san environments 527 the san. This is an ibm totalstorage 3582 tape library (ibm 3582) with 2 lto2 drives and control path failover (cpf) feature enabled. Figure 16-1 san lab environment apart from properly setting up the san itself, including configuring the switches, and cab...

  • Page 558

    528 ibm tivoli storage manager implementation guide in the following sections we discuss lan-free client data transfer using tivoli storage manager and the storage agent. In particular, we cover these topics: setting up and configuring tivoli storage manager server for lan-free configuring devices o...

  • Page 559

    Chapter 16. Leveraging san environments 529 environment. Further, each server name has an associated password that will be used during the server-to-server authentication process. Note that the server name is independent of dns name or tcpserveraddress, as specified on the clients. It is just an ide...

  • Page 560

    530 ibm tivoli storage manager implementation guide 16.2.1 defining library, drives, and associated paths on the server as we said, the library must be shared between server and storage agents for lan-free operations. Therefore, in contrast to a typical library definition, you must enable the librar...

  • Page 561

    Chapter 16. Leveraging san environments 531 16.2.2 defining the device class in example 16-4 we define a device class for the ibm 3582 with the appropriate tape format. Note that we set the tape retention time to 5 minutes only, to ensure that tape volumes are dismounted as soon as they are no longe...

  • Page 562

    532 ibm tivoli storage manager implementation guide 16.2.4 defining policy the last step is to define a management class with an associated copy group in the policy domain that uses the lan-free storage pool. We then validate and activate the policy set to make the management class available for cli...

  • Page 563

    Chapter 16. Leveraging san environments 533 now we can register our client diomede to the policy domain server. Note that although the dataread and datawrite parameters are set to their default values ( any for both), we set it explicitly in the example to show you how you can control the transfer p...

  • Page 564: 16.3  Storage Agent Setup

    534 ibm tivoli storage manager implementation guide anr0388i node diomede using storage agent sta_diomede has 1 storage pools capable of lan-free data movement and 5 storage pools not capable of lan-free data movement. 16.3 storage agent setup here we describe how to install and configure the storag...

  • Page 565

    Chapter 16. Leveraging san environments 535 since we have an lto library, we have to use ibm tape device drivers. For non-ibm devices, you might choose either third-party device drivers or use the tivoli storage manager device drivers included in the storage agent package. The supported devices and ...

  • Page 566

    536 ibm tivoli storage manager implementation guide after the installation, our devices are now correctly identified as ibm 3582 lto library and ibm ult3580-td2 scsi sequential device (see figure 16-3). Figure 16-3 correctly identified devices in windows device manager important: if your environment...

  • Page 567

    Chapter 16. Leveraging san environments 537 figure 16-4 registry settings for maximumsglist in windows 2000 later you may run the dsmmaxsg utility included with the storage agent package to increase the maximum transfer length for hbas and, consequently, the block size used for writing or reading da...

  • Page 568

    538 ibm tivoli storage manager implementation guide figure 16-5 storage agent and device driver installation screen 2. Click tsm storage agent anda wizard will launch. Click next. 3. Enter customer information and choose access rights to the storage agent application, as shown in figure 16-6. Figure...

  • Page 569

    Chapter 16. Leveraging san environments 539 4. Choose the type of installation. In figure 16-7 we chose complete installation. You may choose custom installation to select storage agent code installation, or console plugin installation, or both, which is the default. Our recommendation is to choose ...

  • Page 570

    540 ibm tivoli storage manager implementation guide 16.3.3 configuring the storage agent in order for the storage agent to communicate with the server instance, server-to-server communication is required. In 16.2, “server setup for lan-free” on page 528, we prepared our tivoli storage manager server...

  • Page 571

    Chapter 16. Leveraging san environments 541 unlike other supported platforms, the storage agent package on windows provides two ways to initialize the storage agent—command line or using a gui wizard. We describe both ways; however, the wizard is the preferred method, since typing commands is more e...

  • Page 572

    542 ibm tivoli storage manager implementation guide 2. On the page shown in figure 16-9, enter the storage agent configuration values, which we have specified in the storage agent definition in the tivoli storage manager server (example 16-9 on page 540). Specifically, provide the storage agent name...

  • Page 573

    Chapter 16. Leveraging san environments 543 3. On the page shown in figure 16-10, enter the tivoli storage manager server details (the server name, password, server ip address, and port number) to match the definitions given in example 16-1 on page 529. Figure 16-10 tivoli storage manager server det...

  • Page 574

    544 ibm tivoli storage manager implementation guide 4. On the page shown in figure 16-11, set the storage agent service behavior. We recommend automatically starting the service on reboot, and if you require the service to run under a specific account, give the account details. Figure 16-11 storage ...

  • Page 575

    Chapter 16. Leveraging san environments 545 5. On the final screen, click back to review the entries, or complete the initialization by clicking finish. Provided your account password was correct, the initialization wizard subsequently configures a service in windows and starts it, as shown in figur...

  • Page 576

    546 ibm tivoli storage manager implementation guide storage agent is reachable on the specified address, but also that the storage agent is listening on the specified port as well. Example 16-12 shows that connection to our storage agent was successfully tested. Example 16-12 verifying the connectio...

  • Page 577

    Chapter 16. Leveraging san environments 547 the initialization procedure creates the lines shown in example 16-14 in the device configuration file for the storage agent, pointed to by the devconfig option in the dsmsta.Opt file. In our case, devconfig points to the devconfig.Txt file. Example 16-14 ...

  • Page 578

    548 ibm tivoli storage manager implementation guide setting up storage agent service using the command line example 16-16 shows how to define a storage agent service using the command line. It is based on the assumption that you defined your storage agent using the syntax in example 16-13 on page 54...

  • Page 579

    Chapter 16. Leveraging san environments 549 licensed materials - property of ibm 5697-tsm (c) copyright ibm corporation 2000, 2005. All rights reserved. U.S. Government users restricted rights - use, duplication or disclosure restricted by gsa adp schedule contract with ibm corporation. Computer nam...

  • Page 580

    550 ibm tivoli storage manager implementation guide serial number: - world wide name: - device identifier: ibm ult3580-td2 53y2 supported generic tape: yes variable blocks: yes filemarks: yes relative blocks: yes reverse position: yes device type: mediumchangerperipheral tsm device name: lb1.1.0.2 t...

  • Page 581

    Chapter 16. Leveraging san environments 551 qlogic corporation 2312 ql2312.Sys 8.1.5.60 (w2k ip) 3.01.10 looking for devices... Tsm name id lun bus port ssn wwn tsm ------------------------------------------------------------------------------- mt0.0.0.2 0 0 0 2 1110177214 500308c140067006 lto mt1.0...

  • Page 582

    552 ibm tivoli storage manager implementation guide in example 16-20, we define the required paths. Example 16-20 storage agent path definition to the shared tape drives tsm: atlantic>d efine path sta_diomede dr00 srctype=server desttype=drive \ cont> library=3582_shared device=mt0.0.0.2 anr1720i a ...

  • Page 583

    Chapter 16. Leveraging san environments 553 dsmserv.Opt (or in dsmsta.Opt for storage agents). You can also dynamically set the option using the administrative cli, as in example 16-22. Example 16-22 dynamically setting sandiscovery option tsm: atlantic> setopt sandiscovery on do you wish to proceed...

  • Page 584

    554 ibm tivoli storage manager implementation guide accurate san mapping feature. For example, if a pre-version 5.3 tivoli storage manager server is installed on aix and path statements need to be set up for a windows-based storage agent, tsmdlst can be used to display the required information and a...

  • Page 585

    Chapter 16. Leveraging san environments 555 one hba was detected. Manufacturer model driver version firmware --------------------------------------------------------------------------- qlogic corporation 2312 ql2312.Sys 8.1.5.60 (w2k ip) 3.01.10 looking for devices... Tsm name id lun bus port ssn ww...

  • Page 586

    556 ibm tivoli storage manager implementation guide mt1.0.0.2 1 0 0 2 - - lb1.1.0.2 1 1 0 2 - - obtained information for 2 paths from tsm server. Obtained information for 2 drives from tsm server. Obtained information for 2 devices from c:\progra~1\tivoli\tsm\console\tsmdlst_pathfile.Txt executed ma...

  • Page 587

    Chapter 16. Leveraging san environments 557 depending on the platform and storage agent configuration, you may use different communication methods between the client and the storage agent, as follows: tcp/ip shared memory named pipes our storage agent is configured for tcp/ip communication only. If ...

  • Page 588

    558 ibm tivoli storage manager implementation guide with this statement, our client binds all objects in the c:\console subdirectory to our management class lanfree, which is the only management class having a storage pool capable of lan-free in our environment. See example 16-8 on page 533. Unless ...

  • Page 589

    Chapter 16. Leveraging san environments 559 figure 16-14 backup status window as you can see in figure 16-14, the positive lanfree data bytes value confirms that the backup was done via san. The difference between the bytes transferred and lanfree data bytes value is because the lan path is used for...

  • Page 590

    560 ibm tivoli storage manager implementation guide aggregate data transfer rate: 6,978.46 kb/sec objects compressed by: 0% subfile objects reduced by: 0% elapsed processing time: 00:02:16 ans1074w the operation was stopped by the user. 16.6.1 determining whether the data movement is lan-free monito...

  • Page 591

    Chapter 16. Leveraging san environments 561 329 tcp/ip idlew 1 s 3.3 k 3.0 k server windows sta_diomede 331 tcp/ip sendw 0 s 2.9 k 139 admin aix admin 332 tcp/ip idlew 50 s 1.6 k 497 node winnt diomede 333 tcp/ip idlew 3 s 389 6.8 k node winnt diomede 334 tcp/ip recvw 2 s 11.0 k 10.2 k node winnt di...

  • Page 592: 16.7  Summary

    562 ibm tivoli storage manager implementation guide anr0403i session 333 ended for node diomede (winnt). Anr0403i session 334 ended for node diomede (winnt). Anr0403i session 332 ended for node diomede (winnt). Alternatively, you may use the following command to figure out whether the data movement ...

  • Page 593

    Chapter 16. Leveraging san environments 563 and explained how this technology might be deployed. In the next chapter we show how to configure tivoli storage manager to use a server-free communication path..

  • Page 594

    564 ibm tivoli storage manager implementation guide.

  • Page 595: Server-Free Data Movement

    © copyright ibm corp. 1999, 2000, 2003, 2006. All rights reserved. 565 chapter 17. Server-free data movement in this chapter we describe an ibm tivoli storage manager server-free backup environment. Data is copied directly from a disk that is san-attached to the tivoli storage manager client to a sa...

  • Page 596

    566 ibm tivoli storage manager implementation guide 17.1 server-free: what it is and why to use it server-free data movement provides a way to back up and restore large volumes of data between client-owned disks and storage devices in a method that reduces overhead on the tivoli storage manager serv...

  • Page 597

    Chapter 17. Server-free data movement 567 figure 17-1 shows how data is actually transferred on a storage area network during server-free backup/restore. Figure 17-1 server-free data movement operations for server-free backup/restore are done in the following order: 1. The tivoli storage manager cli...

  • Page 598

    568 ibm tivoli storage manager implementation guide the tivoli storage manager client allows server-free backup and restore of volume images between different volume layouts, with the exception of software-based raid-5 volumes and software-striped volumes. When restoring a software-based mirror volu...

  • Page 599

    Chapter 17. Server-free data movement 569 • windows 2000 advanced server service pack 3 • 2 x qlogic 2200 hba (device driver: 8.0.8) – tivoli storage manager client: • ibm xseries server • windows 2000 advanced server service pack 3 • 2 x qlogic 2200 hba (device driver: 8.0.8) – disk subsystem: • ib...

  • Page 600

    570 ibm tivoli storage manager implementation guide 17.3 configuration steps: overview here is an overview of the steps you should follow to successfully configure server-free data movement: 1. Set up the storage area network. 2. Set up fastt 500. 3. Set up ibm 3583. Make sure the tape library has t...

  • Page 601

    Chapter 17. Server-free data movement 571 figure 17-2 shows the san setup you will need in order to perform a server-free data movement. Before moving to the next step, using storwatch specialist, make sure that you can see the tape drives. Using fastt storage manager, make sure that you can see the...

  • Page 602

    572 ibm tivoli storage manager implementation guide 17.4.2 san zoning zoning allows you to partition your san into logical groupings of devices that can access each other. Using zoning, you can arrange fabric-connected devices into logical groups, or zones, over the physical configuration of the fab...

  • Page 603

    Chapter 17. Server-free data movement 573 the following list describes the zones: servtape: this zone enables the server to access the tape media. Servdisk: this zone enables the server to able to see the disks in order to perform server-free data movement. The server should be able to see the disks...

  • Page 604

    574 ibm tivoli storage manager implementation guide 17.4.3 setting up the san data gateway (datamover) in order to perform the extended copy command from the datamover built into the ibm 3583, we need to enable the datamover, as described in the following steps (if you have already done this, just p...

  • Page 605

    Chapter 17. Server-free data movement 575 – gateway – generic – solaris – unisys – nt (default) 11.Then enable the ip port: ethenable 12.Set the ip address: ethaddrset "192.168.0.212","255.255.255.0" 13.Set the gateway: gateaddrset "192.168.0.1" 14.Now issue the following command to enable the datam...

  • Page 606

    576 ibm tivoli storage manager implementation guide 4. Register the administrators and grant them authority: register admin waikikiadmin waikikiadmin grant auth waikikiadmin cl=system 5. Define the disk storage volumes: define vol archivepool i:\tsmserv\data\arch01.Dsm continue until all volumes are...

  • Page 607

    Chapter 17. Server-free data movement 577 example 17-2 shows how to get the wwn and serial number for drives in the library. Example 17-2 retrieve wwn and serial numbers tsm:waikiki> q san type=drive f=d anr2017i administrator server_console issued command: query san type=drive f=d device type: driv...

  • Page 608

    578 ibm tivoli storage manager implementation guide example 17-3 san query for the datamover tsm:waikiki>q san f=d anr2017i administrator server_console issued command: query san f=d device type: gateway vendor: ibm product: gateway module serial number: 610677 device: data mover: yes node wwn: 1000...

  • Page 609

    Chapter 17. Server-free data movement 579 13.Define paths from the datamover to the tape drives: define path sandg1 drivea srct=datamover destt=drive libr=3583_svt define paths for all of the drives in the same way. 13.Define paths from the datamover to the disks: define path sandg1 harddisk4 srct=d...

  • Page 610

    580 ibm tivoli storage manager implementation guide figure 17-5 shows a server-free client backup in process. Figure 17-5 server-free client backup in process next we check the tivoli storage manager server status, as shown in figure 17-6. Figure 17-6 server-free backup server status query.

  • Page 611: 17.6  Summary

    Chapter 17. Server-free data movement 581 after finishing the backup successfully, we can restore from the client, as shown in figure 17-7. Figure 17-7 tivoli storage manager server-free client restore in process 17.6 summary we have shown how to configure and run a server-free client backup. In the...

  • Page 612

    582 ibm tivoli storage manager implementation guide.

  • Page 613: Network Data Management

    © copyright ibm corp. 1999, 2000, 2003, 2006. All rights reserved. 583 chapter 18. Network data management protocol (ndmp) this chapter gives an overview of backing network attached storage (nas) file server by using network data management protocol (ndmp). Tivoli storage manager extended edition in...

  • Page 614: 18.1  Ndmp Terminology

    584 ibm tivoli storage manager implementation guide 18.1 ndmp terminology the key goals of ndmp include interoperability, contemporary functionality, and extensibility. This section is useful for understanding the general ndmp terms. Ndmp network data management protocol. An open protocol for enterp...

  • Page 615

    Chapter 18. Network data management protocol (ndmp) 585 currently, ndmp for full or differential backups can be performed at a directory or file system level, including snapshots that are stored as either file systems or subdirectories to a tivoli storage manager server running on aix, sun solaris, ...

  • Page 616

    586 ibm tivoli storage manager implementation guide with the tivoli storage manager server. Drives must be supported by both the nas appliance and the nas operating system. Drives can be dedicated to ndmp operations from a single nas file server or can be shared. Table 18-1 shows tivoli storage mana...

  • Page 617

    Chapter 18. Network data management protocol (ndmp) 587 18.1.4 multiple nas appliances multiple nas appliances can share tape resources if they have fibre channel (fc) access to the drive and if backups are performed via the same tivoli storage manager server. Depending on the configuration, drives ...

  • Page 618

    588 ibm tivoli storage manager implementation guide.

  • Page 619: Disaster Recovery Manager

    © copyright ibm corp. 1999, 2000, 2003, 2006. All rights reserved. 589 chapter 19. Disaster recovery manager in this chapter we present an example of how to set up and test disaster recovery manager (drm) functions. The example presented here was adapted from the ibm redbook disaster recovery strate...

  • Page 620

    590 ibm tivoli storage manager implementation guide 19.1 example of a drm implementation this section contains a practical example of using disaster recovery manager. In our lab we have a windows 2003 tivoli storage manager server, lochness, connected to a san-attached ibm 3582 tape library. The tiv...

  • Page 621: 19.2  Drm Setup

    Chapter 19. Disaster recovery manager 591 • configure drm settings. • create instructions files. – daily operations: • back up the primary storage pools to the copy storage pools (usually scheduled). • back up the tivoli storage manager database (usually scheduled). • move dr media states. • remove ...

  • Page 622

    592 ibm tivoli storage manager implementation guide anr2852i current license information: anr2828i server is licensed to support tivoli storage manager basic edition. Anr2853i new license information: anr2828i server is licensed to support tivoli storage manager basic edition. Anr2828i server is lic...

  • Page 623

    Chapter 19. Disaster recovery manager 593 example 19-2 shows using the define stgpool command to create the copy storage pool offdata using the device class defined for the lto tape library. Note the value of reusedelay=6. This is important for ensuring recovery integrity. See step 8 on page 596 for...

  • Page 624

    594 ibm tivoli storage manager implementation guide last update by (administrator): admin last update date/time: 02/27/2006 15:25:52 storage pool data format: native copy storage pool(s): continue copy on error?: crc data: no reclamation type: threshold 19.2.3 drm settings now we configure the drm s...

  • Page 625

    Chapter 19. Disaster recovery manager 595 the recovery instruction files are user-created and should contain any site-specific instructions related to the dr process. You can create the files using any plain text editor. Be sure to include any information that is relevant to your installation. Instr...

  • Page 626

    596 ibm tivoli storage manager implementation guide the move drmedia command. The default value is yes. We will set it to no in example 19-7. Example 19-7 setting drmchecklabel tsm: lochness_server1>set drmchecklabel no anr6700i set drmchecklabel command completed successfully. 5. Now we need to ind...

  • Page 627

    Chapter 19. Disaster recovery manager 597 in example 19-11 we specify an expiration value of 6 days. To ensure that the database can be restored to an earlier level and database references to files in the storage pool are still valid, the number of days specified by this setting and the number of da...

  • Page 628: 19.3  Daily Operations

    598 ibm tivoli storage manager implementation guide 12.Identify the vault name with set drmvaultname , as shown in example 19-15 on page 598. You can specify any string or leave the default value of vault. Example 19-15 setting the vault name tsm: lochness_server1>set drmvaultname “rocket vault” anr...

  • Page 629

    Chapter 19. Disaster recovery manager 599 we now discuss each step in detail. Throughout this section we refer to the possible states in which a piece of dr media could be. Dr media are volumes used for storage pool and database backup. The states and their life cycle are shown in figure 19-2. Dr me...

  • Page 630

    600 ibm tivoli storage manager implementation guide note that a volume does not have to move through all states. You can skip states, as long as it is clearly understood which states your media are in at any given time. For example, you do not have to transit a mountable tape through notmountable an...

  • Page 631

    Chapter 19. Disaster recovery manager 601 current physical file (bytes): 24,179,840 current input volume: 028akk. Current output volume: 032akk. Tsm: lochness_server1>q mount anr8330i lto volume 028akk is mounted r/w in drive dr01 (mt1.0.0.2), status: in use. Anr8330i lto volume 032akk is mounted r/...

  • Page 632

    602 ibm tivoli storage manager implementation guide 02/28/2006 11:20:26 anr8337i lto volume 028akk mounted in drive dr01 (mt1.0.0.2). (session: 3, process: 2) 02/28/2006 11:20:29 anr0513i process 2 opened output volume 032akk. (session: 3, process: 2) 02/28/2006 11:20:29 anr0512i process 2 opened in...

  • Page 633

    Chapter 19. Disaster recovery manager 603 19.3.2 backup of tivoli storage manager database after successfully backing up all primary storage pools, we can back up the tivoli storage manager database. Using backup db , as shown in example 19-18, we see the output from running the command in the foreg...

  • Page 634

    604 ibm tivoli storage manager implementation guide 19.3.3 querying dr media when you are ready to move the dr media off-site, you can check the status of the tapes using query drmedia . Query drmedia lists all dr volumes, including those that should be moved off-site. Example 19-19 shows the output...

  • Page 635

    Chapter 19. Disaster recovery manager 605 before moving media off-site, we should check if any of the volumes are still mounted using query mount . If any are mounted, we dismount them with the dismount volume command, as shown in example 19-20. Example 19-20 dismounting a mounted volume tsm: lochne...

  • Page 636

    606 ibm tivoli storage manager implementation guide (session: 13, process: 8) 02/28/2006 14:29:12 anr6696i move drmedia: checkout libvolume for volume 032akk in library 3582lib starting. (session: 13, process: 8) 02/28/2006 14:29:34 anr8322i 001: remove lto volume 032akk from entry/exit port of libr...

  • Page 637

    Chapter 19. Disaster recovery manager 607 we can check the media status once again with query drmedia , as shown in example 19-22. (note that only three of our five volumes are displayed.) example 19-22 querying dr media with format=detailed tsm: lochness_server1>q drmedia f=d volume name: 032akk st...

  • Page 638

    608 ibm tivoli storage manager implementation guide figure 19-3 shows the process we used to back up the storage pools and database, and send the media off-site. Figure 19-3 primary pool backup and server database backup storage pools database ibm tivoli storage manager server on lochness machinenam...

  • Page 639

    Chapter 19. Disaster recovery manager 609 19.3.5 generate the recovery plan now we are ready to generate the disaster recovery plan, as shown in figure 19-4. Figure 19-4 disaster recovery plan generation we generate the recovery plan using the prepare command, as shown in example 19-23. Example 19-2...

  • Page 640

    610 ibm tivoli storage manager implementation guide 02/28/2006 15:00:53 anr6900i prepare: the recovery plan file c:\tsmdata\drm\plans\lochness-dr.20060228.150053 was created. (session: 13, process: 10) 02/28/2006 15:00:53 anr0985i process 10 for prepare running in the background completed with compl...

  • Page 641: 19.4  Server Restore Setup

    Chapter 19. Disaster recovery manager 611 the media state is changed from vaultretrieve to courierretrieve. When the courier has delivered the volumes to the primary location, change their state to onsiteretrieve with the command: move drmedia * wherestate=courierretrieve after changing the state to...

  • Page 642

    612 ibm tivoli storage manager implementation guide an overview of the tivoli storage manager server restore process is shown in figure 19-5 on page 612. A number of these steps can be performed in parallel, for example, you can call your courier to obtain the off-site volumes while you are installi...

  • Page 643

    Chapter 19. Disaster recovery manager 613 19.4.2 find a replacement server and storage the recovery.Instructions.Install stanza specifies local information on hardware required. The recovery.Devices.Required stanza specifies the device type needed to read the backups. The server.Requirements stanza ...

  • Page 644

    614 ibm tivoli storage manager implementation guide if you elect to manually break the plan into its components, each stanza starts with the keyword begin and ends with the keyword end . You should create a file name with the same name as the stanza. The file should contain all lines between and inc...

  • Page 645

    Chapter 19. Disaster recovery manager 615 for sun solaris, the syntax is shown in example 19-27. Example 19-27 break out a dr plan on solaris root@sol /tsm/drm/plans > nawk -f planexpl.Awk recoveryplanfilename example 19-28 shows the command output from breaking out the dr plan on the replacement se...

  • Page 646

    616 ibm tivoli storage manager implementation guide c:\tsmdata\rlp\log_01.Dsm c:\tsmdata\server1\log1.Dsm c:\tsmdata\dbp\dbv_01.Dsm c:\tsmdata\server1\db1.Dsm 19.5.1 obtain the recovery volumes a list of the off-site volumes required for recovery is in the stanza recovery.Volumes.Required (and now a...

  • Page 647

    Chapter 19. Disaster recovery manager 617 transit, or not yet picked up, and may have been destroyed in the disaster. Whatever the case, you need to examine and update the entries in the copystgpool.Volumes.Destroyed and copystgpool.Volumes.Available files, to reflect the current situation. If all p...

  • Page 648

    618 ibm tivoli storage manager implementation guide echo replace c:\tsmdata\stg\diskdata\ddvol_06.Dsm disk 2,048.0m in diskdata dsmfmt -data "c:\tsmdata\stg\diskdata\ddvol_06.Dsm@" 2048 rem restore the previous working directory. Popd in the file primary.Volumes.Replacement.Mac, we need to define re...

  • Page 649

    Chapter 19. Disaster recovery manager 619 with windows, different scsi addresses were assigned to the devices on the replacement server, compared to the original server. Table 19-3 review of the tivoli storage manager device configuration although the ibm ts3310 is an automated library, we have to m...

  • Page 650

    620 ibm tivoli storage manager implementation guide /* libraryinventory scsi 3310lib 023akk 4099 101*/ /* libraryinventory scsi 3310lib 026akk 4102 101*/ /* libraryinventory scsi 3310lib 027akk 4116 101*/ /* libraryinventory scsi 3310lib 028akk 4104 101*/ /* libraryinventory scsi 3310lib 029akk 4103...

  • Page 651

    Chapter 19. Disaster recovery manager 621 u.S. Government users restricted rights - use, duplication or disclosure restricted by gsa adp schedule contract with ibm corporation. Allocated space for c:\tsmdata\server1\db1.Dsm: 1049624576 bytes. Allocated space for c:\tsmdata\dbp\dbv_01.Dsm: 1074790400...

  • Page 652

    622 ibm tivoli storage manager implementation guide anr4638i restore of backup series 2 operation 0 in progress. Anr4639i restored 36888 of 129761 database pages. Anr4639i restored 88876 of 129761 database pages. Anr4640i restored 129761 pages from backup series 2 operation 0. Anr0306i recovery log ...

  • Page 653

    Chapter 19. Disaster recovery manager 623 anr1635i the server machine guid, 5d.6f.87.21.95.0b.11.Da.82.63.00.0d.60.49.6a- .62, has initialized. Anr2100i activity log process has started. Anr4726i the nas-ndmp support module has been loaded. Anr4726i the centera support module has been loaded. Anr472...

  • Page 654

    624 ibm tivoli storage manager implementation guide minute(s). Anr0993i server initialization complete. Tsm:lochness_server1> anr0407i session 2 started for administrator admin (winnt) (tcp/ip paris(264-9)). The scripts have finished successfully, the tivoli storage manager database was restored, an...

  • Page 655

    Chapter 19. Disaster recovery manager 625 enable backups to continue. You can restore storage pools and volumes using the script recovery.Script.Normal.Mode.Cmd. 19.5.5 restore primary storage pools to restore primary storage pools from copy storage pools, execute the script file, recovery.Script.No...

  • Page 656

    626 ibm tivoli storage manager implementation guide session established with server lochness_server1: windows server version 5, release 3, level 2.2 server date/time: 03/01/2006 11:44:32 last access: 03/01/2006 11:35:06 ans8000i server command: 'def vol diskdata c:\tsmdata\stg\diskdata\ddvol_02.Dsm@...

  • Page 657: 19.6  Summary

    Chapter 19. Disaster recovery manager 627 03/01/2006 11:44:32 anr1238i restore of primary storage pool diskdata has ended. Files restored: 5427, bytes restored: 376963072, unreadable files: 0, unreadable bytes: 0. Alternatively, you can use the recovery script as a guide and manually run each step. ...

  • Page 658

    628 ibm tivoli storage manager implementation guide our next topic, bare machine recovery, is similar, and we will discuss aix and windows system recovery..

  • Page 659: Bare Machine Recovery

    © copyright ibm corp. 1999, 2000, 2003, 2006. All rights reserved. 629 chapter 20. Bare machine recovery in this chapter we describe bare machine recovery (bmr) setup and processes for windows and aix systems. Ibm tivoli storage manager is designed to back up and recover application data. Recovering...

  • Page 660

    630 ibm tivoli storage manager implementation guide 20.1 windows bare machine recovery tivoli storage manager provides integration with documented windows apis for the backup of system objects/system state. This allows for a complete bare machine recovery in combination with the boot/system partitio...

  • Page 661

    Chapter 20. Bare machine recovery 631 collected into a text file and backed up by the tivoli storage manager backup-archive client. The msinfo32 command the msinfo32 command is a feature of windows that enables you to collect detailed system hardware and configuration data that can be used for probl...

  • Page 662

    632 ibm tivoli storage manager implementation guide os namemicrosoft windows xp professional version5.1.2600 service pack 2 build 2600 os manufacturermicrosoft corporation system nametripleeight system manufactureribm system model2373tg5 system typex86-based pc processorx86 family 6 model 9 stepping...

  • Page 663

    Chapter 20. Bare machine recovery 633 c:\progra~1\common~1\micros~1\msinfo\msinfo32 /report c:\progra~1\tivoli\tsm\config\msinfo32.Txt /categories +all cd c:\progra~1\tivoli\tsm\baclient dsmc sel c:\progra~1\tivoli\tsm\config\msinfo32.Txt pause exit 20.1.2 collect partition and logical volume inform...

  • Page 664

    634 ibm tivoli storage manager implementation guide you can save the msinfo32 report file in any directory that is not excluded by the tivoli storage manager backup-archive client. We recommend using a standard location where members of the organization will know to look. Once there is a backup copy...

  • Page 665

    Chapter 20. Bare machine recovery 635 command line or the administration center to insert the client’s machine information into drm. Figure 20-1 shows how to use the administration center to insert client machine information. Figure 20-1 insert machine characteristics using admin center alternativel...

  • Page 666

    636 ibm tivoli storage manager implementation guide machine information report (msinfo32.Txt) to create a macro (msinfo32.Mac) that inserts multiple lines of client information automatically. A vbscript is run from the windows command line, as shown in example 20-7. Example 20-7 running machchar.Vbs...

  • Page 667

    Chapter 20. Bare machine recovery 637 recovery instruction in the drm plan file the defined system must be marked as adsmserver=yes on the update machine command. Example 20-10 shows the command line to add our server to the drm plan file. Example 20-10 incorporating machine information in the drm p...

  • Page 668

    638 ibm tivoli storage manager implementation guide total physical memory1.024,00 mb available physical memory181,29 mb total virtual memory2,00 gb available virtual memory1,91 gb page file space2,40 gb page filec:\pagefile.Sys [hardware resources] end machine.Characteristics *-*-*-*-*-*-*-*-*-*-*-*...

  • Page 669

    Chapter 20. Bare machine recovery 639 tivoli storage manager recovery techniques using windows preinstallation environment (windows pe): http://www.Ibm.Com/support/entdocview.Wss?Uid=swg27003812 modified instructions for complete restores of windows systems: bare metal restore (bmr), system state re...

  • Page 670

    640 ibm tivoli storage manager implementation guide multiple supported media formats sysback can back up to, restore from, or install from all of the following media formats either locally or remotely across the network: – tape sysback’s generic approach to tape control allows it to work with virtua...

  • Page 671

    Chapter 20. Bare machine recovery 641 complex or an ibm ^ cluster 1600, sysback has specific boot and install utilities to interact with parallel system support program (pssp). Quick, easy setup and use sysback is smit menu driven and also enables complete command-line interaction. The most basic, i...

  • Page 672

    642 ibm tivoli storage manager implementation guide logical volume this backup type backs up specified raw logical volumes. From this backup type, you can recreate the lvm structure of the logical volume or restore its data, or both. Although it is possible to do so, we highly recommend that you do ...

  • Page 673

    Chapter 20. Bare machine recovery 643 there are 2-way and 3-way pull backups. A 2-way pull backup is when the same machine or partition initiates the client backup and stores the backup to media. Figure 20-2 illustrates the flow of a 2-way pull backup. Figure 20-2 two-way pull backup backup server b...

  • Page 674

    644 ibm tivoli storage manager implementation guide a 3-way pull backup is when one machine or partition initiates the client backup, another machine or partition stores the backup data, and a third machine is the backup client. Figure 20-3 illustrates the flow of a 3-way pull backup. Figure 20-3 th...

  • Page 675

    Chapter 20. Bare machine recovery 645 figure 20-4 depicts the relationship between mirrored copies after the offline mirror backup feature splits them. Figure 20-4 mirrors split by the offline mirror backup feature lv00 /test loglv00 jfslog lv02 /sbfs/data lv01 /sbfs sblv raw lv sblv00 raw lv lv00 /...

  • Page 676

    646 ibm tivoli storage manager implementation guide stacking backup images sysback provides the ability to stack multiple backups on a single tape. Figure 20-5 shows the image sequence on tape for a stack full system (installation image) backup. Figure 20-5 stacked full system (installation image) b...

  • Page 677

    Chapter 20. Bare machine recovery 647 20.2.2 system installation options sysback provides the following installation options from a full system (installation image) backup: full system installation this process reinstalls the system by recreating the rootvg volume group and, optionally, any non-root...

  • Page 678

    648 ibm tivoli storage manager implementation guide change logical volume attributes or specify a logical volume to be ignored on restore. These customization options can also be preconfigured and passed to an unprompted installation by creating a customized volume group information file. 20.2.3 net...

  • Page 679

    Chapter 20. Bare machine recovery 649 the classic network boot method relies on the / (root) and the /usr file systems of the boot server for creating the network boot image. The boot server also fulfills other processing requirements for the client during the boot and installation process. Figure 2...

  • Page 680

    650 ibm tivoli storage manager implementation guide figure 20-7 illustrates the relationships between systems or partitions using the nim resource network boot method. Figure 20-7 nim resource network boot relationships for customers whose partitions function as a part of an rs/6000® sp complex or a...

  • Page 681

    Chapter 20. Bare machine recovery 651 autoloader that has a mode of operation called automatic or sequential , then placing the autoloader in this mode allows sysback and the hardware to take care of all the tape changes automatically without human intervention. The hardware design of an autoloader’...

  • Page 682

    652 ibm tivoli storage manager implementation guide perform a system backup to a remote device assigned to another partition: – perform a network boot. – perform the reinstallation remotely across the network from tape. All commands require execution by the root user. Using a media device assigned t...

  • Page 683

    Chapter 20. Bare machine recovery 653 2. The partition boots to the sysback installation and maintenance main menu. 3. Using the menus, make any needed changes to the lvm information. When finished, select the install the system with current settings option. 4. The install proceeds without any furth...

  • Page 684

    654 ibm tivoli storage manager implementation guide figure 20-9 illustrates the relationship between partitions for a remote backup and network boot. Figure 20-9 remote backup to tape and network boot of partition onetime remote services configuration log in to the mars partition (server) and issue ...

  • Page 685

    Chapter 20. Bare machine recovery 655 onetime network boot configuration to do a onetime network boot configuration, log in to the mars partition (server) and execute the /usr/sbin/mksbnetboot -h pluto -d your_network_type -t chrp -k mp -s server_ip -g client_gateway -s client_subnet command in orde...

  • Page 686

    656 ibm tivoli storage manager implementation guide 10.Select adapter parameters. 11.Set any attributes appropriate to you network interface and network environment. 12.Type x to return to the remote initial program load menu. 13.Select test ping. 14.Input the appropriate ip information to ping the ...

  • Page 687

    Chapter 20. Bare machine recovery 657 20.2.7 cloning backup images between partitions cloning refers to creating a backup image of one machine or partition and installing a different machine or partition with that same image. This section demonstrates the basic tasks required to do the following ope...

  • Page 688

    658 ibm tivoli storage manager implementation guide in order to clone an image of one partition to another, we recommend that you identify any resource existing on the destination partition that does not exist on the source partition. Once identified, you should install the required device drivers t...

  • Page 689

    Chapter 20. Bare machine recovery 659 using a media device assigned to the same partition local backups are backups that are performed to a device that is physically attached to the machine and, in this case, the partition. This type of backup is the easiest to implement. Figure 20-10 on page 659 il...

  • Page 690

    660 ibm tivoli storage manager implementation guide 2. The partition boots to the sysback installation and maintenance main menu. 3. Using the menus, make any needed changes to the lvm information. When finished, select the install the system with current settings option. 4. The install proceeds wit...

  • Page 691

    Chapter 20. Bare machine recovery 661 the host name of the remote partition that has a dvd drive assigned to it is mars. – this is the partition from which the new partition is installed. Therefore, this partition is the install server to the new partition. – this partition is a backup server to plu...

  • Page 692

    662 ibm tivoli storage manager implementation guide 2. Log in to the pluto partition (backup client) and execute the following commands: a. Issue the /usr/sbin/cfgremsvs command to configure remote services on this partition. B. Issue the /usr/sbin/cfgremserver -a -h mars command to define mars as t...

  • Page 693

    Chapter 20. Bare machine recovery 663 one-time network boot configuration to do a one-time network boot configuration, log in to pluto (boot server to the new partition) and execute the command /usr/sbin/mksbnetboot -h new_partition_hostname -d your_network_type -t chrp -k mp -s server_ip -g client_...

  • Page 694

    664 ibm tivoli storage manager implementation guide 11.Set any attributes appropriate to your network interface and network environment. 12.Type x to return to the remote initial program load menu. 13.Select test ping. 14.Input the appropriate ip information to ping the pluto partition. 15.Type x tw...

  • Page 695

    Chapter 20. Bare machine recovery 665 7. Press esc to return to the main menu. 8. Select utilities. 9. Select post install configuration options. 10.Select remove network settings after install. 11.Type y at the prompt do you wish to remove the network settings? 12.Press esc three times to return to...

  • Page 696

    666 ibm tivoli storage manager implementation guide 5. Execute any network boot configuration required if performing a network boot of the partition. 6. Execute the backup of the stand-alone system. 7. Install the backup image of the stand-alone system to the partition. Figure 20-12 on page 666 show...

  • Page 697

    Chapter 20. Bare machine recovery 667 20.2.10 documentation sysback product documentation is available in the following ways: product manual readme file the manual the ibm tivoli storage manager for system backup and recovery installation and user's guide is available in hardcopy and softcopy forms....

  • Page 698

    668 ibm tivoli storage manager implementation guide hardware requirements sysback supports the following hardware: ibm eserver pseries and rs/6000 systems, including rs/6000 sp environments, and systems capable of the logical partitioning of aix eserver pseries cluster 1600 systems using the pssp op...

  • Page 699

    Chapter 20. Bare machine recovery 669 if you will be using the remote services functions of sysback, install the following items: – bos.Rte.Net – bos.Net.Tcp.Client if you will be using the classic network boot functions for the network installs, install bos.Net.Nfs.Client. If you will be using the ...

  • Page 700

    670 ibm tivoli storage manager implementation guide veritas file systems are not supported. Afs® and dfs file system structures cannot be recreated from backups. If the root user has the appropriate afs or dfs permissions, then sysback can back up the data. Compression should not be set from within ...

  • Page 701

    Chapter 20. Bare machine recovery 671 backup-archive client, it will be necessary for you to provide that password when creating the virtual device definition. Install the api client. You must install the v5.2.0 (or later) tivoli storage manager 32-bit api client for use with sysback operations. Con...

  • Page 702

    672 ibm tivoli storage manager implementation guide additional configuration for bare machine recovery. In order to perform a bare machine recovery from a sysback backup stored in a tivoli storage manager server, you must execute the following configuration tasks: – configure operations for the back...

  • Page 703

    Chapter 20. Bare machine recovery 673 4. Highlight the desired tsm server name stanza when prompted at the select a tsm server dialogue, as shown in example 20-12, and press enter. Example 20-12 server selection menu tsm virtual device configuration move cursor to desired item and press enter. Add a...

  • Page 704

    674 ibm tivoli storage manager implementation guide once you have selected a server name, you have to enter the password you used during the register node command, as shown in example 20-13. Example 20-13 add tsm virtual device menu add a tsm virtual device type or select values in entry fields. Pre...

  • Page 705

    Chapter 20. Bare machine recovery 675 example 20-14 shows that a virtual device called tsm0 has been created. Example 20-14 virtual device tsm0 created command status command: ok stdout: yes stderr: no before command completion, additional instructions may appear below. Device tsm0 for tsm server lo...

  • Page 706

    676 ibm tivoli storage manager implementation guide to access the tsm network install client defaults menu: 1. Log in as the root user. 2. Type smitty sysback and press enter. 3. Select tsm configuration → network boot/install configuration → classic network boot → set tsm network install client def...

  • Page 707

    Chapter 20. Bare machine recovery 677 example 20-16 shows the options set for the node we configured in the lab. Example 20-16 set tsm network install client defaults set tsm network install client defaults type or select values in entry fields. Press enter after making all desired changes. [top] [e...

  • Page 710

    680 ibm tivoli storage manager implementation guide once you have configured the installation device settings as desired, you will need to query the tivoli storage manager server and select the backup object to restore. The easiest way to achieve this is to access the change volume group & logical v...

  • Page 711: Data Protection

    © copyright ibm corp. 1999, 2000, 2003, 2006. All rights reserved. 681 chapter 21. Data protection configuration on the server ibm tivoli storage manager provides support for online backup of applications through the use of complementary products such as ibm tivoli storage manager for applications, ...

  • Page 712: 21.1  Basic Assumptions

    682 ibm tivoli storage manager implementation guide 21.1 basic assumptions we assume that a tivoli storage manager server is already installed and configured for backup and restore. If this is a brand new installation, you will need to perform tivoli storage manager server configuration first. Gener...

  • Page 713

    Chapter 21. Data protection configuration on the server 683 tsm: atlantic> define copygroup standard standard tdp_class type=backup verexists=7 verdeleted=2 retextra=30 retonly=60 dest=tapepool anr1530i backup copy group standard defined in policy domain standard, set standard, management class tdp_...

  • Page 714

    684 ibm tivoli storage manager implementation guide example 21-4 shows how to define a new policy domain. Example 21-4 create data protection policy requirements tsm: atlantic> define domain tdp_domain anr1500i policy domain tdp_domain defined. Tsm: atlantic> define policyset tdp_domain standard anr...

  • Page 715

    Chapter 21. Data protection configuration on the server 685 choose to do this, pay attention to the archive copygroup that you are using. The archive copygroup will determine how long the objects will exist before expiring. There are also specific backup retention and version requirements for specif...

  • Page 716

    686 ibm tivoli storage manager implementation guide data protection for lotus domino you can set verdeleted, verexist, retonly, and retextra parameters according to your retention requirements. Regular use of the inactivatelogs command inactivates the archived transaction log files when all database...

  • Page 717: 21.3  Register Node

    Chapter 21. Data protection configuration on the server 687 21.3 register node before a tivoli storage manager client can use the storage services of a tivoli storage manager server, it must first authenticate to the tivoli storage manager server using a nodename and password. A node is created by t...

  • Page 718

    688 ibm tivoli storage manager implementation guide the node that is used to back up oracle or ms sql database objects to tivoli storage manager must be able to manually delete the backup objects. To do so, specify backdelete=yes when registering the node. You can also update a node that has this va...

  • Page 719

    Chapter 21. Data protection configuration on the server 689 tivoli storage manager for databases, data protection for ms sql the collocate parameter for the storage pool assigned to the data protection for the ms sql client node should be set to filespace to ensure that individual data stripes stay ...

  • Page 720

    690 ibm tivoli storage manager implementation guide.

  • Page 721: Tivoli Storage Manager

    © copyright ibm corp. 1999, 2000, 2003, 2006. All rights reserved. 691 chapter 22. Tivoli storage manager upgrade considerations in this chapter we cover some upgrade procedures for ibm tivoli storage manager environment. We describe both general considerations and specifics of upgrade procedures on...

  • Page 722

    692 ibm tivoli storage manager implementation guide 22.1 general upgrade considerations when you move from one version of tivoli storage manager to another, you are not just upgrading the server instance. The whole tivoli storage manager environment consists of numerous components, such as tape devi...

  • Page 723

    Chapter 22. Tivoli storage manager upgrade considerations 693 bear in mind that if you upgrade to tivoli storage manager 5.3.X from any previous release and you have windows clients that back up their system objects, you should take specific actions to clean up the orphaned system object entries in ...

  • Page 724

    694 ibm tivoli storage manager implementation guide can administer all tivoli storage manager v5.3 and later servers from a single point. The administration center is independent of the tivoli storage manager instance—it may run on the same system as a server or on a separate system entirely. Since ...

  • Page 725

    Chapter 22. Tivoli storage manager upgrade considerations 695 v5.2 and v5.3 command-line administrative clients can administer tivoli storage manager v5.2 and v5.3 servers, and the v3.1 vm server. The motif native gui on unix clients was not migrated to v5.3. The java gui client should be used inste...

  • Page 726

    696 ibm tivoli storage manager implementation guide further, certain background tivoli storage manager applications might fail to start due to errors writing to dsmerror.Log. When these errors occur, a number of errors are recorded in the windows event log (the system log on other platforms). An exa...

  • Page 727

    Chapter 22. Tivoli storage manager upgrade considerations 697 tru64 unix windows nt aix afs/dfs the v5.2 clients can be downloaded from the tivoli storage manager support web page at: http://www.Ibm.Com/support/search.Wss?Tc=ssgsg7&rs=663&rank=8&dc=d400&dtm data protection for informix the data prot...

  • Page 728

    698 ibm tivoli storage manager implementation guide 22.2.1 server quiesce before upgrading the server, the server instance should be as idle as possible. Consider the following: 1. Perform the scheduled upgrade during a period of little of no activity if possible. 2. Change the migration thresholds ...

  • Page 729

    Chapter 22. Tivoli storage manager upgrade considerations 699 22.2.3 upgrading the server once the server instance is halted, you may perform the upgrade. This procedure differs among platforms, since each supported operating system has its native way to install software packages. Nevertheless, one ...

  • Page 730

    700 ibm tivoli storage manager implementation guide 22.2.5 enabling production mode if your upgraded server instance seems to be in order, you may take the server out of idle state by following these steps: 1. Remove the nomigrrecl and disablescheds options and change expintervalto the desired value...

  • Page 731

    Chapter 22. Tivoli storage manager upgrade considerations 701 make sure that the current storage devices you are using are supported by the new tivoli storage manager version. Refer to the device support section of the tivoli storage manager web site at: http://www.Ibm.Com/software/sysmgmt/products/...

  • Page 732

    702 ibm tivoli storage manager implementation guide you do not need to uninstall the previous server before applying new one, since this is done automatically by the migration procedure. When you upgrade multiple servers participating in library sharing to v5.3, the servers acting as library manager...

  • Page 733

    Chapter 22. Tivoli storage manager upgrade considerations 703 also note that installation will be stopped and the error message shown in figure 22-2 will display if a running server or storage agent process is detected. All active servers must be halted before installation can proceed. Figure 22-2 m...

  • Page 734

    704 ibm tivoli storage manager implementation guide licensing has changed in v5.3. Although the server still reports the number of various clients in use, you no longer have to explicitly register licenses per client type. Instead, you have three licenses files available: tsmbasic.Lic for the basic ...

  • Page 735

    Chapter 22. Tivoli storage manager upgrade considerations 705 restricted by gsa adp schedule contract with ibm corporation. Anr4726i the icc support module has been loaded. Anr0990i server restart-recovery in progress. Anr0200i recovery log assigned capacity is 200 megabytes. Anr0201i database assig...

  • Page 736

    706 ibm tivoli storage manager implementation guide during upgrade, the installation wizard performs necessary updates to the server code, as shown in figure 22-5. Figure 22-5 updating the server instance: applying the patch level following a successful server upgrade you may patch the tivoli storag...

  • Page 737

    Chapter 22. Tivoli storage manager upgrade considerations 707 22.3.2 migration on aix 5l our environment, as illustrated in figure 22-6 on page 708, consists of an aix 5.3 system called banda connected together with an ibm 3582 library to the san. The objective of the test is to describe the migrati...

  • Page 738

    708 ibm tivoli storage manager implementation guide for an overview of which packages to install in different environments, see table 22-1 on page 709. Figure 22-6 aix lab environment in any case, we recommend that you thoroughly check software and hardware requirements for tivoli storage manager v5...

  • Page 739

    Chapter 22. Tivoli storage manager upgrade considerations 709 table 22-1 software to install for different aix environments the database is automatically upgraded during a migrate installation. However, if you are running additional tivoli storage manager server instances on the same system, you mus...

  • Page 740

    710 ibm tivoli storage manager implementation guide migration procedure we show the procedure to upgrade a tivoli storage manager v5.2.2.0 server to v5.3.2.2 on aix version 5.3. As described earlier, migration is a two-step process. First we must install the base level (5.3.2) and then the fix level...

  • Page 741

    Chapter 22. Tivoli storage manager upgrade considerations 711 also note that a migrate installation will not normally create a new database, recovery log, and storage pool volumes. However, if dsmserv.Dsk is not in the /usr/tivoli/tsm/server/bin directory, the installation creates the following volu...

  • Page 742

    712 ibm tivoli storage manager implementation guide following a successful fileset installation using smit, you get smit output as shown in example 22-5. Example 22-5 smit installation summary report installation summary -------------------- name level part event result -----------------------------...

  • Page 743

    Chapter 22. Tivoli storage manager upgrade considerations 713 now you may start the server instance on the foreground to check whether database upgrade was performed or if you are required to do it manually using the dsmserv upgradedb command. In most cases, database upgrade should be automatically ...

  • Page 744

    714 ibm tivoli storage manager implementation guide in example 22-8 we show startup of our upgraded server instance. As you can see, the server is properly licensed and the migration was successful. Example 22-8 upgraded server startup on the foreground root@banda> ./dsmserv anr7800i dsmserv generat...

  • Page 745

    Chapter 22. Tivoli storage manager upgrade considerations 715 22.4 performing client upgrades in this section we discuss the steps for upgrading clients to v5.3.2 on aix and windows platforms. For more information, refer to the ibm tivoli storage manager backup-archive client installation and user’s...

  • Page 746

    716 ibm tivoli storage manager implementation guide 22.4.2 aix 5l client upgrade below we describe the procedure to upgrade the client from v5.2.2.9 to 5.3.2.0. Tivoli storage manager v5.3 backup-archive client code requires at least aix v5.1 installed. Detailed requirements for installing the clien...

  • Page 747

    Chapter 22. Tivoli storage manager upgrade considerations 717 if you try to install the jfs2 client over the old jfs client, your installation will fail, as illustrated in example 22-11. Example 22-11 client installation failure when installing jfs2 over jfs client performing pre-installation tasks ...

  • Page 748: 22.5  Storage Agent Upgrade

    718 ibm tivoli storage manager implementation guide when the installation is done, restart the client processes such as the client scheduler or web client. In example 22-12, we started the client cli to verify that the installation was correct and successful. Example 22-12 upgraded version of the ai...

  • Page 749: 22.6  Library Migration

    Chapter 22. Tivoli storage manager upgrade considerations 719 22.5.2 windows 2003 storage agent migration the upgrade procedure is the same as an aix storage agent migration. You may directly install the desired version over a previous one. Ensure that all of your storage agent services are stopped ...

  • Page 750

    720 ibm tivoli storage manager implementation guide you want your clients to back up to the new library from now on and you want to migrate all your existing data from all volumes in the old library lib_a (that is, from lto1 volumes) to the new library lib_b (that is, to lto3). You may accomplish th...

  • Page 751: Appendixes

    © copyright ibm corp. 1999, 2000, 2003, 2006. All rights reserved. 721 part 5 appendixes in this part of the book we provide the following supplementary information: appendix a, “planning and sizing worksheets” on page 723 appendix b, “book support material: macros and scripts” on page 729 part 5.

  • Page 752

    722 ibm tivoli storage manager implementation guide.

  • Page 753: Planning and Sizing

    © copyright ibm corp. 1999, 2000, 2003, 2006. All rights reserved. 723 appendix a. Planning and sizing worksheets in this appendix are the worksheets that we introduced and recommended in chapter 1, “implementation checklists” on page 3. The book support material is available in soft copy on the int...

  • Page 754: Worksheets Grouped In Tables

    724 ibm tivoli storage manager implementation guide worksheets grouped in tables table a-1 client requirements worksheet category client 1 client 2 client 3 client 4 client name contact information operating system total storage available (gb) total storage used (gb) gb changed per backup number of ...

  • Page 755

    Appendix a. Planning and sizing worksheets 725 table a-2 storage policy requirements worksheet table a-3 database worksheet table a-4 recovery log worksheet category example 1 example 2 example 3 group name number of backup versions backup file retention period number of deleted versions last delete...

  • Page 756

    726 ibm tivoli storage manager implementation guide table a-5 device configuration and volume history worksheet table a-6 total ibm tivoli storage manager disk required worksheet table a-7 tape drive configuration worksheet category size (mb) total category size (mb) ibm tivoli storage manager softw...

  • Page 757

    Appendix a. Planning and sizing worksheets 727 table a-8 administrator ids worksheet number of off-site tape volumes number of database volumes number of scratch tapes number of backupset tape volumes total tape volumes required functions ibm tivoli storage manager id authority category option.

  • Page 758

    728 ibm tivoli storage manager implementation guide.

  • Page 759: Book Support Material:

    © copyright ibm corp. 1999, 2000, 2003, 2006. All rights reserved. 729 appendix b. Book support material: macros and scripts this appendix contains listings of support material for this book. See section 1.1.1, “our support material” on page 5, for considerations regarding this material. The book su...

  • Page 760: Macros

    730 ibm tivoli storage manager implementation guide macros we have provided macros to help you implement your tivoli storage manager environment. The names and values within those macros reflect the recommendations for our book environment. You may change them to suit your environment as required. D...

  • Page 761

    Appendix b. Book support material: macros and scripts 731 /* grant authority helpdesk classes=node node=* */ /* you first have to register client nodes for this command to succeed! */ /*--------------------------*/ /* query all administrators */ /*--------------------------*/ query admin define clie...

  • Page 762

    732 ibm tivoli storage manager implementation guide define clientopt redbook retryperiod 20 define clientopt redbook runasservice yes define clientopt redbook schedmode prompted define clientopt redbook scrolllines 20 define clientopt redbook scrollprompt no define clientopt redbook subdir no define...

  • Page 763

    Appendix b. Book support material: macros and scripts 733 define clientopt windows inclexcl "exclude *:\...\cache\*" seq=7 define clientopt windows inclexcl "exclude *:\...\recycler\*" seq=8 define clientopt windows inclexcl "exclude *:\...\temporary internet files\*" seq=9 define clientopt windows ...

  • Page 764

    734 ibm tivoli storage manager implementation guide /*-------------*/ /* policy sets */ /*-------------*/ define policyset server server description="server nodes" define policyset workstn workstn description="workstation nodes" /*--------------------*/ /* management classes */ /*-------------------...

  • Page 765

    Appendix b. Book support material: macros and scripts 735 mode=modified serialization=shrdynamic define copygroup workstn workstn image type=backup destination=diskdata \ frequency=1 verexists=2 verdeleted=2 retextra=30 retonly=30 \ mode=modified serialization=static define copygroup server server d...

  • Page 766

    736 ibm tivoli storage manager implementation guide /* volume history file management */ /*--------------------------------*/ define schedule delete_volhist type=admin \ cmd="delete volhistory type=dbbackup todate=today-6" \ description="delete volume history information for database backups" \ star...

  • Page 767

    Appendix b. Book support material: macros and scripts 737 /* query all schedules */ /*--------------------------*/ query schedule query schedule type=admin define server scripts example b-5 shows a tivoli storage manager macro that contains the administrative commands to define our server scripts. E...

  • Page 768

    738 ibm tivoli storage manager implementation guide update script redbook_offsite "/* sessions, then backup all the onsite storage */" update script redbook_offsite "/* pools and the adsm database. */" update script redbook_offsite "/*----------------------------------------------*/" update script r...

  • Page 769

    Appendix b. Book support material: macros and scripts 739 /* */ /* this file is designed to be run as an administrative command */ /* line macro. You should use the -itemcommit parameter when you */ /* start the admin session, otherwise the macro could fail!! */ /* */ /*=============================...

  • Page 770: Server Options Files

    740 ibm tivoli storage manager implementation guide server options files we have created server option files for the aix, mvs, and windows nt server environments. Our environment assumes that tcp/ip is the network protocol, web access is enabled for administrators, and basic performance tuning value...

  • Page 771

    Appendix b. Book support material: macros and scripts 741 shmport 1 tcpnodelay yes tcpport 1500 tcpadminport 1502 tcpwindowsize 2048 dnslookup yes movebatchsize 1000 movesizethresh 2048 txngroupmax 1024 *--------------------------------------------* *automated cartridge system library software * *--...

  • Page 772

    742 ibm tivoli storage manager implementation guide *-----------------* * message options * *-----------------* displaylfinfo yes expquiet yes messageformat 1 msginterval 1 statusmsgcnt 10 *---------------* * event logging * *---------------* eventserver yes fileexit no userexit no *tecbegineventlog...

  • Page 773

    Appendix b. Book support material: macros and scripts 743 tcpwindowsize 2048 dnslookup yes movebatchsize 1000 movesizethresh 2048 txngroupmax 1024 tcpname tcpip *---------------* * client-server * *---------------* commtimeout 300 idletimeout 30 resourcetimeout 10 *----------------* * site dependent...

  • Page 774

    744 ibm tivoli storage manager implementation guide *---------------* eventserver yes fileexit no filetextexit no userexit no *tecbegineventlogging *techostname *tecport *---------------* * miscellaneous * *---------------* deletionexit arctvext devconfig 'tsm.Server.Devconfg' devconfig 'tsm.Server....

  • Page 775

    Appendix b. Book support material: macros and scripts 745 commtimeout 300 idletimeout 30 resourcetimeout10 *----------------* * site dependent * *----------------* dateformat 2 language ameng numberformat 1 timeformat 1 maxsessions 60 *-------------------------* * database & recovery log * *--------...

  • Page 776: Client Options Files

    746 ibm tivoli storage manager implementation guide devconfig c:\tsm\files\primary\devconfig.Out devconfig d:\tsm\files\copy\devconfig.Out volumehistory c:\tsm\files\primary\volhist.Out volumehistory d:\tsm\files\copy\volhist.Out client options files we have created client option files for the netwa...

  • Page 777

    Appendix b. Book support material: macros and scripts 747 passwordaccess generate schedmode prompted managedservices schedule webclient *-----------------* * include/exclude * *-----------------* *none - specified via the client option set (aix) instead client user options file example b-12 shows ou...

  • Page 778

    748 ibm tivoli storage manager implementation guide * sg24-5416 * *=====================================================================* *----------------* * identification * *----------------* nodename > *----------------* * communications * *----------------* commmethod tcpip tcpbuffsize 63 tcpno...

  • Page 779

    Appendix b. Book support material: macros and scripts 749 windows example b-14 shows our client options file for windows. Example: b-14 windows client options file *=====================================================================* * redbook client options file - windows version (dsm.Opt) * * ge...

  • Page 780

    750 ibm tivoli storage manager implementation guide.

  • Page 781: Glossary

    © copyright ibm corp. 1999, 2000, 2003, 2006. All rights reserved. 751 glossary a agent a software entity that runs on endpoints and provides management capability for other hardware or software. An example is an snmp agent. An agent has the ability to spawn other processes. Al see arbitrated loop. ...

  • Page 782

    752 ibm tivoli storage manager implementation guide e enterprise network a geographically dispersed network under the backing of one organization. Enterprise storage server® provides an intelligent disk storage subsystem for systems across the enterprise. Event in the tivoli environment, any signifi...

  • Page 783

    Glossary 753 host any system that has at least one internet address associated with it. A host with multiple network interfaces can have multiple internet addresses associated with it. This is also referred to as a server. Host bus adapter (hba) a fibre channel hba connection that allows a workstati...

  • Page 784

    754 ibm tivoli storage manager implementation guide managed resource a physical element to be managed. Management information base (mib) a logical database residing in the managed system and defines a set of mib objects. A mib is considered a logical database because actual data is not stored in it,...

  • Page 785

    Glossary 755 r raid redundant array of inexpensive or independent disks. A method of configuring multiple disk drives in a storage subsystem for high availability and high performance. S san see storage area network. San agent a software program that communicates with the manager and controls the su...

  • Page 786: Other Glossaries

    756 ibm tivoli storage manager implementation guide subagent a software component of san products that provides the actual remote query and control function, such as gathering host information and communicating with other components. This component is platform dependent. See also san agent. Subsyste...

  • Page 787: Abbreviations and Acronyms

    © copyright ibm corp. 1999, 2000, 2003, 2006. All rights reserved. 757 abi application binary interface ace access control entries acl access control list ad microsoft active directory adsm adstar distributed storage manager afs andrew file system aix advanced interactive executive ansi american nat...

  • Page 788

    758 ibm tivoli storage manager implementation guide cifs common internet file system cma concert multi-threaded architecture co central office cops computer oracle and password system cpi-c common programming interface for communications cpu central processing unit csnw client service for netware cs...

  • Page 789

    Abbreviations and acronyms 759 fc fibre channel fddi fiber distributed data interface fdpr feedback directed program restructure fec fast etherchannel technology fifo first in/first out first forum of incident response and security fqdn fully qualified domain name fsf file storage facility ftp file ...

  • Page 790

    760 ibm tivoli storage manager implementation guide iscsi scsi over ip isdn integrated services digital network isno interface-specific network options iso international standards organization iss interactive session support isv independent software vendor itsec initial technology security evaluatio...

  • Page 791

    Abbreviations and acronyms 761 mss maximum segment size mss modular storage server mwc mirror write consistency nas network attached storage nbc network buffer cache nbf netbeui frame nbpi number of bytes per i-node ncp netware core protocol ncs network computing system ncsc national computer securi...

  • Page 792

    762 ibm tivoli storage manager implementation guide pci peripheral component interconnect pcmcia personal computer memory card international association pdc primary domain controller pdf portable document format pdt performance diagnostic tool pex phigs extension to x pfs physical file system phb pe...

  • Page 793

    Abbreviations and acronyms 763 sack selective acknowledgments sak secure attention key sam security account manager san storage area network sasl simple authentication and security layer scsi small computer system interface sdk software developer's kit sfg shared folders gateway sfu services for uni...

  • Page 794

    764 ibm tivoli storage manager implementation guide ups uninterruptable power supply url universal resource locator usb universal serial bus utc universal time coordinated uucp unix to unix communication protocol uuid universally unique identifier vax virtual address extension vcn virtual cluster na...

  • Page 795: Related Publications

    © copyright ibm corp. 1999, 2000, 2003, 2006. All rights reserved. 765 related publications the publications listed in this section are considered particularly suitable for a more detailed discussion of the topics covered in this book. Ibm redbooks for information about ordering these publications, ...

  • Page 796: Other Publications

    766 ibm tivoli storage manager implementation guide the ibm totalstorage solutions handbook, sg24-5250 ibm totalstorage nas backup and recovery solutions, sg24-6831 ibm totalstorage tape selection and differentiation guide, sg24-6946 managing device addressing of san attached tape for use with tivol...

  • Page 797

    Related publications 767 ibm tivoli storage manager for windows administrator's guide v5.3, gc32-0782 ibm tivoli storage manager for windows administrator's reference v5.3, gc32-0783 ibm tivoli storage manager for aix storage agent user’s guide, gc32-0771 ibm tivoli storage manager for hp-ux storage...

  • Page 798: Online Resources

    768 ibm tivoli storage manager implementation guide ibm tivoli storage manager for enterprise resource planning: data protection for r/3 installation and user’s guide for oracle, sc33-6340 ibm tivoli storage manager for hardware: data protection for emc symmetrix for r/3 installation and user’s guid...

  • Page 799

    Related publications 769 ibm tivoli storage manager for databases http://www.Ibm.Com/software/tivoli/products/storage-mgr-db ibm tivoli storage manager for enterprise resource planning http://www.Ibm.Com/software/tivoli/products/storage-mgr-erp ibm tivoli storage manager for hardware http://www.Ibm....

  • Page 800: How to Get Ibm Redbooks

    770 ibm tivoli storage manager implementation guide ibm db2 commonstore web site http://www.Ibm.Com/software/data/commonstore/ performance management guide http://publib.Boulder.Ibm.Com/infocenter/pseries/v5r3/index.Jsp ibm storage media product selector http://www.Storage.Ibm.Com/media/products.Htm...

  • Page 801

    Related publications 771 ibm redbooks collections redbooks are also available on cd-roms. Click the cd-roms button on the redbooks web site for information about all the cd-roms offered, as well as updates and formats..

  • Page 802

    772 ibm tivoli storage manager implementation guide.

  • Page 803: Index

    © copyright ibm corp. 1999, 2000, 2003, 2006. All rights reserved. 773 index a accounting 94 activate policy 278 activity log 94, 404–405 administration center 83, 311–312, 693 administrative client activate policyset command 279 audit licenses command 385 audit volume command 245–246 backup db comm...

  • Page 804

    774 ibm tivoli storage manager implementation guide query volhistory command 416, 443–444 query volume command 262, 384, 421, 435, 439 quiesce option 402 register node command 291–292 registering admin ids 286 registering client nodes 292 remove admin command 290 remove node command 280 removing cli...

  • Page 805

    Index 775 image tapes 55 journal based incremental 517 lan-free 526 objects 467 tape calculation 54 trigger 198 backup copy group 274, 277 assigning files to backup copy group 119 include option 119 backup database 197, 211, 692 backup db command 211, 442 backup image command 328 backup operations 3...

  • Page 806

    776 ibm tivoli storage manager implementation guide web client remote access 147 web services selection 141 windows 2000 108 windows client config 129 windows code destination 110 windows configuration wizard 129 windows setup type 111 wizard 109 bare machine recovery see bmr. Bare metal restore see...

  • Page 807

    Index 777 adding options to set 300 associating client node 301 associating node with set 301 create 300 default environment 299 defining set 300 delete 302 deleting set 302 include-exclude statements 299 option overwrite protection 298 recommandation 299 removing option from set 300 sql command 301...

  • Page 808

    778 ibm tivoli storage manager implementation guide delete volhistory 381, 445 disable sessions 402 dismount volume 245, 605 dsmfmt 617 enable events 407 expire inventory 282, 382 grant authority 285 halt 401 insert machine 634–635 move data 258 move drmedia 596–597, 599, 605, 610 move media 596 pre...

  • Page 809

    Index 779 serialization 275 copy storage pool 237, 377 cpf 527 customization 91 d data changed percentage 20 data compression 21 typical 22 data retention requirements 26 data storage 215, 417 management of backup data 269 policy 269 database 187–188 backup 197, 210, 603, 692 backup management 442 b...

  • Page 810

    780 ibm tivoli storage manager implementation guide disaster recovery manager see drm. Disaster recovery plan generation with drm 609 disk considerations 39 sizing 39 disk subsystem 39 diskbuffsize 494, 508 dismount volume command 245 display copy group 277 dns 39 domain 136 domain option, register ...

  • Page 811

    Index 781 error conditions 445 ibm tivoli storage manager 446 machine 447 windows nt/2000 event viewer 449 error log 695 errorlogname 695 estimate database statistics 474 event logging 478 event monitoring 404 event receivers 404 exclude rules 331 exclude, client option 119 excluding files from back...

  • Page 812

    782 ibm tivoli storage manager implementation guide volume history 616 volume tracking 599 windows 2000 apis 630 windows 2000 server installation 78 image backup 16, 40, 328 image disk sizing 47 implementation 15 implementation checklists 3 import server to server 460 import data immediate 455 incle...

  • Page 813

    Index 783 rollforward mode 197 logical volume backup 16–17, 273 logical volume snapshot agent 344 logmode 502 loop mode of command line interface 170, 321 lvsa 344, 579 m macros 730 create storage pools 738 define administrators 730 define client option sets 731 define policy structure 733 define sc...

  • Page 814

    784 ibm tivoli storage manager implementation guide node 269 delete 280 export 457, 462 move to another domain 281 nodename, client option 117 normal mode 196 novell cluster service 118 ntfs 516 number of tape drives 52 numberformat 119 client option 319 o offsite backup 377 volumes 56 online image ...

  • Page 815

    Index 785 tracing 488 transactions 501 txnbytelimit option 506 txngroupmax option 501 uselargebuffer options 503 versioning 497 performance tracing 492 performing 715 physical file 501 pick option 346 planning 15 checklist 7 worksheets 723 platform 30 interfaces 169 policies definitions 271 policy 2...

  • Page 816

    786 ibm tivoli storage manager implementation guide recover tsm database 196 recovery log 43, 187, 192 define new volume 192 display information 415 logmode 196 maximun size 202 mirroring 193, 202, 206 normal mode 196 performance 496 remove default volume 209 rollforward mode 197 rollforward option ...

  • Page 817

    Index 787 offsite backup 377 pre and post commands 485 recommended scheduled operations 373 recommended schedules 375 server-prompted 116–117 verify 392 wheel of life 373 schedule command 175 scheduled operations 173 scratch tape volumes 232, 234, 419, 426, 610 scripts and macros 729 scripts, server...

  • Page 818

    788 ibm tivoli storage manager implementation guide set actlogretention command 406 set authentication command 93 set invalidpwlimit command 93 set logmode command 196 set minpwlength command 93 set passexp command 93 settings 93 shared memory 123 silent client installation 108 silent install 112 si...

  • Page 819

    Index 789 subfilecachepath 344 subfilecachesize 344 svc 512 sysback 639 aix client 667 aix recovery and system reinstallation 677 backup options 641 bare machine recovery 639 central managed backups 642 classic network boot method 649 cloning backup images between partitions 657 cloning from a stand...

  • Page 820

    790 ibm tivoli storage manager implementation guide tdp archive copy group requirements 685 backup and archive copygroup considerations 684 backup copy group requirements 685 configuration 681 data protection for ess (oracle/db2) 686 data protection for informix 685 data protection for lotus domino ...

  • Page 821

    Index 791 define logcopy 206 define mgmtclass 273 define path 224 define policy 272 define policyset 272 define schedule 387 define server 461 define servergroup 471 define stgpool 232–234 define volume 239 delete domain 279 delete filespace 280 delete stgpool 238 delete volhistory 381 disable sessi...

  • Page 822

    792 ibm tivoli storage manager implementation guide formatsize option 190, 194 history see administrative client listing to send offsite 435 listing to send onsite 439 logical component of storage device 220 mirroring 203 mount request of tapes 254 moving data within storage pool 258 moving tapes fr...

  • Page 823

    Index 793 z z/os tape management 58 zos 200

  • Page 824

    794 ibm tivoli storage manager implementation guide.

  • Page 825: Ibm Tivoli Storage Manager

    Ibm tivoli storage manager implementation guide.

  • Page 828: Ibm Tivoli Storage Manager

    ® sg24-5416-03 isbn 0738487037 international technical support organization building technical information based on practical experience ibm redbooks are developed by the ibm international technical support organization. Experts from ibm, customers and partners from around the world create timely te...