- 追加された行はこの色です。
- 削除された行はこの色です。
#contentsx
**TSMでのストレージ管理概念 [#kd007f4c]
〜準備中〜
**ディスクを使用したストレージプールの登録 [#m0f387e2]
***順次ファイルボリュームの登録 [#bc3852ee]
-デバイスクラスの登録
+デバイスクラスの登録
TSM:SERVER1> define devclass fileclass1 devtype=file directory=/tsmdata/current
ANR2017I Administrator SERVER_CONSOLE issued command: DEFINE DEVCLASS fileclass1
devtype=file directory=/tsmdata/current
ANR2203I Device class FILECLASS1 defined.
-ストレージプールの登録
FILE デバイス・クラスの MAXCAPACITY 値のデフォルトは 2G です。
+ストレージプールの登録
TSM:SERVER1> define stgpool diskpool1 fileclass1 maxscratch=100
ANR2017I Administrator SERVER_CONSOLE issued command: DEFINE STGPOOL
diskpool1 fileclass1
maxscratch=100
ANR2200I Storage pool DISKPOOL1 defined (device class FILECLASS1).
※maxscratch:ストレージプールで使用する最大ファイル数
**テープ装置を使用したストレージプールの登録 [#l87d11af]
+テープライブラリの登録
テープライブラリを登録する場合、登録されるテープライブラリはTSMによってサポートされている必要がある。また、テープ装置単体の場合であってもライブラリータイプ=MANUALにてライブラリとして登録する必要がある。
[[Linux版サポートデバイス(ibm.com)>http://www-01.ibm.com/software/sysmgmt/products/support/IBM_TSM_Supported_Devices_for_Linux.html]]
[[AIX/Solaris版サポートデバイス(ibm.com)>http://www-01.ibm.com/software/sysmgmt/products/support/IBM_TSM_Supported_Devices_for_AIXHPSUNWIN.html]]
TSM:SERVER1> define library ライブラリー名 libtype=ライブラリータイプ device=論理デバイスファイル名
+テープ装置の登録
TSM:SERVER1> define drive ライブラリー名 ドライブ名 device=論理デバイスファイル名 element=エレメント番号
エレメント番号はTSMサポートデバイスのページに記載される。また、テープドライブが1台のみの場合は省略できる。
+デバイスクラスの登録
SM:SERVER1> define devclass デバイスクラス名 devtype=デバイスタイプ format=フォーマットタイプ library=ライブラリ名
デバイスタイプおよびフォーマットタイプは、使用するメディアにより次のような指定となる。
|メディア|devtype|format| |
|4mmDAT|4mm |dds3 |DDS3非圧縮|
| | |dds3c |DDS3圧縮|
| | |dds4 |DDS4非圧縮|
| | |dds4c |DDS4圧縮|
| | |dds5 |DAT72非圧縮|
| | |dds5c |DAT72圧縮|
|LTO |lto |ULTRIUM |Ultrium非圧縮|
| | |ULTRIUMC|Ultrium圧縮|
| | |ULTRIUM2|Ultrium2非圧縮|
| | |ULTRIUM2C|Ultrium2圧縮|
http://publib.boulder.ibm.com/tividd/td/ITSML/GC23-4691-02/ja_JA/HTML/anrlrf522108.htm
+ストレージプールの登録
TSM:SERVER1> define stgpool ストレージプール名 デバイスクラス名
+テープメディアの登録
++ボリュームの定義
TSM:SERVER1> define volume ストレージプール名 ボリューム名
++テープのラベル付け
テープメディアにボリューム名を書き込みます
TSM:SERVER1> label libvolume ライブラリー名 ボリューム名 overwrite=yes
overwriteはすでにラベル付けされたテープを使用する場合に指定します。
**バックアップ用ストレージプールの登録(コピー・ストレージプール) [#yb506751]
-デバイスクラスの登録
TSM:SERVER1> define devclass fileclass2 devtype=file directory=/tsmdata/backup
ANR2017I Administrator SERVER_CONSOLE issued command: DEFINE DEVCLASS fileclass2
devtype=file directory=/tsmdata/backup
ANR2203I Device class FILECLASS2 defined.
-ストレージプールの登録
TSM:SERVER1> define stgpool testbackpool fileclass2 pooltype=copy maxscratch=100
ANR2017I Administrator SERVER_CONSOLE issued command: DEFINE STGPOOL
testbackpool fileclass2 pooltype=copy maxscratch=100
ANR2200I Storage pool TESTBACKPOOL defined (device class FILECLASS2).
-ストレージプールのコピー実行
TSM:SERVER1> backup stgpool diskpool1 testbackpool
ANR2017I Administrator SERVER_CONSOLE issued command: BACKUP STGPOOL
diskpool1 testbackpool
ANR0984I Process 2 for BACKUP STORAGE POOL started in the BACKGROUND
at 11:35:01 AM.
ANR2110I BACKUP STGPOOL started as process 2.
ANR1210I Backup of primary storage pool DISKPOOL1 to copy storage pool
TESTBACKPOOL started as process 2.
ANR1228I Removable volume /tsmdata/current/00000003.BFS is required for
storage pool backup.
ANR8340I FILE volume /tsmdata/backup/00000004.BFS mounted.
ANR8340I FILE volume /tsmdata/current/00000003.BFS mounted.
ANR1340I Scratch volume /tsmdata/backup/00000004.BFS is now defined in
storage pool TESTBACKPOOL.
ANR0512I Process 2 opened input volume /tsmdata/current/00000003.BFS.
ANR0513I Process 2 opened output volume /tsmdata/backup/00000004.BFS.
ANR1212I Backup process 2 ended for storage pool DISKPOOL1.
ANR0986I Process 2 for BACKUP STORAGE POOL running in the BACKGROUND
processed 16 items for a total of 4,671,334 bytes with a completion
state of SUCCESS at 11:35:01 AM.
ANR1214I Backup of primary storage pool DISKPOOL1 to copy storage pool
TESTBACKPOOL has ended. Files Backed Up: 16, Bytes Backed Up: 4671334,
Unreadable Files: 0, Unreadable Bytes: 0.
----
#counter