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


CentOS7

サポートOS

Windows2012以降
RHEL6以降
SLES11以降
http://www-01.ibm.com/support/docview.wss?uid=swg21243309

必要パッケージの導入

yum install ksh

導入

最小スペックや導入するLinuxのディストリビューションチェックを回避するために、DBYPASS_TSM_REQ_CHECKSを指定する。

./install.sh -c -vmargs "-DBYPASS_TSM_REQ_CHECKS=true"

カーネルパラメータの調整

kernel.msgmax = 65536
kernel.msgmnb = 65536
kernel.randomize_va_space = 0
vm.swappiness = 0
https://www.ibm.com/support/knowledgecenter/ja/SSGSG7_7.1.0/com.ibm.itsm.srv.install.doc/t_srv_krnlparms_lnx_pref-linux.html

ulimitの変更

# diff  /etc/security/limits.conf /etc/security/limits.conf.org
60,61d59
< *                hard    nofile          8192
<

tsminst1の.bashrcに追記

ulimit -n 8192

DB2のセットアップ

# groupadd -g 1000 tsmsrvrs
# useradd -u 1001 -g 1000 tsminst1
# id tsminst1
uid=1001(tsminst1) gid=1000(tsmsrvrs) groups=1000(tsmsrvrs)
# /opt/tivoli/tsm/db2/instance/db2icrt -a server -s ese -u tsminst1 tsminst1
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 は正常に完了しました。
# su - tsminst1
$ mkdir db
$ db2 update dbm cfg using dftdbpath /home/tsminst1/db
DB20000I  UPDATE DATABASE MANAGER CONFIGURATION
コマンドが正常に完了しました。
$ 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_LIBRARY_PATH
[tsminst1@otspl01 ~]$ echo $LD_LIBRARY_PATH
server_bin_directory/dbbkapi:/usr/local/ibm/gsk8_64/lib64:/home/tsminst1/sqllib/lib64:/home/tsminst1/sqllib/lib64/gskit:/home/tsminst1/sqllib/lib32
[tsminst1@otspl01 ~]$ gsk8capicmd_64 -version
[tsminst1@otspl01 ~]$ gsk8ver_64
[tsminst1@otspl01 ~]$ mkdir -p /home/tsminst1/archlog
[tsminst1@otspl01 ~]$ mkdir -p /home/tsminst1/activelog
[tsminst1@otspl01 ~]$ mkdir -p /home/tsminst1/archfaillog
[tsminst1@otspl01 ~]$ mkdir -p /home/tsminst1/mirrorlog
 
[tsminst1@otspl01 ~]$ dsmserv format dbdir=/home/tsminst1/tsmdb001 activelogsize=16384 activelogdirectory=/home/tsminst1/activelog archlogdirectory=/home/tsminst1/archlog archfailoverlogdirectory=/home/tsminst1/archfaillog mirrorlogdirectory=/home/tsminst1/mirrorlog
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, duplication or disclosure
restricted by GSA ADP Schedule Contract with IBM Corporation.

ANR7801I Subsystem process ID is 13071.
ANR0900I Processing options file /home/tsminst1/dsmserv.opt.
ANR0010W Unable to open message catalog for language ja_JP.UTF-8. The default 
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 successfully.
ANR0992I Server's database formatting complete.
ANR0369I Stopping the database manager because of a server shutdown.
[tsminst1@otspl01 ~]$ db2start
04/11/2017 14:25:00     0   0   SQL1063N  DB2START の処理が正常に終了しました。
SQL1063N  DB2START の処理が正常に終了しました。
[tsminst1@otspl01 ~]$ /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, duplication or disclosure
restricted by GSA ADP Schedule Contract with IBM Corporation.

ANR7801I Subsystem process ID is 13890.
ANR0900I Processing options file /home/tsminst1/dsmserv.opt.
ANR0010W Unable to open message catalog for language ja_JP.UTF-8. The default 
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 server connections.
ANR1636W The server machine GUID changed: old value (), new 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 because the server password 
is not set.
ANR3339I Default Label in key data base is TSM Server SelfSigned SHA Key.
ANR3337I Option SSLDISABLELEGACYTLS YES added to server options file.
ANR3337I Option SSLHIDELEGACYTLS YES added to server options file.
ANR4726I The NAS-NDMP support module has been loaded.
ANR1794W IBM Spectrum Protect SAN discovery is disabled by options.
ANR2200I Storage pool BACKUPPOOL defined (device class DISK).
ANR2200I Storage pool ARCHIVEPOOL defined (device class DISK).
ANR2200I Storage pool SPACEMGPOOL defined (device class DISK).
ANR8200I TCP/IP Version 4 driver ready for connection with clients on port 1500.
ANR2803I License manager started.
ANR0984I Process 1 for EXPIRE INVENTORY (Automatic) started in the BACKGROUND at 15
時23分40秒.
ANR0811I Inventory client file expiration started as process 1.
ANR0984I Process 2 for AUDIT LICENSE started in the BACKGROUND at 15時23分41秒.
ANR2820I Automatic license audit started as process 2.
ANR2560I Schedule manager started.
ANR0167I Inventory file expiration process 1 processed for 0 minutes.
ANR0812I Inventory file expiration process 1 completed: processed 0 nodes, examined 
0 objects, deleting 0 backup objects, 0 archive objects, 0 DB backup volumes, and 0
recovery plan files. 0 objects were retried 0 errors were encountered and 0 objects 
were skipped.
ANR0985I Process 1 for EXPIRE INVENTORY (Automatic) running in the BACKGROUND 
completed with completion state SUCCESS at 15時23分42秒.
ANR2825I License audit process 2 completed successfully - 0 nodes audited.
ANR0985I Process 2 for AUDIT LICENSE running in the BACKGROUND completed with 
completion state SUCCESS at 15時23分43秒.
ANR0098W This system does not meet the minimum memory requirements.
ANR0993I Server initialization complete.
IBM Spectrum Protect:SERVER1>
ANR0916I IBM Spectrum Protect distributed by International Business Machines is now 
ready for use.
ANR2841W Server is NOT IN COMPLIANCE with license terms.
ANR1434W No files have been identified for automatically storing device 
configuration information.
ANR4502W No files have been defined for automatically storing sequential volume 
history information.
IBM Spectrum Protect:SERVER1> register license file=tsmbasic.lic
ANR2017I Administrator SERVER_CONSOLE issued command: REGISTER LICENSE 
file=tsmbasic.lic
ANR2852I Current license information:
ANR2853I New license information:
ANR2828I Server is licensed to support IBM Spectrum Protect Basic Edition.
IBM Spectrum Protect:SERVER1>
IBM Spectrum Protect:SERVER1> define devclass tsmdbbk devtype=file 
directory=/home/tsminst1/tsmdbbk
ANR2017I Administrator SERVER_CONSOLE issued command: DEFINE DEVCLASS tsmdbbk 
devtype=file directory=/home/tsminst1/tsmdbbk
ANR2203I Device class TSMDBBK defined.
ANR1434W No files have been identified for automatically storing device 
configuration information.
IBM Spectrum Protect:SERVER1>
IBM Spectrum Protect:SERVER1> set dbrecovery tsmdbbk
ANR2017I Administrator SERVER_CONSOLE issued command: SET DBRECOVERY tsmdbbk
ANR2782I SET DBRECOVERY completed successfully and device class for automatic DB 
backup is set to TSMDBBK.
IBM Spectrum Protect:SERVER1>