内容发布更新时间 : 2024/11/19 17:46:41星期一 下面是文章的全部内容请认真阅读。
tivoli.tsm.filepath_aix 3.2、在生产节点上安装TSM客户机
A、作为root用户登录系统。将TSM客户端软件CD装入选定的驱动器,或者将TSM客户端软件包上传至服务器/tmp/powerha目录。
B、执行以下命令:smitty install_update,然后选择:Install and Update from ALL Available Software
C、在INPUT device / directory for software选项中,选择用于安装的设备或者输入文件的上传目录/tmp/tsm/client,并按下Enter键。
D、在SOFTWARE to install选项中,按下F4或者ESC+4组合键以选择要安装的软件包,在弹出的窗口中,按下F7或者ESC+7组合键选择要安装的文件集。
E、在ACCEPT new license agreements?选项中,按下Tab键选择yes, 提示:必须接受新的许可证协议才能安装软件包 F、按下Enter键执行该命令,再按下Enter键确认。
注意:TSM管理客户机会安装在/usr/tivoli/tsm/client/ba/bin目录中。
4、配置TSM客户机
4.1、配置dsm.opt文件
#vi /usr/tivoli/tsm/client/ba/bin/dsm.opt SErvername tsmserver
4.2、配置dsm.sys文件
#vi /usr/tivoli/tsm/client/ba/bin/dsm.sys SErvername tsmserver COMMMethod TCPip TCPPort 1500
TCPServeraddress 10.20.76.18 *This enter HACMP Service IPaddress NODEname st01ba
PASSwordaccess generate
MANAgedservices webclient schedule SCHEDmode prompted
4.3、配置环境变量
#vi /.profile
export DSM_CONFIG=/usr/tivoli/tsm/client/ba/bin/dsm.opt export DSM_DIR=/usr/tivoli/tsm/client/ba/bin export DSM_LOG=/usr/tivoli/tsm/client/ba/bin
4.4、启动和关闭TSM客户机
4.4.1、启动TSM客户机
#/usr/tivoli/tsm/client/ba/bin/dsmcad
4.4.2、关闭TSM客户机
#ps -ef | grep dsm
root 364788 1 0 10:39:00 /usr/tivoli/tsm/client/ba/bin/dsmcad root
393260
1
0
09:25:33
/usr/tivoli/tsm/server/bin/dsmserv quiet #kill 364788
- pts/0
0:00 0:09
5、TSM服务器配置
5.1、定义策略域
tsm: TSMSERVER>define domain fileback backretention=60 archretention=90 ANR1500I Policy domain FILEBACK defined.
5.2、定义策略集
tsm: TSMSERVER>define pol fileback filepol
ANR1510I Policy set FILEPOL defined in policy domain FILEBACK.
5.3、定义管理类
tsm: TSMSERVER>define mgmt fileback filepol filemgmt
ANR1520I Management class FILEMGMT defined in policy domain FILEBACK, set FILEPOL.
5.4、指派缺省管理类
tsm: TSMSERVER>assign defmgmtclass fileback filepol filemgmt
ANR1538I Default management class set to FILEMGMT for policy domain FILEBACK, set FILEPOL.
5.5、定义备份副本组
tsm: TSMSERVER>define copygroup fileback filepol filemgmt standard type=backup d estination=backuppool frequency=3 verexists=5 mode=absolute ANR1530I Backup copy group STANDARD defined in policy domain FILEBACK, set FILEPOL, management class FILEMGMT.
5.6、验证并激活策略集
tsm: TSMSERVER>activate policyset fileback filepol
ANR1554W DEFAULT Management class FILEMGMT in policy set FILEBACK FILEPOL does not have an ARCHIVE copygroup: files will not be archived by default if this set is activated.
Do you wish to proceed? (Yes (Y)/No (N)) y
ANR1554W DEFAULT Management class FILEMGMT in policy set FILEBACK FILEPOL does not have an ARCHIVE copygroup: files will not be archived by default if this set is activated.
ANR1514I Policy set FILEPOL activated in policy domain FILEBACK.
5.7、注册客户端节点
tsm: TSMSERVER>register node mon01 client domain=fileback ANR2060I Node MON01 registered in policy domain FILEBACK.
ANR2099I Administrative userid MON01 defined for OWNER access to node MON01.
6、测试TSM客户机与TSM服务器的连接
[root@itcchina /]#dsmc query session IBM Tivoli Storage Manager
Command Line Backup/Archive Client Interface Client Version 5, Release 5, Level 0.0 Client date/time: 09/14/10 09:36:51
(c) Copyright by IBM Corporation and other(s) 1990, 2007. All Rights Reserved.
Node Name: MON01
Please enter your user id
Please enter password for user id \
Session established with server TSMSERVER: AIX-RS/6000 Server Version 5, Release 5, Level 0.0
Server date/time: 09/14/10 09:36:51 Last access: 09/14/10 09:36:51
TSM Server Connection Information
Server Name.............: TSMSERVER Server Type.............: AIX-RS/6000 Archive Retain Protect..: \
Server Version..........: Ver. 5, Rel. 5, Lev. 0.0 Last Access Date........: 09/14/10 09:36:51 Delete Backup Files.....: \Delete Archive Files....: \
Node Name...............: MON01 User Name...............: root