1.1 TSM Server
版本信息
IBM Tivoli Storage Manager for AIX Version 5.3
安装目录结构
IBM Tivoli Storage Manager for AIX Version 5.3版本默认安装路径为/usr/tivoli/tsm/server/,重要文件所在目录结构:
/usr/tivoli/tsm/server/bin 可执行命令及配置文件
1.2 TSM Client
IBM Tivoli Storage Manager for AIX Version 5.3版本默认安装路径为/usr/tivoli/tsm/client/
目录中文件描述
/usr/tivoli/tsm/client/ba/bin 可执行命令及配置文件 /usr/tivoli/tsm/client/api/bin64 可执行命令及配置文件
1.3 TDP for Oracle
IBM Tivoli Storage Manager for DBS Version 5.2.4版本默认安装路径为/usr/tivoli/tsm/client/oracle
/usr/tivoli/tsm/client/oracle/bin64 可执行命令及配置文件
2.TSM软件维护步骤
2.1. TSM Server
启动TSMServer
以root用户登录到主机上,从命令行启动TSM服务:
命令行: # /usr/tivoli/tsm/server/bin/dsmserv quiet &
停止TSM Server
输入命令#dsmadmc(最好在/tmp路径下输入)进入管理客户端,输入用户名admin,缺省口令admin进入管理命令行
输入help查看命令帮助,可以在提示符下输入halt 停止TSM服务。
验证服务状态 使用如下命令查看tsm进程:
# ps –ef grep dsmserv
可以看到如下输出说明已经启动:
[xxzx_p550_1]/usr/IBM/WebSphere/AppServer/profiles/AppSrv01/bin#ps -efgrep dsmserv
root 405734 217240 0 11:54:26 pts/6 0:00 grep dsmserv
root 565332 1 0 16:50:42 - 3:40 ./dsmserv quiet
日常管理
服务器端的维护一般通过IE来实现,启动IE界面,在地址栏输入:https://hostname:8421/ibm/console,进入管理界面,输入ISC管理员和口令(iscadmin/iscadmin)。
查看日志
登陆到命令行客户端#dsmadmc输入命令query actlog
其他常用命令
query event * * 查看调度执行情况
query status 查看服务器状态
query stgpool 查看存储池状态
query volume 查看卷状态
query libv (可以简写为q libv) 查看库卷状态
query session 查看会话状态
audit library 审计库
2.2. TSM Client
启动
#cd /usr/tivoli/tsm/StorageAgent/bin
#nohup dsmsta&
停止
直接Kill掉dsmsta进程
启动TSMClient的调度进程(脚本)
#!/bin/ksh # Use the following script to kill the currently running instance of the # TSM scheduler, and restart the scheduler in nohup mode. # # This script will not work properly if more than one scheduler process is # running. # If necessary, the following variables can be customized to allow an # alternateoptions file to be used. # export DSM_DIR= # export DSM_CONFIG= # export PATH=$PATH:$DSM_DIR # Extract the PID for the running TSM Scheduler PID=$(ps -ef grep "dsmc sched" grep -v "grep" awk {'print $2'}); print "Original TSM scheduler process using PID=$PID" # Kill the scheduler kill -9 $PID # Restart the scheduler with nohup, redirecting all output to NULL # Output will still be logged in the dsmsched.log nohup dsmc sched 2>&1 > /dev/null & # Extract the PID for the running TSM Scheduler PID=$(ps -ef grep "dsmc sched" grep -v "grep" awk {'print $2'}); print "New TSM scheduler process using PID=$PID"
以root用户登录到主机上,从命令行启动TSMClient的调度进程后台运行:
nohup dsmc sched -se=tdpo -password=password 2> /dev/null &
验证调度进程的状态
使用如下命令查看tsm进程:
# ps –ef grep dsmc
可以看到如下输出说明已经启动:
[xxzx_p550_1]/usr/IBM/WebSphere/AppServer/profiles/AppSrv01/bin#ps -efgrep dsmc root 258216 217240 0 12:08:39 pts/6 0:00 grep dsmc root 454822 1 0 Nov 30 - 0:00 dsmc sched -se=tdpo –password
2.3. TDP for Oracle
查看日志
root用户登陆到系统:
#vi /tmp/dsmsched.log
查看是否成功执行了调度。
root用户登陆到命令行客户端#dsmadmc输入命令query event * *