kailas.asm
山とシステム管理屋のメモサイト
開始行:
|~ソフトウェア |IBM Spectrum Protect Version 8.1|
|~OS|CentOS 7 |
|~ドキュメント |2017/05/08 001|
----
#contentsx
***サポートOS [#za7d2dfc]
Windows2012以降
RHEL6以降
SLES11以降
http://www-01.ibm.com/support/docview.wss?uid=swg21243309
***必要パッケージの導入 [#qe1aeabe]
# yum install ksh
***導入 [#m54b8bcd]
最小スペックや導入するLinuxのディストリビューションチェッ...
./install.sh -c -vmargs "-DBYPASS_TSM_REQ_CHECKS=true"
***カーネルパラメータの調整 [#t3745417]
kernel.msgmax = 65536
kernel.msgmnb = 65536
kernel.randomize_va_space = 0
vm.swappiness = 0
[[Linux でのカーネル・パラメーターの推奨最小値>https://ww...
***ulimitの変更 [#kec58ddd]
ファイル同時オープン数のlimitが低い場合、警告が出るため制...
ANR3619W The user limit for open files is below the reco...
limitsの変更
# diff /etc/security/limits.conf /etc/security/limits.c...
60,61d59
< * hard nofile 8192
<
インスタンスユーザー(tsminst1)の.bashrcに追記
ulimit -n 8192
**DB2のセットアップ [#ic0835b3]
***インスタンスユーザーの作成 [#v97536c8]
# groupadd -g 1000 tsmsrvrs
# useradd -u 1001 -g 1000 tsminst1
# id tsminst1
uid=1001(tsminst1) gid=1000(tsmsrvrs) groups=1000(tsmsrv...
***インスタンスの作成 [#v63dd58e]
# /opt/tivoli/tsm/db2/instance/db2icrt -a server -s ese ...
DBI1446I db2icrt コマンドの実行中です。
DB2 インストールを初期化しています。
実行されるタスクの合計数: 4
実行される全タスクの合計見積もり時間: 309 秒
タスク #1 を開始します。
説明: デフォルト・グローバル・プロファイル・レジストリー...
見積もり時間 1 秒
タスク #1 が終了しました。
タスク #2 を開始します。
説明: インスタンス・リストの初期化
見積もり時間 5 秒
タスク #2 が終了しました。
タスク #3 を開始します。
説明: DB2 インスタンスの構成
見積もり時間 300 秒
タスク #3 が終了しました。
タスク #4 を開始します。
説明: グローバル・プロファイル・レジストリーの更新
見積もり時間 3 秒
タスク #4 が終了しました。
正常に実行が完了しました。
詳しくは、「/tmp/db2icrt.log.2287」にある DB2
インストール・ログを参照してください。
DBI1070I プログラム db2icrt は正常に完了しました。
***データベースのデフォルト・ディレクトリーの変更 [#x55b0...
# su - tsminst1
$ mkdir db
$ db2 update dbm cfg using dftdbpath /home/tsminst1/db
DB20000I UPDATE DATABASE MANAGER CONFIGURATION
コマンドが正常に完了しました。
***GSKitを使用するためにライブラリー・パスを変更 [#l2020e...
$ pwd
/home/tsminst1/sqllib
$ cp -ip usercshrc usercshrc.org
$ vi usercshrc
$ diff usercshrc usercshrc.org
1d0
< setenv LD_LIBRARY_PATH
server_bin_directory/dbbkapi:/opt/ibm/gsk8_64/lib64:$LD_...
***GSkitの稼働を確認 [#v5a555c6]
[tsminst1 ~]$ echo $LD_LIBRARY_PATH
server_bin_directory/dbbkapi:/usr/local/ibm/gsk8_64/lib6...
[tsminst1 ~]$ gsk8capicmd_64 -version
[tsminst1 ~]$ gsk8ver_64
**TSM環境のセットアップ [#i73e6ef1]
***ログ・ディレクトリーの作成 [#p71b5974]
[tsminst1 ~]$ mkdir -p /home/tsminst1/archlog
[tsminst1 ~]$ mkdir -p /home/tsminst1/activelog
[tsminst1 ~]$ mkdir -p /home/tsminst1/archfaillog
[tsminst1 ~]$ mkdir -p /home/tsminst1/mirrorlog
***サーバー・インスタンスの初期化 [#g4bdc892]
[tsminst1 ~]$ dsmserv format dbdir=/home/tsminst1/tsmdb0...
ANR7800I DSMSERV generated at 20:43:06 on Nov 21 2016.
IBM Spectrum Protect for Linux/x86_64
Version 8, Release 1, Level 0.000
Licensed Materials - Property of IBM
(C) Copyright IBM Corporation 1990, 2016.
All rights reserved.
U.S. Government Users Restricted Rights - Use, duplicati...
restricted by GSA ADP Schedule Contract with IBM Corpora...
ANR7801I Subsystem process ID is 13071.
ANR0900I Processing options file /home/tsminst1/dsmserv....
ANR0010W Unable to open message catalog for language ja_...
language message catalog will be used.
ANR7814I Using instance directory /home/tsminst1.
ANR4726I The ICC support module has been loaded.
ANR0152I Database manager successfully started.
ANR2976I Offline DB backup for database TSMDB1 started.
ANR2974I Offline DB backup for database TSMDB1 completed...
ANR0992I Server's database formatting complete.
ANR0369I Stopping the database manager because of a serv...
***DB2の稼働確認 [#l5caa5cb]
[tsminst1@otspl01 ~]$ db2start
04/11/2017 14:25:00 0 0 SQL1063N DB2START の処...
SQL1063N DB2START の処理が正常に終了しました。
***TSM Serverの稼働確認 [#xa28fe57]
[tsminst1 ~]$ /usr/bin/dsmserv
ANR7800I DSMSERV generated at 20:43:06 on Nov 21 2016.
IBM Spectrum Protect for Linux/x86_64
Version 8, Release 1, Level 0.000
Licensed Materials - Property of IBM
(C) Copyright IBM Corporation 1990, 2016.
All rights reserved.
U.S. Government Users Restricted Rights - Use, duplicati...
restricted by GSA ADP Schedule Contract with IBM Corpora...
ANR7801I Subsystem process ID is 13890.
ANR0900I Processing options file /home/tsminst1/dsmserv....
ANR0010W Unable to open message catalog for language ja_...
language message catalog will be used.
ANR7814I Using instance directory /home/tsminst1.
ANR4726I The ICC support module has been loaded.
ANR0990I Server restart-recovery in progress.
ANR1628I The database manager is using port 51500 for se...
ANR1636W The server machine GUID changed: old value (), ...
(e8.3f.12.85.b2.1d.e7.11.a3.db.00.22.4d.66.f2.73).
ANR2100I Activity log process has started.
ANR3733W The master encryption key cannot be generated b...
is not set.
ANR3339I Default Label in key data base is TSM Server Se...
ANR3337I Option SSLDISABLELEGACYTLS YES added to server ...
ANR3337I Option SSLHIDELEGACYTLS YES added to server opt...
ANR4726I The NAS-NDMP support module has been loaded.
ANR1794W IBM Spectrum Protect SAN discovery is disabled ...
ANR2200I Storage pool BACKUPPOOL defined (device class D...
ANR2200I Storage pool ARCHIVEPOOL defined (device class ...
ANR2200I Storage pool SPACEMGPOOL defined (device class ...
ANR8200I TCP/IP Version 4 driver ready for connection wi...
ANR2803I License manager started.
ANR0984I Process 1 for EXPIRE INVENTORY (Automatic) star...
時23分40秒.
ANR0811I Inventory client file expiration started as pro...
ANR0984I Process 2 for AUDIT LICENSE started in the BACK...
ANR2820I Automatic license audit started as process 2.
ANR2560I Schedule manager started.
ANR0167I Inventory file expiration process 1 processed f...
ANR0812I Inventory file expiration process 1 completed: ...
0 objects, deleting 0 backup objects, 0 archive objects,...
recovery plan files. 0 objects were retried 0 errors wer...
were skipped.
ANR0985I Process 1 for EXPIRE INVENTORY (Automatic) runn...
completed with completion state SUCCESS at 15時23分42秒.
ANR2825I License audit process 2 completed successfully ...
ANR0985I Process 2 for AUDIT LICENSE running in the BACK...
completion state SUCCESS at 15時23分43秒.
ANR0098W This system does not meet the minimum memory re...
ANR0993I Server initialization complete.
IBM Spectrum Protect:SERVER1>
ANR0916I IBM Spectrum Protect distributed by Internation...
ready for use.
ANR2841W Server is NOT IN COMPLIANCE with license terms.
ANR1434W No files have been identified for automatically...
configuration information.
ANR4502W No files have been defined for automatically st...
history information.
***ライセンスの登録 [#ib2856e0]
IBM Spectrum Protect:SERVER1> register license file=tsmb...
ANR2017I Administrator SERVER_CONSOLE issued command: RE...
file=tsmbasic.lic
ANR2852I Current license information:
ANR2853I New license information:
ANR2828I Server is licensed to support IBM Spectrum Prot...
IBM Spectrum Protect:SERVER1>
***DBバックアップ領域の定義 [#k0ea6028]
バックアップ先の定義
IBM Spectrum Protect:SERVER1> define devclass tsmdbbk de...
ANR2017I Administrator SERVER_CONSOLE issued command: DE...
devtype=file directory=/home/tsminst1/tsmdbbk
ANR2203I Device class TSMDBBK defined.
ANR1434W No files have been identified for automatically...
configuration information.
IBM Spectrum Protect:SERVER1>
DBバックアップ先の定義
IBM Spectrum Protect:SERVER1> set dbrecovery tsmdbbk
ANR2017I Administrator SERVER_CONSOLE issued command: SE...
ANR2782I SET DBRECOVERY completed successfully and devic...
backup is set to TSMDBBK.
IBM Spectrum Protect:SERVER1>
----
[1] [[Linux: Tivoli Storage Manager のインストール後の最...
#counter
終了行:
|~ソフトウェア |IBM Spectrum Protect Version 8.1|
|~OS|CentOS 7 |
|~ドキュメント |2017/05/08 001|
----
#contentsx
***サポートOS [#za7d2dfc]
Windows2012以降
RHEL6以降
SLES11以降
http://www-01.ibm.com/support/docview.wss?uid=swg21243309
***必要パッケージの導入 [#qe1aeabe]
# yum install ksh
***導入 [#m54b8bcd]
最小スペックや導入するLinuxのディストリビューションチェッ...
./install.sh -c -vmargs "-DBYPASS_TSM_REQ_CHECKS=true"
***カーネルパラメータの調整 [#t3745417]
kernel.msgmax = 65536
kernel.msgmnb = 65536
kernel.randomize_va_space = 0
vm.swappiness = 0
[[Linux でのカーネル・パラメーターの推奨最小値>https://ww...
***ulimitの変更 [#kec58ddd]
ファイル同時オープン数のlimitが低い場合、警告が出るため制...
ANR3619W The user limit for open files is below the reco...
limitsの変更
# diff /etc/security/limits.conf /etc/security/limits.c...
60,61d59
< * hard nofile 8192
<
インスタンスユーザー(tsminst1)の.bashrcに追記
ulimit -n 8192
**DB2のセットアップ [#ic0835b3]
***インスタンスユーザーの作成 [#v97536c8]
# groupadd -g 1000 tsmsrvrs
# useradd -u 1001 -g 1000 tsminst1
# id tsminst1
uid=1001(tsminst1) gid=1000(tsmsrvrs) groups=1000(tsmsrv...
***インスタンスの作成 [#v63dd58e]
# /opt/tivoli/tsm/db2/instance/db2icrt -a server -s ese ...
DBI1446I db2icrt コマンドの実行中です。
DB2 インストールを初期化しています。
実行されるタスクの合計数: 4
実行される全タスクの合計見積もり時間: 309 秒
タスク #1 を開始します。
説明: デフォルト・グローバル・プロファイル・レジストリー...
見積もり時間 1 秒
タスク #1 が終了しました。
タスク #2 を開始します。
説明: インスタンス・リストの初期化
見積もり時間 5 秒
タスク #2 が終了しました。
タスク #3 を開始します。
説明: DB2 インスタンスの構成
見積もり時間 300 秒
タスク #3 が終了しました。
タスク #4 を開始します。
説明: グローバル・プロファイル・レジストリーの更新
見積もり時間 3 秒
タスク #4 が終了しました。
正常に実行が完了しました。
詳しくは、「/tmp/db2icrt.log.2287」にある DB2
インストール・ログを参照してください。
DBI1070I プログラム db2icrt は正常に完了しました。
***データベースのデフォルト・ディレクトリーの変更 [#x55b0...
# su - tsminst1
$ mkdir db
$ db2 update dbm cfg using dftdbpath /home/tsminst1/db
DB20000I UPDATE DATABASE MANAGER CONFIGURATION
コマンドが正常に完了しました。
***GSKitを使用するためにライブラリー・パスを変更 [#l2020e...
$ pwd
/home/tsminst1/sqllib
$ cp -ip usercshrc usercshrc.org
$ vi usercshrc
$ diff usercshrc usercshrc.org
1d0
< setenv LD_LIBRARY_PATH
server_bin_directory/dbbkapi:/opt/ibm/gsk8_64/lib64:$LD_...
***GSkitの稼働を確認 [#v5a555c6]
[tsminst1 ~]$ echo $LD_LIBRARY_PATH
server_bin_directory/dbbkapi:/usr/local/ibm/gsk8_64/lib6...
[tsminst1 ~]$ gsk8capicmd_64 -version
[tsminst1 ~]$ gsk8ver_64
**TSM環境のセットアップ [#i73e6ef1]
***ログ・ディレクトリーの作成 [#p71b5974]
[tsminst1 ~]$ mkdir -p /home/tsminst1/archlog
[tsminst1 ~]$ mkdir -p /home/tsminst1/activelog
[tsminst1 ~]$ mkdir -p /home/tsminst1/archfaillog
[tsminst1 ~]$ mkdir -p /home/tsminst1/mirrorlog
***サーバー・インスタンスの初期化 [#g4bdc892]
[tsminst1 ~]$ dsmserv format dbdir=/home/tsminst1/tsmdb0...
ANR7800I DSMSERV generated at 20:43:06 on Nov 21 2016.
IBM Spectrum Protect for Linux/x86_64
Version 8, Release 1, Level 0.000
Licensed Materials - Property of IBM
(C) Copyright IBM Corporation 1990, 2016.
All rights reserved.
U.S. Government Users Restricted Rights - Use, duplicati...
restricted by GSA ADP Schedule Contract with IBM Corpora...
ANR7801I Subsystem process ID is 13071.
ANR0900I Processing options file /home/tsminst1/dsmserv....
ANR0010W Unable to open message catalog for language ja_...
language message catalog will be used.
ANR7814I Using instance directory /home/tsminst1.
ANR4726I The ICC support module has been loaded.
ANR0152I Database manager successfully started.
ANR2976I Offline DB backup for database TSMDB1 started.
ANR2974I Offline DB backup for database TSMDB1 completed...
ANR0992I Server's database formatting complete.
ANR0369I Stopping the database manager because of a serv...
***DB2の稼働確認 [#l5caa5cb]
[tsminst1@otspl01 ~]$ db2start
04/11/2017 14:25:00 0 0 SQL1063N DB2START の処...
SQL1063N DB2START の処理が正常に終了しました。
***TSM Serverの稼働確認 [#xa28fe57]
[tsminst1 ~]$ /usr/bin/dsmserv
ANR7800I DSMSERV generated at 20:43:06 on Nov 21 2016.
IBM Spectrum Protect for Linux/x86_64
Version 8, Release 1, Level 0.000
Licensed Materials - Property of IBM
(C) Copyright IBM Corporation 1990, 2016.
All rights reserved.
U.S. Government Users Restricted Rights - Use, duplicati...
restricted by GSA ADP Schedule Contract with IBM Corpora...
ANR7801I Subsystem process ID is 13890.
ANR0900I Processing options file /home/tsminst1/dsmserv....
ANR0010W Unable to open message catalog for language ja_...
language message catalog will be used.
ANR7814I Using instance directory /home/tsminst1.
ANR4726I The ICC support module has been loaded.
ANR0990I Server restart-recovery in progress.
ANR1628I The database manager is using port 51500 for se...
ANR1636W The server machine GUID changed: old value (), ...
(e8.3f.12.85.b2.1d.e7.11.a3.db.00.22.4d.66.f2.73).
ANR2100I Activity log process has started.
ANR3733W The master encryption key cannot be generated b...
is not set.
ANR3339I Default Label in key data base is TSM Server Se...
ANR3337I Option SSLDISABLELEGACYTLS YES added to server ...
ANR3337I Option SSLHIDELEGACYTLS YES added to server opt...
ANR4726I The NAS-NDMP support module has been loaded.
ANR1794W IBM Spectrum Protect SAN discovery is disabled ...
ANR2200I Storage pool BACKUPPOOL defined (device class D...
ANR2200I Storage pool ARCHIVEPOOL defined (device class ...
ANR2200I Storage pool SPACEMGPOOL defined (device class ...
ANR8200I TCP/IP Version 4 driver ready for connection wi...
ANR2803I License manager started.
ANR0984I Process 1 for EXPIRE INVENTORY (Automatic) star...
時23分40秒.
ANR0811I Inventory client file expiration started as pro...
ANR0984I Process 2 for AUDIT LICENSE started in the BACK...
ANR2820I Automatic license audit started as process 2.
ANR2560I Schedule manager started.
ANR0167I Inventory file expiration process 1 processed f...
ANR0812I Inventory file expiration process 1 completed: ...
0 objects, deleting 0 backup objects, 0 archive objects,...
recovery plan files. 0 objects were retried 0 errors wer...
were skipped.
ANR0985I Process 1 for EXPIRE INVENTORY (Automatic) runn...
completed with completion state SUCCESS at 15時23分42秒.
ANR2825I License audit process 2 completed successfully ...
ANR0985I Process 2 for AUDIT LICENSE running in the BACK...
completion state SUCCESS at 15時23分43秒.
ANR0098W This system does not meet the minimum memory re...
ANR0993I Server initialization complete.
IBM Spectrum Protect:SERVER1>
ANR0916I IBM Spectrum Protect distributed by Internation...
ready for use.
ANR2841W Server is NOT IN COMPLIANCE with license terms.
ANR1434W No files have been identified for automatically...
configuration information.
ANR4502W No files have been defined for automatically st...
history information.
***ライセンスの登録 [#ib2856e0]
IBM Spectrum Protect:SERVER1> register license file=tsmb...
ANR2017I Administrator SERVER_CONSOLE issued command: RE...
file=tsmbasic.lic
ANR2852I Current license information:
ANR2853I New license information:
ANR2828I Server is licensed to support IBM Spectrum Prot...
IBM Spectrum Protect:SERVER1>
***DBバックアップ領域の定義 [#k0ea6028]
バックアップ先の定義
IBM Spectrum Protect:SERVER1> define devclass tsmdbbk de...
ANR2017I Administrator SERVER_CONSOLE issued command: DE...
devtype=file directory=/home/tsminst1/tsmdbbk
ANR2203I Device class TSMDBBK defined.
ANR1434W No files have been identified for automatically...
configuration information.
IBM Spectrum Protect:SERVER1>
DBバックアップ先の定義
IBM Spectrum Protect:SERVER1> set dbrecovery tsmdbbk
ANR2017I Administrator SERVER_CONSOLE issued command: SE...
ANR2782I SET DBRECOVERY completed successfully and devic...
backup is set to TSMDBBK.
IBM Spectrum Protect:SERVER1>
----
[1] [[Linux: Tivoli Storage Manager のインストール後の最...
#counter
ページ名: