トップ   新規 一覧 単語検索 最終更新   ヘルプ   最終更新のRSS

#contentsx
**TSMデータベースのメンテナンス [#maec348b]
TSMデータベースはどのストレージにバックアップファイルが格納されているかを記録する重要なファイルである。TSMデータベースを破損させた場合、取得したバックアップからのファイル取りだしは不可能である。
***TSMコマンドによるバックアップ [#sc66f151]
+TSM DBバックアップの取得
TSMデータベースバックアップ先のデバイスクラス([[ディスク>Installmemo/TSM/stgpool#bc3852ee]],[[テープ>Installmemo/TSM/stgpool#l87d11af]])を登録し、backup dbコマンドによりバックアップを取得する。
 TSM:SERVER1> backup db devclass=デバイスクラス名 type=full
+過去に取得したTSM DBバックアップの消去
 TSM:SERVER1> delete volhistory todate=today-1 type=dbbackup
***TSM停止中によるバックアップ [#y25afa12]
TSM停止中は[[Installmemo/TSM/initialization#sc4cbda4]]で作成したTSM DBファイルをコピーしてもよい。
***TSMデータベースの利用率確認 [#m8920cfe]
 TSM:SERVER1> QUERY DB
 ANR2017I Administrator SERVER_CONSOLE issued command: QUERY DB
 
 Available     Assigned       Maximum       Maximum        Page         Total          Used       Pct      Max.
     Space     Capacity     Extension     Reduction        Size        Usable         Pages      Util       Pct
      (MB)         (MB)          (MB)          (MB)     (bytes)         Pages                              Util
 ---------     --------     ---------     ---------     -------     ---------     ---------     -----     -----
     5,120        5,120             0         5,088       4,096     1,310,720         8,836       0.7       0.7

***TSMデータベースの拡張 [#ocfc87d2]
-拡張用のスペース確保
 TSM:SERVER1> define dbvolume db02.dsm formatsize=32
 ANR2017I Administrator SERVER_CONSOLE issued command: DEFINE DBVOLUME db02.dsm formatsize=32
 ANR0984I Process 2 for DEFINE DBVOLUME started in the BACKGROUND at 01:40:55 PM.
 ANR2491I Volume Creation Process starting for db02.dsm, Process Id 2.
 
 ANR2240I Database volume /opt/tivoli/tsm/server/bin/db02.dsm defined.
 ANR0986I Process 2 for DEFINE DBVOLUME running in the BACKGROUND 
   processed 1 items for a total of 34,603,008 bytes with a completion 
   state of SUCCESS at 01:40:56 PM.

-TSM DBの拡張
 TSM:SERVER1> extend db 32
 ANR2017I Administrator SERVER_CONSOLE issued command: EXTEND DB 32
 ANR2248I Database assigned capacity has been extended.

***TSMデータベースのリストア [#oc384daf]
 # ./dsmserv restore db todate=today

**重要ファイル [#w9c45c73]
***サーバー側 [#yaba9555]
-サーバーオプションファイル
/opt/tivoli/tsm/server/bin/dsmserv.opt
-Log,TSM DB保管場所設定ファイル
/opt/tivoli/tsm/server/bin/dsmserv.dsk
-dsmserv.optで指定された下記のファイル
volhist.out
devcnfg.out
***クライアント側 [#l138c97d]
dsm.sys
dsm.opt

**ログ [#j6fb5b02]
***dsmerror.log [#i8a1695a]

***act Log [#yaaedbe7]
TSMのログはquery actlogで参照できる。
 TSM:SERVER1> q act begintime=11:00
 ANR2017I Administrator SERVER_CONSOLE issued command: QUERY ACTLOG begintime=11:00
 
 Date/Time                Message
 --------------------     ----------------------------------------------------------
 02/06/2009 01:18:50      ANR4726I The NAS-NDMP support module has been loaded.
  PM
 02/06/2009 01:18:50      ANR2102I Activity log pruning started: removing  entries


----
#counter