Tivoli Storage Manager for HP-UX...

960
Tivoli Storage Manager for HP-UX zΓU 4.2 GC40-0656-01

Transcript of Tivoli Storage Manager for HP-UX...

Page 1: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

Tivoli Storage Managerfor HP-UXzΓU

4.2 GC40-0656-01

Page 2: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16
Page 3: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

Tivoli Storage Managerfor HP-UXzΓU

4.2 GC40-0656-01

Page 4: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

NI

ΩTªΣúºeA@wn²\¬881yNz@δΩTC

G]2001 6 δ

A≤ Tivoli Storage Manager for HP-UX 4.2 ]5698-TSM M 5698-DRMH⌠≤ß≥AsNsTtⁿεC

2000 7 δ≤Ab¬ΣtBH½u (|) CTwzúhTC

zL IBM® Nϕϕa IBM qqXyC

zXNúαUúδT¬ΦΩTA]½nCpGz∩ΣL Tivoli Storage Manager σ≤⌠≤NúA\xviiiypßΣñzC

© Copyright International Business Machines Corporation 1995, 2001. All rights reserved.

||

|

Page 5: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

²

eÑ . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xviiOAϕ¬ . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xvii

\¬ºezD ≥ . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xvii

Tivoli Storage Manager ⌠. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xvii

Tivoli Storage Manager Xy . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xvii

IBM International Technical Support Center Xy]⌡ . . . . . . . . . . . . . . . . . . . . . . xviii

pßΣñ . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xviii

°iD . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xix

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xix

Tivoli Storage Manager ≤ . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xxi 4 2 ≤--2001 6 δ. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xxi

4 1 ≤--2000 7 δ . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xxii

1 yk . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1ykí . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1

2 ΘJzⁿO . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5ⁿOΘJWh. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5

BzzⁿO. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6

eBzⁿO . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6

IBzⁿO . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7

Ur. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8

⌠Nrd . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9

µ@rd . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9

Tivoli Storage Manager ñRWD . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9

RW Tivoli Storage Manager ñ½≤ . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9

eⁿO . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10

eⁿOd . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10

3 ⁿOµ . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13°ADx . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13

zq . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13

Dxí . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13

ⁿí . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14

σí . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14

µí . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15

iiiTivoli Storage Manager for HP-UX zΓU

||

Page 6: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

zq∩ . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15

s≥r. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16

½sJⁿOΘX . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17

4 MvOⁿO . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19ntMvⁿO . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19

nhMvⁿO . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23

nxsΘMvⁿO . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24

n@MvⁿO . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25

nRMvⁿO . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26

⌠≤zúαoXⁿO. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27

5 zⁿO . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29ACCEPT DATE]ⁿµtΘ . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30

ACTIVATE POLICYSET ]sh . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31

ASSIGN DEFMGMTCLASS]ⁿww]zO . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33

AUDIT LIBRARY]τíwws . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35

AUDIT LICENSES]]°AxsΘk . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37

AUDIT VOLUME]τ@xseΘΩwΩT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38

BACKUP DB ]≈Ωw . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41

BACKUP DEVCONFIG ]mtmΩTº≈ . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44

BACKUP STGPOOL ]NDxs≈≤xs. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45

BACKUP VOLHISTORY ]xseΘΩT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 48

BEGIN EVENTLOGGING]lO²≤ . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50

CANCEL EXPIRATION]°L . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52

CANCEL PROCESS ]°z . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 53

CANCEL REQUEST ]°@hⁿnD . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 55

CANCEL RESTORE]°i½sºÑq@ . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 56

CANCEL SESSION ]°@qÑq@. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 57

CHECKIN LIBVOLUME ]NxseΘJCΘw . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 58

CHECKOUT LIBVOLUME ]NxseΘXCΘw . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 65

CLEAN DRIVE]Mz≈ . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 69

COMMIT ]εTw¿ñⁿO . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 70

CONVERT ARCHIVE]i²q÷ídOs. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 71

COPY CLOPTSET]sq∩ . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 72

COPY DOMAIN ]s@hΓ . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 73

COPY MGMTCLASS]szO . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 75

iv 4.2

||

Page 7: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

COPY POLICYSET]sh . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 77

COPY PROFILE]s]w. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 78

COPY SCHEDULE]sqzⁿOϕ . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 79

COPY SCHEDULE -- q . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 80

COPY SCHEDULE -- zⁿO . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 82

÷ⁿO . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 83

COPY SCRIPT]s Tivoli Storage Manager Script. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 84

COPY SERVERGROUP]s°As . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 85

DEFINE ASSOCIATION ]sϕPqI . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 86

DEFINE BACKUPSET]wq≈ . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 88

DEFINE CLIENTACTION]wq@q@ . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 90

DEFINE CLIENTOPT]wq∩ñ∩ . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 94

DEFINE CLOPTSET]wqq∩W . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 97

DEFINE COPYGROUP]wqs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 98

DEFINE COPYGROUP -- ≈ . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 99

DEFINE COPYGROUP -- Os . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 103

÷ⁿO . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 105

DEFINE DBBACKUPTRIGGER ]wqΩw≈oⁿO. . . . . . . . . . . . . . . . . . . . . . . . . 106

DEFINE DBCOPY ]wqΩweΘeΘ . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 108

DEFINE DBVOLUME]wqΩweΘ . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 109

DEFINE DEVCLASS]wqmO . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 111

DEFINE DEVCLASS -- 3570 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 112

DEFINE DEVCLASS -- 3590 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 115

DEFINE DEVCLASS -- FILE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 118

DEFINE DEVCLASS -- GENERICTAPE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 120

DEFINE DEVCLASS -- LTO . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 122

DEFINE DEVCLASS -- REMOVABLEFILE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 125

DEFINE DEVCLASS -- SERVER. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 127

÷ⁿO . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 128

DEFINE DOMAIN ]wqshΓ . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 130

DEFINE DRIVE ]N@≈wqw . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 132

DEFINE EVENTSERVER]N°Awq≤°A. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 136

DEFINE GRPMEMBER]sW°A°As . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 137

DEFINE LIBRARY]wqCΘw . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 138

DEFINE LOGCOPY]wqΘxeΘeΘ . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 143

DEFINE LOGVOLUME]wqΘxeq . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 144

DEFINE MACHINE]wq≈ΩT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 146

vTivoli Storage Manager for HP-UX zΓU

Page 8: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

DEFINE MACHNODEASSOCIATION]sIP≈ . . . . . . . . . . . . . . . . . . . . . . . . . . . . 148

DEFINE MGMTCLASS ]wq@zO. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 149

DEFINE POLICYSET ]wqh . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 152

DEFINE PROFASSOCIATION]wq]w÷p . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 154

DEFINE PROFILE]wq]w . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 160

DEFINE RECMEDMACHASSOCIATION]sCΘP≈ . . . . . . . . . . . . . . . . . . . . . . 161

DEFINE RECOVERYMEDIA]wqCΘ . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 162

DEFINE SCHEDULE]wqqzⁿOϕ . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 164

DEFINE SCHEDULE -- q . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 165

DEFINE SCHEDULE -- zⁿO . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 173

÷ⁿO . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 178

DEFINE SCRIPT]wq Tivoli Storage Manager Script . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 179

DEFINE SERVER]wqu°A∩°AqHv°A . . . . . . . . . . . . . . . . . . . . . . . . . 181

DEFINE SERVERGROUP]wq°As. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 185

DEFINE SPACETRIGGER]wqΩwΘx íoⁿO. . . . . . . . . . . . . . . . . . . . . 186

DEFINE STGPOOL]wqxs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 188

DEFINE STGPOOL -- DnH≈s . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 189

DEFINE STGPOOL -- Dns . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 193

DEFINE STGPOOL -- ss . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 198

÷ⁿO . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 200

DEFINE SUBSCRIPTION]wq]wº . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 202

DEFINE VOLUME]wqxsñeΘ . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 204

DELETE ASSOCIATION]RúPϕI÷p . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 208

DELETE BACKUPSET]Rú≈ . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 210

DELETE CLIENTOPT]Rú∩ñ∩ . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 213

DELETE CLOPTSET]Rúq∩ . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 214

DELETE COPYGROUP]Rús . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 215

DELETE DBBACKUPTRIGGER ]RúΩw≈oⁿO . . . . . . . . . . . . . . . . . . . . . . . . 217

DELETE DBVOLUME ]RúΩweΘ . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 218

DELETE DEVCLASS]RúmO . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 219

DELETE DOMAIN ]RúhΓ . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 220

DELETE DRIVE]qCΘwRú≈ . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 221

DELETE EVENT ]Rú≤O² . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 222

DELETE EVENTSERVER]Rú≤°Awq . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 224

DELETE FILESPACE]Rú°AWqIΩ . . . . . . . . . . . . . . . . . . . . . . . . . . . . 225

DELETE GRPMEMBER]q°AsRú°A. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 229

vi 4.2

Page 9: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

DELETE LIBRARY ]RúCΘw . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 230

DELETE LOGVOLUME ]RúΘxeΘ . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 231

DELETE MACHINE]Rú≈ΩT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 232

DELETE MACHNODEASSOCIATION]Rú≈MIºís . . . . . . . . . . . . . . . . . . 233

DELETE MGMTCLASS]RúzO . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 234

DELETE POLICYSET ]Rúh . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 235

DELETE PROFASSOCIATION]Rú]w÷p. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 236

DELETE PROFILE]Rú]w. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 239

DELETE RECMEDMACHASSOCIATION]RúCΘM≈÷p . . . . . . . . . . . . . . . . 241

DELETE RECOVERYMEDIA]RúCΘ . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 242

DELETE SCHEDULE]RúqzⁿOϕ . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 243

DELETE SCHEDULE -- q . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 244

DELETE SCHEDULE -- zⁿO . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 245

÷ⁿO . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 245

DELETE SCRIPT]Rú Script ñⁿOµRúπ Script . . . . . . . . . . . . . . . . . . . . . . . 246

DELETE SERVER]Rú°Awq . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 247

DELETE SERVERGROUP]Rú°As . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 248

DELETE SPACETRIGGER]RúΩwΘx íoⁿO . . . . . . . . . . . . . . . . . . . . 249

DELETE STGPOOL ]Rúxs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 250

DELETE SUBSCRIBER]qtmzíΩwRú . . . . . . . . . . . . . . . . . . . . . . . . . . 251

DELETE SUBSCRIPTION]Rú]w . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 252

DELETE VOLHISTORY]RúeΘΩT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 253

DELETE VOLUME]RúxseΘ. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 258

DISABLE EVENTS]≤O²≤ . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 260

DISABLE SESSIONS]εqIs°A . . . . . . . . . . . . . . . . . . . . . . . . . . . . 264

DISMOUNT VOLUME ]HeΘWúⁿeΘ. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 265

ENABLE EVENTS]O²°Aq≤ . . . . . . . . . . . . . . . . . . . . . . . . . . . . 266

ENABLE SESSIONS]°AWí . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 269

END EVENTLOGGING]εO²≤ . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 270

EXPIRE INVENTORY]µwsLBz . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 272

EXPORT ADMIN ]NzΩTsCΘ . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 275

EXPORT NODE ]NqIΩTs≤CΘ . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 278

EXPORT POLICY ]shΩTCΘ . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 284

EXPORT SERVER ]N°AΩTsCΘ . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 287

EXTEND DB ]W[Ωwⁿweq . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 291

EXTEND LOG ]W[Θxⁿweq . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 292

viiTivoli Storage Manager for HP-UX zΓU

Page 10: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

GENERATE BACKUPSET]úqΩ≈. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 294

GRANT AUTHORITY ]W[zv¡ . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 298

HALT]÷¼°A . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 302

HELP ]o÷≤ⁿOTí . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 304

IMPORT ADMIN ]JzΩT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 307

IMPORT NODE ]JqIΩT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 310

IMPORT POLICY]JhΩT. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 316

IMPORT SERVER ]J°A . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 319

INSERT MACHINE]íJ≈SΩTⁿ . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 323

ISSUE MESSAGE]q°A Script oXTº. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 324

LABEL LIBVOLUME]]wCΘweΘ . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 326

LOCK ADMIN ]Ωwz . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 332

LOCK NODE ]ΩwqI . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 333

LOCK PROFILE]Ωw]w. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 334

MACRO]Is¿ . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 335

MOVE DATA ]xseΘW. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 337

MOVE DRMEDIA]aNCΘa . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 339

MOVE GRPMEMBER]°As¿ . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 350

MOVE MEDIA]sxsCΘ. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 351

NOTIFY SUBSCRIBERS]qz°A≤s]w. . . . . . . . . . . . . . . . . . . . . . . . . . 357

PING SERVER]°Aísu . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 358

PREPARE]@p . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 359

QUERY ACTLOG]díΘx . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 365

QUERY ADMIN]πzΩT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 370

QUERY ASSOCIATION]dqIPϕ÷p . . . . . . . . . . . . . . . . . . . . . . . . . . 374

QUERY AUDITOCCUPANCY ]dqIxsΘq . . . . . . . . . . . . . . . . . . . . . . 376

QUERY BACKUPSET]d≈ . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 379

QUERY BACKUPSETCONTENTS]d≈e . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 383

QUERY CLOPTSET]dq∩ . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 385

QUERY CONTENT]dxseΘe . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 387

QUERY COPYGROUP]ds . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 394

QUERY DB ]πΩwΩT. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 399

QUERY DBBACKUPTRIGGER ]dΩw≈oⁿO . . . . . . . . . . . . . . . . . . . . . . . . . 403

QUERY DBVOLUME]π@hΩweΘΩT . . . . . . . . . . . . . . . . . . . . . . . . . . . . 405

QUERY DEVCLASS]π@hmOΩT. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 407

viii 4.2

Page 11: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

QUERY DOMAIN]dhΓ . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 410

QUERY DRIVE]d≈÷ΩT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 413

QUERY DRMEDIA]dNCΘ. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 417

QUERY DRMSTATUS]d DRM t . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 424

QUERY ENABLED]d≤ . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 426

QUERY EVENT]dwwP¿≤ . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 428

QUERY EVENT -- qϕ . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 429

QUERY EVENT -- zϕ . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 435

÷ⁿO . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 438

QUERY EVENTRULES]°Aq≤dWh . . . . . . . . . . . . . . . . . . . . . . . . . . 439

QUERY EVENTSERVER]d≤°A . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 442

QUERY FILESPACE ]d@h í . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 443

QUERY LIBRARY]dCΘw. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 447

QUERY LIBVOLUME ]dCΘweΘ . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 450

QUERY LICENSE ]πvΩT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 452

QUERY LOG ]πΘxWΩT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 453

QUERY LOGVOLUME ]π@hΘxeΘΩT . . . . . . . . . . . . . . . . . . . . . . . . . . . 456

QUERY MACHINE]d≈ΩT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 458

QUERY MEDIA]dsxsCΘ . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 462

QUERY MGMTCLASS ]d@zO . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 469

QUERY MOUNT]π÷≤wⁿseΘΩT . . . . . . . . . . . . . . . . . . . . . . . . . . . . 472

QUERY NODE]dI . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 473

QUERY OCCUPANCY]dxsñq í . . . . . . . . . . . . . . . . . . . . . . . . . . . 479

QUERY OPTION]d°A∩ . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 483

QUERY POLICYSET]dh . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 486

QUERY PROCESS]d@h°A . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 489

QUERY PROFILE]d]w . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 491

QUERY RECOVERYMEDIA]dCΘ . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 495

QUERY REQUEST]d@hmⁿnD. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 498

QUERY RESTORE]di½sÑq@ . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 499

QUERY RPFCONTENT]dxsb°AWpe . . . . . . . . . . . . . . . . . 502

QUERY RPFILE]dxsb°AWpΩT . . . . . . . . . . . . . . . . . . . . . . . 504

QUERY SCHEDULE]dϕ . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 507

QUERY SCHEDULE -- q . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 508

QUERY SCHEDULE -- z . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 512

÷ⁿO . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 514

ixTivoli Storage Manager for HP-UX zΓU

Page 12: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

QUERY SCRIPT]d Tivoli Storage Manager Script . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 515

QUERY SERVER]d°A. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 519

QUERY SERVERGROUP]d°As . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 523

QUERY SESSION]dqÑq@ . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 525

QUERY SPACETRIGGER]dΩwΘx íoⁿO . . . . . . . . . . . . . . . . . . . . . 528

QUERY SQLSESSION]π SQL Ñq@ . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 531

QUERY STATUS]dt . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 533

QUERY STGPOOL]dxs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 539

QUERY SUBSCRIBER]πΩT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 544

QUERY SUBSCRIPTION]πΩT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 546

QUERY SYSTEM]dttmHeq . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 548

QUERY VOLHISTORY]πeΘπΩT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 550

QUERY VOLUME]dxseΘ . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 558

QUIT]⌠zqµí . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 563

RECONCILE VOLUMES]½sΩeΘwqñtº . . . . . . . . . . . . . . . . . . . . . . . . . 564

REDUCE DB]YεΩwⁿweq . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 567

REDUCE LOG]YεΘxⁿweq . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 568

REGISTER ADMIN ]n²z . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 569

REGISTER LICENSE]n²sv . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 571

REGISTER NODE]n²qI . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 574

REMOVE ADMIN ]Rúz . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 580

REMOVE NODE]RúqI÷≈I . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 581

RENAME ADMIN ]z≤W . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 582

RENAME FILESPACE]≤W°AWq í . . . . . . . . . . . . . . . . . . . . . . . . . . . 583

RENAME NODE ]qI≤W . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 586

RENAME SCRIPT]≤W Tivoli Storage Manager Script . . . . . . . . . . . . . . . . . . . . . . . . . . . . 587

RENAME SERVERGROUP]≤°AsW . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 588

RENAME STGPOOL]≤xsW . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 589

REPLY]ⁿ≥⌡µnD . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 590

RESET BUFPOOL]½]Ωww xsp . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 591

RESET DBMAXUTILIZATION ]½]Ωwqp . . . . . . . . . . . . . . . . . . . . . . . 592

RESET LOGCONSUMPTION]½]pΘxqp. . . . . . . . . . . . . . . . . . . . . . . . . . 593

RESET LOGMAXUTILIZATION ]½]Θxqp . . . . . . . . . . . . . . . . . . . . . . . . 594

RESTORE STGPOOL]qxsxsΩ . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 595

RESTORE VOLUME]xsDneΘΩ . . . . . . . . . . . . . . . . . . . . . . . . . . . . 598

x 4.2

Page 13: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

REVOKE AUTHORITY ]úhzv¡ . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 601

ROLLBACK ]α¿ñúTw≤ . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 605

RUN]⌡µ Tivoli Storage Manager Script . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 606

SELECT]⌡µ TSM Ωw SQL d . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 609

SET ACCOUNTING ]]wbßO²P÷¼ . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 617

SET ACTLOGRETENTION]]wíΘxOd . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 618

SET AUTHENTICATION]]wKX¡≈τ² . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 619

SET CLIENTACTDURATION]]wq@¡ . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 620

SET CONFIGMANAGER]ⁿwtmzí . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 621

SET CONFIGREFRESH]]wz°Atmºs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 622

SET CONTEXTMESSAGING]]wTºWUσ°i÷¼ . . . . . . . . . . . . . . . . . . . . . . 623

SET CROSSDEFINE]ⁿwO nµ¼wq°A. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 624

SET DRMCHECKLABEL]ⁿwd. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 625

SET DRMCMDFILENAME]ⁿwn]tⁿOºW . . . . . . . . . . . . . . . . . . . . . . . . . 626

SET DRMCOPYSTGPOOL]ⁿw DRM zxs . . . . . . . . . . . . . . . . . . . . . . . . . 627

SET DRMCOURIERNAME]ⁿw Courier W . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 628

SET DRMDBBACKUPEXPIREDAYS]DB ≈tCLh . . . . . . . . . . . . . . . . . . . . . . . 629

SET DRMFILEPROCESS]ⁿwBz . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 630

SET DRMINSTRPREFIX]ⁿwⁿWr . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 631

SET DRMNOTMOUNTABLENAME]ⁿwDiⁿBmW . . . . . . . . . . . . . . . . . . . . . . 633

SET DRMPLANPREFIX]ⁿwpWr . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 634

SET DRMPLANVPOSTFIX]ⁿwNeΘW . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 636

SET DRMPRIMSTGPOOL]ⁿw DRM zDxs . . . . . . . . . . . . . . . . . . . . . . . . . . . 637

SET DRMRPFEXPIREDAYS]]wpLh . . . . . . . . . . . . . . . . . . . . . . . . . . 638

SET DRMVAULTNAME]ⁿwxW . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 640

SET EVENTRETENTION]]w≤O²Od . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 641

SET INVALIDPWLIMIT]]wnJó . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 642

SET LICENSEAUDITPERIOD]]wv] . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 643

SET LOGMODE ]]wxsΘxO²í . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 644

SET MAXCMDRETRIES]]wjⁿO½ . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 645

SET MAXSCHEDSESSIONS]]wjÑq@ . . . . . . . . . . . . . . . . . . . . . . . . . . . . 646

SET MINPWLENGTH]]wKX°U¡. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 647

SET PASSEXP]]wKXΘ . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 648

SET QUERYSCHEDPERIOD]]wⁿqId . . . . . . . . . . . . . . . . . . . . . . 650

SET RANDOMIZE]]wH≈lí. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 651

xiTivoli Storage Manager for HP-UX zΓU

||

Page 14: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

SET REGISTRATION ]]w±í¼ín² . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 653

SET RETRYPERIOD]]w½ííj . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 655

SET SCHEDMODES ]∩@ñíí . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 656

SET SERVERHLADDRESS]]w°ACÑ . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 658

SET SERVERLLADDRESS]]w°ACÑ . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 659

SET SERVERNAME]]w°AW. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 660

SET SERVERPASSWORD]]w°AKX . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 661

SET SERVERURL]]w°A URL. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 662

SET SQLDATETIMEFORMAT]]w SQL ΩΘBíMíWOµí . . . . . . . . . . 663

SET SQLDISPLAYMODE]]w SQL Ω¼πe . . . . . . . . . . . . . . . . . . . . . . . . . 665

SET SQLMATHMODE]]w SQL ΓNí . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 666

SET SUBFILE]]wqIl≈. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 667

SET SUMMARYRETENTION]]wOdíJϕµΩ. . . . . . . . . . . . . . . . . . . . 668

SET WEBAUTHTIMEOUT]]w Web Oíj . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 669

SETOPT]]wA≤s°A∩ . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 670

UNLOCK ADMIN ]úzΩw. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 671

UNLOCK NODE ]úqIΩw . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 672

UNLOCK PROFILE]úΩw]w . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 673

UPDATE ADMIN]≤sz. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 674

UPDATE BACKUPSET]≤sⁿw≈Od . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 676

UPDATE CLIENTOPT]≤sq∩ . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 679

UPDATE CLOPTSET]≤sq∩í . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 680

UPDATE COPYGROUP]≤ss . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 681

UPDATE COPYGROUP -- ≈ . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 682

UPDATE COPYGROUP -- Os . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 686

÷ⁿO . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 688

UPDATE DBBACKUPTRIGGER]≤sΩw≈oⁿO . . . . . . . . . . . . . . . . . . . . . . . . . 689

UPDATE DEVCLASS]≤smO . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 691

UPDATE DEVCLASS -- 3570 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 692

UPDATE DEVCLASS -- 3590 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 695

UPDATE DEVCLASS -- FILE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 697

UPDATE DEVCLASS -- GENERICTAPE. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 699

UPDATE DEVCLASS -- LTO . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 701

UPDATE DEVCLASS -- REMOVABLEFILE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 704

UPDATE DEVCLASS -- SERVER . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 705

÷ⁿO . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 706

UPDATE DOMAIN]≤shΓ . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 707

xii 4.2

Page 15: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

UPDATE DRIVE]≤s≈ . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 709

UPDATE LIBRARY ]≤sCΘw . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 712

UPDATE LIBVOLUME ]≤xseΘ¼A. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 714

UPDATE MACHINE]≤s≈ΩT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 716

UPDATE MGMTCLASS]≤szO . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 718

UPDATE NODE]≤sqI . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 721

UPDATE POLICYSET]≤shí . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 726

UPDATE PROFILE]≤s]wí. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 728

UPDATE RECOVERYMEDIA]≤sCΘ . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 729

UPDATE SCHEDULE]≤sϕ . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 731

UPDATE SCHEDULE -- q . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 732

UPDATE SCHEDULE -- z . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 739

÷ⁿO . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 744

UPDATE SCRIPT]≤s Tivoli Storage Manager Script . . . . . . . . . . . . . . . . . . . . . . . . . . . . 745

UPDATE SERVER]≤su°A∩°AqHv°Awq . . . . . . . . . . . . . . . . . . . . . 747

UPDATE SERVERGROUP]≤s°Así . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 751

UPDATE SPACETRIGGER]≤sΩwΘx íoⁿO . . . . . . . . . . . . . . . . . . . . 752

UPDATE STGPOOL]≤sxs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 754

UPDATE STGPOOL -- DnH≈s . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 755

UPDATE STGPOOL -- Dns . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 759

UPDATE STGPOOL -- ss . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 764

÷ⁿO . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 766

UPDATE VOLHISTORY]≤seΘΩT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 767

UPDATE VOLUME]≤xseΘ . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 769

VALIDATE POLICYSET]τh . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 773

VARY]²H≈seΘWu≈u . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 775

²A. Tivoli Storage Manager í. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 777ΘxXRí . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 777

Ωwí . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 777

Ωwí . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 778

°°Aí . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 778

DSMSERV EXTEND LOG]≥µΘxXR . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 779

DSMSERV DISPLAY DBBACKUPVOLUME]πΩw≈eΘΩT . . . . . . . . . . . . . . . 780

DSMSERV DISPLAY DBVOLUMES]πΩweΘΩT . . . . . . . . . . . . . . . . . . . . . . . . . 782

DSMSERV DISPLAY LOGVOLUMES]πΘxeΘΩT . . . . . . . . . . . . . . . . . . . . . . 784

DSMSERV RESTORE DB]Ωw . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 786

xiiiTivoli Storage Manager for HP-UX zΓU

Page 16: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

ΩwΣs¼A. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 787

µ@ΩweΘΣs¼A . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 788

ΩwíI -- eΘi . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 789

ΩwíI -- eΘLk . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 791

DSMSERV UNLOADDB]°ⁿΩw . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 793

DSMSERV AUDITDB]τΩwΩT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 796

DSMSERV DUMPDB]XΩw . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 798

DSMSERV FORMAT]µíΩwΘx . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 801

DSMSERV LOADDB]½sⁿJΩw . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 803

DSMFMT]µí°A . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 805

DSMLABEL]eΘ . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 807

DSMSERV]°A . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 809

DSMSERV LOADFORMAT]µínⁿJΩwMΘx . . . . . . . . . . . . . . . . . . . . . . . . . 810

DSMSERV RUNFILE]⌡µ . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 812

²B. °A∩ . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 813∩°A∩ . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 813

qH∩ . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 813

°AxsΘ∩ . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 814

D/q[c∩ . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 814

ΘBrBíyÑ∩ . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 815

ΩwMΘx∩ . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 815

Ωαe∩ . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 815

Tº∩ . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 816

≤O²∩ . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 816

w$Mv∩ . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 816

°∩ . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 817

3494SHARED. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 818

ASSISTVCRRECOVERY . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 819

AUDITSTORAGE. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 820

BUFPOOLSIZE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 821

COMMMETHOD . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 822

COMMTIMEOUT. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 823

DATEFORMAT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 824

DBPAGESHADOW . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 825

DBPAGESHADOWFILE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 826

xiv 4.2

Page 17: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

DEVCONFIG . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 827

DISABLESCHEDS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 828

DRIVEACQUIRERETRY . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 829

ENABLE3590LIBRARY . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 830

EVENTSERVER. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 831

EXPINTERVAL . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 832

EXPQUIET . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 833

FILEEXIT. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 834

FILETEXTEXIT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 835

HTTPPORT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 836

IDLETIMEOUT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 837

LANGUAGE. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 838

LOGPOOLSIZE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 839

LOGWARNFULLPERCENT. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 840

MAXSESSIONS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 841

MESSAGEFORMAT. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 842

MIRRORREAD . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 843

MIRRORWRITE. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 844

MOVEBATCHSIZE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 845

MOVESIZETHRESH . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 846

MSGINTERVAL. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 847

NOPREEMPT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 848

NORETRIEVEDATE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 849

NUMBERFORMAT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 850

QUERYAUTH . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 851

REQSYSAUTHOUTFILE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 852

RESOURCETIMEOUT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 853

RESTOREINTERVAL . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 854

SEARCHMPQUEUE. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 855

SELFTUNEBUFPOOLSIZE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 856

SELFTUNETXNSIZE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 857

SHMPORT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 858

SNMPHEARTBEATINTERVAL. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 859

SNMPMESSAGECATEGORY . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 860

SNMPSUBAGENT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 861

xvTivoli Storage Manager for HP-UX zΓU

||

Page 18: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

SNMPSUBAGENTHOST . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 862

SNMPSUBAGENTPORT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 863

STATUSMSGCNT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 864

TCPNODELAY . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 865

TCPPORT. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 866

TCPWINDOWSIZE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 867

TECBEGINEVENTLOGGING . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 868

TECHOST . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 869

TECPORT. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 870

THROUGHPUTDATATHRESHOLD . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 871

THROUGHPUTTIMETHRESHOLD . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 872

TIMEFORMAT. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 873

TXNGROUPMAX . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 874

USELARGEBUFFERS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 875

USEREXIT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 876

VOLUMEHISTORY . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 877

²C. J Tivoli Storage Manager Script X . . . . . . . . . . . . . . . . . . 879

²D. N . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 881U . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 883

Wⁿ. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 885

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 911

xvi 4.2

Page 19: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

Tivoli® Storage Manager (TSM) O@D/q[cíAªbhtPqú⌠ñßúxsΘzC TSM °AMu@úBñíBhz≈BOsM íz≈αC

OAϕ¬OMFn²zHgC TSM iHµ@zzFúLAzd⌠iwD¿HßC

z@M@ TSM $ízⁿOiHq°Asu@IsAOqπ 4 HWBΣ Java™ Developer’s Kit 1.1 Web s²ºu@IsC

\¬ºezD≥z⌠x°Ab@tHD/q[c⌠'nqH≤wC

z]nAzxsΘzΩ@Apzep≤≈u@Hzp≤

H≈sCΘMsCΘC

Tivoli Storage Manager ⌠

$í TSM Xyib$yΩT⌠ TSM oAΣ⌠pUG

http://www.tivoli.com/support/storage_mgr/tivolimain.html

s TSM ºßAzNiHsPDDCz]iHHos TSM ú

ΩTC

Tivoli Storage Manager Xy

UϕCX TSM °AXyC

XyD qX

Tivoli Storage Manager Tº GC40-0552

Tivoli Storage Management Products License Information GH09-4572

Tivoli Storage Manager for HP-UX tJ GC35-0412

Tivoli Storage Manager for HP-UX zΓU GC40-0556

Tivoli Storage Manager for HP-UX Administrator’s Reference GC40-0656

UϕCX TSM qXyC

XyD qX

Tivoli Space Manager for UNIX Using the Hierarchical Storage

Management Clients

SH26-4115

Tivoli Storage Manager for Macintosh Using the Backup-Archive Client SH26-4120

Tivoli Storage Manager for UNIX ≈Osq SH26-4122

xviiTivoli Storage Manager for HP-UX zΓU

Page 20: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

XyD qX

Tivoli Storage Manager for NetWare ≈Osq SH26-4116

Tivoli Storage Manager for Windows ≈Osq SH40-0334

Tivoli Storage Manager wq SH40-0336

Tivoli Storage Manager ≈OsqtΓU SH40-0335

Tivoli Storage Manager Trace Facility Guide SH26-4121

Tivoli Storage Manager Using the Application Programming Interface SH26-4123

UϕCX Tivoli Data Protection XyC

XyD qX

Tivoli Data Protection for Informix Installation and User’s Guide SH26-4095

Tivoli Data Protection for Lotus Domino, S/390 Edition Licensed Program

Specifications

GC26-7305

Tivoli Data Protection for Lotus Domino for UNIX Installation and User’s

Guide

SH26-4088

Tivoli Data Protection for Lotus Domino for Windows NT Installation GC26-7320

Tivoli Data Protection for Lotus Notes on AIX Installation and User’s Guide SH26-4067

Tivoli Data Protection for Lotus Notes on Windows NT Installation and User’s

Guide

SC40-0232

Tivoli Data Protection for Microsoft Exchange Server Installation and User’s

Guide

SH26-4110

Tivoli Data Protection for Microsoft SQL Server Installation and User’s Guide SH26-4111

Tivoli Data Protection for Oracle for UNIX Installation and User’s Guide SH26-4112

Tivoli Data Protection for Oracle for Windows NT Installation and User’s

Guide

SH26-4113

Tivoli Data Protection for R/3 Version 2.7 Installation and User’s Guide SC33-6388

Tivoli Data Protection for Workgroups for Windows NT User’s Guide GC35-0359

Tivoli Data Protection for Workgroups for NetWare User’s Guide GC32-0444

IBM International Technical Support Center Xy]⌡International Technical Support Center (ITSC) oµ⌡AªO½IDDyAp TSM ≈ΩwCziHzL IBM Nϕϕa IBM qqX

yCz]iHX$yΩT⌠W IBM ⌡ AjMqzPyAΣ

⌠pUG

http://www.redbooks.ibm.com/redbooks

pßΣñpú⌠≤ Tivoli úΣAziHQUCΣñ@Φíp Tivoli ßΣñG

¶ X T i v o l i S t o r a g e M a n a g e r NΣ⌠G

http://www.tivoli.com/support/storage_mgr/tivolimain.htmlC

xviii 4.2

Page 21: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

¶ HqlΦíeXDzO² (PMR)AOGIBMSERV/IBMLINKCziHshttp://www2.ibmlink.ibm.com W IBMLINKC

¶ HqlΦíeXDzO² (PMR)AOG http://www.tivoli.com/supportC í y°iDzC

¶ eqll≤ [email protected]

ⁿΩß]iH 1 - 8 0 0 - T I V O L I 8 ( 1 - 8 0 0 - 8 4 8 - 6 5 4 8 )C÷≤ú X5697-TS9B5697-DRS 5697-DPMA 1-800-237-5511C

ΩßV⌠óßΣñq XC

z]iHd http://www.tivoli.com/support/handbook/ ⌠ñúßΣñΓUC

ϕzp Tivoli ßΣñAnQqOΩTAoΣH!iH¿t≤UzCnb⌠WsU iuWAA]nqOΩTC

Σ⌠úsxΩTA]AΣAΓU]ßΣñΓUFúD

(FAQ)F Tivoli úσ≤A]ANB⌡M(Cúσ≤ PDF M HTML Γ µíCú]σ≤C

ziHQqll≤ [email protected] qσ≤Cúnσ≤Xy XBús q XCtAz]iHúσ≤DB XMXΘC

z∩≤ Tivoli úMσ≤Y⌠≤NúAw∩ⁿC]w∩zúi∩iCpGz∩σ≤⌠≤NúAQUCΣñ@ ΦípG

¶ eqll≤ [email protected]

¶ http://www.tivoli.com/support/feedback/ ±ßNúdϕC

°iD

°iDUCΩTG

¶ Tivoli Storage Manager °ABB∩MAh XCziHb TSM ⁿ

OµΘJ QUERY STATUS ⁿOoΩTC

¶ Tivoli Storage Manager qBB∩MAh XCziHbⁿOµΘJ dsmc oΩTC

¶ zqH≤w]p TCP/IPBM XC

¶ DozbqíACXDoºezϕBJC

¶ Tº$íσrC

∩w TSM Xyw¿DⁿíyyÑC÷≤wXyHQΩO oÑ ΩTApNϕC

xixTivoli Storage Manager for HP-UX zΓU

Page 22: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

xx 4.2

Page 23: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

Tivoli Storage Manager ≤

J Tivoli Storage Manager (TSM) úM≤C

4 2 ≤--2001 6 δFUC≤G

bxs⌠⌠ (SAN) ⌠ñ@aw

Tivoli Storage Manager izL@ TSM °AmQs SAN awCΣñ@°AOwzíAΣL°AOwqCun

°A]Σaw@Ah°AiHΣL@tC

iH@aw]tF SCSI awM IBM 3494 awC

\UC≤ⁿOG

CHECKIN LIBVOLUMEDEFINE LIBRARYUPDATE LIBRARYUPDATE LIBVOLUME

W[FΘxjpW¡

ΘxjpW¡W[ 13GBCjTW[ΘxjpW[½s°AB≈ΩwΩwíC\UC≤ⁿOG

DEFINE LOGVOLUMEDEFINE SPACETRIGGERUPDATE SPACETRIGGER

TSM q¼ízí

q¼níAiz Web ≈OsqC]iH∩²q¼ízqíCubn⌡µ TSM íAq

¼í!íMqCq¼ííAi

Hε íbOΘWDCAYw⌡µq¼í

z Web qAhiε#≈Wú⌡µBzC\qΓUC

∩i ANR9999D Tº

ziHNTºe°i]w ONAHKb°AoX ANR9999D TºAoBΩTCBΩTiH≤UzOD]C\HUsⁿOG

SET CONTEXTMESSAGING

t\TºC

Σw Unicode qí

∩≤¡O Unicode Windows NT® M Windows® 2000 qtÑAb°AΣbw Unicode íñxs Unicode íWB²WMWC Unicode O@srsXAªΣµ½BzAπ$⌠@ yÑ gσrCw Unicode TSM qnΘ'wbq

tWC°AW *xs⌠≤ΩsqNΩxsbw

Unicode íC

xxiTivoli Storage Manager for HP-UX zΓU

|

|

|

|

|

|

|

|

|

|

|

|

|

|

|

|

|

|

|

|

|

|

|

|

|

|

|

|

|

|

|

|

|

|

|

|

|

Page 24: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

°AWwxsΩqΓ⌠≤s íxsw UnicodeAoqúNªsΩxsw Unicode íC¡zAziH í≤W\ααoqC TSM ≤Ws

íAjεw Unicode s íCz]iH²q]w≤W∩C@,s íb°AW≤WºßA≈Os@ íb°

AxsΘW½sAoOw Unicode íCpGzjqqO UnicodeAqWjqΩO UnicodeAhnWαC÷≤αΩTA\ zΓUC

sW Unicode ΣiαvTY SELECT ⁿOGA] íWºΩTⁿvTC

\UC≤ⁿOHo ΩTC

DELETE FILESPACEEXPORT NODEGENERATE BACKUPSETIMPORT NODEQUERY BACKUPSETCONTENTSQUERY CONTENTQUERY FILESPACEQUERY NODEQUERY OCCUPANCYQUERY RESTOREREGISTER NODERENAME FILESPACEUPDATE NODE

bΩNí¼¿

ziHⁿw°AbΩA½sc¿C½scq¿ñ¼bR

úΦpM íC\HU≤ⁿOG

MOVE DATA

4 1 ≤--2000 7 δFUC≤G

Σ≈q

Y²ew≈qATivoli Storage Manager iHw∩w≤í≈]ls@ß≥≈AD≈πC

[j\αi²¡We ≈≈YεsuíB⌠⌠

δ⌡µ≈ßOíC[j\ατ[KO@qΩC

\UCsⁿOHo ΩTG

SET SUBFILE

\UC≤ⁿOHo ΩTC

DEFINE CLIENTOPTQUERY STATUS

xxii 4.2

|

|

|

|

|

|

|

|

|

|

|

|

|

|

|

|

|

|

|

|

|

|

|

|

|

|

|

|

|

Page 25: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

µíΩwΘxsΦk

YΩw@lOwbe@ TSMAϕsw]sWsA≤Tivoli Storage Manager ΩwXBµíⁿJúDCKoτ±DoAúFs D S M S E R V í D S M S E R VLOADFORMATAªw∩nⁿJΩwMΘxµíAúl]ww]C

\UCsⁿOHo ΩTG

DSMSERV LOADFORMAT

\UC≤ⁿOHo ΩTC

DSMSERV RESTORE DBDSMSERV LOADDBDSMSERV DUMPDB

xxiiiTivoli Storage Manager for HP-UX zΓU

Page 26: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

xxiv 4.2

Page 27: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

yk

íp≤\¬ΓUñC@zⁿOykC

\¬ykA≥u°⌠C\¬ΦVOq¬kAqWUC

¶ ⁿXykYC

¶ ]≤rµⁿXyk≥sU@µC

¶ ]≤rµYⁿXqe@µ≥ykC

¶ ⁿXykC

yk]pA÷ΣrG

¶ bµW]'n

¶ µWΦ]w]

¶ µUΦ]∩

ykí

[\]tídykG

YgGjgr0ϕiⁿuYgCpG@$Hjgr0XAhΣúα

YgC

ziHjgr0Bpgr0B⌠NXΣJCbñAziH⌠Njpgr

0XΘJ CMDNABCMDNAM CMDNAMEC

CMDNAme

Gz'$ϕykñ go C

* P

:

, rI

= Ñ

- Θ

( ) A

. yI

1

1Tivoli Storage Manager for HP-UX zΓU

1.

y

k

Page 28: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

GH¬Gπ] oϕCbñAvar_name ϕzb gCMDNAME ⁿO'ⁿw@C

CMDNAme var_name

½G¬ΣbYϕiH½C bYrϕz'Hrj

½C

bY]1@W¡AiDzi½C

,

repeat

,

repeat

,(1)

repeat

:

1 ⁿw½h 5 C

n∩G Y∩ ñGhABΣñ@≤u°WAϕz'ⁿw@

C

bñAz'∩ CMDNAME=ABCMDNAME=B CMDNAME=CCbÑ ]=eßú]A⌠≤ (C

CMDNAme = ABC

i∩∩G Yu°UΦ@Aϕ∩CbñAzi∩

CMDNAME=A úú∩CbñAz'∩ CMDNAME=ABCMDNAME=B CMDNAME=CCbÑ ]=eßú]A⌠≤ (C

Y∩ ñGhABí≤u°UΦAϕúO∩Cb

ñAzi∩ CMDNAME=ABCMDNAME=BBCMDNAME=C úú∩C bñAz'∩ CMDNAME=ABCMDNAME=B CMDNAME=CCbÑ ]=eßú]A⌠≤ (C

2 4.2

Page 29: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

CMDNAme = A

CMDNAme = A

BC

w]G w]≤u°WΦCúDzm½w]A htw]Czi

gu°UΦº∩ ñ∩m½w]C

bñACMDNAME=A w]Cz]iHsg CMDNAME=ABCMDNAME=B CMDNAME=CCÑ ]=eßúiH (C

CMDNAme = A

CMDNAme = ABC

i½∩G Σß≥@¬ΣºbY∩ ϕzi∩@HWA

bYípUi½µ@C bñAzi∩@HWAC@W

úHrIjC Ñ ]=eßúiH (C

,

CMDNAme = value1value2value3

ykqG Y]Σ°÷YA'NykqC&qWXbñ½

uºíC

i&qXbΣªºßAOºßC i&q

Hπ&qWYOC Xbu°WⁿO'nC

bñA&qWy&qzC

q

q:

3Tivoli Storage Manager for HP-UX zΓU

1.

y

k

Page 30: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

A

BC

4 4.2

Page 31: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

ΘJzⁿO

]tΘJezⁿO÷ΩTCzⁿO]AG

ⁿOWGⁿOWiµ@@rⁿ¿ApGHALTFi@rⁿH@½≤¿ApGDEFINE DOMAINCziHΘJπⁿOWAOⁿOºykñⁿwYgC

mGYⁿO'n∩mCm'HⁿOykñⁿ

ΘJC

pAns@hAΘJhhWBznshWA

HznⁿwWAΣpUG

copy policyset domain1 oldset newset

÷ΣrGYⁿO'n∩÷ΣrCpGⁿOñ÷ΣrAh÷Σ

r'bⁿOmºßCÑ ]=O÷ΣrMCíA@÷Σriú½≤íFOY½≤]pxshΓFⁿ

w∩]wCziΘJπ÷ΣrAOⁿOºykñOYgC

pAnJshΓíAΘJG

define domain acctg description="accounting"

ⁿOΘJWh

HUOΘJ TSM zⁿO@δWµG

¶ zibΘJµ⌠@CΘJⁿOC

¶ úDtµWwA hⁿOiHjpgr⌠NXⁿwC

¶ pG@ⁿ@CAbÑ ºß≥≥oAHrIjCpA

cLasses=policy,storage

¶ b íWA TSM rΘjpgⁿw íWC

QUERY FILESPACE ⁿOΣXTrΘC

¶ pGí]σrrΩOHµ' ' YAOt⌠≤ µÑ

Az'Hµ' ]' ' ]"NoAϕClP⌠' 'P@¼' CpApGl' µ' Ah⌠' ]'µ' C

pAnn²@W Louie sqIAKX secretANΣYJpΩTñAΘJG

2

5Tivoli Storage Manager for HP-UX zΓU

2.Θ

J

zⁿ

O

Page 32: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

register node louie secret contact="manager of dept. 61f"

UϕOH CONTACT Aϕp≤ΘJΦkCiH]t' Bt (Ñ C

íe ΘJe

manager contact=manager

manager’s contact="manager’s" contact='manager"s'

"manager" contact='"manager"' contact="""manager"""

manager’s report contact="manager’s report" contact='manager'’s report'

manager’s "report" contact='manager'’s "report"'

manager=dept. 61f contact='manager=dept. 61f'

manager reports to dept. 61f contact='manager reports to dept. 61f'

contact="manager reports to dept. 61f"

BzzⁿOTSM beIñBzzⁿOCbBzzⁿOAzN¼TºAⁿXG

¶ ⁿOO wQ¿]Ye

¶ ⁿOO we°AHBz]YI

ϕoXⁿOvT°Ai°AzΩA TSM e@hTTºCpGⁿOOq°ADxoXAqzqoXⁿw NOCONFIRM ∩

Ah TSM úeXTTºC

TSM z⌡°íes@ⁿOBzΘXµíCpGz⌡°íe

LkH⌠¡ΦíπΘXA TSM H½ΦíCπΩTC

eBzⁿO

eBzⁿwboXt@ⁿOeA'¿C@woXⁿOCbeBzⁿ

OAiHq°ADxt@zqÑq@°C

ϕzzqoX QUERY ⁿOAiαú⌡ΘXCpGoo¼pABzúnΣªΘXAhiH°πqu@ΘXC²OA°

@úεⁿOAΣuε≥πⁿOΘXC

∩YⁿOAziHⁿwO nÑ TSM beNⁿOBzªºßAAoXΣªⁿ

OC

J WAIT AziHⁿw TSM O nbe

BzUCⁿOG

6 4.2

Page 33: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

BACKUP DB

BACKUP STGPOOL

DEFINE DBVOLUME

DEFINE LOGVOLUME

DEFINE VOLUME

DELETE FILESPACE

DELETE VOLUME

EXPIRE INVENTORY

EXTEND DB

EXTEND LOG

MOVE DATA

MOVE DRMEDIA

PREPARE

REDUCE DB

REDUCE LOG

RESTORE STGPOOL

RESTORE VOLUME

VARY

IBzⁿO

IBzⁿwziHb°AbBz²eoXⁿOAΘJΣªⁿOCϕzΘJ

@IⁿOA TSM nD°A⌡µⁿOⁿX@C C@I

úⁿw@ XC CANCEL PROCESS ⁿO°úIⁿOC

QUERY PROCESS ⁿOoI¼A XCϕz°YIApGΣ b@ñAh°AεICtα*Tw

≤AúLAwTw≤húQαC

7Tivoli Storage Manager for HP-UX zΓU

2.Θ

J

zⁿ

O

Page 34: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

UCiúIⁿOCG

AUDIT LIBRARY

AUDIT LICENSES

AUDIT VOLUME

BACKUP DB

BACKUP STGPOOL

CHECKIN LIBVOLUME

CHECKOUT LIBVOLUME

DEFINE DBCOPY

DEFINE LOGCOPY

DELETE DBVOLUME

DELETE FILESPACE

DELETE LOGVOLUME

DELETE VOLUME

EXPIRE INVENTORY

EXPORT ADMIN

EXPORT NODE

EXPORT POLICY

EXPORT SERVER

EXTEND LOG

IMPORT ADMIN

IMPORT NODE

IMPORT POLICY

IMPORT SERVER

MOVE DATA

MOVE DRMEDIA

MOVE MEDIA

PREPARE

REDUCE DB

REDUCE LOG

RESTORE STGPOOL

RESTORE VOLUME

VARY

UrbYⁿOñ]pdⁿOAziUr¼ϕíAHⁿw@

HW½≤CUr±e÷znπⁿOC

zUr°oXⁿO@twCpAziHP ]*ºUr±∩⌠≤]0 ΣªrA %± ]%±∩µ@rC

ϕ1úY@tUrΩCAztUrC

ϕ 1. U ⌠Ur

⌠ ⌠N µr

AIX, UNIX, HP-UX, DOS, OS/2, SunOS,

Windows

* ?

AS/400ACMSATSO * %

pApGzQb DOMAIN1 hñdH DEV YzOAztOHP @⌠NrAhziHΘJG

query mgmtclass domain1 * dev*

8 4.2

Page 35: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

úLApGzt @ µrrAznd≤ DOMAIN1 POLICYSET1 ñzOAiHΘJG

query mgmtclass domain1 policyset1 mc?

TSM πW MC zO÷ΩTC

⌠Nrd

ϕ2πΣªUr±∩⌠NrdC

ϕ 2. ⌠Nr

¼ ú

ab* ab, abb, abxxx a, b, aa, bb

ab*rs abrs, abtrs, abrsrs ars, aabrs, abrss

ab*ef*rs abefrs, abefghrs abefr, abers

µ@rd

ϕ3πΣªUr±∩µ@rdCpGz¡xO%± ]%D ]?Ah ? i % NC.

ϕ 3. µ@r

¼ ú

ab? abc ab, abab, abzzzz

ab?rs abfrs abrs, abllrs

ab?ef?rs abdefjrs abefrs, abdefrs, abefjrs

ab??rs abcdrs, abzzrs abrs, abjrs, abkkkrs

Tivoli Storage Manager ñRWD

ϕz DEFINE ⁿOwqΩwBΘxPxseΘAeΘWRWDA°zOsCΘOH≈sCΘwCúRWoeΘ

AnϕⁿOykPWhC

RW Tivoli Storage Manager ñ½≤

TSM ¡εRW½≤rºq¼C

ziHUCrwq½≤WC

A-Z ⌠≤r0AA Z

0-9 ⌠≤rA0 9

_ u

. yI

- Θ

+ [

& «

9Tivoli Storage Manager for HP-UX zΓU

2.Θ

J

zⁿ

O

Page 36: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

: KXújpgC

UϕOπ½≤Wr°W¡C

W¼ j°

zBq∩BqIBKXB°As

B°AW

64

mOBzOBhΓB]wBϕB

ScriptB≈xs

30

eⁿOⁿOei²zNⁿOe@h°AHiµBzCzLⁿOeSAi²o

XⁿO°ANⁿOeh°AWAMß¼o°AúΘXC÷≤

p≤]wMztdⁿOehí°AA\ zΓUC

bNⁿOeΣª°AAbneⁿO°AWAz'πzv¡A

Pz ID PKXCzúα°ADxBNⁿOeΣª°AC

z'² DEFINE SERVER ⁿOAwqXC@@eⁿO°ACⁿOeⁿw°As¿°AAeⁿO]wO

°AC

ϕⁿOb°AW¿BzßAYúaπU°AΘXCíA

úaπ SERVER_A oXΘXAΣß≥π SERVER_B oXΘXCΘXñΩT]AGU°AKnTºAHíΘX°AoXC

XⁿXⁿOb°AWO Bz¿\CoXNtUC 3 Y½º@G0BERROR] WARNING]iC

eⁿOd

UCdíp≤e QUERY STGPOOL ⁿO@°ABh°AB°AsBh°AsA°AP°AsXC CñC@°A°A

s'Hr jAñíúα µC b Script eⁿOAz'N°A°AsHAAϕABñ C

eⁿOµ@°AGpGnN QUERY STGPOOL ⁿOeⁿW ASTRO °AAΘJG

astro: query stgpool

°AWß ⁿXeΩTCªS°Ar Ct@ ⁿXeΩ

TΦkOb°AWñAApG

(astro) query stgpool

eⁿOh°AGpGnN QUERY STGPOOL ⁿOeⁿW HD_QTRBMIDASBSATURN h°AAΘJG

hd_qtr,midas,saturn: query stgpool

10 4.2

Page 37: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

(hd_qtr,midas,saturn) query stgpool

pG *∩ TSM wq@°AAhⁿOe°ACñU@wwq°AC

eⁿO°AsGpGnN QUERY STGPOOL ⁿOeⁿW ADMIN °AsAΘJG

admin: query stgpool

(admin) query stgpool

pG°As ADMIN ñ¿°A SECURITYBPAYROLL P PERSONNELAhNⁿOeo°AñC

eⁿO°AsGpGnN QUERY STGPOOL ⁿOeⁿW ADMIN2 MADMIN3 Γ°AsAΘJG

admin2,admin3: query stgpool

(admin2,admin3) query stgpool

pG°As ADMIN2 ñ¿°A SERVER_ABSERVER_B P SERVER_CF°As ADMIN2 ñ¿°A ASTROBGUMBY P CRUSTYAhNⁿOe°A SERVER_ABSERVER_BBSERVER_CBASTROBGUMBY P

CRUSTYC

eⁿOΓ°AH@°AsGpGnN QUERY STGPOOL ⁿOeⁿW DEV_GROUP °AsAHⁿW MERCURY M JUPITER Γ°AAΘJG

dev_group,mercury,jupiter: query stgpool

(dev_group,mercury,jupiter) query stgpool

Y°As DEV_GROUP ñ¿°A SALESBMARKETING P STAFFAhNⁿOe°A SALESBMARKETINGBSTAFFBMERCURY P JUPITERC

b Script ñeⁿOGb Script ñeⁿOA'HA N°AP°AsAϕABñ C hAoX RUN ⁿOúeⁿOAuboX RUN ⁿO°AW⌡µⁿOC

pAnb Script ñe QUERY STGPOOL ⁿOG

1. wq@s QU_STG Script HNªe DEV_GROUP °AsG

define script qu_stg "(dev_group) query stgpool"

11Tivoli Storage Manager for HP-UX zΓU

2.Θ

J

zⁿ

O

Page 38: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

2. ⌡µ QU_STG ScriptG

run qu_stg

pG°As DEV_GROUP wgN SALESBMARKETING M STAFF T°Awqs¿Ah QUERY STGPOOL ⁿOeo°AC

12 4.2

Page 39: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

ⁿOµ

ú÷p≤ TSM P⌠zÑq@ΩTCziHq°ADxzqzⁿOµÑq@C

°ADxTSM ú@ⁿW SERVER_CONSOLE IDA²zbw TSM ºßq°

ADxz°ACbwASERVER_CONSOLE Nn²z,tv¡CziH SERVER_CONSOLE ID oXzⁿOC

πtMvziH°,sMv SERVER_CONSOLE IDCúLAzúα⌡µUCG

¶ n²≤s SERVER_CONSOLE ID¶ ΩwúΩw SERVER_CONSOLE ID¶ SERVER_CONSOLE ID ≤W¶ ú SERVER_CONSOLE ID¶ q SERVER_CONSOLE ID eⁿO

zq

zⁿOµqO@íAªOb°ABu@j¼qúW⌡µAie\

zzLzⁿOε°AC

ziHbDxBⁿBσµíñA DSMADMC ⁿOzqÑq@CbC@ íñAziHQⁿOⁿwY∩Cp ΩTA\

15yzq∩zCziH½sJrANΘX½sJCp ΩTA\17y½sJⁿOΘXzC

DxíDxí TSM íoANBzTºΘXCpAzi°αHnJ TSM qCzúαbDxíΘJ⌠≤zⁿOC

pGnbDxíñzqÑq@AΘJG

dsmadmc -consolemode

pG°AqLF¡≈τ²AúzΘJKXCpGzúntúzΘJ IDKXA -ID -PASSWORD ∩ΘJ DSMADMC ⁿOC

3

13Tivoli Storage Manager for HP-UX zΓU

3.ⁿOµ

Page 40: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

pGn² TSM NΘX½sJñAⁿw -OUTFILE ∩H@WCpAΘJG

dsmadmc -id=sullivan -password=secret -consolemode -outfile=save.out

pGnbDxíñ⌠zqÑq@A\ϕ4C

ϕ 4. ΣL⌠

UNIX Dq Ctrl+CCMS HXDOS P OS/2AWindows P Windows NT Ctrl+C, Ctrl+BreakTSO ATTN

ⁿíⁿíΓíCΘⁿíCϕÑq@bⁿíñ⌡µAzúα

ΘJ⌠≤zⁿOC

pGnbⁿíñzqÑq@AΘJG

dsmadmc -mountmode

pG°AqLF¡≈τ²AúzΘJKXCpGzúntúzΘJ IDKXA -ID -PASSWORD ∩ΘJ DSMADMC ⁿOC

pGn² TSM NΘX½sJñAⁿw -OUTFILE ∩H@WCpAΘJG

dsmadmc -id=sullivan -password=secret -mountmode -outfile=save.out

pGnbⁿíñ⌠zqÑq@A\ϕ4C

σíσíΘJµ@zⁿOCϕⁿOwQBzAzzq⌠C

pGnbσíñzqÑq@AΘJG

dsmadmc

pGzúntúzΘJ ID KXΩTAO -ID -PASSWORD ∩ΘJ DSMADMC ⁿOC

pGn² TSM NΘX½sJñAⁿw -OUTFILE ∩H@WCpAnbσíñoX QUERY NODE ⁿOABNΘX½sJSAVE.OUT AΘJG

dsmadmc -id=sullivan -password=secret -outfile=save.out query node

bσíUAz'b@µWΘJπⁿOCpGLk@µΘJⁿOAiH

¿ Script ΘJⁿOCpGzσíⁿw]tσrrΩAN¿ñσrAbµ' ]' 'ñCσíúⁿ ' C

14 4.2

Page 41: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

µíµíΘJ@tCzⁿOCbC TSM:servername > úXAziHΘJt@ⁿO½szqÑq@C

pGnHµízqÑq@A'²@i°AÑq@Cp

GzQTwz/qIÑq@º°AÑq@iAhϕUC@h¼p¿AzqµíY-G

¶ HALT ⁿOε°AC

¶ b IDLETIMEOUT °A∩ⁿwíd≥ASqzqÑq@oXⁿOC

¶ H CANCEL SESSION ⁿO°zqÑq@C

pGnbµíñzqÑq@AΘJG

dsmadmc

pGzúntúzΘJ ID KXΩTAO -ID -PASSWORD ∩ΘJ DSMADMC ⁿOC

bµíAiHs≥rCΣlΩTA\16ys≥rzC

QUIT ⁿO⌠µízqÑq@C

zq∩

bzqíUAzq∩ú∩zzqÑq@C

DSMADMC ⁿOiHⁿwUCzq∩ABA≤zqÑq@G

-DISPLaymode=LISt TABlezN QUERY ΘXjó]¿wCµíABMⁿOµ°íµeL÷C

YznΘXB -DISPLaymode ∩A½sVgJC. -OUTfile ∩C

-ID= IDⁿwz IDC

-PAssword=KXⁿwzKXC

-NOConfirmⁿwbBzvT°A°AzºΩiⁿOºeATSM ú'nDTC

-Quietⁿw TSM úb⌡WπΘXTºCúLAϕz∩AYTº

OXC

15Tivoli Storage Manager for HP-UX zΓU

3.ⁿOµ

Page 42: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

-CONsolemodeⁿw TSM bDxíñ⌡µC⌠≤*gnD°ADxΘXúz

⌡WC

-MOUNTmodeⁿw TSM bⁿíñ⌡µC°AiúCΘⁿTºúz

⌡WC

-ItemcommitⁿwbBzC@ⁿOATSM Tw Script ¿ñⁿOC

-OUTfile=WⁿwN°AdΘX½sJⁿwñCbσíñAΘX½s

JzⁿwAΘXµíPzeWΘXµíPC

bµíBDxⁿíÑq@ñAΘXπbzeWC

-OUTfileⁿwN°AdΘXµí¿Cdπ@µΘXCo∩A≤σ

íC

-COMMAdelimitedⁿwN°AdϕµΘXµí¿Hr jrΩµíAúOi¬µ

íCo∩DnO≤½sJ SQL dΘX]SELECT ⁿOCHr jµíOΩµíAªiHQ\h@δíBzA]AΓϕBΩ

wAH°iúC

-TABdelimitedⁿwN°Ad⌠≤ϕµΘXµí¿H⌡µjrΩµíAúOi¬

µíCo∩DnO≤½sJ SQL dΘX]SELECT ⁿOCH⌡µjµíOΩµíAªiHQ\h@δíBzA]AΓϕBΩ

wAH°iúC

úFBCX∩HAz]iHⁿwq∩ñ⌠≤∩CC@∩eú

'@sr AH µC

s≥rzibµízqñs≥rCϕznBzⁿO±⌡°íe

°As≥rDC

i: Ss≥rAzhiHΘJ 256 rCSs≥rAzhiHΘJ1500 rCb MACRO ⁿOñAojObwg'NºßC

pGOs≥rAziH⌡µUCBJG

¶ bzns≥rµΘJ@Θ C

pG

register admin pease mypasswd -contact="david, ext1234"

16 4.2

Page 43: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

¶ ziHbCßrI]b@µWΘJßAΘJ@útem µεu

/uA≥CC MßAbU@µΘJCñΣl]ºeúnΘJ⌠

≤ µCpG

stgpools=stg1,stg2,stg3,-stg4,stg5,stg6

¶ pGzQ≥' AϕrΩAb' ñΘJrΩ@í≈Abµ

ΘJ@εu/uC MßAbU@µΘJrΩΣlí≈AHP¼'

NΣAϕC

pG

contact="david pease, bldg. 100, room 2b, san jose,"-"ext. 1234, alternate contact-norm pass,ext 2345"

TSM sΓrΩAñíúíJ (CzuαΦk≥ε≤@µHWº' AϕrΩC

½sJⁿOΘXziH½sJ⌠≤ⁿOΘXCúLA½sJΘXjhbxsdⁿOΘXC

YdⁿOΘXiαD°A∩zÑAs²e]bYípUACL

eiα±e÷C

Y¡xΣgSϕr]pA>B>> M |½sJΘXCzibⁿOΘJ½sJrAxsⁿOΘXC½sJrNⁿOΘXJzⁿw

íAD⌡WC\HUdC

qzⁿOµq > úPΘX½sVKOuúnvb > ºßOd µC HUú½sVΘXG

SELECT * FROM NODES WHERE CLIENT_VERSION >2

: b½sJΘXAϕ⌡µzq@tRWDC

pGzn⌡µG ΘJG

bσµíñAN QUERY

DOMAIN ⁿOΘX½sJsdsmadmc -id=xxx -pa=xxx query domain acctg > dominfo.acc

µWj≤ ]>ϕ TSM NΘX½sJsA

OgsWC

bσµíñAN QUERY

DOMAIN ⁿOΘX[s

dsmadmc -id=xxx -pa=xxx query domain acctg >> dominfo.acc

Γj≤ ]>>ϕ TSM NΘX[sC

NDxíñzqÑq@

ΘXA½sJ filter.exe íñCdsmadmc -console -id=admin -password=xxx | filter.exe

]wíOTºΘXAAϕ@Apel≤

t@C

17Tivoli Storage Manager for HP-UX zΓU

3.ⁿOµ

Page 44: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

18 4.2

Page 45: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

MvOⁿO

b TSM ñA¡ zMvOG

¶ t

¶ Policy¶ xsΘ

¶ Operator¶ Analyst

Pzv¡MwziHoXzⁿOCbgL REGISTER ADMIN ⁿOn²zºßAziHoX¡ⁿOA]A$ídCϕzw TSM A°ADxOwq¿ⁿW SERVER_CONSOLE tzAPtMvC

UCUíU¼zMvAHgP∩v¡ziHoXⁿOC

ntMvⁿOb TSM ñAπtMvz¬v¡Cz@,tMvANiHoX⌠≤zⁿOAPvzhΓHxsC

4

19Tivoli Storage Manager for HP-UX zΓU

4.

M

v

O

ⁿO

Page 46: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

πtMvzA!αoXϕ5ñCXⁿOC

ϕ 5. tMvⁿO

AUDIT LICENSES

ACCEPT DATE

BEGIN EVENTLOGGING

CANCEL EXPIRATION

CANCEL PROCESS

CANCEL REQUEST

CANCEL RESTORE

COPY CLOPTSET

COPY DOMAIN

COPY PROFILE

COPY SCHEDULE]\

COPY SCRIPT

COPY SERVERGROUP

DEFINE BACKUPSET

DEFINE CLIENTACTION

DEFINE CLOPTSET

DEFINE DOMAIN

DEFINE DRIVE

DEFINE EVENTSERVER

DEFINE GRPMEMBER

DEFINE LIBRARY

DEFINE MACHINE

DEFINE MACHNODEASSOCIATION

DEFINE MACHNODEASSOCIATION

DEFINE PROFASSOCIATION

DEFINE PROFILE

DEFINE RECMEDMACHASSOCIATION

DEFINE RECOVERYMEDIA

DEFINE SCHEDULE]\C

DEFINE SCRIPT

DEFINE SERVER

DEFINE SERVERGROUP

DEFINE SPACETRIGGER

DEFINE STGPOOL

DEFINE SUBSCRIPTION

DELETE BACKUPSET

DELETE CLIENTOPT

DELETE CLOPTSET

DELETE DOMAIN

DELETE EVENTSERVER

DELETE EXIT

DELETE GRPMEMBER

DELETE MACHINE

DELETE MACHNODEASSOCIATION

DELETE PROFASSOCIATION

20 4.2

Page 47: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

ϕ 5. tMvⁿO (≥)

DELETE PROFILE

DELETE RECMEDMACHASSOCIATION

DELETE RECOVERYMEDIA

DELETE SCHEDULE]\

DELETE SCRIPT

DELETE SERVER

DELETE SERVERGROUP

DELETE SPACETRIGGER

DELETE STGPOOL

DELETE SUBSCRIBER

DELETE SUBSCRIPTION

DISABLE EVENTS

ENABLE EVENTS

END EVENTLOGGING

EXPIRE INVENTORY

EXPORT ADMIN

EXPORT NODE

EXPORT POLICY

EXPORT SERVER

GENERATE BACKUPSET

GRANT AUTHORITY

IMPORT ADMIN

IMPORT NODE

IMPORT POLICY

IMPORT SERVER

INSERT MACHINE

LOCK ADMIN

LOCK PROFILE

MOVE DRMEDIA

MOVE GRPMEMBER

NOTIFY SUBSCRIBERS

PING SERVER

PREPARE

QUERY BACKUPSETCONTENTS

QUERY RPFCONTENT

RECONCILE VOLUMES

REGISTER ADMIN

REGISTER LICENSE

REMOVE ADMIN

RENAME ADMIN

RENAME SCRIPT

RENAME SERVERGROUP

RENAME STGPOOL

REVOKE AUTHORITY

RUN

21Tivoli Storage Manager for HP-UX zΓU

4.

M

v

O

ⁿO

Page 48: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

ϕ 5. tMvⁿO (≥)

SET ACCOUNTING

SET ACTLOGRETENTION

SET AUTHENTICATION

SET CLIENTACTDURATION

SET CONFIGMANAGER

SET CONFIGREFRESH

SET CROSSDEFINE

SET CONTEXTMESSAGING

SET DRMCHECKLABEL

SET DRMCOPYSTGPOOL

SET DRMCOURIERNAME

SET DRMDBBACKUPEXPIREDAYS

SET DRMCMDFILENAME

SET DRMFILEPROCESS

SET DRMINSTRPREFIX

SET DRMNOTMOUNTABLENAME

SET DRMPLANPREFIX

SET DRMPLANVPOSTFIX

SET DRMPRIMSTGPOOL

SET DRMRPFEXPIREDAYS

SET DRMVAULTNAME

SET EVENTRETENTION

SET MINPWLENGTH

SET PASSEXP

SET QUERYSCHEDPERIOD

SET RANDOMIZE

SET REGISTRATION

SET RETRYPERIOD

SET SCHEDMODES

SET SERVERHLADDRESS

SET SERVERLLADDRESS

SET SERVERNAME

SET SERVERPASSWORD

SET SERVERURL

SET WEBAUTHTIMEOUT

SETOPT

UNLOCK ADMIN

UNLOCK PROFILE

UPDATE ADMIN

UPDATE BACKUPSET

UPDATE CLIENTOPT

UPDATE CLOPTSET

UPDATE LIBVOLUME

UPDATE MACHINE

UPDATE PROFILE

UPDATE RECOVERYMEDIA

UPDATE SCRIPT

UPDATE SERVER

UPDATE SERVERGROUP

UPDATE SPACETRIGGER

UPDATE VOLHISTORY

: ⁿXⁿOPzv¡¡εCuzⁿOϕntMvCq@ϕnthMvC

22 4.2

Page 49: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

nhMvⁿOπhMvziHoX÷≤hz½≤ⁿOAphΓBh

BzOBsHϕCziHzhΓO πtM

vzPv¡wC

¡πhMvzAziL¡ε¡εhMvC

L¡εhMv1\zoXnhMv$ízⁿOCzioXvT$í

shΓHb*wq⌠≤hΓⁿOCL¡εhzLkwqBR

úBshΓC

¡εhMv1\zoXvT@hwTv,zhΓzⁿOC

pADELETE MGMTCLASS ⁿOnzπzOhΓhMvC

πhMvzA!αoXϕ6ñCXⁿOC

ϕ 6. hMvⁿO

ACTIVATE POLICYSET

ASSIGN DEFMGMTCLASS

COPY MGMTCLASS

COPY POLICYSET

COPY SCHEDULE ]\ 2

DEFINE ASSOCIATION

DEFINE BACKUPSET

DEFINE COPYGROUP

DEFINE CLIENTACTION

DEFINE MGMTCLASS

DEFINE POLICYSET

DEFINE SCHEDULE

DELETE ASSOCIATION

DELETE BACKUPSET

DELETE COPYGROUP

DELETE EVENT]\ 2

DELETE FILESPACE

DELETE MGMTCLASS

DELETE POLICYSET

DELETE SCHEDULE]\ 2

GENERATE BACKUPSET

LOCK NODE

REGISTER NODE

REMOVE NODE

RENAME FILESPACE

RENAME NODE

SET SUMMARYRETENTION

QUERY BACKUPSETCONTENTS

UNLOCK NODE

UPDATE BACKUPSET

UPDATE COPYGROUP

UPDATE DOMAIN

UPDATE MGMTCLASS

UPDATE NODE

UPDATE POLICYSET

UPDATE SCHEDULE]\ 2

VALIDATE POLICYSET

23Tivoli Storage Manager for HP-UX zΓU

4.

M

v

O

ⁿO

Page 50: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

ϕ 6. hMvⁿO (≥)

N:

1. ⁿXⁿOihΓ,H¡εC∩≤ⁿwhΓL¡εhMvA¡ε

hMvziHoXⁿOC

2. ⁿXⁿOPzv¡¡εCuzⁿOϕntMvCq@

ϕnthMvC

nxsΘMvⁿOπxsΘMvziHoXtmHε°AεΩ ⁿOCziH

oXⁿOO πtMvºPv¡wC¡xsΘMv

zAziL¡ε¡εxsΘMvC

L¡εxsΘMv1\zoXnxsΘMv$íⁿOCzioXvT$ís

xsH*wq⌠≤xsCz]iHoXvTΩwHΘxⁿOCB

¡εxsΘzLkwqRúxsC

¡εxsΘMv1\zoXvTPzv¡xszCpADELETEVOLUME ⁿOvTwqⁿwxsxseΘC

24 4.2

Page 51: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

πxsΘMvzA!αoXϕ7ñCXⁿOC

ϕ 7. xsΘMvⁿO

AUDIT LIBRARY

AUDIT VOLUME]\

BACKUP DB

BACKUP DEVCONFIG

BACKUP STGPOOL

BACKUP VOLHISTORY

CHECKIN LIBVOLUME

CHECKOUT LIBVOLUME

DEFINE DBBACKUPTRIGGER

DEFINE DBCOPY

DEFINE DBVOLUME

DEFINE DEVCLASS

DEFINE DRIVE

DEFINE DRIVEMAPPING

DEFINE LIBRARY

DEFINE LOGCOPY

DEFINE LOGVOLUME

DEFINE VOLUME]\

DEFINE SPACETRIGGER

DELETE DBBACKUPTRIGGER

DELETE DBVOLUME

DELETE DEVCLASS

DELETE DRIVE

DELETE DRIVEMAPPING

DELETE LIBRARY

DELETE LOGVOLUME

DELETE SPACETRIGGER

DELETE VOLHISTORY

DELETE VOLUME]\

EXTEND DB

EXTEND LOG

MOVE DATA]\

REDUCE DB

REDUCE LOG

RESTORE STGPOOL

RESTORE VOLUME

UPDATE DBBACKUPTRIGGER

UPDATE DEVCLASS

UPDATE DRIVE

UPDATE DRIVEMAPPING

UPDATE LIBRARY

UPDATE SPACETRIGGER

UPDATE STGPOOL]\

: ⁿXⁿOiHxs,H¡εC∩≤ⁿwºxsπL¡εxsΘMvA¡εxsΘMvziHoXⁿOC

n@MvⁿOπ@MvziHoXε°AY@HWíiⁿOC

25Tivoli Storage Manager for HP-UX zΓU

4.

M

v

O

ⁿO

Page 52: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

π@MvzA!αoXϕ8ñCXⁿOC

ϕ 8. @MvⁿO

CANCEL SESSION

DISABLE SESSIONS

DISMOUNT VOLUME

ENABLE SESSIONS

HALT

MOVE DRMEDIA

REPLY

UPDATE VOLUME

VARY

nRMvⁿOπRMvzAiHoX½]l°ApºpⁿOC

πRMvzA!αoXϕ9ñCXⁿOC

ϕ 9. RMvⁿO

RESET BUFPOOL

RESET DBMAXUTILIZATION

RESET LOGCONSUMPTION

RESET LOGMAXUTILIZATION

26 4.2

Page 53: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

⌠≤zúαoXⁿOϕ10CX⌠≤n²ºzAúO *vⁿwºzMvzíioXⁿOC

ϕ 10. $ízoXⁿO

COMMIT

ISSUE MESSAGE

HELP

MACRO

QUERY ACTLOG

QUERY ADMIN

QUERY ASSOCIATION

QUERY AUDITOCCUPANCY

QUERY BACKUPSET

QUERY CONTENT

QUERY COPYGROUP

QUERY DB

QUERY DBBACKUPTRIGGER

QUERY DBVOLUME

QUERY DEVCLASS

QUERY DOMAIN

QUERY DRIVE

QUERY DRMEDIA

QUERY DRMSTATUS

QUERY ENABLED

QUERY EVENT

QUERY EVENTRULES

QUERY EVENTSERVER

QUERY FILESPACE

QUERY LICENSE

QUERY LIBRARY

QUERY LIBVOLUME

QUERY LOG

QUERY LOGVOLUME

QUERY MACHINE

QUERY MGMTCLASS

QUERY MOUNT

QUERY NODE

QUERY OCCUPANCY

QUERY OPTION

QUERY POLICYSET

QUERY PROCESS

QUERY PROFILE

QUERY RECOVERYMEDIA

27Tivoli Storage Manager for HP-UX zΓU

4.

M

v

O

ⁿO

Page 54: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

ϕ 10. $ízoXⁿO (≥)

QUERY REQUEST

QUERY RESTORE

QUERY RPFILE

QUERY SCHEDULE

QUERY SCRIPT

QUERY SERVER

QUERY SERVERGROUP

QUERY SESSION

QUERY SPACETRIGGER

QUERY SQLSESSION

QUERY STATUS

QUERY STGPOOL

QUERY SUBSCRIBER

QUERY SUBSCRIPTION

QUERY SYSTEM

QUERY VOLHISTORY

QUERY VOLUME

QUIT

ROLLBACK

SELECT

SET SQLDATETIMEFORMAT

SET SQLDISPLAYMODE

SET SQLMATHMODE

28 4.2

Page 55: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

zⁿO

í Tivoli Storage Manager zⁿO

C@ⁿOΩT]AG

¶ @ⁿO⌡µu@í

¶ ²ⁿO'nzMvO

¶ O'nBi∩ⁿOyk

¶ C@ⁿOí

¶ kN]pAϕ

¶ ⁿOºd

¶ PⁿO÷C

5

29Tivoli Storage Manager for HP-UX zΓU

5.

z

ⁿO

Page 56: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

ACCEPT DATE]ⁿµtΘⁿOi²°AbLΘPíANµΘPí°CL

ΘiαO±°AwΘMí≤¡ΘC

pA]aAziαnoXⁿOH½]°AíC

ApG°AoΘíLAh°AÑq@Y¿¼A]pPoX

DISABLE SESSIONS ⁿOδC ]ALBαB¼MeΘRú@NLk

≥BzC

bzoXoⁿO½s°AHiµqIíßA ENABLESESSIONS ⁿOC

MvO

pGnoXoⁿOA'πtMvC

yk

ACCept Date

LC

d

@

e\°AⁿµΘANª°ΘC

ⁿO: ⁿΘ

÷ⁿO

ϕ 11. P ACCEPT DATE ÷ⁿO

ⁿO í

ENABLE SESSIONS b⌡µ DISABLE ⁿO ACCEPT DATE ⁿO

ºß½sl°AíC

ACCEPT DATE

30 4.2

Page 57: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

ACTIVATE POLICYSET ]shoⁿONhsΓ ACTIVE hC°A ACTIVE hñWhzΓñq@CziH@hΓwqhhA²u

@hiHO@ñC ϕzoXoⁿOAµ ACTIVE hQzⁿwhm½Czuαt@h!α∩ ACTIVE hC

bhºeA VALIDATE POLICYSET ⁿOdhOπC

pGHU¼pAh ACTIVATE POLICYSET ⁿOó G

¶ sNxsⁿwaC

¶ zONxsⁿw ízaC

¶ hSw]zOC

ACTIVE hMß@hú@wn$PCziH∩zhAúvT ACTIVE hC

MvO

pGnoXoⁿOAz'tMvBL¡εhMvOh

hΓ¡εhMvC

yk

ACTivate POlicyset domain_name policy_set_name

domain_name]n

ⁿwznªhhΓC

policy_set_name]n

ⁿwnhC

d

@

EMPLOYEE_RECORDS hΓñ VACATION hC

ⁿO: activate policyset employee_records vacation

÷ⁿO

ϕ 12. P ACTIVATE POLICYSET ÷ⁿO

ⁿO í

COPY POLICYSET hC

DEFINE POLICYSET wqⁿwhΓºhC

ACTIVATE POLICYSET

31Tivoli Storage Manager for HP-UX zΓU

5.

z

ⁿO

Page 58: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

ϕ 12. P ACTIVATE POLICYSET ÷ⁿO (≥)

ⁿO í

DELETE POLICYSET hΓRú@hA]Aªz

OHsC

QUERY DOMAIN πhΓ÷ΩTC

QUERY POLICYSET πh÷ΩTC

UPDATE POLICYSET ≤híC

VALIDATE POLICYSET bhºeAz'°≤º

τH°iC

ACTIVATE POLICYSET

32 4.2

Page 59: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

ASSIGN DEFMGMTCLASS]ⁿww]zOoⁿONzOⁿwhw]zOCbhºeAz'

ⁿw@A≤hw]zOCFTOq@wiH≈OsA

∩P]tOssM≈sw]zOC

ϕzO*ⁿwúAXA°Aw]zOzqC

pAϕSbJúCñⁿwzOA°Aw]zOC

\ zΓU Ho C

MvO

pGnoXoⁿOAz'tMvBL¡εhMvOh

hΓ¡εhMvC

yk

ASsign DEFMGmtclass domain_name policy_set_name class_name

domain_name]n

ⁿwzOhΓC

policy_set_name]n

ⁿwznΣⁿww]zOhCzLkNw]zOⁿw ACTIVE hC

class_name]n

ⁿwn@hºw]zOzOC

d

@

b PROG1 hΓN DEFAULT1 ⁿwh SUMMER w]zOC

ⁿO: assign defmgmtclass prog1 summer default1

÷ⁿO

ϕ 13. P ASSIGN DEFMGMTCLASS ÷ⁿO

ⁿO í

ACTIVATE POLICYSET τhC

DEFINE COPYGROUP wqsH≈OsⁿwzOº

BzC

DEFINE MGMTCLASS wqzOC

DEFINE POLICYSET wqⁿwhΓºhC

DELETE MGMTCLASS hΓHhRú@zOH

ªsC

QUERY COPYGROUP π@ssC

QUERY MGMTCLASS πzO÷ΩTC

ASSIGN DEFMGMTCLASS

33Tivoli Storage Manager for HP-UX zΓU

5.

z

ⁿO

Page 60: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

ϕ 13. P ASSIGN DEFMGMTCLASS ÷ⁿO (≥)

ⁿO í

QUERY POLICYSET πh÷ΩTC

UPDATE COPYGROUP ≤s@hC

UPDATE MGMTCLASS ≤zOC

VALIDATE POLICYSET bhºeAz'°≤º

τH°iC

ASSIGN DEFMGMTCLASS

34 4.2

Page 61: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

AUDIT LIBRARY]τíwwsoⁿOTw°AweΘwsPΩWbíwñeΘ@PC

pG TSM X⌠≤ú@PA°A≤sªwsAH/MXCΘwµ¼AC

TSM Rú≥óeΘAB≤sLeΘmC TSM úsWeΘFz'

CHECKIN LIBVOLUME ⁿOJseΘC

oⁿOiεCΘwiµ⌠≤ΣªíAoI¿εCpAb⌡µ

oⁿOAúα⌠≤AowXnDC

MvO

pGnoXoⁿOAz'tMvL¡εxsΘMvC

yk

AUDIT LIBRary library_nameCHECKLabel = Yes

CHECKLabel = YesBarcode

library_name]n

ⁿwn]CΘwWC

CHECKLabelⁿwb]CΘwBzíAp≤dxseΘCo°XΩTA≤ SCSI CΘwA²úA≤ 3494 CΘwC w] YESCiαG

Yesⁿw TSM dC@eΘAHτeΘ¡≈C

Barcodeⁿw TSM °X¬≈¬xseΘC°Xε#]BzíC

: pGyLk¬°XA°X≥óAh TSM ⁿJ≈ñaH¬C

d

@

Tw EZLIFE íwP TSM °AweΘwsO@P¼AC

ⁿO: audit library ezlife

÷ⁿO

ϕ 14. P AUDIT LIBRARY ÷ⁿO

ⁿO í

CANCEL PROCESS °I°ABzC

DEFINE LIBRARY wqíΓíwC

AUDIT LIBRARY

35Tivoli Storage Manager for HP-UX zΓU

5.

z

ⁿO

Page 62: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

ϕ 14. P AUDIT LIBRARY ÷ⁿO (≥)

ⁿO í

DELETE LIBRARY RúwC

DISMOUNT VOLUME ÷eΘWúⁿBiúeΘC

QUERY LIBRARY π@hw÷ΩTC

QUERY LIBVOLUME π@weΘ÷ΩTC

QUERY PROCESS πI÷ΩTC

UPDATE LIBRARY ≤wC

AUDIT LIBRARY

36 4.2

Page 63: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

AUDIT LICENSES]]°AxsΘkoⁿO]qI°AxsΘAB]°AvC]P

µtmO Pv°C

]@IBzAziH CANCEL PROCESS ⁿONª°CpGzñε°AMß½sASET LICENSEAUDITPERIOD ⁿOⁿw⌡µ]CpGn°]GA QUERY LICENSE ⁿOC

i: °AxsΘ]iα\h CPU íCziH AUDITSTORAGE°A∩ⁿwún]xsΘC

MvO

pGnoXoⁿOA'πtMvC

yk

AUDit LICenses

LC

d

@

oX AUDIT LICENSES ⁿOC

ⁿO: audit licenses

÷ⁿO

ϕ 15. P AUDIT LICENSES ÷ⁿO

ⁿO í

CANCEL PROCESS °I°ABzC

QUERY AUDITOCCUPANCY πqI°AxsΘqC

QUERY LICENSE πvH]÷ΩTC

QUERY PROCESS πI÷ΩTC

QUERY STATUS π°A]wAp SET ⁿO∩w

C

REGISTER LICENSE ∩ TSM °An²svC

SET LICENSEAUDITPERIOD ⁿwv]ºíC

AUDIT LICENSES

37Tivoli Storage Manager for HP-UX zΓU

5.

z

ⁿO

Page 64: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

AUDIT VOLUME]τ@xseΘΩwΩToⁿOdΩwΩTHxseΘºíO ú@PCb]íA°A

eBzΩTíΘxP°ADxC

ϕ]b@AqúαqⁿweΘΩA]úαNsΩxs

eΘC

pG°AABzΦí eΘxs¼BⁿO

O ⁿw FIX ∩AHO ]xsbⁿwΣªxseΘWwC

pGbqDnxsRúeΘAhzLk]eΘC

pG TSM *OlaAh½]¼AAiHC

YnπxseΘe÷ΩTA QUERY CONTENT ⁿOC

ⁿOúºIi CENCEL PROCESS ⁿO°CpGnπ÷IΩTA QUERY PROCESS ⁿOC

MvO

pGnoXoⁿOAz'wqeΘxstMvAL¡εxsΘMv

¡εxsΘMvC

yk

AUDit Volume volume_nameFix = No

Fix = NoYes

SKIPPartial = No

SKIPPartial = NoYes

Quiet = No

Quiet = NoYes

volume_name]n

ⁿwzn]xseΘWC

Fixⁿw TSM p≤MΩwwsPⁿwxseΘºíú@PC∩C w] NOC

TSM ⌡µ@O NeΘⁿwDnxswC

AUDIT VOLUME

38 4.2

Page 65: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

DxsG

: pG AUDIT VOLUME ⁿO*²ewOlaAh TSM½]¼AAiHCpGTw]iwΘDPp

aY(A@úla¼A½s]wΦíC

Fix=NoTSM °i]²úRúú@PΩwO²C

¶ TSM bΩwñNlaCpG≈OxsbxsñAz

iH RESTORE VOLUME RESTORE STGPOOL ⁿOC

¶ pGAz'oX AUDIT VOLUME ⁿOⁿwFIX=YES RúeΘñCpGΩΘúOABxsbxsñAzi RESTORE VOLUME RESTORESTGPOOL ⁿOC

Fix=YesTSM ⌠≤ú@PG

¶ pGΩΘOATSM RúΩwO²CDn

xsbt@eΘC

¶ pGΩΘúOAB@hxsñ]xsAh°

iANΩwñΩΘlaCziH RESTOREVOLUME RESTORE STGPOOL ⁿOΩΘC

¶ pGΩΘúOAB*xsbxsñAhqΩw

RúC@ú@PΦC

: pG⌡µBz]RESTORE STGPOOL RESTORE VOLUMEúnH FIX=YES AUDIT VOLUME ⁿOCAUDIT VOLUME ⁿOPúπC

xsG

Fix=NoTSM °iABNΩwñΩΘOlaC

Fix=YesTSM Rú⌠≤∩ΩΘAHⁿVúsbΩΘ⌠≤ΩwO

²C

SKIPPartialⁿw TSM O ñwñA]NO≤VhxseΘC ∩C w] NOCbsCΘeΘW⌡µ]@AiHεⁿΣªsCΘ]⌠≤ñLCiαG

NoTSM ]≤VheΘC

AUDIT VOLUME

39Tivoli Storage Manager for HP-UX zΓU

5.

z

ⁿO

Page 66: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

úDzⁿw SKIPPARTIAL=YESA h TSM BzC@xs≤eΘñ

A]AiX≤VΣªeΘCpGn]≤VheΘAUC°

≤'uG

¶ ∩≤seΘAΣªseΘ'π¬/g¬síC

¶ ∩≤H≈seΘAΣªeΘ'buWC

YesTSM u]xsbn]eΘñCñL¼AúC

Quietⁿw TSM O NeΘWLkX TºAíΘxH°AD

xC∩C w] NOCiαG

Noⁿw TSM e TºPJCC@Tº]tIB íH

qWC

Yesⁿw TSM eJ°iC

d

@

τxseΘ PROG2 ΩwΩTPeΘWxsΩ@PCTSM ⌠≤ú@

PC

ⁿO: audit volume prog2 fix=yes

÷ⁿO

ϕ 16. P AUDIT VOLUME ÷ⁿO

ⁿO í

CANCEL PROCESS °I°ABzC

QUERY CONTENT πxseΘñ÷ΩTC

QUERY PROCESS πI÷ΩTC

QUERY VOLUME πxseΘ÷ΩTC

AUDIT VOLUME

40 4.2

Page 67: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

BACKUP DB ]≈ΩwoⁿON TSM Ωw≈seΘWC

pGnP≈nh#Bxs íA QUERY DB ⁿOCoⁿOπqW≈Hwg≤Ωw]H MB µC

MvO

pGnoXoⁿOAz'tMvL¡εxsΘMvC

yk

BAckup DB DEVclass = device_class_nameType = Incremental

Type = IncrementalFullDBSnapshot

,

VOLumenames = volume_nameFILE: file_name

Scratch = Yes

Scratch = YesNo

Wait = No

Wait = NoYes

DEVclass]n

ⁿw≈ºsmOWC

b⌡µ≈ApGomO≈úbúLñAh TSM °u²

C@]p¼@AHKX≈ í≈C

¼

ⁿwn⌡µ≈¼C∩C w]O INCREMENTALCiαG

Incrementalⁿwzn⌡µ TSM ΩwWí≈Czibπ≈ºí⌡µWí≈

h 32C

Fullⁿwzn⌡µ TSM Ωwπ≈C

DBSnapshotⁿwzn⌡µπ Snapshot Ωw≈CΩwπeúQsAB@s Snapshot Ωw≈AúñΩwsπWí≈tCC

BACKUP DB

41Tivoli Storage Manager for HP-UX zΓU

5.

z

ⁿO

Page 68: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

VOLumenames

ⁿw≈ΩweΘC∩C ⁿw SCRATCH=NO A'ⁿweΘCC

volume_nameⁿw≈ΩweΘCⁿwheΘAΦkOr NWjAñíú

d µC

FILE:filenameⁿw]tH≈ΩweΘCWCC@eΘWú'búPµ

ñCHP l µPµúQBzC

pApGneΘ DB0001BDB0002 M DB0003A@ⁿWTAPEVOL AΣñ]tUCUµG

DB0001DB0002DB0003

zipUCⁿOⁿweΘ:

VOLUMENAMES=FILE:TAPEVOL

ScratchⁿweΘO iH@≈C∩C w] YESCiαG

YesⁿweΘiHC

pGzⁿw SCRATCH=YES H VOLUMENAMES AuϕⁿweΘWSi íATSM !eΘC

pGzú VOLUMENAMES J@≈eΘCAz'ⁿwSCRATCH=YES w]C

NoⁿwLkeΘC

pGz VOLUMENAMES SCRATCH=NO ⁿweΘA²ⁿweΘoS¼≈i íxs≈ΩAh≈Nó C

WaitⁿwO Ñ°Abe¿Bz¿ⁿOC w] NOCiαG

Noⁿw°AbIBzⁿOCBzⁿOAziH≥⌡µΣª@CI

úTºπbíΘx°ADxñA°O²TºbaΦ

wC

CANCEL PROCESS ⁿOAiH°IBzCpG° BACKUP DB IAYΩwiαb°ºew≈C

Yesⁿw°AbeBzⁿOCⁿO¿ßA!α≥⌡µΣª@CⁿO¿

A°AVzqπΘXTºC

BACKUP DB

42 4.2

Page 69: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

: zúαq°ADxⁿw Wait=YesC

d

@

eΘ⌡µΩwWí≈C]≈mO FILEC

ⁿO: backup db devclass=file type=incremental

÷ⁿO

ϕ 17. P BACKUP DB ÷ⁿO

ⁿO í

BACKUP DEVCONFIG N TSM mΩT≈C

BACKUP VOLHISTORY NeΘΩTO²íC

CANCEL PROCESS °I°ABzC

DEFINE DBBACKUPTRIGGER wqí TSM Ωw≈oⁿOC

DELETE VOLHISTORY eΘúheΘΩTC

QUERY DB πΩw÷tmΩTC

QUERY DBBACKUPTRIGGER πΩw≈oⁿO÷ΩTC

QUERY PROCESS πI÷ΩTC

QUERY VOLHISTORY πHg°A¼eΘΩTC

SET LOGMODE ]wΘxñxsO²íC

UPDATE DBBACKUPTRIGGER ≤Ωw≈oⁿO@hC

BACKUP DB

43Tivoli Storage Manager for HP-UX zΓU

5.

z

ⁿO

Page 70: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

BACKUP DEVCONFIG ]mtmΩTº≈oⁿO≈@hñUCΩTG

¶ mOwq

¶ CΘwwq

¶ ≈wq

pGn TSM ΩwAN'mtmΩTiC

ziH DEVCONFIG °A∩ⁿw@hxsmtmΩTC C

wqB≤sRúϕmOBCΘw≈A TSM N≤sC

MvO

pGnoXoⁿOAz'tMvL¡εxsΘMvC

yk

BAckup DEVCONFig

,

Filenames= filename

FilenamesⁿwxsmtmΩTCziHⁿwhAΦkONWHr

jABñíS µC∩C

pGzSⁿwWATSM NΩTxs DEVCONFIG ∩]b°A∩ñⁿwñC

d

@

≈mtmΩT DEVICEC

ⁿO: backup devconfig filenames=device

÷ⁿO

ϕ 18. P BACKUP DEFCONFIG ÷ⁿO

ⁿO í

DEFINE DEVCLASS wqmOC

DEFINE DRIVE ⁿw≈wC

DEFINE LIBRARY wqíΓíwC

UPDATE DEVCLASS ≤mOC

UPDATE DRIVE ≤≈C

UPDATE LIBRARY ≤wC

BACKUP DEVCONFIG

44 4.2

Page 71: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

BACKUP STGPOOL ]NDxs≈≤xsoⁿONDxs≈xsCpGwgbxsñAh

ú≈AúDNxsñOlaCúLApGDxsñ

]OOlaAhúsC bH≈sxsñAú≈α

laDnC

pGbxs≈ílαxsAYb≈ºeNwgQαC ziαn

b≈CÑhxsºeA≈αÑh¬xsCpAϕz⌡µxs

≈HasxseA]]xsÑhºG*¿Aiα

*sxsñCNNÑAípYo½°Cϕz∩hx

s⌡µxs≈AzÑDxs¿ßAl∩Uxs⌡µ≈C

MvO

pGnoXoⁿOAz'tMvúBL¡εxsΘMv¡εx

sbú≈xsΘMvC

yk

BAckup STGpool primary_pool_name copy_pool_name

MAXPRocess = 1

MAXPRocess = number

Preview = No

Preview = NoYes

(1)VOLumesonly

Wait = No

Wait = NoYes

:

1 A≤xsC

primary_pool]n

ⁿwDxsC

copy_pool]n

ⁿwxsC

MAXPRocessⁿw¡µBz≈jC∩C ΘJ 1 999 ºíCw] 1C

BACKUP STGPOOL

45Tivoli Storage Manager for HP-UX zΓU

5.

z

ⁿO

Page 72: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

h½B¡µBziαWi≈úqC iwOAh½ε#⌡

µxs≈íCúLAbY⌡µh½A@hnÑ

QúP≈eΘC

bMwoAqiHMo@ΦPΩΘ≈CFs

seΘATSM ⁿIApGm¼úO FILEAhΩΘ≈C iⁿIP≈O Σª TSM MtíAH≈ñAsxsmOºⁿI¡εC

C@nxseΘⁿIABpGm¼úO FILEAhC@]n@≈CpGz≈OxsAC@n@Dxs

eΘBⁿIApGm¼úO FILEANnB≈C pA]zⁿwh 3 ANDnxs≈PmOxsC C@n 2 ⁿIH 2 ≈CpGn⌡µ$íTAmOⁿI¡ε#'O 6AB#' 6 ⁿIM 6 ≈iHC

pGnw²≈Au@Aún⌠≤ⁿI≈C

PreviewⁿwzO nw²ú⌡µ≈Cw²πn≈PAHz

'ⁿDxseΘCC∩C w] NOCiαG

Noⁿw≈w¿C

Yesⁿwznw²≈A²ún⌡µ≈C

VOLumesonlyⁿwznw²≈A²unw²'ⁿeΘCCo∩Bzí

#C

WaitⁿwO Ñ°Abe¿Bz¿ⁿOC ∩C w] NOCiαG

Noⁿw°AbIBzⁿOC

BzⁿOAziH≥⌡µΣª@CIBzúTºπbíΘ

x°ADxATºOⁿmMwC

CANCEL PROCESS ⁿOAiH°IBzCpGz°oAYiαwgb°e≈¿C

Yesⁿw°Abe⌡µo@Cz'Ñ@¿A!α≥Σª@Cϕ

@¿A°ANΘXTºπzqC

: zúαq°ADxⁿw WAIT=YesC

BACKUP STGPOOL

46 4.2

Page 73: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

d

@

NⁿW PRIMARY_POOL Dxs≈ⁿW COPYSTG xsC

ⁿO: backup stgpool primary_pool copystg

÷ⁿO

ϕ 19. P BACKUP STGPOOL ÷ⁿO

ⁿO í

CANCEL PROCESS °I°ABzC

MOVE DRMEDIA N DRM CΘaHaC

QUERY DRMEDIA πNeΘ÷ΩTC

QUERY PROCESS πI÷ΩTC

QUERY STGPOOL πxs÷ΩTC

RESTORE STGPOOL xsDxsC

RESTORE VOLUME xsxsbDñⁿweΘ

C

BACKUP STGPOOL

47Tivoli Storage Manager for HP-UX zΓU

5.

z

ⁿO

Page 74: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

BACKUP VOLHISTORY ]xseΘΩToⁿONeΘΩT≈@hñCϕz½sⁿJΩwA

ziHeΘΩTAB]ⁿvTxseΘCpGzLk°AAi

HeΘdΩwñ÷oeΘΩTCeΘ]AUCeΘ¼

÷ΩTG

¶ Ωw≈eΘ

¶ ΩwXeΘ

¶ XeΘ

¶ UCsxseΘG

v sWxseΘ

v zL¼ MOVE DATA @½seΘ

v Q DELETE VOLUME ⁿOOb¼eΘúeΘ

ziH VOLUMEHISTORY °A∩ⁿw@heΘC C≤°AeΘΩTATSM N≤seΘC

MvO

pGnoXoⁿOAz'tMvL¡εxsΘMvC

yk

BAckup VOLHistory

,

Filenames= file_name

Filenamesⁿw@hWxseΘΩT≈Cr NhWjA

ñíúd µC∩C

pGzSⁿwWATSM NΩTxs VOLUMEHISTORY ∩]b°A∩ñⁿwñC

d

@

NeΘΩT≈ VOLHISTC

ⁿO: backup volhistory filenames=volhist

BACKUP VOLHISTORY

48 4.2

Page 75: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

÷ⁿO

ϕ 20. P BACKUP VOLHISTORY ÷ⁿO

ⁿO í

DELETE VOLHISTORY eΘúheΘΩTC

DELETE VOLUME xsRúeΘC

QUERY VOLHISTORY πHg°A¼eΘΩTC

UPDATE VOLHISTORY sW≤eΘñeΘmΩTC

BACKUP VOLHISTORY

49Tivoli Storage Manager for HP-UX zΓU

5.

z

ⁿO

Page 76: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

BEGIN EVENTLOGGING]lO²≤oⁿOlN≤O²@h¼CwlO²≤¼O@ñ

¼C

°AAw∩DxMíΘxH °A∩ñn²

¼Al≤O²CziHoⁿOlO²≤¼Ab°A

Aú≤O²Cbz∩@h¼≤O²ßA]iH

oⁿOC

MvO

pGnoXoⁿOA'πtMvC

yk

BEGin EVentlogging

ALL

,

CONSOLEACTLOGEVENTSERVERFILEFILETEXTSNMPTIVOLIUSEREXIT

ⁿw@h¼CziHⁿwh¼AΦkONªHr jAñíS

µCpGzⁿwu$ívAhlO²tm¼Cw] ALLC

ALLⁿwwtmniµ≤O²¼C

CONSOLEN°ADxⁿw¼C

ACTLOGN TSM íΘxⁿw¼C

EVENTSERVERN≤°Aⁿw¼C

FILENⁿw¼C C@O²≤úOñ@ºO²A]A⌠≤

HúLk ÷\¬C@ºO²≤C

FILETEXTNⁿw¼C C@O²≤úOTwjpi¬µC

BEGIN EVENTLOGGING

50 4.2

Page 77: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

SNMPNuí⌠⌠zqH≤w]SNMPvⁿw¼C

TIVOLINuTivoli z⌠]TMEvⁿw¼C

USEREXITN ADSM gJΩT gíⁿw¼C

d

@

lO²≤ TSM íΘxC

ⁿO: begin eventlogging actlog

÷ⁿO

ϕ 21. BEGIN EVENTLOGGING ÷ⁿO

ⁿO í

DISABLE EVENTS ¼Sw≤C

ENABLE EVENTS ¼Sw≤C

END EVENTLOGGING εN≤O²ⁿw¼C

QUERY ENABLED π∩Sw¼≤C

QUERY EVENTRULES π°AHq°A÷WhΩ

TC

QUERY STATUS π°A]wAp SET ⁿO∩w

C

BEGIN EVENTLOGGING

51Tivoli Storage Manager for HP-UX zΓU

5.

z

ⁿO

Page 78: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

CANCEL EXPIRATION]°LoⁿO°]wsL@⌡µC

MvO

pGnoXoⁿOA'πtMvC

yk

CANcel EXPIration

d

@

°wsL@úC

ⁿO: cancel expiration

÷ⁿO

ϕ 22. CANCEL EXPIRATION ÷ⁿO

ⁿO í

QUERY PROCESS πI÷ΩTC

EXPIRE INVENTORY µwsLBzC

CANCEL EXPIRATION

52 4.2

Page 79: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

CANCEL PROCESS ]°zⁿOH°zⁿOI] OxsαC

HUⁿOúIBzG

AUDIT LIBRARY

AUDIT LICENSES

AUDIT VOLUME

BACKUP DB

BACKUP STGPOOL

CHECKIN LIBVOLUME

CHECKOUT LIBVOLUME

DEFINE DBCOPY

DEFINE LOGCOPY

DELETE DBVOLUME

DELETE FILESPACE

DELETE LOGVOLUME

DELETE VOLUME

EXPIRE INVENTORY

EXPORT ADMIN

EXPORT NODE

EXPORT POLICY

EXPORT SERVER

EXTEND LOG

IMPORT ADMIN

IMPORT NODE

IMPORT POLICY

IMPORT SERVER

MOVE DATA

MOVE DRMEDIA

PREPARE

REDUCE DB

REDUCE LOG

RESTORE STGPOOL

RESTORE VOLUME

VARY

HUí°A@úIBzG

¶ wsL

¶ α

¶ ¼

Yn°Az' XAziH QUERY PROCESS ⁿOoC

pGzn°eÑⁿsCΘAⁿnD°C

MvO

pGnoXoⁿOA'πtMvC

yk

CANcel PRocess process_number

CANCEL PROCESS

53Tivoli Storage Manager for HP-UX zΓU

5.

z

ⁿO

Page 80: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

process_number]n

ⁿwzn°I XC

d

@

°I XC

ⁿO: cancel process 3

÷ⁿO

ϕ 23. P CANCEL PROCESS ÷ⁿO

ⁿO í

QUERY PROCESS πI÷ΩTC

CANCEL PROCESS

54 4.2

Page 81: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

CANCEL REQUEST ]°@hⁿnDⁿO°@hmCΘⁿnDCYn°ⁿnDAzDⁿw

nDnD XC o XO]AbⁿnDTºñAPi QUERY REQUESTⁿOπC

MvO

pGnoXoⁿOAz'tMv@MvC

yk

CANcel REQuest request_numberALl PERManent

request_numberⁿwn°ⁿnDnDs C

ALlⁿwn°mⁿnDC

PERManentⁿwzµ°AN°ⁿeΘLkC∩C

d

@

°nDs 2C

ⁿO: cancel request 2

÷ⁿO

ϕ 24. P CANCEL REQUEST ÷ⁿO

ⁿO í

QUERY REQUEST π$ímⁿnD÷ΩTC

UPDATE VOLUME ≤sxseΘC

CANCEL REQUEST

55Tivoli Storage Manager for HP-UX zΓU

5.

z

ⁿO

Page 82: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

CANCEL RESTORE]°i½sºÑq@oⁿO°i½sºÑq@CziH°B≤@ñi½s

¼AÑq@CPoÑq@÷*¿ⁿnDN°C

pGnπi½sÑq@A QUERY RESTORE ⁿOC

MvO

noXoⁿOAA'πtMv@MvC

yk

CANcel RESTore session_numberALl

session_numberⁿwi½sºÑq@ XCñÑq@OAi½s

Ñq@hOtC

ALlⁿwn°i½sÑq@C

d

@ 1

°@C

ⁿO: cancel restore all

÷ⁿO

ϕ 25. P CANCEL RESTORE ÷ⁿO

ⁿO í

QUERY RESTORE πi½sºÑq@÷ΩTC

CANCEL RESTORE

56 4.2

Page 83: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

CANCEL SESSION ]°@qÑq@oⁿO°szqIÑq@ABjε⌠ TSM zqIÑq@CPoÑq@÷*¿ⁿnDN°CqI

'@sÑq@ TSMíC

pGz°B≤ómÑ]IdleW¼AñÑq@AUqÑq@½sleΩAª½ss°AC

pGoⁿO@]p≈OsAhbñIºe@Bzú

αABú∩ΩwTwC

MvO

noXoⁿOAA'πtMv@MvC

yk

CANcel SEssion session_numberALl

session_numberⁿwn°zqIÑq@s C

ALlⁿwn°qIÑq@Czúα°zqÑq

@C

d

@

°π NODEP qIÑq@]Ñq@ 3C

ⁿO: cancel session 3

÷ⁿO

ϕ 26. P CANCEL SESSION ÷ⁿO

ⁿO í

DISABLE SESSIONS εsqs TSM A²1\sÑq

@≥C

LOCK ADMIN εzs TSM C

LOCK NODE εqs°AC

QUERY SESSION π∩ TSM @ñzMqÑq

@÷ΩTC

CANCEL SESSION

57Tivoli Storage Manager for HP-UX zΓU

5.

z

ⁿO

Page 84: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

CHECKIN LIBVOLUME ]NxseΘJCΘwoⁿOiNsxeΘ«basWiíCΘw]ú]A

ííCΘwCoⁿOq°AeΘiCgoⁿOJe

ΘºeA°AOúΩWnbíwñeΘC

: CHECKIN LIBVOLUME ⁿOBzúÑ≈¿iAY≈uOB≤uómv¼AC'nA' DISMOUNT VOLUME ⁿONeΘúⁿA²w≈iC@,CΘw≈iAziH½soX CHECKINLIBVOLUMEⁿOC

ⁿOúºIi CENCEL PROCESS ⁿO°CpGnπ÷IΩTA QUERY PROCESS ⁿOC

MvO

pGnoXoⁿOAz'tMvL¡εxsΘMvC

CHECKIN LIBVOLUME

58 4.2

Page 85: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

yk

SCSI CΘw

CHECKIn LIBVolume library_nameSEARCH = No

volume_nameSEARCH = Yes

ASEARCH = Bulk

STATus = PRIvateSCRatchCLEaner

CHECKLabel = Yes

CHECKLabel = YesNoBarcode

SWAP = No

SWAP = NoYes

MOUNTWait = 60

MOUNTWait = value

CLEanings = number

A (SEARCH=Yes):

VOLRange = volume_name1,volume_name2,

VOLList = volume_nameFILE: file_name

CHECKIN LIBVOLUME

59Tivoli Storage Manager for HP-UX zΓU

||

|

|||||||||||||||||||||||||||||||||||||||||||||

||||||||||||||||||||||||||||||||||||||||||||||

||||||||||||||||||||||||||||||||||||||||||||||

|||||||||||||||||

|

|

|||||||||||||||||||||||||||||||||||||

||||

5.

z

ⁿO

Page 86: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

yk

349X CΘw

CHECKIn LIBVolume library_nameSEARCH = No

volume_nameSEARCH = Yes

A

STATus = PRIvateSCRatch

CHECKLabel = Yes

CHECKLabel = Yes DEVType = CARTridgeNo 3590

SWAP = No

SWAP = NoYes

MOUNTWait = 60

MOUNTWait = value

A (SEARCH=Yes):

VOLRange = volume_name1,volume_name2,

VOLList = volume_nameFILE: file_name

library_name]n

ⁿwwWC

volume_nameⁿwnJxseΘeΘWCpG SEARCH Ñ≤ NO hCpGSEARCH Ñ≤ YES BULKA.ΘJC

STATus]n

ⁿweΘ¼ACiαG

PRIvateⁿweΘMeΘAªubWnD!ⁿC

CHECKIN LIBVOLUME

60 4.2

||

|

||||||||||||||||||||||||||||||||||||||

|||||||||||||||||

|||||||||||||||||||||||||||||||||||||||

|||||||||||||||||||||||||||||||||||||||||||||||

|

|

|||||||||||||||||||||||||||||||||||||

||||

|

Page 87: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

SCRatchⁿweΘO@seΘeΘCseΘibΩxsΘ@X

@íⁿAHí¼lⁿnDC

CLEanerⁿweΘOMzXDΩXCMzXn CLEANINGS AB']w¿MzXC

: C H E C K L A B E L = Y E S ∩≤JMzXLCMzX'

STATUS=CLEANERAqΩXOJC

SEARCHⁿw°AO njMwAMΣ *JeΘC∩C w]

NOC

iαG

NoⁿwuNⁿWeΘJwC∩≤ SCSI CΘwíA°AoX@nDAnNeΘíJwaXAiαAíJwiX≡C a

XiX≡OªOC ÷≤ ΩTA\

http://www.tivoli.com/support/storage_mgr/tivolimain.htmlC

Yesⁿw°AjMwAMΣnJeΘC VOLRange VOLList ¡εjMd≥C

:

1. Ywbíºí@Aϕ∩'pC °AiHdt@ínDeΘC ∩≤ 349X CΘwA°AdwεµAPwⁿww SCRATCHBPRIVATE INSERT eΘC

2. N SCSI CΘwÑA.bP@ⁿOñPⁿw SEARCH=YES PCHECKLABEL=NOC

Bulkⁿw°AjMwuiXv≡AMΣiHJeΘC o∩u

≤ SCSI CΘwC

: .Pⁿw CHECKLABEL=NO M SEARCH=BULKC

VOLRange

ⁿweΘWd≥AHr jCϕzⁿw SEARCH=YES AiQo¡εjMC

: oA≤ 349X M SCSI CΘwC VOLList DnuLoXnJeΘCN SCSI CΘwÑAnD CHECKLabel=BARCODEC

CHECKIN LIBVOLUME

61Tivoli Storage Manager for HP-UX zΓU

|

|

5.

z

ⁿO

Page 88: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

zuαⁿwiHΦíWeΘWCúFWAeΘWñi]t

r rApG

í

volrange=bar110,bar130 J 21 eΘG

bar110Bbar111Bbar112,...bar129Bbar130C

volrange=bar11a,bar13a J 3 eΘGbar11aBbar12aBbar13aC

volrange=123400,123410 J 11 eΘG

123400B123401B...123409B123410C

VOLListbⁿOñCXnBzeΘCϕzⁿw SEARCH=YES AiQo¡εjMC

: A≤ 349X M SCSI CΘwC VOLList DnuLoXnJeΘCN SCSI CΘwÑAnD CHECKLabel=BARCODEC

iαG

volume_nameⁿw≤ⁿO@hWCdG VOLLIST=TAPE01BTAPE02C

FILE:file_nameⁿw]tⁿOeΘCWCbAC@eΘW'búP

µCtúBzHP Y (µMµCpApGneΘ

TAPE01BTAPE02 M TAPE03A@ TAPEVOL ABΣñ]tUCUµG

TAPE01TAPE02TAPE03

zibⁿOñⁿweΘApUGVOLLIST=FILE:TAPEVOLC

: WjpgC

CHECKLabelⁿw°Ap≤O n¬eΘCΘC∩C w]

YESC

:

1. N SCSI CΘwÑA.bP@ⁿOñPⁿw SEARCH=YES P

CHECKLABEL=NOC

2. N 349X CΘwÑAziHⁿw CHECKLABEL=NO KⁿJaXa≈¬CΘC ow@waXWíΩTA TSM

C

iαG

YesⁿwϕiµJn¬CΘC

CHECKIN LIBVOLUME

62 4.2

|

|

|

|

|

|

|

|

|

Page 89: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

NoⁿwbJíú¬CΘCúLAϕεdiαP*o

]pAúϕeΘiαy¿C

Barcodeϕw°X¬≈ABeΘwKW°XAⁿw°Ah¬°

XCziH°Xε#JíC

oA≤ SCSI CΘwCpGno∩Az'ⁿw SEARCH=YESC

Y°X¬≈Lk¬w°XAa*KW°XAhJⁿO

NaⁿJ≈¬íC

DEVTypeⁿwnJeΘm¼CA≤t 3590 m 349X CΘwC i

αG

3590ⁿwJñeΘ≤ 3590 m¼C

SWAPⁿwϕS wíiA°AO nµ½aXC∩C w]

NOC

bⁿOñⁿweΘWºß!ACiαG

Noⁿw°Aub íi!JeΘC

YesⁿwϕS íiA°Aµ½aXHJeΘC

: µ½@]µ½eΘ∩eΘqwhXABm½¿nJeΘC°AdieΘOµ½eΘC pGSe

ΘsbA°AⁿX#ⁿeΘC

MOUNTWaitⁿwÑxseΘⁿCpGeΘSbⁿwíⁿAh°ⁿ

nDCⁿwq 0 9999 ºíπCw] 60 C∩C

CLEaningsΘJOMzX (qϕbaXW)C Cleanings A≤ SCSI CΘwCpG STATUS=CLEANERAh'nC

: pGN@HWMzXJwAu@QAΣ CLEANINGSε#sεCMß∩t@MzXABiHX≤@Mz

XC

CHECKIN LIBVOLUME

63Tivoli Storage Manager for HP-UX zΓU

|

|

|

|

|

|

|

|

|

|

|

|

|

5.

z

ⁿO

Page 90: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

d

@ 1

NⁿW WPDV00 eΘJⁿW AUTO SCSI CΘwC

ⁿO:

checkin libvolume auto wpdv00 status=scratch

@ 2

y SCSI CΘwW AUTOLIB1 °X¬≈MΣMzX CLNVCSEARCH=YESA² VOLLIST ¡εjMC

ⁿO:

checkin libvolume autolib1 search=yes vollist=cleanv status=cleanercleanings=10 checklabel=barcode

@ 3

y 349X CΘw ABC ¡εjM*eΘ bar110 bar130 d≥ANª]w¼AC

ⁿO:

checkin libvolume abc search=yes volrange=bar110,bar130 status=scratch

@ 4

°X¬≈y SCSI CΘw MYLIB ñ VOL1ANª]w¼AC

ⁿO:

checkin libvolume mylib vol1 search=yesstatus=scratch checklabel=barcode

÷ⁿO

ϕ 27. P CHECKIN LIBVOLUME ÷ⁿO

ⁿO í

AUDIT LIBRARY Tw@íwOB≤@P¼AC

CANCEL PROCESS °I°ABzC

CHECKOUT LIBVOLUME NxseΘXíwC

DEFINE LIBRARY wqíΓíwC

DEFINE VOLUME ⁿweΘⁿwxsºxsΘC

DISMOUNT VOLUME ÷eΘWúⁿBiúeΘC

LABEL LIBVOLUME weΘC

QUERY LIBRARY π@hw÷ΩTC

QUERY LIBVOLUME π@weΘ÷ΩTC

QUERY PROCESS πI÷ΩTC

UPDATE LIBVOLUME ≤xseΘ¼AC

CHECKIN LIBVOLUME

64 4.2

||

Page 91: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

CHECKOUT LIBVOLUME ]NxseΘXCΘwoⁿOqíw°AwsúhsxseΘC

: CHECKOUT LIBVOLUME ⁿOBzúÑ≈¿iAY≈uOB≤uómv¼AC'nAi DISMOUNT VOLUME ⁿONeΘúⁿA²w≈iC@,≈iAKi½soX CHECKOUTLIBVOLUME ⁿOC

ⁿOúºIi CENCEL PROCESS ⁿO°CpGnπ÷IΩTA QUERY PROCESS ⁿOC

MvO

pGnoXoⁿOAz'tMvL¡εxsΘMvC

yk

SCSI CΘw

CHECKOut LIBVolume library_name volume_name

REMove = Yes

REMove = YesNoBulk

CHECKLabel = Yes

CHECKLabel = YesNo

FORCE = No

FORCE = NoYes

CHECKOUT LIBVOLUME

65Tivoli Storage Manager for HP-UX zΓU

||

|

|||||||||||

||||||||||||||||||||||||||||||||||||||||||||||||||||||

|||||||||||||||||||||||||||||

||||

5.

z

ⁿO

Page 92: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

yk

349X CΘw

CHECKOut LIBVolume library_name volume_nameREMove = Yes

REMove = YesNo

CHECKLabel = Yes

CHECKLabel = YesNo

FORCE = No

FORCE = NoYes

library_name]n

ⁿwwWC

volume_nameⁿweΘWCoO SCSI P 3494 w'nC

REMoveⁿwO q°AwhXeΘC∩C w] YESCiαG

YesⁿwNeΘmJjq I/O C°Aq°AwwsRúeΘC

: REMOVE=YES P REMOVE=BULK ∩ºí@tºC REMOVE=YESúzqSwúaXAoX REPLY ⁿOC REMOVE=BULKⁿXaXbmCªúnD]ún REPLY ⁿOC

N REMOVE=YES REMOVE=BULK ΓÑATSM ⌡µUϕ

@C

ϕ 28. TSM p≤ REMOVE=YES REMOVE=BULK

pGw . . . h . . .

SiX≡ TSM ΓaXdbwµbTº

ñⁿwC

iX≡BiX≡i TSM ΓaXiiX≡bTºñⁿ

w≡C

iX≡A²S≡i TSM ΓaXdbwµAbT

ºñⁿwC

CHECKOUT LIBVOLUME

66 4.2

||

|

||||||||||||||||||||||||||||||||||

||||||||||||||||||||||||||||||||||||||||||||||||||||

||||

|

|

|

|

|

|

||

||

||

|

||

|

||

||

Page 93: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

NoⁿwúnhXeΘC°Aq°AwwsRúeΘAOdw

ñeΘΣªíC

Bulk∩≤πhuiXv≡ SCSI CΘwAoⁿOⁿwNeΘhXU@iuiXv≡C

: N REMOVE=BULK ÑATSM ⁿXaXbmA²ªún]ún

D REPLY ⁿOC

CHECKLabelⁿw°Ap≤O n¬eΘCΘC∩C w]

YESCiαG

Yesⁿw°A¬CΘAHτXeΘOTC

NoⁿwbXíú¬CΘC≤¬úoAαMW[C

FORCEⁿwb¬YoΘJ/ΘX]I/OA°AO XeΘC∩C w] NOCiαG

Nob¬Yo I/O A°AúXxseΘC

YesY I/O A°A2XxseΘC

d

@

ⁿW FOREST wXⁿW EXB004 eΘC

ⁿO: checkout libvolume forest exb004

÷ⁿO

ϕ 29. P CHECKOUT LIBVOLUME ÷ⁿO

ⁿO í

AUDIT LIBRARY Tw@íwOB≤@P¼AC

CANCEL PROCESS °I°ABzC

CHECKIN LIBVOLUME NxseΘJíwC

DEFINE LIBRARY wqíΓíwC

DEFINE VOLUME ⁿweΘⁿwxsºxsΘC

LABEL LIBVOLUME weΘC

QUERY LIBRARY π@hw÷ΩTC

QUERY LIBVOLUME π@weΘ÷ΩTC

QUERY PROCESS πI÷ΩTC

CHECKOUT LIBVOLUME

67Tivoli Storage Manager for HP-UX zΓU

|

|

|

5.

z

ⁿO

Page 94: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

ϕ 29. P CHECKOUT LIBVOLUME ÷ⁿO (≥)

ⁿO í

UPDATE LIBVOLUME ≤xseΘ¼AC

CHECKOUT LIBVOLUME

68 4.2

Page 95: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

CLEAN DRIVE]Mz≈ϕzn TSM YⁿJMzX≈ñAúMzWvAoⁿOC

: .∩ SCSI CΘwⁿOA]o CΘwbmwΘñvMz\α]pA STK 9710BIBM 3570 IBM 3575C

MvO

pGnoXoⁿOAz'tMvL¡εxsΘMvC

yk

CLEAN DRIVE library_name drive_name

library_name]n

ⁿX≈ⁿwCΘwWC

drive_name]n

ⁿX≈WC

d

@

zwg DEFINE LIBRARY ⁿOwqF@ⁿW AUTOLIB CΘwCq°AbCΘwñ TAPEDRIVE3 nMzC

ⁿO: clean drive autolib tapedrive3

÷ⁿO

ϕ 30. P DEFINE DRIVE ÷ⁿO

ⁿO í

CHECKIN LIBVOLUME NxseΘJíwC

CHECKOUT LIBVOLUME NxseΘXíwC

DEFINE DRIVE ⁿw≈wC

DEFINE LIBRARY wqíΓíwC

DELETE DRIVE wRú≈C

QUERY DRIVE π≈÷ΩTC

UPDATE DRIVE ≤≈C

CLEAN DRIVE

69Tivoli Storage Manager for HP-UX zΓU

5.

z

ⁿO

Page 96: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

COMMIT ]εTw¿ñⁿOoⁿOε≤nTw¿ñⁿOABbⁿO¿Bz≤sΩwCq

zqDxíoXAoⁿOúúTºC

pGbBz¿ñⁿOoA°AεBz¿ABα⌠≤≤]

W COMMIT HßCbTwⁿOºßALkαC

pGznεⁿOBzATwzzqÑq@*H ITEMCOMMIT ∩⌡µCITEMCOMMIT ∩bBzC@ⁿOAq Script ¿ñoXⁿOC

MvO

⌠≤zíiHoXⁿOC

yk

COMMIT

LC

d

@

qzqµííAⁿW REG.ADM ¿n²BPszv¡Cb

C@zúwn²BPv¡ßA!Tw≤C

¿eG

/* REG.ADM-n²hz&Pv¡*/REGister Admin sara hobbyGRant AUTHority sara CLasses=PolicyCOMMIT /* Tw≤ */REGister Admin ken planeGRant AUTHority ken CLasses=PolicyCOMMIT /* Tw≤ */

ⁿO: macro reg.adm

÷ⁿO

ϕ 31. P COMMIT ÷ⁿO

ⁿO í

MACRO ⌡µⁿw¿C

ROLLBACK ≤ß@⌡µ COMMIT ßA⌠≤∩Ωw

*Tw≤C

COMMIT

70 4.2

|

Page 97: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

CONVERT ARCHIVE]i²q÷ídOsⁿOtXí∩∩iⁿOµ API q∩≤Os²dCHeAAPI úα⌡µdA² 3.0 ≤¬ () ⁿOµqhi⌡µdA²eúOI#nq GUI n²°A@C∩≤C@Iun⌡µ@o α½C

Y*oXⁿOAGUI ≈Osqi⌡µ≤vdC

MvO

YnoXⁿOAz∩≤qhΓA'πtMvBL¡εhM

vhMvC

yk

CONVert Archive node_nameWait = No

Wait = NoYes

node_name]n

ⁿwnα½IWCWúi]t⌠≤UrC

WaitⁿwO Ñ°Abe¿Bz¿ⁿOC∩Cw] NOCiαG

Noⁿw°AbIBzⁿOC

Yesⁿw°AbeBzⁿOC

: zúαq°ADxⁿw WAIT=YesC

d

@

∩qI JAN ⌡µIα½G

ⁿO: convert archive jan wait=no

÷ⁿO

L

CONVERT ARCHIVE

71Tivoli Storage Manager for HP-UX zΓU

|

|

|

|

|

|

|

|

|

|

|||||||||||||||||||||||||||||||||

|

|

|

|

|

|

|

|

|

|

|

|

|

|

|

||

|

|

5.

z

ⁿO

Page 98: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

COPY CLOPTSET]sq∩oⁿOsq∩C

MvO

YnoXⁿOAz'πtMvBL¡εhMvqIºⁿw

hΓ¡εhMvC

yk

COPy CLOptset current_option_set_name new_option_set_name

current_option_set_name]n

ⁿwznsq∩WC

new_option_set_name]n

ⁿwsq∩WCWj°64rC

d

@

Nq∩ ENG ssq∩ ENG2C

ⁿO: copy cloptset eng eng2

÷ⁿO

ϕ 32. P COPY CLOPTSET ÷ⁿO

ⁿO í

DEFINE CLIENTOPT sWq∩q∩C

DEFINE CLOPTSET wqq∩C

DELETE CLIENTOPT q∩Rúq∩C

DELETE CLOPTSET Rúq∩C

QUERY CLOPTSET πq∩÷ΩTC

UPDATE CLIENTOPT ≤sq∩XC

UPDATE CLOPTSET q∩íC

COPY CLOPTSET

72 4.2

Page 99: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

COPY DOMAIN ]s@hΓoⁿOhΓC°ANUCΩTssΓG

¶ hΓí

¶ hΓñh]pGwghAh]A ACTIVE h

¶ bC@hñzO]pGwⁿwAh]Aw]zO

¶ CzOñs

MvO

pGnoXoⁿOA'πtMvC

yk

COPy DOmain current_domain_name new_domain_name

current_domain_name]n

ⁿwnshΓC

new_domain_name]n

ⁿwshΓWCWj° 30 rC

d

@

NhΓ PROG1 s¿shΓ PROG2C

ⁿO: copy domain prog1 prog2

÷ⁿO

ϕ 33. P COPY DOMAIN ÷ⁿO

ⁿO í

ACTIVATE POLICYSET τhC

COPY MGMTCLASS zOC

DEFINE COPYGROUP wqsH≈OsⁿwzOº

BzC

DEFINE DOMAIN wqiⁿwqhΓC

DEFINE MGMTCLASS wqzOC

DEFINE POLICYSET wqⁿwhΓºhC

DELETE COPYGROUP RúhΓHh≈Os

sC

DELETE DOMAIN RúhΓH⌠≤hΓñh½

≤C

DELETE MGMTCLASS hΓHhRú@zOH

ªsC

COPY DOMAIN

73Tivoli Storage Manager for HP-UX zΓU

5.

z

ⁿO

Page 100: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

ϕ 33. P COPY DOMAIN ÷ⁿO (≥)

ⁿO í

QUERY COPYGROUP π@ssC

QUERY DOMAIN πhΓ÷ΩTC

QUERY MGMTCLASS πzO÷ΩTC

QUERY POLICYSET πh÷ΩTC

REGISTER NODE wq@q°AB]w

∩C

UPDATE COPYGROUP ≤s@hC

UPDATE DOMAIN ≤hΓC

UPDATE MGMTCLASS ≤zOC

UPDATE POLICYSET ≤híC

VALIDATE POLICYSET bhºeAz'°≤º

τH°iC

COPY DOMAIN

74 4.2

Page 101: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

COPY MGMTCLASS]szOoⁿOP@hzOC°ANUCΩTss

zOG

¶ zOí

¶ wqzOs

¶ HSM qz

MvO

pGnoXoⁿOAz'πszOhΓtMvBL¡ε

hMv¡εhMvC

yk

COPy MGmtclass domain_name policy_set_name

current_class_name new_class_name

domain_name]n

ⁿwzOhΓC

policy_set_name]n

ⁿwzOhC

current_class_name]n

ⁿwnszOC

new_class_name]n

ⁿwszOWCWj° 30 rC

d

@

NzO ACTIVEFILES s¿szO FILEHISTORYCzOObEMPLOYEE_RECORDS hΓh VACATION ñC

ⁿO:

copy mgmtclass employee_records vacationactivefiles filehistory

÷ⁿO

ϕ 34. P COPY MGMTCLASS ÷ⁿO

ⁿO í

DEFINE COPYGROUP wqsH≈OsⁿwzOº

BzC

COPY MGMTCLASS

75Tivoli Storage Manager for HP-UX zΓU

5.

z

ⁿO

Page 102: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

ϕ 34. P COPY MGMTCLASS ÷ⁿO (≥)

ⁿO í

DELETE MGMTCLASS hΓHhRú@zOH

ªsC

QUERY COPYGROUP π@ssC

QUERY MGMTCLASS πzO÷ΩTC

QUERY POLICYSET πh÷ΩTC

UPDATE COPYGROUP ≤s@hC

UPDATE MGMTCLASS ≤zOC

COPY MGMTCLASS

76 4.2

Page 103: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

COPY POLICYSET]shoⁿOsP@hΓh]]A ACTIVE hC°ANUCΩTsshG

¶ hí

¶ bhzO]pGⁿwAh]Aw]zO

¶ CzOñs

MvO

pGnoXoⁿOAz'πshhΓtMvBL¡εh

MvA¡εhMvC

yk

COPy POlicyset domain_name current_set_name new_set_name

domain_name]n

ⁿwhhΓC

current_set_name]n

ⁿwnshC

new_set_name]n

ⁿwshWCWj° 30 rC

d

@

Nh VACATION s EMPLOYEE_RECORDS hΓñshHOLIDAY ñC

ⁿO: copy policyset employee_records vacation holiday

÷ⁿO

ϕ 35. P COPY POLICYSET ÷ⁿO

ⁿO í

ACTIVATE POLICYSET τhC

COPY MGMTCLASS zOC

DEFINE MGMTCLASS wqzOC

DELETE POLICYSET hΓRú@hA]Aªz

OHsC

QUERY POLICYSET πh÷ΩTC

UPDATE POLICYSET ≤híC

VALIDATE POLICYSET bhºeAz'°≤º

τH°iC

COPY POLICYSET

77Tivoli Storage Manager for HP-UX zΓU

5.

z

ⁿO

Page 104: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

COPY PROFILE]s]wbtmzíWoⁿON]wΣ÷½≤Ws¿s]wC

MvO

pGnoXoⁿOA'πtMvC

yk

COPy PROFIle current_profile_name new_profile_name

current_profile_name]n

ⁿwns]wC

new_profile_name]n

ⁿws]wWC]wWj° 30 rC

d

@

NW VAL ]wAsW VAL2 s]wñC

ⁿO: copy profile val val2

÷ⁿO

ϕ 36. P COPY PROFILE ÷ⁿO

ⁿO í

DEFINE PROFASSOCIATION s½≤P]wC

DEFINE PROFILE eΩTz°Awq]wC

DEFINE SUBSCRIPTION ²ⁿz°A]wC

DELETE PROFASSOCIATION Rú½≤P]wsC

DELETE PROFILE tmzíRú]wC

DELETE SUBSCRIBER Rúw@oⁿz°AC

DELETE SUBSCRIPTION Rúⁿw]wC

LOCK PROFILE εtm]weC

NOTIFY SUBSCRIBERS q°A½sπzΣtmΩTC

QUERY PROFILE πtm]w÷ΩTC

QUERY SUBSCRIBER πPΣ∩]wº÷ΩTC

QUERY SUBSCRIPTION π]w÷ΩTC

SET CONFIGMANAGER ⁿX°AO tmzíC

UNLOCK PROFILE Ωw]wiHz°AC

UPDATE PROFILE ≤]wíC

COPY PROFILE

78 4.2

Page 105: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

COPY SCHEDULE]sqzⁿOϕoⁿOϕC

COPY SCHEDULE ⁿOA O A≤q@zⁿOΓ µíCC µíykPíOwqC

COPY SCHEDULE

79Tivoli Storage Manager for HP-UX zΓU

5.

z

ⁿO

Page 106: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

COPY SCHEDULE -- q COPY SCHEDULE ⁿOq@@≈ϕCziHshΓϕAOq@hΓst@hΓC D E F I N EASSOCIATION ⁿO÷psϕPqIC

MvO

pGnsqϕAz'πsϕºhΓtMvBL¡ε

hMv¡εhMvC

yk

COPy SCHedule current_domain_name current_sched_name new_domain_name

current_sched_name

new_sched_name

REPlace = No

REPlace = NoYes

current_domain_name]n

ⁿw]tznsϕhΓWC

current_sched_name]n

ⁿwznsϕWC

new_domain_name]n

ⁿwznssϕahΓWC

new_sched_nameⁿwsϕWCzhiHWⁿw 30 rC

pGúⁿwoWAhlϕWC

pGwgbhΓñwqϕWAhⁿw REPLACE=YESA hⁿOóC

REPlaceⁿwO nm½qϕCw] NOCo]AG

Noⁿwúm½qϕC

Yesⁿwnm½qϕC

d

@

COPY SCHEDULE-- q

80 4.2

Page 107: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

N≤hΓ EMPLOYEE_RECORDS WEEKLY_BACKUP ϕs PROG1hΓABRWsϕ WEEKLY_BACK2CpGwb PROG1 hΓwqWϕAún,Hm½C

ⁿO:

copy schedule employee_records weekly_backupprog1 weekly_back2

COPY SCHEDULE-- q

81Tivoli Storage Manager for HP-UX zΓU

5.

z

ⁿO

Page 108: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

COPY SCHEDULE -- zⁿO COPY SCHEDULE ⁿOúzⁿOϕC

MvO

pGnszⁿOϕAz'πtMvC

yk

COPy SCHedule current_sched_name new_sched_name Type = Administrative

REPlace = No

REPlace = NoYes

current_schedule_name]n

ⁿwznsϕWC

new_schedule_name]n

ⁿwsϕWCzhiHWⁿw 30 rC

pGwgwqϕWAhⁿw REPLACE=YESA hⁿOóC

Type=AdministrativeⁿwnQszⁿOϕC

REPlaceⁿwO nm½zⁿOϕCw] NOCo]AG

Noⁿwúnm½zⁿOϕC

Yesⁿwnm½zⁿOϕC

d

@

szⁿOϕ DATA_BACKUPABNϕⁿW DATA_ENGCpGwgWPϕAh,Hm½C

COPY SCHEDULE -- zⁿO

82 4.2

Page 109: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

ⁿO:

copy schedule data_backup data_engtype=administrative replace=yes

÷ⁿO

ϕ 37. P COPY SCHEDULE ÷ⁿO

ⁿO í

DEFINE ASSOCIATION NqPϕ÷pC

DEFINE SCHEDULE wqq@zⁿOC

DELETE SCHEDULE ΩwRúC

QUERY SCHEDULE πϕ÷ΩTC

UPDATE SCHEDULE ≤C

COPY SCHEDULE -- zⁿO

83Tivoli Storage Manager for HP-UX zΓU

5.

z

ⁿO

Page 110: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

COPY SCRIPT]s Tivoli Storage Manager ScriptoⁿON TSM Script s¿s ScriptC

MvO

pGnoXoⁿOAA'π@BhBxsΘtMvC

yk

COPy SCRipt current_script_name new_script_name

current_script_name]n

ⁿwzns Script WC

new_script_name]n

ⁿws Script WCzhiHWⁿw 30 rC

d

@

N Script TESTDEV s¿s ScriptABNªⁿW ENGDEVC

ⁿO: copy script testdev engdev

÷ⁿO

ϕ 38. P COPY SCRIPT ÷ⁿO

ⁿO í

DEFINE SCRIPT N Script wq TSM °AC

DELETE SCRIPT Rú Script Rú Script ñOrµC

QUERY SCRIPT π Script ÷ΩTC

RENAME SCRIPT N Script ≤WsWC

RUN ⌡µ ScriptC

UPDATE SCRIPT ≤sW Script rµC

COPY SCRIPT

84 4.2

Page 111: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

COPY SERVERGROUP]s°AsoⁿO°AsC

MvO

pGnoXoⁿOA'πtMvC

yk

COPy SERVERGRoup current_group_name new_group_name

current_group_name]n

ⁿwns°AsC

new_group_name]n

ⁿws°AsWCΣ°W¡O 64 rC

d

@

s°As GRP_PAYROLL ss HQ_PAYROLLC

ⁿO: copy servergroup grp_payroll hq_payroll

÷ⁿO

ϕ 39. P COPY SERVERGROUP ÷ⁿO

ⁿO í

DEFINE GRPMEMBER wq°A@Y°As¿C

DEFINE SERVER wqu°A∩°AvqH°AC

DEFINE SERVERGROUP wqs°AsC

DELETE GRPMEMBER °AsRúY°AC

DELETE SERVER Rú°AwqC

DELETE SERVERGROUP Rú°AsC

MOVE GRPMEMBER °As¿C

QUERY SERVER π°A÷ΩTC

QUERY SERVERGROUP π°As÷ΩTC

RENAME SERVERGROUP ≤°AsWC

UPDATE SERVER ≤s°A÷ΩTC

UPDATE SERVERGROUP ≤s°AsC

COPY SERVERGROUP

85Tivoli Storage Manager for HP-UX zΓU

5.

z

ⁿO

Page 112: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

DEFINE ASSOCIATION ]sϕPqIoⁿON@hqPϕ÷pCqI'ⁿwϕ

hΓCqI MI÷pϕBz@C

: b¿ñApGYⁿO]p REGISTER NODE H DEFINE ASSOCIATIONSbzoXⁿOTwAh°AiαεCzi@ COMMIT ⁿOϕC@¿ⁿOCúLAµMΦOH D S M A D M C ⁿOJ

-ITEMCOMMIT ∩C

MvO

pGn⌡µo@Az'πUCΣñ@MvOG

¶ tMv

¶ L¡εhMvA

¶ ∩ϕºhΓ¡εhMv

yk

DEFine ASSOCiation domain_name schedule_name

,

node_name

domain_name]n

ⁿXϕhΓWC

schedule_name]n

ⁿwznH@hq÷pϕWC

node_name]n

ⁿwnPSwϕ÷pqIWqICCCñO

Hr jAñíS µCziHUrⁿwWCpGwCXq

A²OªwgMⁿwϕ÷pA *ⁿwϕhΓAhⁿO

∩≤qLC

d

@ 1

NqI SMITH JOHN ÷p WEEKLY_BACKUP ϕC÷pqNⁿw EMPLOYEE_RECORDS hΓC

ⁿO:

define association employee_recordsweekly_backup smith*,john*

@ 2

DEFINE ASSOCIATION

86 4.2

Page 113: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

NqI JOEBTOM M LARRY P WINTER ϕ÷pC÷qⁿw EMPLOYEE_RECORDS hΓFúLAq JOE wP WINTER ϕ÷pC

ⁿO:

define association employee_recordswinter joe,tom,larry

÷ⁿO

ϕ 40. P DEFINE ASSOCIATION ÷ⁿO

ⁿO í

DEFINE SCHEDULE wqq@zⁿOC

DELETE ASSOCIATION RúqPϕºísC

DELETE SCHEDULE ΩwRúC

QUERY ASSOCIATION πP@h÷qC

REGISTER NODE wq@q°AB]w

∩C

DEFINE ASSOCIATION

87Tivoli Storage Manager for HP-UX zΓU

5.

z

ⁿO

Page 114: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

DEFINE BACKUPSET]wq≈oⁿOwq²ebY°AWúq≈ABªi⌡µo

ⁿO°AC qIiH∩q⌡µoⁿO°A≈Aú

Oqú≈°AC

b@°AWú⌠≤≈úiHwqt@°AWAun°Aºí@

@Pm¼YiCQwq≈°Ah'Ñ≤j≤ú≈°A

hC

z]iH DEFINE BACKUPSET ⁿO½swqb@°AWQRú≈C

MvO

Y REQSYSAUTHOUTFILE °A∩]w YES]w]Az'πtMvCY REQSYSAUTHOUTFILE °A∩]w NOAz'πtMvqIΓhMvC

yk

DEFine BACKUPSET node_name backup_set_name

DEVclass = device_class_name

,

VOLumes= volume_names

RETention = 365

RETention = daysNOLimit

DESCription = description

node_name]n

ⁿw≈ñ]tΣΩqIWCzúαUrⁿwWA]

úαHr jWΦíⁿwIWCC

backup_set_name]n

ⁿwnwqo°A≈WCWj° 30 rC

ϕz∩F@WßATSM Nª[WrHc≈WCpAzN≈RW mybackupsetATSM bWºß[W@@rApG3099CTSM hH

mybackupset.3099 δz≈WCºßYnπ≈÷ΩTAziHbWñUrApGm y b a c k u p s e t *AⁿwπWApGmybackupset.3099C

DEVclass]n

ⁿwn¬≈ eΘmOWC

DEFINE BACKUPSET

88 4.2

Page 115: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

: MzⁿwmO÷pm¼'Mú≈mOC

VOLumes]n

ⁿwxs≈eΘWC ziHⁿwheΘAΦkOHr NWjA

BñíS µC zⁿweΘ'ibwq≈°AC

RETentionⁿwN≈Odb°AWCziHⁿw 0 9999]t@πCw] 365 C ΣG

daysⁿwnb°AWOd≈C

NOLimitⁿw≈L¡aOdb°AWC

pGzⁿw NOLIMITAúDzq°AxsΘRúeΘA TSM

3[Od]t≈eΘC

DESCriptionⁿwPqI≈÷íC∩C íj° 255 rC

d

@

N≤ JANE qI PERS_DATA ≈wq⌡µoⁿO°ACN≈Odb°AW 50 CⁿweΘ VOL001 VOL002 ]t≈ΩCoeΘNⁿw AGADM mOm¬C

ⁿO:

define backupset jane pers_data devclass=agadmvolumes=vol1,vol2 retention=50

÷ⁿO

ϕ 41. P DEFINE BACKUPSET ÷ⁿO

ⁿO í

DELETE BACKUPSET Rú≈C

GENERATE BACKUPSET úqΩ≈C

QUERY BACKUPSET π≈C

QUERY BACKUPSETCONTENTS π≈ñteC

UPDATE BACKUPSET ≤sM≈÷pOdC

DEFINE BACKUPSET

89Tivoli Storage Manager for HP-UX zΓU

5.

z

ⁿO

Page 116: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

DEFINE CLIENTACTION]wq@q@oⁿO@hqAHKBz@@ⁿOC°Awq

ϕABNqIPϕ÷pC°ANⁿwu² 1BN PERUNITS]¿ onetimeAP SET CLIENTACTDURATION ⁿO]wPϕO@ñC

qBzoⁿOtAhO qíO ]w°Aúq

ⁿwCqí'bqu@WA°A!αBzϕC

MvO

pnoXoⁿOAz'πtMvBL¡εhMvºhΓ

¡εhMvC

yk

DEFine CLIENTAction

*

,

node_name

DOmain = domain_name

ACTion = IncrementalSelectiveArchiveREStoreRETrieveIMAGEBACkupIMAGEREStoreⁿOMacro

OPTions = option_string

OBJects = object_string

Wait = No

Wait = NoYes

node_nameⁿwNnBzP@÷ºϕqICCziHUrⁿw

qIqICC r NqIWjABñíúd µC

pGz*ⁿwoAhN@wqIC

DOmainⁿw¡εqIChΓCCwⁿúYⁿwhΓ

qICⁿwΓºqíwCpGz*ⁿw⌠≤Ah

hΓú]tbCñC

DEFINE CLIENTACTION

90 4.2

Page 117: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

ACTionⁿwbBzoϕno@CiαG

Incrementalⁿwϕn≈qWWí≈ßsW∩CWí≈]

≈s≈wL⌠≤C

Selectiveⁿwϕ≈ OBJECTS ⁿwC

ArchiveⁿwϕOs OBJECTS ⁿwC

REStoreⁿwϕ OBJECTS ⁿwC

RETrieveⁿwϕX OBJECTS ⁿwC

IMAGEBACkupⁿwϕ≈ OBJECTS ⁿwΦeΘC

IMAGEREStoreⁿwϕ OBJECTS ⁿwΦeΘC

CommandⁿwϕBz OBJECTS ⁿwqⁿOC

MacroⁿwqBzH OBJECTS ⁿwW¿C

OPTionsⁿwbBzϕAzⁿw DSMC ⁿOq∩Cub DSMC ⁿOµ∩!αⁿwoC\AϕqΓUAd÷ⁿOµW

∩ΩTC∩C

.JUC∩A]ª∩≤qBzwⁿOS⌠≤@G

MAXCMDRETRIESQUERYSCHEDPERIODRETRYPERIODSCHEDLOGNAMESCHEDMODESERVERNAMETCPCLIENTADDRESSTCPCLIENTPORT

OBJectsⁿwn⌡µⁿw@½≤] íB²ΦeΘC pGn∩

í²ATΩNªCb½≤rΩñC pGzΘJP Ahu∩

í²iµ≈C'n]úF ACTION=INCREMENTAL HC

DEFINE CLIENTACTION

91Tivoli Storage Manager for HP-UX zΓU

5.

z

ⁿO

Page 118: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

ϕzⁿw ACTION=INCREMENTALABSoⁿw⌠≤AtIs DSMC ⁿO]²Sⁿw½≤A q∩ñwqBz½≤C

pGrΩt (r] µAH ' AϕrΩAMßAHµ' Aϕ '

CpGrΩthWAC@W'¿∩ ' AϕAß

AH@∩µ' AϕrΩCpAnⁿwHUrΩG

¶ /opt/file 2, /opt/gif files, /opt/my test fileAΘJGOBJECTS='"/opt/file 2" "/opt/gif files" "/opt/my test file"'

¶ /opt/test fileAΘJGOBJECTS='"/opt/test file"'

WaitⁿwO n²Ñwq@¿ßAABzⁿw Script ¿ñU@BJC∩C w] NoCiαG

Noⁿwú²Ñwq@¿AKBzⁿO Script ¿ñU@BJC

Yesⁿwzn²Ñwq@¿ßAABz Script ¿ñU@BJC

zúiq°ADxPoX DEFINE CLIENTACTION ⁿOM WAIT=YESCúLAzib°ADxWG

¶ ⁿw WAIT=YES M DEFINE CLIENTACTION DEFINE SCRIPT ⁿOⁿOµC

¶ ⁿw WAIT=YES M DEFINE CLIENTACTION ⁿOµAe DEFINE SCRIPT ⁿOwqC

: Yzb¿ñⁿw DEFINE CLIENTACTION ⁿOM WAIT=YESAϕ¿*Q¿AⁿOwqYNLkC

d

@

hΓ EMPLOYEE_RECORDS ÷qI TOMAoXWí≈ⁿOCTSM wq@ϕABNϕPqI TOM ÷p]]qí

wg⌡µC

ⁿO:

define clientaction tom domain=employee_recordsaction=incremental

DEFINE CLIENTACTION

92 4.2

Page 119: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

÷ⁿO

ϕ 42. P DEFINE CLIENTACTION ÷ⁿO

ⁿO í

DELETE SCHEDULE ΩwRúC

QUERY ASSOCIATION πP@h÷qC

QUERY EVENT πw∩qºwH¿≤÷

ΩTC

QUERY SCHEDULE πϕ÷ΩTC

SET CLIENTACTDURATION DEFINE CLIENTACTION wqϕ

íC

DEFINE CLIENTACTION

93Tivoli Storage Manager for HP-UX zΓU

5.

z

ⁿO

Page 120: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

DEFINE CLIENTOPT]wq∩ñ∩oⁿOsWq∩∩C

MvO

pGnoXoⁿOAz'tMvL¡εhMvC

yk

DEFine CLIENTOpt option_set_name option_name option_value

Force = No

Force = NoYes

SEQnumber = number

option_set_name]n

ⁿX∩WC

option_name]n

ⁿwnsW∩q∩C

: nsW INCLUDE EXCLUDE »zíq∩ATykpUG

defineclientopt option_set_name inclexcl "include xxxx".

DEFINE CLIENTOPT

94 4.2

Page 121: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

HU∩G

ARCHSYMLINKASFILE 1

CHANGINGRETRIES

COMPRESSALWAYS

COMPRESSION

DIRMC

DOMAIN

DOMAIN.IMAGE 2

INCLEXCL]PUC∩@

EXCLUDE

EXCLUDE.COMPRESSION

EXCLUDE.ENCRYPTION 3

EXCLUDE.SUBFILE 4

INCLUDE

INCLUDE.COMPRESSION

INCLUDE.ENCRYPTION 3

INCLUDE.SUBFILE 4

MAXCMDRETRIES

MEMORYEFFICIENTBACKUP

NFSTIMEOUT 1

POSTNSCHEDULECMD 5

POSTSCHEDULECMD

PRENSCHEDULECMD 5

PRESCHEDULECMD

QUERYSCHEDPERIOD

QUIET

RETRYPERIOD

RESOURCEUTILIZATION

RUNASSERVICE

SCHEDMODE

SCROLLLINES

SCROLLPROMPT

SUBDIR

SUBFILEBACKUP 4

SUBFILECACHEPATH 4

SUBFILECACHESIZE 4

TAPEPROMPT

TXNBYTELIMIT

VERBOSE:1. ¡ UNIX

2. ¡ AIXBHP-UX M Solaris

3. ¡ WindowsBUNIX M NetWare

4. ¡ Windows

5. b NetWare WL

option_value]n

ⁿw∩CpG∩@HWAN'' AϕoC

Forceⁿwqα m½∩C[∩ñoApA INCLUDE M

DOMAINCw] NOCoO∩CΣG

Yesⁿwqúim½oC

NoⁿwqiHm½oC

DEFINE CLIENTOPT

95Tivoli Storage Manager for HP-UX zΓU

|

|

|

|

5.

z

ⁿO

Page 122: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

SEQnumberⁿwh∩WAnⁿw@ C∩C

d

@

sWq∩]MAXCMDRETRIES 5ⁿW ENG q∩C

ⁿO: define clientopt eng maxcmdretries 5

@

sW@q∩∩ ENGBACKUPAHKq≈Aíñú c:\admin\file.txtC

ⁿO: define clientopt engbackup inclexcl "exclude c:\admin\file.txt"

÷ⁿO

ϕ 43. P DEFINE CLIENTOPT ÷ⁿO

ⁿO í

COPY CLOPTSET s@sq∩C

DEFINE CLOPTSET wqq∩C

DELETE CLIENTOPT q∩Rúq∩C

DELETE CLOPTSET Rúq∩C

REGISTER NODE wq@q°AB]w

∩C

QUERY CLOPTSET πq∩÷ΩTC

UPDATE CLIENTOPT ≤sq∩XC

UPDATE CLOPTSET q∩íC

UPDATE NODE ≤MqI÷pC

DEFINE CLIENTOPT

96 4.2

Page 123: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

DEFINE CLOPTSET]wqq∩W∩≤ziⁿwq⌡µOsB≈BX@@∩AⁿOi

wq∩WC

pGnsW∩s∩A DEFINE CLIENTOPT ⁿOC

MvO

pGnoXoⁿOAz'tMvL¡εhMvC

yk

DEFine CLOptset option_set_nameDESCription = description

option_set_name]n

ⁿXq∩WC Wj°64rC

DESCriptionⁿwq∩íCíj° 255 rC íp]t (rAh'H' AϕC∩C

d

@

wqq∩ ENGC

ⁿO: define cloptset eng

÷ⁿO

ϕ 44. P DEFINE CLOPTSET ÷ⁿO

ⁿO í

COPY CLOPTSET s@sq∩C

DEFINE CLIENTOPT sWq∩q∩C

DELETE CLIENTOPT q∩Rúq∩C

DELETE CLOPTSET Rúq∩C

QUERY CLOPTSET πq∩÷ΩTC

UPDATE CLIENTOPT ≤sq∩XC

UPDATE CLOPTSET q∩íC

DEFINE CLOPTSET

97Tivoli Storage Manager for HP-UX zΓU

5.

z

ⁿO

Page 124: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

DEFINE COPYGROUP]wqsoⁿObSwzOBhMhΓAwqs≈Oss

C°A≈Ossεq≈OsAHz≈O

sΦkCF²qssAz']tssh

C

ziwqC@zO≈OssCFTOqIα≈≈A

bhw]zOñAJ@≈sC

: pGⁿwxs@aAh DEFINE COPYGROUP ⁿOóC

DEFINE COPYGROUP ⁿOΓ µíA@Owq≈sAt@OwqOssCC µíykPíOwqC

DEFINE COPYGROUP

98 4.2

Page 125: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

DEFINE COPYGROUP -- ≈oⁿObSwzOBhMhΓAwqs≈sC

MvO

pGnoXoⁿOAz'πshΓºtMvBL¡εhM

v¡εhMvC

yk

DEFine COpygroup domain_name policy_set_name class_nameSTANDARD

STANDARD

Type = Backup

Type = BackupDESTination = pool_name

FREQuency = 0

FREQuency = days

VERExists = 2

VERExists = numberNOLimit

VERDeleted = 1

VERDeleted = numberNOLimit

RETExtra = 30

RETExtra = daysNOLimit

RETOnly = 60

RETOnly = daysNOLimit

MODE = MODified

MODE = MODifiedABSolute

SERialization = SHRSTatic

SERialization = SHRSTaticSTaticSHRDYnamicDYnamic

domain_name]n

ⁿwzwqshΓC

policy_set_name]n

ⁿwzwqshC

zúαwq≤ ACTIVE hzOsC

class_name]n

ⁿwzwqszOC

DEFINE COPYGROUP -- ≈

99Tivoli Storage Manager for HP-UX zΓU

5.

z

ⁿO

Page 126: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

STANDARDⁿwsWAª'O S T A N D A R DC∩C w]

STANDARDC

Type=BackupⁿwznwqsCw] BACKUPC∩C

DESTination]n

ⁿw°As±≈ΩDxsCzúαNxsⁿwaC

FREQuencyⁿw TSM iH≈WvC∩C TSM u≈qW≈H

ßAwgLⁿwCFREQUENCY ubπWí≈@ñCb∩≈íWí≈íñoC ziHⁿw 0 9999]t@πCw]O 0AϕúW≈íO ≥A TSM úiH

≈C

VERExistsⁿwebqtW²Od≈jqC∩C w]

2C

pG≈@PWX¡εAh°A°AxsΘñ≈C

iαG

numberⁿwbeqtW²Od≈qCziHⁿw@ 1 9999]tπC

NOLimitⁿwzn°AOd≈C

nOd≈OoεAOdWX RETEXTRA ⁿwOdíC

VERDeletedⁿw TSM ≈ºßAqtRúOdj≈

C∩C w] 1C

pGqtRú@AU≈A°AWXo

ClΘY RETEXTRA RETONLY ⁿwOdíMwC iαG

numberⁿw≈ºßAqtRúOd≈CziHⁿw 0 9999]t@πC

NOLimitⁿwzn°AOdb≈ºßAqtRú≈

C

RETExtraⁿwϕ≈¿D@ßAnOdCqxs±≈Aq

DEFINE COPYGROUP -- ≈

100 4.2

Page 127: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

Rúu@ñß⌡µπWí≈AD@ñ¼

AC °A OdíRúD@ñAYD@ñ*WX

VEREXISTS VERDELETED e\C∩C w] 30CiαG

daysⁿwnOdD@ñ≈CziHⁿw 0 9999]t@πC

NOLimitⁿwnL¡OdD@ñ≈C

pGzⁿw NOLIMITA°A VEREXISTS ]ϕt2Mbqt VERDELETED ]ϕwúbqtRúD@ñ≈C

RETOnlyⁿwwqqtRúºß≈OdC∩C w

] 60CiαG

daysⁿwOdßlD@ñCziHⁿw 0 9999]t@πC

NOLimitⁿwnL¡OdßlD@ñC

pGzⁿw NOLIMITA°A3[Odßl≈AúDzNªq°AxsΘRúC

MODEⁿw TSM b≤]W≈ßAOqnD≈!≈C

∩C w] MODIFIEDCiαG

MODifiedⁿw TSM ubW≤ßA≤A!≈CpGUC⌠@

ípuATSM N°w≤G

¶ ß∩ΘúP

¶ jpúP

¶ úP

¶ \ivúP

ABSoluteⁿw TSM @wn≈AúO wg∩C

MODE πWí≈Cb∩≈íWí≈íñoC

SERializationⁿw TSM p≤Bzb≈Bzí∩²C∩C w]

SHRSTATICCiαG

DEFINE COPYGROUP -- ≈

101Tivoli Storage Manager for HP-UX zΓU

5.

z

ⁿO

Page 128: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

SHRSTaticⁿw TSM u∩≈í*∩²iµ≈CTSM h⌡µ4

≈A° CHANGINGRETRIES q∩ⁿwwCpGbC≈∩²Ah TSM Nú≈²C

STaticⁿw TSM u∩≈í*∩²iµ≈CTSM u⌡µ≈

@C

úΣ STATIC ∩¡xw] SHRSTATICC

SHRDYnamicⁿw²Ybiµ≈íiµ∩AY²b∩A

TSM 2bß@≈²CTSM h⌡µ4≈A° CHANGINGRETRIES q∩ⁿwwC

DYnamicⁿwúO b≈Bzí∩²ATSM íb@⌡µ≈

²C

i: p SHRDYNAMIC M DYNAMIC oΓCoi² TSM

≈b∩²C]A≈iαOk≈Ck≈LkT/

Me²A]ªu]tí∩CpG]tk≈A

hiαLk]°íwCpGk≈LkⁿA

@CA² TSM ub²*∩≈]SHRSTATIC STATICC

d

@

b EMPLOYEE_RECORDS hΓñh VACATION zO ACTIVEFILESⁿW STANDARD sCN≈a]w BACKUPPOOLCN≈ºípíj]wTAúO gL∩CϕqtwgA

hOd¡≈C

ⁿO:

define copygroup employee_recordsvacation activefiles standard type=backupdestination=backuppool frequency=3verexists=5 mode=absolute

DEFINE COPYGROUP -- ≈

102 4.2

Page 129: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

DEFINE COPYGROUP -- OsoⁿObSwzOBhMhΓAwqsOssC

MvO

pGnoXoⁿOAz'πshΓºtMvBL¡εhM

v¡εhMvC

yk

DEFine COpygroup domain_name policy_set_name class_nameSTANDARD

STANDARD

Type = Archive DESTination = pool_nameFREQuency = Cmd

FREQuency = Cmd

RETVer = 365

RETVer = daysNOLimit

MODE = ABSolute

MODE = ABSolute

SERialization = SHRSTatic

SERialization = SHRSTaticSTaticSHRDYnamicDYnamic

domain_name]n

ⁿwzwqshΓWC

policy_set_name]n

ⁿwzwqshWC

zúαwq≤ ACTIVE hzOsC

class_name]n

ⁿwzwqszOWC

STANDARDⁿwsWAª'O S T A N D A R DC∩C w]

STANDARDC

Type=Archive]n

ⁿwznwqOssC

DEFINE COPYGROUP -- Os

103Tivoli Storage Manager for HP-UX zΓU

5.

z

ⁿO

Page 130: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

DESTination]n

ⁿw°As±OsDxsCzúαNxsⁿwaC

FREQuency=CmdⁿwsWvAª'O CMDC∩C w] CMDC

RETVerⁿwOdOsC∩C w] 365CiαG

daysⁿwOdOsCziHⁿw 0 9999]t@πC

NOLimitⁿwznL¡OdOsC

pGzⁿw NOLIMITA°A3[OdOsAúDzNq°AxsΘRúC

RETVER vT°AsOs²zOCpGqS

ARCHMC ∩A°ANOs²sw]zOCpGw]zOSOssA°ANOs²sOduzOC

MODE=ABSoluteⁿwϕqnD@wnOsCMODE 'O ABSOLUTEC∩Cw] ABSOLUTEC

SERializationⁿw T S M p≤BzbOsí∩C∩C w]

SHRSTATICCiαG

SHRSTaticⁿw TSM uOs*∩CTSM h⌡µ4Os@A°

CHANGINGRETRIES q∩ⁿwwCpGbOsí∩Ah TSM úOsC

STaticⁿw TSM uOs*∩CTSM u⌡µOs@@C

úΣ STATIC ∩¡xw] SHRSTATICC

SHRDYnamicⁿwpGbOsí∩AhYb∩ATSM 2bß@

OsCTSM hOs4A° CHANGINGRETRIES q∩ⁿwwC

DYnamicⁿwúO bOsBzí∩ATSM íb@⌡µOsC

DEFINE COPYGROUP -- Os

104 4.2

Page 131: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

i: p SHRDYNAMIC M DYNAMIC oΓCoi² TSM O

sb∩C]AOsiαOk≈Ck≈LkT/Me

A]ªu]tí∩CpGX]tk≈AhiαL

k]°íwCpGk≈LkⁿA@C

A² TSM ub*∩Os]SHRSTATIC STATICC

d

@

b PROG1 hΓh SUMMER ñzO MCLASS1 @ⁿWSTANDARD OssCNOsa]w ARCHIVEPOOLAªiHNOsOd 730 C

ⁿO:

define copygroup prog1 summer mclass1 standardtype=archive destination=archivepool retver=730

÷ⁿO

ϕ 45. P DEFINE COPYGROUP ÷ⁿO

ⁿO í

ASSIGN DEFMGMTCLASS ⁿw@szO@ⁿwºh

w]C

COPY MGMTCLASS zOC

DEFINE MGMTCLASS wqzOC

DEFINE STGPOOL wqxs°AxsΘCΘⁿWXC

DELETE COPYGROUP RúhΓHh≈Os

sC

DELETE MGMTCLASS hΓHhRú@zOH

ªsC

EXPIRE INVENTORY µwsLBzC

QUERY COPYGROUP π@ssC

QUERY MGMTCLASS πzO÷ΩTC

UPDATE COPYGROUP ≤s@hC

DEFINE COPYGROUP -- Os

105Tivoli Storage Manager for HP-UX zΓU

5.

z

ⁿO

Page 132: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

DEFINE DBBACKUPTRIGGER ]wqΩw≈oⁿOoⁿOⁿw TSM ≈ΩwíCbΦFΘxⁿweqⁿw%±

A≈NoC uNΘxí]w ROLLFORWARD ATSM !Ω

woⁿOC

: pG≈ó ATSM Ñ60ϕAMß½CADSM @≈A¿\

εC

MvO

pGn⌡µo@Az'πUCΣñ@MvOG

¶ tMv

¶ *¡εxsΘ

yk

DEFine DBBackuptrigger DEVclass = device_class_name

LOGFullpct = 50

LOGFullpct = percent INCRDEVclass = device_class_name

NUMINCremental = 6

NUMINCremental = number

DEVclass]n

ⁿw≈ºsmOWC

LOGFullpctⁿwq 1 99 Θxq%±CWXoA TSM N≈Ω

wC∩C w]O 50C

INCRDEVclassⁿw≤Wí≈smOWC∩C w]OH

DEVCLASS ⁿwmOC

NUMINCrementalⁿwbnπ≈ºeAi⌡µjWí≈qCd≥Oq 0 32C0 ϕ TSMu⌡µπ≈C∩C w] 6C

C@Wí≈ALO⌡µOznDAúsWWí≈

⌡µpñC C@π≈ALO⌡µOznDAúNW

í≈p½]sC

d

@

DEFINE DBBACKUPTRIGGER

106 4.2

Page 133: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

NΩw≈oⁿO]wKQ%±Cb⌡µΓWí≈ßA⌡µπ

≈C FILE mOC

ⁿO:

define dbbackuptrigger devclass=file logfullpct=80 numincremental=2

÷ⁿO

ϕ 46. P DEFINE DBBACKUPTRIGGER ÷ⁿO

ⁿO í

BACKUP DB N TSM Ωw≈seΘC

DEFINE DEVCLASS wqmOC

DELETE DBBACKUPTRIGGER RúΩw≈oⁿOC

QUERY DBBACKUPTRIGGER πΩw≈oⁿO÷ΩTC

SET LOGMODE ]wΘxñxsO²íC

UPDATE DBBACKUPTRIGGER ≤Ωw≈oⁿO@hC

DEFINE DBBACKUPTRIGGER

107Tivoli Storage Manager for HP-UX zΓU

5.

z

ⁿO

Page 134: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

DEFINE DBCOPY ]wqΩweΘeΘoⁿOΩweΘ]ΦMeΘCΦMΩwiW[Ωwi

AúCΘów$@CzhiΓ≈ΩweΘCbC@Ωw

eΘwqºßA°AeΘPΩwPBC

ΩweΘúOnbH≈seΘCeΘ#πPeΘPeq

Bwq≤OΩΘmWCbeΘWΣª íúQC

oⁿOú@IAziH CANCEL PROCESS ⁿONª°CpG°DEFINE DBCOPY AheΘCúLApG°PBBzANeΘB≤ó¼ACpGnπ÷IΩTA QUERY PROCESS ⁿOC

MvO

pGnoXoⁿOAz'tMvL¡εxsΘMvC

yk

DEFine DBCopy volume_name copy_volume_name

volume_name]n

ⁿwnΦMΩweΘWC

copy_volume_name]n

ⁿweΘWC WúiHt (Ñ CHπ⌠ΘJW

AΘJ∩≤°Aµu@²WC pApGWO mainvolAΘJ⌠WG

/usr/adsmserv/bin/mainvol

d

@

ⁿW DB.1 ΩweΘ@ⁿW DB.2 ΩweΘC

ⁿO:

define dbcopy db.1 db.2

÷ⁿO

ϕ 47. P DEFINE DBCOPY ÷ⁿO

ⁿO í

CANCEL PROCESS °I°ABzC

DEFINE DBVOLUME ⁿw@eΘHΩwxsΘC

DELETE DBVOLUME ΩwRúeΘC

QUERY DBVOLUME πΩweΘ÷ΩTC

QUERY PROCESS πI÷ΩTC

DEFINE DBCOPY

108 4.2

Page 135: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

DEFINE DBVOLUME]wqΩweΘoⁿOwqsΩweΘCΩweΘúnbH≈s CΘCzi

H² TSM bⁿweΘeúeΘC

i: @,∩ TSM wqΩweΘßA.≤ªjpCpGz≤eΘjpA

TSM iαLkTl]wABziα≥óΩC

CzwqsΩweΘAKúFB íΩwCpn1\Ωw

Σª íA EXTEND DB ⁿOC

ΩweΘ#' 5MBCTSM bC@ΩweΘW 1MB íiµB@CpApGzwq@ 9MB ΩweΘAh 8MB i≤xsC

MvO

pGnoXoⁿOAz'tMvL¡εxsΘMvC

yk

DEFine DBVolume volume_nameFormatsize = megabytes

Wait = No

Wait = NoYes

volume_name]n

ⁿwΩweΘWCpGW]tO µÑ Ah' AϕC

Hπ⌠∩≤°Aµu@²WΘJoWCpApGW

O mainvolAN⌠WΘJ¿G

/user/adsmserv/bin/mainvol

Formatsizeⁿwnb@@wqµíeΘjpC∩C oOH MB µⁿwC

WaitⁿwO nbeIñiµeΘPs@µíÑ@C∩C w]

O NOCúDz]ⁿwF FORMATSIZE A htúBzªC

NoⁿwnbIñiµeΘPs@µí@C

YesbeñeΘPs@ΣµíC

: zúαq°ADxⁿw WAIT=YesC

DEFINE DBVOLUME

109Tivoli Storage Manager for HP-UX zΓU

5.

z

ⁿO

Page 136: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

d

@ 1

b 302 RW db.2.

ⁿO: define dbvolume db.2

@ 2

b°A²ñ 20MB sΩweΘAW db3.dsmAMßÑ°AwqΩweΘC

ⁿO:

define dbvolume db3.dsm formatsize=20 wait=yes

÷ⁿO

ϕ 48. P DEFINE DBVOLUME ÷ⁿO

ⁿO í

DEFINE DBCOPY ΩweΘeΘC

DELETE DBVOLUME ΩwRúeΘC

EXTEND DB XR²etmΣeΘºiΩ

wxsΘC

QUERY DBVOLUME πΩweΘ÷ΩTC

DEFINE DBVOLUME

110 4.2

Page 137: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

DEFINE DEVCLASS]wqmOoⁿOwq@mOAHKbzwΣsmC

: DISK mOO TSM w²wqABúα DEFINE DEVCLASS ⁿO∩C

oⁿOykMíO m¼wCykHΩTOHUCe:¶ 3570]112yykz¶ 3590]115yykz¶ FILE]118yykz¶ GENERICTAPE]120yykz¶ LTO]122yykz¶ REMOVABLEFILE]125yykz¶ SERVER ]127yykz

DEFINE DEVCLASS]wqmO

111Tivoli Storage Manager for HP-UX zΓU

5.

z

ⁿO

Page 138: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

DEFINE DEVCLASS -- 3570

MvO

pGnoXoⁿOAz'tMvL¡εxsΘMvC

yk

DEFine DEVclass device_class_name LIBRary = library_name

DEVType = 3570FORMAT = DRIVE

FORMAT = DRIVE3570B3570C

ESTCAPacity = size

PREFIX = ADSM

PREFIX = ADSMtape_volume_prefix

MOUNTRetention = 60

MOUNTRetention = minutes

MOUNTWait = 60

MOUNTWait = minutes

MOUNTLimit = DRIVES

MOUNTLimit = DRIVESnumber0

device_class_name]n

ⁿwnwqmOWC mOWj° 30 rC

LIBRaryⁿwwqºw½≤WAwqº½≤]tiHmOºa

≈C÷wqw½≤÷ΩTA\ DEFINE LIBRARY ⁿOC

DEVType=3570]n

ⁿw 3570 m¼QⁿwmOC3570 ⁿX IBM 3570 aXmQⁿúomOC

FORMATⁿwΩgJsCΘO²µíC∩Fw] DRIVEC

DEFINE DEVCLASS -- 3570

112 4.2

Page 139: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

UϕCX 3570 mO²µíMw⌠eqG

ϕ 49. 3570 aeΘO²µíMw]w⌠eq

µí w⌠eq í

DRIVE -- °A∩ⁿeΘ≈Σ¬µíC

i: bPwñVX≈AKⁿ

w DRIVEC

pAYwñí≈≈ΣO²µíu≤Σ

L≈A.∩C

3570B 5.0GB *úY]≥µí

3570C \

10.0GB

úYµí

: µía≈wΘúYSC úYGAΩeqiαj≤CXC

ESTCAPacitybmOwúxsWA∩≤eΘⁿww⌠eqC∩C

pG≤ΩúYmOºw]w⌠eqúTAziⁿwC

z'Noⁿw@πAß[W K]KBB M]MB G]GBCe\pO 100KB]τYAESTCAPACITY=100KC

pAESTCAPACITY=5M ⁿwmOeΘºw⌠eq 5 MBC

÷ 3570 aºw]w⌠eqΣlΩTA\ϕ49C

PREFIXⁿw°AgJsCΘºΩW¬Ñ¡wC∩≤ⁿwo

mOC@seΘA°Aor ΩWC ∩

C w] ADSMCr j° 8 rC

pGzwCΘRWDΣzeztAXzRWD

eΘr C

ⁿw'XUC°≤G

¶ o'H¡wc¿A¡whi]t 8 r]]AyICpAUCºiHQⁿG

AB.CD2.E

¶ ¡w'Hµ@yIjC

¶ C@¡w@r0'r0UΩr]@,#,$AΣß≥r0BUΩrBΘ rC

ADSM.BFS NOw]r ][W TSM ¡waeΘΩWdC

MOUNTRetentionⁿwbúⁿºeAOdmºseΘC∩C w]

60Czi 0 9999 ºíⁿw@C

DEFINE DEVCLASS -- 3570

113Tivoli Storage Manager for HP-UX zΓU

5.

z

ⁿO

Page 140: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

iN²eⁿeΘdbuWAH∩sCΘⁿíC ú

LA∩≤ EXTERNAL w¼ÑANo]w¿C]pAΓH[jíºím@C

MOUNTWaitⁿwÑseΘⁿ≤ΓíwíwjC ∩

C ⁿnDpGúbⁿwíd≥Ah,H°Cw] 60 Czi 0 9999 ºíⁿw@C

MOUNTLimitⁿwmOWAiPⁿºseΘjC∩C w]O

DRIVESCziⁿw 0 256 ºí@rC

: YO EXTERNAL w¼A. DRIVES w]@ MOUNTLIMITC ⁿww≈r@ MOUNTLIMIT C

UCiαG

DRIVESⁿwCtmⁿIAwqw≈pΓΩ]]Au

W¼AC

numberⁿwbomOñ°APj≈C '∩ú1

\WLbwwqWuAmO≈C

0]s

ⁿwS⌠≤sºiHsxsC

DEFINE DEVCLASS -- 3570

114 4.2

|

|

|

Page 141: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

DEFINE DEVCLASS -- 3590

MvO

pGnoXoⁿOAz'tMvL¡εxsΘMvC

yk

DEFine DEVclass device_class_name LIBRary = library_name

DEVType = 3590FORMAT = DRIVE

FORMAT = DRIVE3590B3590C3590E-B3590E-C

ESTCAPacity = size

PREFIX = ADSM

PREFIX = ADSMtape_volume_prefix

MOUNTRetention = 60

MOUNTRetention = minutes

MOUNTWait = 60

MOUNTWait = minutes

MOUNTLimit = DRIVES

MOUNTLimit = DRIVESnumber0

device_class_name]n

ⁿwnwqmOWC mOWj° 30 rC

LIBRaryⁿwwqºw½≤WAwqº½≤]tiHmOºa

≈C÷wqw½≤÷ΩTA\ DEFINE LIBRARY ⁿOC

DEVType=3590n

ⁿw 3590 m¼QⁿwmOC 3590 ⁿX IBM 3590 aXmQⁿw@mOC

FORMATⁿwΩgJsCΘO²µíC∩C w]

DRIVEC

UϕCX 3590 mO²µíBw⌠eqO²µí∩G

DEFINE DEVCLASS -- 3590

115Tivoli Storage Manager for HP-UX zΓU

5.

z

ⁿO

Page 142: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

ϕ 50. 3590 mO²µí∩

m\µí 3590B 3590C 3590E-B 3590E-C

3590B

Ultra SCSI

3590E

¬/g

¬/g

¬

¬/g

¬/g

¬

-

-

¬/g

-

-

¬/g

ESTCAPacityⁿwwúmOeΘw⌠eqC∩C

pG≤ΩúYmOºw]w⌠eqúTAziⁿwC

z'Noⁿw@πAß[W K]KBB M]MB G]GBCe\pO 100KB]τYAESTCAPACITY=100KC

pAESTCAPACITY=5M ⁿwmOeΘºw⌠eq 5 MBC

PREFIXⁿw°AgJsCΘºΩW¬Ñ¡wC∩≤ⁿwo

mOC@seΘA°Aor ΩWC ∩

C w] ADSMCr j° 8 rC

pGzwCΘRWDΣzeztAXzRWD

eΘr C

¶ o'H¡wc¿A¡whi]t 8 r]]AyICpAUCºiHQⁿG

AB.CD2.E

¶ ¡w'Hµ@yIjC

¶ C@¡w@r0'r0UΩr]@,#,$AΣß≥r0BUΩrBΘ rC

MOUNTRetentionⁿwbúⁿºeAOdmºseΘC∩C w]

60Czi 0 9999 ºíⁿw@C

iN²eⁿeΘdbuWAH∩sCΘⁿíC

MOUNTWaitⁿwÑseΘⁿ≤ΓíwíwjC ∩

C ⁿnDpGúbⁿwíd≥Ah,H°Cw] 60 Czi 0 9999 ºíⁿw@C

MOUNTLimitⁿwmOWAiPⁿºseΘjC∩C w]O

DRIVESCziⁿw 0 256 ºí@rC

: YO EXTERNAL w¼A. DRIVES w]@ MOUNTLIMITC ⁿww≈r@ MOUNTLIMIT C

UCiαG

DEFINE DEVCLASS -- 3590

116 4.2

|

|

|

Page 143: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

DRIVESⁿwCtmⁿIAwqw≈pΓΩ]]Au

W¼AC

numberⁿwbomOñ°APj≈C '∩ú1

\WLbwwqWuAmO≈C

0]s

ⁿwS⌠≤sºiHsxsC

DEFINE DEVCLASS -- 3590

117Tivoli Storage Manager for HP-UX zΓU

5.

z

ⁿO

Page 144: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

DEFINE DEVCLASS -- FILE

MvO

pGnoXoⁿOAz'tMvL¡εxsΘMvC

yk

DEFine DEVclass device_class_name DEVType = FILE

MOUNTLimit = 1

MOUNTLimit = number

MAXCAPacity = 4M

MAXCAPacity = size

DIRectory = current_directory_name

DIRectory = directory_name

device_class_name ]n

ⁿwnwqmOWC mOWj° 30 rC

DEVType=FILE ]n

ⁿw FILE m¼ⁿwm¼CFILE ⁿXN@ⁿwomOCϕ°Ans@≤mOeΘA@B¬gJ

ΩC O@ sCΘµíC

MOUNTLimitⁿwiPAΘJ/ΘXºjC∩C w]O 1Cziⁿw7≤ 1 256 ºírC

MAXCAPacityⁿwomOñxswq⌠≤ΩxsΘjjpCw]

4MB (MAXCAPACITY=4M)CCMAXCAPACITY=5M ⁿwmOeΘ

ºjeq 5 MBC∩C

4MⁿwxsΘjeqO 4M (4MB)C

sizeⁿw@πAß[W K]KBB M]MB G]GBC ie\p 100KB]MAXCAPACITY=100KC

j 128GB]MAXCAPACITY=128GC

ϕΣ REMOVABLEFILE CD-ROM A.wq MAXCAPACITY j≤ 640MCp≤ CD-ROM i í]650MB FILE mOM CD-ROM Wºí@∩@t∩C

DEFINE DEVCLASS -- FILE

118 4.2

Page 145: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

DIRectoryⁿwomOñº²mC ∩C w]OoXⁿO

°Aµu@²AúDw]w D S M S E R V _ D I R ⌠C÷≤

DSMSERV_DIR ΣLΩTA tJC

ⁿw²WAziΣX°A±mmAhNϕmO

xseΘC °AbBzⁿOANⁿw²Wq²li¿π

µíC

ΣßApG°AntmeΘAhb²úsC ∩≤xs

qΩeΘA°Aπ .BFS WC ∩≤xsXΩeΘAh .EXP WCpApGz² /TSMSTOR wqmOAB°AnmOñeΘxsXΩAh°A

Wiα /TSMSTOR/00566497.EXPC

d

@

wq@mOW PLAINFILESAπ@ FILE m¼Ajeq 50MBC

ⁿO:

define devclass plainfiles devtype=filemaxcapacity=50m

DEFINE DEVCLASS -- FILE

119Tivoli Storage Manager for HP-UX zΓU

5.

z

ⁿO

Page 146: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

DEFINE DEVCLASS -- GENERICTAPE

MvO

pGnoXoⁿOAz'tMvL¡εxsΘMvC

yk

DEFine DEVclass device_class_name LIBRary = library_name

DEVType = GENERICTAPEESTCAPacity = size

MOUNTRetention = 60

MOUNTRetention = minutes

MOUNTWait = 60

MOUNTWait = minutes

MOUNTLimit = DRIVES

MOUNTLimit = DRIVESnumber0

om¼A°AúOm¼aXO²µíC≤°Aú

Om¼ApGo I/O AMSwm¼]pA8mmAΩT±ú Cb∩°AwqmA.bPm¼VúP

m¼C

device_class_name]n

ⁿwnwqmOWC mOWj° 30 rC

LIBRaryⁿwtmOºa≈wwqw½≤WC÷wqw½≤

÷ΩTA\ DEFINE LIBRARY ⁿOC

DEVType=GENERICTAPE]n

ⁿw GENERICTAPE m¼ⁿwmOC GENERICTAPE NϕNmOeΘA≤@tºa≈XíΣa≈WC

°AOiHúhCΘBíJΣªCΘACΘⁿHmOº

MOUNTLIMIT Hxsº MAXSCRATCH ]w¡εC

mOñπm¼ GENERICTAPE ºeΘseΘC

ESTCAPacityⁿwwúmOeΘw⌠eqC∩C

pG≤ΩúYmOºw]w⌠eqúTAziⁿwC

DEFINE DEVCLASS -- GENERICTAPE

120 4.2

Page 147: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

ⁿwAXSwa≈eqC

z'Noⁿw@πAß[W K]KBB M]MB G]GBCe\pO 100KB]τYAESTCAPACITY=100KC

pAESTCAPACITY=5M ⁿwmOeΘºw⌠eq 5 MBC

MOUNTRetentionⁿwbúⁿºeAOdmºseΘC∩C w]

60Czi 0 9999 ºíⁿw@C

iN²eⁿeΘdbuWAH∩sCΘⁿíC

MOUNTWaitⁿwÑseΘⁿ≤ΓíwíwjC ∩

C ⁿnDpGúbⁿwíd≥Ah,H°Cw] 60 Czi 0 9999 ºíⁿw@C

MOUNTLimitⁿwmOWAiPⁿºseΘjC∩C w]O

DRIVESCziⁿw 0 256 ºí@rC

: YO EXTERNAL w¼A. DRIVES w]@ MOUNTLIMITC ⁿww≈r@ MOUNTLIMIT C

UCiαG

DRIVESⁿwCtmⁿIAwqw≈pΓΩ]]Au

W¼AC

numberⁿwbomOñ°APj≈C '∩ú1

\WLbwwqWuAmO≈C

0]s

ⁿwS⌠≤sºiHsxsC

DEFINE DEVCLASS -- GENERICTAPE

121Tivoli Storage Manager for HP-UX zΓU

|

|

|

5.

z

ⁿO

Page 148: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

DEFINE DEVCLASS -- LTO

MvO

pGnoXoⁿOAz'tMvL¡εxsΘMvC

yk

DEFine DEVclass device_class_name LIBRary = library_name

DEVType = LTOFORMAT = DRIVE

FORMAT = DRIVEULTRIUMULTRIUMC

ESTCAPacity = size

PREFIX = ADSM

PREFIX = ADSMtape_volume_prefix

MOUNTRetention = 60

MOUNTRetention = minutes

MOUNTWait = 60

MOUNTWait = minutes

MOUNTLimit = DRIVES

MOUNTLimit = DRIVESnumber0

device_class_name]n

ⁿwnwqmOWC mOWj° 30 rC

LIBRaryⁿwwwqw½≤WA½≤tmO LTO a≈C÷wqw½≤÷ΩTA\ DEFINE LIBRARY ⁿOC

DEVType=LTO]n

ⁿwua (LTO) m¼OⁿúmOC

FORMATⁿwΩgJsCΘO²µíC∩Fw] DRIVEC

DEFINE DEVCLASS -- LTO

122 4.2

Page 149: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

UϕCX LTO mO²µíMw⌠eqG

ϕ 51. LTO aO²µíMw]w⌠eq

µí w⌠eq í

DRIVE - °A∩ⁿeΘ≈Σ¬µíC

i: bPwñVX≈AKⁿw

DRIVEC

pAYwñí≈≈ΣO²µíu≤Σ

L≈A.∩C

ULTRIUM 100.0GB úYµí, Ultrium aX

ULTRIUMC \

200.0GB

úYµí, Ultrium aX

: µía≈wΘúYSC úYGAΩeqiαj≤CXC

ESTCAPacityⁿwwúmOeΘw⌠eqC∩C

pG≤ΩúYmOºw]w⌠eqúTAziⁿwC

z'Noⁿw@πAß[W K]KBB M]MB G]GBC

pAESTCAPACITY=100G ⁿwmOeΘºjeq 100 GBC

÷≤w⌠eqΣL÷ΩTA\ϕ51C

PREFIXⁿw°AgJsCΘºΩW¬Ñ¡wC∩≤ⁿwo

mOC@seΘA°Aor ΩWC ∩

C w] ADSMCr j° 8 rC

pGzwCΘRWDΣzeztAXzRWD

eΘr C

ⁿw'XUC°≤G

¶ o'H¡wc¿A¡whi]t 8 r]]AyICpAUCºiHQⁿG

AB.CD2.E

¶ ¡w'Hµ@yIjC

¶ C@¡w@r0'r0UΩr]@,#,$AΣß≥r0BUΩrBΘ rC

ADSM.BFS NOw]r ][W TSM ¡waeΘΩWdC

MOUNTRetentionⁿwbúⁿºeAOdómseΘC∩C w]

60Czi 0 9999 ºíⁿw@C

DEFINE DEVCLASS -- LTO

123Tivoli Storage Manager for HP-UX zΓU

5.

z

ⁿO

Page 150: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

iN²eⁿeΘdbuWAH∩sCΘⁿíC ú

LA∩≤ EXTERNAL w¼ÑAziHNo]w¿C]pAΓ[jíºím@C

MOUNTWaitⁿwÑseΘⁿ≤ΓíwíwjC ∩

C ⁿnDpGúbⁿwíd≥Ah,H°Cw] 60 Czi 0 9999 ºíⁿw@C

MOUNTLimitⁿwmOWAiPⁿºseΘjC∩C w]O

DRIVESCziⁿw 0 256 ºí@rC

: YO EXTERNAL w¼A. DRIVES w]@ MOUNTLIMITC ⁿww≈r@ MOUNTLIMIT C

UCiαG

DRIVESⁿwCtmⁿIAwqw≈pΓΩ]]Au

W¼AC

: YO E X T E R N A L w¼A. D R I V E S w]@

MOUNTLIMIT C ⁿww≈r@ MOUNTLIMIT C

numberⁿwbomOñ°APj≈C oúαWL

wñwwq≈AHbuWúAomO≈

C

0]s

ⁿwS⌠≤sºiHsxsC

d

@

bW LTOLIB wñ LTO ≈wq@mOW LTOTAPECµíULTRIUMCAⁿW¡ DRIVESAⁿOd 5AaeΘr ⁿW TSMVOLAw⌠eq 200GBC

ⁿO:

define devclass ltotape devtype=lto library=ltolibformat=ultriumc mountlimit=drives mountretention=5prefix=tsmvol estcapacity=200G

DEFINE DEVCLASS -- LTO

124 4.2

|

|

|

|

|

|

|

|

Page 151: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

DEFINE DEVCLASS -- REMOVABLEFILE

MvO

pGnoXoⁿOAz'tMvL¡εxsΘMvC

yk

DEFine DEVclass device_class_name LIBRary = library_name

DEVType = REMOVABLEfileMOUNTRetention = 60

MOUNTRetention = minutes

MOUNTWait = 60

MOUNTWait = minutes

device_class_name ]n

ⁿwnwqmOWC mOWj° 30 rC

LIBRaryⁿwwwqw½≤]]tmOiεíCΘ≈WC÷

wqw½≤÷ΩTA\ DEFINE LIBRARY ⁿOC

DEVType=REMOVABLEfile ]n

ⁿw REMOVABLEFILE m¼OⁿúmOCREMOVABLEFILE πeΘmO CD-ROMC°ACΘWAB¬ΩCCΘñ]tq FILE mOsiúCΘΩC °ALkgJi

úCΘC

°AOiHúhCΘBíJΣªCΘC ⁿHmOº

MOUNTLIMIT Hxsº MAXSCRATCH ]w¡εC

ϕz CD-ROM CΘ@ REMOVABLEFILE m¼Aw¼'MANUALC zOzLⁿIsCΘApA/dev/cdxAΣñ x Oz@tⁿw XC'nAmsy@tíµíC

ΘC

CΘW'XUC¡εG

¶ úWL 11 r

¶ WPeΘPW

\ zΓU ñ “tm REMOVABLEFILE CΘm” HoΣL÷ΩTC

DEFINE DEVCLASS -- REMOVABLEFILE

125Tivoli Storage Manager for HP-UX zΓU

5.

z

ⁿO

Page 152: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

MOUNTRetentionⁿwbúⁿºeAOdmºseΘC∩C w]

60Czi 0 9999 ºíⁿw@C

iN²eⁿeΘdbuWAH∩sCΘⁿíC

MOUNTWaitⁿwÑseΘⁿ≤ΓíwíwjC ∩

C ⁿnDpGúbⁿwíd≥Ah,H°Cw] 60 Czi 0 9999 ºíⁿw@C

DEFINE DEVCLASS -- REMOVABLEFILE

126 4.2

|

|

|

Page 153: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

DEFINE DEVCLASS -- SERVER

MvO

pGnoXoⁿOAz'tMvL¡εxsΘMvC

yk

DEFine DEVclass device_class_name DEVType = SERVER

SERVERName = server_nameMAXCAPacity = 500M

MAXCAPacity = size

MOUNTLimit = 1

MOUNTLimit = number

MOUNTRetention = 60

MOUNTRetention = minutes

PREFIX = ADSM

PREFIX = ADSMvolume_prefix

RETRYPeriod = 10

RETRYPeriod = retry_value_(minutes)

RETRYInterval = 30

RETRYInterval = retry_value_(seconds)

device_class_name ]n

ⁿwnwqmOWC mOWj° 30 rC

DEVType=SERVER ]n

ⁿwΣΩeΘsuC

SERVERName ]n

ⁿX°AWCSERVERNAME 'Xwwq°AC

: pGzNs°A SERVERNAME ≤sWAhLkHomOs SERVERNAME WeΘΩC

MAXCAPacityⁿw°AWº½≤jpW¡Aw]O 500MC∩C

500MⁿwjeqO 500M (500MB)C

sizeⁿw@πAß[W K]KBB M]MB G]GBC ie\p 100KB]MAXCAPACITY=100KC

DEFINE DEVCLASS -- SERVER

127Tivoli Storage Manager for HP-UX zΓU

5.

z

ⁿO

Page 154: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

pAMAXCAPACITY=5M ⁿwmOeΘºjeq 5 MBC

MOUNTLimitⁿwPiΘJ/ΘX]I/OºjeΘC∩C w]O 1Cziⁿw7≤ 1 256 ºírC

UCiαG

1 ⁿw°A@umO@≈C

numberⁿw°Aisxs≈qCoúαWLwñwwq

≈AHbuWúAomO≈C

MOUNTRetentionⁿwb÷¼suºe°AOdómsuC∩C w]

60Czi 0 9999 ºíⁿw@C

iN²eⁿeΘdbuWAH∩sCΘⁿíC

PREFIXⁿwb°AW¬ÑOsWYí≈C∩C w] ADSMCr j° 8 rC

ⁿw'XUC°≤G

¶ o'H¡wc¿A¡whi]t 8 r]]AyICpAUCºiHQⁿG

AB.CD2.E

¶ ¡w'Hµ@yIjC

¶ C@¡w@r0'r0UΩr]@,#,$AΣß≥r0BUΩrBΘ rC

ADSM.volume1 NOw]r ][W TSM ¡w¬ÑOsWdC

RETRYPeriodⁿw½C½OⁿbiαoqHó A°Anp

°AíjC∩C w] 10 C

RETRYIntervalHϕⁿw½íjíC½íjíOⁿbwíA⌡µ½W

vC∩C w] 30 ϕC

÷ⁿO

ϕ 52. P DEFINE DEVCLASS ÷ⁿO

ⁿO í

BACKUP DEVCONFIG N TSM mΩT≈C

DEFINE LIBRARY wqíΓíwC

DELETE DEVCLASS RúmOWC

QUERY DEVCLASS πmO÷ΩTC

DEFINE DEVCLASS -- SERVER

128 4.2

Page 155: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

ϕ 52. P DEFINE DEVCLASS ÷ⁿO (≥)

ⁿO í

UPDATE DEVCLASS ≤mOC

DEFINE DEVCLASS -- SERVER

129Tivoli Storage Manager for HP-UX zΓU

5.

z

ⁿO

Page 156: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

DEFINE DOMAIN ]wqshΓoⁿOwqshΓChΓ]thBzOMsC@

hΓⁿw@qChΓñ ACTIVE hⁿwΓqMwWhCWhεFqúOsB≈ ízAíC

bⁿwhΓqiH≈BOsαeAz'bΓñ@

hC

MvO

pGnoXoⁿOA'πtMvC

yk

DEFine DOmain domain_nameDESCription = description

BACKRETention = 30

BACKRETention = days

ARCHRETention = 365

ARCHRETention = days

domain_name]n

ⁿwnwqºhΓWCWj° 30 rC

DESCriptionⁿwhΓíC∩C íj° 255 rC pGí]t⌠≤ (rAh' AϕC

BACKRETentionⁿwOdwgúbqtW≈]q≈úA@

ΘlC∩C ziHⁿw 0 9999]t@πCw]30CoUCípA°A≈OdzD@ñG

¶ w½ssszOA²OszOw]zOúú]t

≈sC

¶ szOúsbABw]zOú]t≈sC

¶ ≈swszORúABú]t≈sC

ARCHRETentionⁿwOdOs]qOsΘΓC∩C ziHⁿw 0 9999]t@πCw] 365CoUCΣñ@ ípA°AOsOdzOsG

¶ szOúAsbABw]zOú]tOssC

¶ OsswszORúABw]zOú]tOs

sC

DEFINE DOMAIN

130 4.2

Page 157: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

d

@

H PROG1 WHu]psΓívoíwqhΓCϕzOOsswQRúABw]zOú]tOssAⁿwOdOs

90 CϕzOswQRúABw]zOú]t≈sAτⁿwOd≈ 60 C

ⁿO:

define domain prog1description="Programming Group Domain"backretention=60 archretention=90

÷ⁿO

ϕ 53. P DEFINE DOMAIN ÷ⁿO

ⁿO í

ACTIVATE POLICYSET τhC

COPY DOMAIN hΓC

DEFINE POLICYSET wqⁿwhΓºhC

DELETE DOMAIN RúhΓH⌠≤hΓñh½

≤C

QUERY DOMAIN πhΓ÷ΩTC

UPDATE DOMAIN ≤hΓC

DEFINE DOMAIN

131Tivoli Storage Manager for HP-UX zΓU

5.

z

ⁿO

Page 158: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

DEFINE DRIVE ]N@≈wq woⁿOwq@≈A²°AsxseΘWΩCC@≈

úⁿw@µ@wCboXoⁿOeAz'wqowCzi∩C@

≈oX@ DEFINE DRIVE ⁿOA∩@wwwq@HW≈CWí≈@wnΓ¼wC÷≤ΣLΩTA\ zΓUC

MvO

pGnoXoⁿOAz'tMvL¡εxsΘMvC

yk

DEFine DRive library_name drive_name DEVIce = device_name

ONLine = Yes

ONLine = YesNo

(1)ELEMent = address

(2)CLEANFREQuency = NONE

CLEANFREQuency = NONEASNEEDEDvalue

:

1 ELEMENT ∩ SCSI CΘwñ≈A²OϕⁿOOqwqTSM °AoX]τYAϕw¼O SHARED ALC bt

h≈ SCSI CΘwñ≈AoO'nC

2 CLEANFREQUENCY ∩ SCSI CΘw≈C

library_name]n

ⁿX≈ⁿwwWC ≈A]AWí≈Aún@

Cⁿwºw'b²ew DEFINE LIBRARY ⁿOwqC

drive_name]n

ⁿw≈WCWj° 30 rC

DEVIce]n

ⁿw∩≤≈mW]]NOSϕWCpAziHⁿw

/dev/rmt/c0t3d0BESTC

b HP-UX mXíΣa≈tmmXíºßA@tbtíⁿwSϕWCµ@≈iHhSϕWA°

≈ΣµíPO²KwC

DEFINE DRIVE

132 4.2

Page 159: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

∩N≈wq°AmWC∩zn TSM µíPKC pA@miHπUCSϕWG

¶ /dev/rmt/0m

¶ /dev/rmt/0mb

¶ /dev/rmt/0mn

¶ /dev/rmt/c1t0d0BEST

¶ /dev/rmt/c1t0d0BESTb

¶ /dev/rmt/c1t0d0BESTn

¶ /dev/rmt/c1t0d0BESTnb

úPWNϕúPO²µíBKM@SApΩúYCziH∩

/dev/rmt/c1t0d0BEST WA²°A≈WiO²µíKCpGnεoWAiH HP-UX tzí]System AdministrationManagerASAMA IOSCAN ⁿOC pAnεa≈imSϕAΘJUCⁿOG

> /usr/sbin/ioscan -fkn -C tape

LSSF ⁿOiH≤Uzo÷mSϕW ΩTC\z@tíσ≤AHoSϕW ΩTC

ONLineⁿw≈O iHC∩C w] YESC

Yesⁿw≈iHC

Noⁿw≈úiHC

ELEMentⁿw≈b SCSI CΘñCu∩ SCSI CΘwñ≈A²OϕⁿOOqwq TSM °AoX]τYAϕw¼O SHAREDALC

:

1. ∩≤ SCSI CΘwñ≈A]Au@≈@ SCSI CΘwAOi∩C

2. ∩≤ SCSI CΘwñ≈A]A@HW≈@ SCSI CΘwAO'nC

°AnA!αN≈ΩΘms≈ SCSI CnozwtmAVsyoΩTC

DEFINE DRIVE

133Tivoli Storage Manager for HP-UX zΓU

|

|

|

|

|

|

|

|

|

|

|

5.

z

ⁿO

Page 160: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

÷≤ΣlΩTA T S M ⌠G

http://www.tivoli.com/support/storage_mgr/tivolimain.htmlComΩTC∩AϕúM¡xAMßmC÷@USwmd

C

CLEANFREQuencyⁿw°A≈MzWvC∩C w]O NONECz'NMzXJweΘwsñA!α≈iµπíwMz@

C÷≤bMΓw A\ zΓUC

: únmwΘñ≈MzΣº SCSI CΘw°Aε≈MzC

NONEⁿw°Aúlo≈Mz@C∩¡íMzw

oC

ASNEEDEDⁿwuϕ≈∩mXí°iªnMzA°A!JMzX

ⁿJ≈C

valueH GB µAⁿwb°AJMzXⁿJ≈ºeAnb≈WBzh#ΩC°AbCⁿJMzX≈A½]wBz GB pC

\≈syúΩToMzCpGΩTñúHp

ϕ@MzWvAUCBJ૨ GBG

1. ≈CϕtvPCp GB C

2. NCp GB HMzíjpC

3. Gϕ@MzWvC

d

@

zwg DEFINE LIBRARY ⁿOwq@ⁿW MANLIB ΓíawCzbnq°Az@a≈iHsxsCΘCz≈∩W

TAPEDRIVE3C

ⁿO:

define drive manlib tapedrive3 device=/dev/rmt/0m

@

wqm¼ REMOVABLEFILE]CDROM≈C

: oⁿO UNIX ⁿI@mC zΓU HoΣL÷ΩTC

ⁿO: define drive manual cddrive device=/cdrom

DEFINE DRIVE

134 4.2

|

|

|

|

Page 161: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

÷ⁿO

ϕ 54. P DEFINE DRIVE ÷ⁿO

ⁿO í

DEFINE LIBRARY wqíΓíwC

DELETE DRIVE wRú≈C

DELETE LIBRARY RúwC

QUERY DRIVE π≈÷ΩTC

QUERY LIBRARY π@hw÷ΩTC

UPDATE DRIVE ≤≈C

DEFINE DRIVE

135Tivoli Storage Manager for HP-UX zΓU

5.

z

ⁿO

Page 162: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

DEFINE EVENTSERVER]N°Awq≤°AoⁿON°Aⁿw≤°AC

Yzwq≤°AATSM °ANiHe≤t@O²o≤ TSM °

AC\zΓUHo]mO²≤≤°A÷ΩTC

MvO

pGnoXoⁿOA'πtMvC

yk

DEFine EVENTSERVer server_name

server_name]n

ⁿw≤°AWCzⁿw°A'w²zL DEFINE SERVER ⁿOwqLC

d

@

ⁿw ASTRO ≤°AC

ⁿO: define eventserver astro

÷ⁿO

ϕ 55. P DEFINE EVENTSERVER ÷ⁿO

ⁿO í

DEFINE SERVER wqu°A∩°AvqH°AC

DELETE EVENTSERVER Rú≤°AC

DISABLE EVENTS ¼Sw≤C

ENABLE EVENTS ¼Sw≤C

PING SERVER °AísuC.

QUERY EVENTSERVER π≤°AWC

QUERY SERVER π°A÷ΩTC

DEFINE EVENTSERVER

136 4.2

Page 163: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

DEFINE GRPMEMBER]sW°A °AsoⁿON°AsW°As¿Cz]iHsW°Ast@°

AsC°Asi²zunⁿw@°AsWANαNⁿOeh

°AC

MvO

pGnoXoⁿOA'πtMvC

yk

DEFine GRPMEMber group_name

,

member_name

group_name]n

ⁿXnsW¿°AsWC

member_name]n

ⁿwnsWs°AsWCpGⁿwh°AMsAHr j

WABñíS µCP]'∩°Awq°A°AsC

d

@ 1

N°A SANJOSE wq°As CALIFORNIAC

ⁿO: define grpmember california sanjose

@ 2

N°A TUCSON °As CALIFORNIA wq°As WEST_COMPLEXC

ⁿO: define grpmember west_complex tucson,california

÷ⁿO

ϕ 56. P DEFINE GRPMEMBER ÷ⁿO

ⁿO í

DEFINE SERVER wqu°A∩°AvqH°AC

DEFINE SERVERGROUP wqs°AsC

DELETE GRPMEMBER °AsRúY°AC

DELETE SERVERGROUP Rú°AsC

MOVE GRPMEMBER °As¿C

QUERY SERVER π°A÷ΩTC

RENAME SERVERGROUP ≤°AsWC

UPDATE SERVERGROUP ≤s°AsC

DEFINE GRPMEMBER

137Tivoli Storage Manager for HP-UX zΓU

5.

z

ⁿO

Page 164: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

DEFINE LIBRARY]wqCΘwoⁿOwqCΘwCwYⁿ@h≈AHiαOisxs

eΘm] w¼XC

MvO

pGnoXoⁿOAz'tMvL¡εxsΘMvC

yk

D SAN ⌠

DEFine LIBRary library_nameLIBType = MANUAL

LIBType = MANUALSCSI A349X BEXTernal C

A (SCSI):

DEVIce = device_name

B (349X):

,(1)

DEVIce = device_nameSCRATCHCATegory = 301

SCRATCHCATegory = number

PRIVATECATegory = 300

PRIVATECATegory = number

C (EXTERNAL):

EXTERNALManager = path_name

:

1 ⁿw 1 8 mWC

DEFINE LIBRARY

138 4.2

||

|

||||||||||||||||||||||||||||||||||||||||||||||||

|

|

|||||||||||||

|

|

||||||||||||||||||||||||||||||||||||||

||||||||||||||||||||||||

|

|

|||||||||||||

|

|

|||||

|

Page 165: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

yk

SAN ⌠ñwzí

DEFine LIBRary library_name

LIBType = SCSI DEVIce = device_name349X A

SHAREd = Yes

A (349X):

,(1)

DEVIce = device_nameSCRATCHCATegory = 301

SCRATCHCATegory = number

PRIVATECATegory = 300

PRIVATECATegory = number

:

1 ⁿw 1 8 mWC

yk

SAN ⌠ñwq

DEFine LIBRary library_name

LIBType = SHAREd PRIMarylibmanager = server_name

library_name]n

ⁿw²wqºwWCWj° 30 rC

LIBTypeⁿwwqºw¼Cw] MANUALC iαG

MANUALⁿwwúíCϕeΘnⁿ≤¼ºwñ≈W

AteTºⁿ@AHqL@C¼wPW

í≈@C

DEFINE LIBRARY

139Tivoli Storage Manager for HP-UX zΓU

||

|

|||||||||

||||||||||||||||||||||||||||||||||

|

|

||||||||||||||||||||||||||||||||||||||

||||||||||||||||||||||||

|

|

|||||

||

|

|||||||||

||||||||||||||||||

||||

|

5.

z

ⁿO

Page 166: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

SCSIⁿwwπ@ SCSI ½mCFb≈Wⁿo w¼eΘA TSM ½mC

349XNwⁿw IBM 3494 Tape Library DataserverCmWO'nCPM O∩²ΓC

] TSM Qiϕ XA² 349X Q8iAHUCíúoΓ C

÷p≤ⁿw XΩTA\ zΓUC

SHAREdⁿwwzLxs⌠⌠]SANg∩w≈ ½ SCSI suAMΣª TSM °A@C

: bwqWwqwnC

EXTernalⁿwwOíCΘztzCw¼úg DEFINE DRIVEⁿOΣ≈wqCϕMAíCΘztOAϕ≈HKCΘs

@C

DEVIce ]n

ⁿwsw≈±≈εºmWCuA≤ SCSI M 349X CΘw¼C

TSM nmW!α≈ΓíCΘmC

pGw¼ SCSIAⁿ@mWC

pGw¼ 349XAziHr jAúíJ⌠≤ µAⁿw 1 8 mWC

/dev/rmt/lb0 KOmWdC

Ynδ°ΓíCΘATSM nCmWAYSOWCbz HP-UX mXíΣa≈tmmXíºßA@tbtíAⁿwSOWCµ@≈iHhSϕWA°≈Σ

µíPO²KwC

≥≤zµ TSM µíKA∩nbwq TSM ≈mWC

pA@miHπUCSϕWG

¶ /dev/rmt/0m

¶ /dev/rmt/0mb

¶ /dev/rmt/0mn

¶ /dev/rmt/c1t0d0BEST

¶ /dev/rmt/c1t0d0BESTb

¶ /dev/rmt/c1t0d0BESTn

DEFINE LIBRARY

140 4.2

|

|

|

|

|

Page 167: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

¶ /dev/rmt/c1t0d0BESTnb

÷≤mWΣlΩTAδ DEFINE DRIVE ⁿO DEVICE íAH zΓUC

EXTERNALManager]n

ⁿw T S M ieCΘsnDíwzímCϕ

LIBTYPE=EXTERNAL A!nC

PRIMarylibmanager]n

ⁿw°AWA°AtdεwΩ sCz'² DEFINESERVER ⁿOwqo°AA!α≈Nª≤wzíC

: ϕzwqwwqA!nCϕLIBTYPE=SHARED A!'nBC

PRIVATECATegoryⁿX' WmMeΘ XC ∩Cw]

300]X'12C'CziHⁿw 1 65279 rCϕ LIBTYPE=349X A!C

SCRATCHCATegoryⁿw≤weΘ C∩Cw] 301]X'12D'CziHⁿw 1 65279 rCϕ LIBTYPE=349X A!C

ϕ 3 4 9 X CΘw 3 5 9 0 a≈Σ]°A∩

ENABLE3590LIBRARY ∩A TSM bwwqΓ C

@ O 3 4 9 0 eΘABⁿwAOw] 3 0 1]X ' 1 2 D 'CG O 3 5 9 0 eΘABO@j≤

SCRATCHCATEGORY ⁿwCG w]O 302]X'12E'Cb HP-UXAuΣ 3590 ≈CBwq 3490 DΩ

A² 3590 O+1CpApGO 301A≥ 3590

O 302C

i: ϕz 3590 Σb TSM MΣªíºí@ 3494 wApG TSM 3590 eΘ½ Aiαy¿ΩyóC

SHAREd]n

ⁿwwO Mxs⌠⌠]SANñΣª TSM °A@C

: ϕzwqwDnwzíA!nCu∩ SCSIM 349X CΘwC

YESⁿwwiMΣª TSM °A@Cϕzⁿw YES A°A Σª°AnDtdⁿeΘAwzílΣª°Atm

≈MeΘC

DEFINE LIBRARY

141Tivoli Storage Manager for HP-UX zΓU

5.

z

ⁿO

Page 168: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

d

@

H MANUAL w¼wqwW MANUALMOUNTC

ⁿO: define library manualmount libtype=manual

@

wq@wW EZLIFEAw¼ SCSIAmW /dev/rmt/lb0C

ⁿO:

define library ezlife libtype=scsi device=/dev/rmt/lb0

÷ⁿO

ϕ 57. P DEFINE LIBRARY ÷ⁿO

ⁿO í

AUDIT LIBRARY Tw@íwOB≤@P¼AC

DEFINE DRIVE ⁿw≈wC

DELETE LIBRARY RúwC

QUERY DRIVE π≈÷ΩTC

QUERY LIBRARY π@hw÷ΩTC

UPDATE DRIVE ≤≈C

UPDATE LIBRARY ≤wC

DEFINE LIBRARY

142 4.2

Page 169: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

DEFINE LOGCOPY]wqΘxeΘeΘoⁿOΘxeΘ]ΦMeΘCΦMΘxiW[Θx

iAúKCΘów$@CzhiΓΘxeΘCbC

@ΘxeΘwqßA°AHΘxPBeΘC

ΘxeΘ'n≤H≈seΘWCeΘ#πPeΘPe

qBwq≤OΩΘmWCbeΘWΣª íúQC

oⁿOú@IAziH CANCEL PROCESS ⁿONª°CpG°DEFINE LOGCOPY AheΘCúLApG°PBBzANeΘB≤ó¼ACpGnπ÷IΩTA QUERY PROCESS ⁿOC

MvO

pGnoXoⁿOAz'tMvL¡εxsΘMvC

yk

DEFine LOGCopy volume_name copy_volume_name

volume_name]n

ⁿwnΦMΘxWC

copy_volume_name]n

ⁿwnⁿúΘxeΘeΘWCWúiHt (Ñ C

Hπ⌠∩≤°Aµu@²WΘJoWCpApG

WO log2.dsmAΘJUC⌠WG

/usr/adsmserv/log2.dsm

d

@

ⁿW LOG.1 ΘxeΘA@ⁿW LOG.2 ΘxeΘC

ⁿO: define logcopy log.1 log.2

÷ⁿO

ϕ 58. P DEFINE LOGCOPY ÷ⁿO

ⁿO í

CANCEL PROCESS °I°ABzC

DEFINE LOGVOLUME wqeΘΘxC

DELETE LOGVOLUME ΘxRúeΘC

QUERY LOGVOLUME πΘxeΘ÷ΩTC

QUERY PROCESS πI÷ΩTC

DEFINE LOGCOPY

143Tivoli Storage Manager for HP-UX zΓU

5.

z

ⁿO

Page 170: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

DEFINE LOGVOLUME]wqΘxeqoⁿOwqsΘxeΘCΘxeΘ'≤@H≈sCΘ

WCziHbeΘQⁿwºe TSM C

i: @,∩ TSM wqwtmΘxeΘANúα≤ªjpCpGz≤

TSM eΘjpA TSM iαLkTl]wABziα≥óΩC

ΘxeΘ#' 9MBCxsΘ íOb 4MB ⌠ñAB@h 1MB ⌠CpApGzwqΘxeΘeq 9MBA≥ 8MB O≤eΘWxsΘC

: ΘxjpW¡O 13GBCjTW[ΘxjpW[½s°AB≈ΩwΩwíC

MvO

pGnoXoⁿOAz'tMvL¡εxsΘMvC

yk

DEFine LOGVolume volume_nameFormatsize = megabytes

Wait = No

Wait = NoYes

volume_name]n

ⁿwΘxeΘWCWúiHt (Ñ C

Hπ⌠∩≤°Aµu@²WΘJWC pApGW

mainvolAhΘJ⌠WG

/user/lpp/adsmserv/bin/mainvol

Formatsizeⁿwnb@@wqµíeΘjpC∩C oOH MB µⁿwC

WaitⁿwO nbeIñiµeΘPs@µíÑ@C∩C w]

O NOCúDz]ⁿwF FORMATSIZE A htúBzªC

NoⁿwnbIñiµeΘPs@µí@C

YesbeñeΘPs@ΣµíC

DEFINE LOGVOLUME

144 4.2

|

|

Page 171: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

: zúαq°ADxⁿw WAIT=YesC

d

@ 1

wq@ΘxeΘs@ LOG.2C

ⁿO: define logvolume log.2

@ 2

log3.dsm W 20MB sΘxeΘAMßÑ°AwqeΘC

ⁿO: define logvolume /var/adsmserv/log3.dsm formatsize=20 wait=yes

÷ⁿO

ϕ 59. P DEFINE LOGVOLUME ÷ⁿO

ⁿO í

DEFINE LOGCOPY ΘxeΘeΘC

DEFINE SPACETRIGGER wqΩwΘx íoⁿOC

DELETE LOGVOLUME ΘxRúeΘC

EXTEND LOG XR²etmΣeΘºiΘx

xsΘC

QUERY LOG πΘx÷tmΩTC

QUERY LOGVOLUME πΘxeΘ÷ΩTC

UPDATE SPACETRIGGER ≤ΩwΘx íoⁿOC

DEFINE LOGVOLUME

145Tivoli Storage Manager for HP-UX zΓU

||

||

5.

z

ⁿO

Page 172: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

DEFINE MACHINE]wq≈ΩTⁿOixs°AqI≈NΩTCΩTNgJpA

≤Uz≈C

MvO

pGnoXoⁿOA'πtMvC

yk

DEFine MACHine machine_nameDESCription = description

BUilding = building FLoor = floor ROom = room

PRIority = 50

PRIority = number

ADSMServer = No

ADSMServer = NoYes

machine_name]n

ⁿw≈WCWhiH 64 rC

DESCriptionⁿw≈íC∩C σrhiH 255 rCpGσr]t⌠≤ (rAh' AϕC

BUildingⁿw≈bjC∩C σrhiH 16 rCpGσr]t⌠≤ (rAh' AϕC

FLoorⁿw≈bhC∩C σrhiH 16 rCpGσr]t⌠≤ (rAh' AϕC

ROomⁿw≈bíC∩C σrhiH 16 rCpGσr]t⌠≤ (rAh' AϕC

PRIorityH 1 99 πAⁿw≈u²C¬u²O 1CoO∩Cw]O 50C

ADSMServerⁿw≈O TSM °ACu@í≈iwq TSM °AC∩

C w] NOCiαG

DEFINE MACHINE

146 4.2

Page 173: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

No≈úO TSM °AC

Yes≈O TSM °AC

d

@

wq@íⁿW DISTRICT5 ≈AMßⁿwmBhMíWCoí≈]t½nΩTAπ¬u²C

ⁿO:

define machine district5 building=101 floor=27room=datafacilities priority=1

÷ⁿO

ϕ 60. P DEFINE MACHINE ÷ⁿO

ⁿO í

DEFINE MACHNODEASSOCIATION N TSM IP≈÷pC

DEFINE RECMEDMACHASSOCIATION NCΘP≈sC

DELETE MACHINE Rús≈C

INSERT MACHINE N≈SⁿíJ TSM ΩwC

QUERY MACHINE π≈÷ΩTC

UPDATE MACHINE ≤s≈ΩTC

DEFINE MACHINE

147Tivoli Storage Manager for HP-UX zΓU

5.

z

ⁿO

Page 174: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

DEFINE MACHNODEASSOCIATION]sIP≈ⁿOiXqIM≈C≈'QwqAI'n² TSMCNíAziΩTOl≈WqICpGnXΩTAoX

QUERY MACHINE ⁿOC ΩTNgJpA≤Uzß≈C

úDRúIB≈¡sA hIOdP≈sC

MvO

pGnoXoⁿOA'πtMvC

yk

DEFine MACHNODEAssociation machine_name

,

node_name

machine_name]n

ⁿw≈WC

node_name]n

ⁿwIWC@IiHs@≈CpGnⁿwhIAHr

jWABñíS µC ziHUrⁿwWC

d

@

NⁿW ACCOUNTSPAYABLE IPⁿW DISTRICT5 ≈sC

ⁿO:

define machnodeassociation district5accountspayable

÷ⁿO

ϕ 61. DEFINE MACHNODEASSOCIATION ÷ⁿO

ⁿO í

DEFINE MACHINE wq≈ DRMC

DELETE MACHINE Rús≈C

DELETE MACHNODEASSOCIATION Rú≈HIºí÷pC

QUERY MACHINE π≈÷ΩTC

REGISTER NODE wq@q°AB]w

∩C

REMOVE NODE SwhΓºn²ICñúh@

qC

DEFINE MACHNODEASSOCIATION

148 4.2

Page 175: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

DEFINE MGMTCLASS ]wq@zOoⁿOwqhñszOCF²qszOAz'

]tsOhC

b@hΓñC@hziwq@hzOC@zOiH]t

sBOssoΓCqIiH∩@hñ⌠≤

zOAw]zOC

: pGNxsⁿw ízaAh DEFINE MGMTCLASS ⁿOó C

MvO

pGnoXoⁿOAz'πtMvBL¡εhMvAzO

hΓ¡εhMvC

yk

DEFine MGmtclass domain_name policy_set_name class_name

SPACEMGTECHnique = NONE

SPACEMGTECHnique = AUTOmaticSELectiveNONE

AUTOMIGNOnuse = 0

AUTOMIGNOuse = days

MIGREQUIRESBkup = Yes

MIGREQUIRESBkup = YesNo

MIGDESTination = pool_name

DESCription = description

domain_name]n

ⁿwzOhΓC

policy_set_name]n

ⁿwzOhCzúαNzOwq ACTIVE hC

class_name]n

ⁿwszOWCWj° 30 rCzúiH default grace_period ϕ@OWC

SPACEMGTECHniqueⁿwozOO AXαC ∩C w]O NONECo

DEFINE MGMTCLASS

149Tivoli Storage Manager for HP-UX zΓU

5.

z

ⁿO

Page 176: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

u∩ Tivoli ízí q]τ HSM qA∩≈Os

qíqLCiαG

AUTOmaticⁿwAXiµα∩αC

SELectiveⁿwA@∩αC

NONEⁿwúA@αC

AUTOMIGNOnuseⁿwb±@sºßA'gLX!ααC∩C w]

O 0CpG SPACEMGTECHNIQUE úO AUTOMATICAh°AñoCziHⁿw 0 9999]t@πC

ou∩ HSM qA∩≈OsqíqLC

MIGREQUIRESBkupⁿwbαeAO n@≈≈C∩C w] YESCou∩ HSM qA∩≈OsqíqLC iα

G

Yesⁿw≈'sbC

Noⁿw≈O∩C

MIGDESTinationⁿws± HSM qαDxsCou∩ HSM q

A∩≈OsqíqLC

pGⁿwxs@aAhoⁿOóC

DESCriptionⁿwzOíC∩C íj° 255 rC pGí]t⌠≤ (rAh' AϕC

d

@

PROG1 hΓñ SUMMER hwq@s MCLASS1 zOCYOHSM qAe\∩Γ αABNαxsb SMPOOL xsñC[JuNΣzOvíC

ⁿO:

define mgmtclass prog1 summer mclass1spacemgtechnique=automatic migdestination=smpooldescription="technical support mgmt class"

DEFINE MGMTCLASS

150 4.2

Page 177: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

÷ⁿO

ϕ 62. P DEFINE MGMTCLASS ÷ⁿO

ⁿO í

ASSIGN DEFMGMTCLASS ⁿw@szO@ⁿwºh

w]C

COPY MGMTCLASS zOC

DEFINE COPYGROUP wqsH≈OsⁿwzOº

BzC

DEFINE POLICYSET wqⁿwhΓºhC

DELETE MGMTCLASS hΓHhRú@zOH

ªsC

QUERY COPYGROUP π@ssC

QUERY MGMTCLASS πzO÷ΩTC

QUERY POLICYSET πh÷ΩTC

UPDATE COPYGROUP ≤s@hC

UPDATE MGMTCLASS ≤zOC

DEFINE MGMTCLASS

151Tivoli Storage Manager for HP-UX zΓU

5.

z

ⁿO

Page 178: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

DEFINE POLICYSET ]wqhoⁿOwqhΓñhCh]tzOAßh]ts

C ziHC@hΓwq@hhC pGn²hAN'

ACTIVATE POLICYSET ⁿOhCb@hΓñAu@hiH@C@hñsPzOMwqI⌡µ≈BOs í

z@WhAHzxsqΦkC

VALIDATE POLICYSET ⁿOτH ACTIVATE POLICYSET ⁿOºeAhO πC

MvO

pGnoXoⁿOAz'tMvBL¡εhMvOh

hΓ¡εhMvC

yk

DEFine POlicyset domain_name policy_set_name

DESCription = description

domain_name]n

ⁿwhhΓWC

policy_set_name]n

ⁿwhWCWj° 30 rCzúαwqhⁿWACTIVEC

DESCriptionshⁿw@íC∩C íj° 255 rC pGí]t⌠≤ (rAh' AϕC

d

@

PROG1 hΓwq@ SUMMER hABJu]pshívíC

ⁿO:

define policyset prog1 summerdescription="Programming Group Policies"

÷ⁿO

ϕ 63. P DEFINE POLICYSET ÷ⁿO

ⁿO í

ACTIVATE POLICYSET τhC

DEFINE POLICYSET

152 4.2

Page 179: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

ϕ 63. P DEFINE POLICYSET ÷ⁿO (≥)

ⁿO í

COPY MGMTCLASS zOC

COPY POLICYSET hC

DEFINE DOMAIN wqiⁿwqhΓC

DEFINE MGMTCLASS wqzOC

DELETE POLICYSET hΓRú@hA]Aªz

OHsC

QUERY POLICYSET πh÷ΩTC

UPDATE POLICYSET ≤híC

VALIDATE POLICYSET bhºeAz'°≤º

τH°iC

DEFINE POLICYSET

153Tivoli Storage Manager for HP-UX zΓU

5.

z

ⁿO

Page 180: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

DEFINE PROFASSOCIATION]wq]w÷pbtmzíWoⁿON@h½≤÷ptm]wAHK²e

ⁿz°ACbⁿz°A]wßAtmzíeM]w÷p

½≤wqⁿz°A]o½≤wqOxsbⁿz°AΩwñCH

Φí≤ⁿz°AΩwñ½≤A¿ⁿz½≤C@½≤iM@H

W]wú÷pC

ziHoⁿOwq@l]w÷pABsWs÷pC

ziHN]wMUC½≤¼÷pG

¶ zn²Pv¡

¶ hΓA]tΓhBzOBsqϕC

¶ zϕ

¶ °AⁿO Script¶ q∩

¶ °Awq

¶ °Aswq

: tmzíúe½≤¼AΩTⁿz°ACpAzWs°A$AoΩTKúeⁿz°ACo ¼ΩTObO

ⁿz°AΩwñiµ@C

MvO

pGnoXoⁿOA'πtMvC

yk

DEFine PROFASSOCiation profile_name

ADMins = *,

admin_name

DOmains = *,

domain_name

ADSCHeds = *,

schedule_name

SCRipts = *,

script_name

DEFINE PROFASSOCIATION

154 4.2

Page 181: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

CLOptsets = *,

option_set_name

SERVers = *,

server_name

SERVERGroups = *,

group_name

profile_name]n

ⁿwtm]wWC

ADMinsⁿwnM]w÷pzCziHbWñUrCziHⁿw@H

WWAΦkOQr jWABºíúi µC$íw

qA]NOP ]*¡AⁿwHtmzín²zCpGzⁿw$íwqABbyßsWΣªzALNzL]weC

tmzíezWBKXBpΩTAHP]w÷z

v¡CtmzíúeUCG

¶ ⁿW SERVER_CONSOLE zAYz$íwq]@

¶ zΩwúΩw¼A

ϕ]wwgMz÷pAAUCí#G

¶ pGzⁿw@≈zCAwg@≈CsbAh TSM NsCP

sCXC

¶ pGzⁿw$íwqAwg@≈zCsbAh TSM H$í

wqNCC

¶ pGzⁿw@≈zCAºewgⁿwF$íwqAh TSM

ño≈CCpGnú$íwqAoX DELETE PROFASSOCIATIONⁿOAB[W ADMINS=* C

DOmainsⁿwnM]w÷phΓCziHbWñUrCziHⁿw@

HWWAΦkOQr jWABºíúi µC$í

wqA]NOP ]*¡AⁿwbtmzíWwqΓCpGzⁿw$íwqABbyßsWΣªΓAªNzL]weC

tmzíeΓΩTA]AhΓBhBzOBsMq

ϕwqCtmzíúeu@ñvhCⁿz°A

ziⁿz°AWⁿzΓ⌠≤hC

DEFINE PROFASSOCIATION

155Tivoli Storage Manager for HP-UX zΓU

5.

z

ⁿO

Page 182: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

ϕ]wwg÷ΓAAUCí#G

¶ pGzⁿw@≈ΓCA²wg@≈CsbAh TSM NsCP

sCXC

¶ pGzⁿw$íwqA²wg@≈ΓCsbAh TSM H$í

wqNCC

¶ pGzⁿw@≈ΓCAºewgⁿwF$íwqAh TSM ñ

o≈CCpGnú$íwqAoX DELETE PROFASSOCIATION ⁿOAB[W DOMAINS=* C

i: pGaxsúsbAh≈POsoq@NóC]A

o]wⁿz°A'πb÷Γñ⌠≤ⁿwaºxs

wqC RENAME STGPOOL ⁿO≤WsxsAHXeaWC

ADSCHedsⁿwnM]w÷pzϕCziHbWñUrCziHⁿw@

HWWAΦkOQr jWABºíúi µC$í

wqA]NOP ]*¡AⁿwbtmzíWwqzϕCpGzⁿw$íwqABbyßsWΣªzϕAªNzL]

weC

: btmzíezϕAzϕB≤D@ñCⁿz°AWz'ϕA²ªb°AW⌡µC

ϕ]wwg÷zϕAAUCí#G

¶ pGzⁿw@≈zϕCA²Owg@≈CsbAh TSM Ns

CPsCXC

¶ pGz$íwqA²Owg@≈zϕCsbAh TSM

H$íwqNCC

¶ pGzⁿw@≈zϕCAºewgⁿwF$íwqAh TSM ño≈CCpGnú$íwqAoX D E L E T EPROFASSOCIATION ⁿOAB[W ADSCHEDS=* C

SCRiptsⁿwnM]w÷p°A ScriptCziHbWñUrCziHⁿw@HWWAΦkOQr jWABºíúi µC$í

wqA]NOP ]*¡AⁿwbtmzíWwq ScriptCpGzⁿw$íwqABbyßsWΣª ScriptAªNzL]weC

ϕ]wwg÷ Script AAUCí#G

¶ pGzⁿw@≈ Script CA²Owg@≈CsbAh TSM NsC

PsCXC

¶ pGz$íwqA²Owg@≈ Script CsbAh TSM H$

íwqNCC

DEFINE PROFASSOCIATION

156 4.2

Page 183: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

¶ pGzⁿw@≈ Script CAºewgⁿwF$íwqAh TSM

ño≈CCpGnú$íwqAoX DELETE PROFASSOCIATIONⁿOAB[W SCRIPT=* C

CLOptsetsⁿwnM]w÷pq∩CziHbWñUrCziHⁿw

@HWWAΦkOQr jWABºíúi µC$í

wqA]NOP ]*¡AⁿwbtmzíWwqq∩CpGzⁿw$íwqABbyßsWΣªq∩AªN

zL]weC

ϕ]wwg÷q∩AAUCí#G

¶ pGzⁿw@≈q∩CA²Owg@≈CsbAh TSM Ns

CPsCXC

¶ pGz$íwqA²Owg@≈q∩CsbAh TSM H$íwqNCC

¶ pGzⁿw@≈q∩CAºewgⁿwF$íwqAh TSMño≈CCpGnú$íwqAoX D E L E T EPROFASSOCIATION ⁿOAB[W CLOPSETS=* C

SERVersⁿwnM]w÷p°AwqCwqeo]wⁿz°A

CziHbWñUrCziHⁿw@HWWAΦkOQr

jWABºíúi µC$íwqA]NOP ]*¡AⁿwbtmzíWwq°ACpGzⁿw$íwqABby

ßsWΣª°AAªNzL]weC

tmzíeUC°AGqHΦkB IP B≡B°AKXBURL MíCbⁿz°AWAe°Awq@wN ALLOWREPLACE ]w YESAúobtmzí≤Cbⁿz°AWAziH UPDATE SERVER ⁿO]wΣªC

ϕ]wwg÷°AAAUCí#G

¶ pGzⁿw@≈°ACA²Owg@≈CsbAh TSM NsC

PsCXC

¶ pGz$íwqA²Owg@≈°ACsbAh TSM H$

íwqNCC

¶ pGzⁿw@≈°ACAºewgⁿwF$íwqAh TSM

ño≈CCpGnú$íwqAoX DELETE PROFASSOCIATIONⁿOAB[W SERVERS=* C

:

1. úDze\m½ⁿz°AWwqA húHtmzíwqNⁿz°AW°AwqCpGnbⁿz°AWe\m½A

UPDATE SERVER ⁿOA[W ALLOWREPLACE=YES ≤s°AwqC

DEFINE PROFASSOCIATION

157Tivoli Storage Manager for HP-UX zΓU

5.

z

ⁿO

Page 184: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

2. ϕtmzíe°Awqⁿz°AApGbⁿz°AWsb@M°APW°AsAhe°AwqN°AswqC

SERVERGroupsⁿwnM]w÷p°AsCziHbWñUrCziHⁿw@

HWWAΦkOQr jWABºíúi µC$í

wqA]NOP ]*¡AⁿwbtmzíWwq°AsCpGzⁿw$íwqABbyßsWΣª°AsAªNzL]

weC

: pGⁿz°AwgwqF@M°AsPW°AAhtmzíúN°Aswqeⁿz°AC

ϕ]wwg÷°AsAAUCí#G

¶ pGzⁿw@≈°AsCA²Owg@≈CsbAh TSM Ns

CPsCXC

¶ pGz$íwqA²Owg@≈°AsCsbAh TSM

H$íwqNCC

¶ pGzⁿw@≈°AsCAºewgⁿwF$íwqAh TSM ño≈CCpGnú$íwqAoX D E L E T EPROFASSOCIATION ⁿOAB[W SERVERGROUPS=* C

d

@ 1

²W MARKETING ΓMW DELTA ]wú÷pC

ⁿO: define profassociation delta domains=marketing

@ 2

zwgN@≈ΓCPⁿW GAMMA ]w÷pCbNbtmzíWwqΓM]w÷pC

ⁿO: define profassociation gamma domains=*

÷ⁿO

ϕ 64. P DEFINE PROFASSOCIATION ÷ⁿO

ⁿO í

COPY PROFILE ]wC

DEFINE PROFILE eΩTz°Awq]wC

DELETE PROFASSOCIATION Rú½≤P]wsC

DELETE PROFILE tmzíRú]wC

LOCK PROFILE εtm]weC

NOTIFY SUBSCRIBERS q°A½sπzΣtmΩTC

QUERY PROFILE πtm]w÷ΩTC

DEFINE PROFASSOCIATION

158 4.2

Page 185: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

ϕ 64. P DEFINE PROFASSOCIATION ÷ⁿO (≥)

ⁿO í

SET CONFIGMANAGER ⁿX°AO tmzíC

UNLOCK PROFILE Ωw]wiHz°AC

UPDATE PROFILE ≤]wíC

DEFINE PROFASSOCIATION

159Tivoli Storage Manager for HP-UX zΓU

5.

z

ⁿO

Page 186: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

DEFINE PROFILE]wq]wbtmzíWoⁿOwqiHe ⁿz°A]w]@tmΩ

TC

bwq]wßAziH DEFINE PROFASSOCIATION ⁿOAⁿXne]wºⁿz°A½≤C

MvO

pGnoXoⁿOA'πtMvC

yk

DEFine PROFIle profile_nameDESCription = description

profile_name]n

ⁿX]wWCWj° 30 rC

DESCriptionⁿX]wíCíj° 255 rC pGí]t⌠≤ (rAh' AϕC∩C

d

@

Huí]pñvíwqⁿW ALPHA ]wC

ⁿO:

define profile alphadescription="Programming Center"

÷ⁿO

ϕ 65. P DEFINE PROFILE ÷ⁿO

ⁿO í

COPY PROFILE ]wC

DEFINE PROFASSOCIATION s½≤P]wC

DEFINE SUBSCRIPTION ²ⁿz°A]wC

DELETE PROFASSOCIATION Rú½≤P]wsC

DELETE PROFILE tmzíRú]wC

LOCK PROFILE εtm]weC

QUERY PROFILE πtm]w÷ΩTC

SET CONFIGMANAGER ⁿX°AO tmzíC

UNLOCK PROFILE Ωw]wiHz°AC

UPDATE PROFILE ≤]wíC

DEFINE PROFILE

160 4.2

Page 187: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

DEFINE RECMEDMACHASSOCIATION]sCΘP≈oⁿOsCΘM@hí≈CN≈MCΘsACΘ

mHªeΘWCKi≈CpGnXΩTAoX QUERYMACHINE ⁿOC ΩTNgJpA≤Uzß≈C

nN≈MCΘsA≈MCΘú'wq TSMC≈OdMCΘ÷pARú÷pBCΘ≈εC

MvO

pGnoXoⁿOA'πtMvC

yk

DEFine RECMEDMACHAssociation media_name

,

machine_name

media_name]n

ⁿwnP@hí≈sCΘWC

machine_name]n

ⁿwnPCΘs≈WC@í≈iHMhCΘsCpGnⁿ

w@≈≈CAHr jWABºíúi µC ziHUr

ⁿwWC

d

@

s≈ DISTRICT1 M DISTRICT5 P DIST5RM CΘC

ⁿO:

define recmedmachassociation dist5rmdistrict1,district5

÷ⁿO

ϕ 66. DEFINE RECMEDMACHASSOCIATION ÷ⁿO

ⁿO í

DEFINE MACHINE wq≈ DRMC

DEFINE RECOVERYMEDIA wq≈'nCΘC

DELETE MACHINE Rús≈C

DELETE RECMEDMACHASSOCIATION RúCΘH≈ºísC

DELETE RECOVERYMEDIA RúsCΘC

QUERY MACHINE π≈÷ΩTC

QUERY RECOVERYMEDIA π≈iCΘC

DEFINE RECMEDMACHASSOCIATION

161Tivoli Storage Manager for HP-UX zΓU

5.

z

ⁿO

Page 188: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

DEFINE RECOVERYMEDIA]wqCΘoⁿOwq≈CΘCP@CΘiHMhí≈÷pCpGn

πΩTA QUERY MACHINE ⁿOC ΩTNgJpA≤Uzß≈C

MvO

pGnoXoⁿOA'πtMvC

yk

DEFine RECOVERYMedia media_name

,

VOLumenames = volume_name

DESCription = description LOcation = location

Type = OTher

Type = OTherBOot

PROduct = product_name

PRODUCTInfo = product_information

media_name]n

ⁿwwqCΘWCWhiH 30 rC

VOLumenamesⁿw]tiΩ]pA@tv eΘWµCpGzⁿw BOOT ¼CΘANnⁿwoCNCΘeΘíJ≈ⁿ

wCΘeΘWCeΘWµCj° 255 rCpGC]t⌠≤ (rAh' AϕC

DESCriptionⁿwCΘíC∩C j°O 255 rCpGσr]t⌠≤ (rAh' AϕC

LOcationⁿwCΘmC∩C j°O 255 rCpGσr]t⌠≤ (rAh' AϕC

¼

ⁿwCΘ¼C∩C w]O OTHERC

DEFINE RECOVERYMEDIA

162 4.2

Page 189: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

BOotⁿwoOCΘCpGª¼O BOOTAz'ⁿweΘWC

OTherⁿwoúOCΘCpA]t@tΓU CD-ROMC

PROductⁿwgJoCΘúWC∩C j°O 16 rCpGσr]t⌠≤ (rAh' AϕC

PRODUCTInfoⁿwgJCΘñúΩTCziαnoΩT≈C∩C

j°O 255 rCpGσr]t⌠≤ (rAh' AϕC

d

@

wqⁿW DIST5RM CΘCJíMmC

ⁿO:

define recoverymedia dist5rmdescription="district 5 base system image"location="district 1 vault"

÷ⁿO

ϕ 67. P DEFINE RECOVERYMEDIA ÷ⁿO

ⁿO í

DEFINE RECMEDMACHASSOCIATION NCΘP≈sC

DELETE RECOVERYMEDIA RúsCΘC

QUERY RECOVERYMEDIA π≈iCΘC

UPDATE RECOVERYMEDIA ≤sCΘC

DEFINE RECOVERYMEDIA

163Tivoli Storage Manager for HP-UX zΓU

5.

z

ⁿO

Page 190: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

DEFINE SCHEDULE]wqqzⁿOϕoⁿO@qzⁿOϕC

Cϕ°íí,HⁿwCϕ'b°íqlCϕú@

wnbo°í¿BzCpG°Ab°íúbB@ñA²Oobwq°

í⌠ºeAϕNb°A½s⌡µC

DEFINE SCHEDULE ⁿOΓ µíA ϕO ≤q@zⁿOwCC µíykPíOwqC

DEFINE SCHEDULE

164 4.2

Page 191: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

DEFINE SCHEDULE -- q DEFINE SCHEDULE ⁿOwq TSM bⁿwíjíAzqu

@⌡µ≈Os@qϕCwqϕßA DEFINEASSOCIATION ⁿO÷pqHϕC'bqu@WqíATSM !αBzϕC

: Y TSM i²zb°AWwqϕANªPqsA²úOq

úiH⌡µ$í@C pApG⌡µ@XAO⌡

µi⌡µ ScriptAh Macintosh qLk⌡µϕCi⌡µ Script YU q@tWⁿOBσ ScriptC

MvO

YnwqqA'πtMvBL¡εhMvϕºhΓ

¡εhMvC

yk

DEFine SCHedule domain_name schedule_nameType = Client

DESCription = description

ACTion = Incremental

ACTion = IncrementalSelectiveArchiveREStoreRETrieveIMAGEBACkupIMAGEREStoreⁿOMacro

OPTions = option_string (1)

OBJects = object_string

PRIority = 5

PRIority = number

STARTDate = current_date

STARTDate = date

STARTTime = current_time

STARTTime = time

DURation = 1

DURation = number

DEFINE SCHEDULE -- q

165Tivoli Storage Manager for HP-UX zΓU

5.

z

ⁿO

Page 192: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

DURUnits = Hours

DURUnits = MinutesHours

ZßINDefinite

PERiod = 1

PERiod = number

PERUnits = Zß

PERUnits = HoursZß

WeeksMonthsYearsOnetime

DAYofweek = ANY

DAYofweek = ANYWEEKDayWEEKEndSUndayMondayTUesdayWednesdayTHursdayFridaySAturday

EXPiration = Never

EXPiration = Neverdate

:

1 OBJECTS b ACTION=INCREMENTAL ∩AbΣL@hO'nC

domain_name]n

ⁿwϕhΓWC

schedule_name]n

ⁿwnwqºϕWCzhiHWⁿw 30 rC

Type=ClientⁿwnwqqϕC∩C

DESCriptionⁿwϕíC∩C zhiHíⁿw 255 rCpGí]t⌠≤ (rAh' AϕC

DEFINE SCHEDULE -- q

166 4.2

Page 193: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

ACTionⁿwbBzoϕno@CiαG

Incrementalⁿwϕn≈qWWí≈ßsW∩CWí≈]

≈s≈wL⌠≤C

Selectiveⁿwϕ≈ OBJECTS ⁿwC

ArchiveⁿwϕOs OBJECTS ⁿwC

REStoreⁿwϕ OBJECTS ⁿwC

RETrieveⁿwϕX OBJECTS ⁿwC

IMAGEBACkupⁿwϕ≈ OBJECTS ⁿwΦeΘC

IMAGEREStoreⁿwϕ OBJECTS ⁿwΦeΘC

CommandⁿwϕBz OBJECTS ⁿwqⁿOC

MacroⁿwqBzH OBJECTS ⁿwW¿C

OPTionsⁿwbBzϕAzⁿw DSMC ⁿOq∩Cub DSMC ⁿOµ∩!αⁿwoC\AϕqΓUAd÷ⁿOµW

∩ΩTC∩C

.JUC∩A]ª∩≤qBzwⁿOS⌠≤@G

MAXCMDRETRIESQUERYSCHEDPERIODRETRYPERIODSCHEDLOGNAMESCHEDMODESERVERNAMETCPCLIENTADDRESSTCPCLIENTPORT

OBJectsⁿwn⌡µⁿw@½≤] íB²ΦeΘC pGn∩

í²ATΩNªCb½≤rΩñC pGzΘJP Ahu∩

í²iµ≈C'n]úF ACTION=INCREMENTAL HC

DEFINE SCHEDULE -- q

167Tivoli Storage Manager for HP-UX zΓU

5.

z

ⁿO

Page 194: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

ϕzⁿw ACTION=INCREMENTALABSoⁿw⌠≤AtIs DSMC ⁿO]²Sⁿw½≤A q∩ñwqBz½≤C

pGrΩt (r] µAH ' AϕrΩAMßAHµ' Aϕ '

CpGrΩthWAC@W'¿∩ ' AϕAß

AH@∩µ' AϕrΩCpAnⁿwHUrΩG

¶ /opt/file 2, /opt/gif files, /opt/my test fileAΘJGOBJECTS='"/opt/file 2" "/opt/gif files" "/opt/my test file"'

¶ /opt/test fileAΘJGOBJECTS='"/opt/test file"'

PRIorityⁿwºu²C∩C ziⁿw 1 10 ºí⌠≤πAΣñ1 π¬u²A 10 CCw]O 5C

pGΓΓHWϕP°ííAzⁿwMw TSM Bz

ϕíCu²¬ϕ²CpA² PRIORITY=3 ϕAß PRIORITY=5 ϕC

STARTDateⁿw²Bzϕ°íYΘC∩C w]bΘCNo

M STARTTIME @AHⁿwϕl°ííC

ziHUCΣñ@ⁿwΩG

í d

MM/DD/YYYY SwΘ 09/15/1998

TODAY µΘ TODAY

TODAY+days

+days

µΘ[WⁿwΘCziHⁿ

wjΘO 9999C

TODAY +3 +3C

STARTTimeⁿw²Bzϕ°íYíC∩C w]eíC

YtX STARTDATE AHKⁿwl°ílíC

ziHUCΣñ@ⁿwΩG

í d

HH:MM:SS Swí 10:30:08

NOW µí NOW

NOW+HH:MM

+HH:MM

µí[WⁿwpM NOW+02:00 +02:00C

pGb 5:00 oXoⁿOH

STARTTIME=NOW+02:00

STARTTIME=+02:00Ah°ílí

O 7:00C

DEFINE SCHEDULE -- q

168 4.2

Page 195: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

í d

NOW-HH:MM

-HH:MM

µíεhⁿwpM NOW-02:00 -02:00C

pGb 5:00 oXoⁿOH

STARTTIME=NOW-02:00

STARTTIME=-02:00Ah°ílí

O 3:00C

DURationⁿwwqw@°í°µC∩C o'7≤ 1 999 ºíCw] 1C

NoM DURUNITS @AHⁿw°íí°CpAⁿwDURATION=20 M DURUNITS=MINUTESAh'blΘMlí 20 C°íw]°O 1 pC°í≥í'u≤°íºíqC

ⁿw DURUNITS=INDEFINITE AtúBzC

DURUnitsⁿwMwiH°í≥íºíµC∩C w]O

HOURSC

NoM DURATION @Aⁿw°ínOHBzϕíCpApG DURATION=20 B DURUNITS=MINUTESAh'blΘPlí 20 Cϕú@wbo°í¿BzCpG]⌠≤zn½ϕAN'b°ígLºe½A h@NLk½

sC

°í°w] 1 pCiαG

Minutesⁿw°í≥íOHwqC

Hoursⁿw°í≥íOHpwqC

Daysⁿw°í≥íOHwqC

INDefiniteNw@°íⁿwπú¡w≥íCbϕºeAϕi

bwíß⌠≤í⌡µCz'²ⁿw PERUNITS=ONETIMEA!αⁿw DURUNITS=INDEFINITEC

PERiodⁿwϕ°íºíí°C∩C ziⁿw 1 999]tºíπCw] 1C

NoM PERUNITS @AHⁿw°ííjíCpApGzⁿw PERIOD=5 M PERUNITS=DAYS]] DAYOFWEEK=ANYAhq

DEFINE SCHEDULE -- q

169Tivoli Storage Manager for HP-UX zΓU

5.

z

ⁿO

Page 196: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

llΘMlílACj¡w@@C°íºíq'

WXC°í≥íCw] 1

ⁿw PERUNITS=ONETIME AtúBzC

PERUnitsⁿwMw°íºíqíµC∩C w]

DAYSC

NoM PERIOD @AHⁿw°ííjíCpApGzⁿw PERIOD=5 M PERUNITS=DAYS]] DAYOFWEEK=ANYAhqllΘMlílACj 5 w@@C w] 1 iαG

HoursHpⁿw°ííjíC

DaysHⁿw°ííjíC

WeeksHPⁿw°ííjíC

MonthsHδ≈ⁿw°ííjíC

: ϕzⁿw PERUNITS=MONTHS Aw@NbCδP@iµBzCpApGw@lΘO 02/04/1998Ah@bºßCδ4iµBzCúLApGUδΘLAhw@bϕδß

@ΘBzC]Aß≥@úO osΘCpAp

GlΘO 03/31/1998AhUδ@wb 04/30/1998C qHßAß≥@úbCδ 30 Θ⌡µA 2 δεC≤ 2 δu 28 A@wb 02/28/1999Cß≥@bCδ 28 BzC

Yearsⁿwϕ°íºííHpΓC

: ϕzⁿw PERUNITS=YEARS Aw@NbC@P@δP@iµBzCpApG@lΘO 02/29/2004AhU@@b 02/28/2005A]Gδu 28 CqHßAß≥@wb2 δ 28 ΘC

OnetimeⁿwϕBz@Com½z PERIOD ⁿwC

DAYofweekⁿwϕ°ínq@Pñ@lC∩C pGlΘP

líMzⁿw@úAhlΘPlíNeAH 24 pWµAX DAYOFWEEK εC

pGz DAYOFWEEK ∩úO ANYAh PERIOD M PERUNITS AϕiαúpzwiµBzCw] ANYCiαG

DEFINE SCHEDULE -- q

170 4.2

Page 197: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

ANYⁿw°íiHb@g⌠≤ílC

WEEKDayⁿw°íiHbP@BPGBPTBP4P¡lC

WEEKEndⁿw°íiHbP8PΘlC

SUndayⁿw°íbPlC

Mondayⁿw°íbP@lC

TUesdayⁿw°íbPGlC

Wednesdayⁿw°íbPTlC

THursdayⁿw°íbP4lC

Fridayⁿw°íbP¡lC

SAturdayⁿw°íbP8lC

EXPirationⁿw@ºßNúAoϕC∩C w]O NEVERCiαG

Neverⁿwϕ3úC

expirationdateH MM/DD/YYYY µíⁿwoϕΘCⁿwΘßAϕbⁿwΘ 23:59:59 C

d

@ 1

wql$í÷iµIWí≈ⁿW MONTHLY_BACKUP ϕC ≤ⁿwlΘ 1997 5δ 1 Θ]05/01/1997OP4APPⁿwΘ]PΘúA]°íOl≤ 1997 5 δ 1 Θ]05/01/1997ºß@PΘCϕ°í 01:00 g 03:00 XRCCδϕNl$í÷I c: d: í≈C

ⁿO:

DEFINE SCHEDULE -- q

171Tivoli Storage Manager for HP-UX zΓU

5.

z

ⁿO

Page 198: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

define schedule standard monthly_backupdescription="Monthly Backup of c: and d: drives"objects="c:\* d:\*"startdate=05/01/1997 starttime=01:00duration=2 durunits=hours period=1perunits=months dayofweek=sunday

@ 2

wql$í÷iµIWí≈ⁿW WEEKLY_BACKUP ϕCl°íOq 1997 6 δ 7 Θ P8 23:00]06/07/1997 1997 6δ 8 Θ PΘ 03:00]06/08/1997Cß≥°íl≤C@P8 23:00Cϕϕ⌡µALTºqIC

ⁿO:

define schedule employee_records weekly_backupstartdate=06/07/1997 starttime=23:00 duration=4durunits=hours perunits=weeksdayofweek=saturday options=-quiet

DEFINE SCHEDULE -- q

172 4.2

Page 199: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

DEFINE SCHEDULE -- zⁿO DEFINE SCHEDULE ⁿOsϕAHKBzzⁿOCziHbzⁿOñJ ScriptAªiHBzC

: zLkw MACRO ⁿO QUERY ACTLOG ⁿOC

MvO

nwqzⁿOϕAz'πtMvC

yk

DEFine SCHedule schedule_nameType = Administrative

CMD = commandACTIVE = No

ACTIVE = Yes DESCription = description

PRIority = 5

PRIority = number

STARTDate = current_date

STARTDate = date

STARTTime = current_time

STARTTime = time

DURation = 1

DURation = number

DURUnits = Hours

DURUnits = MinutesHours

ZßINDefinite

PERiod = 1

PERiod = number

PERUnits = Zß

PERUnits = HoursZß

WeeksMonthsYearsOnetime

DEFINE SCHEDULE -- zⁿO

173Tivoli Storage Manager for HP-UX zΓU

5.

z

ⁿO

Page 200: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

DAYofweek = ANY

DAYofweek = ANYWEEKDayWEEKEndSUndayMondayTUesdayWednesdayTHursdayFridaySAturday

EXPiration = Never

EXPiration = Neverdate

schedule_name]n

ⁿwnwqºϕWCzhiHWⁿw 30 rC

Type=AdministrativeⁿwnwqzⁿOϕC∩C pGⁿw CMD Ah]zⁿOC

CMD]n

NzⁿOⁿwϕHKBzCⁿOj° 512 rCpGzⁿO]t⌠≤ (rA' AϕªC

: ½rúαHoⁿwC

ACTIVEⁿwb°íoATSM O nBzzⁿOϕC∩C w]

NOCz' UPDATE SCHEDULE ⁿONzⁿOϕ]w¿@ñ¼AA TSM !αBzϕCiαG

YESⁿwb°ílATSM nBzzⁿOϕC

NOⁿwb°ílATSM únBzzⁿOϕC

DESCriptionⁿwϕíC∩C zhiHíⁿw 255 rCpGí]t⌠≤ (rAh' AϕC

PRIorityⁿwºu²C∩C ziⁿw 1 10 ºí⌠≤πAΣñ1 π¬u²A 10 CCw]O 5C

pGΓΓHWϕP°ííAzⁿwMw TSM Bz

ϕíCu²¬ϕ²CpA² PRIORITY=3 ϕAß PRIORITY=5 ϕC

DEFINE SCHEDULE -- zⁿO

174 4.2

Page 201: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

STARTDateⁿw²Bzϕ°íYΘC∩C w]bΘCNo

M STARTTIME @AHⁿwϕl°ííC

ziHUCΣñ@ⁿwΩG

í d

MM/DD/YYYY SwΘ 09/15/1998

TODAY µΘ TODAY

TODAY+days

+days

µΘ[WⁿwΘCziHⁿ

wjΘO 9999C

TODAY +3 +3C

STARTTimeⁿw²Bzϕ°íYíC∩C w]eíC

YtX STARTDATE AHKⁿwl°ílíC

ziHUCΣñ@ⁿwΩG

í d

HH:MM:SS Swí 10:30:08

NOW µí NOW

NOW+HH:MM

+HH:MM

µí[WⁿwpM NOW+02:00 +02:00C

pGb 5:00 oXoⁿOH

STARTTIME=NOW+02:00

STARTTIME=+02:00Ah°ílí

O 7:00C

NOW-HH:MM

-HH:MM

µíεhⁿwpM NOW-02:00 -02:00C

pGb 5:00 oXoⁿOH

STARTTIME=NOW-02:00

STARTTIME=-02:00Ah°ílí

O 3:00C

DURationⁿwwqw@°í°µC∩C o'7≤ 1 999 ºíCw] 1C

NoM DURUNITS @AHⁿw°íí°CpAⁿwDURATION=20 M DURUNITS=MINUTESAh'blΘMlí 20 C°íw]°O 1 pC°í≥í'u≤°íºíqC

ⁿw DURUNITS=INDEFINITE AtúBzC

DURUnitsⁿwMwiH°í≥íºíµC∩C w]O

HOURSC

NoM DURATION @Aⁿw°ínOHBzϕíCpApG DURATION=20 B DURUNITS=MINUTESAh'blΘ

DEFINE SCHEDULE -- zⁿO

175Tivoli Storage Manager for HP-UX zΓU

5.

z

ⁿO

Page 202: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

Plí 20 Cϕú@wbo°í¿BzCpG]⌠≤zn½ϕAN'b°ígLºe½A h@NLk½

sC

°í°w] 1 pCiαG

Minutesⁿw°í≥íOHwqC

Hoursⁿw°í≥íOHpwqC

Daysⁿw°í≥íOHwqC

INDefiniteNw@°íⁿwπú¡w≥íCbϕºeAϕi

bwíß⌠≤í⌡µCz'²ⁿw PERUNITS=ONETIMEA!αⁿw DURUNITS=INDEFINITEC

PERiodⁿwϕ°íºíí°C∩C ziⁿw 1 999]tºíπCw] 1C

NoM PERUNITS @AHⁿw°ííjíCpApGzⁿw PERIOD=5 M PERUNITS=DAYS]] DAYOFWEEK=ANYAhqllΘMlílACj¡w@@C°íºíq'

WXC°í≥íCw] 1

ⁿw PERUNITS=ONETIME AtúBzC

PERUnitsⁿwMw°íºíqíµC∩C w]

DAYSC

NoM PERIOD @AHⁿw°ííjíCpApGzⁿw PERIOD=5 M PERUNITS=DAYS]] DAYOFWEEK=ANYAhqllΘMlílACj 5 w@@C w] 1 iαG

HoursHpⁿw°ííjíC

DaysHⁿw°ííjíC

WeeksHPⁿw°ííjíC

MonthsHδ≈ⁿw°ííjíC

: ϕzⁿw PERUNITS=MONTHS Aw@NbCδP@iµBzCpApGw@lΘO 02/04/1998Ah@bºßCδ

DEFINE SCHEDULE -- zⁿO

176 4.2

Page 203: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

4iµBzCúLApGUδΘLAhw@bϕδß

@ΘBzC]Aß≥@úO osΘCpAp

GlΘO 03/31/1998AhUδ@wb 04/30/1998C qHßAß≥@úbCδ 30 Θ⌡µA 2 δεC≤ 2 δu 28 A@wb 02/28/1999Cß≥@bCδ 28 BzC

Yearsⁿwϕ°íºííHpΓC

: ϕzⁿw PERUNITS=YEARS Aw@NbC@P@δP@iµBzCpApG@lΘO 02/29/2004AhU@@b 02/28/2005A]Gδu 28 CqHßAß≥@wb2 δ 28 ΘC

OnetimeⁿwϕBz@Com½z PERIOD ⁿwC

DAYofweekⁿwϕ°ínq@Pñ@lC∩C pGlΘP

líMzⁿw@úAhlΘPlíNeAH 24 pWµAX DAYOFWEEK εC

pGz DAYOFWEEK ∩úO ANYAh PERIOD M PERUNITS AϕiαúpzwiµBzCw] ANYCiαG

ANYⁿw°íiHb@g⌠≤ílC

WEEKDayⁿw°íiHbP@BPGBPTBP4P¡lC

WEEKEndⁿw°íiHbP8PΘlC

SUndayⁿw°íbPlC

Mondayⁿw°íbP@lC

TUesdayⁿw°íbPGlC

Wednesdayⁿw°íbPTlC

THursdayⁿw°íbP4lC

Fridayⁿw°íbP¡lC

DEFINE SCHEDULE -- zⁿO

177Tivoli Storage Manager for HP-UX zΓU

5.

z

ⁿO

Page 204: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

SAturdayⁿw°íbP8lC

EXPirationⁿw@ºßNúAoϕC∩C w]O NEVERCiαG

Neverⁿwϕ3úC

expirationdateH MM/DD/YYYY µíⁿwoϕΘCⁿwΘßAϕbⁿwΘ 23:59:59 C

d

@

wqⁿW BACKUP_ARCHIVEPOOL NDxs ARCHIVEPOOL ≈xs RECOVERYPOOL ϕC bCΓ 8p.m. ⌡µ≈C

ⁿO:

define schedule backup_archivepool type=administrativecmd="backup stgpool archivepool recoverypool"active=yes starttime=20:00 period=2

÷ⁿO

ϕ 68. P DEFINE SCHEDULE ÷ⁿO

ⁿO í

COPY SCHEDULE ϕC

DEFINE ASSOCIATION NqPϕ÷pC

DELETE SCHEDULE ΩwRúC

QUERY EVENT πw∩qºwH¿≤÷

ΩTC

QUERY SCHEDULE πϕ÷ΩTC

SET MAXCMDRETRIES ⁿwb⌡µwⁿOó ßAj½

C

SET MAXSCHEDSESSIONS ⁿwBzwu@ijD/q[cÑq@

C

SET RETRYPERIOD ⁿwqíΓ½íj

íC

UPDATE SCHEDULE ≤C

DEFINE SCHEDULE -- zⁿO

178 4.2

Page 205: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

DEFINE SCRIPT]wq Tivoli Storage Manager ScriptoⁿOwq TSM ScriptAt@ Script es TSM ScriptC

ziHoⁿOwq Script @µCnsWß≥rµ Script AUPDATE SCRIPT ⁿOC

: b Script eⁿOAz'N°A°AsHAAϕABñ CApGyk]t AboX RUN ⁿONúeⁿOC /AuboX RUN ⁿO°AW⌡µⁿOC ΣlΩTA\10yeⁿOzC

MvO

pGnoXoⁿOAA'π@BhBxsΘtMvC

yk

DEFine SCRipt script_nameLine = 001

command_lineLine = number

File = file_name

DESCription = description

script_name]n

ⁿwnwq Script WCzhiHWⁿw 30 rC

command_lineⁿwb Script ñ@nBzⁿOCz'ⁿwo]H∩ LINE FILEC

zⁿwⁿOi]tNABunzHs≥r]-@ⁿOµß@rAYi²ⁿOε≤hⁿOµCNOH ’$’ rⁿwAß≥@rAⁿXbBz Script CzhiHⁿOµⁿw 1200 rCpGⁿO]t µAh'H' AϕC

LineⁿOµⁿwµ C≤ⁿwhrµⁿwAb⌡µ Script Aµ OPBzC@µ]µ 001w]C∩C

Fileⁿw@WAnwq Script qo¬eC'nb⌡µoⁿO°AWCpGzⁿw FILE ANúαⁿwⁿOµµ C

ziHdt@ ScriptABⁿw FORMAT=RAW M OUTPUTFILE ScriptCd Script ΘX½sJz OUTPUTFILE ⁿwCpGns ScriptAhqzH OUTPUTFILE ⁿw¬nwq Script eC

DEFINE SCRIPT

179Tivoli Storage Manager for HP-UX zΓU

5.

z

ⁿO

Page 206: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

DESCription Script ⁿwíCzhiHíⁿw 255 rCpGí]t (rAhH' AϕC∩C

d

@ 1

wq@ Script π AIX® qC

ⁿO:

define script qaixc "select node_name from nodes where platform='AIX'"desc='Display aix clients'

@ 2

wq⌡µ@N QUERY STGPOOL ⁿOe DEV_GROUP °AsScriptC

1. wq@s QU_STG Script BNªe DEV_GROUP °AsG

ⁿO: define script qu_stg "(dev_group) query stgpool"

2. ⌡µ ScriptG

ⁿO: run qu_stg

@ 3

wq@ ScriptAΣⁿOµO MY.SCRIPT ñ¬CNs Script ⁿWAGADMC

ⁿO: define script agadm file=my.script

÷ⁿO

ϕ 69. P DEFINE SCRIPT ÷ⁿO

ⁿO í

COPY SCRIPT Script C

DELETE SCRIPT Rú Script Rú Script ñOrµC

QUERY SCRIPT π Script ÷ΩTC

RENAME SCRIPT N Script ≤WsWC

RUN ⌡µ ScriptC

UPDATE SCRIPT ≤sW Script rµC

DEFINE SCRIPT

180 4.2

Page 207: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

DEFINE SERVER]wqu°A∩°AqHv°AoⁿOwq°AUC\αG

¶ °tm

¶ °≤O²

¶ ⁿOe

¶ ΩeΘ

MvO

pGnoXoⁿOA'πtMvC

yk

∩≤°tmB°≤÷²MⁿOeG

DEFine SERver server_name SERVERPAssword = KX

HLAddress = ip_address LLAddress = tcp_portCOMMmethod = TCPIP

URL = url DESCription = description

CROSSDEFine = No

CROSSDEFine = NoYes

yk

ΩeΘG

DEFine SERver server_name PAssword = KX HLAddress = ip_address

LLAddress = tcp_portCOMMmethod = TCPIP URL = url

DELgraceperiod = days NODEName = node_name

DESCription = description

DEFINE SERVER

181Tivoli Storage Manager for HP-UX zΓU

5.

z

ⁿO

Page 208: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

server_name]n

ⁿX°AWCoWb°AWúα½CΣ°W¡O 64 rC

bⁿOePu°A∩°Av≤Oⁿ\αΦAzbⁿw°AWA

MzϕQ SET SERVERNAME ⁿOb°AWW]WC

PAsswordΩeΘⁿwnJ°AKXCYzⁿwF NODENAME Ahz'ⁿw PASSWORD CpGzbSⁿw NODENAME ípUⁿwFPASSWORD AhIWw]¿ SET SERVERNAME ⁿOñⁿw°AWC

SERVERPAsswordⁿwzwq°AºKXCoKX'X SET SERVERPASSWORD ⁿO]KXC∩≤°tmBⁿOePu°A∩°Av≤Oⁿ\αÑA

'nC

HLAddress]n

ⁿX°A IP ]aIQiεC

LLAddress]n

ⁿw°ACÑC@δÑAoM°A TCPPORT °A∩ñPC

COMMmethodⁿXHs°AqHΦkC∩C

URLⁿwo°A URL C∩C

DELgraceperiodⁿw½≤RúßAdb°AWCpO 0Aw]O 5AjOL¡εC∩C

NODENameⁿw°As°AIWC∩C YzⁿwF

NODENAME Ahτ'ⁿw PASSWORD CpGzbSⁿw

NODENAME ípUⁿwF PASSWORD AhIWw]¿ SETSERVERNAME ⁿOñⁿw°AWC

DESCriptionⁿX°AíC∩CíhiH 255 rCpGí]t (rAhH' AϕC

CROSSDEFineⁿXO n²⌡µⁿO°AAwqⁿOWⁿw°AC∩

C

pGJoAz]'oX S E T S E R V E R N A M EB S E TSERVERPASSWORDBSET SERVERHLADDRESSBSET CROSSDEFINE M SETSERVERLLADDRESS ⁿOCw] NOC

DEFINE SERVER

182 4.2

Page 209: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

iαG

Noú⌡µµ¼wqC

Yes⌡µµ¼wqC

d

@ 1

°Aπ 9.116.2.67 ¬ÑH 1570 CÑCN°Awq¿ °AARW SERVER2ABNKX] SECRETAⁿX@,½≤QRúßib°AWOd 7 C

ⁿO:

define server server2 password=secrethladdress=9.115.3.45 lladdress=1570 delgraceperiod=7

@ 2

N°Awq¿i¼Σª°AeⁿOC N°ARW WEST_COMPLEXANKX] CACTUSAN¬Ñ] 9.283.299ANCÑ] 1500AHN URL] http://west_complex:1580/C

ⁿO:

define server west_complex serverpassword=cactushladdress=9.283.299 lladdress=1500 url=http://west_complex:1580/

@ 3

µ¼wqwq SERVER_A P SERVER_BC

ⁿO:

1. b SERVER_B ΦAⁿw1\µ¼wq SERVER_B °AWBKXBP¬CÑC

set servername server_bset serverpassword mylifeset serverhladdress 9.115.20.80set serverlladdress 1860set crossdefine on

2. b SERVER_A ΦAⁿX SERVER_A °AWBKXBP¬CÑC

set servername server_aset serverpassword yourlifeset serverhladdress 9.115.20.97set serverlladdress 1500

3. b SERVER_A ΦAwq SERVER_BG

define server server_b hladdress=9.115.20.80 lladdress=1860serverpassword=mylife crossdefine=yes

DEFINE SERVER

183Tivoli Storage Manager for HP-UX zΓU

5.

z

ⁿO

Page 210: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

÷ⁿO

ϕ 70. DEFINE SERVER ÷ⁿO

ⁿO í

DEFINE DEVCLASS wqmOC

DELETE DEVCLASS RúmOWC

DELETE FILESPACE RúPq í÷pΩC

DELETE SERVER Rú°AwqC

QUERY NODE π@hqí≈πΩTC

QUERY SERVER π°A÷ΩTC

RECONCILE VOLUMES °AΩeΘwqH°AO

s½≤@PC

REGISTER NODE wq@q°AB]w

∩C

REMOVE NODE SwhΓºn²ICñúh@

qC

SET CROSSDEFINE ⁿXO nµ¼wq°AC

SET SERVERNAME ⁿwHO°AWC

SET SERVERHLADDRESS ⁿX°A¬ÑC

SET SERVERLLADDRESS ⁿX°ACÑC

SET SERVERPASSWORD ⁿw°AKXC

SET SERVERURL ⁿw Web s²7s°A

URLC

UPDATE DEVCLASS ≤mOC

UPDATE NODE ≤MqI÷pC

UPDATE SERVER ≤s°A÷ΩTC

DEFINE SERVER

184 4.2

Page 211: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

DEFINE SERVERGROUP]wq°AsoⁿOwq°AsC°Asi²zunⁿwsWANαNⁿO

eh°ACbwq°AsßA DEFINE GRPMEMBER ⁿON°A[JsC

MvO

pGnoXoⁿOA'πtMvC

yk

DEFine SERVERGRoup group_nameDESCription = description

group_name]n

ⁿX°AsWCWj°64rC

DESCriptionⁿw°AsíC∩C íj° 255 rC pGí]t⌠≤ (rAh' AϕC

d

@

wqⁿW WEST_COMPLEX °AsC

ⁿO: define servergroup west_complex

÷ⁿO

ϕ 71. P DEFINE SERVERGROUP ÷ⁿO

ⁿO í

COPY SERVERGROUP °AsC

DEFINE GRPMEMBER wq°A@Y°As¿C

DELETE GRPMEMBER °AsRúY°AC

DELETE SERVERGROUP Rú°AsC

MOVE GRPMEMBER °As¿C

QUERY SERVERGROUP π°As÷ΩTC

RENAME SERVERGROUP ≤°AsWC

UPDATE SERVERGROUP ≤s°AsC

DEFINE SERVERGROUP

185Tivoli Storage Manager for HP-UX zΓU

5.

z

ⁿO

Page 212: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

DEFINE SPACETRIGGER]wqΩwΘxíoⁿOoⁿOwqoⁿO]wAHMw TSM b≤np≤MΩwPΘxñ íuC

ϕ íqFⁿwA TSM NiHzΩwPΘxtm≤h

íCbtm≤h íºßA TSM XRΩwΘxAHQs íC

: ]w íoⁿOúNⁿΩwPΘx+%±Aϕp≤ FULLPCT ]CϕΩwPΘxíPTwoA TSM dqCRúΩ

weΘHYεΩwúy¿oⁿOC]AbseΘWuºeA

q%±iαWX]wC

]w MAXIMUMSIZE úϕΩwPΘxjpAϕp≤ⁿwCXRWCpGΩwΘxjpWXjpW¡A TSM Nú

XRªjpCpGΩwΘxjpC≤jpW¡A TSM dª

jpABe\XRCTSM udXRGºßújpAHTOúWX

ΘxjpW¡C

pG°AOHΩwΘxeΘΦMwqAbΦFq%±A

TSM sΦMCΦMPz⌠≤seΘwqjΦ

MPCpGS¼≈ íATSM útΦMΩwΘx

eΘC

MvO

pGnoXoⁿOAz'tMvL¡εxsΘMvC

yk

DEFine SPACETrigger DBLOG

Fullpct = 80

Fullpct = percent

SPACEexpansion = 20

SPACEexpansion = percent EXPansionprefix = prefix

MAXimumsize = megabytes

DBⁿwΩw íoⁿOC

LOGⁿwΘx íoⁿOC

DEFINE SPACETRIGGER

186 4.2

Page 213: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

Fullpctⁿw TSM bΦFh# íq%±AΩwΘxtm≤h

íC ∩C ziHⁿw 0 99 πCw]O 80Cs]0h íoⁿOC

SPACEexpansionHΩwΘxµjp%±ⁿwnbΩwΘxñW[ íC

ⁿwq 0 200πCw]O 20CΩw#n' 4MB]YO[WBz íhn 5MBFΘx#'O 8MB]YO[WBz íhn9MBCsΩwΘxeΘ'OO 5MB 9MB Cs]0hXRC

EXPansionprefixⁿw TSM sΩwΘxr WCr Wi]t@

h²jrFpA /opt/adsmserv/bin/Chiⁿw 250 rCpGzⁿwr LAhXRiαó C

MAXimumsizeⁿwΩwΘxjpW¡]H MB µCXRbFojpεAB TSM oX@hTºC∩C ∩≤Θxⁿw 9 13000]13GBA∩Ωwⁿw 4 530000]530GBCϕz]s]0ñANúdjjpCjTW[ΘxjpW[½s°A

B≈ΩwΩwíC

d

@

NΩw íoⁿO]w 80 %±CϕΩwΦFoAtmjpµjpΓeΘC /opt/adsmserv/bin/ ²ñ íC

ⁿO:

define spacetrigger db spaceexpansion=100expansionprefix=/opt/adsmserv/bin/

÷ⁿO

ϕ 72. P DEFINE SPACETRIGGER ÷ⁿO

ⁿO í

DEFINE LOGVOLUME wqeΘΘxC

DELETE SPACETRIGGER RúΩwΘx íoⁿOC

QUERY SPACETRIGGER πΩwΘx íoⁿO÷Ω

TC

UPDATE SPACETRIGGER ≤ΩwΘx íoⁿOC

DEFINE SPACETRIGGER

187Tivoli Storage Manager for HP-UX zΓU

|

|

|

|

|

|

||

5.

z

ⁿO

Page 214: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

DEFINE STGPOOL]wqxsoⁿOwqDxsxsCDxs@≈BOsq

IαºaCxsxsDxsñ≈C

xseΘúO≤PmOCH≈sxs DISK m¼CbwqH≈sxsßAz'xswqeΘAHxsΘ íC

sxsza≈BW]FILE m¼AHt@°AWxsΘ]SERVER m¼wqmOCpGnbsxsñxsΘ íAϕzbwq≤sA'e\xseΘAObwqxsß

xswqeΘCziHΓú⌡µC

DEFINE STGPOOL ⁿO zO wqFⁿwH≈smDxsBⁿwsmDxsAOxs]@wOⁿwsmT µ

íCC µíykPíOwqC

DEFINE STGPOOL

188 4.2

Page 215: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

DEFINE STGPOOL -- DnH≈soⁿOwqⁿwH≈smDxsC

MvO

pGnoXoⁿOA'πtMvC

yk

DEFine STGpool pool_name DISKPOoltype = PRimary

POoltype = PRimary

DESCription = description

ACCess = READWrite

ACCess = READWriteREADOnlyUNAVailable

MAXSIze = NOLimit

MAXSIze = maximum_file_size NEXTstgpool = pool_name

HIghmig = 90

HIghmig = percent

LOwmig = 70

LOwmig = percent

CAChe = No

CAChe = NoYes

MIGPRocess = 1

MIGPRocess = number

MIGDelay = 0

MIGDelay = days

MIGContinue = Yes

MIGContinue = NoYes

pool_name]n

ⁿwnwqxsWCWj° 30 rC

DISK]n

ⁿwnwq DISK mOxs ]DISK mObwYww²wqC

POoltype=PRimaryⁿwnwqDxsC∩C w] PRIMARYC

DEFINE STGPOOL -- DnH≈s

189Tivoli Storage Manager for HP-UX zΓU

5.

z

ⁿO

Page 216: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

DESCriptionⁿwxsíC∩C íj° 255 rC pGí]t⌠≤ (rAh' AϕC

ACCessⁿwqIP°A]pαM¼p≤sxsñC∩

C w] READWRITECiαG

READWriteⁿwqIP°AiH¬MgJxs≤xseΘñC

READOnlyⁿwqIuα¬xsbxseΘñC

°AiHbxseΘíCúLAú1\qxsHeΘN

sΩgJxseΘñC

pGoxswgⁿwxs] NEXTSTGPOOL ABwq¿¬Ahϕ°ANgJxsAñLoxsC

UNAVailableⁿwqILksxs≤xseΘñC

°AiHbxseΘíA]iHNqoxs

st@xsCúLAú1\qxsHeΘNsΩgJxse

ΘñC

pGoxswgⁿwxs] NEXTSTGPOOL ABwq¿LkAhϕ°ANgJxsAñLoxs

C

MAXSIzeⁿw°APqiµÑq@íAixsbxsñΩΘjpW¡C

∩C w]O NOLIMITCiαG

NOLimitⁿwxsbxsñΩΘSjpW¡C

maxfilesize¡εΩΘjpjCⁿwq 1 999999 @πAß≥±YCpAMAXSIZE=5G ϕxsjpjO 5 GBC ±Y]AG

±Y Nq

K KBM MBG GBT TB

pGWXjpW¡ABSⁿwxs@ÑhñUxsAh°A

úxsCpGWXjpW¡AB]ⁿw@xs@UxsA

h°ANxsαⁿjpUxsñCpGzⁿwUxs

DEFINE STGPOOL -- DnH≈s

190 4.2

Page 217: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

AbzÑhñ#'@xsSjpW¡C#@xs

jpú]¡AiTOújp≤A°AúαxsC

∩≤≤E@íΦA°ANEjp°jpC]ApG

≤WXjpW¡EA°Aúxsp≤jpW¡ΦC

: ojp¡εuA≤°APqiµÑq@íxsC ϕzNΩq@xst@xsAúOHΓΦíz

LxsαAo¡εíúAC

NEXTstgpoolⁿwnαDxsC∩C U@xs'ODxsC

pGzSⁿwUxsA°ANLkqoxsαA]úαNWX

oxsjpW¡xst@xsñC

ALki NEXTSTGPOOL úLaj⌠xsσC bÑhñ

#'@xsL NEXTSTGPOOL ⁿwC

HIghmigⁿwϕxsñΩqFxsw⌠eqo%±A°Al

αoxsC∩C ziHⁿw 0 100 πCw] 90C

ϕxsWXo¬αA°AKiH NEXTSTGPOOL wqA÷INlαU@xsCziHⁿw HIGHMIG=100 εαoxsC

LOwmigⁿwϕxsñΩqFxsw⌠eqo%±A°Aε

αoxsC∩C ziHⁿw 0 99 πCw]w 70C

ϕxsFCαA°Aúlαt@IC ≤≤P

@I í@αAHxs+vⁿwHUC ]

w LOWMIG=0AϕαiHM xsC

CACheⁿwαbNαU@xsßAnúnboxsñOd

C∩C w] NoCiαG

Yes ⁿwC

No ⁿwC

iαW[XtA²OvTΣªαC\ zΓ

U Ho C

MIGPRocessⁿw°AqoxsαC∩C ziⁿw 1 999]tºíπCw] 1C

bαíA°AH¡µΦí⌡µoAú∩αviα

C

DEFINE STGPOOL -- DnH≈s

191Tivoli Storage Manager for HP-UX zΓU

5.

z

ⁿO

Page 218: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

MIGDelayⁿwbiHqxsαºeA'Odbxsñ#C°A

pΓΦkOqNxsxsΘlAOqXΘ

lA±@C∩C ziHⁿw 0 9999]t@πCw] 0ANYzún≡αC

pGzn°Au xsípΓAún XíA

NORETRIEVEDATE °A∩C

MIGContinueⁿwzO e\°AαúXα≡íC∩C w]

YESC

≤ziHnDNOdbxsñ@q#A°AiHNX

α≡A²úXCααUxsCoi²zⁿwO

e\°AαúXα≡íAH≥iµαC

iαG

Yesⁿwb'XCα°≤UA°An≥αúXα≡í

C

pGze\@HWxsαAiαú'naαúXα≡

íCϕ@αXα≡íAGiαl

αúXα≡íAHXCαC@2Mb

αXα≡íAª¡NXCαC

NoⁿwbSiαAY *ΦFCαA°A]nε

αCúDXα≡íA h°AúαC

d

@

wqDxs POOL1 H DISK mOACNjpW¡¡εb5MBC⌠≤j≤ 5MB úxsbH PROG2 YxsñCN¬α]w 70%ACα]w 30%C

ⁿO:

define stgpool pool1 diskdescription="main disk storage pool" maxsize=5mhighmig=70 lowmig=30 cache=yesnextstgpool=prog2

DEFINE STGPOOL -- DnH≈s

192 4.2

Page 219: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

DEFINE STGPOOL -- DnsoⁿOwqⁿwsmDxsC

MvO

pGnoXoⁿOA'πtMvC

yk

DEFine STGpool pool_name device_class_namePOoltype = PRimary

POoltype = PRimary

DESCription = description

ACCess = READWrite

ACCess = READWriteREADOnlyUNAVailable

MAXSIze = NOLimit

MAXSIze = maximum_file_size NEXTstgpool = pool_name

HIghmig = 90

HIghmig = percent

LOwmig = 70

LOwmig = percent

REClaim = 60

REClaim = percent

RECLAIMSTGpool = pool_name

COLlocate = No

COLlocate = NoYesFILespace

MAXSCRatch = numberREUsedelay = 0

REUsedelay = days OVFLOcation = location

MIGDelay = 0

MIGDelay = days

MIGContinue = Yes

MIGContinue = NoYes

pool_name]n

ⁿwnwqxsWCWj° 30 rC

DEFINE STGPOOL -- Dns

193Tivoli Storage Manager for HP-UX zΓU

5.

z

ⁿO

Page 220: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

device_class_name]n

ⁿwxsⁿwmOWCziⁿw⌠≤mOA² DISK mOúC

POoltype=PRimaryⁿwnwqDxsC∩C w] PRIMARYC

DESCriptionⁿwxsíC∩C íj° 255 rC pGí]t⌠≤ (rAh'' AϕC

ACCessⁿwqIP°A]pαM¼p≤sxsñC∩

C w] READWRITECiαG

READWriteⁿwqIP°AiH¬MgJxs≤xseΘñC

READOnlyⁿwqIuα¬xsbxseΘñC

°AiHbxseΘíCúLAú1\qxsHeΘN

sΩgJxseΘñC

pGoxswgⁿwxs] NEXTSTGPOOL ABwq¿¬Ahϕ°ANgJxsAñLoxsC

UNAVailableⁿwqILksxs≤xseΘñC

°AiHbxseΘíA]iHNqoxs

st@xsCúLAú1\qxsHeΘNsΩgJxse

ΘñC

pGoxswgⁿwxs] NEXTSTGPOOL ABwq¿LkAhϕ°ANgJxsAñLoxs

C

MAXSIzeⁿw°APqiµÑq@íAixsbxsñΩΘjpW¡C

∩C w]O NOLIMITCiαG

NOLimitⁿwxsbxsñΩΘSjpW¡C

maxfilesize¡εΩΘjpjCⁿwq 1 999999 @πAß≥±YCpAMAXSIZE=5G ϕxsjpjO 5 GBC ±Y]AG

±Y Nq

K KBM MB

DEFINE STGPOOL -- Dns

194 4.2

Page 221: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

G GBT TB

pGWXjpW¡ABSⁿwxs@ÑhñUxsAh°A

úxsCpGWXjpW¡AB]ⁿw@xs@UxsA

h°ANxsαⁿjpUxsñCpGzⁿwUxs

AbzÑhñ#'@xsSjpW¡C#@xs

jpú]¡AiTOújp≤A°AúαxsC

∩≤≤E@íΦA°ANEjp°jpC]ApG

≤WXjpW¡EA°Aúxsp≤jpW¡ΦC

: ojp¡εuA≤°APqiµÑq@íxsC ϕzNΩq@xst@xsAúOHΓΦíz

LxsαAo¡εíúAC

NEXTstgpoolⁿwnαDxsC∩C U@xs'ODxsC

pGzSⁿwUxsA°ANLkqoxsαA]úαNWX

oxsjpW¡xst@xsñC

ALki NEXTSTGPOOL úLaj⌠xsσC bÑhñ

#'@xsL NEXTSTGPOOL ⁿwC

HIghmigⁿwϕ]tΩeΘFxsñeΘo%±A°Al

αoxsCeΘ]tjeΘC ∩C ziⁿwq 1 100]tπCw] 90C

ϕxsWX¬αA°AKiH÷eΘANαxs

wqU@xsC ziHN¬α]w 100AHεαxsC

LOwmigⁿwϕ]tΩeΘFxsñeΘo%±A°Aε

αoxsCeΘ]tjeΘC ∩C ziHⁿw 0 99 πCw]w 70C

ϕxsFCαA°Aúlqt@eΘαCziH

NCα]w 0AH1\αNxsM C

REClaim eΘWi¼ í%±Aⁿw°A≤n¼eΘC¼N

l*Lq@eΘt@eΘA²eΘW&q íα≈AA

eΘα½C ∩C ziⁿwq 1 100]tπCw]O 60C

N]w%º¡QHWAxsbΓeΘWαX¿@µ

@ΘXeΘC

DEFINE STGPOOL -- Dns

195Tivoli Storage Manager for HP-UX zΓU

5.

z

ⁿO

Page 222: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

RECLAIMSTGpoolⁿwt@Dxs@qoxs¼ΩC∩C ϕ°A

qxs¼eΘA°ANLΩqn¼eΘoⁿW

xsC

¼xs∩≤bwñu@≈xsC ϕzⁿwoA

°ANΩq¼eΘ¼xsAúwñ≈

h#C

pGnNΩq¼xsxsAxsÑhC ⁿwx

s@¼xsUxsC

COLlocateⁿw°AO nN≤µ@qIq íΩAiαⁿ

w#eΘWC∩C w] NOC

Ciε#BXH@ºsCΘⁿC úLAmW[C

Hiµxs°AíeΘC ΩT\zΓUC

iαG

YesⁿwqIhmC°AN@IΩ¿iαm≤

#eΘWCpGIh íAhúCo íC

NoⁿwCC

FILespaceⁿwCqI íhC°AN@IM íΩ

±b#eΘWCpGIh íA°ANúP íΩ

±búPeΘWC

MAXSCRatch]n

ⁿw°AiHVoxsnDjeΘCziHⁿw 0 100000000]tπC ²°AnDeΘAiKwqC@neΘC

oⁿwiw⌠xsñieΘAHxs∩w⌠e

qC

ϕeΘ AxsRúC Rú FILE m¼eΘA°A ±eΘ+ íAtC

REUsedelayⁿwqeΘRúßAiH½sgJeΘNªxsºeA

'gLC∩C ziHⁿw 0 9999]t@πCw] 0Aoϕ@,RúeΘWßAiH¿W½sgJeΘNªxsC

½n: oiTOzbNΩw²ehA∩xsñºΩw2MCz'No]w¿j≤z6ΓO

DEFINE STGPOOL -- Dns

196 4.2

Page 223: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

dΩw≈C zoⁿwM SETDRMDBBACKUPEXPIREDAYS ⁿOⁿwPC ΣL÷ΩTA\ zΓUC

OVFLOcationxsⁿwXmC°ANomWⁿwH MOVE MEDIA ⁿOqwhXeΘC∩C mWj° 255 rC pGmW]t⌠≤ (rAhH' AϕC

MIGDelayⁿwNxsxsºßA'gLh#A!αqxsαC∩

C ziHⁿw 0 9999]t@πCw] 0ANYzún≡αC

MIGContinueⁿwzO e\°AαgLα≡nDßA *xsxsñ

C∩C w] YESC

≤ziHnDNOdbxsñ@q#A°AiHNX

α≡A²úXCααUxsCoi²zⁿwO

e\°AαúXα≡íAH≥iµαC

iαG

Yesⁿwb'XCα°≤UA°An≥αgLα≡í

ⁿwºßA *xsxsñC

NoⁿwbSiαAY *ΦFCαA°A]nε

αCúDxsbxsñíXα≡íⁿwA h°A

úαC

d

@

NⁿW TAPEPOOL Dxswq TAPE8MM mO]m¼

GENERICTAPEAPNjpW¡w 5MBCNj≤ 5MB xsbxsñAq POOL1 lCxsmCe\oxshiH 5 eΘC

ⁿO:

define stgpool tapepool tape8mm maxsize=5mnextstgpool=pool1 collocate=yesmaxscratch=5

DEFINE STGPOOL -- Dns

197Tivoli Storage Manager for HP-UX zΓU

5.

z

ⁿO

Page 224: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

DEFINE STGPOOL -- ssoⁿOwqⁿwsmxsC

MvO

pGnoXoⁿOA'πtMvC

yk

DEFine STGpool pool_name device_class_name POoltype = COpy

DESCription = description

ACCess = READWrite

ACCess = READWriteREADOnlyUNAVailable

COLlocate = No

COLlocate = NoYesFILespace

REClaim = 100

REClaim = percent

MAXSCRatch = numberREUsedelay = 0

REUsedelay = days OVFLOcation = location

pool_name]n

ⁿwnwqxsWCWj° 30 rC

device_class_name]n

ⁿwxsⁿwsmOWCziⁿw⌠≤mOA² DISKúC

POoltype=COpy]n

ⁿwnwqxsC

DESCriptionⁿwxsíC∩C íj° 255 rC pGí]t⌠≤ (rAh' AϕC

ACCessⁿwqIP°A]p¼p≤sxsñC∩

C w] READWRITECiαG

READWriteⁿwixseΘ¬gJC

DEFINE STGPOOL -- ss

198 4.2

Page 225: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

READOnlyⁿwqIuα¬xsbxseΘñC

°AiHbxseΘíC°AiHxsñ

AN¿DxsCúLAúiHqxsHeΘNsΩgJ

xseΘñCxsLk≈xsñC

UNAVailableⁿwqILksxs≤xseΘñC

°AiHbxseΘíC°AiHxsñ

AN¿DxsCúLAúiHqxsHeΘNsΩgJ

xseΘñCxsLk≈xsñC

COLlocateⁿw°AO nN≤µ@qIq íΩAiαⁿ

w#eΘWC∩C w] NOC

Ciε#BXH@ºsCΘⁿC úLAmW[C

Hiµxs°AíeΘC ΩT\zΓUC

iαG

YesⁿwqIhmC°AN@IΩ¿iαm≤

#eΘWCpGIh íAhúCo íC

NoⁿwCC

FILespaceⁿwCqI íhC°AN@IM íΩ

±b#eΘWCpGIh íA°ANúP íΩ

±búPeΘWC

REClaim eΘWi¼ í%±Aⁿw°A≤n¼eΘC¼N

l*Lq@eΘt@eΘA²eΘW&q íα≈AA

eΘα½C ∩C ziⁿwq 1 100]tπCw] 100A]NO¼*⌡µC

pG∩ow]Aⁿw%º¡QHWAxsbGeΘW

iHX¿@µ@ΘXeΘC

ϕaxseΘ¿iH¼A¼aDnxs

i¼eΘñAX *LCMßNogJlx

sñieΘCoQamCúLAboNßApG

aeΘΩw≈AKiHqaeΘooCoNO¼

aeΘΦkA]b≤xsµpC

DEFINE STGPOOL -- ss

199Tivoli Storage Manager for HP-UX zΓU

5.

z

ⁿO

Page 226: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

MAXSCRatch]n

ⁿw°AiHVoxsnDjeΘCziHⁿw 0 100000000]tπC ²°A nnDeΘAiKwqC@n

eΘC

oⁿwiw⌠xsñieΘAHxs∩

w⌠eqC

ϕeΘ AxsRúC úLApGeΘsí

OFFSITEAúD≤síA húqxsñRúeΘC oiH²zd°AO (aeΘABNoeΘamC

bRúMM FILE m¼eΘA°A ±XeΘ+ íAtC

REUsedelayⁿwqeΘRúßAiH½sgJeΘNªxsºeA

'gLC∩C ziHⁿw 0 9999]t@πCw] 0Aoϕ@,RúeΘWßAiH¿W½sgJeΘNªxsC

½n: oiTOzbNΩw²ehA∩xsñΩw2MCz'No]w¿j≤z6

ΓOdΩw≈C zoⁿwM SETDRMDBBACKUPEXPIREDAYS ⁿOⁿwPC ΣL÷ΩTA\ zΓUC

OVFLOcationxsⁿwXmC°ANomWⁿwH MOVE MEDIA ⁿOqwhXeΘC∩C mWj° 255 rC pGmW]t⌠≤ (rAhH' AϕC

d

@

wqxs TAPEPOOL2 DC480 mOCe\oxshiH 50 eΘC≡ 45 !½seΘC

ⁿO:

define stgpool tapepool2 dc480 pooltype=copymaxscratch=50 reusedelay=45

÷ⁿO

ϕ 73. P DEFINE STGPOOL ÷ⁿO

ⁿO í

BACKUP DB N TSM Ωw≈seΘC

BACKUP STGPOOL ≈@DxsxsC

DEFINE DEVCLASS wqmOC

DEFINE VOLUME ⁿweΘⁿwxsºxsΘC

DEFINE STGPOOL -- ss

200 4.2

Page 227: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

ϕ 73. P DEFINE STGPOOL ÷ⁿO (≥)

ⁿO í

DELETE STGPOOL °AxsΘRúxsC

MOVE MEDIA íwzxseΘC

QUERY DEVCLASS πmO÷ΩTC

QUERY STGPOOL πxs÷ΩTC

RESTORE STGPOOL xsDxsC

RESTORE VOLUME xsxsbDñⁿweΘ

C

SET DRMPRIMSTGPOOL ⁿwDxs DRM zC

UPDATE STGPOOL ≤xsC

DEFINE STGPOOL -- ss

201Tivoli Storage Manager for HP-UX zΓU

5.

z

ⁿO

Page 228: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

DEFINE SUBSCRIPTION]wq]wºbⁿz°AWoⁿOAⁿz°A]wC

ϕ°Aª@]wA]btmzíw]]wñ]pG

@CMßA°AwptmzíAHiµtm≤sC

:

1. °Aúαq@HWtmzí]wC

2. pG°A]wwgM°AWwq½≤÷Ahwqm½¿tmzíwqCpApG°A@ⁿW WEEKLY_ BACKUP zϕAMß°A@]wAo]w]@ⁿW

WEEKLY_BACKUP zϕAhwqQm½C

MvO

pGnoXoⁿOA'πtMvC

yk

DEFine SUBSCRIPtion profile_nameSERVer = server_name

profile_name]n

ⁿw°A]wWC

SERVerⁿXtmzíWAHKoΣtmΩTCpGⁿz°AS⌠≤

AoO'nCpGⁿz°A@AziHñoAª

w]¿tmzíC

d

@

@≤tmzí]W TOMW]w]W BETAC

ⁿO: define subscription beta server=tom

÷ⁿO

ϕ 74. P DEFINE SUBSCRIPTION ÷ⁿO

ⁿO í

COPY PROFILE ]wC

DEFINE PROFILE eΩTz°Awq]wC

DELETE PROFILE tmzíRú]wC

DELETE SUBSCRIBER Rúw@oⁿz°AC

DELETE SUBSCRIPTION Rúⁿw]wC

LOCK PROFILE εtm]weC

DEFINE SUBSCRIPTION

202 4.2

Page 229: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

ϕ 74. P DEFINE SUBSCRIPTION ÷ⁿO (≥)

ⁿO í

NOTIFY SUBSCRIBERS q°A½sπzΣtmΩTC

QUERY PROFILE πtm]w÷ΩTC

QUERY SUBSCRIBER πPΣ∩]wº÷ΩTC

QUERY SUBSCRIPTION π]w÷ΩTC

SET CONFIGREFRESH ⁿwz°Aptmzíºíí

jC

UNLOCK PROFILE Ωw]wiHz°AC

UPDATE PROFILE ≤]wíC

DEFINE SUBSCRIPTION

203Tivoli Storage Manager for HP-UX zΓU

5.

z

ⁿO

Page 230: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

DEFINE VOLUME]wqxsñeΘoⁿOⁿwH≈seΘxsC

pGOH≈sxsAz'oⁿOwqbxsñ íeΘCbw

qH≈sxsAziH²°AbⁿweΘeeΘC

pGOsxsAziHwqeΘ íAe\°A°nnD

eΘ]xs MAXSCRATCH AP⌡µΓΦkC

i: @,∩ TSM °AwqxseΘßANúα≤∩ΣjpC pGzXR

lΦeΘAO∩ TSM eΘjp∩ TSM eΘjpAh°AiαL

kTl]wABΩiα≥óC

MvO

pGnoXoⁿOAz'tMvBL¡εxsΘMvAONeΘⁿw

xs¡εxsΘMvC

yk

DEFine Volume pool_name volume_nameACCess = READWrite

ACCess = READWriteREADOnlyUNAVailable

(1)OFfsite

(2) Wait = No

Formatsize = megabytesWait = No

Yes

(3)

LOcation = location

:

1 ou∩ⁿwxseΘC

2 ou∩H≈seΘC

3 ou∩seΘC

pool_name]n

ⁿweΘⁿwxsWC

DEFINE VOLUME

204 4.2

Page 231: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

volume_name]n

ⁿwnwqxseΘWCzαⁿweΘWO xsm

¼wC\UϕC

m¼ eΘWD d

DISK @δWAYzb raw ΦeΘAr

SϕC@δWiαOπ⌠Wµu

@²∩⌠WC

i: °Aúα@ raw ΦeΘWO wg

ΩsbCpGzwq TSM eΘΦeΘAsΩ

NlC

ππ⌠W@δWG

/storage/sbkup01.dsm

ríSϕNHUCµíΘJG

/dev/vg/rxxx

Σñ vg OeΘsWAxxx OΦeΘWCpG

/dev/groupa/rdsaFILE ]teΘΩWAªiHOπ⌠WA

OmOb DIRECTORY ñⁿX²º

∩⌠WC

/data/fpool01.dsm

a 1 - 6 r

°ANeΘW૨jgC

DSMT01

7 1 - 32 r

°ANeΘW૨jgC

DSM_SP001

REMOVABLEFILE 1 - 6 r

°ANeΘW૨jgC

DSM01

: eΘWúot (Ñ C

ACCessⁿwqIP°A]pαp≤sxseΘñC∩

C w] READWRITECiαG

READWriteⁿwqIP°AiH¬gJxsbeΘWC

READOnlyⁿwqIPtuα¬eΘWC

UNAVailableⁿwqI°AúúαsxsbeΘWC

pGzNH≈seΘwq¿ UNAVAILABLEANLkNeΘWuC

pGzNseΘwq¿ UNAVAILABLEA°ANúseΘC

OFfsiteⁿw≤meΘALkⁿCzuαxsñeΘⁿwo

C

i≤UzlaeΘC°AHúPΦíBzⁿwaeΘG

¶ °AúⁿwaeΘúⁿnD

¶ °AqΣªxsXAqaeΘ¼Ω

DEFINE VOLUME

205Tivoli Storage Manager for HP-UX zΓU

5.

z

ⁿO

Page 232: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

¶ °AúqxsRú (aeΘ

LOcationⁿweΘmC∩C bsxsWeΘΦiⁿwCmΩ

Tj° 255 rCpG]t⌠≤ (rAhmH' AϕC

FormatsizeⁿwH@BJµíH≈seΘjpCoO∩ABu

A≤ DISK eΘCoOH MB µⁿwCúDzⁿwF WAIT=YESA hHI⌡µ@C

pGzSoAbwqeΘeA' DSMFMT íeΘ@C

WaitⁿwnbeI⌡µPµíH≈seΘ@C∩C úDz

]ⁿwµíjpA hú,BzC

NoⁿwnbIñiµeΘPs@µí@CϕzPⁿwµíjpA

oOw]C

YesbeñeΘPs@ΣµíC

: zúαq°ADxⁿw WAIT=YesC

d

@ 1

b BACKUPPOOL xsñ@ 100MB seΘC eΘW

/var/storage/bf.dsmC HIeΘC

ⁿO:

define volume backuppool/var/storage/bf.dsm formatsize=100

@ 2

NⁿW POOL1 xsⁿwa≈OCwq@ⁿW TAPE01 eΘoxsABπ READWRITE svC

ⁿO:

define volume pool1 tape01 access=readwrite

@ 3

NⁿW FILEPOOL xsⁿwπ FILE m¼mOC NⁿW

filepool_vol01 eΘwqoxsC

ⁿO:

define volume filepool /usr/storage/filepool_vol01

DEFINE VOLUME

206 4.2

Page 233: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

÷ⁿO

ϕ 75. P DEFINE VOLUME ÷ⁿO

ⁿO í

DEFINE STGPOOL wqxs°AxsΘCΘⁿWXC

DELETE VOLUME xsRúeΘC

QUERY VOLUME πxseΘ÷ΩTC

UPDATE VOLUME ≤sxseΘC

DEFINE VOLUME

207Tivoli Storage Manager for HP-UX zΓU

5.

z

ⁿO

Page 234: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

DELETE ASSOCIATION]RúPϕI÷poⁿORúqIPqϕºí÷pCTSM NúbqI

W⌡µϕC

pGznε÷pqPϕºíS⌠≤÷pAhoⁿO∩q

LC

MvO

pGn⌡µo@Az'πUCΣñ@MvOG

¶ tMv

¶ L¡εhMvA

¶ ∩ϕΓ¡εhMv

yk

DELete ASSOCiation domain_name schedule_name

,

node_name

domain_name]n

ⁿXϕhΓWC

schedule_name]n

ⁿwn°Pq÷pϕWC

node_name]n

ⁿwúAPqϕ÷pqIWCziHⁿw@úAsⁿw

qCCCñOHr jAñíS µCz]iHU

rⁿwWC$íqPⁿwϕ°sC

d

@ 1

Rúⁿw DOMAIN1 hΓI JEFF P WEEKLY_BACKUP ϕ÷pC

ⁿO: delete association domain1 weekly_backup jeff

@ 2

Rúⁿw DOMAIN1 hΓ∩wqP WEEKLY_BACKUP ϕ÷pAoqúA⌡µoϕC PúsIbIW]t ABC XYZC

ⁿO: delete association domain1 weekly_backup *abc*,*xyz*

DELETE ASSOCIATION

208 4.2

Page 235: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

÷ⁿO

ϕ 76. P DELETE ASSOCIATION ÷ⁿO

ⁿO í

DEFINE ASSOCIATION NqPϕ÷pC

QUERY ASSOCIATION πP@h÷qC

DELETE ASSOCIATION

209Tivoli Storage Manager for HP-UX zΓU

5.

z

ⁿO

Page 236: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

DELETE BACKUPSET]Rú≈oⁿORú≈C

ϕ°A≈Aⁿw≈OdiHMw≈dbΩwíCY

LFΘA°Ab⌡µLBzRú≈CúLAz]iH DELETEBACKUPSET ⁿOAbL⌡µºeAµq°ARúq≈CbRú≈ºßApG TSM OHeΘooeΘAª≡¼AC Pm

¼ FILE ÷peΘQRúC

MvO

Y REQSYSAUTHOUTFILE °A∩]w YES]w]Az'πtMvCY REQSYSAUTHOUTFILE °A∩]w NOAz'πtMvqIΓhMvC

yk

DELete BACKUPSET

,

node_name

,

backup_set_name

BEGINDate = date BEGINTime = time ENDDate = date

ENDTime = time WHERERETention = days

NOLimit

WHEREDESCription = description

Preview = No

Preview = NoYes

node_name]n

ⁿwbnRú≈ñ]tΣΩqIWCzⁿwIWiH]t

UrCziHⁿw@HWIWAΦkOQr jWABº

íúi µC

backup_set_name]n

ⁿwnRú≈WCzⁿw≈WiH]tUrCziHⁿw@

HW≈WAΦkOQr jWABºíúi µC

BEGINDateⁿwnRú≈Θd≥lΘC∩C ziHNo

M BEGINTIME @AⁿwΘMíd≥C pGzⁿwFlΘA²SⁿwlíAíNOⁿwΘ9] 12 IC

DELETE BACKUPSET

210 4.2

Page 237: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

ziHUCΣñ@ⁿwΘG

í d

MM/DD/YYYY SwΘ 09/15/1999

TODAY µΘ TODAY

TODAY+days

+days

µΘ[WⁿwΘC TODAY +3 +3C

TODAY-days

-days

µΘεhⁿwC TODAY -3 -3C

BEGINTimeⁿwnRú≈Θd≥líC∩C ziHNo

M BEGINDATE @AHⁿwΘMíd≥C pGzⁿwlíSlΘAhzⁿwíΘOΘC

ziHUCΣñ@ⁿwΩG

í d

HH:MM:SS Swí 10:30:08

NOW µí NOW

NOW+HH:MM

+HH:MM

µí[WⁿwpM NOW+02:00 +02:00C

NOW-HH:MM

-HH:MM

µíεhⁿwpM NOW-02:00 -02:00C

ENDDateⁿwnRú≈Θd≥⌠ΘC∩C ziHNo

M ENDTIME @AHⁿwΘMíd≥C pGzⁿwF@⌠ΘB²*ⁿw⌠íAíNOⁿw⌠ΘU9 11:59:59C

ziHUCΣñ@ⁿwΘG

í d

MM/DD/YYYY SwΘ 09/15/1999

TODAY µΘ TODAY

TODAY+days

+days

µΘ[WⁿwΘC TODAY +3 +3C

TODAY-days -days µΘεhⁿwC TODAY -3 -3C

ENDTimeⁿwnRú≈íd≥⌠íC ∩C ziHNo

M ENDDATE @AHⁿwΘMíd≥C pGzⁿwF⌠íS⌠ΘAhzⁿwíΘOΘC

ziHUCΣñ@ⁿwΘG

í d

HH:MM:SS Swí 10:30:08

NOW µí NOW

DELETE BACKUPSET

211Tivoli Storage Manager for HP-UX zΓU

5.

z

ⁿO

Page 238: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

í d

NOW+HH:MM

+HH:MM

µí[Wⁿw⌠Θp

M

NOW+02:00 +02:00C

NOW-HH:MM

-HH:MM

µíεhⁿw⌠Θp

M

NOW-02:00 -02:00C

WHERERETentionⁿwPnRú≈÷pOd]HµC ziHⁿw 0 9999]t@πCΣG

daysⁿwnRúwgOdo≈C

NOLimitⁿwnRúL¡Od≈C

WHEREDESCriptionⁿwPnRú≈÷píCⁿwíiH]tUrC ∩C

PreviewⁿwO w²nRú≈CAúnΩRú≈C∩C w]

O NOCo]AG

NoⁿwnRú≈C

Yesⁿw°AπnRú≈CAúnΩRú≈C

d

@

Rú≤qI JANE PERS_DATA.3099 ≈C≈Ob 11/19/1998 ¡W10:30:05 úC

ⁿO:

delete pers_data.3099 jane mybackupset.3099begindate=11/19/1998 begintime=10:30:05

÷ⁿO

ϕ 77. P DELETE BACKUPSET ÷ⁿO

ⁿO í

DEFINE BACKUPSET ∩°Awq²eú≈C

DELETE BACKUPSET Rú≈C

GENERATE BACKUPSET úqΩ≈C

QUERY BACKUPSET π≈C

QUERY BACKUPSETCONTENTS π≈ñteC

UPDATE BACKUPSET ≤sM≈÷pOdC

DELETE BACKUPSET

212 4.2

Page 239: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

DELETE CLIENTOPT]Rú∩ñ∩oⁿORú∩ñq∩C

MvO

pGnoXoⁿOAz'πtMvBL¡εhMv¡εhMvC

yk

DELete CLIENTOpt option_set_name option_name

SEQnumber = number

ALL

option_set_name]n

ⁿXq∩WC

option_name]n

ⁿwq∩C

SEQnumberⁿwh∩WAnⁿw@ C∩C G

n ⁿw@j≤Ñ≤ 0 πC

ALLⁿw C

d

@

RúⁿW ENG ∩ñΘµí∩C

ⁿO: delete clientopt eng dateformat

÷ⁿO

ϕ 78. P DELETE CLIENTOPT ÷ⁿO

ⁿO í

COPY CLOPTSET s@sq∩C

DEFINE CLIENTOPT sWq∩q∩C

DEFINE CLOPTSET wqq∩C

DELETE CLOPTSET Rúq∩C

QUERY CLOPTSET πq∩÷ΩTC

UPDATE CLIENTOPT ≤sq∩XC

UPDATE CLOPTSET q∩íC

DELETE CLIENTOPT

213Tivoli Storage Manager for HP-UX zΓU

5.

z

ⁿO

Page 240: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

DELETE CLOPTSET]Rúq∩oⁿORúq∩C

MvO

pGnoXoⁿOAz'πtMvBL¡εhMv¡εhMvC

yk

DELete CLOptset option_set_name

option_set_name]n

ⁿwznRúq∩WC

d

@

Rú@W ENG q∩C

ⁿO: delete cloptset eng

÷ⁿO

ϕ 79. P DELETE CLOPTSET ÷ⁿO

ⁿO í

COPY CLOPTSET s@sq∩C

DEFINE CLIENTOPT sWq∩q∩C

DEFINE CLOPTSET wqq∩C

DELETE CLIENTOPT q∩Rúq∩C

QUERY CLOPTSET πq∩÷ΩTC

UPDATE CLIENTOPT ≤sq∩XC

UPDATE CLOPTSET q∩íC

DELETE CLOPTSET

214 4.2

Page 241: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

DELETE COPYGROUP]RúsoⁿORúzOñ≈OssCzúαRúb ACTIVE hsC

bzw≤hA⌠≤swRúsúOw]zO

zC

ziHRú STANDARD hΓñ]STANDARD hASTANDARD zOw²wq STANDARD sCúLApGzyß½sw TSM °AAw

STANDARD h½≤C

MvO

pGnoXoⁿOAz'πshΓºtMvBL¡εhM

v¡εhMvC

yk

DELete COpygroup domain_name policy_set_name class_nameSTANDARD

STANDARD

Type = Backup

Type = BackupArchive

domain_name]n

ⁿwshΓC

policy_set_name]n

ⁿwshC

class_name]n

ⁿwszOC

STANDARDⁿwsAª@wO STANDARDC∩C w] STANDARDC

¼

ⁿwnRús¼C∩C w] BACKUPCiαG

BackupⁿwnRú≈sC

ArchiveⁿwnRúOssC

d

@ 1

DELETE COPYGROUP

215Tivoli Storage Manager for HP-UX zΓU

5.

z

ⁿO

Page 242: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

q ACTIVEFILES zORúb EMPLOYEE_RECORDS hΓ VACATION hñ≈sC

ⁿO:

delete copygroup employee_recordsvacation activefiles

@ 2

q MCLASS1 zORúb PROG1 hΓ SUMMER hñOssC

ⁿO: delete copygroup prog1 summer mclass1 type=archive

÷ⁿO

ϕ 80. P DELETE COPYGROUP ÷ⁿO

ⁿO í

DEFINE COPYGROUP wqsH≈OsⁿwzOº

BzC

QUERY COPYGROUP π@ssC

UPDATE COPYGROUP ≤s@hC

DELETE COPYGROUP

216 4.2

Page 243: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

DELETE DBBACKUPTRIGGER ]RúΩw≈oⁿOoⁿORúΩw≈oⁿOwqCbRúΩw≈oⁿOºßA

oX SET LOGMODE ⁿOANΘxí≤ NORMALC

MvO

pGnoXoⁿOAz'tMvL¡εxsΘMvC

yk

DELete DBBackuptrigger

LC

d

@

RúΩw≈oⁿOwqC

ⁿO: delete dbbackuptrigger

÷ⁿO

ϕ 81. P DELETE DBBACKUPTRIGGER ÷ⁿO

ⁿO í

DEFINE DBBACKUPTRIGGER wqí TSM Ωw≈oⁿOC

QUERY DBBACKUPTRIGGER πΩw≈oⁿO÷ΩTC

SET LOGMODE ]wΘxñxsO²íC

UPDATE DBBACKUPTRIGGER ≤Ωw≈oⁿO@hC

DELETE DBBACKUPTRIGGER

217Tivoli Storage Manager for HP-UX zΓU

5.

z

ⁿO

Page 244: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

DELETE DBVOLUME ]RúΩweΘoⁿORúΩweΘΩweΘCⁿOiαneΘWΩHK

ΣªΩweΘC

: zúαRú@ΦMeΘñß@PBeΘAúD TSM iHNeΘWΩT

ΣªPBeΘC

oⁿOúIAαH CANCEL PROCESS ⁿO,H°CpG DELETEDBVOLUME IQ°A@ΩwΩiαwCpGnπ÷IΩTA QUERY PROCESS ⁿOC

MvO

pGnoXoⁿOAz'tMvL¡εxsΘMvC

yk

DELete DBVolume volume_name

volume_name]n

ⁿwΩweΘWC

d

@

RúW DB.2.

ⁿO: delete dbvolume db.2

÷ⁿO

ϕ 82. P DELETE DBVOLUME ÷ⁿO

ⁿO í

CANCEL PROCESS °I°ABzC

DEFINE DBCOPY ΩweΘeΘC

DEFINE DBVOLUME ⁿw@eΘHΩwxsΘC

QUERY DBVOLUME πΩweΘ÷ΩTC

QUERY PROCESS πI÷ΩTC

DELETE DBVOLUME

218 4.2

Page 245: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

DELETE DEVCLASS]RúmOoⁿORúmOC

pGnoⁿOAz'²RúⁿwSwmOxsA'nA°

bmOΩwXBXJC

zúαRú DISK mOAªObww²wqA²OziHRú TSM z

wq⌠≤mOC

MvO

pGnoXoⁿOAz'tMvL¡εxsΘMvC

yk

DELete DEVclass device_class_name

device_class_name]n

ⁿwnRúºmOWC

d

@

RúⁿW MYTAPE mOCSⁿwmOxsC

ⁿO: delete devclass mytape

÷ⁿO

ϕ 83. P DELETE DEVCLASS ÷ⁿO

ⁿO í

DEFINE DEVCLASS wqmOC

QUERY DEVCLASS πmO÷ΩTC

UPDATE DEVCLASS ≤mOC

DELETE DEVCLASS

219Tivoli Storage Manager for HP-UX zΓU

5.

z

ⁿO

Page 246: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

DELETE DOMAIN ]RúhΓoⁿORúhΓC÷hBzOMsAúH

hΓQRúCzúαRúwgn²qIhΓC

ziHRúw²wq STANDARD hΓCúLApGzyß½sw TSM °A

Aw STANDARD h½≤C

MvO

pGnoXoⁿOA'πtMvC

yk

DELete DOmain domain_name

domain_name]n

ⁿwnRúhΓC

d

@

Rú EMPLOYEE_RECORDS hΓC

ⁿO: delete domain employee_records

÷ⁿO

ϕ 84. P DELETE DOMAIN ÷ⁿO

ⁿO í

COPY DOMAIN hΓC

DEFINE DOMAIN wqiⁿwqhΓC

QUERY DOMAIN πhΓ÷ΩTC

UPDATE DOMAIN ≤hΓC

DELETE DOMAIN

220 4.2

Page 247: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

DELETE DRIVE]qCΘwRú≈oⁿOqCΘwRú≈CzLkRúñ≈C

MvO

pGnoXoⁿOAz'tMvL¡εxsΘMvC

yk

DELete DRive library_name drive_name

library_name]n

ⁿw≈bCΘwWC

drive_name]n

ⁿwnRú≈WC

d

@

qⁿW AUTO CΘwRú DRIVE3C

ⁿO: delete drive auto drive3

÷ⁿO

ϕ 85. P DELETE DRIVE ÷ⁿO

ⁿO í

DEFINE DRIVE ⁿw≈wC

DEFINE LIBRARY wqíΓíwC

DELETE LIBRARY RúwC

QUERY DRIVE π≈÷ΩTC

QUERY LIBRARY π@hw÷ΩTC

UPDATE DRIVE ≤≈C

DELETE DRIVE

221Tivoli Storage Manager for HP-UX zΓU

5.

z

ⁿO

Page 248: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

DELETE EVENT ]Rú≤O²oⁿORúΩw≤O²CCBz@≥ówⁿOAíú

@≤O²C

oⁿOuRúbBzⁿOsb≤O²C pGq*≤O²]≤Qw

b*AwgN≤eABRúF≤O²ANΣú⌠≤≤O²C

MvO

pGnoXoⁿOAz'tMvL¡εhMvC

yk

DELete EVent date00:00

time

TYPE = Client

TYPE = ClientADministrativeALl

date]n

ⁿwHP²Rú≤O²ΘCziHⁿwjΘO 9999C

NoM TIME @AⁿwRú≤O²ΘPíCΣwlíbⁿwΘPíºeo⌠≤O²úQRúCúLA≤°í

*gLO²úQRúC

ziHUCΣñ@ⁿwΩG

í d

MM/DD/YYYY SwΘ 09/15/1998

TODAY µΘ TODAY

TODAY-days

-days

µΘεhⁿwΘ TODAY-3 -3C

timeⁿwPnRú≤O²íCNoM DATE @AⁿwRú≤O²ΘPíCΣwlíbⁿwΘPíºeo⌠

≤O²úQRúCúLA≤°í *gLO²úQRúCw] 00:00C

ziHUCΣñ@ⁿwΩG

í d

HH:MM:SS Swí 10:30:08

NOW µí NOW

NOW+HH:MM

+HH:MM

µí[WⁿwpM NOW+03:00 +03:00

: pGz NOW+03:00 +03:00 o

XoⁿOA TSM RúíⁿwΘ

12:00 ºßO²C

DELETE EVENT

222 4.2

Page 249: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

í d

NOW-HH:MM

-HH:MM

µíεhⁿwpM NOW-03:00 -03:00

TYPEⁿwnRú≤¼C∩C w] CLIENTCiαG

ClientⁿwnRúq≤O²C

ADministrativeⁿwnRúzⁿOϕ≤O²C

ALlⁿwnRúqzⁿOϕ≤O²C

d

@

Rú≤wlíb 1998 5 δ 26 Θ]05/26/1998ºeAHwgqL°íO²Cúo≤O²O SET EVENTRETENTION ⁿOºⁿgL≤O²OdAo≤O²í,RúC

ⁿO: delete event 05/26/1998 08:00

÷ⁿO

ϕ 86. P DELETE EVENT ÷ⁿO

ⁿO í

QUERY EVENT πw∩qºwH¿≤÷

ΩTC

SET EVENTRETENTION ⁿXnww@OdO²h#C

DELETE EVENT

223Tivoli Storage Manager for HP-UX zΓU

5.

z

ⁿO

Page 250: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

DELETE EVENTSERVER]Rú≤°AwqoⁿORú≤°AwqCz'²oXⁿOAMßAoX DELETESERVER ⁿOC]zb DELETE SERVER ⁿOWAⁿw@wq¿≤°A°AAhz¼@hTºC

MvO

pGnoXoⁿOA'πtMvC

yk

DELete EVENTSERVer

d

@

Rú≤°A ASTRO wqC

ⁿO: delete eventserver

÷ⁿO

ϕ 87. P DELETE EVENTSERVER ÷ⁿO

ⁿO í

DEFINE EVENTSERVER N°Awq≤°AC

QUERY EVENTSERVER π≤°AWC

DELETE EVENTSERVER

224 4.2

Page 251: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

DELETE FILESPACE]Rú°AWqIΩoⁿORú°A íC≤ íqDnxsR

úC

TSM RúH@tCσΩwºRú@h íApiεNπ

íϕ@@µ@@iµαTwCpGQ°otóAhiα

oíRúCPIß≥ DELETE FILESPACE ⁿOiHRúlΩC

MvO

YnoXⁿOAz'πtMvBL¡εhMvqIºⁿw

hΓ¡εhMvC

yk

DELete FIlespace node_name file_space_name

Type = ANY

Type = ANYBackupARchiveSPacemanagedSERver

DAta = ANY

DAta = ANYFIles

(1)IMages

Wait = No

Wait = NoYes

OWNer = owner_name

NAMEType = SERVER

NAMEType = SERVERUNIcodeFSID

CODEType = BOTH

CODEType = UNIcodeNONUNIcodeBOTH

:

1 ouαbⁿw TYPE=ANY TYPE=BACKUP C

node_name]n

ⁿw íºqIWC

DELETE FILESPACE

225Tivoli Storage Manager for HP-UX zΓU

5.

z

ⁿO

Page 252: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

file_space_name]n

ⁿwnRúo íWCoWOjpgAB'TΘJ°A

iHOWCnMwp≤ΘJWA QUERY FILESPACE ⁿOCziHUrⁿwWC

∩≤ΣqΣ Unicode °AAziαn°Aα½zΘJ íWCpAziαn°ANzΘJWAq°ArX૨ UnicodeC\NAMETYPE Ho ΩTCpGz*ⁿw íWuⁿw@µ@UrNϕWAziH CODETYPE ¡ε Unicode íDUnicode í@C

¼

ⁿwnRúΩ¼C∩C w] ANYC iαG

ANYRú≈OsC

pGzⁿw DELETE FILESPACE node_name * TYPE=ANYAhRúI íñ≈OsΩC ub íút HSM qα

A!Rú íC

BackupRú í≈ΩC

ARchiveRú í°AWOsΩC

SPacemanagedRúqtα] HSM q ízCz

pGⁿw TYPE=SPACEMANAGEDAOWNER QñC

SERvern² TYPE=SERVER IRú íñ$íOsC

DAtaⁿwnRú½≤C∩C w] ANYC iαG

ANYRúB²v C

FIlesRú²C

IMagesRúv ½≤Cubⁿw TYPE=ANY TYPE=BACKUP ºßA!αoC

WaitⁿwO Ñ°Abe¿Bz¿ⁿOC ∩C w] NoCiαG

DELETE FILESPACE

226 4.2

|

|

|

|

|

Page 253: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

Noⁿw°AbIBzⁿOCBzⁿOAziH≥⌡µΣª@CI

úTºπbíΘx°ADxñA°O²TºbaΦ

wC

Yesⁿw°AbeBzⁿOCÑⁿO¿ßA!α≥⌡µΣª@C ⁿO

¿A°AπΘXTºzqC

: zúαq°ADxⁿw Wait=YesC

OWNer¡εRúΩCoO∩Ab TYPE=SPACEMANAGEDQñC A≤ p AIX SunOS ºhqC

NAMETypeⁿwzn°AzΘJº íΦíCobΣqΣ°A

DCeu Windows NT H Windows 2000 @t!úΣ Unicode≈OsqC

bzΘJ$íπ íW!oCw] SERVERCiαG

SERVER°A°ArX íWC

UNIcode°AN íWq°ArX૨ UTF-8 rXCα½O ¿\WñΩrH°ArXMwCpGrΩt°ArXúΣ

rA°Astα½íoDAα½Kiαó C

FSID°AN íWª í ID]FSIDC

CODETypeⁿwN í]A@ñΦíCw] BOTHAϕN]A íPrXL÷Cbz∩ íWⁿwµ@Ur!oCiα

G

UNIcodeu]A Unicode µí íC

NONUNIcodeu]AúO Unicode µí íC

BOTH]A íBMrXL÷C

d

@ 1

Rú≤qI HTANG ⁿW C_Drive íC

DELETE FILESPACE

227Tivoli Storage Manager for HP-UX zΓU

|

|

|

|

|

|

|

|

|

|

|

|

|

|

|

|

|

|

|

|

|

|

|

|

|

5.

z

ⁿO

Page 254: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

ⁿO: delete filespace htang C_Drive

@ 2

RúqI APOLLO α$í]τYA$í ízC

ⁿO: delete filespace apollo * type=spacemanaged

÷ⁿO

ϕ 88. P DELETE FILESPACE ÷ⁿO

ⁿO í

CANCEL PROCESS °I°ABzC

QUERY ACTLOG π°AíΘxTºC

QUERY FILESPACE π≤qº íñΩ÷Ω

TC

QUERY OCCUPANCY ÷xsπ íΩTC

QUERY PROCESS πI÷ΩTC

REMOVE NODE SwhΓºn²ICñúh@

qC

RENAME FILESPACE °AWq í≤WC

DELETE FILESPACE

228 4.2

Page 255: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

DELETE GRPMEMBER]q°AsRú°AoⁿORú°Asñ°A°AsC

MvO

pGnoXoⁿOA'πtMvC

yk

DELete GRPMEMber group_name

,

member_name

group_name]n

ⁿwsC

member_name]n

ⁿwnqsñRú°AsCpGnⁿwhWAHr jWA

Bºíúi µC

d

@

qs WEST_COMPLEX Rú¿ PHOENIXC

ⁿO: delete grpmember west_complex phoenix

÷ⁿO

ϕ 89. P DELETE GRPMEMBER ÷ⁿO

ⁿO í

DEFINE GRPMEMBER wq°A@Y°As¿C

DEFINE SERVERGROUP wqs°AsC

DELETE SERVER Rú°AwqC

DELETE SERVERGROUP Rú°AsC

MOVE GRPMEMBER °As¿C

QUERY SERVER π°A÷ΩTC

QUERY SERVERGROUP π°As÷ΩTC

RENAME SERVERGROUP ≤°AsWC

UPDATE SERVERGROUP ≤s°AsC

DELETE GRPMEMBER

229Tivoli Storage Manager for HP-UX zΓU

5.

z

ⁿO

Page 256: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

DELETE LIBRARY ]RúCΘwoⁿORúsCΘwCbRúwºeAⁿw≈',HR

úC

MvO

pGnoXoⁿOAz'tMvL¡εxsΘMvC

yk

DELete LIBRary library_name

library_name]n

ⁿwnRúCΘwWC

d

@

Rú MANLIB CΘwC

ⁿO: delete library manlib

÷ⁿO

ϕ 90. P DELETE LIBRARY ÷ⁿO

ⁿO í

DEFINE DRIVE ⁿw≈wC

DEFINE LIBRARY wqíΓíwC

DELETE DRIVE wRú≈C

QUERY DRIVE π≈÷ΩTC

QUERY LIBRARY π@hw÷ΩTC

UPDATE DRIVE ≤≈C

UPDATE LIBRARY ≤wC

DELETE LIBRARY

230 4.2

Page 257: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

DELETE LOGVOLUME ]RúΘxeΘoⁿORúΘxeΘeΘCqΘxRúeΘA°AN

sΩΣªeΘWi íC

: zúαRú@ΦMeΘñß@PBeΘAúD TSM iHNeΘWΩT

ΣªPBeΘC

oⁿOúIAαH CANCEL PROCESS ⁿO,H°CpG DELETEDBVOLUME IQ°AhYΩwiαwgCpGnπ÷IΩTA QUERY PROCESS ⁿOC

MvO

pGnoXoⁿOAz'tMvL¡εxsΘMvC

yk

DELete LOGVolume volume_name

volume_name]n

ⁿwΘxeΘΩC

d

@

RúΘxeΘ LOG.1 C

ⁿO: delete logvolume log.1

÷ⁿO

ϕ 91. P DELETE LOGVOLUME ÷ⁿO

ⁿO í

CANCEL PROCESS °I°ABzC

DEFINE LOGCOPY ΘxeΘeΘC

DEFINE LOGVOLUME wqeΘΘxC

QUERY LOGVOLUME πΘxeΘ÷ΩTC

QUERY PROCESS πI÷ΩTC

DELETE LOGVOLUME

231Tivoli Storage Manager for HP-UX zΓU

5.

z

ⁿO

Page 258: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

DELETE MACHINE]Rú≈ΩToⁿORú≈íΩTCpGnm½ΩTAoXoⁿOAMßo

X INSERT MACHINEⁿOC

MvO

pGnoXoⁿOA'πtMvC

yk

DELete MACHine machine_nameType = All

Type = AllRECOVERYInstructionsCHaracteristics

machine_name]n

ⁿw≈WAϕnRúΣ÷ΩTC

¼

ⁿw≈ΩT¼C∩C w] ALLCiαG

AllⁿwΩTC

RECOVERYInstructionsⁿwⁿC

CHaracteristicsⁿw≈SC

d

@

Rú DISTRICT5 ≈÷≈SC

ⁿO: delete machine district5 type=characteristics

÷ⁿO

ϕ 92. DELETE MACHINE ÷ⁿO

ⁿO í

DEFINE MACHINE wq≈ DRMC

INSERT MACHINE N≈SⁿíJ TSM ΩwC

QUERY MACHINE π≈÷ΩTC

QUERY RECOVERYMEDIA π≈iCΘC

UPDATE MACHINE ≤s≈ΩTC

DELETE MACHINE

232 4.2

Page 259: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

DELETE MACHNODEASSOCIATION]Rú≈MIºísoⁿORú≈P@hIºí÷pCoⁿOúq TSM RúIC

MvO

pGnoXoⁿOA'πtMvC

yk

DELete MACHNODEAssociation machine_name

,

node_name

machine_name]n

ⁿwP@hI÷≈WC

node_name]n

ⁿwP≈÷IWCpGzⁿw@≈IWCAHr jWA

Bºíúi µCziHUrⁿwWCpGI*M≈

÷AhúBzIC

d

@

Rú DISTRICT5 ≈M ACCOUNTSPAYABLE IºísC

ⁿO:

delete machnodeassociation district5 accountspayable

÷ⁿO

ϕ 93. P DELETE MACHNODEASSOCIATION ÷ⁿO

ⁿO í

DEFINE MACHNODEASSOCIATION N TSM IP≈÷pC

QUERY MACHINE π≈÷ΩTC

DELETE MACHNODEASSOCIATION

233Tivoli Storage Manager for HP-UX zΓU

5.

z

ⁿO

Page 260: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

DELETE MGMTCLASS]RúzOoⁿORúzOCzúαRúb ACTIVE hzOCzOñsúHzO@RúCziHRúhw]zOA

²úDhπw]zOA hNLkC

ziHRúb STANDARD hΓñw²wq STANDARD zOCúLApGzyß½sw TSM °AAw STANDARD h½≤C

MvO

pGnoXoⁿOAz'πtMvBL¡εhMvAzO

hΓ¡εhMvC

yk

DELete MGmtclass domain_name policy_set_name class_name

domain_name]n

ⁿwzOhΓC

policy_set_name]n

ⁿwzOhC

class_name]n

ⁿwnRúzOC

d

@

q EMPLOYEE_RECORDS hΓ VACATION hñRú ACTIVEFILES zOC

ⁿO:

delete mgmtclass employee_recordsvacation activefiles

÷ⁿO

ϕ 94. P DELETE MGMTCLASS ÷ⁿO

ⁿO í

ASSIGN DEFMGMTCLASS ⁿw@szO@ⁿwºh

w]C

COPY MGMTCLASS zOC

DEFINE MGMTCLASS wqzOC

QUERY MGMTCLASS πzO÷ΩTC

UPDATE MGMTCLASS ≤zOC

DELETE MGMTCLASS

234 4.2

Page 261: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

DELETE POLICYSET ]RúhoⁿORúhCzúαRú ACTIVE hCRúhA@Rú≤hzOMsC

ziRúw²wqºSTANDARD hCúLApGzyß½sw TSM °AAw

STANDARD h½≤C

MvO

pGnoXoⁿOAz'tMvBL¡εhMvOh

hΓ¡εhMvC

yk

DELete POlicyset domain_name policy_set_name

domain_name]n

ⁿwhhΓC

policy_set_name]n

ⁿwnRúhC

d

@

EMPLOYEE_RECORDS hΓñ VACATION hC

ⁿO: delete policyset employee_records vacation

÷ⁿO

ϕ 95. P DELETE POLICYSET ÷ⁿO

ⁿO í

ACTIVATE POLICYSET τhC

COPY POLICYSET hC

DEFINE POLICYSET wqⁿwhΓºhC

QUERY POLICYSET πh÷ΩTC

UPDATE POLICYSET ≤híC

VALIDATE POLICYSET bhºeAz'°≤º

τH°iC

DELETE POLICYSET

235Tivoli Storage Manager for HP-UX zΓU

5.

z

ⁿO

Page 262: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

DELETE PROFASSOCIATION]Rú]w÷pbtmzíWoⁿORú]wñ@h½≤÷pC@,Rú½≤º

í÷pANúN½≤eⁿz°ACϕⁿz°AnDw≤s

tmΩTAtmzíqªnRú½≤C

i: ⁿz°ARúºeq]wRú½≤AúD½≤P°At@

]w÷pC

MvO

pGnoXoⁿOA'πtMvC

yk

DELete PROFASSOCiation profile_name

ADMins = *,

admin_name

DOmains = *,

domain_name

ADSCHeds = *,

schedule_name

SCRipts = *,

script_name

CLOptsets = *,

option_set_name

SERVers = *,

server_name

SERVERGroups = *,

group_name

profile_name]n

ⁿwnRú÷]wC

DELETE PROFASSOCIATION

236 4.2

Page 263: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

ADMinsⁿwnRúΣP]wº÷pzCziHⁿw@HWWAΦkOQ

r jWABºíúi µC$ír]*Rú]wñzCYzⁿw@≈zCA]ww$íwqsbAh

oⁿOó C

tmzíWzwqú≤CúLAbU½sπztmAq

ⁿz°ARúªA²UCípG

¶ pGzeb°AW@wÑq@AhúRúzC

¶ pGbRúzßAⁿz°ANS⌠≤πtMvOzA

húRúzC

DOmainsⁿwznRúP]wº÷pΓCziHⁿw@HWWAΦkOQ

r jWABºíúi µC$ír]*Rú]wñΓCpGzⁿw@≈ΓCA]ww$íΓwqsbAh

oⁿOó C

ΓΩTqⁿz°AñRúCúLAwⁿwqI

hΓúQRúCnRúⁿz°AWΓANoqIⁿw

t@hΓC

ADSCHedsⁿwnRúΣP]wº÷pzϕCCziHⁿw@HWWA

ΦkOQr jWABºíúi µCYzⁿw@≈zϕC

A]ww$ízϕwqsbAhoⁿOó C$í

r]*Rú]wñzϕC

zϕqⁿz°AñRúCúLApGⁿz°AW

ϕb@ñAhúRúzϕCpGQRú@ñϕAN

ϕ¿D@ñ¼AC

SCRiptsⁿwnRúΣP]wº÷p°AⁿO ScriptCziHⁿw@HWWAΦkOQr jWABºíúi µC$ír]*Rú]wñ ScriptCpGzⁿw@≈ Script CA]ww$í ScriptwqsbAhoⁿOó C°AⁿO Script qⁿz°AñRúC

CLOptsetsⁿwnRúΣP]wº÷pq∩CziHⁿw@HWWAΦ

kOQr jWABºíúi µC$ír]*Rú]wñq∩CpGzⁿw@≈q∩CA]ww$

íq∩wqsbAhoⁿOó Cq∩q

ⁿz°AñRúC

SERVersⁿwnRúΣP]wº÷p°ACziHⁿw@HWWAΦkOQ

r jWABºíúi µCziH$ír]*Rú]

DELETE PROFASSOCIATION

237Tivoli Storage Manager for HP-UX zΓU

5.

z

ⁿO

Page 264: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

wñ°ACpGzⁿw@≈°ACA]ww$í°A

wqsbAhoⁿOó C°Awqqⁿz°Añ

RúA²UCípG

¶ pGⁿz°AMt@°AºíñsuAhúRú°Aw

qC

¶ pGⁿz°Aπ@Σª°A SERVER m¼mOAhúRú°AwqC

¶ pG°AOⁿz°A≤°AAhúRú°AwqC

SERVERGroupsⁿwnRúΣP]wº÷p°AsCziHⁿw@HWWAΦk

OQr jWABºíúi µCziH$ír]*Rú]wñ°AsCpGzⁿw@≈°AsCA]ww$

íswqsbAhoⁿOó C°Aswqq

ⁿz°AñRúC

d

@

Rú MIKE ]wñΓ÷pC

ⁿO: delete profassociation mike domains=*

÷ⁿO

ϕ 96. P DELETE PROFASSOCIATION ÷ⁿO

ⁿO í

COPY PROFILE ]wC

DEFINE PROFASSOCIATION s½≤P]wC

DEFINE PROFILE eΩTz°Awq]wC

DELETE PROFILE tmzíRú]wC

LOCK PROFILE εtm]weC

NOTIFY SUBSCRIBERS q°A½sπzΣtmΩTC

QUERY PROFILE πtm]w÷ΩTC

SET CONFIGMANAGER ⁿX°AO tmzíC

UNLOCK PROFILE Ωw]wiHz°AC

UPDATE PROFILE ≤]wíC

DELETE PROFASSOCIATION

238 4.2

Page 265: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

DELETE PROFILE]Rú]wbtmzíWoⁿORú]wABεª∩ⁿz°AeC

zúαRúwΩw]wCz'² UNLOCK PROFILE ⁿON]wúΩwC

i: ϕzRútmzíñ]wAúNM]w÷½≤Aqⁿ

z°AñRúCziHbCⁿz°AW DELETE SUBSCRIPTIONⁿO[ DISCARDOBJECTS=YES ARú∩]wP÷½≤C@]iHεⁿz°AnD∩]wi@B≤sC

MvO

pGnoXoⁿOA'πtMvC

yk

DELete PROFIle profile_nameForce = No

Force = NoYes

profile_name]n

ⁿwnRú]wC

ForceⁿwpG@hⁿz°Awg]wAO nRú]wCw]

NOCiαG

NoⁿwpG@hⁿz°Awg]wAúnRú]wCzi

H DELETE SUBSCRIPTION ⁿORúC@ⁿz°AWC

YesⁿXY@hⁿz°A]wA2N]wRúCC@

°A≥nD∩wRú]wiµ≤sAzRúC

d

@

Rú BETA ]wAY@hⁿz°AºC

ⁿO: delete profile beta force=yes

÷ⁿO

ϕ 97. P DELETE PROFILE ÷ⁿO

ⁿO í

COPY PROFILE ]wC

DEFINE PROFASSOCIATION s½≤P]wC

DELETE PROFILE

239Tivoli Storage Manager for HP-UX zΓU

5.

z

ⁿO

Page 266: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

ϕ 97. P DELETE PROFILE ÷ⁿO (≥)

ⁿO í

DEFINE PROFILE eΩTz°Awq]wC

DEFINE SUBSCRIPTION ²ⁿz°A]wC

DELETE PROFASSOCIATION Rú½≤P]wsC

DELETE SUBSCRIPTION Rúⁿw]wC

LOCK PROFILE εtm]weC

QUERY PROFILE πtm]w÷ΩTC

QUERY SUBSCRIPTION π]w÷ΩTC

SET CONFIGMANAGER ⁿX°AO tmzíC

UNLOCK PROFILE Ωw]wiHz°AC

UPDATE PROFILE ≤]wíC

DELETE PROFILE

240 4.2

Page 267: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

DELETE RECMEDMACHASSOCIATION]RúCΘM≈÷poⁿOúhCΘP@h≈÷pCoⁿOúq TSM Rú≈

C

MvO

pGnoXoⁿOA'πtMvC

yk

DELete RECMEDMACHAssociation media_name

,

machine_name

media_name]n

ⁿwP@hí≈÷pCΘWC

machine_name]n

ⁿwPCΘ÷p≈WCpGnⁿw@≈≈CAHr jWA

Bºíúi µCziHUrⁿwWCpG≈SMC

Θ÷pAhúBz≈C

d

@

Rú DIST5RM CΘP DISTRICT1 M DISTRICT5 ≈ºísC

ⁿO:

delete recmedmachassociationdist5rm district1,district5

÷ⁿO

ϕ 98. DELETE RECMEDMACHASSOCIATION ÷ⁿO

ⁿO í

DEFINE RECMEDMACHASSOCIATION NCΘP≈sC

QUERY MACHINE π≈÷ΩTC

QUERY RECOVERYMEDIA π≈iCΘC

DELETE RECMEDMACHASSOCIATION

241Tivoli Storage Manager for HP-UX zΓU

5.

z

ⁿO

Page 268: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

DELETE RECOVERYMEDIA]RúCΘoⁿORú TSM CΘwqC

MvO

pGnoXoⁿOA'πtMvC

yk

DELete RECOVERYMedia media_name

media_name]n

ⁿXCΘWC

d

@

Rú DIST5RM CΘC

ⁿO: delete recoverymedia dist5rm

÷ⁿO

ϕ 99. DELETE RECOVERYMEDIA ÷ⁿO

ⁿO í

DEFINE RECOVERYMEDIA wq≈'nCΘC

QUERY RECOVERYMEDIA π≈iCΘC

UPDATE RECOVERYMEDIA ≤sCΘC

DELETE RECOVERYMEDIA

242 4.2

Page 269: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

DELETE SCHEDULE]RúqzⁿOϕoⁿORúΩwϕC

DELETE SCHEDULE ⁿOΓ µíA ϕO ≤q@zⁿOCC µíykPíOwqC

DELETE SCHEDULE

243Tivoli Storage Manager for HP-UX zΓU

5.

z

ⁿO

Page 270: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

DELETE SCHEDULE -- q DELETE SCHEDULE ⁿORúΩwñ@hqϕC RúϕßAPϕs⌠≤q]@úhC

MvO

pGnRúqϕA'πtMvBL¡εhMvBⁿwhΓ

º¡εhMvC

yk

DELete SCHedule domain_name schedule_nameType = Client

domain_name]n

ⁿXϕhΓWC

schedule_name]n

ⁿwnRúϕWCziHUrⁿwoWC

Type=ClientⁿwnRúqϕC∩C w] CLIENTC

d

@

Rú≤ EMPLOYEE_RECORDS hΓ WEEKLY_BACKUP ϕC

ⁿO: delete schedule employee_records weekly_backup

DELETE SCHEDULE -- q

244 4.2

Page 271: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

DELETE SCHEDULE -- zⁿOoⁿORúΩwñ@hzⁿOϕC

MvO

pGnRúzⁿOϕA'πtv¡C

yk

DELete SCHedule schedule_name Type = Administrative

schedule_name]n

ⁿwnRúϕWCziHUrⁿwoWC

Type=Administrative]n

ⁿwnRúzⁿOϕC

d

@

RúⁿW DATA_ENG zⁿOϕC

ⁿO: delete schedule data_eng type=administrative

÷ⁿO

ϕ 100. P DELETE SCHEDULE ÷ⁿO

ⁿO í

COPY SCHEDULE ϕC

DEFINE SCHEDULE wqq@zⁿOC

QUERY SCHEDULE πϕ÷ΩTC

UPDATE SCHEDULE ≤C

DELETE SCHEDULE -- zⁿO

245Tivoli Storage Manager for HP-UX zΓU

5.

z

ⁿO

Page 272: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

DELETE SCRIPT]Rú Script ñⁿOµRúπ ScriptoⁿORú TSM Script ñµ@ⁿOµARúπ TSM ScriptC

MvO

noXoⁿOAz²e'wgwq ScriptAπtMvC

yk

DELete SCRipt script_nameLine = number

script_name]n

ⁿwnRú Script WCúDzⁿwµ A hRúπ ScriptC

LineⁿXnq Script ñRúµ CpGzSⁿwµ AhRúπ ScriptC

d

@

HUⁿW QSAMPLE ScriptG

001 /* Script d*/005 QUERY STATUS010 QUERY PROCESS

q QSAMPLE Rú 005 µC

ⁿO: delete script qsample line=5

÷ⁿO

ϕ 101. P DELETE SCRIPT ÷ⁿO

ⁿO í

COPY SCRIPT Script C

DEFINE SCRIPT N Script wq TSM °AC

QUERY SCRIPT π Script ÷ΩTC

RENAME SCRIPT N Script ≤WsWC

RUN ⌡µ ScriptC

UPDATE SCRIPT ≤sW Script rµC

DELETE SCRIPT

246 4.2

Page 273: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

DELETE SERVER]Rú°AwqoⁿORú°AwqCpG°AUCí#AoⁿOóG

¶ wq¿≤°AC

¶ bm¼ SERVER mOwqñⁿWC

¶ Mt@°AsñC

MvO

pGnoXoⁿOA'πtMvC

yk

DELete SERver server_name

server_name]n

ⁿw°AWC

d

@

RúⁿW SERVER2 °AwqC

ⁿO: delete server server2

÷ⁿO

ϕ 102. P DELETE SERVER ÷ⁿO

ⁿO í

DEFINE SERVER wqu°A∩°AvqH°AC

QUERY EVENTSERVER π≤°AWC

QUERY SERVER π°A÷ΩTC

RECONCILE VOLUMES °AΩeΘwqH°AO

s½≤@PC

UPDATE SERVER ≤s°A÷ΩTC

DELETE SERVER

247Tivoli Storage Manager for HP-UX zΓU

5.

z

ⁿO

Page 274: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

DELETE SERVERGROUP]Rú°AsoⁿORú°AsCpGznRúsOΣL°As¿ATSM NPqΣLsúhsC

MvO

pGnoXoⁿOA'πtMvC

yk

DELete SERVERGRoup group_name

group_name]n

ⁿwnRú°AsC

d

@

RúⁿW WEST_COMPLEX °AsC

ⁿO: delete servergroup west_complex

÷ⁿO

ϕ 103. P DELETE SERVERGROUP ÷ⁿO

ⁿO í

COPY SERVERGROUP °AsC

DEFINE GRPMEMBER wq°A@Y°As¿C

DEFINE SERVERGROUP wqs°AsC

DELETE GRPMEMBER °AsRúY°AC

MOVE GRPMEMBER °As¿C

QUERY SERVERGROUP π°As÷ΩTC

RENAME SERVERGROUP ≤°AsWC

UPDATE SERVERGROUP ≤s°AsC

DELETE SERVERGROUP

248 4.2

Page 275: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

DELETE SPACETRIGGER]RúΩwΘxíoⁿOoⁿORúΩwΘx íoⁿOwqC

MvO

pGnoXoⁿOAz'tMvL¡εxsΘMvC

yk

DELete SPACETrigger DBLOG

DBⁿwΩw íoⁿOC

LOGⁿwΘx íoⁿOC

d

@ 1

RúΩw íoⁿOwqC

ⁿO:

delete spacetrigger db

@ 2

RúΘx íoⁿOwqC

ⁿO:

delete spacetrigger log

÷ⁿO

ϕ 104. P DELETE SPACETRIGGER ÷ⁿO

ⁿO í

DEFINE SPACETRIGGER wqΩwΘx íoⁿOC

QUERY SPACETRIGGER πΩwΘx íoⁿO÷Ω

TC

UPDATE SPACETRIGGER ≤ΩwΘx íoⁿOC

DELETE SPACETRIGGER

249Tivoli Storage Manager for HP-UX zΓU

5.

z

ⁿO

Page 276: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

DELETE STGPOOL ]RúxsoⁿORúxsCpGnRúxsAz'²Rúⁿwxse

ΘC

pxswⁿwt@xsUxsAhzúαRúCpxsÑhΣª

÷ΩTA\ DEFINE STGPOOL ⁿOñ NEXTSTGPOOL C

i: .RúwⁿwzOaO ACTIVE hºsxsCq@iα]óC

MvO

pGnoXoⁿOA'πtMvC

yk

DELete STGpool pool_name

pool_name]n

ⁿwnRúxsC

d

@

RúW POOLA xsC

ⁿO: delete stgpool poola

÷ⁿO

ϕ 105. P DELETE STGPOOL ÷ⁿO

ⁿO í

BACKUP STGPOOL ≈@DxsxsC

DEFINE STGPOOL wqxs°AxsΘCΘⁿWXC

QUERY STGPOOL πxs÷ΩTC

SET DRMCOPYSTGPOOL ⁿwxsO DRM zC

UPDATE STGPOOL ≤xsC

DELETE STGPOOL

250 4.2

Page 277: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

DELETE SUBSCRIBER]qtmzíΩwRúbtmzíWoⁿOqtmzíRúⁿz°AΩwCϕ

ⁿz°AwúsbALkbRúßqtmzíAoⁿ

OC

i: ϕtmzíΩw]tA²Oⁿz°ASo

A!oⁿOCpAϕⁿz°AwgúsbALkbRúßq

tmzíAoⁿOC

b@δípUA DELETE SUBSCRIPTION ⁿOqⁿz°ARúCⁿz°AqtmzíAMßtm°Aqⁿz°AΩwRú

C

MvO

pGnoXoⁿOA'πtMvC

yk

DELete SUBSCRIBer server_name

server_name]n

ⁿwⁿz°AWHnRúC

d

@

ⁿW DAN ⁿz°ARúC

ⁿO: delete subscriber dan

÷ⁿO

ϕ 106. P DELETE SUBSCRIBER ÷ⁿO

ⁿO í

DEFINE SUBSCRIPTION ²ⁿz°A]wC

DELETE SUBSCRIPTION Rúⁿw]wC

NOTIFY SUBSCRIBERS q°A½sπzΣtmΩTC

QUERY SUBSCRIBER πPΣ∩]wº÷ΩTC

QUERY SUBSCRIPTION π]w÷ΩTC

DELETE SUBSCRIBER

251Tivoli Storage Manager for HP-UX zΓU

5.

z

ⁿO

Page 278: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

DELETE SUBSCRIPTION]Rú]wbⁿz°AWoⁿORú]wCz]iHqⁿz°ARú

P]w÷½≤C

MvO

pGnoXoⁿOA'πtMvC

yk

DELete SUBSCRIPtion profile_nameDISCARDobjects = No

DISCARDobjects = NoYes

profile_name]n

ⁿwnRúΣ]wWC

DISCARDobjectsⁿwO nRúⁿz°AWP]w÷½≤C∩C w]

NOC

NoⁿwúnRú½≤C

YesⁿwnRú½≤AúDªMt@wwq]w÷pC

d

@

NⁿW ALPHA ]wH÷½≤qⁿz°ARúC

ⁿO: delete subscription alpha discardobjects=yes

÷ⁿO

ϕ 107. P DELETE SUBSCRIPTION ÷ⁿO

ⁿO í

DEFINE SUBSCRIPTION ²ⁿz°A]wC

DELETE SUBSCRIBER Rúw@oⁿz°AC

NOTIFY SUBSCRIBERS q°A½sπzΣtmΩTC

QUERY SUBSCRIBER πPΣ∩]wº÷ΩTC

QUERY SUBSCRIPTION π]w÷ΩTC

DELETE SUBSCRIPTION

252 4.2

Page 279: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

DELETE VOLHISTORY]RúeΘΩToⁿORúúneΘO²]pA,Ωw≈eΘO²C

ϕzRúwúbxsñeΘO²]pAΩw≈XeΘA TSM OHMeΘoªAheΘ≡¼AC FILE m¼eΘ]QRúCϕzRúxseΘO²AeΘdb TSM ΩwñC ϕzq °ARú

p½≤O²A°AW½≤QORúC

:

1. ±Ωw≈tCeΘhúRúC

2. oⁿOú≤sseΘC

3. ziH DEFINE SCHEDULE ⁿOwRúeΘO²C

4. DELETE BACKUPSET ⁿORúeΘñⁿw≈eΘΩTC.o DELETE VOLHISTORY ⁿORúeΘñ≈eΘΩTC

5. ∩≤ DRM ÑA SET DRMDBBACKUPEXPIREDAYS ⁿOεΩw≈LAúOo DELETE VOLHISTORY ⁿOC DELETEVOLHISTORY ⁿOúh TSM eΘO²C oiαy¿ MOVE DRMEDIAⁿOzeΘ≥óC z DRM Ωw≈eΘLΦíO SETDRMDBBACKUPEXPIREDAYS ⁿOC

MvO

pGnoXoⁿOA'πtMvC

yk

DELete VOLHistory TODate = dateTOTime = time

DELETE VOLHISTORY

253Tivoli Storage Manager for HP-UX zΓU

|

|

5.

z

ⁿO

Page 280: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

Type = AllDBBackup

DEVclass = classnameDBSnapshot

DEVclass = classnameDBDumpDBRpfEXPort

DELETELatest = NoRPFile

DELETELatest = NoYes

DELETELatest = NoRPFSnapshot

DELETELatest = NoYes

STGNewSTGReuseSTGDelete

TODate]n

ⁿwH∩RúeΘΩΘCTSM uRú±ⁿwΘ≤¡P@O²CziHUCΣñ@ⁿwΩG

í d

MM/DD/YYYY SwΘ 01/23/1999

TODAY µΘ TODAY

TODAY-days

-days

µΘεhⁿwΘCz

iHⁿwjΘO 9999C

TODAY-30 -30C

pGnRú 30 ≤¡weO²A

iHⁿw TODAY-30 -30C

TOTimeⁿwznRúⁿwΘoíºeO²C∩C w]O9

]]00:00:00CziHUCΣñ@ⁿwΩG

í d

HH:MM:SS ⁿwΘSwí 12:30:22

NOW ⁿwΘµí NOW

NOW+HH:MM

+HH:MM

µí[WⁿwΘp

M

NOW+03:00 +03:00C

pGzb 9:00 oX DELETE

VOLHISTORY ⁿOABⁿw

TOTIME=NOW+03:00

TOTIME=+03:00Ah TSM Rúⁿw

Θ 12:00 ºeO²C

DELETE VOLHISTORY

254 4.2

Page 281: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

í d

NOW-HH:MM

-HH:MM

µíεhⁿwΘp

M

NOW-03:30 -03:30C

pGzb 9:00 oX DELETE

VOLHISTORY ⁿOH

TOTIME=NOW-3:30

TOTIME=-3:30Ah TSM RúⁿwΘ

5:30 ºßO²C

Type]n

ⁿwnqeΘRúO²¼Aª]XΘPíhCiαG

AllⁿwnRúO²C

DBBackupⁿwRú]tΩwπPWí≈eΘ÷ΩTAπ

BACKUPFULL M BACKUPINCR eΘ¼AHXⁿwΘPíhO²C sΩwπWí≈tCNúQRúC

DEVclass=classnameⁿwΩw≈mOWC∩iRú°A

∩°AΩeΘmOΩw≈CmO¼'O

SERVERCuαRú BACKUPFULLBBACKUPINCR

DBSNAPSHOT ¼eΘn²C

UC°≤¿AπBWí Snapshot Ωw≈eΘNiRúG

¶ Ωw≈eΘmOXⁿwmO

¶ eΘObⁿwΘMíºe

¶ eΘúOsπWíΩw≈tC]YⁿweΘ¼O

DBBackup Snapshot Ωw≈tC]YeΘ¼O DBSnapshot@í≈

DBSnapshotⁿwunRúO²t Snapshot Ωw≈eΘ÷ΩTABXⁿwΘMíhCs Snapshot Ωw≈NúQRúC

DEVclass=classnameⁿwΩw≈mOWC∩iRú°A

∩°AΩeΘmOΩw≈CmO¼'O

SERVERCuαRú BACKUPFULLBBACKUPINCR

DBSNAPSHOT ¼eΘn²C

UC°≤¿AπBWí Snapshot Ωw≈eΘNiRúG

¶ Ωw≈eΘmOXⁿwmO

¶ eΘObⁿwΘMíºe

DELETE VOLHISTORY

255Tivoli Storage Manager for HP-UX zΓU

5.

z

ⁿO

Page 282: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

¶ eΘúOsπWíΩw≈tC]YⁿweΘ¼O

DBBackup Snapshot Ωw≈tC]YeΘ¼O DBSnapshot@í≈

DBDumpⁿwRúuWΩwXeΘC

DBRpfⁿwRú]tπPWíΩw≈eΘpeΘ÷ΩTO

²C

EXPortⁿwRú]tXeΘΩTO²C

RPFileⁿwunRúO²tp½≤]xs≤°AW÷ΩTA

BXⁿwΘMíhC

DELETELatestⁿwO RúspC∩iRú°A∩°A

ΩeΘmOspC

uαRú RPFILE ¼eΘn²]pAH DEVCLASS M PREPARE ⁿOpCYúⁿwAhúRús RPFILE n²C

No ⁿwuúvRús RPFILE C

Yes ⁿwnRúXΘMíhs RPFILE C

RPFSnapshotⁿwunRúO²tp½≤]≤ Snapshot Ωw≈Axs≤°AW÷ΩTABXⁿwΘMíhCúRús

RPFSNAPSHOT C

DELETELatestⁿwO RúspC∩iRú°A∩°A

ΩeΘmOspC

uαRú RPFSNAPSHOT ¼eΘn²]pAHDEVCLASS M PREPARE ⁿOpCYúⁿwAhúRús RPFSNAPSHOT n²C

No ⁿwuúvRús RPFSNAPSHOT C

Yes ⁿwnRúXΘMíhs RPFSNAPSHOT C

STGNewⁿwRú]tssxseΘ÷ΩTO²C

STGReuseⁿwRú]t½sxseΘ÷ΩTO²C

DELETE VOLHISTORY

256 4.2

Page 283: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

STGDeleteⁿwRú]twRúsxseΘ÷ΩTO²C

d

@

Rú≤ 1998 3 δ 28 Θ]HepΩTC

ⁿO: delete volhistory type=rpfile todate=03/28/1998

÷ⁿO

ϕ 108. P DELETE VOLHISTORY ÷ⁿO

ⁿO í

BACKUP VOLHISTORY NeΘΩTO²íC

DEFINE SCHEDULE wqq@zⁿOC

DELETE VOLUME xsRúeΘC

PREPARE pC.

QUERY RPFILE πp÷ΩTC

QUERY VOLHISTORY πHg°A¼eΘΩTC

EXPIRE INVENTORY µwsLBzC

MOVE DRMEDIA N DRM CΘaHaC

SET DRMRPFEXPIREDAYS ]wpLhC

SET DRMDBBACKUPEXPIREDAYS ⁿwΩw≈tCLºhC

DELETE VOLHISTORY

257Tivoli Storage Manager for HP-UX zΓU

5.

z

ⁿO

Page 284: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

DELETE VOLUME]RúxseΘoⁿORúxseΘAB∩aRúxsbeΘñCpGeΘñ

ΩAnRúeΘAz'⌡µUCΣñ@BJG

¶ bRúeΘeA MOVE DATA ⁿONt@eΘC

¶ RúeΘATΩanD≤eΘñ]ⁿw DISCARDDATA=YESC

pGznRúeΘA@Rú@eΘCPRú@HWeΘ/vT°

AαC

pGxseΘbñAhúαQRúCpAϕbXnbe

ΘñBϕ°AbgJΩTeΘA¼beΘANúαR

úeΘC

MvO

pGnoXoⁿOAz'wqeΘxstMvAL¡εxsΘMv

¡εxsΘMvC

yk

DELete Volume volume_nameDISCARDdata = No

DISCARDdata = NoYes

Wait = No

Wait = NoYes

volume_name]n

ⁿwnRúeΘWC

DISCARDdataⁿwO nRúxsbeΘñC∩C w] NoCiαG

NoⁿwúnRúxsbeΘñCpGeΘ]tAhúRúeΘC

YesⁿwnRúxsbeΘñC∩≤o¼RúA°Aúnⁿ

eΘC

pGRúeΘODxseΘA°AdO ⌠≤xs]tnR

úCRúxsbDxseΘñAobxsñ

]@RúC

DELETE VOLUME

258 4.2

Page 285: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

bRúDxsñeΘAⁿO]Rúwgs@]

OⁿwgαU@xsC

pG⌡µBz]RESTORE STGPOOL RESTORE VOLUMEAúnb DELETE VOLUME ⁿOñ DISCARDDATA=YESC DELETE VOLUMEⁿOiαP@úπC

pGbBzí° DELETE VOLUME @AOotóAYiαdbeΘñC ziH½sRúP@eΘA²°ARúlAMß

ARúeΘC

WaitⁿwO Ñ°Abe¿Bz¿ⁿOC uϕzPnD≤eΘW

ΩAo!vTBzC∩C w] NoCiαG

Noⁿw°AbIBzⁿOCBzⁿOAziH≥⌡µΣª@C°A

NIúTºπbíΘx°ADxñA°O²Tº

baΦwC

Yesⁿw°AbeBzⁿOCⁿO¿ßA!α≥⌡µΣª@CⁿO¿

A°AVzqπΘXTºC

: zúαq°ADxⁿw WAIT=YesC

d

@

Rúxs POOL2 xseΘ stgvol.1C

ⁿO: delete volume stgvol.1

÷ⁿO

ϕ 109. P DELETE VOLUME ÷ⁿO

ⁿO í

CANCEL PROCESS °I°ABzC

DEFINE VOLUME ⁿweΘⁿwxsºxsΘC

MOVE DATA NΩⁿwxseΘt@xs

eΘC

MOVE DRMEDIA N DRM CΘaHaC

QUERY CONTENT πxseΘñ÷ΩTC

QUERY DRMEDIA πNeΘ÷ΩTC

QUERY PROCESS πI÷ΩTC

QUERY VOLUME πxseΘ÷ΩTC

UPDATE VOLUME ≤sxseΘC

DELETE VOLUME

259Tivoli Storage Manager for HP-UX zΓU

5.

z

ⁿO

Page 286: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

DISABLE EVENTS]≤O²≤ⁿOiεBz@h≤CYzⁿwL≤B¼WA°A

oXTºA²úoL≤B¼WC

:

1. oY½°ADASEVERE ñTºM ANR9999D TºiúΩEΩTC]AnúnoTºC

2. TºYwgA2πbDxWC]Ab°A≈÷≈oXTºAH∩zⁿOÑC

3. oXⁿO°Aú°ATºAFíΘxAHúαC

4. ANR1822I ϕ⌠ⁿw¼≤O²CϕoX DISABLE EVENTS ⁿOAoTºb¼dUO²AYªO@wg÷¼≤º@Co

OTwvg∩¼≤O²\αA²ß≥ ANR1822I TºúO²¼C

MvO

pGnoXoⁿOA'πtMvC

yk

DISAble EVents

,

ALLCONSOLEACTLOGEVENTSERVERFILEFILETEXTSNMPTIVOLIUSEREXIT

,

event_nameALLINFOWARNINGERRORSEVERE

,

NODEname = node_name,

SERVername = server_name

receivers]n

ⁿw¼WAϕnΣ≤CYnⁿwh¼AHrIjAú

n[J µCiαG

DISABLE EVENTS

260 4.2

Page 287: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

ALL$í¼Aú]AíΘx¼]ACTLOG°A≤CbíΘx¼WAuq≤!αC

CONSOLE°ADx¼C

ACTLOGíΘx¼C∩≤íΘxAzuαq≤AúO°A

≤C

EVENTSERVER≤°A¼C

FILE¼CC@ºOⁿ≤Oñ@ºO²Cúe÷

FoO²C

FILETEXT¼CC@O²≤úOTwjpi¬µC

NTEVENTLOGWindows NT íΘx¼C

SNMP÷⌠⌠zqH≤w]SNMP¼C

TIVOLITivoli Enterprise Console]TEC¼C

USEREXIT gí¼C°ANΩTgJíC

events]n

ⁿwn≤CziHⁿwh≤AΦkONªHr jABñíS

µCiαG

ALL$í≤C

event_name°A≤4TºXe[W ANRAq≤h[W ANECd≥ ANR0001 ANR9999 H ANE4000 ANE4999C YnIq≤Aⁿw NODENAMES CYn°A°A≤Aⁿw SERVERNAME C

∩≤ TIVOLI ≤¼Azi Tivoli Storage Manager íqⁿwUC≤WG

Tivoli ΩO@íq r d≥

TDP for Exchange ACN 3500-3649

TDP for Domino ACD 5200-5299

TDP for Oracle ANS 500-599

DISABLE EVENTS

261Tivoli Storage Manager for HP-UX zΓU

5.

z

ⁿO

Page 288: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

TDP for Informix ANS 600-699

TDP for SQL ACO 3000-3999

: ⁿw ALL oTºCúLA INFOBWARNINGBERROR SEVERE∩∩oTºS@C

≤CñYY½ AhⁿwIY½≤CTº¼]

AG

INFOTº]¼ IC

WARNINGiTº]¼ WC

ERRORTº]¼ EC

SEVEREY½Tº]¼ SC

NODEnameⁿwn≤@hIWCziUr]*ⁿw$íICziHⁿw NODENAME SERVERNAMECYΓúⁿwAhw∩⌡µⁿO°A≤C

SERVernameⁿwn≤@h°AWC ziUr]*ⁿw$í°AAú]A⌡µⁿO°ACziHⁿw NODENAME SERVERNAMECYΓúⁿwAhw∩⌡µⁿO°A≤C

d

@

íΘx INFO M WARNING q≤AHIDx¼C

ⁿO:

disable events actlog,consoleinfo,warning nodename=*

÷ⁿO

ϕ 110. P DISABLE EVENTS ÷ⁿO

ⁿO í

BEGIN EVENTLOGGING ≤O²ⁿw¼C

ENABLE EVENTS ¼Sw≤C

END EVENTLOGGING εN≤O²ⁿw¼C

QUERY ENABLED π∩Sw¼≤C

DISABLE EVENTS

262 4.2

Page 289: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

ϕ 110. P DISABLE EVENTS ÷ⁿO (≥)

ⁿO í

QUERY EVENTRULES π°AHq°A÷WhΩ

TC

QUERY STATUS π°A]wAp SET ⁿO∩w

C

DISABLE EVENTS

263Tivoli Storage Manager for HP-UX zΓU

5.

z

ⁿO

Page 290: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

DISABLE SESSIONS] εqIs°AoⁿOεqIsÑq@FúLA@ñÑq@2N

¿CoXoⁿOúvT°AA OαM¼C

MvO

pGnoXoⁿOAz'tMv@MvC

yk

DISAble SESSions

LC

d

@

εsqIÑq@s°AC

ⁿO: disable sessions

÷ⁿO

ϕ 111. P DISABLE SESSIONS ÷ⁿO

ⁿO í

CANCEL SESSION °P°A@ñÑq@C

ENABLE SESSIONS b⌡µ DISABLE ⁿO ACCEPT DATE ⁿO

ºß½sl°AíC

QUERY SESSION π∩ TSM @ñzMqÑq

@÷ΩTC

QUERY STATUS π°A]wAp SET ⁿO∩w

C

DISABLE SESSIONS

264 4.2

Page 291: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

DISMOUNT VOLUME ]HeΘWúⁿeΘoⁿOeΘWúⁿómeΘC

MvO

pGnoXoⁿOAz'tMv@MvC

yk

DISMount Volume volume_name

volume_name]n

ⁿwnúⁿeΘWC

d

@

úⁿeΘ BTV005C

ⁿO: dismount volume btv005

÷ⁿO

ϕ 112. P DISMOUNT VOLUME ÷ⁿO

ⁿO í

QUERY MOUNT πⁿsCΘ÷ΩTC

DISMOUNT VOLUME

265Tivoli Storage Manager for HP-UX zΓU

5.

z

ⁿO

Page 292: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

ENABLE EVENTS]O²°Aq≤oⁿO@h≤BzCYzⁿwL≤B¼WA°A

oXTºABúoL≤B¼WC

: ≤]pb°A≈÷≈oXTºiJDxCYA]úiJΣL¼C

MvO

pGnoXoⁿOA'πtMvC

yk

ENable EVents

,

ALLCONSOLEACTLOGEVENTSERVERFILEFILETEXTSNMPTIVOLIUSEREXIT

,

event_nameALLINFOWARNINGERRORSEVERE

,

NODEname = node_name,

SERVername = server_name

receivers]n

ⁿwnO²≤@h¼CziHⁿwh¼AΦkONªH

r jAñíS µCG

ALL$í¼C

CONSOLE°ADx¼C

ACTLOG°AíΘx¼C

EVENTSERVER≤°A¼C

ENABLE EVENTS

266 4.2

Page 293: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

FILE¼CC@ºOⁿ≤Oñ@ºO²Cúe÷

FoO²C

FILETEXT¼CC@O²≤úOTwjpi¬µC

SNMP÷⌠⌠zqH≤w]SNMP¼C

TIVOLITivoli Enterprise Console]TEC¼C

USEREXIT gí¼C°ANΩTgJíC

events]n

ⁿwn≤¼CziHⁿwh≤AΦkONªHr jABñ

íS µCiαG

ALL$í≤C

event_name°A≤4TºXe[W ANRAq≤h[W ANECd≥ ANR0001 ANR9999 H ANE4000 ANE4999C YnIq≤Aⁿw NODENAME CYn°A°A≤Aⁿw SERVERNAME C

∩≤ TIVOLI ≤¼Azi Tivoli Storage Manager íqtⁿwUCd≥G

Tivoli ΩO@íq r d≥

TDP for Exchange ACN 3500-3649

TDP for Domino ACD 5200-5299

TDP for Oracle ANS 500-599

TDP for Informix ANS 600-699

TDP for SQL ACO 3000-3999

:

1. íq'wj T/EC ΣA!αNWzTº TivoliEvent ConsoleC

2. ⁿw ALL ∩ioTºCúLA INFOBWARNINGBERROR SEVERE ∩∩oTºS@C

3. ]TºqhAún²I$íTºOⁿ Tivoli Event Console(TEC)C

ENABLE EVENTS

267Tivoli Storage Manager for HP-UX zΓU

5.

z

ⁿO

Page 294: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

≤CñYY½ AhⁿwIY½≤CTº¼]

AG

INFOTº]¼ IwC

WARNINGiTº]¼ WwC

ERRORTº]¼ EwC

SEVEREY½Tº]¼ SwC

NODEnameⁿwn≤@hqIC ziHUrⁿwq

IC ziHⁿw NODENAME SERVERNAMECYΓúⁿwAhw∩⌡µⁿO°A≤C

SERVernameⁿXn≤@h°ACziHUrⁿw°A]o

XoⁿOb°AúCziHⁿw SERVERNAME NODENAMECYΓúⁿwAhw∩⌡µⁿO°A≤C

d

@

∩I BONZO USEREXIT ¼A ERROR M SEVERE q≤C

ⁿO: enable events userexit error,severe nodename=bonzo

÷ⁿO

ϕ 113. P ENABLE EVENTS ÷ⁿO

ⁿO í

BEGIN EVENTLOGGING ≤O²ⁿw¼C

DISABLE EVENTS ¼Sw≤C

END EVENTLOGGING εN≤O²ⁿw¼C

QUERY ENABLED π∩Sw¼≤C

QUERY EVENTRULES π°AHq°A÷WhΩ

TC

QUERY STATUS π°A]wAp SET ⁿO∩w

C

ENABLE EVENTS

268 4.2

Page 295: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

ENABLE SESSIONS]°AWíoⁿOe\qIíboX DISABLE SESSIONS ⁿOßlCoⁿOBzúvTtA OαM¼C

QUERY STATUS ⁿOπ°AiC

MvO

pGnoXoⁿOAz'tMv@MvC

yk

ENable SESSions

LC

d

@

½sl@δ@AqIis°AC

ⁿO: enable sessions

÷ⁿO

ϕ 114. P ENABLE SESSIONS ÷ⁿO

ⁿO í

ACCEPT DATE ⁿ°AµΘC

CANCEL SESSION °P°A@ñÑq@C

DISABLE SESSIONS εsqs TSM A²1\sÑq

@≥C

QUERY SESSION π∩ TSM @ñzMqÑq

@÷ΩTC

QUERY STATUS π°A]wAp SET ⁿO∩w

C

ENABLE SESSIONS

269Tivoli Storage Manager for HP-UX zΓU

5.

z

ⁿO

Page 296: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

END EVENTLOGGING]εO²≤oⁿOεN≤O²@ñ¼C

MvO

pGnoXoⁿOA'πtMvC

yk

ALLEND EVentlogging

,

CONSOLEACTLOGEVENTSERVERFILEFILETEXTSNMPTIVOLIUSEREXIT

ⁿw¼¼CziHⁿwh¼AΦkONªHr jAñíS

µC∩Cw] ALLCpGzⁿw ALL S¼A¼O²⌠C

ALLⁿw¼C

CONSOLEN°ADxⁿw¼C

ACTLOGN TSM íΘxⁿw¼Cuq≤O²!αεC

EVENTSERVERⁿw≤°A@¼C

FILENⁿw¼C C@O²≤úOñ@ºO²A]A⌠≤

HúLk ÷\¬C@ºO²≤C

FILETEXTNⁿw¼C C@O²≤úOTwjpi¬µC

SNMPNuí⌠⌠zqH≤w]SNMPvⁿw¼C

TIVOLINuTivoli z⌠]TMEvⁿw¼C

END EVENTLOGGING

270 4.2

Page 297: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

USEREXITN ADSM gJΩT gíⁿw¼C

d

@

εN≤O²IsC

ⁿO: end eventlogging userexit

÷ⁿO

ϕ 115. P END EVENTLOGGING ÷ⁿO

ⁿO í

BEGIN EVENTLOGGING ≤O²ⁿw¼C

DISABLE EVENTS ¼Sw≤C

ENABLE EVENTS ¼Sw≤C

QUERY ENABLED π∩Sw¼≤C

QUERY EVENTRULES π°AHq°A÷WhΩ

TC

QUERY STATUS π°A]wAp SET ⁿO∩w

C

END EVENTLOGGING

271Tivoli Storage Manager for HP-UX zΓU

5.

z

ⁿO

Page 298: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

EXPIRE INVENTORY]µwsLBzoⁿOµwsLBzCwsL PzOº

≈OssñⁿwhAq°AxsΘúhq≈OsC

ϕz TSM °Aπ Tivoli Nzí úAwsLBz]úhUCΩeΘG

¶ BACKUPFULLBBACKUPINCR DBSNAPSHOT ¼Ωw≈CSETDRMDBBACKUPEXPIREDAYSⁿOεoeΘ≤LC

¶ RPFILE M RPFSNAPSHOT ¼pCSET DRMRPFEXPIREDAYS ⁿOHεoeΘ≤LC

°Al]wí⌡µwsLúúhoΩeΘC

@ue\@LCpGLb⌡µñAzNúαt@C

ziH EXPINTERVAL °A∩]wLBzCpGzN EXPINTERVAL]w 0A°ANú⌡µLBzABz'oXoⁿO!αLBzC

ⁿOúºIi CENCEL PROCESS ⁿO°CpGnπ÷IΩTA QUERY PROCESS ⁿOC

MvO

pGnoXoⁿOA'πtMvC

yk

EXPIre InventoryQuiet = No

Quiet = NoYes

Wait = No

Wait = NoYes

SKipdirs = No

SKipdirs = NoYes

DUration = minutes

Quietⁿw°AbLBzíO πh≤ TºC∩C w]

NOCiαG

Noⁿw°Ane TºC

EXPIRE INVENTORY

272 4.2

Page 299: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

Yesⁿw°AueJTºCubQRúAHΓw]zO

Ode¡wgLA°A!oX÷h≤TºC

z]iHb°A∩ñⁿw EXPQUIET ∩AMwO HJTº⌡µLBzC

WaitⁿwO Ñ°Abe¿Bz¿ⁿOC ∩C w] NoCiαG

Noⁿw°AbIBzⁿOCBzⁿOAziH≥⌡µΣª@C°A

NITºπbíΘx°ADxñA°O²Tºb

aΦwC

Yesⁿw°AbeBzⁿOCⁿO¿ßA!α≥⌡µΣª@CⁿO¿

A°AVzqπΘXTºC

: zúαq°ADxⁿw WAIT=YesC

SKipdirsⁿw°AbLBzíO ñL²¼½≤C∩C w] NOCiαG

Noⁿw°AN AϕhhoεM²C

Yesⁿw°AN≤LBzíñL²¼½≤AY²wLC

DUrationⁿwn⌡µLjCbgLⁿwºßAOiL

½≤úwRúANε]°≤²Cziⁿw 1 999999 ºí@rC∩C

d

@

⌡µLΓpC

ⁿO: expire inventory duration=120

@

ubW⌡µLC

ⁿO: expire inventory skipdirs=yes

EXPIRE INVENTORY

273Tivoli Storage Manager for HP-UX zΓU

5.

z

ⁿO

Page 300: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

÷ⁿO

ϕ 116. P EXPIRE INVENTORY ÷ⁿO

ⁿO í

AUDIT LICENSES dO wwqvC

CANCEL PROCESS °I°ABzC

QUERY PROCESS πI÷ΩTC

EXPIRE INVENTORY

274 4.2

Page 301: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

EXPORT ADMIN ]NzΩTsCΘoⁿONzv¡wqqTSM °AXCΘC TSM iXpU

CzΩTG

¶ zmWBKXBpΩ

¶ zMvNwzO

¶ z ID O Ωw°As

zi QUERY ACTLOG ⁿO°X@¼ACzPiHq°ADx°@ΩTC

ⁿOúºIiH CANCEL PROCESS ⁿO°CpG° EXPORTADMIN IAhOdXΩCΘúπABLkJΩCpGnπ÷IΩTA QUERY PROCESS ⁿOC

MvO

pGnoXoⁿOA'πtMvC

yk

EXPort Admin

*

,

admin_name

Preview = No

(1) (2)Preview = No

Yes

(1)

DEVclass =device_class_name

Scratch = Yes

(2)Scratch = Yes

No

,(2)

VOLumenames = volume_nameFILE:file_name

USEDVolumelist =file_name

:

1 pG PREVIEW=NOAh'ⁿwmOC

2 pG PREVIEW=NO B SCRATCH=NOAh'ⁿw@heΘC

admin_nameⁿwnXΣΩTzC∩C w]OzC

Hr jCñAñíúi⌠≤ µCziHUrⁿwW

C

EXPORT ADMIN

275Tivoli Storage Manager for HP-UX zΓU

5.

z

ⁿO

Page 302: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

PreviewⁿXO nw²X@GAú'XΩTCziow²h

#ΩneA²zPnh#eΘC∩C w]O

NOCo]AG

NoⁿwnXzΩCpGzⁿwoAN'ⁿw@mOC

Yesⁿwnw²@A²ún⌡µ@CΩT°°ADxMíΘxCp

GzⁿwoAN≡ⁿwmOC

DEVclassⁿwNgJXΩmOCzúαⁿw DISK mOC

:

1. bX⌡µApGmO≈úbúLñAh TSM °u²C@]p¼@AHKXi≈C

2. ziHⁿw@Σm¼ SERVER mOAYiNΩXt@°AWxsñC÷≤NΩxsΣL°A A\ zΓ

UC

ScratchⁿweΘO iCw] YESC ΣG

YesⁿXeΘiQ≤XCpGz]ⁿweΘCAhubⁿweΘS¼

≈ íA!eΘC

NoⁿweΘLk≤XCz'b VOLUMENAMES ΘJ@CeΘHK≤]tXΩC

VOLumenamesⁿw]tXΩeΘCúDzⁿw SCRATCH=NO M PREVIEW=NOA hoO∩Co]AG

volume_nameⁿweΘWCpGnⁿwheΘAHr jWABºíúi

µC

FILE:file_nameⁿw]teΘCWCbAC@eΘW'búPµCt

úBzHP Y (µMµC

bzⁿwMUCm¼÷peΘAoRWDG

mΦ ⁿw

TAPE 1 - 6 rC

FILE ⌠≤πWrΩCp /imdata/mt1C

EXPORT ADMIN

276 4.2

Page 303: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

mΦ ⁿw

SERVER 1 - 250 rC

USEDVolumelistⁿwnxsX@ñeΘCC∩C

oi@J@ΘJC]tX¿Θí

µAHoXHXⁿOC

: pGzⁿwsAhQ∩gC

d

@ 1

q°AANwwqzΩTXaeΘ TAPE01BTAPE02 M TAPE03CⁿwoaeΘNⁿw MENU1 mOmiµ¬C

X½≤P¼°i≤tDxPíΘxñC

ⁿO:

export admin devclass=menu1volumenames=tape01,tape02,tape03

@ 2

q°AANw3wqºzΩTXⁿW TAPEVOLC otUCµG

TAPE01TAPE02TAPE03

ⁿwoaeΘNⁿw MENU1 mOmC

X½≤P¼°i≤tDxPíΘxñC

ⁿO: export admin devclass=menu1 volumenames=file:tapevol

÷ⁿO

ϕ 117. P EXPORT ADMIN ÷ⁿO

ⁿO í

CANCEL PROCESS °I°ABzC

EXPORT NODE sqIΩTíCΘC

EXPORT POLICY shΩTíCΘC

EXPORT SERVER s$íí≈°AíCΘC

IMPORT ADMIN íCΘzΩTC

QUERY ACTLOG π°AíΘxTºC

QUERY PROCESS πI÷ΩTC

EXPORT ADMIN

277Tivoli Storage Manager for HP-UX zΓU

5.

z

ⁿO

Page 304: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

EXPORT NODE ]NqIΩTs≤CΘoⁿONqIwqq TSM °AXCΘCC@qIwq]AG

¶ IDBKXHpΩ¶ qⁿwhΓWC

¶ úY¼A

¶ O vRú°AxsΘñ≈Os

¶ qI ID O q°AsΩw

z]iH∩aXUCG

¶ íwq

¶ ≈BOsBH íz

¶ M≤X ísv¡ΩT

ⁿOúºIiH CANCEL PROCESS ⁿO°CpG° EXPORT NODEIAhOdXΩCΘúπABúJΩCpGnπ

÷IΩTA QUERY PROCESS ⁿOC

zi QUERY ACTLOG ⁿO°X@¼AC

: ϕoX EXPORT NODE ⁿOAFKLkwGAún⌡µLBαB≈OsC

∩≤ΣqΣ Unicode °AAzn°Aα½zΘJ íWAG

¶ FSID

¶ UNIFILESPACE

MvO

pGnoXoⁿOA'πtMvC

yk

EXPort Node

*

,

node_name

,

FILESpace=file_space_name

,

FSID =file_space_ID

EXPORT NODE

278 4.2

|

|

|

|

Page 305: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

,

UNIFILESpace =file_space_names

,

DOmains=domain_name

FILEData = L

FILEData = ALlLARchiveBackupBACKUPActiveALLActiveSPacemanaged

Preview = No

(1) (2)Preview = No

Yes

(1)DEVclass =device_class_name

Scratch = Yes

(2)Scratch = Yes

No

,(2)

VOLumenames = volume_nameFILE:file_name

USEDVolumelist =file_name

:

1 pG PREVIEW=NOAh'ⁿwmOC

2 pG PREVIEW=NO B SCRATCH=NOAh'ⁿw@heΘC

node_nameⁿwnXΩTqIWC∩C r NhWjAñí

úd µCziHUrⁿwWC

FILESpaceⁿwnXΩ íC∩C r NhWjAñíúd

µCziHUrⁿwWC

FSID í í ID]FSIDⁿw íC°A FSID MΣn

EXPORT NODE

279Tivoli Storage Manager for HP-UX zΓU

|

|

5.

z

ⁿO

Page 306: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

X íCnMΣY í FSIDA QUERY FILESPACE ⁿOCr Nh í ID jAñíúd µC ∩C

UNIFILESpaceⁿw°Aw Unicode íC°ANzΘJWq°ArX૨ UTF-8 rXMΣ íXCα½O ¿\WñΩrH°ArXMwC r NhWjAñíúd µC∩C

DOmainsⁿwXIhΓC∩C r NhWjAñíúd

µC∩≤nXIÑAª'≤Σñ@ⁿwΓCziHU

rⁿwWC

FILEDataⁿwXwq°AI¼C∩C w] NONEC

ΩmOOxsmOMwCpGªMoⁿOⁿ

wmOPAhnΓ≈XIΩTCmOⁿW¡#

']w 2C

: pGnXn² TYPE=SERVER qIAh'ⁿw ALLBARCHIVE ALLACTIVEC

U7@MD@ñ ≈C@≈O2sb≤qu@

s≈CΣª≈íºD@ñCΣG

ALlTSM NX≈BOsAH ízC

NoneTSM úXAuXwqC

ARchiveTSM uXOsC

BackupTSM uX≈AúO@ñD@≈C

BACKUPActiveTSM uX@ñ≈C

ALLActiveTSM NX@ñ≈BOsAH ízC

SPacemanagedTSM uX ízC

PreviewⁿXO nw²X@GAú'XΩTCziow²h

#ΩneA²zPnh#eΘC∩C w]O

NOCo]AG

EXPORT NODE

280 4.2

|

|

|

|

|

|

Page 307: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

NoⁿwnXIΩTCpGzⁿwoAN'ⁿw@mOC

Yesⁿwnw²@A²ún⌡µ@CΩT°°ADxMíΘxCp

GzⁿwoAN≡ⁿwmOC

DEVclassⁿwYNgJXΩmOCzúαⁿw DISK mOC

:

1. bX⌡µApGmO≈úbúLñAh TSM °u²C@]p¼@AHKXi≈C

2. ziHⁿw@Σm¼ SERVER mOAYiNΩXt@°AWxsñC÷≤NΩxsΣL°A A\ zΓ

UC

ScratchⁿweΘO iCw] SCRATCH=YESCΣG

YesⁿXeΘiQ≤XCpGz]ⁿweΘCAhubⁿweΘS¼

≈ íA!eΘC

NoⁿweΘLk≤XCz'b VOLUMENAMES ΘJ@CeΘHK≤]tXΩC

VOLumenamesⁿw]tXΩeΘCúDzⁿw SCRATCH=NO M PREVIEW=NOA hoO∩CpGzúⁿw@eΘWAheΘCΣG

volume_nameⁿweΘWCpGnⁿwheΘAHr jWABºíúi

µC

FILE:file_nameⁿw]teΘCWCbAC@eΘW'búPµCt

úBzHP Y (µMµC

bzⁿwMUCm¼÷peΘAoRWDG

mΦ ⁿw

TAPE 1 - 6 rC

FILE ⌠≤πWrΩC An example is /imdata/mt1.

SERVER 1 - 250 rC

USEDVolumelistⁿwnxsX@ñºeΘCC∩C

EXPORT NODE

281Tivoli Storage Manager for HP-UX zΓU

5.

z

ⁿO

Page 308: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

oi@J@ΘJC]tX¿Θí

µAHoXHXⁿOC

: pGzⁿwsAhQ∩gC

d

@ 1

q°AANqIΩTXaeΘ TAPE01BTAPE02 M TAPE03CⁿwoaeΘNⁿw MENU1 mOmC

ⁿO:

export node devclass=menu1volumenames=tape01,tape02,tape03

@ 2

q°AAXqIΩTaeΘAoaeΘCb TAPEVOL. o]tUCXµG

TAPE01TAPE02TAPE03

ⁿwoaeΘNⁿw MENU1 mOmiµ¬C

ⁿO: export node devclass=menu1 volumenames=file:tapevol

@ 3

q°AWA FSID NqI JOE Ω≈XaeΘTAPE01CnP FSIDA²oX QUERY FILESPACE ⁿOC

ⁿO:

1. nP FSIDAoX QUERY FILESPACE ⁿOC

query filespace joe

IW í FSID ¡x í eq qW ¼ íO (MB) ±

Unicode?---------- ----------- ---- ------- --------- --------- -------- -----JOE \\joe\c$ 1 WinNT NTFS O 2,502.3 75.2JOE \\joe\d$ 2 WinNT NTFS O 6,173.4 59.6

2. XΩ@ñ≈A∩≤wú MENU1 mO@mAⁿwaeΘ≤mC

export node joe fsid=1,2 filedata=backupactive devclass=menu1volumenames=tape01

EXPORT NODE

282 4.2

|

|

|

|

|

|

||||||||

|

|

||

Page 309: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

÷ⁿO

ϕ 118. P EXPORT NODE ÷ⁿO

ⁿO í

CANCEL PROCESS °I°ABzC

EXPORT ADMIN szΩTíCΘC

EXPORT POLICY shΩTíCΘC

EXPORT SERVER s$íí≈°AíCΘC

IMPORT NODE íCΘqIΩTC

QUERY ACTLOG π°AíΘxTºC

QUERY PROCESS πI÷ΩTC

EXPORT NODE

283Tivoli Storage Manager for HP-UX zΓU

|

5.

z

ⁿO

Page 310: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

EXPORT POLICY ]shΩT CΘoⁿONhΩTq TSM °AXCΘC TSM iXzΩTA

pG

¶ hΓwq

¶ hwqA]A@h

¶ zOwqA]Aw]zO

¶ ≈sHOsswq

¶ UhΓϕwq

¶ qI÷p]pGqIb°AW

zi QUERY ACTLOG ⁿO°X@¼ACzPiHq°ADx°@ΩTC

ⁿOúºIiH CANCEL PROCESS ⁿO°CpG° EXPORTPOLICY IAhOdXΩCΘúπABúJΩCpGnπ÷IΩTA QUERY PROCESS ⁿOC

MvO

pGnoXoⁿOA'πtMvC

yk

EXPort Policy

*

,

domain_name

Preview = No

(1) (2)Preview = No

Yes

(1)

DEVclass =device_class_name

Scratch = Yes

(2)Scratch = Yes

No

,(2)

VOLumenames = volume_nameFILE:file_name

USEDVolumelist =file_name

:

1 pG PREVIEW=NOAh'ⁿwmOC

2 pG PREVIEW=NO B SCRATCH=NOAh'ⁿw@heΘC

EXPORT POLICY

284 4.2

Page 311: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

domain_nameⁿwnXΩThΓC∩C w]OhΓCr N

hWjAñíúd µCziHUrⁿwWC

PreviewⁿXO nw²X@GAú'XΩTCziow²h

#ΩneA²zPnh#eΘC∩C w]O

NOCo]AG

NoⁿwYNXhΩTCpGzⁿwoAN'ⁿw@mOC

Yesⁿwnw²@A²ún⌡µ@CΩT°°ADxMíΘxCp

GzⁿwoAN≡ⁿwmOC

DEVclassⁿwYNgJXΩmOCúDzⁿw PREVIEW=YESA hoO'nCzúαⁿw DISK mOC

:

1. bX⌡µApGmO≈úbúLñAh TSM °u²C@]p¼@AHKXi≈C

2. ziHⁿw@Σm¼ SERVER mOAYiNΩXt@°AWxsñC÷≤NΩxsΣL°A A\ zΓ

UC

ScratchⁿweΘO iCw] SCRATCH=YESCΣG

YesⁿXeΘiQ≤XCpGz]ⁿweΘCAhubⁿweΘS¼

≈ íA!eΘC

NoⁿweΘLk≤XCz'b VOLUMENAMES ΘJ@CeΘHK≤]tXΩC

VOLumenamesⁿw]tXΩeΘCúD SCRATCH=NO B PREVIEW=NOA hoO∩CpGzúⁿweΘWAheΘCΣG

volume_nameⁿweΘWCpGnⁿwheΘAHr jWABºíúi

µC

FILE:file_nameⁿw]teΘCWCbAC@eΘW'búPµCt

úBzHP Y (µMµC

EXPORT POLICY

285Tivoli Storage Manager for HP-UX zΓU

5.

z

ⁿO

Page 312: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

bzⁿwMUCm¼÷peΘAoRWDG

mΦ ⁿw

TAPE 1 - 6 rC

FILE ⌠≤πWrΩC An example is /imdata/mt1.

SERVER 1 - 250 rC

USEDVolumelistⁿwnxsX@ñeΘCC∩C

oi@X@ΘJC]tX¿Θí

µAHoXHXⁿOC

: pGzⁿwsAhQ∩gC

d

@ 1

q°AANhΩTXaeΘ TAPE01BTAPE02 M TAPE03CⁿwoaeΘNⁿw MENU1 mOmiµ¬C

ⁿO:

export policy devclass=menu1volumenames=tape01,tape02,tape03

@ 2

q°AAXhΩTaeΘAoaeΘCb TAPEVOL. o]tUCXµG

TAPE01TAPE02TAPE03

ⁿwoaeΘNⁿw MENU1 mOmC

ⁿO: export policy devclass=menu1 volumenames=file:tapevol

÷ⁿO

ϕ 119. P EXPORT POLICY ÷ⁿO

ⁿO í

CANCEL PROCESS °I°ABzC

EXPORT ADMIN szΩTíCΘC

EXPORT NODE sqIΩTíCΘC

EXPORT SERVER s$íí≈°AíCΘC

IMPORT POLICY íCΘhΩTC

QUERY ACTLOG π°AíΘxTºC

QUERY PROCESS πI÷ΩTC

EXPORT POLICY

286 4.2

Page 313: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

EXPORT SERVER ]N°AΩTsCΘoⁿONí°AεΩTPqΩ]pGⁿwAq

TSM °AXCΘC

EXPORT SERVER ⁿOXUC°AεΩTG¶ hΓwq

¶ hwq

¶ zOswq

¶ UhΓwqϕwq

¶ zwq

¶ °AWqIwq

ziH∩aXUC°AΩΩTG

¶ íwq

¶ M≤X ísv¡ΩT

¶ ≈BOsBH íz

ziH QUERY ACTLOG ⁿO°Ω¼AΩTGⁿjpX@QóC

ⁿOúºIiH CANCEL PROCESS ⁿO°CpG° EXPORTSERVER IAhOdXΩCΘúπABúJΩCpGnπ÷IΩTA QUERY PROCESS ⁿOC

MvO

pGnoXoⁿOA'πtMvC

yk

EXPort ServerFILEData = L

FILEData = ALlLARchiveBackupBACKUPActiveALLActiveSPacemanaged

Preview = No

(1) (2)Preview = No

Yes

(1)DEVclass =device_class_name

EXPORT SERVER

287Tivoli Storage Manager for HP-UX zΓU

5.

z

ⁿO

Page 314: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

Scratch = Yes

(2)Scratch = Yes

No

,(2)

VOLumenames = volume_nameFILE:file_name

USEDVolumelist =file_name

:

1 pG PREVIEW=NOAh'ⁿwmOC

2 pG PREVIEW=NO B SCRATCH=NOAh'ⁿw@heΘC

FILEDataⁿwXwq°AI¼C∩C w] NONEC

ΩmOOxsmOMwCpGªMoⁿOⁿ

wmOPAhnΓ≈X°AΩTCmOⁿW¡

#]w 2C

U7@MD@ñ ≈C@≈O2sb≤qu@

s≈CΣª≈íºD@ñCΣG

ALlTSM NX≈BOsAH ízC

NoneTSM úXAuXwqC

ARchiveTSM uXOsC

BackupTSM uX≈AúO@ñD@≈C

BACKUPActiveTSM uX@ñ≈C

ALLActiveTSM NX@ñ≈BOsAH ízC

SPacemanagedTSM uX ízC

PreviewⁿwzO µw²X@GAúnΩXΩTCzio

w²h#ΩneA²zPnh#eΘC∩C w

]O NOCo]AG

EXPORT SERVER

288 4.2

Page 315: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

NoⁿwnX°AΩTCpGzⁿwoAN'ⁿw@mOC

Yesⁿwnw²@A²ún⌡µ@CΩT°°ADxMíΘxCp

GzⁿwoAN≡ⁿwmOC

DEVclassⁿwYNgJXΩmOCzúαⁿw DISK mOC

:

1. bX⌡µApGmO≈úbúLñAh TSM °u²C@]p¼@AHKXi≈C

2. ziHⁿw@Σm¼ SERVER mOAYiNΩXt@°AWxsñC÷≤NΩxsΣL°A A\ zΓ

UC

ScratchⁿweΘO iCw] YESCΣG

YesⁿXeΘiQ≤XCpGz]ⁿweΘCAhubⁿweΘS¼

≈ íA!eΘC

NoⁿweΘLk≤XCz'b VOLUMENAMES ΘJ@CeΘHK≤]tXΩC

VOLumenamesⁿw]tXΩeΘCúDzⁿw SCRATCH=NO M PREVIEW=YESA hoO∩CpGzúⁿw@eΘWAheΘCΣG

volume_nameⁿweΘWCpGnⁿwheΘAHr jWABºíúi

µC

FILE:file_nameⁿw]teΘCWCbAC@eΘW'búPµCt

úBzHP Y (µMµC

bzⁿwMUCm¼÷peΘAoRWDG

mΦ ⁿw

TAPE 1 - 6 rC

FILE ⌠≤πWrΩC An example is /imdata/mt1.

SERVER 1 - 250 rC

USEDVolumelistⁿwnxsX@ñºeΘCC∩C

EXPORT SERVER

289Tivoli Storage Manager for HP-UX zΓU

5.

z

ⁿO

Page 316: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

oi@J@ΘJC]tX¿Θí

µAHoXHXⁿOC

: pGzⁿwsAhQ∩gC

d

@ 1

q°AAN°AΩTXaeΘ TAPE01BTAPE02 M TAPE03CⁿwoaeΘNⁿw MENU1 mOmiµ¬C

ⁿO:

export server devclass=menu1volumenames=tape01,tape02,tape03

@ 2

q°AAX°AΩTaeΘAoaeΘCb TAPEVOL. o]tUCXµG

TAPE01TAPE02TAPE03

ⁿwoaeΘNⁿw MENU1 mOmC

ⁿO: export server devclass=menu1 volumenames=file:tapevol

÷ⁿO

ϕ 120. P EXPORT SERVER ÷ⁿO

ⁿO í

CANCEL PROCESS °I°ABzC

EXPORT ADMIN szΩTíCΘC

EXPORT NODE sqIΩTíCΘC

EXPORT POLICY shΩTíCΘC

IMPORT SERVER íCΘ$íí≈°AC

QUERY ACTLOG π°AíΘxTºC

QUERY PROCESS πI÷ΩTC

EXPORT SERVER

290 4.2

Page 317: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

EXTEND DB ]W[ΩwⁿweqoⁿOW[wtmΩweΘñiΩw íC

i: @,∩ TSM wqwtmΩweΘßANúα≤ªjpCpGo≥A

TSM iαLkTal]wABΩiα≥óC

ϕbs°AAil EXTEND DB ⁿOC QUERY DB ⁿOMwW[h#ΩwⁿweqC

MvO

pGnoXoⁿOAz'tMvL¡εxsΘMvC

yk

EXTend DB megabytes

megabytes]n

ⁿwnsWΩwⁿweq í]H MB µC 4MB CpGzⁿw.úOH 4MB WqA TSM NrJ¿U@ 4MB C

d

@

NΩwⁿweqXR 52MBC

ⁿO: extend db 52

÷ⁿO

ϕ 121. P EXTEND DB ÷ⁿO

ⁿO í

DEFINE DBCOPY ΩweΘeΘC

DEFINE DBVOLUME ⁿw@eΘHΩwxsΘC

QUERY DB πΩw÷tmΩTC

REDUCE DB YεwqeΘixsΘ ±XΩ

weΘC

EXTEND DB

291Tivoli Storage Manager for HP-UX zΓU

5.

z

ⁿO

Page 318: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

EXTEND LOG ]W[ΘxⁿweqoⁿOW[bwtmΘxeΘñAiΘx íC

i: @,∩ TSM wqwtmΘxeΘßAún≤ªjpCpGo≥ATSM iαLkTal]wABΩiα≥óC

ϕbs°AAil EXTEND LOG ⁿOC QUERY LOG ⁿwMwznW[ΘxⁿweqC

MvO

pGnoXoⁿOAz'tMvL¡εxsΘMvC

yk

EXTend LOG megabytesWait = No

Wait = NoYes

megabytes]n

ⁿwnsWΘxⁿweq í]H MB µC 4MB CpGzⁿw.úOH 4MB WqA TSM NrJ¿U@ 4MB C

WaitⁿwO Ñ°Abe¿Bz¿ⁿOC ∩C w] NoCiαG

Noⁿw°AbIBzⁿOC

Yesⁿw°AbeBzⁿOC

: zúαq°ADxⁿw WAIT=YesC

d

@

NΘxⁿweqXR 4MBC

ⁿO: extend log 4

÷ⁿO

ϕ 122. P EXTEND LOG ÷ⁿO

ⁿO í

CANCEL PROCESS °I°ABzC

EXTEND LOG

292 4.2

Page 319: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

ϕ 122. P EXTEND LOG ÷ⁿO (≥)

ⁿO í

DEFINE LOGVOLUME wqeΘΘxC

DEFINE LOGCOPY ΘxeΘeΘC

QUERY LOG πΘx÷tmΩTC

QUERY PROCESS πI÷ΩTC

REDUCE LOG YεwqeΘixsΘ ±XΘ

xeΘC

EXTEND LOG

293Tivoli Storage Manager for HP-UX zΓU

5.

z

ⁿO

Page 320: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

GENERATE BACKUPSET]úqΩ≈ⁿOú≈OsqI≈C≈Oqº@ñ≈Ω

XAb°AxsΘSwCΘñ°µ@½≤xsPzC

°Aw∩oⁿOⁿwº@h íq≈½≤@A

hANªXCΘCeA≈Σ≈½≤¼u²

PC

≈OsqIiq°AHgJ≈CΘΣ≈C

ⁿOúºIiH CANCEL PROCESS ⁿO°CpGNoⁿOI°ACΘiαS]tπ≈C ziH QUERY PROCESS ⁿOπoⁿOI÷ΩTC

: ≈uα≈OsqC

MvO

pGnoXoⁿOAz'πtMvAⁿwqIºΓhM

vC

yk

GENerate BACKUPSET node_name backup_set_name_prefix

*

,

file_space_name

DEVclass = device_class_name

SCRatch = Yes

SCRatch = YesNo

,

VOLumes= volume_names

RETention = 365

RETention = daysNOLimit

DESCription = description

Wait = No

Wait = NoYes

NAMEType = SERVER

NAMEType = SERVERUNIcodeFSID

GENERATE BACKUPSET

294 4.2

Page 321: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

CODEType = BOTH

CODEType = UNIcodeNONUNIcodeBOTH

node_name]n

ⁿw≈ñ]tΣΩqIWCzúαUrⁿwWA]

úαⁿwqIWCC

backup_set_name_prefix]n

ⁿwqI≈WCWj° 30 rC

ϕz∩F@WßATSM Nª[WrHc≈WCpAzN≈RW mybackupsetATSM bWºß[W@@rApG3099CTSM NH

mybackupset.3099 O≈WCºßYnπ≈÷ΩTAziHbWñUrApGm y b a c k u p s e t . *AⁿwπWApGmybackupset.3099C

file_space_nameⁿwnNΣΩJΩ@h íWC∩C zⁿw

íWiH]tUrCziHⁿw@HW íWAΦkOQr

jWABºíúi µCpGzSⁿw íAhNq

Iw≈@ñ í]tb≈ñC

Y°AqΣ Unicode íAziHΘJ íW í ID]FSIDC pGzΘJ íWAziαn°Aα½zΘJ íWCpAziαn°ANzΘJWAq°ArX૨ UnicodeC\ NAMETYPE Ho ΩTCpGz*ⁿw íWuⁿw@µ@UrNϕWAziH CODETYPE ¡ε Unicode íD Unicode í@C

DEVclass]n

ⁿwngJ≈eΘmOWCWj° 30 rC

SCRatchⁿw≈O neΘCpGzb VOLUMES ñJ@≈eΘCAhubΩLk]tbⁿweΘñA°A!eΘCw]

SCRATCH=YESCΣG

YESⁿw≈neΘC

NOⁿw≈úneΘC

VOLumesⁿwN]t≈@heΘWC∩C ziHⁿw@HWeΘ

BQrIjCeΘWAΣíúnd µC

GENERATE BACKUPSET

295Tivoli Storage Manager for HP-UX zΓU

|

|

|

|

|

|

5.

z

ⁿO

Page 322: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

pGzSⁿwoAh≈eΘC

RETentionⁿwnb°AWOd≈CziHⁿw 0 9999]t@πCw] 365 C ΣG

daysⁿwnb°AWOd≈C

NOLimitⁿw≈L¡aOdb°AWC

pGzⁿw NOLIMITA°A3[Od]t≈eΘAúDzq°AxsΘRúoeΘC

DESCriptionⁿwnP≈÷píC∩C íj° 255 rC

WaitⁿwO Ñ°Abe¿Bz¿ⁿOC ∩C w]O NoCo]AG

YesⁿwⁿObeiµBzCúTºúπXAⁿO¿BzεC

NoⁿwⁿObIiµBzC QUERY PROCESS ⁿOoⁿOIBzC

NAMETypeⁿwzn°AzΘJº íΦíCϕ°AqΣ Unicode íADCeu Windows NT H Windows 2000 @t!úΣ Unicode í≈OsqC

bzΘJí≈π íW!oCw] SERVERCiαG

SERVER°A°ArX íWC

UNIcode°ANΘJ íWq°ArX૨ UTF-8 rXCα½O ¿\WñΩrH°ArXMwC pGrΩt°ArXú

ΣrA°Astα½íoDAα½Kiαó C

FSID°AN íWª í ID]FSIDC

CODETypeⁿwN í]A@ñΦíCw] BOTHAϕN]A íPrXL÷Cubz íWΘJ@Urúⁿw⌠≤ íW

!CiαG

GENERATE BACKUPSET

296 4.2

|

|

|

|

|

|

|

|

|

|

|

|

|

|

|

|

|

|

Page 323: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

UNIcodeu]A Unicode µí íC

NONUNIcodeu]AúO Unicode µí íC

BOTH]A íBMrXL÷C

d

@

@ D_Drive í≈AB≤qI JANECN≈RW PERS_DATA Od 75 CⁿweΘ VOL1 M VOL2 ]t≈ΩCoeΘNⁿw AGADM mOm¬C

ⁿO:

generate backupset jane pers_data /srvr devclass=agadmretention=75 volumes=vol1,vol2

@

@ Unicode í≈ \\joe\c$A≤qI JOECN≈RW JOES_DATACⁿweΘ VOL1 ]t≈ΩCeΘnwú AGADM mO@m¬C²°AN \\joe\c$ íWq°ArX૨UTF-8 rXC

ⁿO:

generate backupset joe joes_data \\joe\c$ devclass=agadmvolumes=vol1 nametype=unicode

÷ⁿO

ϕ 123. P GENERATE BACKUPSET ÷ⁿO

ⁿO í

DEFINE BACKUPSET ∩°Awq²eú≈C

DELETE BACKUPSET Rú≈C

QUERY BACKUPSET π≈C

QUERY BACKUPSETCONTENTS π≈ñteC

UPDATE BACKUPSET ≤sM≈÷pOdC

GENERATE BACKUPSET

297Tivoli Storage Manager for HP-UX zΓU

|

|

|

|

|

|

|

|

|

|

|

|

|

||

|

5.

z

ⁿO

Page 324: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

GRANT AUTHORITY ]W[zv¡oⁿOPz@hzMvOAHsqIv¡C

zúiHN¡εMvPL¡εhL¡εxsΘzCz' REVOKEAUTHORITY ⁿOúhzL¡εMvAMßoⁿOP¡εMvzC

MvO

pGnoXoⁿOA'πtMvC

yk

GRant AUTHority admin_name

,(1)

CLasses = SYstemPolicySTorageOperatorAnalystNode A

,(1)

DOmains = domain_name

,(1)

STGpools = pool_name

A:

AUTHority = Access

AUTHority = AccessOwner

DOmains=domain_nameNOde=node_name

:

1 z'ⁿwoñ@C

admin_name]n

ⁿwNⁿzMvOzWC

CLassesⁿwnPz@hMvOCoO'nA²zpGⁿw

STGPOOLS hC ziHⁿwhMvOA²'rIjC@CiαOG

SYstemⁿwzµNtMvPzCb TSM ñAtz¬v¡CtzαoX⌠≤zⁿOABv¡hzhΓHx

GRANT AUTHORITY

298 4.2

Page 325: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

sCbNtMvPzAúiⁿwΣªMvO DOMAINS STGPOOLS CutzαNv¡Pt@zC

PolicyⁿwzµNhMvPzCpGzSⁿw DOMAINS AhPL¡εhMvCL¡εhzαoXivTµhΓH⌠

≤NQwqhΓⁿOCL¡εhzLkwqBRúB

shΓC GRANT AUTHORITY ⁿOH CLASSES=POLICY A²Oú[W DOMAINS AN¡εhz;L¡εhzC

STorageⁿwzµNxsΘMvPzCpG*ⁿw STGPOOLS AYPL¡εxsΘMvCL¡εxsΘzαoXtmε°A

xsΘΩ ⁿOCL¡εxsΘzαoXivTµxsHN

QwqxsⁿOCB¡εxsΘzLkwqRúxsC

GRANT AUTHORITY ⁿOH CLASSES=STORAGE A²OútSTGPOOLS AiN¡εxsΘz;L¡εxsΘzC

OperatorⁿwzµN@MvPzCπ@MvziHoX

ε°AY@HWíiⁿOC

AnalystⁿwzµNRMvPzCπRMvzαoX²l

°AppksⁿOC

NodeⁿwznNIMvPCπqIMvApGwg

πv¡sv¡ANiHz ID KXAqs

Web ≈OsqC sv¡OIMvOw]C

: ⁿwIMvOA]'ⁿw DOMAIN NODE A²úαPⁿwΓC

AUTHorityⁿwπIMvv¡hC∩C

pGzwgIhΓthMvAoⁿONú

≤zMvCiαv¡hG

s

ⁿwznNqsv¡PπIMvOCbⁿw

CLASSES=NODE AoOw]Cπqsv¡iHs Web ≈OsqABbqW⌡µ≈@C

: πqsv¡Lk -NODENAME Aqt@tsqC

qIiH]w REVOKEREMOTEACCESS ∩A¡επIMvHqsv¡Asb⌡µ Web q

GRANT AUTHORITY

299Tivoli Storage Manager for HP-UX zΓU

5.

z

ⁿO

Page 326: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

qu@C∩≤πqv¡BtMvA

IºhΓhMvqÑAo∩úA

C

OwnerⁿwznNqv¡PπIMvOCπ

qv¡AiHzL Web q7s Web ≈OsqAB -NODENAME Aqt@qsªΩC

DOmainsⁿwznNzqsvqv¡PⁿwhΓñ

qCzúαNoM NODE @C

NOdeⁿwznNzqsvqv¡PICzúαN

oM DOMAIN @C

DOmainsⁿwzµN¡εhMvPzC

¡εhMvα1\zoXzvΓhⁿOlCzαQ

PΣªhΓv¡¡εhzC∩C ⁿw@HW

hΓAziHr jC

ziHUrⁿwWCPhΓv¡C

STGpoolsⁿwzµN¡εxsΘMvPzCpGⁿwF STGPOOLS A≥CLASSES=STORAGE Yi∩C

¡εxsΘMv1\zoXzv¡ΓxsxsΘlCzα

NΣªxsv¡P¡εxsΘzC∩C ⁿw@HW

xsAziHr jC

ziHUrⁿwWCPxsv¡C

d

@ 1

NtMvPz LARRYC

ⁿO: grant authority larry classes=system

@ 2

ⁿw¡εhz CLAUDIA iHzΣªhΓC

ⁿO:

grant authority claudiadomains=employee_records,prog1

@ 3

GRANT AUTHORITY

300 4.2

Page 327: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

úz TOM ΓWH EMP YL¡εxsΘMvH¡εhMvC

ⁿO: grant authority tom classes=storage domains=emp*

@ 4

NIMvP HELPAo@HiH≤UqI LABCLIENT ≈ΩAú'πΣª¬Ñ TSM MvC

ⁿO: grant authority help classes=node node=labclient

÷ⁿO

ϕ 124. P GRANT AUTHORITY ÷ⁿO

ⁿO í

QUERY ADMIN π@h TSM z÷ΩTC

REVOKE AUTHORITY °@hMvO¡ε∩hΓH

xssvC

GRANT AUTHORITY

301Tivoli Storage Manager for HP-UX zΓU

5.

z

ⁿO

Page 328: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

HALT]÷¼°AoⁿO÷¼°ACHALT ⁿOjóY÷≈Aª°zMqIÑq@AY@ *¿C

ϕz°AA⌠≤]oⁿOiµñºíαCpGⁿwF

QUIESCE ∩Aϕeº¿AºíñεAMß°A÷≈C

uϕzpb°A÷≈ßAY DSMSERV DUMPDB ⁿO⌡µWíΩwXA! QUIESCE ∩CΣlΩTA\ DSMSERV DUMPDB ⁿOC

ub¿°zPqIÑq@ßAΦi HALT ⁿOCpGzµbúY½vTzMqIÑq@ípUN°A÷≈A⌡µUCB

JG

1. DISABLE SESSIONS ⁿOHKsqIÑq@C

2. QUERY SESSIONS ⁿOO⌠≤szqIÑq@C

3. qszMqIÑq@Az6ΓN°A÷≈]'b TSM í

⌡µC

4. CANCEL SESSIONS ⁿO°⌠≤µzqIÑq@C

5. oX HALT ⁿOH÷¼°Aε⌠≤zqIÑq@C

MvO

noXoⁿOAA'πtMv@MvC

yk

HALTQuiesce

Quiesceⁿwϕµº¿AñεΩwºíCu⌡µWíΩwX

@A DSMSERV DUMPDB ⁿONΩweXCΘ]paA!o∩C

ϕz½s°AA⌠≤]oⁿOiµñºw]Gí

αC∩C

ϕzⁿw QUIESCE ∩A°AεΩw≤sºABNΩwO²¡wCΘCoBzú@@PΩwv AziH DSMSERVDUMPDB ⁿONªXCε≤síiα½nXABpG°AW\hºbiµAhiαó CpGoó ¼pA HALT ⁿOεBzB°A≥⌡µCó oAziH°qÑq@A°I

°ABzA½soX HALT QUIESCE ⁿOCút QUIESCE ∩ HALT ⁿOiH²°AQñεC

HALT

302 4.2

Page 329: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

d

@ 1

q°ADxqzq÷¼°ACíYεABLk

lsíC

ⁿO: halt

@ 2

bQ DSMSERV DUMPDB ⁿO⌡µWíΩwXºeAH QUIESCE ∩÷¼ TSM °AC

ⁿO: halt quiesce

biH⌡µWíX@C

÷ⁿO

ϕ 125. P HALT ÷ⁿO

ⁿO í

CANCEL PROCESS °I°ABzC

CANCEL SESSION °P°A@ñÑq@C

DISABLE SESSIONS εsqs TSM A²1\sÑq

@≥C

ENABLE SESSIONS b⌡µ DISABLE ⁿO ACCEPT DATE ⁿO

ºß½sl°AíC

QUERY PROCESS πI÷ΩTC

QUERY SESSION π∩ TSM @ñzMqÑq

@÷ΩTC

HALT

303Tivoli Storage Manager for HP-UX zΓU

5.

z

ⁿO

Page 330: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

HELP ]o÷≤ⁿOTíoⁿOπzⁿOPTºCziHqzⁿOµqoXoⁿOC

MvO

⌠≤zíiHoXⁿOC

yk

Helphelp_menu_numbercommand_name

subcommand_namemessage_number

help_menu_numberⁿwí\αϕWz∩ XC∩C

command_nameⁿwzµπzⁿOWC∩C

subcommand_nameⁿwzµπzⁿOW÷ⁿOWC∩C

message_numberⁿwznπΩTTº XC∩C ziHq°ATº]H ANR r HqTº]H ANE ANS r oíΩTCⁿwTº XAúnNr Y½NX]tbC

d

@ 1

πⁿOµ7í\αϕC

ⁿO: help

HELP

304 4.2

Page 331: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

ΘX:

ziHUíqG1 - yk2 - ΘJzⁿO3 - ⁿOµ4 - °ADx5 - zq6 - Dxí7 - ⁿí8 - σí9 - µí

10 - zq∩11 - s≥r11 - MvOⁿO12 - ½sVⁿOΘX12 - πtMvⁿO12 - πhMvⁿO13 - πxsΘMvⁿO14 - π@MvⁿO15 - πRMvⁿO16 - ⌠≤zioXⁿO

@ 2

Q@ 1 í\αϕπíΩTC

ⁿO: help 16

ΘX:

π⌠≤zíioXºⁿO÷ΩTC

@ 3

π÷≤ REMOVE ⁿOíΩTC

ⁿO: help remove

ΘX:

REMOVE______

REMOVE ⁿOq Tivoli Storage Manager úh½≤C

HUO Tivoli Storage Manager REMOVE ⁿOMµG

"REMOVE ADMIN]Rúz"

"REMOVE NODE]RúqI"

@ 4

HELP

305Tivoli Storage Manager for HP-UX zΓU

5.

z

ⁿO

Page 332: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

π÷≤Tº ANR7800I ΩTC

ⁿO: help 7800

ΘX:

ANR7800I DSMSERV GENERATED AT time ON date.GTivoli Storage Manager °AObⁿwΘMíCt@G°A@≥C GLC

÷ⁿO

LC

HELP

306 4.2

Page 333: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

IMPORT ADMIN ]JzΩToⁿON@hzzv¡wqqXCΘJ TSM °AC

zi QUERY ACTLOG ⁿO°J@¼ACzPiHq°ADx°@ΩTC

ⁿOúºIiH CANCEL PROCESS ⁿO°CpG° IMPORTADMIN IAhJí≈ΩCpGnπ÷IΩTA QUERYPROCESS ⁿOC

MvO

pGnoXoⁿOA'πtMvC

yk

IMport Admin

*

,

admin_name

Preview = No

Preview = NoYes

DEVclass=device_class_name

,

VOLumename = volume_nameFILE:file_name

Replacedefs = No

Replacedefs = NoYes

admin_nameⁿwznJΣΩTzC∩C r NhWjAñíúd

µCziHUrⁿwWC

PreviewⁿwzO nw²J@GAúΩΘJzΩTCPREVIEW=YES ∩'ⁿXeΘC∩C w]O NOCo]AG

NoⁿwnJΩTC

Yesⁿwnw²@A²ún⌡µ@Cb°ADxPíΘxñA°i

J½≤P¼AHαeÑΩTC

IMPORT ADMIN

307Tivoli Storage Manager for HP-UX zΓU

5.

z

ⁿO

Page 334: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

DEVclass]n

ⁿw¬JΩmOCzúαⁿw DISK mOC bJ⌡µApGmO≈úbúLñAh TSM °u²C@]p¼@

AHKXi≈C

VOLumename]n

ⁿw≤J@eΘCJeΘ'PXeΘPCΣ

G

volume_nameⁿweΘWCpGnⁿwheΘAHr jWABºíúi

µC

FILE:file_nameⁿw]tJΩeΘCWCbAC@eΘW'

búPµCtúBzHP Y (µMµC

bzⁿwMUCm¼÷peΘAoRWDG

mΦ ⁿw

TAPE 1 - 6 rC

FILE ⌠≤πWrΩCpA/imdata/mt1C

SERVER 1 - 250 rC

ReplacedefsⁿwO m½°AWzwqCw]O NOCo]AG

Noⁿwúnm½wqC

Yesⁿwnm½wqC

d

@ 1

q°AAaeΘ TAPE01BTAPE02 M TAPE03 JwwqzΩTCⁿwoaeΘNⁿw MENU1 mOmiµ¬C

ⁿO:

import admin devclass=menu1volumenames=tape01,tape02,tape03

@ 2

q°AAqⁿW TAPEVOL ñCXºaeΘAJwwqºzΩTC otUCµG

TAPE01TAPE02TAPE03

IMPORT ADMIN

308 4.2

Page 335: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

ⁿwoaeΘNⁿw MENU1 mOmiµ¬C

ⁿO: import admin devclass=menu1 volumenames=file:tapevol

÷ⁿO

ϕ 126. P IMPORT ADMIN ÷ⁿO

ⁿO í

CANCEL PROCESS °I°ABzC

EXPORT ADMIN szΩTíCΘC

IMPORT NODE íCΘqIΩTC

IMPORT POLICY íCΘhΩTC

IMPORT SERVER íCΘ$íí≈°AC

QUERY ACTLOG π°AíΘxTºC

QUERY PROCESS πI÷ΩTC

IMPORT ADMIN

309Tivoli Storage Manager for HP-UX zΓU

5.

z

ⁿO

Page 336: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

IMPORT NODE ]JqIΩToⁿONqIwqqCΘJ TSM °AC

zi QUERY ACTLOG ⁿO°J@¼ACzPiHq°ADx°@ΩTC

ⁿOúºIiH CANCEL PROCESS ⁿO°CpG° IMPORT NODEIAhiαJíΩCpGnπ÷IΩTA QUERYPROCESS ⁿOC

∩≤ΣqΣ Unicode °AAzn°Aα½zΘJ íWAG

¶ HEXFILESPACE

¶ UNIFILESPACE

MvO

pGnoXoⁿOA'πtMvC

yk

IMport Node

*

,

node_name

,

FILESpace=file_space_name

,

HEXFILESpace =file_space_names

,

UNIFILESpace =file_space_names

IMPORT NODE

310 4.2

|

|

|

|

Page 337: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

,

DOmains=domain_name

FILEData = L

FILEData = ALlLARchiveBackupBACKUPActiveALLActiveSPacemanaged

Preview = No

Preview = NoYes

DEVclass=device_class_name

Dates = Absolute

Dates = AbsoluteRelative

,

VOLumenames = volume_nameFILE:file_name

Replacedefs = No

Replacedefs = NoYes

node_nameⁿwznJΩTqIC∩C

r NhWjAñíúd µCziHUrⁿwWC

XIí]t≤CñC

FILESpaceⁿwznJΩT íWC∩C

r NhWjAñíúd µCziHUrⁿwWC

: ⁿwsb≤°AIwqO PWJ½≤m½CϕJPWAús íCúLAosWiαPqIWsW

PAßiαπ *≈°A íC

Γ

ⁿwnJΩhΓC∩C

r NhWjAñíúd µCziHUrⁿwWCw]

OΓC

IMPORT NODE

311Tivoli Storage Manager for HP-UX zΓU

5.

z

ⁿO

Page 338: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

FILEDataⁿwJXCΘWⁿwo$íI¼C∩C w]

NONEC

ΩmOOxsmOMwCpGªMoⁿOⁿ

wmOPAhnΓ≈JIΩTCmOⁿW¡#

']w 2C

U7@MD@ñ ≈C@≈O2sb≤qu@

s≈CΣª≈íºD@ñCΣG

ALlTSM NJ≈BOsAH ízC

NoneúJAuJIwqCTSM úXC

ARchiveTSM uJOsC

BackupTSM uJ≈AúO@ñD@≈C

BACKUPActiveTSM uJ@ñ≈C

ALLActiveTSM NJ@ñ≈BOsAH ízC

SPacemanagedTSM uJ ízC

PreviewⁿXO nw²J@GAú'JΩTCPREVIEW=YES ∩'ⁿXeΘC∩C w]O NOCo]AG

NoⁿwXIΩTC

YesⁿwzO nw²J@GAúJCΩT°°AD

xMíΘxC

DEVclass]n

ⁿw¬JΩmOCzúαⁿw DISK mOC

bJ⌡µApGmO≈úbúLñAh TSM °u²

C@]p¼@AHKXi≈C

DatesⁿwbXO nⁿwΘ]ABSOLUTEAONΘπJΘ]RELATIVECw] ABSOLUTEC

IMPORT NODE

312 4.2

Page 339: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

XßApGXCΘwgm@qí]pA±mb[W 6 δA≥NΩJ°AAl≈OsΘhiα]L≤,AoY

LCNoⁿw RELATIVEAiHπXHgLíAoúYLC

pA]Xat@OsAObX@e 5 OsCpGXCΘs±8δß!JA w]]DATES=ABSOLUTEAOs OwgíJ8δS¡AP zOñⁿwOdAMwO

YCΘLCⁿw DATES=RELATIVE iHbJíNOsΘ½s]w 5 eC DATES=RELATIVE π≈MOsΘñ÷XßgLíC

iαG

AbsoluteNΘ]wXⁿwC

RelativeⁿwΘπJΘC

VOLumenames]n

ⁿw≤J@eΘCJeΘ'PXeΘPCΣ

G

volume_nameⁿweΘWCpGnⁿwheΘAHr jWABºíúi

µC

FILE:file_nameⁿw]tJΩeΘCWCbAC@eΘW'

búPµCtúBzHP Y (µMµC

bzⁿwMUCm¼÷peΘAoRWDG

mΦ ⁿw

TAPE 1 - 6 rC

FILE ⌠≤πWrΩC An example is /imdata/mt1.

SERVER 1 - 250 rC

ReplacedefsⁿwO nm½°AWwqCw]O NOCo]AG

Noúnm½½≤C

Yesnm½½≤C

HEXFILESpaceH UTF-8 µíⁿwQ8iϕ íWCr NhWjAñíúd µC∩C

IMPORT NODE

313Tivoli Storage Manager for HP-UX zΓU

|

|

|

5.

z

ⁿO

Page 340: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

ndQ8iϕ íWAziH QUERY FILESPACE ⁿO[WFORMAT=DETAILEDC

UNIFILESpaceⁿw°Aw í UnicodeC°ANzΘJWq°ArX૨ UTF-8 rXAHMΣnJ íCα½O ¿\WñΩrH°ArXMwC r NhWjAñíúd µC∩

C

d

@ 1

q°AAaeΘ TAPE01BTAPE02 M TAPE03 JqIΩTCⁿwoaeΘNⁿw MENU1 mOmiµ¬C

ⁿO:

import node devclass=menu1volumenames=tape01,tape02,tape03

@ 2

q°AAqaeΘJqIΩTAoaeΘCb TAPEVOL. o]tUCXµG

TAPE01TAPE02TAPE03

ⁿwoaeΘNⁿw MENU1 mOmiµ¬C

ⁿO: import node devclass=menu1 volumenames=file:tapevol

@ 3

q°AWA∩≤ Unicode qI JOEANΩ@ñ≈JaeΘ TAPE01 ñC

ⁿO:

import node joe unifilespace=\\joe\c$ filedata=backupactivedevclass=menu1 volumenames=tape01

÷ⁿO

ϕ 127. P IMPORT NODE ÷ⁿO

ⁿO í

CANCEL PROCESS °I°ABzC

EXPORT NODE sqIΩTíCΘC

IMPORT ADMIN íCΘzΩTC

IMPORT POLICY íCΘhΩTC

IMPORT SERVER íCΘ$íí≈°AC

QUERY ACTLOG π°AíΘxTºC

IMPORT NODE

314 4.2

|

|

|

|

|

|

|

|

|

|

|

||

|

Page 341: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

ϕ 127. P IMPORT NODE ÷ⁿO (≥)

ⁿO í

QUERY PROCESS πI÷ΩTC

IMPORT NODE

315Tivoli Storage Manager for HP-UX zΓU

5.

z

ⁿO

Page 342: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

IMPORT POLICY]JhΩToⁿONhΓΩTqXCΘJ TSM °AC

pGΓ¡xúΣPΓíCΘ¼AYiJPXBzAb TSM °Aºí TSM qΩC

zi QUERY ACTLOG ⁿO°J@¼ACzPiHq°ADx°@ΩTC

ⁿOúºIiH CANCEL PROCESS ⁿO°CpG° IMPORTPOLICY IAhJíΩCpGnπ÷IΩTA QUERYPROCESS ⁿOC

MvO

pGnoXoⁿOA'πtMvC

yk

IMport Policy

*

,

domain_name

Preview = No

Preview = NoYes

DEVclass=device_class_name

,

VOLumenames = volume_nameFILE:file_name

Replacedefs = No

Replacedefs = NoYes

domain_nameⁿwnJΩThΓCr NhWjAñíúd µCziH

UrⁿwWCw]]*OhC

PreviewⁿwzO nw²J@GAúnJΩTCPREVIEW=YES ∩'ⁿXeΘC∩C w]O NOCo]AG

NoⁿwnJΩTC

Yesⁿwnw²@A²ún⌡µ@CΩT°°ADxMíΘxC

IMPORT POLICY

316 4.2

Page 343: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

DEVclass]n

ⁿw¬JΩmOCzúαⁿw DISK mOC

bJ⌡µApGmO≈úbúLñAh TSM °u²

C@]p¼@AHKXi≈C

VOLumenames]n

ⁿw≤J@eΘCJeΘ'PXeΘPCΣ

G

volume_nameⁿweΘWCpGnⁿwheΘAHr jWABºíúi

µC

FILE:file_nameⁿw]teΘCWCbAC@eΘW'búPµCt

úBzHP Y (µMµC

bzⁿwMUCm¼÷peΘAoRWDG

mΦ ⁿw

TAPE 1 - 6 rC

FILE ⌠≤πWrΩC An example is /imdata/mt1.

SERVER 1 - 250 rC

ReplacedefsⁿwO m½°AWhwqC w]O NOCo]AG

Yesⁿw½≤iJ½≤m½C

Noⁿw½≤úiJ½≤m½C

d

@ 1

q°AAaeΘ TAPE01BTAPE02 M TAPE03 JwwqhΩTCⁿwoaeΘNⁿw MENU1 mOmiµ¬C

ⁿO:

import policy devclass=menu1volumenames=tape01,tape02,tape03

@ 2

q°AAqⁿW TAPEVOL ñCXºaeΘJvwqºhΩTCotUCµG

IMPORT POLICY

317Tivoli Storage Manager for HP-UX zΓU

5.

z

ⁿO

Page 344: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

TAPE01TAPE02TAPE03

ⁿwoaeΘNⁿw MENU1 mOmiµ¬C

ⁿO: import policy devclass=menu1 volumenames=file:tapevol

÷ⁿO

ϕ 128. P IMPORT POLICY ÷ⁿO

ⁿO í

CANCEL PROCESS °I°ABzC

EXPORT POLICY shΩTíCΘC

IMPORT ADMIN íCΘzΩTC

IMPORT NODE íCΘqIΩTC

IMPORT SERVER íCΘ$íí≈°AC

QUERY ACTLOG π°AíΘxTºC

QUERY PROCESS πI÷ΩTC

IMPORT POLICY

318 4.2

Page 345: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

IMPORT SERVER ]J°AoⁿONí°AεΩTPqΩ]pGⁿwAq

XCΘs TSM °AC

ⁿOúºIiH CANCEL PROCESS ⁿO°CpG° IMPORTSERVER IAhJíΩCpGnπ÷IΩTA QUERYPROCESS ⁿOC

MvO

pGnoXoⁿOA'πtMvC

yk

IMport ServerFILEData = L

FILEData = ALlLARchiveBackupBACKUPActiveALLActiveSPacemanaged

Preview = No

Preview = NoYes

DEVclass=device_class_nameDates = Absolute

Dates = AbsoluteRelative

,

VOLumenames = volume_nameFILE:file_name

Replacedefs = No

Replacedefs = NoYes

FILEDataⁿwJ°Awq$íI¼C∩C w] NONEC

ΩmOOxsmOMwCpGªMoⁿOⁿ

wmOPAhnΓ≈JΩTCmOⁿW¡#]

w 2C

U7@MD@ñ ≈C@≈O2sb≤qu@

s≈CΣªhºD@CΣG

ALlTSM NJ≈BOsAH ízC

NoneTSM úJAuJIwqC

IMPORT SERVER

319Tivoli Storage Manager for HP-UX zΓU

5.

z

ⁿO

Page 346: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

ARchiveTSM uJOsC

BackupTSM uJ≈AúO@ñD@≈C

BACKUPActiveTSM uJ@ñ≈C

ALLActiveTSM NJ@ñ≈BOsAH ízC

SPacemanagedTSM uJ ízC

PreviewⁿXO nw²J@GAú'JΩTCPREVIEW=YES ∩'ⁿXeΘC∩C w] NoCiαG

NoⁿwnX°AΩTC

Yesⁿwnw²@A²ún⌡µ@CΩTαe°ADxMíΘxC

DEVclass]n

ⁿw¬JΩmOCzúαⁿw DISK mOC

bJ⌡µApGmO≈úbúLñAh TSM °u²

C@]p¼@AHKXi≈C

DatesⁿwbXO nⁿw]wΘ]ABSOLUTEAONΘπJΘ]RELATIVECw] ABSOLUTEC

XßApGJCΘwgm@qí]pA±mb[W 6 δA≥NΩJ°AAl≈OsΘhiα]L≤,Ao

YLCNoⁿw RELATIVEAiHπXHgLíAoúYLC

pA]Jat@OsAObX@e 5 OsCpGXCΘs±8δß!JA w]]DATES=ABSOLUTEAOs OwgíJ8δS¡AP zOñⁿwOdAMwO

YCΘLC ⁿw DATES=RELATIVE iHbJíNOsΘ½s]w 5 eC DATES=RELATIVE π≈MOsΘñ÷XßgLíC

iαG

AbsoluteNΘ]wXⁿwC

RelativeNΘπJΘC

IMPORT SERVER

320 4.2

Page 347: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

VOLumenames]n

ⁿw≤J@eΘCJeΘ'PXeΘPCΣ

G

volume_nameⁿweΘWCpGnⁿwheΘAHr jWABºíúi

µC

FILE:file_nameⁿw]tJΩeΘCWCbAC@eΘW'

búPµCtúBzHP Y (µMµC

bzⁿwMUCm¼÷peΘAoRWDG

mΦ ⁿw

TAPE 1 - 6 rC

FILE ⌠≤πWrΩC An example is /imdata/mt1.

SERVER 1 - 250 rC

ReplacedefsⁿwO nm½°AW½≤Cⁿwsb≤°AIwqO PW

J½≤m½CϕJPWAús íCw] NoCiαG

Noⁿw½≤úiJ½≤m½C

Yesⁿw½≤iJ½≤m½C

d

@ 1

q°AAaeΘ TAPE01BTAPE02 M TAPE03 Jwwq°AΩTCⁿwoaeΘNⁿw MENU1 mOmiµ¬C

ⁿO:

import server devclass=menu1volumenames=tape01,tape02,tape03

@ 2

q°AAⁿW TAPEVOL ñCXaeΘAJwwq°AΩTCo]tUCUµG

TAPE01TAPE02TAPE03

ⁿwoaeΘNⁿw MENU1 mOmiµ¬C

ⁿO: import server devclass=menu1 volumenames=file:tapevol

IMPORT SERVER

321Tivoli Storage Manager for HP-UX zΓU

5.

z

ⁿO

Page 348: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

÷ⁿO

ϕ 129. P IMPORT SERVER ÷ⁿO

ⁿO í

CANCEL PROCESS °I°ABzC

EXPORT SERVER s$íí≈°AíCΘC

IMPORT ADMIN íCΘzΩTC

IMPORT NODE íCΘqIΩTC

IMPORT POLICY íCΘhΩTC

QUERY ACTLOG π°AíΘxTºC

QUERY PROCESS πI÷ΩTC

IMPORT SERVER

322 4.2

Page 349: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

INSERT MACHINE]íJ≈SΩTⁿⁿOibΩws≈ΩTñAsWß≈ΦⁿCziH g@

í¬]toΩTABúAϕ INSERT ⁿOC \ zΓU Ho C

NoAiH QUERY ⁿOXΩTC

MvO

pGnoXoⁿOA'πtMvC

yk

INsert MAchine machine_name sequence_number

CHaracteristics = textRECOVERYInstructions = text

machine_name]n

ⁿwq≈WC

sequence_number]n

ⁿwσrµbΩwñ C

CHaracteristicsⁿw≈SΩTCz'ⁿwSⁿA²úαPⁿwΓCpGσr

]t (rAh' AϕC σrhiH 1024 rC

RECOVERYInstructionsⁿwⁿCz'ⁿwSⁿA²úαPⁿwΓCpGσr]t

(rAh' AϕC σrhiH 1024 rC

d

@

∩≤≈ DISTRICT5ANoSσríJ 1 µGy≈O Mary SmithzC

ⁿO:

insert machine district5 1characteristics="Machine owner is Mary Smith"

÷ⁿO

ϕ 130. P INSERT MACHINE ÷ⁿO

ⁿO í

DEFINE MACHINE wq≈ DRMC

DELETE MACHINE Rús≈C

QUERY MACHINE π≈÷ΩTC

INSERT MACHINE

323Tivoli Storage Manager for HP-UX zΓU

5.

z

ⁿO

Page 350: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

ISSUE MESSAGE]q°A Script oXTºtX Script ñBzXoⁿOAHKq°A Script oXTºAPDOXb Script @ⁿOC

MvO

⌠≤zíiHoXⁿOC

yk

ISSUE MESSAGE message_severity message_text

message_severity]n

ⁿwTºY½CTºY½ⁿrG

E CANR1498E πbTºσrñC

I ΩTCANR1496I πbTºσrñC

S Y½CANR1499S πbTºσrñC

W iCANR1497W πbTºσrñ

message_text]n

ⁿwTºíC

d

@

]WO backupscript ScriptA Script εqΩwAXΩw≈AMß½sqΩwCíAz Script ú@DsXCtXTºY½MTºσr ISSUE MESSAGE ⁿOCUCO°A Script @dAdbq≈WIs backupscriptAMß backupscript XoXTºC

issue message i "Starting backup" define clientaction nodename action=command objects="c:\backupscript" wait=yexitqfail: issue message e "Quiesce of database failed"exitqwarn: issue message w "Quiesce of database failed, taking fuzzy backup"exitbackupf: issue message e "Backup of database failed"exitrestartf: issue message s "Database restart failed"exit

ⁿO: issue message e "quiesce of database failed"

÷ⁿO

ϕ 131. ISSUE MESSAGE ÷ⁿO

ⁿO í

COPY SCRIPT Script C

DEFINE SCRIPT N Script wq TSM °AC

ISSUE MESSAGE

324 4.2

Page 351: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

ϕ 131. ISSUE MESSAGE ÷ⁿO (≥)

ⁿO í

DELETE SCRIPT Rú Script Rú Script ñOrµC

RENAME SCRIPT N Script ≤WsWC

RUN ⌡µ ScriptC

UPDATE SCRIPT ≤sW Script rµC

ISSUE MESSAGE

325Tivoli Storage Manager for HP-UX zΓU

5.

z

ⁿO

Page 352: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

LABEL LIBVOLUME]]wCΘweΘoⁿOaeΘAObíCΘwñNeΘJCΘwe

ΘCⁿOi²°AeΘg²π°C

: oⁿOuA≤ 349XBSCSI P MANUAL CΘwC LABEL LIBVOLUME ⁿOBzúÑ≈iJi¼AAY≈uO IDLE ¼AC'nA' DISMOUNT VOLUME ⁿONeΘúⁿA²CΘw≈iCCΘw≈@,iANi½soX LABEL LIBVOLUME ⁿOCTw≈i²°ABzoⁿOC

MvO

pGnoXoⁿOA'πtMvC

yk

Γíw

LABEl LIBVolume library_name volume_nameOVERWRITE = No

OVERWRITE = NoYes

LABEL LIBVOLUME

326 4.2

||

|

|||||||||||||||||||||||||||||||||||

||||

Page 353: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

yk

SCSI CΘw

LABEl LIBVolume library_name

volume_name(1)

SEARCH = Yes LABELSource = BarcodeA Prompt

SEARCH = Bulk

CHECKIN = SCRatch

PRIvate

OVERWRITE = No

OVERWRITE = NoYes

A (SEARCH=Yes):

VOLRange = volume_name1,volume_name2,

VOLList = volume_nameFILE: file_name

:

1 ϕ SEARCH=Yes SEARCH=Bulk AA≤ SCSI CΘwC

LABEL LIBVOLUME

327Tivoli Storage Manager for HP-UX zΓU

||

|

|||||||||

||||||||||||||||||||||||||||||||||||||||||||

|||||||||||||||||||||||||||||||||||||||||||||

|

|

|||||||||||||||||||||||||||||||||||||

|

|

|||||

5.

z

ⁿO

Page 354: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

yk

349X CΘw

LABEl LIBVolume library_name volume_nameSEARCH = Yes

A

CHECKIN = SCRatch

PRIvateDEVTYPE = CARTRIDGE

3590

OVERWRITE = No

OVERWRITE = NoYes

A (SEARCH=Yes):

VOLRange = volume_name1,volume_name2,

VOLList = volume_nameFILE: file_name

library_name]n

ⁿw]txseΘwWC

volume_nameⁿwneΘC

∩≤ SCSI CΘwíA°AoX@nDAnNeΘíJwaXAiαAíJwiX≡C TSM ÷wq≡C÷≤

ΩTA\http://www.tivoli.com/support/storage_mgr/tivolimain.htmlC

∩≤ΓíwA°AoXnDNeΘíJ≈C

: pGxseΘwwqⁿweΘWAhús@eΘAπ@hTºC

CHECKINⁿw°AO JeΘC∩C UCiαG

SCRatchⁿw°AJeΘABNª[JwxsñC

LABEL LIBVOLUME

328 4.2

||

|

|||||||||||||||||||||||||||||

|||||||||||||||||||||||||||||||||||||

|||||||||||||||||||||||||||||

|

|

|||||||||||||||||||||||||||||||||||||

||||

|

|

|

|

Page 355: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

PRIvateⁿw°AJeΘABNªⁿwMCu÷WnDA!α

MeΘC

SEARCHⁿw°AwñjMi@eΘCA≤ SCSI M 349X CΘwC

iαG

Yesⁿw°AuwñxseΘAúDeΘwLk¬°XC

Bulk²°AjMwuiXv≡AHΣXieΘ[HCo∩u∩

SCSI CΘwC

pGzⁿw LABELSOURCE=PROMPT ∩AeΘquiXv≡≈C°AúzoX]trΩ REPLY ⁿOAMßNgJaC

pGzⁿw LABELSOURCE=BARCODEAh¬eΘ°XABNaqiX≡gJ°X≈ñCbaºßANauiXv

≡xsΘ7A]°z ⁿw CHECKIN ∩wC

VOLRange

ⁿweΘWd≥AHr jCϕzⁿw SEARCH=YES AiQo¡εjMC A≤ SCSI M 349X CΘwC

: VOLRange DnOϕ¿LoAHLoXnJeΘC N SCSI CΘwÑAVOLRANGE nD LABELSOURCE=BARCODEC

zuαⁿwiHΦíWeΘWCúFWAeΘWñi]t

r rApG

í

volrange=bar110,bar130 J 21 eΘG

bar110Bbar111Bbar112,...bar129Bbar130C

volrange=bar11a,bar13a J 3 eΘGbar11aBbar12aBbar13aC

volrange=123400,123410 J 11 eΘG

123400B123401B...123409B123410C

VOLListⁿwnⁿOBzeΘCC ϕzⁿw SEARCH=YES AiQo¡εjMC A≤ SCSI M 349X CΘwC

: VOLList DnOϕ¿LoAHLoXnJeΘCN SCSI CΘwÑAVOLLIST nDⁿw LABELSOURCE=BARCODEC

iαG

LABEL LIBVOLUME

329Tivoli Storage Manager for HP-UX zΓU

|

|

|

|

|

|

|

|

|

|

|

|

|

|

|

|

|

|

|

|

|

5.

z

ⁿO

Page 356: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

volume_nameⁿXⁿOñº@hWCdG VOLLIST=TAPE01BTAPE02C

FILE:file_nameⁿw]tⁿOeΘCWCbAC@eΘW'búP

µCNñHP Y (µMµCpApGneΘ

TAPE01BTAPE02 M TAPE03A@ TAPEVOL ABΣñ]tUCUµG

TAPE01TAPE02TAPE03

zibⁿOñⁿweΘApUGvollist=FILE:TAPEVOLC

: WjpgC

LABELSourceⁿw°Ap≤O n¬eΘCΘCo∩u∩ SCSI CΘwCuϕ SEARCH=YES SEARCH=BULK A!ⁿwoC

iαG

Prompt'núeΘWC

Barcode°A¬°XCpGó A°ANúeΘABπ

@hTºC

: F°XΣαoº\αA'²wwAϕmXíC

DEVTypeⁿwnJeΘm¼C]t 3590 m 349X awM]t 3590 a≈ ACL]dXⁿJnCiαG

3590ⁿwJñeΘ≤ 3590 m¼C

OVERWRITEⁿw°AO ngC∩C w] NOCiαG

Noⁿw°Au*eΘC

Yesⁿwuϕ°AxseΘMµñí *wqsú

°XípUA°A!gC

LABEL LIBVOLUME

330 4.2

|

|

|

|

|

|

|

|||

|

|

|

|

|

|

|

|

|

Page 357: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

d

@ 1

JeΘA SCSI CΘw AUTO ñaC

ⁿO:

label libvolume auto checkin=scratch search=yeslabelsource=barcode overwrite=yes

@ 2

SCSI CΘw ABC ñeΘ bar11a bar13aC

ⁿO:

label libvolume abc checkin=scratch search=yesvolrange=bar11a,bar13a labelsource=barcode

w 3 eΘGbar11aBbar12aBbar13aC

÷ⁿO

ϕ 132. P LABEL LIBVOLUME ÷ⁿO

ⁿO í

AUDIT LIBRARY Tw@íwOB≤@P¼AC

CANCEL PROCESS °I°ABzC

CHECKIN LIBVOLUME NxseΘJíwC

CHECKOUT LIBVOLUME NxseΘXíwC

DEFINE LIBRARY wqíΓíwC

DEFINE VOLUME ⁿweΘⁿwxsºxsΘC

QUERY LIBRARY π@hw÷ΩTC

QUERY LIBVOLUME π@weΘ÷ΩTC

QUERY PROCESS πI÷ΩTC

UPDATE LIBVOLUME ≤xseΘ¼AC

LABEL LIBVOLUME

331Tivoli Storage Manager for HP-UX zΓU

5.

z

ⁿO

Page 358: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

LOCK ADMIN ]ΩwzoⁿOεzs°ACzgΩwßAnÑtz

UNLOCK ADMIN ⁿO½szsvC

zúα∩ SERVER_CONSOLE z ID oX LOCK ADMIN ⁿOC

MvO

pGnoXoⁿOA'πtMvC

yk

LOCK Admin admin_name

admin_name]n

ⁿwnΩwzWC

d

@

Ωwz CLAUDIAC

ⁿO: lock admin claudia

÷ⁿO

ϕ 133. P LOCK ADMIN ÷ⁿO

ⁿO í

QUERY ADMIN π@h TSM z÷ΩTC

UNLOCK ADMIN ΩwzHs TSM C

LOCK ADMIN

332 4.2

Page 359: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

LOCK NODE ]ΩwqIoⁿOεqIs°ACΩwqúα⌡µ⌠≤ TSM @AY@wgwC

MvO

pnoX@ⁿOAz'πtMvBL¡εhMvBOqI

hΓº¡εhMvC

yk

LOCK Node node_name

node_name]n

ⁿwnΩwqIWC

d

@

ΩwqI SMITHC

ⁿO: lock node smith

÷ⁿO

ϕ 134. P LOCK NODE ÷ⁿO

ⁿO í

QUERY NODE π@hqí≈πΩTC

UNLOCK NODE ²SwhΓñ@Ωws°

AC

LOCK NODE

333Tivoli Storage Manager for HP-UX zΓU

5.

z

ⁿO

Page 360: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

LOCK PROFILE]Ωw]wbtmzíWoⁿOΩw]wAotmΩTúeⁿ

z°AC

ϕz∩tmiµh≤sABz¿≤!neoΩTAiHoⁿ

OC

MvO

pGnoXoⁿOA'πtMvC

yk

60

LOCK PROFIle profile_nameminutes

profile_name]n

ⁿwnΩw]wCziHUrⁿXhWC

minutesHµAⁿwh[íHß TSM !úΩwtm]wCⁿwq 0 10000 πCw] 60 CpGzⁿw 0Ahtm]wNúúΩwCbí*ºeA UNLOCK PROFILE ⁿOú]wΩwAbⁿw 0 ípUú]wΩwCoO∩C

d

@

Ωw]w DELTA 30 C

ⁿO: lock profile delta 30

÷ⁿO

ϕ 135. P LOCK PROFILE ÷ⁿO

ⁿO í

COPY PROFILE ]wC

DEFINE PROFASSOCIATION s½≤P]wC

DEFINE PROFILE eΩTz°Awq]wC

DELETE PROFASSOCIATION Rú½≤P]wsC

DELETE PROFILE tmzíRú]wC

QUERY PROFILE πtm]w÷ΩTC

SET CONFIGMANAGER ⁿX°AO tmzíC

UNLOCK PROFILE Ωw]wiHz°AC

UPDATE PROFILE ≤]wíC

LOCK PROFILE

334 4.2

Page 361: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

MACRO]Is¿qzⁿOµUoⁿOIs@AΣñ]t@hzn⌡µ TSM zⁿOC

oⁿOuαMzⁿOµq@C

¿O]t@h TSM zⁿOCzuαbσµíUAqzqoX¿C¿OH#íxsbzq≈]tC¿úeU

°AABLkw°AWC

ϕznoX@½ⁿOBoX]tⁿOAOHSwBz÷

ⁿOA¿ΘJⁿOODCb¿ßAziH≤s¿]tΩ

TAMß½sªAziHs¿A≤AMß⌡µC

÷¿ ΩTA¿ΦkAHⁿO Script MzⁿOµq¿ºítºA\ zΓUC

MvO

⌠≤zíiHoXⁿOC

yk

MACRO macro_name

substitution_value

macro_name]n

ⁿw¿WC

substitution_valueⁿw¿ñNCϕzNACbznúP½≤⌡

µP@AOúPAúiH½s¿CpGnⁿw]t

(Az'' N≥C∩C

d

@ 1

@ⁿW REGNG ¿C¿n²Pv¡szCHUCΦí g¿G

/* n²Pv¡sz */REGister Admin jones passwd -CONtactinfo="x1235"GRant AUTHority jones -CLasses=Policy

ⁿO: macro regng.mac

MACRO

335Tivoli Storage Manager for HP-UX zΓU

5.

z

ⁿO

Page 362: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

@ 2

@ⁿW AUTHRG ¿]]tNAHn²Pv¡szCHUCΦí g¿G

/* n²Pv¡sz */REGister Admin %1 %2 - /* Enter userid and password */CONtact=%3 /* Enter contact info ]in quotes if nec. */GRant AUTHority %1 - /* Server uses variable already */- /* defined by you */CLasses=%4 /* Enter the privilege class */

ΘJϕz⌡µ¿Azn°AHBzⁿOC

ⁿO: macro authrg.mac jones passwd x1235 Policy

÷ⁿO

ϕ 136. P MACRO ÷ⁿO

ⁿO í

COMMIT 3[≤ΩwC

ROLLBACK ≤ß@⌡µ COMMIT ßA⌠≤∩Ωw

*Tw≤C

MACRO

336 4.2

Page 363: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

MOVE DATA ]xseΘWoⁿONqYxseΘΣªxseΘCzuαNqDxs

eΘPúPDxsñeΘCzuαNqxsPxs

ñeΘC

pGznNPxsñeΘAheΘ'¼≈ íA h@óC

ϕzqseΘAnhseΘⁿA!α≤VeΘ

C

ϕzqH≈seΘA°AMúeΘC

pG]mΘJ/ΘXñAP@hLk½stmt@eΘAhΩ@¿ßAeΘiαú$O C'nAiH∩R

úeΘAH≤ΩCMßπ I/O ΣªNQRúC

ziHQⁿONxsaeΘXC≤LkⁿaeΘA°A

qDxst@xsoaeΘCMßNgJl

xsaeΘC

]RESTORE STGPOOL RESTORE VOLUM⌡µA-. MOVEDATA ⁿOCMOVE DATA ⁿOy¿úπC

MvO

oXⁿOAz'tMvBD¡εxsΘMvBOeΘxs

AHsxsº¡εxsΘMvApGⁿwΣñ⌠≤@C

yk

MOVe Data volume_nameSTGpool = pool_name

RECONStruct = No

RECONStruct = NoYes

Wait = No

Wait = NoYes

volume_name]n

ⁿwnxseΘC

STGpoolⁿwznDxsCoO∩ABAXqDxse

ΘΩCpGz*ⁿwA≥PxsΣªeΘC

MOVE DATA

337Tivoli Storage Manager for HP-UX zΓU

5.

z

ⁿO

Page 364: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

RECONStructⁿwbΩíO ½sc¿C½scq¿ñúbRúΦ

ípM íC∩C w] NoCiαG

NoⁿwbΩíún½sc¿C

YesⁿwbΩín½sc¿CubsxsΩ

A!iⁿw∩C

WaitⁿwO Ñ°Abe¿Bz¿ⁿOC ∩C w] NoCiαG

Noⁿw°AbIBzⁿOCBzⁿOAziH≥⌡µΣª@C°A

NITºπbíΘx°ADxñA°TºO²b

≥aΦC

CANCEL PROCESS ⁿOAiH°IBzCpG° MOVE DATA IAhbl°@ºeYí≈wC

Yesⁿw°AbeBzⁿOCⁿO¿ßA!α≥⌡µΣª@CⁿO¿

A°AVzqπΘXTºC

: zúαq°ADxⁿw WAIT=YesC

d

@

NqxseΘ STGVOL.1 ⁿw 8MMPOOL xs⌠≤ieΘWC

ⁿO: move data stgvol.1 stgpool=8mmpool

÷ⁿO

ϕ 137. P MOVE DATA ÷ⁿO

ⁿO í

CANCEL PROCESS °I°ABzC

DEFINE VOLUME ⁿweΘⁿwxsºxsΘC

DELETE VOLUME xsRúeΘC

MOVE DRMEDIA N DRM CΘaHaC

QUERY ACTLOG π°AíΘxTºC

QUERY DRMEDIA πNeΘ÷ΩTC

QUERY PROCESS πI÷ΩTC

MOVE DATA

338 4.2

|

|

|

|

|

|

|

|

|

Page 365: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

MOVE DRMEDIA]aNCΘaoⁿOlΩw≈PnaxseΘAHOna

L (eΘCΩw≈eΘi≤πWí Snapshot ≈CzúαⁿwΩeΘ]xs≤t@°AW≈½≤CzizL¼A∩eΘA

TOSTATE ñL¼AC

: MOVE DRMEDIA ⁿOOHBzxseΘ]\ COPYSTGPOOL íHo ΩTC ziH SOURCE εⁿOO nBzΩw≈eΘC

ziH QUERY ACTLOG ⁿOε MOVE DRMEDIA ⁿOO Q¿CzPiHq°ADx°@ΩTC

MvO

pGnoXoⁿOAz'πUCΣñ@MvOG

¶ Yⁿw CMD= B REQSYSAUTHOUTFILE °A∩]w NOG BΓlBL

¡εxsΘBtMvC

¶ Yⁿw CMD= B REQSYSAUTHOUTFILE °A∩] YES]w]G t

MvC

yk

MOVe DRMedia volume_nameWHERESTate = MOuntable

NOTMOuntableCOUrierVAULTRetrieveCOURIERRetrieve

BEGINDate = date ENDDate = date BEGINTime = time

ENDTime = time COPYstgpool = pool_name

Source = DBBackup

Source = DBBackupDBSnapshotDBNOne

REMove = Yes

REMove = NoYesBulkUntileefull

MOVE DRMEDIA

339Tivoli Storage Manager for HP-UX zΓU

5.

z

ⁿO

Page 366: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

TOSTate = NOTMOuntable

COUrierVAultCOURIERRetrieveONSITERetrieve

WHERELOcation = location

TOLOcation = location CMd = "command"

CMDFilename = file_name

APPend = No

APPend = NoYes

Wait = No

Wait = NoYes

volume_name]n

ⁿwnBzΩw≈xseΘWCpGzUrⁿwo

WAN'Pⁿw WHERESTATEC

WHERESTateⁿwnBzeΘ¼ACpG*ⁿw TOSTATE zbeΘWñUrAhoO'nC íA\346ϕ138 P 346ϕ139C iα

G

MOuntableoeΘ]tΩABiaBzCpG*ⁿw TOSTATEAeΘ¿ NOTMOUNTABLEC TSM ²hXíwñeΘ]]AíwaAMß!¼AC

NOTMOuntableoeΘO≤aAª]tΩABLkaBzCpG*

ⁿw TOSTATEAeΘ¿ COURIERC

COUrieroeΘπABbaCªu¿ VAULTC

VAULTRetrieveoeΘútΩAB≤aCpG*ⁿw TOSTATEAeΘ¿COURIERRETRIEVEC

COURIERRetrieveoeΘπABbaCªu¿

ONSITERETRIEVECTSM qΩwñRúΩw≈PxseΘñeΘO²C

MOVE DRMEDIA

340 4.2

Page 367: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

BEGINDateⁿw∩eΘlΘC ∩C pG MOVE DRMEDIA ⁿOwgbⁿwΘºßNeΘ≤µ¼AAheΘQ°XµCw]ΩTs

b¡ΘC

ziHUCΣñ@ⁿwΩG

í d

MM/DD/YYYY SwΘ 09/15/1998

TODAY µΘ TODAY

TODAY-days

-days

µΘεhⁿw TODAY-7 -7C

pGnO@gewg≤µ¼Ae

ΘAziHⁿw TODAY-7 -7 YiC

ENDDateⁿw∩eΘ⌠ΘC∩C pG MOVE DRMEDIA ⁿOwgbⁿwΘºeNeΘ≤µ¼AAheΘQ°XµCw]bΘ

C

ziHUCΣñ@ⁿwΩG

í d

MM/DD/YYYY SwΘ 09/15/1998

TODAY µΘ TODAY

pGnO$wg≤µ¼AeΘA

ziHⁿw TODAY -7 YiC

TODAY-days

-days

µΘεhⁿwCj

O 9999C

TODAY-1 -1C

pGnO@gewg≤µ¼Ae

ΘAziHⁿw TODAY-1 -1 YiC

BEGINTimeⁿw∩eΘHBzlíC∩C pG MOVE DRMEDIA ⁿOwgbⁿwΘMíºß≤µ¼AAheΘQ°XµCw]H

BEGINDATE ⁿwΘ9]]00:00:00C

ziHUCΣñ@ⁿwΩG

í d

HH:MM:SS ⁿwlΘSwí 12:33:28

NOW ⁿwlΘµí NOW

NOW+HH:MM

+HH:MM

µí[WⁿwlΘpM

NOW+03:00 +03:00C

MOVE DRMEDIA

341Tivoli Storage Manager for HP-UX zΓU

5.

z

ⁿO

Page 368: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

í d

NOW-HH:MM

-HH:MM

µíεhⁿwlΘpM

NOW-03:30 -03:30C

pGb 9:00 oX MOVE DRMEDIA ⁿOA

B[W BEGINTIME=NOW-03:30

BEGINTIME= -03:30ATSM Obzⁿw

lΘ 5:30 ≤Σµ¼Ae

ΘC

ENDTimeⁿw∩eΘHBz⌠íC∩C pG MOVE DRMEDIA ⁿOwgbⁿwΘMíºß≤µ¼AAheΘQ°XµCw]

23:59:59C

ziHUCΣñ@ⁿwΩG

í d

HH:MM:SS ⁿw⌠ΘSwí 12:33:28

NOW ⁿw⌠Θµí NOW

NOW+HH:MM

+HH:MM

µí[Wⁿw⌠ΘpM

NOW+03:00 +03:00C

pGzb 9:00 oX MOVE DRMEDIA ⁿ

OABⁿw ENDTIME=NOW+03:30

ENDTIME=+03:30A TSM Obzⁿw

⌠Θ 12:30 ≤Σµ¼Ae

ΘC

NOW-HH:MM

-HH:MM

µíεhⁿw⌠ΘpM

NOW-03:30 -03:30C

COPYstgpoolⁿwnBzΣeΘxsWC∩C ziHUrⁿw

WCHoⁿwxsm½H SET™ DRMCOPYSTGPOOL ⁿOⁿweΘCpGSⁿwxsWAhtNBzⁿw¼AeΘA²

út MOUNTABLE ¼AC÷Bz MOUNTABLE ¼AeΘ ΩTA\SET DRMCOPYSTGPOOLC

SourceⁿwO nJΩw≈eΘHiµBzC∩C w]O

DBBACKUPC∩]AG

DBBackupⁿw TSM JπPWíΩw≈eΘHiµBzC

DBSnapshotⁿw TSM JΩw Snapshot ≈eΘHiµBzC

DBNOneⁿw TSM únJ⌠≤Ωw≈eΘHiµBzC

REMoveⁿw TSM O nNeΘqwhXC∩C w]O YESC

MOVE DRMEDIA

342 4.2

Page 369: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

: ∩≤ 349X CΘwApGzⁿw NOAh@wNeΘqwhXCiαG

YesⁿwqwhXeΘCeΘn²q TSM wwsRúC∩b

íwWC

Noⁿwúnq SCSI CΘwhXeΘCo∩u≤ SCSI CΘwCo∩q TSM wwsñRúeΘn²ABNeΘOdbΣC

Bulko∩úA≤ EXTERNAL w¼C

¶ 349X CΘwGⁿwNeΘhXwñw²wq¬eqAD I/O u@C

¶ πhuiXv≡ SCSI CΘwG ⁿwNeΘhXU@iui

Xv≡C

: TSM oX@hTºAⁿXNaeΘquiXv≡úhC

Untileefullⁿwϕ I/O u@#@ AnqwhXeΘCpGeΘwqwhXATSM qwwsRúeΘn²Co∩uA≤ SCSI CΘwC

pG I/O u@ñiAeΘ I/O u@ñU@iA TSMoX@TºAⁿq I/O u@úeΘAÑoX REPLY idεCpG I/O u@wíAhⁿOó BΣl⌠≤AXeΘNúQBzCq I/O u@úeΘßA'oX MOVE DRMEDIA ⁿOBzΣl⌠≤AXeΘC UNTILEEFULL ∩µM YES ∩ⁿA I/O u@wíεC

TOSTateⁿwBzñeΘa¼ACpG*ⁿw WHERESTATEAh'nCpGzⁿw TOSTATE D WHERESTATEAzN'ⁿweΘWCúe\UrC íA\346ϕ138 P 346ϕ139C

iαG

NOTMOuntableⁿweΘ≤ NOTMOUNTABLE ¼ACoubeΘO MOUNTABLE ¼ACpGeΘObíwñATSM ²hXeΘAANª≤

NOTMOUNTABLE ¼AC

COUrierⁿweΘ≤ COURIER ¼ACoubeΘO MOUNTABLE

NOTMOUNTABLE ¼ACpGeΘObíwñATSM ²hX

eΘAANª≤ COURIER ¼AC

MOVE DRMEDIA

343Tivoli Storage Manager for HP-UX zΓU

5.

z

ⁿO

Page 370: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

VAultⁿweΘ≤ V A U L T ¼ACoubeΘO

MOUNTABLEBNOTMOUNTABLE COURIER ¼ACpGeΘObíwñATSM ²hXeΘAANª≤ VAULT ¼AC

COURIERRetrieveⁿweΘ≤ C O U R I E R R E T R I E V E ¼ACoubeΘO

VAULTRETRIEVE ¼AC

ONSITERetrieveⁿweΘ≤ ONSITERETRIEVE ¼ACoubeΘO VAULTRETRIEVE COURIERRETRIEVE ¼AC≤N≤ ONSITERETRIEVE ¼AΩw≈HxseΘΦATSM ΩwñRúeΘO²C

WHERELOcationⁿweΘµmC∩C mj° 255rCpGσr]t⌠≤ (rAh' AϕC

TOLOcationⁿweΘamC∩C ⁿwmj° 255 rCpGσr]t⌠≤ (rAh' AϕCpGzúⁿwamAN

SET DRMNOTMOUNTABLE ⁿOwqmC

CMdⁿwni⌡µⁿOBzoⁿOoC@eΘC∩C o

ⁿOWµj° 255 rCDRM NoⁿOgJ CMDFILENAME ⁿwCpGgⁿO°j≤ 240 rAh¿hµ[Ws≥r]+C ziH ⌡µⁿOú≤∩s≥rC

ⁿO

ⁿOrΩH' tACrΩúα]tt' C pA

G

cmd="checkin libvol lib8mm &vol status=scratch"

LG

cmd=""checkin libvol lib8mm" &vol status=scratch""

ⁿOi]ANCSjpgABb & ºßúα]t µCiαG

&VOLeΘWC

&LOCeΘmC

&VOLDSNngsCΘñWCpApGAmOH TSM aeΘr AhxsaeΘWi TSM.BFSAΩw≈aeΘWi TSM.DBBC

MOVE DRMEDIA

344 4.2

Page 371: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

&NLs@µrCϕⁿw &NL AϕⁿOb &NL BΘµCY'nAz'b &NL e[WAϕs≥rCY*ⁿw &NLABⁿOµ°WL240 rAhⁿOµ¿hµA[Ws≥r]+C

CMDFilenamet CMD ⁿºⁿOAⁿw@πWC∩C

pGz*ⁿwWAzⁿwO rΩ] ″ ″AD R M S E TDRMCMDFILENAME ⁿwWC pGz* SET DRMCMDFILENAME ⁿOⁿwWADRM b DSMSERV_DIR ⌠ⁿ²ß]b TSM °A

µu@²²⌠Wºß[W exec.cmdsAHú@WC

pGbⁿOß@⌡µó AúRúC

APPendⁿwngⁿO⌠≤seAONⁿO[ñC∩C w]

NOCiαG

NoDRM geC

YesDRM bß[WⁿOC

WaitⁿwO Ñ°Abe¿Bz¿ⁿOC ∩C w] NOC

: zúαq°ADxⁿw WAIT=YesCiαG

NoⁿX TSM bIUBzⁿOCIúTºπbíΘx°

ADxñA°O²TºbaΦwC nd@O ¿\AoX

QUERY ACTLOG ⁿOC

Yesⁿw°AbeBzⁿOCÑⁿO¿ßA!α≥⌡µΣª@C °A

VzqπΘXTºC

a¼AP mϕG

Uϕπ DRM p≤PeΘa¼AmC

a¼A

¶ ⁿw TOSTATE

¶ pG *ⁿw TOSTATEAhⁿw WHERESTATE U@¼AC

a m

¶ ⁿwF TOLOCATIONC

MOVE DRMEDIA

345Tivoli Storage Manager for HP-UX zΓU

5.

z

ⁿO

Page 372: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

¶ TOSTATE mwⁿwApG *ⁿw TOLOCATIONC

¶ pG *ⁿw TOLOCATION M TOSTATEAhⁿw WHERESTATE U@¼AmC

ϕ 138. eΘaMmϕµⁿw a¼A a m

WHERESTATE WHERESTATE U@¼A U@¼Am

WHERESTATE TOSTATE TOSTATE TOSTATE m

WHERESTATE TOLOCATION WHERESTATE U@¼A TOLOCATON

WHERESTATE TOSTATE TOLOCATION TOSTATE TOLOCATION

TOSTATE TOSTATE TOSTATE m

TOSTATE WHERELOCATION TOSTATE TOSTATE m

TOSTATE WHERELOCATION TOLOCATION TOSTATE TOLOCATION

¼A≤

UϕπXµ¼A≤G

ϕ 139. eΘϕµ¼Aα

eΘµ¼A

a¼A

MOUNTABLE NOTMOUNTABLE COURIER VAULT

MOUNTABLE N Y Y Y

NOTMOUNTABLE N N Y Y

COURIER N N N Y

VAULT N N N N

VAULTRETRIEVE N N N N

COURIERRETRIEVE N N N N

ONSITERETRIEVE N N N N

eΘµ¼A

a¼A

VAULT-RETRIEVE COURIER-RETRIEVE ONSITE-RETRIEVE

MOUNTABLE N N N

NOTMOUNTABLE N N N

COURIER N N N

VAULT N N N

VAULTRETRIEVE N Y Y

COURIERRETRIEVE N N Y

ONSITERETRIEVE N N N

d

@ 1

NOTMOUNTABLE ¼AU DRM CΘ COURIER ¼AC

ⁿO:

move drmedia * wherestate=notmountabletostate=courierquery actlog search="MOVE DRMEDIA"

ΘX:

MOVE DRMEDIA

346 4.2

Page 373: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

08/11/1999 11:12:24 ANR0984I MOVE DRMEDIA 10 wbI MOVE DRMEDIA ANR0984I 10C 08/11/1999 11:12:24 ANR0610I MOVE D 10C 08/11/1999 11:12:25 ANR6683I MOVE DRMEDIAGeΘ TAPE0Pq NOTMOUNTABLE ¼A¿ COURIERC 08/11/1999 11:12:25 ANR6683I MOVE DRMEDIAGeΘq NOTMOUNTABLE ¼A¿ COURIERC 08/11/1999 11:12:25 ANR6683I MOVE DRMEDIAGeΘq NOTMOUNTABLE ¼A¿ COURIERC 08/11/1999 11:12:25 ANR6683I MOVE DRMEDIAGeΘq NOTMOUNTABLE ¼A¿ COURIERC 08/11/1999 11:12:25 ANR6682I MOVE DRMEDIA ⁿO4 eΘC08/11/1999 11:12:25 ANR0611I MOVE DRMEDIA HSIAO ¿HSIAO F ANR0611I MOVE DRMEDIAC 08/11/1999 11:12:25 ANR0985I MOVE DRMEDIA BzF 4 AΣ¿¼A SUCCESSA¿íO 11:12:25C

@ 2

N DRM CΘq MOUNTABLE ¼A¿ COURIER ¼AC pGCΘObíwñA MOVE DRMEDIA ²wñhXeΘAMßA≤¼AC

ⁿO:

move drmedia * wherestate=mountable tostate=courier wait=yes

ΘX:

ANR0984I MOVE DRMEDIA 12≤ 09:57:17 beCANR0609I MOVE DRMEDIA H 12 CANR0610I MOVE DRMEDIA 12CANR6696I MOVE DRMEDIA: w LIBONE eΘ DBTP05 w LIB8MM ñeΘ TAPE01 ñCANR6697I MOVE DRMEDIA: w LIBONE ñeΘ Dw LIB8MM ñeΘ TAPE01 w

Q¿CANR6683I MOVE DRMEDIA: eΘ TAPE01q MOUNTABLE ¼A¿ COURIERCANR6696I MOVE DRMEDIA: w LIBONE eΘ DBTP05 w LIB8MM ñeΘ TAPE02 ñCANR6697I MOVE DRMEDIA: w LIBONE ñeΘ Dw LIB8MM ñeΘ TAPE02 w

Q¿CANR6683I MOVE DRMEDIA: eΘ TAPE02q MOUNTABLE ¼A¿ COURIERCANR6696I MOVE DRMEDIA: w LIBONE eΘ DBTP05 w LIB8MM ñeΘ DBTP05 ñCANR6697I MOVE DRMEDIA: w LIBONE ñeΘ Dw LIB8MM ñeΘ DBTP05 w

Q¿CANR6683I MOVE DRMEDIA: eΘ DBTP05q MOUNTABLE ¼A¿ COURIERCANR6696I MOVE DRMEDIA: w LIBONE eΘ DBTP05 w LIB8MM ñeΘ DBTP04 ñCANR6697I MOVE DRMEDIA: w LIBONE ñeΘ Dw LIB8MM ñeΘ DBTP04 w

Q¿CANR6683I MOVE DRMEDIA: eΘ DBTP04q MOUNTABLE ¼A¿ COURIERCANR6682I MOVE DRMEDIA ⁿO⌠G@@BzF4 eΘCHSIAO b 12 ⌠AF ANR0611I MOVE DRMEDIACbe⌡µ MOVE DRMEDIA ANR0985I 12BzF 4 AΣ¿¼A SUCCESSA¿íO 10:12:25C

@ 3

MOVE DRMEDIA

347Tivoli Storage Manager for HP-UX zΓU

5.

z

ⁿO

Page 374: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

NB≤ VAULTRETRIEVE ¼A DRM CΘα ONSITERETRIEVE ¼AAP∩ /drm/move/exec.cmds ñC@¿BzeΘú@ CHECKIN LIBVOLUME ⁿOC

ⁿO:

move drmedia * wherestate=vaultretrieve tostate=onsiteretrievecmdfilename=/drm/move/exec.cmdscmd="checkin libvol lib8mm &vol status=scratch"

query actlog search="MOVE DRMEDIA"

ΘX:

08/13/1999 09:12:24 ANR0984I MOVE DRMEDIA 15 w≤ 09:12:24 bIC08/13/1999 09:12:24 ANR0610I MOVE DRMEDI

15C08/13/1999 09:12:24 ANR6684I MOVE DRMEDIA: wRú CSTP01 eΘC08/13/1999 09:12:24 ANR6684I MOVE DRMEDIA: wRú CSTP02 eΘC08/13/1999 09:12:24 ANR6684I MOVE DRMEDIA: wRú DBTP10 eΘC08/13/1999 09:12:24 ANR6684I MOVE DRMEDIA: wRú DBTP11 eΘC08/13/1999 09:12:27 ANR6682I MOVE DRMEDIA ⁿO⌠G@Bz4 eΘC08/13/1999 09:12:42 ANR0611I MOVE DRMEDIA HSIAO ¿

ANR0611I MOVE DRMEDIAC08/13/1997 09:12:42 bI⌡µ MOVE DRMEDIA

ANR0985I 15BzF 4 AΣ¿¼A SUCCESSA¿íO 09:12:42C

MOVE DRMEDIA b /drm/move/exec.cmds ñⁿOG

heckin libvol lib8mm CSTP01 status=scratchcheckin libvol lib8mm CSTP02 status=scratchcheckin libvol lib8mm DBTP10 status=scratchcheckin libvol lib8mm DBTP11 status=scratch

: YnBz CHECKIN LIBVOLUME ⁿOAoX MACRO ⁿOAH

/drm/move/exec.cmds ¿WC

÷ⁿO

ϕ 140. P MOVE DRMEDIA ÷ⁿO

ⁿO í

BACKUP DB N TSM Ωw≈seΘC

BACKUP STGPOOL ≈@DxsxsC

CANCEL PROCESS °I°ABzC

CHECKOUT LIBVOLUME NxseΘXíwC

DISMOUNT VOLUME ÷eΘWúⁿBiúeΘC

PREPARE pC

QUERY ACTLOG π°AíΘxTºC

QUERY DRMSTATUS π DRM tC

MOVE DRMEDIA

348 4.2

Page 375: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

ϕ 140. P MOVE DRMEDIA ÷ⁿO (≥)

ⁿO í

QUERY PROCESS πI÷ΩTC

QUERY DRMEDIA πNeΘ÷ΩTC

SET DRMCOPYSTGPOOL ⁿwxsO DRM zC

SET DRMCOURIERNAME ⁿwNCΘWC

SET DRMDBBACKUPEXPIREDAYS ⁿwΩw≈tCLºhC

SET DRMVAULTNAME ⁿwxs DRM CΘxWC

SET DRMCMDFILENAME ⁿw@W]t DRM i⌡µⁿOC

SET DRMFILEPROCESS ⁿw MOVE DRMEDIA QUERY DRMEDIA

ⁿOO BzPm¼÷C

SET DRMNOTMOUNTABLENAME ⁿwna DRM CΘºmWC

MOVE DRMEDIA

349Tivoli Storage Manager for HP-UX zΓU

5.

z

ⁿO

Page 376: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

MOVE GRPMEMBER]°As¿oⁿONY°Asñ¿t@°AsCpGz¿M

sµ¿πPWAhⁿOóC

MvO

pGnoXoⁿOA'πtMvC

yk

MOVe GRPMEMber member_name from_group to_group

member_name]n

ⁿwn¿]°A°AsC

from_group]n

ⁿXeP¿÷°AsC

to_group]n

¿ⁿws°AsC

d

@

N¿ PAYSON q REGION1 s REGION2 sC

ⁿO: move grpmember payson region1 region2

÷ⁿO

ϕ 141. P MOVE GRPMEMBER ÷ⁿO

ⁿO í

DEFINE GRPMEMBER wq°A@Y°As¿C

DEFINE SERVERGROUP wqs°AsC

DELETE GRPMEMBER °AsRúY°AC

DELETE SERVERGROUP Rú°AsC

QUERY SERVER π°A÷ΩTC

QUERY SERVERGROUP π°As÷ΩTC

RENAME SERVERGROUP ≤°AsWC

UPDATE SERVERGROUP ≤s°AsC

MOVE GRPMEMBER

350 4.2

Page 377: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

MOVE MEDIA]sxsCΘoⁿOzíxsCoⁿOA≤ííCΘwzºs

DnHxseΘCCΘwú'wíCiPBz@hsx

seΘC TSM ΩwlwgoⁿOCΘC

DAYS ⁿwnXAeΘC OVERFLOW LOCATION O²ºCΘxsΘmC

oⁿOúi QUERY PROCESS ⁿO°I⌡µBzCn°⌡µAoX CANCEL PROCESS ⁿOC

nPⁿOO ¿\AoX QUERY ACTLOG ⁿO°ADxC

MOVE MEDIA ⁿOúBz MOVE DRMEDIA ⁿOaeΘC

÷≤ΣLΩTA\ zΓUC

MvO

pGnoXoⁿOAz'πUCΣñ@MvOG

¶ pGⁿwF CMD ABN REQSYSAUTHOUTFILE °A∩]w NOG

h'π@BL¡εxsΘtMvC

¶ pGⁿwF CMD ABN REQSYSAUTHOUTFILE °A∩]w YES]w]G h'πtMvC

yk

MOVe MEDia volume_name STGpool = pool_name

Zß = days

WHERESTate = MOUNTABLEInlib

MOUNTABLENotinlib

,

WHERESTATUs = FULlFILlingEMPty

ACCess = READWriteREADOnly

MOVE MEDIA

351Tivoli Storage Manager for HP-UX zΓU

5.

z

ⁿO

Page 378: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

OVFLOcation = location

REMove = Yes

REMove = NoYesBulk

CMd = ″command″

CMDFilename = file_name

APPend = No

APPend = NoYes

CHECKLabel = Yes

CHECKLabel = YesNo

volume_name]n

ⁿwnBzºsDnxseΘWCziHUrⁿw

WCtBzeΘC

STGpool]n

ⁿw∩BzeΘsDnxsWCziHU

rⁿwWCtBzXxsCpGíCΘw*zⁿw

xsANúBz⌠≤eΘC

DaysⁿXϕeΘ@ggJ¬ßA'gLh#AeΘ!AX MOVE MEDIA ⁿOBzC∩C zi 0 9999 ºíⁿw@C w] 0C]NOeΘWgJ¬ΘpΓgC

WHERESTateⁿwnBzºeΘµ¼ACo≤NBz¡εbⁿw¼AUeΘC

∩C w] MOUNTABLEINLIBC

iαG

MOUNTABLEInlibNxseΘq MOUNTABLEINLIB ¼Aα¿ MOUNTABLENOTINLIB ¼ACB≤ MOUNTABLEINLIB ¼AñeΘ]tFΩAB≤wñC

MOUNTABLENotinlibⁿwNxseΘq MOUNTABLENOTINLIB ¼A MOUNTABLEINLIB ¼ACB≤ MOUNTABLENOTINLIB¼AñeΘiα]tΩAB≤XmñC

YOeΘA MOVE MEDIA ⁿORúeΘO²AoªiH½C

MOVE MEDIA

352 4.2

Page 379: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

YOMeΘA MOVE MEDIA ⁿONeΘm½] (BNeΘ¼A≤ CHECKINAMßNW≤sΘ≤µΘC

YOπΩeΘA MOVE MEDIA ⁿONeΘm½] (BNeΘ¼A≤ CHECKINAMßNW≤sΘ≤µΘC

: B≤ CHECKIN ¼AñeΘiα]tΩA'NªJwñC

WHERESTATUsⁿwBzⁿeΘ¼A¡εC∩C zibCⁿw@HW

¼AAΦkOrIjC@¼AABñíúíJ (CpGzSⁿXo

Aq MOUNTABLEINLIB ¼A¿ MOUNTABLENOTINLIB ¼AeΘ¡≤wíeΘFq MOUNTABLENOTINLIB ¼A¿ MOUNTABLEINLIB ¼AeΘ¡≤ eΘC

iαG

FULlⁿwnπ FULL ¼AeΘC

FILlingⁿwnπ FILLING ¼AeΘC

EMPtyⁿwnπ EMPTY ¼AeΘC

ACCessⁿwtnp≤s MOVE MEDIA ⁿOqíwXAMßxsbXmñxseΘñC∩C pGz*ⁿX

AhϕzNeΘq MOUNTABLEINLIB ¼A¿ MOUNTABLENOTINLIB ¼AANeΘsí≤s R E A D O N L YFϕzNeΘqMOUNTABLENOTINLIB ¼A¿ MOUNTABLEINLIB ¼AANeΘsí≤s READWRITEC

iαG

READWriteⁿwPtiH¬gJxsb≤XmeΘWCp

GⁿwoAb¬gJ@neΘATSM nDNeΘJwC

READOnlyⁿwPtuα¬xsb≤XmeΘWCϕ¬@

neΘA TSM nDNeΘJwC

OVFLOcationⁿwXmA@BzeΘºaCmW°W¡ 255 rCpGmWΩTñt⌠≤ (rAh'H' AϕCpGzSⁿwXmA

xs]SO⌠≤XmAh TSM NwhXeΘm≤ rΩ

]″″C

MOVE MEDIA

353Tivoli Storage Manager for HP-UX zΓU

5.

z

ⁿO

Page 380: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

REMoveⁿw TSM O nNeΘqwhXC∩C w] YESCiαG

YesⁿwqwhXeΘCeΘn²q TSM wwsRúC∩b

íwWC

Noⁿwúnq SCSI CΘwhXeΘCo∩u≤ SCSI CΘwCo∩q TSM wwsñRúeΘn²ABNeΘOdbΣCREMOVE=NO∩úA≤ 349X CΘwC∩≤ 349X CΘwAYb MOVE MEDIAⁿOⁿw REMOVE=NOA]hXwñeΘC REMOVE=NO ∩úA≤w¼ EXTERNALC

Bulko∩úA≤ EXTERNAL w¼C

¶ 349X CΘwGⁿwNeΘhXwñw²wq¬eqAD I/O u@C

¶ πhuiXv≡ SCSI CΘwG ⁿwNeΘhXU@iui

Xv≡CoX@hTºAⁿXb@ΦK@UAN

aeΘq Bulk I/O u@úCtúúoX REPLY ⁿOCbuiXv≡wíºßAaXdbªlΩµñABoX@

hTºAⁿXF@ΦKANaeΘqªlΩµúhCo

hTºúlΩµ XAbYwñiαn∩Mϕ

!αOªCpGzúthuiXv≡ SCSI CΘwⁿwoAhTSM NeΘOdbªlΩµñC

CMdⁿwi⌡µⁿOC∩C z'' AzⁿO]wCⁿO]w

j° 255 rC ∩≤ MOVE MEDIA ⁿOQBzC@eΘA TSMúN÷ⁿOgJñC CMDFILENAMEⁿwWC pGzSⁿwWA MOVE MEDIA ⁿOb TSM °A²ß[ ″exec.cmds.media″rΩAHú@w]WC

pGgⁿO°WX 255 rAY¿µAñíHs≥r + sCziα ⌡µoⁿOºúnDA∩s≥rC

pGzSⁿw CMDAMOVE MEDIA ⁿONúú⌠≤i⌡µⁿOC

stringⁿwrΩm@i⌡µⁿOCziⁿw⌠≤µírΩσrCN

πrΩH' AϕCpAUCO@i⌡µⁿO]wG

CMD="UPDATE VOLUME &VOL"

UCLi⌡µWµ:

CMD=""UPDATE VOLUME" &VOL"

substitutionⁿw@A²ⁿOªN@CiNG

MOVE MEDIA

354 4.2

Page 381: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

&VOLⁿwnH &VOL NeΘWCziⁿwpgrA &volC″«″B & M

VOL ºíúe\ µd(CpG ″«″ M VOL ºí µd(AMOVE MEDIA ⁿONªϕ¿rΩAú]wNrCpG*ⁿw

&VOLAheΘWNú]wbi⌡µⁿOñC

&LOCⁿwnH &LOC NeΘCziⁿwpgrA &locC & P LOC ºíúα í (C pG ″«″ M LOC ºí µd(A MOVEMEDIA ⁿONª°rΩAú]wNrCpG*ⁿw &LOCAhmWNú]wbi⌡µⁿOñC

&VOLDSNⁿwnH &VOLDSN NeΘWCpA TSM.BFS NOw]r TSM xsaeΘWCpG*ⁿw &VOLAheΘWNú]wbi⌡µⁿOñC

&NLⁿwnH &NL NsµrCpGⁿw &NLA MOVE MEDIA ⁿOb&NL bmNⁿOABú[⌠≤s≥rCb &NLºeⁿwAϕs≥rCτtdgJrµ°CpG*ⁿw &NLA@,ⁿOµ°WX 255 rAY¿µAñíHs≥r ″+″ sA²ß@µúC

CMDFilenameⁿwπ⌠WAΣñ]tH CMD ⁿwⁿOC∩C Wj° 1279 rCpGzSⁿwWA MOVE MEDIA ⁿOb TSM°A²ß[ ″exec.cmds.media″ rΩAHú@w]WC°A²MwpUG

1. pGwwqAO DSMSERV_DIR ⌠ⁿV²C

2. pGSwq DSMSERV_DIR ⌠AhO TSM °Aµu@

²C

MOVE MEDIA ⁿOtmⁿwúWCpGWwsbAziHAPPEND=YES [JC hAQgCpGNgABzn⌡µñⁿOAoX QUERY MEDIA ⁿOAQneΘ½smi⌡µⁿOCtmⁿOßpG MOVE MEDIA ó AúQRúC

APPendⁿwngJⁿOΩYCw] NOCiαG

NoⁿwⁿOYgJΩCpGwⁿOwsbAhgΣeC

Yesⁿwn[ⁿOAΦkOgJⁿOΩC

MOVE MEDIA

355Tivoli Storage Manager for HP-UX zΓU

5.

z

ⁿO

Page 382: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

CHECKLabelⁿw TSM O ¬CΘeΘCYO SCSI mAziHNCHECKLabel ]w NOϕεdCoúA≤ 349X CΘwC∩C w] NOCiαG

Yesⁿw TSM n¬CΘC¬CΘτXTeΘC

Noⁿw TSM ún¬CΘCoW[αA]¬úoC

d

@ 1

N ARCHIVE DxsñwíeΘA$íXwC

ⁿO: move media * stgpool=archive

@ 2

ONSITE.ARCHIVE DxsHxsbXm Room 2948/Bldg31 ñwííwíeΘú CHECKIN LIBVOLUME ⁿOC

ⁿO:

move media * stgpool=onsite.archivewherestate=mountablenotinlib wherestatus=full,fillingovflocation=room2948/bldg31 cmd="checkin libvollib3494 &vol status=private"cmdfilename=/TSM/move/media/checkin.vols

ΘX: MOVE MEDIA b /TSM/move/media/checkin.vols i⌡µⁿOG

------------------------------------------------------------------checkin libvol lib3494 TAPE04 status=privatecheckin libvol lib3494 TAPE13 status=privatecheckin libvol lib3494 TAPE14 status=private------------------------------------------------------------------

: oX TSM MACRO ⁿO /TSM/move/media/checkin.vols @¿WA⌡µ CHECKIN LIBVOLUME ⁿOC

÷ⁿO

ϕ 142. P MOVE MEDIA ÷ⁿO

ⁿO í

QUERY MEDIA π MOVE MEDIA ⁿOºxseΘ

÷ΩTC

MOVE MEDIA

356 4.2

Page 383: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

NOTIFY SUBSCRIBERS]qz°A≤s]wbtmzíWoⁿOq@hⁿz°AAnDY½sπzª

tmΩTC

MvO

pGnoXoⁿOA'πtMvC

yk

NOTIfy SUBSCRIBers

,

PROFIle = profile_name

PROFIle]n

ⁿX]wWC]wⁿz°AúQqCziHU

rⁿwh]wCpGnⁿwh]wAHr jWABºíú

i µC

d

@

qⁿW DELTA ]wⁿz°AAnD≤stmΩTC

ⁿO: notify subscribers profile=delta

÷ⁿO

ϕ 143. P NOTIFY SUBSCRIBERS ÷ⁿO

ⁿO í

DEFINE SUBSCRIPTION ²ⁿz°A]wC

DELETE SUBSCRIBER Rúw@oⁿz°AC

DELETE SUBSCRIPTION Rúⁿw]wC

QUERY SUBSCRIBER πPΣ∩]wº÷ΩTC

QUERY SUBSCRIPTION π]w÷ΩTC

SET CONFIGMANAGER ⁿX°AO tmzíC

SET CONFIGREFRESH ⁿwz°Aptmzíºíí

jC

NOTIFY SUBSCRIBERS

357Tivoli Storage Manager for HP-UX zΓU

5.

z

ⁿO

Page 384: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

PING SERVER]°AísuoⁿO°AP°AºísuC

i: z]'b°AWAwqoXoⁿOzqWPKXC

MvO

pGnoXoⁿOA'πtMvC

yk

PING SERVER server_name

server_name]n

ⁿw°AWC

d

@

P°A FRED suC

ⁿO: ping server fred

÷ⁿO

ϕ 144. P PING SERVER ÷ⁿO

ⁿO í

DEFINE SERVER wqu°A∩°AvqH°AC

QUERY SERVER π°A÷ΩTC

PING SERVER

358 4.2

Page 385: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

PREPARE]@poⁿOH@pAñt TSM °AΩTCziHNpxsb TSM °AitñAO TSM °AWC

ziH QUERY ACTLOG ⁿOd PREPARE ⁿOO ⌡µ¿\C z]iHq°ADx°oΩTApG WAIT Ñ≤ YES AKiHqzqÑq@ñ°C

MvO

pGnoXoⁿOA'πtMvC

yk

PrepareSource = DBBackup

Source = DBBackupDBSnapshot

DEVclass = device_class_name

PLANPrefix = prefix INSTRPrefix = prefix

,

COPYstgpool = pool_name

,

PRIMstgpool = pool_name

Wait = No

Wait = NoYes

Sourceⁿw TSM búpAw]Ωw≈tC¼C∩C w]O DBBACKUPC∩]AG

DBBackupⁿX TSM ]±πHWíΩw≈tCC

DBSnapshotⁿw TSM ]±Ωw Snapshot ≈tCC

DEVclassⁿXNp½≤≤°AWAmOWCm

O'π SERVERm¼C

PREPARE

359Tivoli Storage Manager for HP-UX zΓU

5.

z

ⁿO

Page 386: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

: mOjeq'WLpjpCpGpjpWLjeqAhⁿOó C

]t°AWpOs½≤RWDG

íWG ADSM.SERVER

¬Ñ¡wG devclassprefix/servername.yyyymmdd.hhmmss

CÑ¡wG RPF.OBJ.1

b °AeΘϕñAO²pΩeΘWµíG

servername.yyyymmdd.hhmmssC

pGSⁿw DEVCLASS AN pr ANpgJñC

pGⁿww] SOURCE=DBBACKUPApeΘⁿwRPFILE eΘ¼CpGⁿw SOURCE=DBSNAPSHOTAeΘⁿwRPFSNAPSHOT eΘ¼C

PLANPrefixⁿXpWñ⌠Wr C°jO 250 rC∩C

TSM br [iΘPíµí yyyymmdd .hhmmssCpG19971115.051421C

r iHOUCΣñ@G

¶ ²⌠GHu]/@r CpG

PLANPREFIX=/adsmsrv/recplans/

úWpUG

/adsmsrv/recplans/19971115.051421

¶ ß≥rΩ²⌠G TSM NrΩ°W@íCpG

PLANPREFIX=/adsmsrv/recplans/accounting

úWpUG

/adsmsrv/recplans/accounting.19971115.051421

NΘPíeyIC

¶ rΩG TSM ⁿw²⌠CTSM HUC@ ΦíP²⌠G

v pGwq DSMSERV_DIR ⌠G

TSM o⌠ⁿ²C pADSMSERV_DIR ⌠ⁿV/adsmsrv/recplansAzⁿwUCG

PLANPREFIX=shipping

úWpUG

/adsmsrv/recplans/shipping.19971115.051421

PREPARE

360 4.2

Page 387: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

NΘPíeyIC

v *wq DSMSERV_DIR ⌠G

TSM µu@²WC pAµu@²O /opt/adsmserv/binABzⁿwUCG

PLANPREFIX=shipping

úWpUG

/opt/adsmserv/bin/shipping.19971115.051421

NΘPíeyIC

pGSⁿw PLANPREFIX Ah TSM HUC@ Φí∩Xr G

¶ pGwgoX SET DRMPLANPREFIX ⁿOG

TSM ⁿOñⁿwr C

¶ pG *oX SET DRMPLANPREFIX ⁿOA²Owgwq DSMSERV_DIR ⌠G

TSM ⌠ⁿV²CpADSMSERV_DIR ⌠OⁿVUo²G

/adsmsrv/recplans

úWpUG

/adsmsrv/recplans/19971115.051421

¶ pG *oX SET DRMPLANPREFIX ⁿOABSwq DSMSERV_DIR ⌠G

TSM µu@²²⌠WCpAµu@²pUG

/opt/adsmserv/bin

úWpUG

/usr/lpp/adsmserv/bin/19971115.051421

/opt/adsmserv/bin/19971115.051421

INSTRPrefixⁿw TSM ΣX]tⁿ⌠Wr Cj°O 250 r

: ⁿ'bΣ°WtWC

r iHOUCΣñ@G

¶ ²⌠GHu]/@r CpG

INSTRPREFIX=/adsmsrv/recinstr/

/adsmsrv/recinstr/RECOVERY.INSTRUCTIONS.GENERAL

¶ ß≥rΩ²⌠G TSM NrΩ°W@íCpG

INSTRPREFIX=/adsmsrv/recinstr/accounts

PREPARE

361Tivoli Storage Manager for HP-UX zΓU

5.

z

ⁿO

Page 388: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

T S M [Aϕp] s t a n z aWC YO

RECOVERY.INSTRUCTIONS.GENERAL AúWOG

/adsmsrv/recinstr/accounts.RECOVERY.INSTRUCTIONS.GENERAL

¶ rΩG TSM ⁿw²⌠[AϕpWC TSM H

UC@ ΦíP²⌠G

v pGwq DSMSERV_DIR ⌠G

TSM o⌠ⁿ²C pADSMSERV_DIR ⌠ⁿV/adsmsrv/recinstrAzⁿwUCG

INSTRPREFIX=shipping

YO RECOVERY.INSTRUCTIONS.GENERAL AúWOG

/adsmsrv/recinstr/shipping.RECOVERY.INSTRUCTIONS.GENERAL

v pG*wq DSMSERV_DIR ⌠G

TSM µu@²WC pAµu@²O /opt/adsmserv/binABzⁿwUCG

INSTRPREFIX=shipping

YO RECOVERY.INSTRUCTIONS.GENERAL AúWOG

/opt/adsmserv/bin/shipping.RECOVERY.INSTRUCTIONS.GENERAL

pGzSⁿw INSTRPREFIX ATSM HUC@ Φí∩r G

¶ pGwgoX SET DRMINSTRPREFIX ⁿOATSM ⁿOñⁿwr C

¶ pG *oX SET DRMINSTRPREFIX ⁿOA²Owgwq DSMSERV_DIR ⌠Ah TSM ⌠ⁿV²C

pADSMSERV_DIR ⌠ⁿVUC²G/adsmsrv/recinstrCYORECOVERY.INSTRUCTIONS.GENERAL AúWOG

/adsmsrv/recinstr/RECOVERY.INSTRUCTIONS.GENERAL

¶ pG *oX SET DRMINSTRPREFIX ⁿOABSwq DSMSERV_DIR ⌠Ah TSM µu@²C

pApGµu@²O /opt/adsmserv/binA∩ RECOVERY.INSTRUCTIONS.GENERAL ÑAGWOG

/opt/adsmserv/bin/RECOVERY.INSTRUCTIONS.GENERAL

PRIMstgpoolⁿwznDxsWCr NxsWjAñíúd µCzi

HUrC pGSⁿwoAh TSM HUCΦí∩xsG

¶ pGwgoX SET DRMPRIMSTGPOOL ⁿOATSM JⁿOñⁿWD

xsC

¶ pG *oX SET DRMPRIMSTGPOOL ⁿOATSM JDxsC

COPYstgpoolⁿw≈znDxsxsW]\ PRIMSTGPOOLC

PREPARE

362 4.2

Page 389: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

r NxsWjAñíúd µCziHUrC pGSⁿwo

Ah TSM HUCΦí∩xsG

¶ pGwgoX SET DRMCOPYSTGPOOL ⁿOATSM JoxsC

¶ pG *oX SET DRMCOPYSTGPOOL ⁿOATSM JxsC

WaitⁿwbIeBzoⁿOC

NoⁿwIBzCw]C

YesⁿweBzC

: zúαq°ADxⁿw YESC

d

@

oX PREPARE ⁿOAdíΘxAHdGC

ⁿOG

preparequery actlog search=prepare

ΘX:

05/03/1998 12:01:13 ANR0984I PREPARE 3≤ 12:01:13 bIC

05/03/1998 12:01:13 ANR6918W PREPARE: ⁿ/home/guest/drmtest/prepare/tservr/DSM1509/RECOVERY.INSTRUCTIONS.DATABASEC

05/03/1998 12:01:13 ANR6918W PREPARE: ⁿ/home/guest/drmtest/prepare/tservr/DSM1509/RECOVERY.INSTRUCTIONS.STGPOOLC

05/03/1998 12:01:13 ANR6913W PREPARE: xs CSTORAGEPSM ñAΣú⌠≤t≈ΩeΘC

05/03/1998 12:01:13 ANR6913W PREPARE: xs CSTORAGEPSM ñAΣú⌠≤t≈ΩeΘC

05/03/1998 12:01:14 ANR6920W PREPARE: ∩≤ ADSM m¼ 8MM ÑAW BACK4X@ ∩m¼ÑLleΘWGBACK4XC]standzaOPRIMARY.VOLUMES.REPLACEMENT ¿C

05/03/1998 12:01:14 ANR6900I PREPARE:p/home/guest/drmtest/prepare/plandir/DSM1509/r.p.19980503.120113 wC

05/03/1998 12:01:14 ANR0985I ⌡µ≤IU PREPARE 3Aw≤ 12:01:14 Q¿A¿¼AO SUCCESSC

PREPARE

363Tivoli Storage Manager for HP-UX zΓU

5.

z

ⁿO

Page 390: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

÷ⁿO

ϕ 145. P PREPARE ÷ⁿO

ⁿO í

DELETE VOLHISTORY eΘúheΘΩTC

QUERY DRMSTATUS π DRM tC

QUERY RPFCONTENT πpeC

QUERY RPFILE πp÷ΩTC

QUERY SERVER π°A÷ΩTC

QUERY VOLHISTORY πHg°A¼eΘΩTC

SET DRMCOPYSTGPOOL ⁿwxsO DRM zC

SET DRMINSTRPREFIX ⁿwpⁿ⌠Wºr í≈C

SET DRMPLANVPOSTFIX ⁿwpñNeΘWC

SET DRMPLANPREFIX ⁿwp⌠Wºr í≈C

SET DRMPRIMSTGPOOL ⁿwDxs DRM zC

SET DRMRPFEXPIREDAYS ]wpLhC

UPDATE VOLHISTORY sW≤eΘñeΘmΩTC

PREPARE

364 4.2

Page 391: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

QUERY ACTLOG]díΘxoⁿOπ°AúTºCoⁿOúzúPLo∩Ai¡

επTºqH¡εBzdßíCpGzSboⁿOWⁿw⌠≤

Ahπbe@púTºC

íΘx]tb@δ@Ue°ADxTºCb°ADxΘJⁿ

OúGúO²bíΘxñAúDⁿOvTIBzqÑ

q@!O²CTºπbíΘxñC

: zúα DEFINE SCHEDULE ⁿOw QUERY ACTLOG ⁿOC

MvO

⌠≤zíiHoXⁿOC

yk

Query ACtlogBEGINDate = current_date

BEGINDate = date

BEGINTime = currenttime_minus_1_hour

BEGINTime = time

ENDDate = current_date

ENDDate = date

ENDTime = current_time

ENDTime = time MSGno = message_number

Search = string

ORiginator = ALL

ORiginator = ALLSErverCLient A

A:

NODEname = node_name OWNERname = owner_name

SCHedname = schedule_name DOmainname = domain_name

SESsnum = session_number

QUERY ACTLOG

365Tivoli Storage Manager for HP-UX zΓU

5.

z

ⁿO

Page 392: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

BEGINDateⁿwnπTºíd≥lΘCboΘºßoBXíd≥

hTºíπCw]bΘC∩C

ziHUCΣñ@ⁿwΩG

í d

MM/DD/YYYY SwΘ 09/15/1998

TODAY µΘ TODAY

TODAY-days -days µΘεhⁿwΘCziH

ⁿwjΘO 9999C

TODAY -7 -7C

pGnq@PHeTºlπΩ

TAⁿw BEGINDATE=TODAY-7

BEGINDATE= -7C

BEGINTimeⁿwnπTºíd≥líCboíºßoBXíd≥

hTºíπCpGzSⁿwíAhπbe@poT

ºC

ziHUCΣñ@ⁿwΩG

í d

HH:MM:SS ⁿwlΘSwí 10:30:08

NOW ⁿwlΘµí NOW

NOW+HH:MM

+HH:MM

µí[WⁿwlΘp

M

NOW+03:00 +03:00C

pGzb 9:00 oXoⁿOABⁿw

BEGINTIME=NOW+3

BEGINTIME=+3A TSM πbⁿwΘ

12:00 ºßO²C

NOW-HH:MM

-HH:MM

µíεhⁿwlΘp

M

NOW-04:00 -04:00C

pGzb 9:00 oX QUERY ACTLOG ⁿ

OABⁿw BEGINTime=NOW-3:30

BEGINTime= -3:30A ADSM πl

Θ 5:30 ºßO²C

ENDDateⁿwnπTºíd≥⌠ΘCbΘºeoBXíd≥≥

TºíπCpGzSⁿwoAhµΘC∩C

ziHUCΣñ@ⁿwΩG

í d

MM/DD/YYYY SwΘ 09/15/1998

TODAY µΘ TODAY

QUERY ACTLOG

366 4.2

Page 393: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

í d

TODAY-days

-days

µΘεhⁿwΘCziH

ⁿwjΘO 9999C

TODAY-1 -1C

pGnπQεúΩTAiHⁿw

ENDDATE=TODAY-1 ⁿw ENDDATE=

-1C

ENDTimeⁿwnπTºíd≥⌠íCboíºeoBXíd≥

hTºíπCpGzSⁿwoAhπoXⁿOºeTºC

∩C

ziHUCΣñ@ⁿwΩG

í d

HH:MM:SS ⁿw⌠ΘSwí 10:30:08

NOW ⁿw⌠Θµí NOW

NOW+HH:MM

+HH:MM

µí[Wⁿw⌠Θp

M

NOW+03:00 +03:00C

pGzb 9:00 oXoⁿOABⁿw

ENDTIME=NOW+3:00 ENDTIME=

+3:00A TSM πbⁿw⌠Θ 12:00

ºßO²C

NOW-HH:MM

-HH:MM

µíεhⁿw⌠Θp

M

NOW-03:30 -03:30C

pGzb 9:00 oXoⁿOABⁿw

ENDTIME=NOW-3:30 ENDTIME=

-3:30A TSM πbⁿw⌠Θ 5:30

ºßO²C

MSGnoⁿw@πHwqíΘxπXTº XCTºrí≈Ar ú

ANR OTº¼r]τYAIBWBEBS DC∩C

SearchⁿwznbíΘxñjMrΩϕíCpGrΩϕí]t µA' A

ϕªCziHUrⁿworΩC∩C

ORiginatorⁿwdnπ°ABqΓO²TºCw] ALLCiαG

ALLⁿwdnπ°AqTºC

SErverⁿwdnπ°ATºC

CLientⁿwdnπqTºC

ziHⁿwUCΣñ@AHKbdíΘxoqOⁿTº

ANBzíYε#C

QUERY ACTLOG

367Tivoli Storage Manager for HP-UX zΓU

5.

z

ⁿO

Page 394: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

NODEnameⁿwdnπoIO²TºCpGz*ⁿwA≥π

ITºC

OWNERnameⁿwdnπSwO²TºCpGz*ⁿwA≥

πTºC

SCHednameⁿwdnπSwqíO²TºCpGz*ⁿwA

≥πϕTºC

DOmainnameⁿwdnπⁿWϕSwhΓO²TºC

∩AúDzⁿwϕWC

SESsnumⁿwdnπqSwqÑq@ XO²TºCpGzSo

ⁿw@ANπqÑq@TºC

d

@ 1

bíΘxñjM⌠≤]tyRúzrΩTºCΘX]tbLhpñúT

ºC

ⁿO: query actlog search=delete

ΘX:

Θ/í Tº-------------------- -------------------------------------------------08/27/1998 15:19:43 ANR0812I wsqLΘ

w¿G0 wRúC

@ 2

πQb 9:30 M 12:30 ºíoTºC

ⁿO:

query actlog begindate=today-1begintime=09:30:00 endtime=12:30:00

ΘX:

QUERY ACTLOG

368 4.2

Page 395: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

Θ/í Tº-------------------- -------------------------------------------------10/21/1998 10:52:36 ANR0407I Ñq@ 3921 wz ADMIN

]WebBrowser]HTTP 9.115.20.100(2315)C10/21/1998 11:06:08 ANR0405I Ñq@ 3922 wz ADMIN ⌠

]WebBrowserC10/21/1998 12:16:50 ANR0405I Ñq@ 3934 wz ADMIN⌠

]WebBrowserC10/21/1998 12:36:18 ANR2501I ϕ AGADM_TEST wqh

Γ STANDARD RúC

@ 3

jMíΘxñI JEE ºq TSM TºC

ⁿO: query actlog originator=client node=jee

ΘX:

Θ/í Tº-------------------- -----------------------------------------------------06/10/1998 15:46:22 ANE4007E ]Ñq@XG3 IGJEEBz

'/jee/report.out'Gs½≤Q06/11/1998 15:56:56 ANE4009E ]Ñq@XG4 IGJEEBz

'/jee/work.lst': wí¼A

÷ⁿO

ϕ 146. P QUERY ACTLOG ÷ⁿO

ⁿO í

SET ACTLOGRETENTION ⁿwbíΘxñOdΘxO²C

QUERY ACTLOG

369Tivoli Storage Manager for HP-UX zΓU

5.

z

ⁿO

Page 396: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

QUERY ADMIN]πzΩToⁿOπ@hzΩTC

MvO

⌠≤zíiHoXⁿOC

yk

Query ADmin*

admin_name

,

CLasses = SYstemPolicySTorageAnalystOperatorNode

µí = Standard

µí = StandardDetailed

admin_nameⁿwnπΣΩTzWC∩C ziHUrⁿwW

CpGz*ⁿwA≥πzC

CLassesⁿwznNΘX¡επzⁿwMvOzC∩C ziHbC

ñⁿwhMvOAΦkONWHr jABñíS µC pGS

ⁿwoANπzΩTAúMvO≤Ciα

G

SYstemππtMvzΩTC

PolicyππhMvzΩTC

STorageππxsΘMvzΩTC

AnalystππRMvzΩTC

Operatorππ@MvzΩTC

NodeⁿwπqIMvΩTC

QUERY ADMIN

370 4.2

Page 397: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

Formatⁿwp≤πΩTC∩C w] STANDARDCiαG

Standardⁿwπí≈ΩTⁿwzC

DetailedⁿwππΩTⁿwzC

d

@ 1

π÷≤zí≈ΩTC

ⁿO: query admin

ΘX:

z es KX] Ωw? MvOW ß wßSet------------- ----------- ---------- --------- ------------------ADMIN <1 <1 tSERVER_CONSOLE t

!z\@ 2C

@ 2

ⁿz°AñAπ ADMIN zπΩTC

ⁿO: query admin admin format=detailed

ΘX:

QUERY ADMIN

371Tivoli Storage Manager for HP-UX zΓU

5.

z

ⁿO

Page 398: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

zWGADMINesΘ/íG1998.06.04 17.10.52Zß@sG<1KX]wΘ/íG1998.06.04 17.10.52KX]wßG 26

LnJG0ΩwHG

pGtMvGYeshMvG**]AtMv**

xsΘMvG**]AtMv**RMvG**]AtMv**@MvG**]AtMv**

qsMvG**]AtMv**qMvG**]AtMv**n²Θ/íG05/09/1998 23:54:20

n²zGSERVER_CONSOLEz]wG

KX¡G90

ΣñG

zW

ⁿXzWC

esΘ/í

ⁿXzß@s°AΘPíC

Zß@s

ⁿXZzß@s°AC

KX]wΘ/í

ⁿXwqzKXß≤sΘPíC

KX]wß

ⁿXwqzKXe≤sßC

LnJ

ⁿXbe¿\nJßLnJe\CbLKX¡ε] S E TINVALIDPWLIMITj≤sAuαOsHCϕLÑ≤ SETINVALIDPWLIMIT ⁿO]wW¡AzNQΩw≤tºC

ΩwH

ⁿXzO Ωw≤tºC

p

ⁿXzpΩC

tMv

ⁿXzO ≥tMvC

QUERY ADMIN

372 4.2

Page 399: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

hMv

ⁿXzO ≥D¡εhMvAOzi¡εh⌠≤Γ

WC

xsΘMv

ⁿXzO ≥D¡εxsΘMvAOzαz¡εxsΘ⌠≤

xsWC

RMv

ⁿXzO ≥RMvC

@Mv

ⁿXzO ≥@MvC

qsMv

ⁿXwgNqsv¡PπIMvC

qMv

ⁿXwgNqv¡PπIMvC

n²Θ/í

ⁿXz≥n²ΘPíC

n²z

ⁿXn²zzWCpGµt $$CONFIG_MANAGER$$AhzMtmzíz]wú÷pC

z]w

ⁿXⁿz°AFoozwqA]wC

KX¡

ⁿwzKX¡C

÷ⁿO

ϕ 147. P QUERY ADMIN ÷ⁿO

ⁿO í

GRANT AUTHORITY ⁿwMvOzC

QUERY NODE π@hqí≈πΩTC

QUERY STATUS π°A]wAp SET ⁿO∩w

C

REGISTER ADMIN wq@sz*Pzv¡C

REMOVE ADMIN n²zCñúh@zC

RENAME ADMIN ≤ TSM zWC

REVOKE AUTHORITY °@hMvO¡ε∩hΓH

xssvC

SET INVALIDPWLIMIT ]wbzQΩbtºHeAth

α≈ⁿz½XLnJC

SET MINPWLENGTH ]wqKXp°C

QUERY ADMIN

373Tivoli Storage Manager for HP-UX zΓU

|

|

5.

z

ⁿO

Page 400: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

QUERY ASSOCIATION]dqIPϕ÷poⁿOπM@hϕ÷pqI÷ΩTCPϕ÷p

qIi ϕ⌡µ≈Os@C

MvO

⌠≤zúα⌡µo@C

yk

Query ASSOCiation* *

*domain_name

schedule_name

domain_nameⁿwnπhΓWCziHUrⁿwoWCiπ

XhΓWCpGz*ⁿwA≥NdshΓC

pGzⁿwΓWAhúⁿwϕWC

schedule_nameⁿwnπϕWCziHUrⁿwoWCiπX

ϕWCpGz*ⁿwA≥NdsϕC pGzⁿ

w@ϕWAhPⁿw@hΓWC

d

@

πPC@≤ EMPLOYEE_RECORDS Γϕ÷pqIC

ⁿO: query association employee_records *

ΘX:

hΓWGEMPLOYEE_RECORDSϕWGWEEKLY_BACKUPsIGJOE JOHNSON LARRY SMITH SMITHERS TOM

ΣñG

hΓW

ⁿXϕhΓWC

ϕW

ⁿXϕWC

sI

ⁿXPⁿwϕ÷pqIWC

QUERY ASSOCIATION

374 4.2

Page 401: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

÷ⁿO

ϕ 148. P QUERY ASSOCIATION ÷ⁿO

ⁿO í

DEFINE ASSOCIATION NqPϕ÷pC

DELETE ASSOCIATION RúqPϕºísC

QUERY ASSOCIATION

375Tivoli Storage Manager for HP-UX zΓU

5.

z

ⁿO

Page 402: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

QUERY AUDITOCCUPANCY ]dqIxsΘqoⁿOπqI°AxsΘq÷ΩTCpGnq°Aπ

µv]ΩTAboX QUERY AUDITOCCUPANCY ⁿOeA² AUDITLICENSE ⁿOC

: bv]@ñA°ApΓUIñ≈BOs ízxsΘqC°ApzjqΩApΓLN+jq CPU íAP] Σª°AíCzi AUDITSTORAGE °A∩AⁿwúnNxsΘΓ@v]@íC

ziHodoΩTAPqIxsΘqO n¡ AHb

¡ CoΩT]α≤UzVxsΘq¼OC

MvO

⌠≤zíiHoXⁿOC

yk

Query AUDITOccupancy

,

node_name

,

DOmain = domain_name

POoltype = ANY

POoltype = ANYPRimaryCOpy

node_nameⁿw@≈ICAHπ°AxsΘΩTCⁿw@HWIAiQ

r jIWABºíúi µCziHUrⁿwWCw

]]*OdqIC DOMAIN hΓ¡εo≈CC∩C

DOmainⁿwiπIhΓ¡εCC≤ⁿwhΓIπXCⁿw

@HWhΓAiQr jhΓWABºíS⌠≤ µC

ziHUrⁿwWC∩C

POoltypeⁿwnπxsxsΘ¼C∩C w] ANYCiαG

ANYⁿwDnxsΓCπOΓxsMC

QUERY AUDITOCCUPANCY

376 4.2

Page 403: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

PRimaryⁿwDxsC

COpyⁿwxsC

d

@

πDnPxsXxsΘqC

ⁿO: query auditoccupancy

ΘX:

vΩTA05/22/1996 14:49:51ß@]HCqIW w w w w

≈ Os íz xxsΘ]MBxsΘ]MBxsΘ]MB sΘ]MB

--------------------- --------- ---------- ------------ ---------q 245 20 0 265SMITH 245 20 0 265SMITHERS 245 20 0 265JOHNSON 300 15 0 320JOE 245 20 0 265TOM 300 15 0 320LARRY 245 20 0 265

ΣñG

qIW

ⁿXqIWC

w≈xsΘ]MB

ⁿXIp≈xsΘ]H MB µC

wOsxsΘ]MB

ⁿXIpOsxsΘ]H MB µC

wízxsΘ]MB

ⁿXs±qIαº°AxsΘq]H MB µC

wxsΘ]MB

ⁿXIxsΘ]H MB µC

÷ⁿO

ϕ 149. P QUERY AUDITOCCUPANCY ÷ⁿO

ⁿO í

AUDIT LICENSES dO wwqvC

QUERY LICENSE πvH]÷ΩTC

QUERY AUDITOCCUPANCY

377Tivoli Storage Manager for HP-UX zΓU

5.

z

ⁿO

Page 404: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

ϕ 149. P QUERY AUDITOCCUPANCY ÷ⁿO (≥)

ⁿO í

QUERY STATUS π°A]wAp SET ⁿO∩w

C

REGISTER LICENSE ∩ TSM °An²svC

SET LICENSEAUDITPERIOD ⁿwv]ºíC

QUERY AUDITOCCUPANCY

378 4.2

Page 405: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

QUERY BACKUPSET]d≈oⁿOπ@h≈÷ΩTC

MvO

⌠≤zíiHoXⁿOC

yk

Query BACKUPSET

*

,

node_name

*

,

backup_set_name

BEGINDate = date BEGINTime = time ENDDate = date

ENDTime = time WHERERETention = days

NOLimit

WHEREDESCription = description WHEREDEVice = device_class_name

node_nameⁿwΣΩ]tbnπ≈ñqIWCzⁿwIWiH]

tUrCziHⁿw@HWIWAΦkOQr jWAB

ºíúi µC

backup_set_nameⁿwnπΣΩT≈WCzⁿw≈WiH]tUrCziH

ⁿw@HW≈WAΦkOQr jWABºíúi µC

BEGINDateⁿwnπ≈'Θd≥lΘC∩C ziHNo

M BEGINTIME @AⁿwΘMíd≥C pGzⁿwFlΘA²SⁿwlíAíNOⁿwΘ9] 12 IC

ziHUCΣñ@ⁿwΘG

í d

MM/DD/YYYY SwΘ 09/15/1999

TODAY µΘ TODAY

TODAY+days

+days

µΘ[WⁿwΘC TODAY +3 +3C

TODAY-days

-days

µΘεhⁿwC TODAY -3 -3C

QUERY BACKUPSET

379Tivoli Storage Manager for HP-UX zΓU

5.

z

ⁿO

Page 406: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

BEGINTimeⁿwnπ≈'íd≥líC ∩C ziHNo

M BEGINDATE @AⁿwΘMíd≥C pGzⁿwlíSlΘAhzⁿwíΘOΘC

ziHUCΣñ@ⁿwΘG

í d

HH:MM:SS Swí 10:30:08

NOW µí NOW

NOW+HH:MM

+HH:MM

µí[WⁿwpM NOW+02:00 +02:00C

NOW-HH:MM

-HH:MM

µíεhⁿwpM NOW-02:00 -02:00C

ENDDateⁿwnπ≈'Θd≥⌠ΘC∩C ziHNo

M ENDTIME@Aⁿw⌠ΘMíCpGzⁿwF@⌠ΘB²*ⁿw⌠íAíNOⁿw⌠ΘU9 11:59:59C

ziHUCΣñ@ⁿwΘG

í d

MM/DD/YYYY SwΘ 09/15/1999

TODAY µΘ TODAY

TODAY+days

+days

µΘ[WⁿwΘCziHⁿ

wjΘO 9999C

TODAY +3 +3C

TODAY-days

-days

µΘεhⁿwC TODAY -3 -3C

ENDTimeⁿwnπ≈'íd≥⌠íC∩C ziHNo

M ENDDATE@AⁿwΘMíC pGzⁿwF⌠íS

⌠ΘAhzⁿwíΘOΘC

ziHUCΣñ@ⁿwΘG

í d

HH:MM:SS Swí 10:30:08

NOW µí NOW

NOW+HH:MM

+HH:MM

µí[WⁿwpM NOW+02:00 +02:00C

NOW-HH:MM

-HH:MM

µíεhⁿwpM NOW-02:00 -02:00C

WHERERETentionⁿw'Pnπ≈÷pOd]HµCΣG

QUERY BACKUPSET

380 4.2

Page 407: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

daysⁿwnπwgOdo≈C

NOLimitⁿwnπL¡Od≈C

WHEREDESCriptionⁿw'Pnπ≈÷píCzⁿwíiH]tUrC∩

C

WHEREDEViceⁿw'Pnπ≈÷pmOWCziHUrⁿwm

OWC∩C

d

@

πW PERS_DATA* Y≈ΩTC≤ JANE qI≈wDCFILE mOC

ⁿO: query backupset jane pers_data*

ΘX:

IWG≈WGPERS_DATA.3089Θ/íG06/09/1999 16:17:47OdG60

mOWGDCFILEíG /srvr ≈

ΣñG

IW

ⁿw≈ñ]tΣΩqIWC

≈W

ⁿw≈WC

Θ/í

ⁿX≈ΘPíC

Od

ⁿwN≈Odb°AWC

mOW

ⁿwmOWAΣeΘ]twⁿw≈C

í

ⁿwP≈÷íC

QUERY BACKUPSET

381Tivoli Storage Manager for HP-UX zΓU

5.

z

ⁿO

Page 408: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

÷ⁿO

ϕ 150. P QUERY BACKUPSET ÷ⁿO

ⁿO í

DEFINE BACKUPSET ∩°Awq²eú≈C

GENERATE BACKUPSET úqΩ≈C

DELETE BACKUPSET Rú≈C

QUERY BACKUPSETCONTENTS π≈ñteC

UPDATE BACKUPSET ≤sM≈÷pOdC

QUERY BACKUPSET

382 4.2

Page 409: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

QUERY BACKUPSETCONTENTS]d≈eoⁿOπqI≈ñt²÷ΩTC

NBzoⁿOh⌠⌠Ω MⁿIC

MvO

pGnoXoⁿOAz'πtMvAⁿwqIºΓhM

vC

yk

Query BACKUPSETCONTENTS node_name backup_set_name

node_name]n

ⁿwbnπ≈ñ]tΣΩqIWCⁿwWiH]tU

rAOHr jIWCC

backup_set_name]n

ⁿwnπ≈WCⁿwWiH]tUrAOHr jI

WCC

d

@

π≤qI JANE PERS_DATA.3099 ≈eC

ⁿO: query backupsetcontents jane pers_data.3099

ΘX:

IW í qWW

------------------------ ---------- ------------------------------------------JANE /srvr /deblockJANE /srvr /deblock.cJANE /srvr /dsmerror.logJANE /srvr /dsmxxxxx.logJANE ... ......

ΣñG

IW

ⁿw≈ñ]tΣΩqIWC

íW

ⁿw≤ⁿw íWC

QUERY BACKUPSETCONTENTS

383Tivoli Storage Manager for HP-UX zΓU

|

5.

z

ⁿO

Page 410: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

íWMWrXyÑ⌠AYúP≤°AAhLkTaπ

bz Web 7zⁿOµ7WC Ω¡≈ABiAϕaA² íWiαπLrX µC

pG íWi UnicodeAWQα½°ArXHπC α½µrXúΣrAΣG°@twC ∩≤ TSM α≈⌡µí≈α½WAz (??)B (BúiCLrB "..."C orVzⁿ

XúsbC pGα½ú¿\AWNπ "..."C pGrΩt°ArXúΣrA°Astα½íoDAα½Kiαó C

qW

ⁿwWC

íWMWrXyÑ⌠AYúP≤°AAhLkTaπ

bz Web 7zⁿOµ7WC Ω¡≈ABiAϕaA² íWiαπLrX µC

pG íWi UnicodeAWQα½°ArXHπC α½µrXúΣrAΣG°@twC ∩≤ TSM α≈⌡µí≈α½WAz (??)B (BúiCLrB "..."C orVzⁿ

XúsbC pGα½ú¿\AWNπ "..."C pGrΩt°ArXúΣrA°Astα½íoDAα½Kiαó C

: ΣñWπ "......"Aϕ*Qα½⌠MWCpA⌠MWG

my\dir\...

÷ⁿO

ϕ 151. P QUERY BACKUPSETCONTENTS ÷ⁿO

ⁿO í

DEFINE BACKUPSET ∩°Awq²eú≈C

GENERATE BACKUPSET úqΩ≈C

DELETE BACKUPSET Rú≈C

QUERY BACKUPSET π≈C

UPDATE BACKUPSET ≤sM≈÷pOdC

QUERY BACKUPSETCONTENTS

384 4.2

|

|

|

|

|

|

|

|

|

|

|

|

|

|

|

|

|

|

|

|

Page 411: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

QUERY CLOPTSET]dq∩oⁿOdq∩C

MvO

⌠≤zíiHoXⁿOC

yk

*

Query CLOptsetoption_set_name DESCription = description

option_set_nameⁿwzndq∩WCziHUrⁿwWC∩

C w]O∩WC

DESCriptionⁿw DEFINE UPDATE CLOPTSET ⁿOWí@LoCpGí]t µA' NªAϕC∩C

d

@

qⁿz°AñAd ENG q∩C

ⁿO: query cloptset eng

ΘX:

∩GENGíG

e≤s]zG$$CONFIG_MANAGER$$z]wG

∩GSCROLLINESXG0gGNo∩G40

∩GSCROLLPROMPTXG0gGNo∩Gyes

ΣñG

ⁿX∩WC

QUERY CLOPTSET

385Tivoli Storage Manager for HP-UX zΓU

5.

z

ⁿO

Page 412: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

í

ⁿXq∩íC

e≤s]z

ⁿX±@≤s∩zWCpGµt $$CONFIG_MANAGER$$Ahq∩Mtmzíz]wú÷pC

z]w

ⁿXⁿz°AFoq∩wq]wC

ⁿX∩WC

X

ⁿX∩ C

g

ⁿXq∩O iHm½∩C

ⁿX∩C

÷ⁿO

ϕ 152. P QUERY CLOPTSET ÷ⁿO

ⁿO í

COPY CLOPTSET s@sq∩C

DEFINE CLIENTOPT sWq∩q∩C

DEFINE CLOPTSET wqq∩C

DELETE CLIENTOPT q∩Rúq∩C

DELETE CLOPTSET Rúq∩C

UPDATE CLIENTOPT ≤sq∩XC

UPDATE CLOPTSET q∩íC

DEFINE PROFASSOCIATION s½≤P]wC

QUERY CLOPTSET

386 4.2

Page 413: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

QUERY CONTENT]dxseΘeoⁿOπxseΘñ÷ΩTCziHoⁿOⁿX°A

wgolaAHwg≈xsCbeΘla⌡µUC@

eAziHR≈BⁿOG

¶ nD°AeΘPΩwºíú@P

¶ Nq@eΘt@eΘ

¶ Rúxsñ@eΘ

≤oⁿO⌡µí°Ai COUNT ¡επC

: Gñú]teΘñHlaC

MvO

⌠≤zíiHoXⁿOC

yk

Query CONtent volume_nameNODE = node_name

FIlespace = file_space_name COUnt = number

Type = ANY

Type = ANYBackupArchiveSPacemanaged

µí = Standard

µí = StandardDetailed

DAmaged = ANY

DAmaged = ANYYesNo

(1)COPied = ANY

COPied = ANYYesNo

NAMEType = SERVER

NAMEType = SERVERUNIcodeFSID

CODEType = BOTH

CODEType = UNIcodeNONUNIcodeBOTH

:

1 DxsñeΘC

QUERY CONTENT

387Tivoli Storage Manager for HP-UX zΓU

5.

z

ⁿO

Page 414: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

volume_name]n

ⁿwndeΘC

NODEⁿwPnd í÷p≈OsqTivoli ízí]HSMqC∩C ziHUrⁿwWCpGzúⁿwWAh

]t≈OsM HSM qC

FIlespaceⁿwnd íC∩C ziHUrⁿwWC

íWHjpgCpGzúⁿw íWA íí]tbC

∩≤ΣqΣ Unicode °AAziαn°Aα½zΘJ íWCpAziαn°ANzΘJWAq°ArX૨ UnicodeC\NAMETYPE Ho ΩTCpGzSⁿw íWOuⁿwWµ@UrAziH CODETYPE ¡ε∩ Unicode íDUnicode í@C

COUntⁿwnπqC∩C ziHⁿw@πtπCpGzⁿ

wπnAhπe n CpGzⁿwtπ -nAhH/απß nCzúαⁿw COUNT=0CpGz∩oⁿwAhúπXC

¼

ⁿwnd¼C∩C w] ANYC iαG

ANYⁿwndxseΘñ¼G≈BOsA

Hq HSM qIαC

Backupⁿwund≈C

ArchiveⁿwundOsC

SPacemanagedⁿwd íz]q HSM qαC

Formatⁿwp≤πΩTC∩C w] STANDARDCiαG

StandardⁿwπíΩTCUnicode WNα½°ArXC

DetailedⁿwππΩTCUnicode WNHQ8iπC

QUERY CONTENT

388 4.2

|

|

|

|

|

|

|

|

|

Page 415: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

DAmagedⁿwhH O wgOla¡εdΘXC≥≤ohAu

dΩΘ]iαOµ@ΦAOΦ¿EC∩C w]

ANYC iαG

ANYⁿwú°AoO laAúnπXC

YesⁿwπOlaCoOϕBX

A⌡µ AUDIT VOLUME ⁿOA°AoC

Noⁿwuπ *olaC

COPiedⁿwhH O wg≈xs¡εdΘXC∩C w

] ANYC iαG

ANYⁿwπXúO ≈xsCπXDnHtOΘ

C

Yesⁿwπbxsú#@i≈CpGbx

sñwAhúπCúπA]

oq*C

COPIED=YES Oi RESTORE VOLUME RESTORESTGPOOL ⁿODC

NoⁿwπbxsúSi≈Cúπ

A]oq*C

COPIED=NO OLk RESTORE VOLUME RESTORESTGPOOL ⁿODC

NAMETypeⁿwzn°AzΘJº íΦíCobΣqΣ°A

DCeu Windows NT H Windows 2000 @t!úΣ Unicode≈OsqCubⁿwí≈ íW!oC

w] SERVERCiαG

SERVER°A°ArX íWC

UNIcode°AN íWq°ArX૨ UTF-8 rXCα½O ¿\WñΩrH°ArXMwCpGrΩt°ArXúΣ

rA°Astα½íoDAα½Kiαó C

QUERY CONTENT

389Tivoli Storage Manager for HP-UX zΓU

|

|

|

|

|

|

|

|

|

|

|

5.

z

ⁿO

Page 416: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

FSID°AN íWª í ID]FSIDC

CODETypeⁿwzn°AzΘJº íΦíCbz∩ íWⁿwµ@

Ur!oC

w] BOTHAϕN]A íPrX¼L÷CiαG

UNIcodeu]A unicode µí íC

NONUNIcodeu]AúO unicode µí íC

BOTH]A íBMrXL÷C

d

@ 1

dⁿW /tsmstg/diskvol1.dsm eΘeC ¡εd PEGASUS qI ízC

ⁿOG]AbeΘW¿EΦAYEOxsboeΘHa

ΦC∩≤EÑAdúPΦΩWOxsb⌡µdeΘWC

ⁿO:

query content /tsmstg/diskvol1.dsm node=pegasustype=backup

ΘX:

IW ¼ í FSID qWW

--------------- ---- ---------- ---- --------------------------------------PEGASUS Bkup \\pegasus\e$ 1 \UNI_TEST\ SM01.DATPEGASUS Bkup \\pegasus\e$ 1 \UNI_TEST\ SM02.DAT

wq\@ 2C

@ 2

dⁿW WPD001 aeΘeCuπI MARK ≈ABueΘWe4CππΩTC

ⁿO:

query content wpd001 node=mark count=4 type=backupformat=detailed

QUERY CONTENT

390 4.2

|

|

|

|

|

|

|

|

|

|

|

|

|

||||||

||

Page 417: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

IWGMARK¼GBkup

íWG\\mark\e$QiíWG

FSIDG1qWG\UNI_TEST\ SM01.DAT

QiqWGEHG1/3

xsjpG2,746qXG

HGNo IWGMARK¼GBkup

íWG\\mark\e$QiíWG

FSIDG1qWG\UNI_TEST\ SM02.DAT

QiqWGEHG2/3

xsjpG2,746qXG

HGNo IWGMARK¼GBkup

íWG\\mark\e$QiíWG

FSIDG1qWG\UNI_TEST\ SM03.DAT

QiqWGEHG3/3

xsjpG2,746qXG

HGNo IWGMARK¼GBkup

íWG\\mark\f$QiíWG5c5c6d61726b5c6624

FSIDG2qWG\UNI_TEST\ ELAP.REX

QiqWG5c554e495f544553545c20454c41502e524558EHG1/3xsjpG2,372qXG

HGNo

IW

IC

¼

¼GOs]ArchB≈]Bkup íz]SpMgC

íW

íC

íWMWrXyÑ⌠AYúP≤°AAhLkTaπ

bz Web 7zⁿOµ7WCΩ¡≈ABiAϕaA² íWiαπLrX µC

QUERY CONTENT

391Tivoli Storage Manager for HP-UX zΓU

|||||||||||||||||||||||||||||||||||||||||

|

|

|

5.

z

ⁿO

Page 418: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

pG íWi UnicodeAWQα½°ArXHπCα½µrXúΣrAΣG°@twC∩≤ TSM α≈⌡µí≈α½

WAz (??)B (BúiCLr "..."CorVzⁿXúsbC pGα½ú¿\AWNπ "..."C pGrΩt°ArXúΣrA°Astα½íoDAα½Kiαó C

Qi íW

íCpG íW UnicodeAWOHQ8iπC

FSID í í ID]FSIDCϕ í@s°AA°Aⁿw@@ FSIDC

qW

qWC

íWMWrXyÑ⌠AYúP≤°AAhLkTaπ

bz Web 7zⁿOµ7WCΩ¡≈ABiAϕaA² íWiαπLrX µCα½µrXúΣr

AΣG°@twC∩≤ TSM α≈⌡µí≈α½WAz

(??)B (BúiCLr "..."CorVzⁿXúsbC

Qi qW

qWπQ8iµíC

EH

O OxsE@íΦCpGOE@íAhπo

bEHEΦC

ⁿOG]AbeΘW¿EΦAYEOxsboeΘH

aΦCdúPΦΩWOxsb⌡µdeΘWC

xsjp

ΩΘjp]HµCpGΦOxsE@íΦAo

ⁿOπEjpC

qX

pGOsxsñeΘAⁿwΩΘ]µ@ΦΦ¿E

O xsheΘWCpApGΦOxsb≤VΓeΘEñA

hq XⁿX 1/2]ΩΘ@íOxsbeΘW2/2]ΩΘGíOxsbeΘWC pGq XO 1/1AhΩΘO$xsbeΘWCpGeΘ≤H≈sxsñAhµúπ⌠≤C

H

ΩΘO αUxsCpGOE@íAh

oOME÷C

QUERY CONTENT

392 4.2

|

|

|

|

|

|

|

|

|

|

|

|

|

|

|

|

|

Page 419: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

÷ⁿO

ϕ 153. P QUERY CONTENT ÷ⁿO

ⁿO í

BACKUP STGPOOL ≈@DxsxsC

DEFINE VOLUME ⁿweΘⁿwxsºxsΘC

DELETE VOLUME xsRúeΘC

RESTORE STGPOOL xsDxsC

RESTORE VOLUME xsxsbDñⁿweΘ

C

UPDATE VOLUME ≤sxseΘC

QUERY CONTENT

393Tivoli Storage Manager for HP-UX zΓU

5.

z

ⁿO

Page 420: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

QUERY COPYGROUP]dsoⁿOπ@hs÷ΩTC

MvO

⌠≤zíiHoXⁿOC

yk

Query COpygroup

* * * STANDARD

* * STANDARDdomain_name

* STANDARDpolicy_set_name

STANDARDclass_name

STANDARD

Type = Backup

Type = BackupArchive

µí = Standard

µí = StandardDetailed

domain_nameⁿwPnds÷phΓC∩C ziHUr

ⁿwWCpGzúⁿwoAhd$íhΓCϕzd@W

TwsA'ⁿwoC

policy_set_nameⁿwPnds÷phC∩C ziHUrⁿ

wWCpGzúⁿwoAhd$íhΓCϕzd@W

TwsA'ⁿwoC

class_nameⁿwPnds÷pzOC∩C ziHUr

ⁿwWCpGzSⁿwoAhdzOCϕzd@

WTwsA'ⁿwoC

STANDARDⁿwsWC∩C sW'O STANDARDCw]O STANDARDC

¼

ⁿwnds¼C∩C w] BACKUPCiαG

QUERY COPYGROUP

394 4.2

Page 421: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

Backupⁿznd≈sC

ArchiveⁿzndOssC

Formatⁿwp≤πΩTC∩C w] STANDARDCiαG

StandardⁿwπíΩTC

DetailedⁿwππΩTC

d

@ 1

ⁿz°AñAπ≈sºπΩTAB≈sOⁿw

ADMIN_RECORDS hΓº STANDARD hñ STANDARD zOC

ⁿO:

query copygroup admin_recordsstandard standard format=detailed

ΘX:

hΓWGADMIN_RECORDShWGSTANDARDzOWGSTANDARDsWGSTANDARDs¼GBackupsΩG2RúΩG1OdBG30Od@G60

síGModifiedsCGShared StaticsWvG0saGBACKUPPOOL

e≤s]zG$$CONFIG_MANAGER$$e≤sΘ/íG1998.06.04 17.51.49

z]wGADMIN_INFO

ΣñG

hΓW

hΓWC

hW

hWC

zOW

zOWC

QUERY COPYGROUP

395Tivoli Storage Manager for HP-UX zΓU

5.

z

ⁿO

Page 422: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

sW

sWCoW@wO STANDARDC

s¼C

qtWOdj≈qC

RúΩ

wqtRúOdj≈qC

OdB

@,≈¿D@ñß]τYxsFs≈AnOd≈

C

Od@

wqtRúOdß@≈C

ⁿX TSM O ub≤]W≈ßA!≈CiHO

Modified AbsoluteCsí≤Wí≈WCb∩≈ñC

sC

b≈@íO iHC

sWv

Γ≈ºí#C

sa

°AxsPos÷xsWC

e≤s]z

±≤ssz°AWCpGoµ]t

$$CONFIG_MANAGER$$AhsMtmzízΓú÷pC

e≤sΘ/í

±@wq≤ssΘPíC

z]w

ⁿz°AFooswq]wC

@ 2

πOss STANDARD πΩTAOssOⁿw PROG1 hΓº SUMMER hñ MCLASS1 zOC

ⁿO:

query copygroup prog1 summer mclass1type=archive format=detailed

ΘX:

QUERY COPYGROUP

396 4.2

Page 423: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

hΓWGPROG1hWGSUMMERzOWGMCLASS1sWGSTANDARDs¼GArchive

OdG730sCGShared StaticsWvGCmdsíGAbsolutesaGARCHPOOL

e≤s]zG$$CONFIG_MANAGER$$e≤sΘ/íG1998.06.05 17.42.49

z]wGADMIN_INFO

ΣñG

hΓW

hΓWC

hW

hWC

zOW

zOWC

sW

sWCoW@wO STANDARDC

s¼C

Od

OdOsC

sC

bOs@íO iHC

sWv

ssWvC∩≤OssÑAo@wO CMDC

ⁿXsñúO ∩LAí,HOsC∩≤OssÑAo

@wO ABSOLUTEC

sa

°AxsPoOss÷xsWC

e≤s]z

±≤ssz°AWCpGoµ]t

$$CONFIG_MANAGER$$AhsMtmzízΓú÷pC

e≤sΘ/í

±@wq≤ssΘPíC

QUERY COPYGROUP

397Tivoli Storage Manager for HP-UX zΓU

5.

z

ⁿO

Page 424: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

z]w

ⁿz°AFoohswq]wC

÷ⁿO

ϕ 154. P QUERY COPYGROUP ÷ⁿO

ⁿO í

DEFINE COPYGROUP wqsH≈OsⁿwzOº

BzC

DELETE COPYGROUP RúhΓHh≈Os

sC

UPDATE COPYGROUP ≤s@hC

QUERY COPYGROUP

398 4.2

Page 425: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

QUERY DB ]πΩwΩToⁿOπΩw÷pΩTC

MvO

⌠≤zíiHoXⁿOC

yk

Query DBµí = Standard

µí = StandardDetailed

Formatⁿwp≤πΩTC∩C w]O STANDARDCiαG

StandardⁿwπíΩTC

DetailedⁿwππΩTC

d

@ 1

π÷ΩwºpΩTC

ⁿO: query db

ΘX:

i ⁿw j j i w jí eq XRq Yεq jp q q]MB ]MB ]MB ]MB ] ± ±

--------- -------- --------- --------- ------- ------ ----- ----- -----8 4 4 0 4,096 1,024 94 9.2 9.2

wq\@ 2C

@ 2

π÷Ωw pΩTC

ⁿO: query db format=detailed

ΘX:

QUERY DB

399Tivoli Storage Manager for HP-UX zΓU

5.

z

ⁿO

Page 426: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

ií]MBG8ⁿweq]MBG4jXRq]MBG4jYεq]MBG0jp]G4,096

iG1,024wG94q±G9.2

jq±G9.2ΩΘeΘG3

wxsG64wG4,702 ñΣº±G97.68 Ѻ±G0.00

≈iµñHGNoiµñ≈º¼G

eπ≈ßWí≈G0e≈ß≤]MBG0.37

≤±G100.00e¿≈Θ/íG

ΣñG

ií]MB

H MB µAⁿwi íqC

ⁿweq]MB

H MB µAⁿwⁿúxsΘeqC

jXRq]MB

H MB µAⁿwΩwiXRjqC

jYεq]MB

H MB µAⁿwΩwiYεºjqC

jp]

HµAⁿwCjpC

i

ⁿwiCOⁿweq@AΣ]256C]1 MB/256C

w

ⁿXeC

v

ⁿXeq@ⁿweq%±C

jq±

ⁿXΩw∩≤i íºj+vCoOjq%±C

QUERY DB

400 4.2

Page 427: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

ΩeΘ

ⁿXΩweΘMC

wxs

ⁿXΩww xsºC

w

ⁿXqWoX RESET BUFPOOL ⁿOH]OqW°AHApΩwnDC

ñΣº±

ⁿXwgbw xsñΩwnDA+nD%±C

Ѻ±

ⁿX∩LkΩww xsiµnD+%±]]

w xsúwgQ+C

≈iµñH

ⁿX≈O biµC

iµñ≈º¼

ⁿXπWí≈C

e π≈ßWí≈

ⁿXqWπ≈ߺßA⌡µWí≈C

e≈ß≤]MB

ⁿXqW≈ßwg≤ΩwAH MB µC

≤±

ⁿXqW≈ºßAwg≤+%±C

e ¿≈Θ/í

ⁿX±@π≈ΘPíC

÷ⁿO

ϕ 155. P QUERY DB ÷ⁿO

ⁿO í

BACKUP DB N TSM Ωw≈seΘC

DEFINE DBCOPY ΩweΘeΘC

DEFINE DBVOLUME ⁿw@eΘHΩwxsΘC

EXTEND DB XR²etmΣeΘºiΩ

wxsΘC

EXTEND LOG XR²etmΣeΘºiΘx

xsΘC

REDUCE DB YεwqeΘixsΘ ±XΩ

weΘC

REDUCE LOG YεwqeΘixsΘ ±XΘ

xeΘC

RESET BUFPOOL ½]Ωww xspC

QUERY DB

401Tivoli Storage Manager for HP-UX zΓU

5.

z

ⁿO

Page 428: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

ϕ 155. P QUERY DB ÷ⁿO (≥)

ⁿO í

RESET DBMAXUTILIZATION ½]ΩwjqpC

QUERY DB

402 4.2

Page 429: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

QUERY DBBACKUPTRIGGER ]dΩw≈oⁿOoⁿOπΩw≈oⁿO]wC

MvO

⌠≤zíiHoXⁿOC

yk

Query DBBackuptriggerµí = Standard

µí = StandardDetailed

Formatⁿwp≤πΩTC∩C w]O STANDARDCiαG

Standardπí≈ΩTC

Detailedπ ΩTC

d

@

πΩw≈oⁿO]wC

ⁿO: query dbbackuptrigger format=detailed

ΘX:

πmOGFILEWímOGFILEΘxíⁿ±G50

π≈íW≈G6e≤s]zGJANETe≤sΘ/íG05/31/1997 11:15:35

ΣñG

πmO

≤π≈mOWC

WímO

≤Wí≈mOWC

Θxíⁿ±

TSM ≈ΩwΘx íq%±C

QUERY DBBACKUPTRIGGER

403Tivoli Storage Manager for HP-UX zΓU

5.

z

ⁿO

Page 430: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

π≈íW≈

TSM bπ≈ín⌡µWíΩw≈C

e≤s]z

±≤soⁿOzWC

e≤sΘ/í

z±≤soⁿOíC

÷ⁿO

ϕ 156. P QUERY DBBACKUPTRIGGER ÷ⁿO

ⁿO í

DEFINE DBBACKUPTRIGGER wqí TSM Ωw≈oⁿOC

DELETE DBBACKUPTRIGGER RúΩw≈oⁿOC

UPDATE DBBACKUPTRIGGER ≤Ωw≈oⁿO@hC

QUERY DBBACKUPTRIGGER

404 4.2

Page 431: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

QUERY DBVOLUME]π@hΩweΘΩToⁿOπΩweΘMeΘ÷ΩTC

MvO

⌠≤zíiHoXⁿOC

yk

Query DBVolume*

volume_name

µí = Standard

µí = StandardDetailed

volume_nameⁿwΩweΘWC∩C ziHUrⁿwWCpGzú

ⁿw@eΘWAhπXΩweΘC

Formatⁿwp≤πΩTC∩C w]O STANDARDCiαG

StandardⁿwπíΩTC

DetailedⁿwππΩTC

d

@ 1

πW db.1 ΩweΘí≈ΩTC

ⁿO: query dbvolume db.1

ΘX:

eΘW eΘW eΘW ] 1 ¼A ] 2 ¼A ] 3 ¼A---------------- ------ ----------- ------ ----------- ---/home/bill/d- PB wq wqsmserv/build/d-b.1

@ 2

πbⁿW DB.1 ΩweΘW ΩTC

ⁿO: query dbvolume db.1 format=detailed

ΘX:

QUERY DBVOLUME

405Tivoli Storage Manager for HP-UX zΓU

5.

z

ⁿO

Page 432: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

eΘW] 1G/home/bill/dsmserv/build/db.1¼AGPB

eΘW] 2G¼AGwq

eΘW] 3G¼AGwq

ií]MBG4tmí]MBG4lí]MBG0

ΣñG

eΘW] nⁿXeΘWCΘXπTeΘ¼A] 1B 2BH 3C

¼A

ⁿXeΘ¼ACiαG

α

eΘQαC

L

eΘ*MΣªeΘPBA]Lk≤xsC

PB

eΘPΣªeΘPBAi@xsΘC

wq

*wq⌠≤eΘC

ií]MB

ⁿXi íq]H MB µA]AwtmMl íC

tmí]MB

ⁿXtm íq]H MB µC

lí]MB

ⁿXitmΦM]H MB µⁿw íqC

÷ⁿO

ϕ 157. P QUERY DBVOLUME ÷ⁿO

ⁿO í

DEFINE DBCOPY ΩweΘeΘC

DEFINE DBVOLUME ⁿw@eΘHΩwxsΘC

DELETE DBVOLUME ΩwRúeΘC

VARY ⁿweΘO i°AC

QUERY DBVOLUME

406 4.2

Page 433: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

QUERY DEVCLASS]π@hmOΩToⁿOπ@hmOΩTC

MvO

⌠≤zíiHoXⁿOC

yk

Query DEVclass*

device_class_name

µí = Standard

µí = StandardDetailed

device_class_nameⁿwndmOWC∩C ziHUrⁿwWCi

πXmOCpGzúⁿw@AmOπC

Formatⁿwp≤πΩTC∩C w] STANDARDCiαG

StandardⁿwπⁿwmOí≈ΩTC

DetailedⁿwπⁿwmOπΩTC

d

@ 1

π÷≤mOΩTC

ⁿO: query devclass

ΘX:

m m xs mµí w⌠/j ⁿO s ¼ eq W¡W ªñ p ]MB----------- ---------- ------- -------- ------ -------- ------DISK H≈ 38MMTAPE 1 GENTAPE DRIVE 6,144.0 2PLAINFILES 1 FILE 50.0 1

wq\@ 2C

@ 2

π÷≤ PLAINFILES mO C

QUERY DEVCLASS

407Tivoli Storage Manager for HP-UX zΓU

5.

z

ⁿO

Page 434: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

ⁿO: query devclass plainfiles format=detailed

ΘX:

mOWGPLAINFILESmsªñG

xspG1m¼GFILE

µíGw⌠/jeq]MBG50.0

ⁿW¡G1ⁿÑí]GⁿOdí]G

rGwG°AWG

½G½íjíG

e≤s]zGADMINe≤sΘ/íG05/31/2000 13:15:36

mOW

ⁿwmOWC

msªñ

ⁿwh#ΩgJmOC

xsp

ⁿwⁿwmOxsqC

ⁿwmOm¼C

FormatⁿwO²µíC

w⌠/jeΘ]MB

ⁿwPmO÷pºeΘw⌠jeqC

ⁿW¡

ⁿwhiHPⁿseΘqAⁿw DRIVES OⁿW¡C

ⁿÑí]

ⁿwÑseΘⁿjC

ⁿOdí]

ⁿwbúⁿºeAOdómseΘC

r

ⁿw°AgJsCΘºΩW¬Ñ¡wC

w

ⁿw]tomOº≈wwqw½≤WC

QUERY DEVCLASS

408 4.2

Page 435: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

°AW

ⁿw@wwq°AWC

½

ⁿwpGⁿqTó ípA°Ap°AíjC

½íjí

ⁿwbw½íA⌡µ½íWvC

e≤s]z

ⁿwß@≤smOzC

e≤sΘ/í

ⁿwß@≤sΘPíC

÷ⁿO

ϕ 158. P QUERY DEVCLASS ÷ⁿO

ⁿO í

DEFINE DEVCLASS wqmOC

DEFINE SERVER wqu°A∩°AvqH°AC

DELETE DEVCLASS RúmOWC

QUERY SERVER π°A÷ΩTC

UPDATE DEVCLASS ≤mOC

QUERY DEVCLASS

409Tivoli Storage Manager for HP-UX zΓU

5.

z

ⁿO

Page 436: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

QUERY DOMAIN]dhΓoⁿOπ@hhΓΩTC

MvO

⌠≤zíiHoXⁿOC

yk

Query DOmain*

domain_name

µí = Standard

µí = StandardDetailed

domain_nameⁿwndhΓC∩C ziHUrⁿwWCpGz*

ⁿwA≥NπhΓC

Formatⁿwp≤πΩTC∩C w] STANDARDCiαG

StandardⁿwπíΩTC

DetailedⁿwππΩTC

d

@ 1

π°AWhΓíΩTC

ⁿO: query domain

ΘX:

h w wnO íΓ h w]z IW z I

O--------- --------- --------- ---------- ------------------EMPLOYEE- VACATION ACTIVEFI- 6 uO²_RECORDS LES Γ

PROG1 0 ]píΓ

PROG2 0 ]píΓ

STANDARD STANDARD STANDARD 1 www]policy domain]hΓ

wq\@ 2C

QUERY DOMAIN

410 4.2

Page 437: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

@ 2

qⁿz°AAπ EMPLOYEE_RECORDS hΓπ ΩTC

ⁿO: query domain employee_records format=detailed

ΘX:

hΓWGEMPLOYEE_RECORDShGVACATION

Θ/íG1998.06.04 17.18.30ßG<1

ww]zOGACTIVEFILESwnOIG6

íGuO²Γ≈Od]e¡G30OsOd]e¡G365

e≤s]zG$$CONFIG_MANAGER$$e≤sΘ/íG06/04/1998 17:18:30

z]wGADMIN_INFO

ΣñG

hΓW

hΓWC

h

Γñß@hWC

ß@hM ACTIVE hñwqú@w$PCϕzhA°ANhesπ ACTIVE SϕWhC ACTIVE hñswquαt@h∩CziH∩lhA

úvT ACTIVE hC ]Aß@hñwqúM

ACTIVE hñwqPC

Θ/í

hΘPíC

ß

qhHgLC

ww]zO

hⁿww]zOC

wnOI

n²hΓqIqC

í

hΓíC

≈Od]e¡

bUC⌠≤@ ípUAnOdD@ñ≈G

QUERY DOMAIN

411Tivoli Storage Manager for HP-UX zΓU

5.

z

ⁿO

Page 438: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

¶ w½ssszOA²OszOw]zOúú]t

≈sC

¶ szOúsbABw]zOú]t≈sC

¶ ≈swszORúABú]t≈sC

xsOd]e¡

bUC⌠@ ípUAnOdOsG

¶ szOúAsbABw]zOú]tOssC

¶ OsswszORúABw]zOú]tOs

sC

e≤s]z

wq±≤shΓzC pGoµ]t $$CONFIG_MANAGER$$AhΓOMtmzíz]w÷pC

e≤sΘ/í

zwq±@≤shΓíC

z]w

ⁿz°A]w]HoohΓwqC

÷ⁿO

ϕ 159. P QUERY DOMAIN ÷ⁿO

ⁿO í

COPY DOMAIN hΓC

DEFINE DOMAIN wqiⁿwqhΓC

DELETE DOMAIN RúhΓH⌠≤hΓñh½

≤C

UPDATE DOMAIN ≤hΓC

QUERY DOMAIN

412 4.2

Page 439: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

QUERY DRIVE]d≈÷ΩToⁿOπs°ACΘwñ≈÷ΩTCi QUERY DRIVEⁿOP≈¼AAp≈OuWB≈uBLkQ°AⁿC

MvO

⌠≤zíiHoXⁿOC

yk

Query DRive* *

*library_name

drive_name

µí = Standard

µí = StandardDetailed

library_nameⁿw≈bmwWC∩C ziHUrⁿwo

WC

pGzⁿw DRIVE_NAMEAN'oⁿw@C

drive_nameⁿXⁿw≈WC∩C ziHUrⁿwoWCp

Gzⁿw DRIVE_NAMEAN'Pⁿw LIBRARY_NAMEC

Formatⁿwp≤πΩTC∩C w] STANDARDCiαG

Standardⁿwπ≈í≈ΩTC

Detailedⁿwπ≈πΩTC

d

@ 1

πP°A÷p≈÷ΩTC

ⁿO: query drive

ΘX:

w ≈ m m uWW W ¼-------- ------ -------- ------------- --------AUTO 8MM.0 GENERICTAPE /dev/rmt/1m YESAUTO 8MM.2 GENERICTAPE /dev/rmt/2m YESMANUAL 8MM.3 GENERICTAPE /dev/rmt/3m

QUERY DRIVE

413Tivoli Storage Manager for HP-UX zΓU

5.

z

ⁿO

Page 440: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

wq\@ 2C

@ 2

π÷≤b AUTO wW DRIVE1 8mm ≈π ΩTC

ⁿO: query drive auto drive1 format=detailed

ΘX:

wWGAUTO≈WGDRIVE1m¼GGENERICTAPE

mGdev/rmt/1muWGq 01-13-00 14:15:02 lⁿG116tm≤G-

e≤s]zGSERVER_CONSOLEe≤sΘ/íG2000-01-13 15:25:03

ΣñG

wW

ⁿX≈ⁿwwWC

≈W

ⁿXⁿw≈WC

ⁿXm¼C

m

ⁿX∩≤≈mWC

uW

ⁿX≈¼AG

YesⁿX≈≤uWABiHiµ°A@C

NoⁿX≈w≈uABO≤s¼AzNªm≤o¼AñC

Lk

ⁿwq mm/dd/yy hh:mm:ss lLk≈CΘXπ°A≈LkíC íΘXϕµíGmm/dd/yy hh:mm:ssC

ⁿw°Abⁿ≈A]≈wεCΘXπ°A

DlⁿíC°A²ⁿ≈AMßANΣCLkC í

ΘXϕµíGmm/dd/yy hh:mm:ssC

Tivoli Storage Manager bUC¼pUⁿ≈G

QUERY DRIVE

414 4.2

Page 441: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

1. ≈i¬/gJsa@'nKµíC

2. °ALk≈CpA°ALk≈A@eΘ2ⁿJ≤≈ABLk°ⁿeΘC

Tivoli bUC¼pUⁿ≈ 10 G

¶ ≈≤ SCSI ACSLS wC

¶ ≈≤ 3494 wABb dsmserv .op t Sⁿw 3494SHARED=YES ∩C

¶ ≈≤ 3494 wABb dsmserv.opt ⁿw 3494 SHARED=YES∩CúLAeⁿJ≤≈eΘ Xwwqo°A

w C

Y°Ab 10 ¡Lk≈AN≈≈uCd\íΘxMtΘxPO wΘDCMDºßANiz

L UPDATE DRIVE ⁿOM ONLINE=YES ∩≤s≈¿uWC

bUC¼pU°A!L¡aⁿ 3494 wñ≈G

1. b dsmserv.opt ⁿw 3494 SHARED=YES ∩C

2. ≈wⁿJeΘC

3. eΘ úXwwq°A 3494 wM C

Yⁿ@≈A≥ QUERY DRIVE ⁿOΘXπbⁿ≈HⁿlíCYnεⁿ≈AioXUCΓⁿOΣñ

@G

¶ π ONLINE=NO ∩ UPDATE DRIVE

¶ DELETE DRIVE

ⁿw≈C

tm≤

ⁿwe≈wqWCoA≤@ SCSI CΘwFµbΣªwúO (C

e≤s]z

ⁿX⌡µ≈ß≤sC

e≤sΘ/í

ⁿXß≤soΘPíC

÷ⁿO

ϕ 160. P QUERY DRIVE ÷ⁿO

ⁿO í

AUDIT LIBRARY Tw@íwOB≤@P¼AC

QUERY DRIVE

415Tivoli Storage Manager for HP-UX zΓU

5.

z

ⁿO

Page 442: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

ϕ 160. P QUERY DRIVE ÷ⁿO (≥)

ⁿO í

DEFINE LIBRARY wqíΓíwC

DELETE LIBRARY RúwC

QUERY LIBRARY π@hw÷ΩTC

UPDATE DRIVE ≤≈C

QUERY DRIVE

416 4.2

Page 443: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

QUERY DRMEDIA]dNCΘoⁿOπΩw≈MxseΘ÷ΩTCz]iHⁿO

@i⌡µⁿOAHKBzeΘC

: QUERY DRMEDIA ⁿOuBzxseΘ] ΩTA\ COPYSTGPOOLíC ziH SOURCE εⁿOO nBzΩw≈eΘC

MvO

pGnoXoⁿOAz'πUCΣñ@MvOG

¶ pGⁿwF CMD ABN REQSYSAUTHOUTFILE °A∩]w NOG

h'π@BL¡εxsΘtMvC

¶ pGⁿwF CMD ABN REQSYSAUTHOUTFILE °A∩]w YES]w]G h'πtMvC

yk

Query DRMedia*

volume_name

WHERESTate = All

WHERESTate =AllMOuntableNOTMOuntableCOUrierVAultVAULTRetrieveCOURIERRetrieveREmote

BEGINDate = date ENDDate = date BEGINTime = time

ENDTime = time COPYstgpool = pool_name

Source = DBBackup

Source = DBBackupDBSnapshotDBNone

µí = Standard

µí = StandardDetailedCmd

WHERELOCation = location

CMd = ″command″

QUERY DRMEDIA

417Tivoli Storage Manager for HP-UX zΓU

5.

z

ⁿO

Page 444: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

CMDFilename = file_name

APPend = No

APPend = NoYes

volume_nameⁿwndºΩw≈PxseΘWCziHUrⁿwh

WC∩C w]OdΩw≈eΘHxs

eΘAoeΘ÷≤ C O P Y S T G P O O L ñⁿW]pGS

COPYSTGPOOL SET DRMCOPYSTGPOOL ⁿO]wxsC

WHEREStateⁿwnBzeΘ¼AC∩C w] ALLCiαG

AllⁿwB≤¼Añ$íeΘC

MOuntableeΘ¼A]tΩAB∩aBzOisC

NOTMOuntableB≤o¼AUeΘaeΘAΣñtΩABúasC

COUrierB≤o¼AUeΘamC

VAultB≤o¼AUeΘ≤aAΣñtΩABúasC

VAULTRetrieve¼AeΘbaxAútΩC

COURIERRetrieveB≤o¼AUeΘQamC

REmoteB≤o¼AUeΘ]tΩAB≤a°AWC

BEGINDateⁿw∩eΘlΘC ∩C pG MOVE DRMEDIA ⁿOwgbⁿwΘºßNeΘ≤µ¼AAheΘQ°XµCw]ΩTs

b¡ΘCziHUCΣñ@ⁿwΩG

í d

MM/DD/YYYY SwΘ 09/15/1998

TODAY µΘ TODAY

QUERY DRMEDIA

418 4.2

Page 445: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

í d

TODAY-days -days µΘεhⁿwΘCj

O 9999C

TODAY-7 -7C

nd@gelNO²≤µ¼A

eΘAziHⁿw BEGINDATE=TODAY-7

BEGINDATE=-7C

ENDDateⁿw∩eΘ⌠ΘC∩C pG MOVE DRMEDIA ⁿOwgbⁿwΘºeNeΘ≤µ¼AAheΘQ°XµCw]bΘ

CziHUCΣñ@ⁿwΩG

í d

MM/DD/YYYY SwΘ 09/15/1998

TODAY µΘ TODAY

TODAY-days -days µΘεhⁿwΘCj

O 9999C

TODAY-7 -7C

nd@gelNO²≤µ¼A

eΘAziHⁿw BEGINDATE=TODAY-7

BEGINDATE=-7C

BEGINTimeⁿw∩eΘlíC∩C pG MOVE DRMEDIA ⁿOwgbⁿwΘMíºß≤µ¼AAheΘQ°XµCw]H

BEGINDATE ⁿwΘ9]]00:00:00C

ziHUCΣñ@ⁿwΩG

í d

HH:MM:SS ⁿwlΘSwí 12:33:28

NOW ⁿwlΘµí NOW

NOW+HH:MM

+HH:MM

µí[WⁿwlΘp

M

NOW+03:00 +03:00C

pGzb 9:00 oX QUERY DRMEDIA ⁿ

OABⁿw BEGINTIME=NOW+03:00

BEGINTIME=+03:00A TSM πbⁿw

lΘ 12:00 ≤µ¼AeΘC

NOW-HH:MM

-HH:MM

µíεhⁿwlΘp

M

NOW-03:30 -03:30C

pGzb 9:00 oX QUERY DRMEDIA ⁿ

OABⁿw BEGINTIME=NOW-03:30

BEGINTIME=-03:30C TSM πbⁿw

lΘ 5:30 ≤µ¼Ae

ΘC

ENDTimeⁿw∩eΘ⌠íC∩C pG MOVE DRMEDIA ⁿOwgbⁿwΘMíºeNeΘ≤µ¼AAheΘQ°XµCw]

23:59:59C

QUERY DRMEDIA

419Tivoli Storage Manager for HP-UX zΓU

5.

z

ⁿO

Page 446: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

ziHUCΣñ@ⁿwΩG

í d

HH:MM:SS ⁿw⌠ΘSwí 10:30:08

NOW ⁿw⌠Θµí NOW

NOW+HH:MM

+HH:MM

µí[Wⁿw⌠Θp

M

NOW+03:00 +03:00C

pGb 9:00 oX QUERY DRMEDIA ⁿ

OAB]w ENDTIME=NOW+03:00

ENDTIME=+03:00A TSM Bzbⁿw

⌠Θ 12:00 ≤Σµ¼A

eΘC

NOW-HH:MM

-HH:MM

µíεhⁿw⌠Θp

M

NOW-03:30 -03:30

pGb 9:00 oX QUERY DRMEDIA ⁿ

OAB]w ENDTIME=NOW-03:00

ENDTIME=-03:00A TSM Bzbⁿw

⌠Θ 6:00 ≤Σµ¼A

eΘC

COPYstgpoolⁿwnBzΣeΘxsWC∩C ziHUrⁿw

WCHoⁿwxsm½H SET DRMCOPYSTGPOOL ⁿOⁿwxsCpGSⁿwxsWAhtNBzⁿw¼Ae

ΘA²út MOUNTABLE ¼AC÷Bz MOUNTABLE ¼AeΘ ΩTA\ SET DRMCOPYSTGPOOL ⁿOC

SourceⁿwO ∩Ωw≈eΘC∩C w]O DBBACKUPCiαG

DBBackup∩πHWíΩw≈eΘC

DBSnapshot∩ Snapshot Ωw≈eΘC

DBNoneⁿwú∩Ωw≈eΘC

FormatⁿwnπΩTC ∩C w]O STANDARDCiαG

StandardⁿwπíΩTC

Detailedⁿwnπ ΩTC

Cmdⁿwn∩eΘmi⌡µⁿOCpGzⁿw FORMAT=CMDAN'ⁿwCMD C

QUERY DRMEDIA

420 4.2

Page 447: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

WHERELOcationⁿXndeΘmC∩C mj° 255rCpGσr]t⌠≤ (rAh' AϕCpGⁿw°AWA DRM π

°AWΩw≈eΘPxseΘC

CMdⁿwni⌡µⁿOBzoⁿOoeΘWMmC∩C z

'' AϕⁿO]wCoj° 255 rCDRM NⁿOgJ

CMDFILENAME SET DRMCMDFILENAME ⁿOⁿwAOQUERY DRMEDIA ⁿOúCpGⁿO°j≤ 240 rAª¿\hµAB[Ws≥r]+CziH ⌡µⁿOú≤∩s≥rC

pGzSⁿw FORMAT=CMD AoⁿONúgJn⌠≤ⁿOµC

stringⁿOrΩC.]tO' CpA

G

CMD="CHECKIN LIBVOLUME LIB8MM &VOL STATUS=SCRATCH"

LG

CMD=""CHECKIN LIBVOLUME LIB8MM" &VOL STATUS=SCRATCH""

substitutionⁿw@NA² QUERY DRMEDIA @NCSjpgABb & ºßúα]t µCiαG

&VOLeΘWC

&LOCeΘmC

&VOLDSN°AgJsCΘWCpATSM.BFS KOw]r TSM xsaWC TSM310.DBB NOr TSM310 Ωw≈aeΘWC

&NLs@µrCⁿw &NL AQUERY DRMEDIA ⁿOb &NL mⁿOABú[s≥rCnAz'b &NL ºeⁿwAϕs≥rCpGSⁿw &NLABⁿOµ°WX 240 rANY¿µAB[Js≥r]+C

CMDFilenameⁿwπWAH]t CMD ⁿwⁿOC∩C pGzSⁿwWAh SET DRMCMDFILENAME ñWC pGzSQ SETDRMCMDFILENAME ⁿwWATSM @WAΦkON exec.cmds [ DSMSERV_DIR ⌠ⁿ²AO TSM °Aµu@²²

⌠WC pGzⁿwF@ rΩ]″″AⁿOuπbDxWC ziH@t½sJrANⁿO½sJC

QUERY DRMEDIA

421Tivoli Storage Manager for HP-UX zΓU

5.

z

ⁿO

Page 448: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

pGbⁿOß@óAhúRúC

APPendⁿwngⁿO⌠≤seAONⁿO[ñC∩C w]

NOCiαG

NoDRM geC

YesDRM NⁿO[ñC

d

@ 1

πnµHaxseΘC

ⁿO:

query drmedia wherestate=notmountableformat=standard

ΘX:

eΘW ¼A e≤s íΘ/í wW

--------------- -------------- -------------------- -----------------TAPE01 DiⁿB 01/20/1998 14:25:22DBTP01 DiⁿB 01/20/1998 14:25:22DBTP03 DiⁿB 01/20/1998 14:31:53

@ 2

πxeΘ ΩTC

ⁿO: query drmedia wherestate=vault format=detailed

ΘX:

eΘW: DBTP02¼A: s±

e≤sΘ/í: 01/20/1998 13:29:02m: Ironmnt

eΘ¼: DBBackupxsW:

íwWG

ΣñG

eΘW

Ωw≈xseΘWC

QUERY DRMEDIA

422 4.2

Page 449: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

¼p]StateeΘ¼AC

e≤sΘ/í

W≤seΘΘPíC

m

eΘmC

eΘ¼

eΘ¼CiαG

DBBackupπWíΩw≈eΘC

DBSnapshotΩw Snapshot ≈eΘC

CopyStgPoolxseΘC

xsW

pGOxseΘAhOⁿxsWC

íwW

pGeΘbwñAhOⁿíwWC

÷ⁿO

ϕ 161. P QUERY DRMEDIA ÷ⁿO

ⁿO í

BACKUP DB N TSM Ωw≈seΘC

BACKUP STGPOOL ≈@DxsxsC

CHECKOUT LIBVOLUME NxseΘXíwC

MOVE DRMEDIA N DRM CΘaHaC

SET DRMCOPYSTGPOOL ⁿwxsO DRM zC

SET DRMDBBACKUPEXPIREDAYS ⁿwΩw≈tCLºhC

SET DRMCMDFILENAME ⁿw@W]t DRM i⌡µⁿOC

SET DRMFILEPROCESS ⁿw MOVE DRMEDIA QUERY DRMEDIA

ⁿOO BzPm¼÷C

QUERY DRMEDIA

423Tivoli Storage Manager for HP-UX zΓU

5.

z

ⁿO

Page 450: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

QUERY DRMSTATUS]d DRM tⁿOiπ Tivoli Nzí (DRM) wqtº÷ΩTC

MvO

⌠≤zíiHoXⁿOC

yk

Query DRMSTatus

LC

d

@

π DRM tΩTC

ⁿO: query drmstatus

ΘX:

prGpⁿrGNeΘrG@

DxsGPRIM1 PRIM2xsGCOPY*

DiⁿBWGLocal WGFedexxWGIronmnt

DB ≈tCG30 dHGNo

Bz FILE m¼HGNoⁿOWG

ΣñG

pr

pWñAⁿwr íC

pⁿr

°AⁿWñAⁿwr íC

NeΘr

pñAsWNeΘWrC

Dxs

iH PREPARE ⁿOBzDxsCpGoµO (ANϕDxsúOXµC

QUERY DRMSTATUS

424 4.2

Page 451: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

xs

iH MOVE DRMEDIABPREPARE M QUERY DRMEDIA ÑⁿOBzxsCpGoµO (AhxsúOXµC

DiⁿBW

xsnXfCΘbamWC

W

NCΘaJxWC

xIW

xsCΘxWC

DB ≈tC

bΩwtCß#'gLh[AMOVE DRMEDIA ⁿO!αPwªwL#C

dH

O ¬ MOVE DRMEDIA ⁿOXCΘeΘCΘCiαYes NoC

Bz FILE m¼H

MOVE DRMEDIA QUERY DRMEDIA ⁿOO nBzP FILE m¼÷pΩw≈PxseΘCiα Yes NoC

ⁿOW

]t MOVE DRMEDIA QUERY DRMEDIA ⁿOúi⌡µⁿOπ⌠WC

÷ⁿO

ϕ 162. P QUERY DRMSTATUS ÷ⁿO

ⁿO í

SET DRMCHECKLABEL ⁿwb MOVE DRMEDIA ⁿOBzíATSM

O ¬eΘC

SET DRMCOPYSTGPOOL ⁿwxsO DRM zC

SET DRMCOURIERNAME ⁿwNCΘWC

SET DRMDBBACKUPEXPIREDAYS ⁿwΩw≈tCLºhC

SET DRMFILEPROCESS ⁿw MOVE DRMEDIA QUERY DRMEDIA

ⁿOO BzPm¼÷C

SET DRMINSTRPREFIX ⁿwpⁿ⌠Wºr í≈C

SET DRMPLANVPOSTFIX ⁿwpñNeΘWC

SET DRMPLANPREFIX ⁿwp⌠Wºr í≈C

SET DRMPLANVPOSTFIX ⁿwpñNeΘWC

SET DRMPLANPREFIX ⁿwp⌠Wºr í≈C

SET DRMPRIMSTGPOOL ⁿwDxs DRM zC

SET DRMVAULTNAME ⁿwxs DRM CΘxWC

SET DRMCMDFILENAME ⁿw@W]t DRM i⌡µⁿOC

SET DRMNOTMOUNTABLENAME ⁿwna DRM CΘºmWC

QUERY DRMSTATUS

425Tivoli Storage Manager for HP-UX zΓU

5.

z

ⁿO

Page 452: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

QUERY ENABLED]d≤oⁿOπ≤≤C]ΣuCC

MvO

⌠≤zíiHoXⁿOC

yk

Query ENabled CONSOLEACTLOGEVENTSERVERFILEFILETEXTSNMPTIVOLIUSEREXIT

NODEname = node_nameSERVername = server_name

receiverⁿw≤¼¼C'nC G

ACTLOGN TSM íΘxⁿw¼C

CONSOLEN°ADxⁿw¼C

EVENTSERVERN≤°Aⁿw¼C

FILENⁿw¼C C@O²≤úOñ@ºO²A]A

⌠≤HúLk ÷\¬C@ºO²≤C

FILETEXTNⁿw¼C C@O²≤úOTwjpi¬µC

SNMPNuí⌠⌠zqH≤w]SNMPvⁿw¼C

TIVOLIN Tivoli z⌠]TMEⁿw¼C

USEREXITN ADSM gJΩT gíⁿw¼C

NODEnameⁿwndIWCziHⁿw NODENAME SERVERNAMECpGΓúⁿwAhdw∩⌡µⁿOº°A≤C

QUERY ENABLED

426 4.2

Page 453: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

SERVernameⁿXnd°AWCziHⁿw NODENAME SERVERNAMECpGΓúⁿwAhdw∩⌡µⁿOº°A≤C

d

@

V°AdDxw°A≤C 10000 iα°A≤C πw≤≤Mµ]uMµC

ⁿO: query enabled console

ΘX:

CONSOLE ¼F 9998 ≤CUC ≤hO CONSOLE ¼ ≤G|

ANR8409, ANR8410

÷ⁿO

ϕ 163. P QUERY ENABLED ÷ⁿO

ⁿO í

BEGIN EVENTLOGGING ≤O²ⁿw¼C

DISABLE EVENTS ¼Sw≤C

ENABLE EVENTS ¼Sw≤C

END EVENTLOGGING εN≤O²ⁿw¼C

QUERY EVENTRULES π°AHq°A÷WhΩ

TC

QUERY STATUS π°A]wAp SET ⁿO∩w

C

QUERY ENABLED

427Tivoli Storage Manager for HP-UX zΓU

5.

z

ⁿO

Page 454: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

QUERY EVENT]dwwP¿≤oⁿOdϕO wgQBzCpGnNBzodíε

#AiHNΘX¡εΣwíbⁿwΘPíd≥≤C

QUERY EVENT ⁿOiHπS≤O²≤÷ΩTCpApGznDww*≤÷ΩTAoⁿOπ≤ Future ¼AAYo≤ *⌠≤≤O²C AoⁿO]πwgqΩwúh≤O²Lh≤¼AC

bí#UA°AN≡úTw¼AA]Ω≤LkbS≤O²ípU

PC

QUERY EVENT ⁿO@Γ µíAY dO'wq@wzⁿOwCC µíykPíOwqC

QUERY EVENT

428 4.2

Page 455: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

QUERY EVENT -- qϕQUERY EVENT ⁿOi²zw∩∩qAπΣwPπ≤C

MvO

⌠≤zíiHoXⁿOC

yk

Query EVent domain_name schedule_nameType = Client

,

Nodes = node_name

BEGINDate = current_date

BEGINDate = date

BEGINTime = 00:00

BEGINTime = time

ENDDate = end_date

ENDDate = date

ENDTime = 23:59

ENDTime = time

EXceptionsonly = No

EXceptionsonly = NoYes

µí = Standard

µí = StandardDetailed

domain_name]n

ⁿwϕhΓWCziHUrⁿwoWC

schedule_name]n

ⁿwπ≤ϕWCziHUrⁿwoWC

Type=Clientⁿwdnπqϕ≤C∩C w] CLIENTC

Nodesⁿw≤π≤ºⁿwhΓqIWCziHⁿwhqA

ΦkOHr NWjABñíS µCziHUrⁿwIC

pG*ⁿwqWAhπX DOMAINNAME M SCHEDULENAME qC

BEGINDateⁿwnπ≤ºíd≥lΘCwboí≤íπX

C∩C w]bΘC

QUERY EVENT -- qϕ

429Tivoli Storage Manager for HP-UX zΓU

5.

z

ⁿO

Page 456: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

ziHUCΣñ@ⁿwΩG

í d

MM/DD/YYYY SwΘ 09/15/1998

TODAY µΘ TODAY

TODAY+days

+days

µΘ[WⁿwΘCziHⁿ

wjΘO 9999C

TODAY +3 +3C

TODAY-days

-days

µΘεhⁿwΘ TODAY-7 -7C

ndwbLhC≤Aⁿw

BEGINDATE=TODAY-7 ENDDATE=TODAY

BEGINDATE=-7 ENDDATE=TODAYC

BEGINTimeⁿwnπ≤íd≥líCwboí≤íπX

C∩C w] 00:00C

ziHUCΣñ@ⁿwΩG

í d

HH:MM:SS ⁿwlΘSwí 10:30:08

NOW ⁿwlΘµí NOW

NOW+HH:MM

+HH:MM

µí[WⁿwlΘpM

NOW+03:00 +03:00C

pGzb 9:00 oXoⁿOdwbT

pß≤AziHⁿw

BEGINTIME=NOW+03:00

BEGINTIME=+03:00C TSM πⁿwl

Θ 12:00 ≤C

NOW-HH:MM

-HH:MM

µíεhⁿwlΘpM

NOW-04:00 -04:00C

pGzb 9:00 oXoⁿOdwbL

h4p≤AziHⁿw

BEGINTIME=NOW-04:00 ENDTIME=NOW

BEGINTIME=-04:00 ENDTIME=NOWC

TSM πⁿwlΘ 5:00 ≤C

ENDDateⁿwπ≤ºíd≥⌠ΘCwboí≤úπ

XC∩C w]O BEGINDATE C

ziHUCΣñ@ⁿwΩG

í d

MM/DD/YYYY SwΘ 09/15/1998

TODAY µΘ TODAY

TODAY+days

+days

µΘ[WⁿwΘCziHⁿ

wjΘO 9999C

TODAY +3 +3C

QUERY EVENT -- qϕ

430 4.2

Page 457: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

í d

TODAY-days

-days

µΘεhⁿwΘ TODAY-8 -8C

pGndHQß@e@P

w≤AiHⁿw

BEGINDATE=TODAY-8

ENDDATE=TODAY-1 BEGINDATE=-8

ENDDATE=-1C

ENDTimeⁿwnπ≤ºíd≥⌠íCwboíl≤íπ

C∩C w] 23:59C

ziHUCΣñ@ⁿwΩG

í d

HH:MM:SS ⁿw⌠ΘSwí 10:30:08

NOW ⁿw⌠Θµí NOW

NOW+HH:MM

+HH:MM

µí[Wⁿw⌠ΘpM

NOW+03:00 +03:00C

pGzb 9:00 oXoⁿOdwbT

pß≤AziHⁿw

BEGINTIME=NOW ENDTIME=NOW+03:00

BEGINTIME=NOW ENDTIME=+03:00C

NOW-HH:MM

-HH:MM

µíεhⁿw⌠ΘpM

NOW-04:00 -04:00

EXceptionsonlyⁿwz∩≤ww¿≤ΩT¼C∩C w] NOCiαG

NoⁿwnπLhp≤ΩTC

Yesⁿwnπó S÷ϕBz≤C

Formatⁿwp≤πΩTC∩C w]O STANDARDCiαG

Standardⁿwπ÷≤í≈ΩTC

Detailedⁿwπ÷≤πΩTC

d

@ 1

π DOMAIN1 w²*Q⌡µ≤í≈ΩTC¡εjMbq JOE ⌡µCuπwb 1999 2 δ 11 Θ (02/11/1999) 1999 2 δ 12 Θ (02/12/1999)ío≤C

QUERY EVENT -- qϕ

431Tivoli Storage Manager for HP-UX zΓU

5.

z

ⁿO

Page 458: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

ⁿO:

query event domain1 * nodes=joe begindate=02/11/1999enddate=02/12/1999 exceptionsonly=yes

ΘX:

lí Ω lí I ¼AW

-------------------- -------------------- --------- ---- ---------02/11/1999 01:00:00 02/11/1999 01:13:55 BACK1 JOE Failed02/12/1999 01:00:00 DAILYBKP JOE Missed

@ 2

πq 1999 1 δ 16 Θ (01/16/1999) 1999 1 δ 17 Θ (01/17/1999) íAw DOMAIN1 ñq JOE Bz≤ºπΩTC

ⁿO:

query event domain1 * nodes=joebegindate=01/16/1999 enddate=01/17/1999 format=detailed

ΘX:

hΓWGDOMAIN1ϕWGDAILY_BACKUP

IWGJOE líG01/16/1999 01:00:00Ω líG

¿G¼AGLGG0

hΓWGDOMAIN1ϕWGDAILY_BACKUP

IWGJOE líG01/16/1999 01:00:00Ω líG01/16/1999 01:13:55

¿íG01/16/1999 01:18:27¼AG¿GG0

ΣñG

hΓW

ⁿXϕⁿwhΓWC

ϕW

ⁿXlo≤ϕWC

IW

ⁿX⌡µ@qϕC

QUERY EVENT -- qϕ

432 4.2

Page 459: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

ⁿX≤wΘPíC

Ωlí

ⁿXqlBzw@ΘPíCϕp *l⌡µAhúπ

ΩTC

¿

ⁿXw≤¿ΘPíC

¼A

ⁿX≤O w¿CiαG

¿

ⁿXw≤wg¿C

L

ⁿX≤w°íwggLA²Oϕ *lC

ó

ⁿXq°iw@⌡µó Aß≥½]S¿\C

ⁿX≤wlBzC

½s

ⁿXqwg½Bzw@C

ⁿXb≤¿ºeAPqqHwg-C

ⁿXHß!≤°íC

m

ⁿX QUERY EVENT ⁿOOb≤°ííoXABzw@ *lC

úTw

ⁿX≤¼ALkMwCpG QUERY EVENT ⁿOΣúY≤O²Ah°ANⁿúTwº¼ACpGO²QRúAObw°í]ϕ*

Lk°AANΣú≤O²CuúTwv¼AO²Nún≤Ω

wCpGzúQπoO²Aⁿw EXCEPTIONSONLY=YES RúúnϕC

: ϕ@bBz²*½sAbΣⁿw≥íA¼AµπwCY@WXⁿw≥í≥Ahú≤O²CYbⁿw

≥íLFºßoXdAhY@2b⌡µñA¼AπóC

b@¿ºßA≤O²ABß≥db¼AµñπGC

G

ⁿXqATϕO QBzXCpGXúOsA

QUERY EVENT -- qϕ

433Tivoli Storage Manager for HP-UX zΓU

|

|

|

|

5.

z

ⁿO

Page 460: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

dzb DEFINE SCHEDULE ⁿOUAH OPTIONS ⁿw∩rΩAOH OBJECT ⁿw½≤rΩC

QUERY EVENT -- qϕ

434 4.2

Page 461: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

QUERY EVENT -- zϕziH QUERY EVENT ⁿOAw∩∩zⁿOϕAπΣwPπ≤C

MvO

⌠≤zíiHoXⁿOC

yk

Query EVent schedule_name Type = Administrative

BEGINDate = current_date

BEGINDate = date

BEGINTime = 00:00

BEGINTime = time

ENDDate = begin_date

ENDDate = date

ENDTime = 23:59

ENDTime = time

EXceptionsonly = No

EXceptionsonly = NoYes

µí = Standard

µí = StandardDetailed

schedule_name]n

ⁿwπ≤ϕWCziHUrⁿwWC

Type=Administrative]n

ⁿwdnπzⁿOϕ≤C

BEGINDateⁿwnπ≤ºíd≥lΘCwboí≤íπX

C∩C w]bΘC

ziHUCΣñ@ⁿwΩG

í d

MM/DD/YYYY SwΘ 09/15/1998

TODAY µΘ TODAY

TODAY+days

+days

µΘ[WⁿwΘCziHⁿ

wjΘO 9999C

TODAY +3 +3C

TODAY-days

-days

µΘεhⁿwΘ TODAY-7 -7C

ndwbLhC≤Aⁿw

BEGINDATE=TODAY-7 ENDDATE=TODAY

BEGINDATE=-7 ENDDATE=TODAYC

QUERY EVENT -- zϕ

435Tivoli Storage Manager for HP-UX zΓU

5.

z

ⁿO

Page 462: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

BEGINTimeⁿwnπ≤íd≥líCwboí≤íπX

C∩C w] 00:00C

ziHUCΣñ@ⁿwΩG

í d

HH:MM:SS ⁿwlΘSwí 10:30:08

NOW ⁿwlΘµí NOW

NOW+HH:MM

+HH:MM

µí[WⁿwlΘpM

NOW+03:00 +03:00C

pGzb 9:00 oXoⁿOdwbT

pß≤AziHⁿw

BEGINTIME=NOW+03:00

BEGINTIME=+03:00C TSM πⁿwl

Θ 12:00 ≤C

NOW-HH:MM

-HH:MM

µíεhⁿwlΘpM

NOW-04:00 -04:00C

pGzb 9:00 oXoⁿOdwbL

h4p≤AziHⁿw

BEGINTIME=NOW-04:00 ENDTIME=NOW

BEGINTIME=-04:00 ENDTIME=NOWC

TSM πⁿwlΘ 5:00 ≤C

ENDDateⁿwπ≤ºíd≥⌠ΘCwboí≤úπ

XC∩C w]O BEGINDATE C

ziHUCΣñ@ⁿwΩG

í d

MM/DD/YYYY SwΘ 09/15/1998

TODAY µΘ TODAY

TODAY+days

+days

µΘ[WⁿwΘCziHⁿ

wjΘO 9999C

TODAY +3 +3C

TODAY-days

-days

µΘεhⁿwΘ TODAY-8 -8C

pGndHQß@e@P

w≤AiHⁿw

BEGINDATE=TODAY-8

ENDDATE=TODAY-1 BEGINDATE=-8

ENDDATE=-1C

ENDTimeⁿwnπ≤ºíd≥⌠íCwboíl≤íπ

C∩C w] 23:59C

ziHUCΣñ@ⁿwΩG

í d

HH:MM:SS ⁿw⌠ΘSwí 10:30:08

NOW ⁿw⌠Θµí NOW

QUERY EVENT -- zϕ

436 4.2

Page 463: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

í d

NOW+HH:MM

+HH:MM

µí[Wⁿw⌠ΘpM

NOW+03:00 +03:00C

pGzb 9:00 oXoⁿOdwbT

pß≤AziHⁿw

BEGINTIME=NOW ENDTIME=NOW+03:00

BEGINTIME=NOW ENDTIME=+03:00C

NOW-HH:MM

-HH:MM

µíεhⁿw⌠ΘpM

NOW-04:00 -04:00

EXceptionsonlyⁿwz∩≤ww¿≤ΩT¼C∩C w] NOCiαG

NoⁿwnπLhp≤ΩTC

Yesⁿwnπó S÷ϕBz≤C

Formatⁿwp≤πΩTC∩C w] STANDARDCiαG

Standardⁿwπ÷≤í≈ΩTC

Detailedⁿwπ÷≤πΩTC

d

@

π DOSADMIN zϕ≤íΩTCudwb 1999 3δ 30 Θ (03/30/1999) ⌡µ≤C

ⁿO:

query event dosadmin type=administrativebegindate=03/30/1999enddate=03/30/1999

ΘX:

lí Ω lí ϕ ¼AW

-------------------- -------------------- --------- ---------03/30/1999 00:00:00 03/30/1999 00:00:01 DOSADMIN Completed03/30/1999 04:00:00 03/30/1999 04:00:01 DOSADMIN Completed03/30/1999 12:00:00 DOSADMIN Future03/30/1999 16:00:00 DOSADMIN Future

ΣñG

QUERY EVENT -- zϕ

437Tivoli Storage Manager for HP-UX zΓU

5.

z

ⁿO

Page 464: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

ⁿX≤wΘPíC

Ωlí

ⁿXqlBzw@ΘPíCϕp *l⌡µAhúπ

ΩTC

ϕW

ⁿXlo≤ϕWC

¼A

ⁿX≤O w¿C

÷ⁿO

ϕ 164. P QUERY EVENT ÷ⁿO

ⁿO í

QUERY ACTLOG π°AíΘxTºC

DELETE EVENT RúⁿwΘHíºe≤O²C

SET EVENTRETENTION ⁿXnww@OdO²h#C

SET RANDOMIZE ⁿwbqⁿíñA°í

H≈C

QUERY EVENT -- zϕ

438 4.2

Page 465: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

QUERY EVENTRULES]°Aq≤dWhoⁿOπⁿw¼°AAqI≤C

MvO

⌠≤zíiHoXⁿOC

yk

Query EVENTRUles

*

,

CONSOLEACTLOGEVENTSERVERFILEFILETEXTSNMPTIVOLIUSEREXIT

NODEname = node_nameSERVername = server_name

¼

ⁿw≤@h¼WC∩C

ziHUrⁿw¼C

G

CONSOLENDxⁿw¼C

ACTLOGN TSM íΘxⁿw¼C

EVENTSERVERⁿw≤°A@¼C

FILENⁿw¼C C@O²≤úOñ@ºO²A]A

⌠≤HúLk ÷\¬C@ºO²≤C

FILETEXTNⁿw¼C C@O²≤úOTwjpi¬µC

SNMPNuí⌠⌠zqH≤w]SNMPvⁿw¼C

TIVOLIN Tivoli z⌠]TMEⁿw¼C

USEREXITN ADSM gJΩT gíⁿw¼C

QUERY EVENTRULES

439Tivoli Storage Manager for HP-UX zΓU

5.

z

ⁿO

Page 466: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

NODEnameⁿwndIWCziHUrⁿwWCziHⁿw

NODENAME SERVERNAMECpGΓúⁿwAhd⌡µⁿOº°A≤WhC

SERverⁿXnd°AWCziHUrⁿwWCziHⁿw

NODENAME SERVERNAMECpGΓúⁿwAhd⌡µⁿOº°A≤WhC

d

@ 1

π°ADxMíΘx¼q≤C

ⁿO: query eventrules console,actlog nodename=*

ΘX:

Θ/í q ≤Wh-------------------- ----------------------------------------------------05/29/97 13:39:58 ENABLE EVENTS CONSOLE ANE4001 NODENAMES=JEE05/30/97 13:46:25 DISABLE EVENTS ACTLOG ANE4962 NODENAMES=JEE05/30/97 13:46:25 DISABLE EVENTS ACTLOG ANE4963 NODENAMES=JEE05/30/97 13:46:25 DISABLE EVENTS ACTLOG ANE4965 NODENAMES=JEE05/30/97 13:46:25 DISABLE EVENTS ACTLOG ANE4966 NODENAMES=JEE05/30/97 13:46:25 DISABLE EVENTS ACTLOG ANE4967 NODENAMES=JEE05/30/97 13:46:25 DISABLE EVENTS ACTLOG ANE4968 NODENAMES=JEE05/30/97 14:24:20 ENABLE EVENTS CONSOLE ANE4015 NODENAMES=RON05/30/97 14:24:50 ENABLE EVENTS CONSOLE ANE4026 NODENAMES=DONNA05/30/97 14:25:59 ENABLE EVENTS CONSOLE ANE4015 NODENAMES=DONNA

@ 2

π¼°A≤C

ⁿO: query eventrules

ΘX:

Θ/í °A ≤Wh-------------------- ----------------------------------------------------05/22/97 14:35:13 ENABLE EVENTS CONSOLE ANR257805/30/97 14:29:31 ENABLE EVENTS CONSOLE ANR027205/30/97 14:31:46 ENABLE EVENTS USEREXIT ANR013005/30/97 14:31:54 ENABLE EVENTS USEREXIT ANR013105/30/97 14:50:28 ENABLE EVENTS USEREXIT ANR0266

QUERY EVENTRULES

440 4.2

Page 467: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

÷ⁿO

ϕ 165. P QUERY ENABLED ÷ⁿO

ⁿO í

BEGIN EVENTLOGGING ≤O²ⁿw¼C

DISABLE EVENTS ¼Sw≤C

ENABLE EVENTS ¼Sw≤C

END EVENTLOGGING εN≤O²ⁿw¼C

QUERY ENABLED π∩Sw¼≤C

QUERY EVENTRULES

441Tivoli Storage Manager for HP-UX zΓU

5.

z

ⁿO

Page 468: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

QUERY EVENTSERVER]d≤°AoⁿOπ≤°AWC

MvO

⌠≤zíiHoXⁿOC

yk

Query EVENTSERVer

d

@

π≤°AWC

ⁿO: query eventserver

÷ⁿO

ϕ 166. P QUERY EVENTSERVER ÷ⁿO

ⁿO í

BEGIN EVENTLOGGING ≤O²ⁿw¼C

DEFINE EVENTSERVER N°Awq≤°AC

DEFINE SERVER wqu°A∩°AvqH°AC

DELETE EVENTSERVER Rú≤°AC

DELETE SERVER Rú°AwqC

END EVENTLOGGING εN≤O²ⁿw¼C

QUERY EVENTSERVER

442 4.2

Page 469: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

QUERY FILESPACE ]d@híoⁿOπ≤qI í÷ΩTCπΩT/MI

±@Wí≈ΩC

: ϕ@Iπ@HW íABu∩@ íoX DELETEFILESPACE ⁿOAbRúí∩IoX QUERY FILESPACE ⁿOúπ íCRú⌠ßAiH QUERY FILESPACE ⁿO°l íC

MvO

⌠≤zíiHoXⁿOC

yk

Query FIlespace* *

*node_name

file_space_name

µí = Standard

µí = StandardDetailed

NAMEType = SERVER

NAMEType = SERVERUNIcodeFSID

CODEType = BOTH

CODEType = UNIcodeNONUNIcodeBOTH

node_nameⁿw íqICziHUrⁿwWC∩

C w]OqIWCpGzⁿwWAN'oⁿw@

C

file_space_nameⁿwnd íWCziHUrⁿwWC∩C p

GSⁿw⌠≤Ahd íC

Y°AqΣ Unicode íAziαnN íW૨zΘJWC pAziαn°ANzΘJWAq°ArX૨

UnicodeC\ NAMETYPE Ho ΩTCpGz*ⁿw íWuⁿw@µ@UrNϕWAziH CODETYPE ¡ε Unicode íD Unicode í@C

QUERY FILESPACE

443Tivoli Storage Manager for HP-UX zΓU

|

|

|

|

|

5.

z

ⁿO

Page 470: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

íWHjpgCzi QUERY FILESPACE ⁿOMw²dº íTjgC

Formatⁿwp≤πΩTC∩C w] STANDARDCiαG

Standardⁿwπⁿwº íí≈ΩTC

Detailedⁿwπⁿw íπΩTC

NAMETypeⁿwzn°AzΘJº íΦíCobΣqΣ°A

DCeu Windows NT M Windows @t!úΣ Unicode ≈OsqC

bzΘJí≈π íW!oCw] SERVERCiαG

SERVER°A°ArX íWC

UNIcode°ANΘJ íWq°ArX૨ UTF-8 rXCα½O ¿\WñΩrH°ArXMwC pGrΩt°ArXú

ΣrA°Astα½íoDAα½Kiαó C

FSID°AN íWª í ID]FSIDC

CODETypeⁿwN í]A@ñΦíCw] BOTHAϕN]A íPrXL÷Cbz∩ íWⁿwµ@Ur!oCiα

G

UNIcodeu]A Unicode µí íC

NONUNIcodeu]AúO Unicode µí íC

BOTH]A íBMrXL÷C

d

@ 1

dP$íqI÷ íC

ⁿO: query filespace

ΘX:

QUERY FILESPACE

444 4.2

|

|

|

|

|

|

|

|

|

|

|

|

|

|

|

|

|

|

|

|

|

|

|

|

|

Page 471: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

IW í FSID ¡x í eq qW ¼ íO (MB) ±

Unicode?---------- ----------- ---- ------- --------- --------- -------- -----JOE \\joe\c$ 1 WinNT NTFS O 2,502.3 75.2JOE \\joe\d$ 2 WinNT NTFS O 6,173.4 59.6

@ 2

π≤qI JOE º \\joe\c$ í ΩTC

ⁿO: query filespace joe \\joe\c$ nametype=unicode format=detailed

ΘX:

IWGJOEíWG\\joe\c$

QiíWG5c5c6a6f655c6324FSID: 1

¡xGWinNTí¼GNTFS

í Unicode GOeq (MB)G2,502.3

q±G75.2e≈ lΘ/íGe≈lßGe≈¿Θ/íGe≈¿ßG

ΣñG

IW

ⁿXqIWC

íW

ⁿXqI íWC

íWMWrXyÑ⌠AYúP≤°AAhLkTaπ

bz Web 7zⁿOµ7WC Ω¡≈ABiAϕaA² íWiαπLrX µC

pG íWi UnicodeAWQα½°ArXHπCα½µrXúΣrAΣG°@twC ∩≤ TSM α≈⌡µí≈α½WAz (??)B (BúiCLr "..."CorVzⁿXúsbC pGα½ú¿\AWNπ "..."C pGrΩt°ArXúΣrA°Astα½íoDAα½Kiαó C

Qi íW

ⁿwqI íQ8iWC

QUERY FILESPACE

445Tivoli Storage Manager for HP-UX zΓU

|

||

||

|||||||||||||||

|

|

|

|

|

|

|

|

|

|

|

5.

z

ⁿO

Page 472: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

FSIDⁿw í í IDC

¡x

ⁿXqI¡xC

í¼

ⁿX í¼C

í Unicode H

ⁿw íO UnicodeC

eq]MB

H MB µAⁿwbqIWAⁿwo í íqC

v

ⁿX+ í+%±C

e≈lΘ/í

ⁿX í±@Wí≈lΘPíC

e≈lß

ⁿXq í±@Wí≈ºßgLC

e≈ ¿Θ/í

ⁿX í±@Wí≈¿ΘPíC

e≈ ¿ß

ⁿXq í±@Wí≈¿ßgLC

÷ⁿO

ϕ 167. P QUERY FILESPACE ÷ⁿO

ⁿO í

DELETE FILESPACE RúPq í÷pΩC

REGISTER NODE wq@q°AB]w

∩C

REMOVE NODE SwhΓºn²ICñúh@

qC

RENAME FILESPACE °AWq í≤WC

UPDATE NODE ≤MqI÷pC

QUERY FILESPACE

446 4.2

|

|

|

|

Page 473: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

QUERY LIBRARY]dCΘwoⁿOπw÷ΩTC

MvO

⌠≤zíiHoXⁿOC

yk

Query LIBRarylibrary_name

µí = Standard

µí = StandardDetailed

library_nameⁿwndCΘwWCziHUrⁿwWC∩C

Formatⁿwp≤πΩTC∩C w] STANDARDCiαG

StandardⁿwnπwíΩTC

DetailedⁿwCΘwπΩTπeC

d

@ 1

π÷W AUTO CΘw÷ΩTC

ⁿO: query library auto

ΘX:

CΘwW CΘw m M í¼ zí

------- ------- -------- -------- -------- --------AUTO SCSI/dev/01b

wq\@ 2C

@ 2

πW EZLIFE wπ ΩTC

ⁿO: query library ezlife format=detailed

QUERY LIBRARY

447Tivoli Storage Manager for HP-UX zΓU

5.

z

ⁿO

Page 474: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

ΘX:

wWGEZLIFEw¼GSCSI

mG/dev/01bMGG

ízíGe≤s]zGDOCTOR_MIKEe≤sΘ/íG2000-12-05 15:24:53

wWGEZLIFEw¼GSCSI

mG/dev/01bMGG

ízíG@GO

DnwzíGEZSERVERe≤s]zGDOCTOR_MIKEe≤sΘ/íG2000-12-05 15:24:53

ΣñG

wW

ⁿX≈ⁿwwWC

ⁿX≈ⁿww¼C

m

ⁿX∩≤≈mWC

M

ⁿX' WmMeΘ XC

π≤µΩTuA≤IBM 3494 3495 awΩ°AC

ⁿXwñeΘ XC

π≤µΩTuA≤IBM 3494 3495 awΩ°AC

ízí

ⁿX TSM ieCΘsnDíwzímC

@

ⁿwwO Mxs⌠⌠]SANñΣª TSM °A@C

QUERY LIBRARY

448 4.2

Page 475: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

Dnwzí

ⁿw°AWA°AtdεwΩ sC

e≤s]z

ⁿX∩≈⌡µß≤sC

e≤sΘ/í

ⁿXß≤soΘPíC

÷ⁿO

ϕ 168. P QUERY LIBRARY ÷ⁿO

ⁿO í

AUDIT LIBRARY Tw@íwOB≤@P¼AC

DEFINE LIBRARY wqíΓíwC

DELETE LIBRARY RúwC

QUERY LIBRARY

449Tivoli Storage Manager for HP-UX zΓU

5.

z

ⁿO

Page 476: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

QUERY LIBVOLUME ]dCΘweΘoⁿOπ@hJíw TSM °AºeΘ÷ΩTC

MvO

⌠≤zíiHoXⁿOC

yk

Query LIBVolume*

library_name

*

volume_name

library_nameⁿwCΘwWCziHUrⁿwWC∩C w]O

CΘwC

volume_nameⁿweΘWCziHUrⁿwWC∩C w]O

eΘC

d

@

πw=∩≤W AUTO CΘw$íeΘΩTC

ⁿO: query libvolume auto

ΘX:

CΘwW eΘW ¼A ß@ l------------ ----------- ------- --------- ------------AUTO 154VAM M 42AUTO 154VEB M Ω 43AUTO 154VTG M 36

wW

ⁿwxseΘbwWC

eΘW

ⁿwxseΘWC

¼A

ⁿwxseΘ¼ACpG¼AuMvAhTSM beΘCY¼Au

vAeΘiC

QUERY LIBVOLUME

450 4.2

Page 477: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

ß@

ⁿweΘWΩ¼CµuA≤ Private ¼AeΘC∩≤xseΘAµπ DataC∩≤Ωw≈eΘ]πBWí SnapshotAµπDbBackupC

l

ⁿw≈CO@rAΣⁿXíwº≈

ΩmC

÷ⁿO

ϕ 169. P QUERY LIBVOLUME ÷ⁿO

ⁿO í

AUDIT LIBRARY Tw@íwOB≤@P¼AC

CANCEL PROCESS °I°ABzC

CHECKIN LIBVOLUME NxseΘJíwC

CHECKOUT LIBVOLUME NxseΘXíwC

DEFINE LIBRARY wqíΓíwC

DEFINE VOLUME ⁿweΘⁿwxsºxsΘC

LABEL LIBVOLUME weΘC

QUERY LIBRARY π@hw÷ΩTC

QUERY PROCESS πI÷ΩTC

UPDATE LIBVOLUME ≤xseΘ¼AC

QUERY LIBVOLUME

451Tivoli Storage Manager for HP-UX zΓU

5.

z

ⁿO

Page 478: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

QUERY LICENSE ]πvΩToⁿOπv]Bv°MXkWΩTC

MvO

⌠≤zíiHoXⁿOC

yk

Query LICense

LC

÷ⁿO

ϕ 170. P QUERY LICENSE ÷ⁿO

ⁿO í

AUDIT LICENSES dO wwqvC

QUERY AUDITOCCUPANCY πqI°AxsΘqC

QUERY STATUS π°A]wAp SET ⁿO∩w

C

REGISTER LICENSE ∩ TSM °An²svC

SET LICENSEAUDITPERIOD ⁿwv]ºíC

QUERY LICENSE

452 4.2

Page 479: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

QUERY LOG ]πΘxWΩToⁿOπΘx÷ΩTC

MvO

⌠≤zíiHoXⁿOC

yk

Query LOGµí = Standard

µí = StandardDetailed

Formatⁿwp≤πΩTC∩C w]O STANDARDCiαG

StandardⁿwπíΩTC

DetailedⁿwππΩTC

d

@ 1

πΘx÷ΩTC

ⁿO: dΘx

ΘX:

i ⁿw j j i w jí eq XRq Yεq jp q q]MB ]MB ]MB ]MB ] ± ±

--------- -------- --------- --------- ------- ----- ----- ----- -----16 8 8 4 4,096 1,536 187 12.2 12.8

wq\@ 2C

@ 2

πΘx ÷ΩTC

ⁿO: query log format=detailed

ΘX:

QUERY LOG

453Tivoli Storage Manager for HP-UX zΓU

5.

z

ⁿO

Page 480: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

ií]MBG16ⁿweq]MBG8jXRq]MBG08jYεq]MBG4jp]G4,096

G1,536wG187q±G12.2

jq±G12.8ΩΘeΘG3

ΘxxsG64Θxxsq±G0.31ΘxxsѱG0.00

pq]MBG0.60q½]Θ/íG05/31/1996 13:02:42

ΣñG

ií]MB

ⁿXΘxi íqAH MB µC

ⁿweq]MB

ⁿXΘxⁿwxsΘeqAH MB µC

jXRq]MB

ⁿXziXRΘxxsΘ íqAH MB µC

jYεq]MB

ⁿXziHYεΘxjxsΘ íqAH MB µC

jp]

HµAⁿwCjpC

i

ⁿXΘxñºiC

w

ⁿXΘxµñC

v

ⁿXeq+ⁿweq±C

jq±

ⁿXΘxj+vAi í%±CⁿwpW½]º

ßAΘxjeq+vC

ΩeΘ

ⁿXwqΘxΘxeΘqA]AeΘC

Θxxs

ⁿXΘxw xsñC

QUERY LOG

454 4.2

Page 481: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

Θxxsq±

HΘxw xs%±AⁿXbTwºßAN≤gJΘ

xw xsC

Θxxs±

H+Θxw xsnD%±AⁿX∩Lkw xs

nD]]w xsúbñC

pq]MB

ⁿXqß@½]opºßA°AΘx íq]H MB µC

q½]Θ/í

Θxⁿwß@½]pqpΘíC

÷ⁿO

ϕ 171. P QUERY LOG ÷ⁿO

ⁿO í

DEFINE LOGCOPY ΘxeΘeΘC

DEFINE LOGVOLUME wqeΘΘxC

EXTEND DB XR²etmΣeΘºiΩ

wxsΘC

EXTEND LOG XR²etmΣeΘºiΘx

xsΘC

REDUCE DB YεwqeΘixsΘ ±XΩ

weΘC

REDUCE LOG YεwqeΘixsΘ ±XΘ

xeΘC

RESET LOGCONSUMPTION ½]Θx íºpC

RESET LOGMAXUTILIZATION ½]ΘxjqpC

QUERY LOG

455Tivoli Storage Manager for HP-UX zΓU

5.

z

ⁿO

Page 482: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

QUERY LOGVOLUME ]π@hΘxeΘΩToⁿOπΘxeΘMeΘ÷ΩTC

MvO

⌠≤zíiHoXⁿOC

yk

Query LOGVolume*

volume_name

µí = Standard

µí = StandardDetailed

volume_nameⁿwΘxeΘWC∩C ziHUrⁿwWCpG

zúⁿw@eΘWAhπX$íeΘWC

Formatⁿwp≤πΩTC∩C w]O STANDARDCiαG

StandardⁿwπíΩTC

DetailedⁿwππΩTC

d

@ 1

πPW log.1 ΘxeΘ÷ΩTC

ⁿO: query logvolume log.1

ΘX:

eΘW eΘW eΘW ] 1 ¼A ] 2 ¼A ] 3 ¼A---------------- ------ ------------ ------ ----------- ------/home/bill/dsm- PB wq wqserv/build/log.1

wq\@ 2C

@ 2

πⁿW log.1 ΘxeΘ÷ΩTC

ⁿO: query logvolume log.1 format=detailed

ΘX:

QUERY LOGVOLUME

456 4.2

Page 483: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

eΘW] 1G/home/bill/dsmserv/build/log.1¼AGPB

eΘW] 2G¼AGwq

eΘW] 3G¼AGwq

ií]MBG8tmí]MBG8lí]MBG0

ΣñG

eΘW] nⁿwΘxeΘWCΘXπTeΘ¼A] 1B 2BH 3C

¼A

ⁿXΘxeΘ¼ACiαG

α

eΘQαC

L

eΘ*PΘxΣªeΘPBAúα@xsΘC

PB

eΘPΘxΣªeΘPBAiH@xsΘC

wq

*wq⌠≤eΘC

ií]MB

ⁿXΘx]H MB µgtmBli íqC

tmí]MB

ⁿXtm@Θx]H MB µ íqC

lí]MB

ⁿXbitm]H MB µΘxñ*ⁿw íqC

÷ⁿO

ϕ 172. P QUERY LOGVOLUME ÷ⁿO

ⁿO í

DEFINE LOGCOPY ΘxeΘeΘC

DEFINE LOGVOLUME wqeΘΘxC

DELETE LOGVOLUME ΘxRúeΘC

VARY ⁿweΘO i°AC

QUERY LOGVOLUME

457Tivoli Storage Manager for HP-UX zΓU

5.

z

ⁿO

Page 484: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

QUERY MACHINE]d≈ΩToⁿOπ@hí≈ΩTCoNAziHoΩT TSMq≈C

: TSM úH⌠≤ΦíoΩTCªuO≤UzWeq≈NCTSM HUCπhí≈ΩTG

¶ ⁿwu²C

¶ bPu²A ⁿwmP≈WC

MvO

⌠≤zíiHoXⁿOC

yk

Query MACHine*

machine_name BUilding = building

FLoor = floor ROom = room PRIority = priority

ADSMServer = Yes

No

µí = Standard

µí = StandardDetailedRECOVERYInstructionsCHaracteristics

machine_nameⁿwnd@hí≈WCziHUrⁿwWC∩

C w]OXⁿwh≈C

BUildingⁿw≈bv½W XC∩C pGσr]t⌠≤ (rAh

' AϕC

FLoorⁿw≈bhW XC∩C pGσr]t⌠≤ (rAh

' AϕC

ROomⁿw≈bíW XC∩C σrhiH 16 rCpGσr]t⌠≤ (rAh' AϕC

PRIorityⁿw≈u² XC∩C

QUERY MACHINE

458 4.2

Page 485: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

ADSMServerⁿw≈O ]t TSM °AC∩C w]OπXΣªh≈CiαG

Yes≈]t TSM °AC

No≈út TSM °AC

Formatⁿwp≤πΩTC∩C w] STANDARDCiαG

StandardTSM π≈íΩTC

DetailedTSM π≈ΩTC

RECOVERYInstructionsTSM uπ≈ⁿCubdSw≈Ao∩!C

CHaracteristicsTSM uπ≈SCubdSw≈Ao∩!C

d

@ 1

πⁿW MACH1 º≈ΩTC

ⁿO: query machine MACH1

ΘX:

≈ ≈ j h í IW W u² CΘW------- -------- -------- ----- ----- --------- ----------MACH1 1 21 2 2929 VIRGINIA RECMED1

@ 2

π≤ 21 jGhAu² 1 º≈ ÷ΩTC

ⁿO:

query machine * building=21 floor=2 priority=1format=detailed

ΘX:

QUERY MACHINE

459Tivoli Storage Manager for HP-UX zΓU

5.

z

ⁿO

Page 486: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

≈WGMACH1≈u²G1

jG21hG2íG2929°A?: O

íGTSM °A≈IWGVIRGINIA

CΘWGRECMED1OtSHGYes

OtⁿHGYes

ΣñG

≈W

≈WC

≈u²

≈u²C

j

≈bjC

h

≈bhC

í

≈bíC

°A?≈O ]t TSM °AC

í

ŒC

IW

Poí≈÷p TSM qIC

CΘW

Poí≈÷pCΘC

OtSH

≈SσrO xsbΩwñC

OtⁿH

ⁿX≈ⁿσrO xsb TSM ΩwñC

÷ⁿO

ϕ 173. P QUERY MACHINE ÷ⁿO

ⁿO í

DEFINE MACHINE wq≈ DRMC

QUERY MACHINE

460 4.2

Page 487: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

ϕ 173. P QUERY MACHINE ÷ⁿO (≥)

ⁿO í

DEFINE MACHNODEASSOCIATION N TSM IP≈÷pC

DEFINE RECMEDMACHASSOCIATION NCΘP≈sC

DELETE MACHINE Rús≈C

INSERT MACHINE N≈SⁿíJ TSM ΩwC

UPDATE MACHINE ≤s≈ΩTC

QUERY MACHINE

461Tivoli Storage Manager for HP-UX zΓU

5.

z

ⁿO

Page 488: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

QUERY MEDIA]dsxsCΘoⁿOπ MOVE MEDIA ⁿOsDnxseΘ÷ΩTC

MvO

úDⁿO]t CMD A hA⌠≤zíiHoXoⁿOCpGⁿwF CMD ABN REQSYSAUTHOUTFILE °A∩]w NOAhz'π@BL¡εxsΘtMvCpGⁿwF CMD ABN REQSYSAUTHOUTFILE°A∩]w YES]w]Ahz'πtMvC

yk

Query MEDia*

volume_nameSTGpool = pool_name

Zß = days

,

WHERESTATUs = FULlFILlingEMPty

WHEREACCess = READWriteREADOnly

µí = Standard

µí = StandardDetailedCmd

WHERESTate = AllMOUNTABLEInlibMOUNTABLENotinlib

WHEREOVFLOcation = location CMd = ″command″

CMDFilename = file_name

APPend = No

APPend = NoYes

volume_nameⁿwnπsDnxseΘWC∩C ziHU

rⁿwWCtBzeΘCpGzSⁿwoAhπ

H STGPOOL ⁿwxsñwqeΘC

QUERY MEDIA

462 4.2

Page 489: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

STGpool]n

ⁿw∩BzeΘsDnxsWCziHU

rⁿwWCtBzXxsCpGⁿwxsúOí

CΘwzAhúπ⌠≤eΘC

DaysⁿXϕeΘ@ggJ¬ßA'gLh#AeΘ!iBzC∩

C zi 0 9999 ºíⁿw@C w] 0C]NOeΘWgJ¬ΘpΓgC

WHERESTATUsⁿw QUERY ΘXⁿeΘ¼A¡εC∩C zibCⁿw@HW¼AAΦkOrIjC@¼AABñíúíJ (CpGzSⁿ

woAhπⁿwxsñeΘ]LΣ¼A≤C

iαG

FULlⁿwnππ FULL ¼AeΘC

FILlingⁿwnππ FILLING ¼AeΘC

EMPtyⁿwnππ EMPTY ¼AeΘC

WHEREACCessⁿwΘXⁿeΘsí¡εC∩C pGzúoⁿw@

AΘXhúⁿsí¡εC

iαG

READWriteⁿwnππ READWRITE síeΘC

READOnlyⁿwnππ READONLY síeΘC

FormatⁿwnπΩTΦíC∩C w] STANDARDCiαG

StandardⁿwnπⁿwsxseΘíΩTC

DetailedⁿwnπⁿwsxseΘπΩTC

CmdⁿwxseΘ] QUERY MEDIA ⁿOBzmi⌡µⁿOCoⁿON±bH QUERY MEDIA ⁿOM CMDFILENAME ⁿwñCpGznⁿOuπbDxWA CMDFILENAME ⁿw@ rΩ]""CpGⁿwF FORMAT=CMDA²OSM CMD @ⁿwⁿOrΩAQUERYMEDIA ⁿONóC

QUERY MEDIA

463Tivoli Storage Manager for HP-UX zΓU

5.

z

ⁿO

Page 490: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

WHEREStateⁿwnBzºeΘ¼ACo¡εuBzB≤ⁿw¼AeΘC∩

C w] ALLCiαG

Allⁿwnd¼AeΘC¼AGM O U N T A B L E I N L I B H

MOUNTABLENOTINLIBC

MOUNTABLEInlibⁿwndeB≤ MOUNTABLEINLIB ¼AeΘCB≤ MOUNTABLEINLIB¼AeΘO≤wñABObaAΣtΩABia

C

MOUNTABLENotinlibⁿwndeB≤ M O U N T A B L E N O T I N L I B ¼AeΘCB≤

MOUNTABLENOTINLIB ¼AñeΘúbwñA]útΩABLkaBzC

WHEREOVFLOcationⁿwnπºeΘXmC∩C o¡εBz≤ⁿwm

eΘCmj° 255rCpmt (rh'' AϕC

CMdⁿwi⌡µⁿOC' AϕⁿO]wCⁿO]wj° 255 rC∩C

∩≤ QUERY MEDIA ⁿOQBzC@eΘíA°AN÷ⁿOgJC CMDFILENAMEⁿwWC YSⁿwWAⁿONb°A²ß[ ″exec.cmds.media″ rΩúw]WC

:

1. pGgJⁿO°WX 255 rAⁿO¿µABbⁿOrµß[Ws≥r]+A²ⁿOß@µúCziα ⌡µoⁿOºúnDA∩s≥rC

2. pGi⌡µⁿOrΩOH FORMAT D CMD ⁿwAhi⌡µⁿOrΩWµNQñAB QUERY MEDIA ⁿONúgJ⌠≤i⌡µⁿOµC

ⁿwⁿOrΩ⌠≤NG

stringⁿwrΩm@i⌡µⁿOAHBzeΘWeΘm]Γ

OCziⁿw⌠≤µírΩσrC.t' CpAUCO

@i⌡µⁿO]wG

CMD="CHECKIN LIBVOL &VOL"

UCLi⌡µWµ:

CMD=""CHECKIN LIBVOL" &VOL"

substitutionⁿw@A² QUERY MEDIA ⁿOH@NCiNG

QUERY MEDIA

464 4.2

Page 491: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

&VOLⁿwnH &VOL NeΘWCziⁿwpgrA &volC & M VOLºíúe\ µd(CpG ″«″ M VOL ºí µd(A QUERYMEDIA ⁿONªϕ¿rΩAú]wNrCpG*ⁿw &VOLAheΘWNú]wbi⌡µⁿOñC

&LOCⁿwnH &LOC NeΘmC ziⁿwpgrA &locC & P

LOC ºíúα í (C pG ″«″ M LOC ºí µd(AQUERY MEDIA ⁿONª°rΩAú]wNrCpG*ⁿw&LOCAhmWNú]wbi⌡µⁿOñC

&VOLDSNⁿwnH &VOLDSN NeΘWCpA TSM310.BFS NOw]r TSM310 xsaeΘWCpG*ⁿw &VOLAheΘWNú]wbi⌡µⁿOñC

&NLⁿwnH &NL NsµrCpGⁿw &NLA QUERY MEDIA ⁿOb&NL bmNⁿOABú[⌠≤s≥rCb &NLºeⁿwAϕs≥rCτtdgJrµ°CpG*ⁿw &NLA@,ⁿOµ°WX 255 rAY¿µAñíHs≥r ″+″ sA²ß@µúC

CMDFilenameⁿwπ⌠WA]tϕⁿw FORMAT=CMD ACMD ⁿwⁿOC∩C Wj° 1279 rCY CMDFILENAME ⁿw""A≥ QUERY MEDIA ⁿOb°A²ß[ "exec.cmds.media" úWC°A²MwpUG

1. pGwwqAO DSMSERV_DIR ⌠ⁿV²C

2. YSwq DSMSERV_DIR ⌠AN°ABzµu@²C

pGz CMDFILENAME ⁿwF@ rΩ]""AhzmⁿOuπbDxWCpGnAziH@t½sVr]’>’ ’>>’ANπⁿO½sVC

YSⁿwWAⁿONb°A²ß[ ″exec.cmds.media″ rΩúw]WC

QUERY MEDIA ⁿOtmⁿwúWC pGWwsbAh QUERYMEDIA ⁿOAñΩ]pGNQgC ziⁿw APPEND=YES HεsΩQgC pGtmⁿOß QUERY MEDIA ⌡µó ANúRúC

APPendⁿwngJⁿOΩYC∩C w] NOCiαG

QUERY MEDIA

465Tivoli Storage Manager for HP-UX zΓU

5.

z

ⁿO

Page 492: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

NoⁿwⁿOYgJΩCpGwⁿOwsbAhgΣeC

Yesⁿwn[ⁿOAΦkOgJⁿOΩC

d

@ 1

π ARCHIVE sDxsñwíí≈wíeΘC

ⁿO:

query media * stgpool=archivewherestatus=full, filling

ΘX:

eΘW ¼A m íwW

----------- ------------------- -------------------- -----------TAPE01 wⁿw LIB3494TAPE03 ⁿw Room1234/Bldg31TAPE07 wⁿw LIB3494TAPE09 ⁿw Room1234/Bldg31

wq\@ 2C

@ 2

ππ ONSITE r WBb MOUNTABLENOTINLIB ¼AñA@sxsíⁿeΘ ΩTC

ⁿO:

query media wherestate=mountablenotinlib stgpool=onsite*format=detailed wherestatus=full

ΘX:

QUERY MEDIA

466 4.2

Page 493: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

eΘWGTAPE21¼p]StateGⁿbw¼A]StatusGíⁿ

sG¬eΘG01/30/98

e≤sΘ/íG08/20/1996 13:29:02mGRm569/bldg31

xsWGONSITE.ARCHIVEíwWG

eΘWGTAPE22¼p]StateGⁿbw¼A]StatusGíⁿ

sG¬eΘG01/30/98

e≤sΘ/íG08/20/1996 15:29:02mGRm569/bldg31

xsWGONSITE.ARCHIVEPOOLíwWG

ΣñG

eΘW

ⁿXDnsDxseΘWC

¼p]StateⁿweΘ¼pC

¼A

ⁿXeΘ¼AC

AccessⁿXeΘsíC

ⁿXeΘßgJΘ߬Θ]±C

e≤sΘ/í

ⁿX±≤seΘΘPíC

m

ⁿXxseΘaΦCpGNeΘhXwABSwqⁿwªmAh

H ]″?″πC

xsW

ⁿXwqeΘsxsWC

íwW

pGeΘbwñAⁿXíwWC

@ 3

QUERY MEDIA

467Tivoli Storage Manager for HP-UX zΓU

5.

z

ⁿO

Page 494: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

ONSITE.ARCHIVE DxsHxsbXm Room 2948/Bldg31 ñwííwíeΘAú CHECKIN LIBVOLUME ⁿOC

ⁿO:

query media * stgpool=onsite.archive format=cmdwherestatus=full, filling wherestate=mountablenotinlibwhereovflocation=room2948/bldg31 cmd="checkin libvollib3494 &vol status=private"cmdfilename=/TSM/move/media/checkin.vols

ΘX: QUERY MEDIA b /TSM/move/media/checkin.vols i⌡µⁿOG

------------------------------------------------------------------checkin libvol lib3494 TAPE04 status=privatecheckin libvol lib3494 TAPE13 status=privatecheckin libvol lib3494 TAPE14 status=private

------------------------------------------------------------------

: oX TSM MACRO ⁿO /TSM/move/media/checkin.vols @¿WA⌡µ CHECKIN LIBVOLUME ⁿOC

÷ⁿO

ϕ 174. P QUERY MEDIA ÷ⁿO

ⁿO í

MOVE MEDIA íwzxseΘC

QUERY MEDIA

468 4.2

Page 495: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

QUERY MGMTCLASS ]d@zOoⁿOπzO÷ΩTC

MvO

⌠≤zíiHoXⁿOC

yk

Query MGmtclass* * *

* *domain_name

*policy_set_name

class_name

µí = Standard

µí = StandardDetailed

domain_nameⁿwPndzO÷phΓC∩C ziHUr

ⁿwWCpGzSⁿwoAhdhΓñzOC

ϕzd@WTwzOA'ⁿwoC

policy_set_nameⁿwPndzO÷phC∩C ziHUrⁿ

wWCpGzSⁿwoAhdhñzOCϕz

d@WTwzOA'ⁿwoC

class_nameⁿwndzOC∩C ziHUrⁿwWCpGz

SⁿwoAhdzOC

Formatⁿwp≤πΩTC∩C w] STANDARDCiαG

StandardⁿwπíΩTC

DetailedⁿwππΩTC

d

@ 1

dhΓ$ízOCHµíΘXC

QUERY MGMTCLASS

469Tivoli Storage Manager for HP-UX zΓU

5.

z

ⁿO

Page 496: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

ⁿO: query mgmtclass

ΘX:

h h z w] íΓ W O zW W OH--------- --------- --------- --------- ---------------------EMPLOYEE- ACTIVE ACTIVEFI- O w ∩w]_RECORDS LES zOEMPLOYEE- HOLIDAY ACTIVEFI- O w ∩w]_RECORDS LES zOEMPLOYEE- HOLIDAY FILEHIST- w ∩_RECORDS ORY zOEMPLOYEE- VACATION ACTIVEFI- O lw]_RECORDS LES zOEMPLOYEE- VACATION FILEHIST- w ∩_RECORDS ORY zOPROG1 SUMMER MCLASS1 NΣ

zOPROG2 SUMMER MCLASS1 NΣ

zOSTANDARD ACTIVE STANDARD O www]

zO

STANDARD STANDARD STANDARD O www]zO

wq\@ 2C

@ 2

dⁿw EMPLOYEE_RECORDS hΓ VACATION h ACTIVEFILES zOC H µíúΘXC

ⁿO:

query mgmtclass employee_records vacationactivefiles format=detailed

ΘX:

hΓWGEMPLOYEE_RECORDShWGVACATIONzOWGACTIVEFILES

w]zOHGOíGwww]zO

ízNGLúαG0αn≈HGO

αaGSPACEMGPOOLe≤s]zG$$CONFIG_MANAGER$$

e≤sΘ/íG05/31/1998 13:15:45z]wGEMPLOYEE

QUERY MGMTCLASS

470 4.2

Page 497: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

ΣñG

hΓW

hΓC

hW

hC

zOW

zOC

w]zOH

zOO hw]zOC

í

zOíC

ízN

Tivoli ízí q]τ HSM qzO ízNC

úα

b±@sºßA'gLX!αq HSM qαC

αn≈H

q HSM qαeAO '≈sbC

αa

q HSM qαA@axsC

e≤s]z

±@≤szOz°ACpGoµ]t

$$CONFIG_MANAGER$$AhzOMtmzízΓú÷pC

e≤sΘ/í

±@wq≤szOΘPíC

z]w

ⁿz°AFoozOwq]wC

÷ⁿO

ϕ 175. P QUERY MGMTCLASS ÷ⁿO

ⁿO í

COPY MGMTCLASS zOC

DEFINE MGMTCLASS wqzOC

DEFINE PROFASSOCIATION s½≤P]wC

DELETE MGMTCLASS hΓHhRú@zOH

ªsC

QUERY DOMAIN πhΓ÷ΩTC

UPDATE MGMTCLASS ≤zOC

QUERY MGMTCLASS

471Tivoli Storage Manager for HP-UX zΓU

5.

z

ⁿO

Page 498: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

QUERY MOUNT]π÷≤wⁿseΘΩToⁿOπ@hwⁿseΘ¼A÷ΩTC

MvO

⌠≤zíiHoXⁿOC

yk

Query MOunt*

volume_name

volume_nameⁿwwⁿseΘWC ziHUrⁿwWC∩

C w]OwⁿeΘC

d

@

πW WPD000 wⁿCΘeΘΩTC

ⁿO: query mount wpd000

ΘX:

ANR8331I 8MMTAPE eΘ WPD000 OH R/W ⁿ≤≈ 8MM.1]A¼AGⁿCmountsANR8334I Σ 1 eΘC

÷ⁿO

ϕ 176. P QUERY MOUNT ÷ⁿO

ⁿO í

DISMOUNT VOLUME ÷eΘWúⁿBiúeΘC

REPLY ⁿ≥BznDC

QUERY MOUNT

472 4.2

Page 499: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

QUERY NODE]dIoⁿOπ@hwn²I÷ΩTC

MvO

⌠≤zíiHoXⁿOC

yk

Query Node*

node_name

,

DOmain = domain_name

µí = Standard

µí = StandardDetailed

Type = Client

Type = ServerClientAny

node_nameⁿwndqIWCziHUrⁿwWCXq

Ií,HdCpGzúⁿwoAhdqIC

∩C

DOmainⁿw¡εqIdºhΓCCπⁿúⁿwhΓIC

∩C Hr jCñAñíúi⌠≤ µCziHUr

ⁿwΓCⁿwΓqúπXCpGzúⁿwo

AhΓíCJdd≥C

Formatⁿwp≤πΩTC∩C w] STANDARDCiαG

StandardⁿwπⁿwºqIí≈ΩTC

DetailedⁿwπⁿwºqIπΩTC

¼

ⁿwnJdGI¼C∩Cw] CLIENTCiαG

Clientⁿw≤≈Os HSM qqIC

Serverⁿw≤Σª TSM °AqIC

QUERY NODE

473Tivoli Storage Manager for HP-UX zΓU

5.

z

ⁿO

Page 500: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

Anyⁿw⌠≤¼IC

d

@ 1

πn²qIΩTC

ⁿO: query node

ΘX:

IW ¡x hΓ Zß@ KX ΩwHW s ]wß

--------- -------- -------- --------- ---------- ---------CLIENT1 AIX STANDARD 6 6 NoGEORGE AIX STANDARD 1 1 NoJANET AIX STANDARD 1 1 NoJOEOS2 (?) STANDARD <1 <1 NoTOMC WinNT STANDARD 1 1 No

ΣñG

IW

ⁿXqIWC

¡x

ⁿXqI¡xC@ ]HπXAqI s°A

A°iΣ¡x¼εC

: bIs°A°iΣ¡x¼ºßA¡x¼N≥O@PAYI¡xß≥S@F≤C

hΓW

ⁿXqIQⁿúhΓWC

Zß@s

ⁿXqIßs°AºßgLC

KX]wß

ⁿXqIKX]wºßgLC

ΩwH

ⁿXO NqIΩb TSM ºC

@ 2

πⁿW Joe qIπΩTC

ⁿO: query node joe format=detailed

QUERY NODE

474 4.2

Page 501: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

ΘX:

IWGJOE¡xGWinNT

q OS hG4.00qG 3A 1Ah 3.0

hΓWGSTANDARDesΘ/íG05/19/1999 18:55:46

Zß@sG6KX]wΘ/íG05/19/1999 18:26:43KX]wßG6

LnJG0ΩwHG

pGúYGq∩

e\RúOsHGOe\Rú≈HGn²Θ/íG05/19/1999 18:26:43n²zGSERVER_CONSOLE

eºqHΦkGTcp/IpeÑq@¼G108,731eÑq@eXG698eÑq@≥í]ϕG0.00eÑq@mѱ G0.00eÑq@qHѱG0.00ßÑq@CΘѱG0.00

∩GURL: http://client.host.name:1581

I¼GqKX¡G60OdⁿIHG

e\ⁿIW¡G2í≤WG

ΣñG

IW

ⁿXqIWC

¡x

ⁿXqI¡xC@ ]HπXAqI s°A

A°iΣ¡x¼εC

: bIs°A°iΣ¡x¼ºßA¡x¼N≥O@PAYI¡xß≥S@F≤C

q OS h

ⁿXq@thC

q

ⁿXzwwºqC

QUERY NODE

475Tivoli Storage Manager for HP-UX zΓU

|

5.

z

ⁿO

Page 502: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

hΓW

ⁿXqIⁿwhΓC

esΘ/í

ⁿXqIs°AßΘPíC

Zß@s

ⁿXqIßs°AºßgLC

KX]wΘ/í

ⁿXqIKX]wΘPíC

KX]wß

ⁿXqIKX]wºßgLC

LnJ

ⁿXbe¿\nJßLnJe\CbLKX¡ε] S E TINVALIDPWLIMITj≤sAuαOsHCϕLÑ≤ SETINVALIDPWLIMIT ⁿO]wW¡AINQΩw≤tºC

ΩwH

ⁿXO NqIΩb TSM ºC

p

ⁿXqI⌠≤pΩTC

úY

ⁿXO úYC

e\RúOsH

ⁿXqIO iHRúªvOsC

e\Rú≈H

ⁿXqIO αRúªv≈C

n²Θ/í

ⁿXqIn²ΘPíC

n²z

ⁿXn²qIzWC

eºqHΦk

ⁿXqIßqHΦkC

eÑq@¼

ⁿXbqIßÑq@¼C

eÑq@eX

ⁿXqIC

eÑq@≥í]ϕ

ⁿX±@qIÑq@≥íC

eÑq@mѱ

ⁿXq*⌡µ⌠≤\αí+$íÑq@í%±C

QUERY NODE

476 4.2

Page 503: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

eÑq@qHѱ

ⁿXqÑ°AqHí+$íÑq@í%±C

eÑq@CΘѱ

ⁿXqÑAnⁿiúeΘí+$íÑq@í%±C

ⁿXq∩WC

URLⁿXqu@PΩ wv]URLA²zqz Web 7iµpC

ⁿXqI¼CoúO Client]≈Osq HSM qAN

O Server]TSM °AC

KX¡

ⁿwqIKX¡C

OdⁿIH

ⁿwqIbÑq@íOdⁿIαOC

e\ⁿIW¡

ⁿXqIb°AWe\ⁿICpGqIn²b 3.7 UANb 0-999 í]° REGISTER NODE ⁿOñ MAXNUMMP wCpGqIn²b ADSM UABz* UPDATE NODE T]wMAXNUMMP AhN] NOLIMITC

í≤W

Nqⁿwϕqt;Σ Unicode qAO ¼ í≤WúCoµnb Windows NT Windows @tqt!C

÷ⁿO

ϕ 177. P QUERY NODE ÷ⁿO

ⁿO í

LOCK NODE εqs°AC

QUERY ADMIN π@h TSM z÷ΩTC

QUERY STATUS π°A]wAp SET ⁿO∩w

C

REGISTER NODE wq@q°AB]w

∩C

REMOVE NODE SwhΓºn²ICñúh@

qC

RENAME NODE ≤SwhΓs≤W

C

SET INVALIDPWLIMIT ]wbIΩwºenJó C

SET MINPWLENGTH ]wqKXp°C

QUERY NODE

477Tivoli Storage Manager for HP-UX zΓU

|

|

|

|

5.

z

ⁿO

Page 504: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

ϕ 177. P QUERY NODE ÷ⁿO (≥)

ⁿO í

UNLOCK NODE ²SwhΓñ@Ωws°

AC

UPDATE NODE ≤MqI÷pC

QUERY NODE

478 4.2

Page 505: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

QUERY OCCUPANCY]dxsñqíoⁿOπq íxsmM+ íC

MvO

⌠≤zíiHoXⁿOC

yk

Query OCCupancy* *

*node_name

file_space_name

STGpool = pool_name DEVclass = device_class_name

Type = ANY

Type = ANYBackupArchiveSPacem

NAMEType = SERVER

NAMEType = SERVERUNIcodeFSID

CODEType = BOTH

CODEType = UNIcodeNONUNIcodeBOTH

node_nameⁿwznMΣ íIC∩C ziHUrⁿwW

CpGzúⁿwoAIíCJdC

file_space_nameⁿwznMΣ íC∩C ziHUrⁿwWCpGz

úⁿwoAhd$í íCpGzⁿw íWAN'

ⁿwIWC

∩≤ΣqΣ Unicode °AAziαn°Aα½zΘJ íWCpAziαn°ANzΘJWAq°ArX૨ UnicodeC\NAMETYPE Ho ΩTCpGzSⁿw íWOuⁿwWµ@UrAziH CODETYPE ¡ε∩ Unicode íDUnicode í@C

QUERY OCCUPANCY

479Tivoli Storage Manager for HP-UX zΓU

|

|

|

|

|

5.

z

ⁿO

Page 506: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

STGpoolⁿw íⁿwndxsC∩C ziHUr

ⁿwWCpGzúⁿwoAhdxsC

DEVclassⁿwMxs íbm÷pmOC∩C ziHU

rⁿwWCpGzSⁿwoAhdPmO÷p

xsC

Typeⁿwnb íñd¼C∩C w] ANYC iαG

ANYⁿwnd¼G≈BOsAHq HSM qαC

Backupⁿwd≈C

ArchiveⁿwdOsC

SPacemⁿwnd íz]q HSM qαC

NAMETypeⁿwzn°AzΘJº íΦíCϕ°A²qΣ Unicode !Ceu Windows NT H Windows 2000 @t!úΣ Unicode ≈OsqCubⁿwí≈ íW!oC

w] SERVERCiαG

SERVER°A°ArX íWC

UNIcode°AN íWq°ArX૨ UTF-8 rXCα½O ¿\WñΩrH°ArXMwCpGrΩt°ArXúΣ

rA°Astα½íoDAα½Kiαó C

FSID°AN íWª í ID]FSIDC

CODETypeⁿwzn°AzΘJº íΦíCubz íWΘJ@

Urúⁿw⌠≤ íW!C

w] BOTHAϕN]A íPrX¼L÷CiαG

UNIcodeu]A Unicode íC

NONUNIcodeu]A* Unicode íC

QUERY OCCUPANCY

480 4.2

|

|

|

|

|

|

|

|

|

|

|

|

|

|

|

|

|

|

|

|

|

Page 507: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

BOTH]A íBMrXL÷C

d

@ 1

πⁿwI DAISY íxsaI÷ΩTC

ⁿO: query occupancy daisy

ΘX:

IW ¼ í FSID xsΘ X ΩΘ ΦW W Ω Φ

í í]MB ]MB

--------- ---- ---------- ------ --------- -------- ------- --------DAISY Bkup DRIVED 1 COPYFILE 38 0.45 0.42

wq\@ 2C

@ 2

π≤ WAYNE IABπ≈¼ í÷ΩTC

ⁿO: query occupancy wayne type=backup

ΘX:

IW ¼ í FSID xsΘ X ΩΘ ΦW W Ω Φ

í í]MB ]MB

--------- ----- --------- ----- ----------- ------- --------- --------WAYNE Bkup DWG1 1 BACKUPPOOL1 2,330 53.19 50.01WAYNE Bkup OS2C 2 BACKUPPOOL1 1,554 32.00 31.30

ΣñG

IW

íIC

TypeΩ¼CiαG

ArchwgOsΩ

Bkupwg≈Ω

QUERY OCCUPANCY

481Tivoli Storage Manager for HP-UX zΓU

|

|

|

||||||

|||||||

5.

z

ⁿO

Page 508: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

Spmgwgq HSM qαΩ] íz

íW

≤I íWCΣñA íWO ]OsA]NOb íN

ΩmBsW TSM úºeA²OsΩC

íWMWrXyÑ⌠AYúP≤°AAhLkTaπ

bz Web 7zⁿOµ7WC Ω¡≈ABiAϕaA² íWiαπLrX µC

pG íWi UnicodeAWQα½°ArXHπC α½µrXúΣrAΣG°@twC ∩≤ TSM α≈⌡µí≈α½WAz (??)B (BúiCLr "..."CorVzⁿXúsbC pGα½ú¿\AWNπ "..."C pGrΩt°ArXúΣrA°Astα½íoDAα½Kiαó C

xsW

íenxsC

≤ íBxsboxsñΦC

eΩΘí]MB

í+ ΩΘ íqCΩΘ í]AE ( íAΣñ

iαwgQRúLC

eΦí]MB

íñΦ+ íqCΦ íOΩWxs íA

²ú]AE ( íC

FSID í í ID]FSIDCϕ í@s°AA°Aⁿw@@ FSIDC

÷ⁿO

ϕ 178. P QUERY OCCUPANCY ÷ⁿO

ⁿO í

DELETE FILESPACE RúPq í÷pΩC

QUERY FILESPACE π≤qº íñΩ÷Ω

TC

QUERY NODE π@hqí≈πΩTC

QUERY OCCUPANCY

482 4.2

|

|

|

|

|

|

|

|

|

|

|

Page 509: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

QUERY OPTION]d°A∩oⁿOπ°A∩÷ΩTC

sΦ°A∩oX SETOPTY ⁿOAi≤°A∩CpGzsΦ°A∩Az'b⌠≤≤oGºe½s°ACzoX SETOPT ⁿO@⌠≤≤NYC

MvO

⌠≤zíiHoXⁿOC

yk

Query OPTion*

optionname

optionnameⁿw°A∩ñ∩WC∩C ziHUrⁿwW

Ciπ°A∩CpGz*ⁿwAhπ∩Ω

TC

d

@ 1

π°A∩@δ÷ΩTC

ⁿO: query option

ΘX:

QUERY OPTION

483Tivoli Storage Manager for HP-UX zΓU

5.

z

ⁿO

Page 510: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

°A∩ ∩]w °A∩ ∩]w----------------- ---------------- ------------- ----------------CommTimeOut 60 IdleTimeOut 15BufPoolSize 2048 LogPoolSize 512DateFormat 1 (mm/dd/yyyy) TimeFormat 1 (hh:mm:ss)NumberFormat 1 (1,000.00) MessageFormat 1Language AMENG MaxSessions 25ExpInterval 24 ExpQuiet NoEventServerLoggi- Yes MirrorRead DB Normalng

MirrorRead LOG Normal MirrorWrite DB SequentialMirrorWrite LOG Parallel TxnGroupMax 40MoveBatchSize 40 MoveSizeThresh 500StatusMsgCnt 10 RestoreInterval 1,440UseLargeBuffers Yes DisableScheds NoAuditStorage Yes REQSYSauthoutfile YesSELFTUNEBUFpools- No SELFTUNETXNsize No

izeDBPAGEShadow Yes DBPAGESHADOWFile dbpgshdw.bdtTcpPort 1599 HTTPPort 1699HTTPSPort 1543 TCPWindowsize 0TCPBufsize 0 TCPNoDelay YesCommMethod TCPIP CommMethod HTTPMsgInterval 1 Enable3590Library NoShmPort 1510 FileExitFileTextExit UserExitUseLargeTapeBlock No AssistVCRRecovery YesSNMPSubagentPort 1521 SNMPSubagentHost 127.0.0.1SNMPHeartBeatInt 5 TECHostTECPort 0

ΣñG

°A∩

ⁿX°A∩WC

∩]w

ⁿX°A∩µC

@ 2

°H L Y∩º∩]wC

ⁿO: query option l*

ΘX:

QUERY OPTION

484 4.2

Page 511: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

°A∩ ∩]w----------------- --------------------LogPoolSize 128Language AMENG

÷ⁿO

ϕ 179. P QUERY OPTION ÷ⁿO

ⁿO í

SETOPT búε½s°AípUA≤s°

A∩C

QUERY OPTION

485Tivoli Storage Manager for HP-UX zΓU

5.

z

ⁿO

Page 512: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

QUERY POLICYSET]dhoⁿOπ@hh÷ΩTC

MvO

⌠≤zíiHoXⁿOC

yk

Query POlicyset* *

*domain_name

policy_set_name

µí = Standard

µí = StandardDetailed

domain_nameⁿwPndh÷phΓC∩C ziHUrⁿ

wWCpGzúⁿwoAhd$íhΓCϕzbd@W

TwhA'ⁿwoC

policy_set_nameⁿwndhC∩C ziHUrⁿwWCpGzS

ⁿw ACTIVE hWAhdhC

Formatⁿwp≤πΩTC∩C w] STANDARDCiαG

StandardⁿwπíΩTC

DetailedⁿwππΩTC

d

@ 1

dhΓº$íhCHµíΘXC

ⁿO: query policyset

ΘX:

QUERY POLICYSET

486 4.2

Page 513: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

h h w] íΓ W zW O

W--------- --------- --------- ------------------------EMPLOYEE- ACTIVE ACTIVEFI- H í_RECORDS LES

EMPLOYEE- HOLIDAY ACTIVEFI- H í_RECORDS LES

EMPLOYEE- VACATION ACTIVEFI- H í_RECORDS LES

PROG1 SUMMER í]ph

PROG2 SUMMER í]ph

STANDARD ACTIVE STANDARD www]hC

STANDARD STANDARD STANDARD www]hC

wq\@ 2C

@ 2

d≤ EMPLOYEE_RECORDS hΓñ VACATION hC H µí

úΘXC

ⁿO:

query policyset employee_records vacationformat=detailed

ΘX:

hΓWGEMPLOYEE_RECORDShWGVACATION

w]zOWGACTIVEFILESíGH í

e≤s]zG$$CONFIG_MANAGER$$e≤sΘ/íG05/31/1998 13:15:50

z]wGADSM_INFO

ΣñG

hΓW

hΓWC

hW

hWC

w]zOW

hw]ⁿwzOC

QUERY POLICYSET

487Tivoli Storage Manager for HP-UX zΓU

5.

z

ⁿO

Page 514: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

í

híC

e≤s]z

±≤shz°AWCpGoµ]t

$$CONFIG_MANAGER$$AhhMtmzízΓú÷pC

e≤sΘ/í

±@wq≤shΘPíC

z]w

zohΓ]wC

÷ⁿO

ϕ 180. P QUERY POLICYSET ÷ⁿO

ⁿO í

ACTIVATE POLICYSET τhC

COPY POLICYSET hC

DEFINE POLICYSET wqⁿwhΓºhC

DELETE POLICYSET hΓRú@hA]Aªz

OHsC

QUERY DOMAIN πhΓ÷ΩTC

UPDATE POLICYSET ≤híC

VALIDATE POLICYSET bhºeAz'°≤º

τH°iC

QUERY POLICYSET

488 4.2

Page 515: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

QUERY PROCESS]d@h°AoⁿOπ@ñIΩTC

CANCEL PROCESS ⁿO°IC

MvO

⌠≤zíiHoXⁿOC

yk

Query PRocessprocess_number

process_numberⁿwdIs C∩C pGSⁿwAhπI

ΩTC

d

@

πI 202 ÷ΩTC

ⁿO: query process 202

ΘX:

í ¼AX-------- ------------------------ --------------------------202 EXPORT SERVER ANR0648I spUG

8 ΓB2 hB10 zOB4 sB1 zB746 ]⌠≤

ΣñG

X

ⁿXⁿwIs C

í

ⁿXIíC

¼A

ⁿXI¿¼AC

QUERY PROCESS

489Tivoli Storage Manager for HP-UX zΓU

5.

z

ⁿO

Page 516: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

÷ⁿO

ϕ 181. P QUERY PROCESS ÷ⁿO

ⁿO í

CANCEL PROCESS °I°ABzC

QUERY PROCESS

490 4.2

Page 517: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

QUERY PROFILE]d]woⁿOπ]wP÷½≤ΩTCqtmzíⁿz°AoX

oⁿOCY°A*⌠≤]wAz]iHoⁿOAqwq°A

⌠≤tmzío]wΩTC

pGzq]wtmzídΩw]wAhππ]wΩTC

pGzqt@°AdΩw]wAhduπ]wwΩwC

MvO

⌠≤zíiHoXⁿOC

yk

Query PROFIle*

profile_name (1)SERVer = server_name

µí = Standard

µí = StandardDetailed

USELocal = Yes

USELocal = YesNo

:

1 zⁿw°AWO oXⁿOb°AwC\ SERVER íC

profile_nameⁿwnπ]wCpGnⁿwhWAUrC∩C w]

Oπ]wC

SERVerⁿwnπΣ]wΩTtmzíCWDO oXdbaΦ

MwG

¶ qtmzíGoO∩Cw]OtmzíWC

¶ qⁿz°AGoO∩Cw]Ooⁿz°Atmz

íWC

¶ qtmzíⁿz°AH°AGz'ⁿw@WC

FormatⁿXnπíπ ΩTCw]O STANDARDCiαG

StandardⁿwπíΩTC

Detailedⁿwnπ ΩTC

QUERY PROFILE

491Tivoli Storage Manager for HP-UX zΓU

5.

z

ⁿO

Page 518: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

USELocalϕzqⁿz°A⌡µdAoⁿwnqtmzíⁿz°A

o]wΩTCpGⁿz°AWS]wΩTAúo≤Aú

qtmzíoΩTC

pGzbú≤tmzí]]wz°AWoAh

tñoCw] YESC iαG

Yesⁿwqⁿz°Ao]wΩT]pGCpGⁿz°ASΩ

TAhptmzíC

Noⁿwqtmzío]wΩTAYⁿz°AwgoΩTCp

iTwz¼]weΩTC

d

@ 1

πtmzíñ]wΩTC

ⁿO: query profile

ΘX:

tm ]wW ΩwHzí--------------- --------------- ------SERVER1 DEFAULT_PROFILE NoSERVER1 ADMIN_INFO NoSERVER1 EMPLOYEE NoSERVER1 PERSONNEL Yes

@ 2

qⁿz°AAπ]w ADMIN_INFO e ΩTC

: ϕ]wDΩwAjí≈µúπC

ⁿO:

query profile admin_infoformat=detailed uselocal=no

QUERY PROFILE

492 4.2

Page 519: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

ΘX:

tmzíGSERVER1]wWGADMIN_INFOΩwHGNo

íGeízϕ°AzGDENNIS EMILY ANDREA

hΓGADMIN RECORDSzⁿOϕG** ½≤ **

°AⁿO ScriptGq∩G

°AG°AsG

ΣñG

tmzí

]wtmzíWC

]wW

]wWC

ΩwH

O nΩw]wC

í

]wíC

°Az

P]w÷pzC

P]w÷phΓC

zⁿOϕ

P]w÷pzϕC

°AⁿO ScriptP]w÷p°AⁿO ScriptC

q∩

P]w÷pq∩C

°A

P]w÷p°AC

°As

P]w÷p°AsWC

QUERY PROFILE

493Tivoli Storage Manager for HP-UX zΓU

5.

z

ⁿO

Page 520: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

÷ⁿO

ϕ 182. P QUERY PROFILE ÷ⁿO

ⁿO í

COPY PROFILE ]wC

DEFINE PROFASSOCIATION s½≤P]wC

DEFINE PROFILE eΩTz°Awq]wC

DEFINE SUBSCRIPTION ²ⁿz°A]wC

DELETE PROFASSOCIATION Rú½≤P]wsC

DELETE PROFILE tmzíRú]wC

LOCK PROFILE εtm]weC

SET CONFIGMANAGER ⁿX°AO tmzíC

UNLOCK PROFILE Ωw]wiHz°AC

UPDATE PROFILE ≤]wíC

QUERY PROFILE

494 4.2

Page 521: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

QUERY RECOVERYMEDIA]dCΘoⁿOπ≈CΘ÷ΩT]pACΘCCΘ÷W

r0πC

: TSM úH⌠≤ΦíoΩTCªuO≤UzWeq≈NC

MvO

⌠≤zíiHoXⁿOC

yk

Query RECOVERYMedia*

media_name Type = BOotOTher

LOcation = location

µí = Standard

µí = StandardDetailed

media_nameⁿXCΘWCziHUrⁿwWC∩C w]O

CΘC

¼

ⁿXndºCΘ¼C∩C pGSⁿwoAhd

CΘCiαG

BOotdCΘC

OTherdCΘHCΘC

LOcationⁿXndºCΘmC∩C zhiHⁿw 255 rCpGí]t⌠≤ (rAh' AϕC

Formatⁿwp≤πΩTC∩C iαG

StandardTSM πíΩTCw]C

DetailedTSM πΩTC

QUERY RECOVERYMEDIA

495Tivoli Storage Manager for HP-UX zΓU

5.

z

ⁿO

Page 522: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

d

@ 1

πCΘ RECMED1 ÷ΩTC

ⁿO: query recoverymedia RECMED1

ΘX:

CΘW eΘW m ≈W-------------------- ---------------- ---------------- ------------RECMED1 vol1 vol2 vol3 IRONMOUNTAIN MACH1

vol4

@ 2

πCΘ RECMED1 ΩTC

ⁿO: query recoverymedia RECMED1 format=detailed

ΘX:

CΘWGRECMED1¼GBoot

eΘWGvol1 vol2 vol3 vol4mGIRONMOUNTAIN

íGúG

úΩTG≈WGMACH1

ΣñG

CΘW

CΘWC

¼

ⁿXCΘOCΘt@ ¼CΘCiαG

BootCΘOCΘC

OtherCΘúOCΘC

eΘW

PoCΘ÷pAB]t≈ΩeΘC

m

xsCΘaΦC

í

CΘíC

QUERY RECOVERYMEDIA

496 4.2

Page 523: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

ú

CΘúC

ú ΩT

CΘú÷ΩTCΩTb≈iαnC

≈W

MoCΘ÷p≈C

÷ⁿO

ϕ 183. P QUERY RECOVERYMEDIA ÷ⁿO

ⁿO í

DEFINE RECMEDMACHASSOCIATION NCΘP≈sC

DEFINE RECOVERYMEDIA wq≈'nCΘC

DELETE RECOVERYMEDIA RúsCΘC

UPDATE RECOVERYMEDIA ≤sCΘC

QUERY RECOVERYMEDIA

497Tivoli Storage Manager for HP-UX zΓU

5.

z

ⁿO

Page 524: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

QUERY REQUEST]d@hmⁿnDoⁿOπ@hmⁿnD÷ΩTC

MvO

⌠≤zíiHoXⁿOC

yk

Query REQuestrequest_number

request_numberⁿwmñⁿnDOXC∩C w]OmⁿnDC

d

@

πmñmnDC

ⁿO: query request

ΘX:

ANR8352I nD¿GANR8326I 001: ⁿ GENERICTAPE eΘ EXP001 R/W≤≈ 8MM.1]/dev/rmt0 wMANLIBAíb 60 ºC

÷ⁿO

ϕ 184. P QUERY REQUEST ÷ⁿO

ⁿO í

CANCEL REQUEST °meΘⁿnDC

REPLY ⁿ≥BznDC

QUERY REQUEST

498 4.2

Page 525: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

QUERY RESTORE]di½sÑq@oⁿOπi½sÑq@÷ΩTC

MvO

⌠≤zíiHoXⁿOC

yk

Query RESTorenode_name file_space_name

µí = Standard

µí = StandardDetailed

NAMEType = SERVER

NAMEType = SERVERUNIcodeFSID

node_nameⁿwndqIC∩C pGzSⁿwoAhππ

i½sºÑq@qICpGzⁿw íWAN'o

ⁿw@C

file_space_nameⁿwnd íC∩C pGzSⁿwoAhdXⁿw

I íC

∩≤ΣqΣ Unicode °AAziαn°Aα½zΘJ íWCpAziαn°ANzΘJWAq°ArX૨ UnicodeC\NAMETYPE Ho ΩTC

Formatⁿwp≤πΩTC∩C w] STANDARDCiαG

StandardⁿwπíΩTC

DetailedⁿwππΩTC

NAMETypeⁿwzn°AzΘJº íΦíCobΣqΣ°A

DCeu Windows NT H Windows 2000 @t!úΣ Unicode≈OsqC

bzΘJí≈π íW!oC w] SERVERCiαG

SERVER°A°ArX íWC

QUERY RESTORE

499Tivoli Storage Manager for HP-UX zΓU

|

|

|

|

|

|

|

|

|

|

|

5.

z

ⁿO

Page 526: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

UNIcode°ANΘJ íWq°ArX૨ UTF-8 rXCα½O ¿\WñΩrH°ArXMwC pGrΩt°ArXú

ΣrA°Astα½íoDAα½Kiαó C

FSID°AN íWª í ID]FSIDC

d

@

πM í DRIVE_F_R ÷pqI JAMES ΩTC

ⁿO: query restore james drive_f_r format=detailed

Ñq@sG-1¼AGi½s

gLG2IWGJAMES

FSID: 1íWGDRIVE_F_R:

WµG/RESTORE/TESTDIRF\\

ΣñG

Ñq@s

ⁿXi½sÑq@Ñq@ XC@ñÑq@ XP

QUERY SESSION ⁿOπ XPC∩B≤i½s¼AñÑq@Ahπ@t@Ñq@ XC⌠≤b QUERY RESTORE ΘXπÑq@ XiH QUERY RESTOREΘXⁿwC

¼A

¶ @ñGⁿXÑq@bqC

¶ i½sGⁿXÑq@ó°ABiHq²eó°a

Φ½sC

gL

ⁿXÑq@C∩≤i½sÑq@ÑA

pGgLíj≤ RESTOREINTERVAL °A∩AbLBzínAúiHqΩwRúCpGgLíp≤ RESTOREINTERVALAzuαoXCANCEL RESTORE ⁿOC RESTOREINTERVAL AHKRúon²]HúΩw íC

IW

ⁿXPi½sºÑq@÷pIC

FSIDⁿw í í IDC

QUERY RESTORE

500 4.2

|

|

|

|

|

|

|

|

|

|

Page 527: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

íW

ⁿXPi½sºÑq@÷p íC

íWMWrXyÑ⌠AYúP≤°AAhLkTaπ

bz Web 7zⁿOµ7WC Ω¡≈ABiAϕaA² íWiαπLrX µC

pG íWi UnicodeAWQα½°ArXHπC α½µrXúΣrAΣG°@twC ∩≤ TSM α≈⌡µí≈α½WAz (??)B (BúiCLr "..."CorVzⁿXúsbC pGα½ú¿\AWNπ "..."C pGrΩt°ArXúΣrA°Astα½íoDAα½Kiαó C

ⁿX≤@WWµCpGnqB½só @Az'

ⁿwPWµC

÷ⁿO

ϕ 185. P QUERY RESTORE ÷ⁿO

ⁿO í

CANCEL RESTORE °@i½sºÑq@C

QUERY RESTORE

501Tivoli Storage Manager for HP-UX zΓU

|

|

|

|

|

|

|

|

5.

z

ⁿO

Page 528: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

QUERY RPFCONTENT]dxsb°AWpeoⁿOπxsb°AWpe (Ygb PREPARE ⁿOⁿw DEVCLASS CziHq°A] °AoXoⁿOAOqxsp°A]°AoXoⁿOCzúαq°ADx

oXⁿOC

pGObaWAΘXiα≡C

: ziHq Web z7π@hpeC

MvO

pGnoXoⁿOA'πtMvC

yk

Query RPFContent plan_file_name DEVclass = device_class_nameNODEName = node_name

plan_file_name]n

ⁿXndpWCWµí servername.yyyymmdd.hhmmssCpGnεsWAoX QUERY RPFILE ⁿOC

DEVclassⁿXpmOWCúe\UrC

bUCí#UAⁿwoG

¶ znπo°ApeC

¶ znNoⁿOoXoX PREPARE ⁿOP@í°A] °AC

¶ ⁿwmOWwg≤p PREPARE ⁿOC

NODENameⁿwwp °AIW]wgn²°AWCú

e\UrC

bUCí#UAⁿwoG

¶ znπxsbo°AWpeC

¶ znNoⁿOoXp PREPARE ⁿO°AC

¶ ⁿwIWwgn²o°AAI¼ SERVERC

¶ p TSM °ALkC

d

@ 1

QUERY RPFCONTENT

502 4.2

Page 529: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

b°AWGπb 1998 5 δ 19 Θ 6:10 AMAo°ApeCPREPARE ⁿOwⁿw REMOTE mOC

ⁿO:

query rpfcontent branch1.19980319.061000 devclass=remote

@ 2

b°AWGπb 1998 5 δ 19 Θ 6:10 AMAxso°ApeCb°AWA°An² POLARIS IAΣI¼SERVERC

ⁿO:

query rpfcontent branch1.19980319.061000 nodename=polaris

ΘX: oⁿOΘXOpπeCWeb z7i²zπ@hpeC\ zΓU HoNpdC

÷ⁿO

ϕ 186. P QUERY RPFCONTENT ÷ⁿO

ⁿO í

PREPARE pC

QUERY RPFILE πp÷ΩTC

QUERY VOLHISTORY πHg°A¼eΘΩTC

QUERY RPFCONTENT

503Tivoli Storage Manager for HP-UX zΓU

5.

z

ⁿO

Page 530: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

QUERY RPFILE]dxsb°AWpΩToⁿOπxsb°AWp÷ΩTCziHq

°A] °AoXoⁿOAOqxsp°A]°A

oXoⁿOC

MvO

⌠≤zíiHoXⁿOC

yk

Query RPFile DEVclass = device_class_nameNODEName = node_name

Source = DBBackup

Source = DBBackupDBSnapshot

µí = Standard

µí = StandardDetailed

DEVclassⁿXpmOWCnJp°AA

oCziHbmOWñUrC HⁿwmO¿

pAú]tbodñC

NODENameⁿwwp °AIW]wgn²°AWCϕ

znJ°AAoC S °AiAioC

ziHUrⁿwIWCHIWxs½≤Aú]t

bodñC

SourceⁿwpnAⁿwΩw≈¼C∩C w]O

DBBACKUPCiαG

DBBackupnpMⁿwπWíΩw≈C

DBSnapshotnpMⁿw Snapshot Ωw≈C

Formatⁿwp≤πΩTC∩C w]O STANDARDCiαG

StandardTSM πpíΩTC

DetailedTSM πpΩTC

QUERY RPFILE

504 4.2

Page 531: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

d

@ 1

HⁿwmOCX°ApC

ⁿO:

query rpfile devclass=* format=detailed

ΘX:

pWGALASKA.20000406.170423IWGBRANCH1

mOWGREMOTEp¼GRPFILE

zOWGSTANDARDpjpG16,255 RúGYesRúΘG06/12/2000 13:05:31

pWGALASKA.20000407.170845IWGBRANCH1

mOWGREMOTEpGRPFSNAPSHOT zOWGSTANDARD

pjpG16,425 RúGNo

RúΘG

@ 2

CXHⁿwIW]TYPE=SERVERxs$íp½≤C

ⁿO:

query rpfile nodename=branch1

ΘX:

pW IW mOW----------------------- --------- -----------------ALASKA.19980406.170423 BRANCH1 REMOTEALASKA.19980407.170845 BRANCH1 REMOTE

ΣñG

pW

pWC

IW

wV°An²ABxsp½≤IWC

mOW

b °AñwqABpmOWC

QUERY RPFILE

505Tivoli Storage Manager for HP-UX zΓU

5.

z

ⁿO

Page 532: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

p¼G

RPFILEp]πMWíΩw≈

RPFSNAPSHOTp] Snapshot Ωw≈C

zOW

b°AñAMp÷pzOWC

pjp

p½≤b°AWw⌠jpC

ⁿwpGe¡ *LAO q °ARú]tp½≤ABb

°AWNªORúCiαG

Yes½≤wgORúC

No½≤*ORúC

RúΘ

nq °ARú½≤ABb°AWNªORúΘCY½≤w

úRúAhµ (C

÷ⁿO

ϕ 187. P QUERY RPFILE ÷ⁿO

ⁿO í

PREPARE pC

QUERY VOLHISTORY πHg°A¼eΘΩTC

QUERY RPFCONTENT πpeC

QUERY RPFILE

506 4.2

Page 533: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

QUERY SCHEDULE]dϕoⁿOπ@hϕ÷ΩTC

QUERY SCHEDULE ⁿOπΓ µíA ϕO 'q@zⁿOwCC@@ykPúOOwqC

QUERY SCHEDULE

507Tivoli Storage Manager for HP-UX zΓU

5.

z

ⁿO

Page 534: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

QUERY SCHEDULE -- q

MvO

⌠≤zíiHoXⁿOC

yk

Query SCHedule* *

*domain_name

schedule_name

Type = Client

,

Nodes = node_name

µí = Standard

µí = StandardDetailed

domain_nameⁿXϕhΓWC ziHUrⁿwoWCpGzⁿw

ΓWAhúⁿwϕWC

schedule_nameⁿw≤ⁿwºhΓϕWCziHUrⁿwoWCp

Gzⁿw@ϕWAhPⁿw@hΓWC

Type=ClientⁿwdnπqϕC∩C w] CLIENTC

Nodesⁿwnπ@hqI]Mϕ÷pWC∩C zi

HUrⁿwqICpGzúⁿwqWAX

DOMAINNAME P SCHEDULENAME ϕíπXCziHⁿwhqIAΦkOHr NWjABñíS µC

Formatⁿwp≤πΩTC∩C w]O STANDARDCiαG

StandardⁿwnπϕíΩTC

Detailedⁿwnπϕ ΩTC

d

@ 1

π≤ EMPLOYEE_RECORDS hΓϕC

QUERY SCHEDULE -- q

508 4.2

Page 535: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

ⁿO: query schedule employee_records

ΘX:

Γ * ϕW @ Θ/í ≥í íj Θ----------- - ------------ ---- ----------------- ------- ---- ---EMPLOYEE_RE- WEEKLY_BACKUP Inc Bk 1998.06.04 17.04.20 1 H 1 D ⌠@CORDSEMPLOYEE_RE- EMPLOYEE_BACKUP Inc Bk 1998.06.04 17.04.20 1 H 1 D ⌠@CORDS

ΣñG

Γ

ⁿXⁿwϕhΓWC

*]P

ⁿX∩ϕO LCµñpG@P Aϕ∩ϕw

LC

ϕW

ⁿXϕWC

@

ⁿwbBzoϕno@C

lΘ/í

ⁿXϕΘPíC

≥í

ⁿXoϕ°í°C

íj

ⁿX°íºíí]] DAYOFWEEK=ANYC

Θ

ⁿXϕ°ínq@Pñ@lC

@ 2

qⁿz°AñAπqϕ ΩTC

ⁿO:

query schedule * type=client format=detailed

QUERY SCHEDULE -- q

509Tivoli Storage Manager for HP-UX zΓU

5.

z

ⁿO

Page 536: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

ΘX:

hΓWGADMIN_RECORDSϕWGADMIN_BACKUP

íG@GWí∩G½≤G

u²G5 lΘ/íG1998.06.04 17.04.20

≥íG1 píjG1 ΘG⌠@LG

e≤s]zG$$CONFIG_MANAGER$$e≤sΘ/íG1998.06.04 17.51.49

z]wGADMIN_INFO

hΓWGEMPLOYEE_RECORDSϕWGEMPLOYEE_BACKUP

íG@GWí∩G½≤G

u²G5 lΘ/íG1998.06.04 17.04.33

≥íG1 píjG1 ΘG⌠@LG

e≤s]zG$$CONFIG_MANAGER$$e≤sΘ/íG1998.06.04 17.18.30

z]wGEMPLOYEE

ΣñG

hΓW

ⁿwhΓWC

ϕW

ⁿXϕWC

í

ⁿXϕíC

@

ⁿXϕ⌡µϕo@¼C÷@CA\ DEFINESCHEDULE ⁿOC

ⁿXb⌡µϕnú DSMC ⁿO∩C

QUERY SCHEDULE -- q

510 4.2

Page 537: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

½≤

ⁿX⌡µ@Ow∩½≤C

ⁿXϕu²C

lΘ/í

ⁿXϕlΘPíC

≥í

ⁿXϕ°í°C

íj

ⁿX°íºíí]] DAYOFWEEK=ANYC

P

ⁿXϕ°ínq@Pñ@lC

L

ⁿXoϕNnLΘPíCµpGO (AϕhúLC

e≤s]z

ⁿX±@≤sϕzWCpGµt $$CONFIG_MANAGER$$AhϕMtmzízΓú÷pC

e≤sΘ/í

ⁿXW≤sϕΘPíC

z]w

ⁿXⁿz°AFooϕwq]wC

QUERY SCHEDULE -- q

511Tivoli Storage Manager for HP-UX zΓU

5.

z

ⁿO

Page 538: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

QUERY SCHEDULE -- z

MvO

⌠≤zíiHoXⁿOC

yk

Query SCHedule*

schedule_nameType = Administrative

µí = Standard

µí = StandardDetailed

schedule_nameⁿwndϕWCziHUrⁿwoWC

Type=Administrative]n

ⁿwdnπzⁿOϕC

Formatⁿwp≤πΩTC∩C w]O STANDARDCiαG

StandardⁿwnπϕíΩTC

Detailedⁿwnπϕ ΩTC

d

@ 1

qⁿz°AñAπzⁿOϕ ΩTC

ⁿO:

query schedule * type=administrativeformat=detailed

ΘX:

QUERY SCHEDULE -- z

512 4.2

Page 539: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

ϕWGBACKUP_ARCHIVEPOOLíGⁿOGbackup db

u²G5 lΘ/íG1998.06.04 16.57.15

≥íG1 píjG1 PG⌠@LG

@ñHGNoe≤s]zG$$CONFIG MANAGER$$e≤sΘ/íG1998.06.04 17.51.49

z]wGADMIN_INFO

ϕWGMONTHLY_BACKUPíGⁿOGq status

u²G5 lΘ/íG1998.06.04 16.57.14

≥íG1 píjG1 PG⌠@LG

@ñHGNoe≤s]zG$$CONFIG MANAGERe≤sΘ/íG1998.06.04 17.51.49

z]wGADMIN_INFO

ΣñG

ϕW

ⁿXϕWC

í

ⁿXϕíC

CommandⁿXwⁿOC

ⁿXϕu²C

lΘ/í

ⁿXϕΘPíC

≥í

ⁿX°í°C

íj

ⁿX°íºíí]] DAYOFWEEK=ANYC

QUERY SCHEDULE -- z

513Tivoli Storage Manager for HP-UX zΓU

5.

z

ⁿO

Page 540: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

P

ⁿX°íOb@Pñ@lC

L

ⁿX@ºßNúAoϕCµpGO (AϕhúLC

@ñH

ⁿXϕO wg ]wíΘBzC

e≤s]z

ⁿX±@≤sϕzWCpGµt $$CONFIG_MANAGER$$AhϕMtmzízΓú÷pC

e≤sΘ/í

ⁿXϕß@∩ΘPíC

z]w

ⁿXⁿz°AFooϕwq]wC

÷ⁿO

ϕ 188. P QUERY SCHEDULE ÷ⁿO

ⁿO í

COPY SCHEDULE ϕC

DEFINE SCHEDULE wqq@zⁿOC

UPDATE SCHEDULE ≤C

QUERY SCHEDULE -- z

514 4.2

Page 541: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

QUERY SCRIPT]d Tivoli Storage Manager ScriptoⁿOπ Script ÷ΩTCziHNoⁿOM DEFINE SCRIPT ⁿO@AQt@ Script eús ScriptC

MvO

úDⁿO]t OUTPUTFILE A hA⌠≤zíioXoⁿOC pGⁿwFOUTPUTFILE ABN REQSYSAUTHOUTFILE °A∩]w YESAhz'πtMvC pGⁿwF O U T P U T F I L E ABN

REQSYSAUTHOUTFILE °A∩]w NOAhz'π@BhBxsΘtMvC

yk

Query SCRipt*

script_name

FORMAT = Standard

FORMAT = StandardLinesDetailedRaw

Outputfile = file_name

script_nameⁿXznπΣ÷ΩT Script WCziHJ@UrⁿwoWC

i: pGzSⁿw ScriptAhdπ Script ÷ΩTCBzoⁿOíHπΩTqiαhC

FormatⁿXπ Script ΩTΘXµíCw]O STANDARDCiαG

Standardⁿwuπ Script WM Script ñíC

Linesⁿwnπ Script WBⁿOµ BµAH Script ñⁿOC

Detailedⁿwnπ Script ÷ΩTC

RawⁿwN Script ñtⁿwgJH OUTPUTFILE ⁿWCoµíONΘXq Script J@ ΦkA²ziH DEFINE SCRIPT ⁿONªst@ ScriptC

QUERY SCRIPT

515Tivoli Storage Manager for HP-UX zΓU

5.

z

ⁿO

Page 542: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

OutputfileⁿwnJΘXW]ϕzⁿw FORMAT=RAW Czⁿw'

nb⌡µoⁿO°AWCpGwgsbAhNdΘX[

C

d

@ 1

π Script ΩTC

ⁿO: query script *

W í--------------- ------------------------------------------------------QCOLS πSw SQL ϕµ µQSAMPLE d SQL dEXAMPLE bSÑq@≈xsHΩw

@ 2

πⁿW Q_AUTHORITY Script rµΩTC

ⁿO: query script q_authority format=lines

W rµ ⁿOX---------- ------ --------------------------------------------------Q_AUTHORITY 1 /* ------------------------------------------*/

5 /* Script WGQ_AUTHORITY */10 /* íG πvoXn */15 /* DoSwM */20 /* vºⁿOz */25 /* C */30 /* 1G privilege name - in the form */35 /* x_priv - EX. policy_priv */40 /* dG run q_authority storage_priv */45 /* ------------------------------------------*/50 select admin_name from admins where -55 upper(system_priv) <> 'NO' or -60 upper($1) <> 'NO'

@ 3

π Script ÷ΩTC

ⁿO: query script * format=detailed

QUERY SCRIPT

516 4.2

Page 543: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

WGQCOLSµGDESCRIPTIONⁿOGDisplay columns for a specified SQL table

e≤s]zGSERVER_CONSOLEe≤sΘ/íG12/02/1997 16:05:29

WGQCOLSµG1ⁿOGselect colname from columns where

tabname='$1'e≤s]zGSERVER_CONSOLEe≤sΘ/íG12/02/1997 16:05:29

ΣñG

W

Script WC

µ

Script µ DESCRIPTION rΩC

Commandbe@µñπµ tⁿOC

e≤s]z

wq±≤s Script zWC

e≤sΘ/í

zwq≤s Script ΘPíC

@ 4

d ENGDEV ScriptANΘXW MY.SCRIPT C

ⁿO: query script engdev format=raw outputfile=my.script

@ 5

MY.SCRIPT es ScriptCNs Script ⁿW AGADMC

ⁿO: define script agadm file=my.script

÷ⁿO

ϕ 189. P QUERY SCRIPT ÷ⁿO

ⁿO í

COPY SCRIPT Script C

DEFINE SCRIPT N Script wq TSM °AC

DELETE SCRIPT Rú Script Rú Script ñOrµC

RENAME SCRIPT N Script ≤WsWC

RUN ⌡µ ScriptC

QUERY SCRIPT

517Tivoli Storage Manager for HP-UX zΓU

5.

z

ⁿO

Page 544: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

ϕ 189. P QUERY SCRIPT ÷ⁿO (≥)

ⁿO í

UPDATE SCRIPT ≤sW Script rµC

QUERY SCRIPT

518 4.2

Page 545: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

QUERY SERVER]d°AoⁿOπ°Awq÷ΩTC

MvO

⌠≤zíiHoXⁿOC

yk

Query SERver*

server_name

µí = Standard

µí = StandardDetailed

server_nameⁿXnd°AWCziHUrⁿwWC∩C w]

O°AWC

Formatⁿwp≤πΩTC∩Cw]O STANDARDC

StandardⁿwπíΩTC

DetailedⁿwππΩTC

d

@ 1

Hµíπ°A÷ΩTC

ⁿO: query server *

ΘX:

°A qH ¬Ñ CÑ Zß ]w ]w e\W Φk @s °A Ωe m½

KX Θqµ

-------- ------ ------------- --------- ------ -------- -------- --------SERVER_A TCPIP 9.115.35.6 1501 11 Yes No NoSERVER_B TCPIP 9.115.45.247 1500 <1 Yes No NoASTRO TCPIP 9.115.32.210 1500 24 Yes No No

@ 2

qⁿz°Añπ SERVER_A ΩTC

ⁿO: query server server_a format=detailed

QUERY SERVER

519Tivoli Storage Manager for HP-UX zΓU

5.

z

ⁿO

Page 546: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

ΘX:

°AWGSERVER_AqHΦkGTCPIP¬ÑG9.115.4.15CÑG1500íG

e\m½GIWG

esΘ/íG06/09/1998 12:51:51Zß@sG<1

ΩwHGúYGq∩

e\RúOsHGNoURLG

n²Θ/íG06/09/1998 12:51:51n²zG$$CONFIG_MANAGER$$

eÑq@¼G0eÑq@eXG0

eÑq@≥í]ϕG0.00eÑq@mѱ G0.00eÑq@qHѱG0.00ßÑq@CΘѱG0.00

Rúe¡G5z]wHG

°AKX]wΘ/íGZ°AKX]wG

°ALnJG]wΩeΘKXGNo

ΩeΘKX]wΘ/íG(?)ZΩeΘKX]wG(?)

ΩeΘILnJG0

ΣñG

°AW

°AWC

qHΦk

s°AqHΦkC

„

°A IP ]aIQiµíC

°A≡ C

í

°AíC

e\m½

bⁿz°AW°AwqO iHQtmzíwqNC

IW

qIWC

QUERY SERVER

520 4.2

Page 547: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

esΘ/í

qIß@s°AΘPíC

Zß@s

qIß@s°AHßgLC

ΩwH

qIO Ωwb TSM ºC

úY

TSM ∩q⌡µúY¼C

e\RúOsH

qIO iHRúªvOsC

URLq Web s²7so°A URLC

n²Θ/í

n²qIΘPíC

n²z

n²qIzWC

eÑq@¼

°AbWqIÑq@í¼C

eÑq@eX

qIC

eÑq@≥í]ϕ

ß@qIÑq@°]HϕµC

i¼Ñq@mѱ

q*⌡µ⌠≤\αí+$íÑq@í%±C

i¼Ñq@qHѱ

qÑ°Aí+$íÑq@í%±C

i¼Ñq@CΘѱ

qÑnⁿiúeΘí+$íÑq@í%±C

Rúe¡

N½≤ORúßAdb°AWC

z]wH

ⁿz°Aoo°Awq]wC

°AKX]wΘ/í

]w°AKXΘPíC

Z°AKX]w

]w°AKX$gLC

°ALnJp

°AiⁿjLnJC

QUERY SERVER

521Tivoli Storage Manager for HP-UX zΓU

5.

z

ⁿO

Page 548: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

ΩeΘKX]w

O wg]wnJ°AKXC

ΩeΘKX]wΘí

ß@]wΩeΘΣKXΘPíC

ΩeΘKX]wßgL

q]wΩeΘΣKXHwgLC

ΩeΘILnJp

°AiⁿjLnJC

÷ⁿO

ϕ 190. P QUERY SERVER ÷ⁿO

ⁿO í

DEFINE DEVCLASS wqmOC

DEFINE SERVER wqu°A∩°AvqH°AC

DELETE DEVCLASS RúmOWC

DELETE FILESPACE RúPq í÷pΩC

DELETE SERVER Rú°AwqC

QUERY NODE π@hqí≈πΩTC

RECONCILE VOLUMES °AΩeΘwqH°AO

s½≤@PC

REGISTER NODE wq@q°AB]w

∩C

REMOVE NODE SwhΓºn²ICñúh@

qC

UPDATE DEVCLASS ≤mOC

UPDATE NODE ≤MqI÷pC

UPDATE SERVER ≤s°A÷ΩTC

QUERY SERVER

522 4.2

Page 549: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

QUERY SERVERGROUP]d°AsoⁿOπ°AsPs¿÷ΩTC

MvO

pGnoXoⁿOA'πtMvC

yk

QUERY SERVERGRoup*

group_name

group_nameⁿwnd°AsC∩C ziHUrⁿwWC

d

@

qⁿz°AAd°AsC

ⁿO: query servergroup *

ΘX:

°As s¿ í z]w------------ ------------ --------------------- ----------------ADMIN_GROUP SERVER_A Headquarters ADMIN_INFO

SERVER_BSERVER_CSERVER_D

ΣñG

°As

°AsWC

s¿

s¿C

í

°AsíC

z]w

ⁿwⁿz°AFo°Aswq]wC

QUERY SERVERGROUP

523Tivoli Storage Manager for HP-UX zΓU

5.

z

ⁿO

Page 550: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

÷ⁿO

ϕ 191. P QUERY SERVERGROUP ÷ⁿO

ⁿO í

COPY SERVERGROUP °AsC

DEFINE SERVERGROUP wqs°AsC

DELETE SERVERGROUP Rú°AsC

QUERY SERVER π°A÷ΩTC

RENAME SERVERGROUP ≤°AsWC

UPDATE SERVERGROUP ≤s°AsC

QUERY SERVERGROUP

524 4.2

Page 551: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

QUERY SESSION]dqÑq@ⁿOiπzMqIÑq@÷ΩTC

MvO

⌠≤zíiHoXⁿOC

yk

Query SEssionsessnum MINTIMethreshold = minutes

MAXTHRoughput = kilobytes_per_second

µí = Standard

µí = StandardDetailed

sessnumⁿwndzqIÑq@C∩C pGzSo

ⁿw@AhπÑq@C

MINTIMethresholdⁿwπÑq@FqeΩ°AxsºßAÑq@#gLF

oXC∩C U¡ 1CW¡ 99999999C

MAXTHRoughputⁿXnπαeΩtvp≤Cϕd]KBÑq@C∩C Cϕd]KBU¡ 0CCϕd]KBW¡ 99999999C

FormatⁿwπΩTΦíC∩C w] STANDARDCiαG

StandardⁿwnπÑq@íΩTC

DetailedⁿwnπÑq@πΩTC

d

@ 1

πP°AqHzPIÑq@÷ΩTC

ⁿO: query session

QUERY SESSION

525Tivoli Storage Manager for HP-UX zΓU

5.

z

ⁿO

Page 552: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

ΘX:

Ñq@ qH Ñq@ Ñ we w¼ Ñq@ ¡x qs Φk ¼A í ¼ W

------ ------ ------ ------ ------- ------- ----- -------- ------77 TCP/IP Run 0 S 134 159 Admin OS/2 ADMIN

wq\@ 2C

@ 2

πP°AqHzPIÑq@÷π ΩTC

ⁿO: query session format=detailed

ΘX:

Ñq@sG77qHΦkGTcp/Ip

Ñq@¼AGRunÑíG0 S

weG409w¼G202Ñq@¼GAdmin

¡xGOS/2qWGADMINCΘs¼AGMediaWWG

eΩΘ / íG

ΣñG

Ñq@s

ⁿX°Aⁿwµ@Ñq@OXC

qHΦk

ⁿXqHP°AqHΦkC

Ñq@¼A

ⁿX°AµqH¼ACiα¼AG

End Ñq@⌠ñ]Ñq@Ω w ±C

IdleW ÑqΦU@BnD]Ñq@ómC

MediaWÑq@ÑsseΘC

RecvWѼqwTºC

Run °A⌡µqnD]DÑXΩC

QUERY SESSION

526 4.2

Page 553: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

SendW°AÑeΩq]ÑNΩwXq

IC

Start Ñq@ñ]¡≈τ²iµñC

Ñí

ⁿX°AwObµ¼Aí]ϕBpC

we

ⁿXÑq@ßAwqIΩC

ⁿXÑq@ßAqI¼ΩC

Ñq@¼

ⁿXBzñÑq@¼GzÑq@ ADMINAqIÑq@NODEC

¡x

ⁿXPqs@t¼C

qW

ⁿXqIzWC

CΘs¼A

ⁿXCΘѼA¼CΩTúbϕÑq@¼AÑ≤MediaWC

W

bhtWⁿwI IDAs°AtH¡≈s°AC

eΩΘ / í

ⁿwq eΩ°AxsΘMíC

÷ⁿO

ϕ 192. P QUERY SESSION ÷ΩT

ⁿO í

CANCEL SESSION °P°A@ñÑq@C

QUERY SESSION

527Tivoli Storage Manager for HP-UX zΓU

5.

z

ⁿO

Page 554: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

QUERY SPACETRIGGER]dΩwΘxíoⁿOoⁿOπΩwΘx íoⁿO]wC

MvO

⌠≤zíiHoXⁿOC

yk

Query SPACETrigger DBLOG

µí = Standard

µí = StandardDetailed

DBⁿwΩw íoⁿOC

LOGⁿwΘx íoⁿOC

Formatⁿwp≤πΩTC∩C w]O STANDARDCiαG

StandardⁿwπíΩTC

DetailedⁿwππΩTC

d

@ 1

πΩw íoⁿO ]wC

ⁿO:

query spacetrigger db format=detailed

ΘX:

DB π±G80DB íXRG20

DB XRrG/opt/adsmserv/bin/jpW¡G1000

e≤s]zGBFe≤sΘ/íG12/31/1999 11:59:59

ΣñG

QUERY SPACETRIGGER

528 4.2

Page 555: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

DB π±

ⁿX TSM ≤tm≤h íΩwC

DB íXR

ⁿXΩwXR í%±C

DB XRr

ⁿX TSM bXRΩwAHΩwr WC

jpW¡

ⁿXΩwjpW¡]H MB µC

e≤s]z

ⁿX±@≤sΩw íoⁿOzWC

e≤sΘ/í

ⁿXz±@≤sΩw íoⁿOíC

@ 2

πΘx íoⁿO ]wC

ⁿO:

query spacetrigger log format=detailed

ΘX:

Θxíⁿ±G80ΘxíXRG20

LOG XRrG/opt/adsmserv/bin/jpW¡G1000

e≤s]zGBFe≤sΘ/íG03/31/1998 11:59:59

ΣñG

Θxíⁿ±

ⁿX TSM ≤tm≤h íΘxC

ΘxíXR

ⁿXΘxXR í%±C

ΘxXRr

ⁿX TSM bXRΘxAHΘxr WC

jpW¡

ⁿXΘxjpW¡]H MB µC

e≤s]z

ⁿX±@≤sΘx íoⁿOzWC

e≤sΘ/í

ⁿXz±@≤sΘx íoⁿOíC

QUERY SPACETRIGGER

529Tivoli Storage Manager for HP-UX zΓU

5.

z

ⁿO

Page 556: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

÷ⁿO

ϕ 193. P QUERY SPACETRIGGER ÷ⁿO

ⁿO í

DEFINE SPACETRIGGER wqΩwΘx íoⁿOC

DELETE SPACETRIGGER RúΩwΘx íoⁿOC

UPDATE SPACETRIGGER ≤ΩwΘx íoⁿOC

QUERY SPACETRIGGER

530 4.2

Page 557: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

QUERY SQLSESSION]π SQL Ñq@oⁿOπ SQL Ñq@µC

MvO

⌠≤zíiHoXⁿOC

yk

Query SQLsession

L

d

@

π SQL Ñq@µC

ⁿO: query sqlsession

ΘX:

µ Θ-í BΓϕí σπ µí í e\Hµí-------- --------- ---------- -------- ISO I O

µπµí

π SQL Ω¼µíCw] NARROWABiH SET SQLDISPLAYMODE ⁿOm½C

Θ-íµí

π SQL ΘBíAHíWOΩµíCw] ISOABiH SETSQLDATETIMEFORMAT ⁿOm½C

BΓϕíí

⌡µ SQL BΓϕííCw] TURNCATEABiH SET SQLMATHMODE ⁿOm½C

σe\H

σO@½≤AªOxsdΘXAHívCBzC

QUERY SQLSESSION

531Tivoli Storage Manager for HP-UX zΓU

5.

z

ⁿO

Page 558: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

÷ⁿO

ϕ 194. P QUERY SQLSESSION ÷ⁿO

ⁿO í

SELECT e\q TSM ΩwdC

SET SQLDATETIMEFORMAT επ SQL dΘHíµíC

SET SQLDISPLAYMODE επ SQL dµeC

SET SQLMATHMODE ε SQL dñprπΦkC

QUERY SQLSESSION

532 4.2

Page 559: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

QUERY STATUS]dtoⁿO⌡µUC@G

¶ π°AAíh

¶ π÷≤@δ°AΩTApH SET ⁿOwqC

¶ π÷≤@δ°AΩTApH SET ⁿOwqC

¶ nD÷≤qÑq@ΩTAp°AiBKX¡≈τ²Bbß]

wAOΩTiOdbíΘxñOdC

¶ π÷≤ñííΩTAp°Añíí

¶ π⌡µⁿOó ßi½jC

MvO

⌠≤zíiHoXⁿOC

yk

Query STatus

LC

d

@

π°A@δΩTFBⁿOObtmzíWoXC

ⁿO: query status

ΘX:

QUERY STATUS

533Tivoli Storage Manager for HP-UX zΓU

5.

z

ⁿO

Page 560: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

°AWGSERVER1°ADqúW IP G9.115.44.121

°A TCP/IP ≡G5511°A URLGµ¼wqGOff

]w°AKXGYes°AwΘ/íG5/12/1998A07:18:16 AM

°A½sΘ/íG5/14/1998A01:05:35 PM¡≈τ²GOn

KX¡G90 nJó¡εG0

KX° U¡G0WEB z¡≈τ²O]G10

n²G÷¼iGwbßG÷

íΘxOdG1 íJOdG

v]G30 ev]G5/13/1998 07:43:35 AM°AvGñííG@

Ñq@jG25Ñq@jG12

≤O²OdG10 q@íG5 Day(s)H≈±G25

dGq∩jⁿO½Gq∩

½Gqµ∩íG⌠≤ΘxíG@δ

Ωw≈oⁿOGwqwxsjpG2,048 K@ñ¼GCONSOLE ACTLOGtmzíHGOn

½sπzííjG60e½sπzΘ/íG5/13/1998 07:43:45 AM

WUσTGOn

ΣñG

°AW

ⁿX°AWC

°ADqúW IP

ⁿX°A TCP/IP C

°A TCP/IP ≡

ⁿX°A≡C

°A URLⁿXoXoⁿOº°A URL C

QUERY STATUS

534 4.2

|

Page 561: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

µ¼wq

ⁿX⌡µ DEFINE SERVER ⁿOt@°AO N¡wqo°AC\ SET CROSSDEFINE ⁿOC

]w°AKX

ⁿXO w°A]wKXC

°AwΘ/í

ⁿXw°AΘPíC

°A½sΘ/í

ⁿXW°AΘPíC

¡≈τ²

ⁿXKX¡≈τ²O ]w÷C

KX¡

ⁿXzqIKXΘC

nJó¡ε

bΩwIºeⁿwLnJe\C

KX°U¡

ⁿwKXºprC

WEB z¡≈τ²O]

ⁿw Web z¡≈τ²Oí]HµC

ⁿXqIn²O ±íO¼íC

i

ⁿX°AO C

ⁿXbßO²O bUqIÑq@úC

íΘxOd

ⁿXΩTOd≤íΘxC

íJOd

ⁿwΩTnOdb SQL íJϕC

v]

ⁿXvzíh[ºß] TSM v]HΘµC QUERYLICENSE ⁿOiú÷≤ΣªvΩTC

e v]

ⁿXWv]oΘPíC QUERY LICENSE ⁿOiú÷≤ΣªvΩTC

°A v

ⁿX°AO ]OWX]óvC QUERYLICENSE ⁿOεP°ALkqv°]C

QUERY STATUS

535Tivoli Storage Manager for HP-UX zΓU

5.

z

ⁿO

Page 562: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

ñíí

ⁿXñíO b⌡µ]@ñD@ñC

Ñq@j

ⁿXD/q[cDÑq@jqC

Ñq@j

ⁿXD/q[ciBzwu@jqC

≤O²Od

ⁿXñíí≤O²OdC

q@í

ⁿX DEFINE CLIENTACTION ⁿOwqqíC

H≈±

ⁿXh#°íΦi⌡µqⁿíñw≤C

d

ⁿXbqⁿíñAqiHⁿ°AH≥owu@WvCpG

µq∩Aⁿ]pollingWvMw≤qIC

jⁿO½

ⁿXqíb⌡µⁿOó ßi½CpGµ

q∩AqIMw½jC

½

ⁿXqíb⌡µwⁿOó BLkp°AºßAAí

jCpGµq∩AqIMwΓ½íj

C

í

ⁿX°AΣñííC

Θxí

ⁿXxsΘxO²íCíOVeαíO@δ¼íC

Ωw≈oⁿO

ⁿXΩw≈oⁿOATSM ⌡µΩw≈C

BufPoolSizeⁿww xsd]KBjpC

@ñ¼

ⁿXlO²≤¼C

tmzíH

ⁿX°AO tmzíC

½sπzííj

ⁿXⁿz°Anjh[!αVtmzínD≤½sπzC

QUERY STATUS

536 4.2

Page 563: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

e½sπzΘ/í

]°Aⁿz°AAHⁿXtmzíWºtmΩTAe½

sπz¿\ΘPíC

WUσT

ⁿwWUσTC\ 623ySET CONTEXTMESSAGING]]wTºWUσ°i÷¼zC

÷ⁿO

ϕ 195. P QUERY STATUS ÷ΩT

ⁿO í

BEGIN EVENTLOGGING ≤O²ⁿw¼C

DISABLE SESSIONS εsqs TSM A²1\sÑq

@≥C

ENABLE SESSIONS b⌡µ DISABLE ⁿO ACCEPT DATE ⁿO

ºß½sl°AíC

END EVENTLOGGING εN≤O²ⁿw¼C

QUERY LICENSE πvH]÷ΩTC

SET ACCOUNTING ⁿwC@qÑq@⌠O b

ßO²C

SET ACTLOGRETENTION ⁿwbíΘxñOdΘxO²C

SET AUTHENTICATION ⁿwbÑq@YO núqKXC

SET CONTEXTMESSAGING ⁿwWUσTº∩ ANR9999D Tºú

C

SET CROSSDEFINE ⁿXO nµ¼wq°AC

SET EVENTRETENTION ⁿXnww@OdO²h#C

SET LOGMODE ]wΘxñxsO²íC

SET MAXCMDRETRIES ⁿwb⌡µwⁿOó ßAj½

C

SET MAXSCHEDSESSIONS ⁿwBzwu@ijD/q[cÑq@

C

SET PASSEXP ⁿwbKXLºßB'≤C

SET QUERYSCHEDPERIOD ⁿwbqⁿíñAqowu

@WvC

SET RANDOMIZE ⁿwbqⁿíñA°í

H≈C

SET REGISTRATION ⁿwO iHµn²A'zn

²C

SET RETRYPERIOD ⁿwqíΓ½íj

íC

SET SCHEDMODES ⁿw°AñííC

SET SERVERHLADDRESS ⁿX°A¬ÑC

SET SERVERLLADDRESS ⁿX°ACÑC

SET SERVERNAME ⁿwHO°AWC

QUERY STATUS

537Tivoli Storage Manager for HP-UX zΓU

|

|

|

||

|

5.

z

ⁿO

Page 564: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

ϕ 195. P QUERY STATUS ÷ΩT (≥)

ⁿO í

SET SERVERPASSWORD ⁿw°AKXC

QUERY STATUS

538 4.2

Page 565: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

QUERY STGPOOL]dxsoⁿOπ@hxs÷ΩTCzPiHⁿO°xs

αC

MvO

⌠≤zíiHoXⁿOC

yk

Query STGpool*

pool_name

µí = Standard

µí = StandardDetailed

POoltype = ANY

POoltype = ANYPRimaryCOpy

pool_nameⁿwndxsC∩C ziHUrⁿwWCpGz*

ⁿwAhπxsC

Formatⁿwp≤πΩTC∩C w] STANDARDCiαG

StandardⁿwπíΩTC

DetailedⁿwππΩTC

POoltypeⁿwndxs¼C∩C w] ANYC iαG

ANYdDnxsC

PRimarydDxsC

COpydxsC

d

@ 1

π÷≤xs POOL1 ΩTC

QUERY STGPOOL

539Tivoli Storage Manager for HP-UX zΓU

5.

z

ⁿO

Page 566: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

ⁿO: dxs POOL1

ΘX:

xs mO w⌠ q α ¬ C UW W eq ± ± α α xs

]MB ± ±---------- ---------- --------- ----- ----- ---- ---- --------POOL1 DISK 58.5 0.8 0.7 90 70 POOL2

wq\@ 2C

@ 2

πⁿW 8MMPOOL xs ΩTC

ⁿO: query stgpool 8mmpool format=detailed

ΘX:

xsWG8MMPOOLxs¼GDnmOWG8MMTAPEw⌠eq]MBG0.0

vG0.0α±G0.0Φ±G0.0¬α±G90Cα±G70

α≡G0α≥GYesαG

UxsGPOOL1¼ xsG

j oG5 MsG¬/gíGDnxs

XmGRoom1234/Bldg31O wαHG

CHGO¼ G60

jeΘG5eΘ½≡íG0

αiµñHGwαq]MBG0.00gLαí]ϕG0

¼ iµñHGnα/¼ eΘGe≤s]zGADMINe≤sΘ/íG05/22/1998 14:50:29

ΣñG

QUERY STGPOOL

540 4.2

Page 567: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

xsW

xsWC

xs¼

xs¼C

mOW

ⁿwxsmOWC

w⌠eq]MB

xsw⌠eq]H MB µC

÷≤ DISK mAYxseΘeqA]A⌠≤αeΘC

∩≤smÑAOⁿxsñseΘXp íw⌠Aú

Lsí≤CpGxswgNΩxsb#@eΘñAhw

⌠eq]AxsiⁿjeΘC

v

H%±ϕxsw⌠qC

bsmWAoOHC@seΘW@+%

±AHxsñeΘw⌠eq+%±ϕC

bmWAoOHw⌠eq+%±ϕA]AΩH

nbαeΘWΩCpGzbºiµíoXoⁿOAh

uq%±viαWXuα%±vCuq%±v

M≤Ωtm íq]bºiµíCuα%±vNϕwTw

+ íCbº⌠Ao¿PBC

uq%±v]teΘWΩC]Abí#Uo

αAuq%±vúFoO]αΩ2HΩ#

íOdbeΘWCuq%±vubΩLADn

+ í!ε#C

α± ]Dxs

xsñiαΩ%±w⌠C°AoM¬BCαMw

εαíC

b≈mWAoOⁿww⌠eq+%±AúΩA²]

AαeΘWΩC

bsmWAoOⁿeΘ+xs]]t# 1 @ΩñeΘ%±CeΘ]tjeΘC

uq%±v]teΘWΩFuα%±vhútΩC

]AbípUoαAuα%±vCA²uq%

±vúF]αΩ2HΩ#íOdbeΘWCu

q%±vubΩLADn+ í

!ε#C

QUERY STGPOOL

541Tivoli Storage Manager for HP-UX zΓU

5.

z

ⁿO

Page 568: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

Φ±

xsΦ+xs+%±CΦ+Oⁿq+

íAªiHOE@íA]iHúOCp≤ 100% uΦ%±vⁿXxsEi íC

¬α± ]Dxs

¬αⁿw°AilαxsíCϕiαΩ%±Fo

A°AlαC

Cα± ]Dxs

Cαⁿw°AiεαxsíCϕiαΩ%±Fo

A°AεαC

α≡ ]Dxs

b°AiHNαUxsºeA'Odbxsñ#

C∩≤xsÑAΘOqxsxsñqß@

XílpΓC ∩≤sxsÑAΘOqxsxsñ

lpΓC

α≥ ]Dxs

bxsñ *Fα≡ⁿwA°AO ≥N

αUxsC

α ]H≈sxs

qxsαCbNqoxsαΩΘ≈

xsAC@α@≈C]AαúW

XiMqαBz≈C

Uxs ]Dxs

qoxsαΩA@ΩaxsC

¼xs ]DnBsxs

pGⁿwoAoxsNOb¼BzíAqeΘXºΩ

aCpGSⁿwxsAw]O¼BzubPxseΘºí

Ω

jpW¡ ]Dxs

bPqiµÑq@íAixsbxsñjpW¡C

s

p≤sxsñΩC

í

xsíC

X m ]sxs

b MOVE MEDIA ⁿOqíwhXxsñeΘAnxsoeΘmC

OαH ]H≈sxs

O ∩αUxsC

QUERY STGPOOL

542 4.2

Page 569: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

CH ]sxs

O CC

¼ ]sxs

Mw≤n¼xsñeΘC°A±oMeΘi¼

í%±AHMwO n¼C

ie\eΘW¡ ]sxs

°AiHVxsnDjeΘC

eΘ½≡ ]sxs

bqeΘRúºßA'gLh#A°A!iHNeΘ≡¼

A½eΘC

αiµñH ]Dxs

O #@αbxs@ñC

αq]MB ]Dxs

ⁿϕαbiµAwαΩq]H MB µCpGα*biµñANNϕbWαíαΩqCϕxsh½B¡µα

AhNϕαΩqC

gLαí]ϕ ]Dxs

qαlßwgí]ϕαb@ñCpGα*@Ah

Nϕn¿ß@αíCϕxsh½B¡µAhN

ϕ@lß@¿ßOíC

¼iµñH ]sxs

¼O bxs@ñC

nα/¼eΘ ]sxs

α¼b@eΘWCpGSα¼b@ñAho

µO (C

e≤s]z

wwqO±≤sxszWC

e≤sΘ/í

zwq±≤sxsΘPíC

÷ⁿO

ϕ 196. P QUERY STGPOOL ÷ⁿO

ⁿO í

DEFINE STGPOOL wqxs°AxsΘCΘⁿWXC

DELETE STGPOOL °AxsΘRúxsC

UPDATE STGPOOL ≤xsC

QUERY STGPOOL

543Tivoli Storage Manager for HP-UX zΓU

5.

z

ⁿO

Page 570: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

QUERY SUBSCRIBER]πΩTbtmzíWoⁿOπΣ]w÷ΩTC

MvO

⌠≤zíiHoXⁿOC

yk

Query SUBSCRIBer*

server_name

PROFIle = *

PROFIle = profile_name

server_nameⁿwnπΣΩTⁿz°AWCziHUrⁿwh°A

WC∩C w]Oⁿz°AC

PROFIleⁿwnπΣΩT]wWCziHUrⁿwh]wWC

∩C w]O]wC

d

@

otmzí]wπΩTC

ⁿO: query subscriber

ΘX:

]wW µH e≤sΘ/í

--------------- --------------- ------------ --------------------SERVER2 DEFAULT_PROFILE Yes 5/14/1998]g

01:14:42 PMSERVER2 SETUP Yes 5/14/1998]g

01:14:42 PM

ΣñG

W]ⁿz°AC

]wW

]wWC

µH

O wgQM]w÷pµΩT½sπzCiαG

Yesⁿz°A OsC

QUERY SUBSCRIBER

544 4.2

Page 571: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

Noⁿz°AúOsCpGb½sπzL]wßAoµO NOAd°ATºAΣXiαP½sπzó ¼pC

ú

ⁿz°A±tmzí≤s]wA]wwgúbtm

zíWA²O2MP]w÷pC

e≤sΘ/í

ⁿXQN÷tmΩTeΘPíC

÷ⁿO

ϕ 197. P QUERY SUBSCRIBER ÷ⁿO

ⁿO í

DEFINE SUBSCRIPTION ²ⁿz°A]wC

DELETE SUBSCRIBER Rúw@oⁿz°AC

DELETE SUBSCRIPTION Rúⁿw]wC

NOTIFY SUBSCRIBERS q°A½sπzΣtmΩTC

SET CONFIGMANAGER ⁿX°AO tmzíC

QUERY SUBSCRIPTION π]w÷ΩTC

QUERY SUBSCRIBER

545Tivoli Storage Manager for HP-UX zΓU

5.

z

ⁿO

Page 572: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

QUERY SUBSCRIPTION]πΩTbⁿz°AWoⁿOπ]wΩTC

MvO

⌠≤zíiHoXⁿOC

yk

Query SUBSCRIPtion*

profile_name

profile_nameⁿwπΣΩT]wWCziHUrⁿwhWC∩

C w]O]wC

d

@

π]wΩTC

ⁿO: query subscription

ΘX:

tm ]wW e≤szí Θ/í--------------- --------------- ---------SERVER1 ADMIN_INFO 5/14/1998]gSERVER1 DEFAULT_PROFILE 5/14/1998]g

01:35:13 PMSERVER1 EMPLOYEE 5/14/1998]g

01:35:13 PM

ΣñG

tmzí

tmzí WC

]wW

]wWC

e≤sΘ/í

±@QNtmΩTeΘPíC

QUERY SUBSCRIPTION

546 4.2

Page 573: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

÷ⁿO

ϕ 198. P QUERY SUBSCRIPTION ÷ⁿO

ⁿO í

DEFINE SUBSCRIPTION ²ⁿz°A]wC

DELETE SUBSCRIBER Rúw@oⁿz°AC

DELETE SUBSCRIPTION Rúⁿw]wC

NOTIFY SUBSCRIBERS q°A½sπzΣtmΩTC

QUERY SUBSCRIBER πPΣ∩]wº÷ΩTC

QUERY SUBSCRIPTION

547Tivoli Storage Manager for HP-UX zΓU

5.

z

ⁿO

Page 574: Tivoli Storage Manager for HP-UX ºÞ²zªÌ°Ñ¦Ò¤â¥Upublib.boulder.ibm.com/tividd/td/SMHPN/GC35-0414-01/zh_TW/PDF/anrhrf41.pdf · zq ∩ ..... 15 s≥r ..... 16

QUERY SYSTEM]dttmHeqoⁿOo TSM tmeq÷πXΩTCoⁿOπXUCⁿOΘ

XG

QUERY ASSOCIATION

QUERY COPYGROUP

QUERY DB

QUERY DBVOLUME

QUERY DEVCLASS

QUERY DOMAIN

QUERY LOG

QUERY LOGVOLUME

QUERY MGMTCLASS

QUERY OPTIONS

QUERY PROCESS

QUERY SCHEDULE

QUERY SESSION

QUERY STATUS

QUERY STGPOOL

QUERY VOLUME

MvO

⌠≤zíiHoXⁿOC

yk

Query