TSM server安装
步骤一
smit安装所需要的软件包:
Tivoli.tsm.server.rte
Tivoli.tsm.server.com
Tivoli.tsm.server.webadmin
Tivoli.tsm.license.rte
Tivoli.tsm.license.cert
Tivoli.tsm.devices.aix43.rte
步骤二
修改环境变量
export DSMSERV_DIR=/usr/tivoli/tsm/server/bin
export DSMSERV_CONFIG=/usr/tivoli/tsm/server/bin/dmserv.opt
步骤三
修改dsmserv.opt文件
解除屏蔽:
COMMmethod TCPIP
COMMmethod HTTP
添加:
TCPPort 1500
HTTPPort 1580
步骤四
建立server的自动运行:
在TSM server软件包安装完成后,系统自动在inittab中添加了自动运行:
autosrvr:2nce:/usr/tivoli/tsm/server/bin/rc.adsmserv >;/dev/console 2>;&1
注意:在有HA的情况下,不能使用该方式。
手动运行server:
dsmserv quiet &
步骤五
修改server名称等属性:
对象视图->;服务器->;服务器状态
注意:口令有效期限
步骤六
使用命令行注册license
reg lic file=[license file] number
在TSM server安装完成后,在/usr/Tivoli/tsm/server/bin下会产生多个后缀为lic的license
文件,据此注册。
在本次安装中,使用:
reg lic file=*.lic number=2
步骤七
格式化DB、LOG和磁盘存储池所需要的空间
例如:
dsmfmt -m -db /tsmdata/db01.dsm 300
dsmfmt -m -log /xzbackup/tsmdata/log01.dsm 300
dsmfmt -m -data /xzbackup /tsmdata/babkvol.dsm 200
dsmfmt -m -data /xzbackup /tsmdata/baarcvol.dsm 200
dsmfmt -m -data /xzbackup /tsmdata/tdpbkvol.dsm 200
`
步骤八
扩展DB和LOG
使用web方式:
object view ->; Database ->; Database Volumes ->; Operations: ->; Define Database Volume
object view ->; Recovery log ->; Recovery log vo.umes ->; Operations: ->; Define Recovery log volume
步骤八
新建babkpool
baarcpool
tdpbkpool
Storage Pool Name
Description
Media Access Status
Maximum Size Threshold
Next Storage Pool
High Migration Threshold
Low Migration Threshold
Cache Migrated Files? YES NO
Migration Processes
Migration Delay
Migration Continue YES NO
Copy Storage Pool(s)
Continue Copy on Error? YES NO
CRC Data YES NO
步骤九
定义与3583带库有关的对象
3583设备文件名:
库设备为/dev/smc0
drive为/dev/rmtx
若系统中已经有一个DDS带机(dev/rmt0),那么带库中的第一个drive设备名称
为/dev/rmt1。
使用tapeutil查找3583 drive的element号
1.# tapeutil
2. 选:“1. Open a Device”,输入device名称:/dev/smc0
3.选:“12. Element Information”,便可查找到drive的element号。
一般来说第一个drive的element号为256
定义库
select object view ->; server storage ->; Libraries and Drives ->; Automated Libraries ->; Operations: ->; Define Automated Library
library name : 3583
device: /dev/smc0
定义驱动器
驱动器一:
select object view ->; server storage ->; Libraries and Drives ->; Automated Drives ->; Operations: ->; Define Automated Drive
Library Name 3583
Drive Name 3583_drive1
Device /dev/rmt1
Element 256 ( 256 just for 3583 drive 1, you should find out element information via tapeutil )
Device On-Line YES NO
Cleaning Frequency (Gigabytes/ASNEEDED/NONE)
驱动器二:
define second drive
select object view ->; server storage ->; Libraries and Drives ->; Automated Drives ->; Operations: ->; Define Automated Drive
Library Name 3583
Drive Name 3583_drive2
Device /dev/rmt2
Element 257 ( you should find out element information via tapeutil )
Device On-Line YES NO
Cleaning Frequency (Gigabytes/ASNEEDED/NONE)
定义LTO设备类
For 3583:
select object view ->; server storage ->; Device Classes ->; LTO Device Classes ->; Operations: ->; Define Device Class
Device Class Name 3583_Class
Recording Format Drive
Library Name 3583
Mount Limit DRIVES
Mount Retention 60
Tape Volume Prefix ADSM
Estimated Capacity
Mount Wait 60