环境:RH 6.5 b4bit
备份软件:7.1_LIN86_AGT_ML.bin
客户端软件:TSM_CLIENT7.1_LIN_ML.tar.gz
第一步: 环境配置 #yum install libaio*
#/etc/sysconfig/selinux selinux=disable
第二步:建立数据库目录及日志目录 #mkdir /home/tsminst1/tsminst1 #mkdir /tsmdb001 #mkdir /tsmdb002 #mkdir /tsmdb003 #mkdir /tsmdb004 #mkdir /tsmarchlog #mkdir /tsmlog
#mkdir /tsmlogmirror
#mkdir /tsmarchlogfailover #chmod 777 /tsm*
第三步:创建tsminst1用户和组 #groupadd tsmsrvrs
#adduser -d /home/tsminst1 -m -g tsmsrvrs -s /bin/bash tsminst1 #passwd tsminst1 :password:123456
#mkdir /tsminst1
#chmod 777 /tsminst1
第四步:安装server包 #cd ~/tsmser
#chmod a+x T***.bin #./T***.bin #./install
选择安装包(下一步)
#vi/etc/hosts IP localhost loacalhost.localdomain 检测先决条件(下一步)
共享资源目录 /opt/IBM/IBMIMShared
installation Manager目录:/opt/IBM/InstallationManager/eclipse 下一步
安装目录/opt/tivoli/tsm(下一步) 功能部件(下一步)
产品 IBM Tivoli Storage Manager Extended Edition(下一步)
web的安全HTTPS端口 11090
Operations Center密码 Inspur$$88(下一步) 安装
第五步: 安装client端
将client的软件包拷贝到/tsmclient下面 #cd ~/tsmclient
#tar -zxvf T***.tar.gz
#cd TSMCLI_LNX/tsmcli/linux86 #rpm -Uvh TIVsm-API.x86_.rpm #rpm -Uvh TIVsm-BA.x86_.rpm #rpm -Uvh TIVSM-msg.ZH_CN.x86_ #rpm --force -Uvh TIVsm_msg.*
第六步: 配置TSM Server, 以root用户登陆 #su
输入root密码
#cd /opt/tivoli/tsm/server/bin/ #./dsmicfgx
管理员凭证 管理员名称tsminst1 密码123456 /tsminst1
下面这张图ServerName,是我们在后面要用到的 SErvername
输入admin,密码111111 -------这是以后登陆server时要输入的用户名和密码
保持默认,next
第七步,配置dsm.opt, dsm.sys文件和启动服务 #cd /opt/tivoli/tsm/client/ba/bin/ #cp dsm.opt.smp dsm.opt #vi dsm.opt
SErvername LOCALHOST
#cp dsm.sys.smp dsm.sys #vi dsm.sys
SErvername LOCALHOST COMMMethod TCPip TCPPort 1500
TCPServeraddress *.*.*.* ---当前server的IP nodename node1 passwordaccess generate
#vi /etc/rc.local sleep 5
/opt/tivoli/tsm/devices/bin/autoconf -a
第八步:登陆Server并配置 [root@localhost bin]# dsmadmc IBM Tivoli Storage Manager
Command Line Administrative Interface - Version 7, Release 1, Level 0.0
(c) Copyright by IBM Corporation and other(s) 1990, 2013. All Rights Reserved.
Enter your user id: admin
Enter your password: ----------------密码是第六步中的设定的111111
Session established with server LOCALHOST: Linux/x86_ Server Version 7, Release 1, Level 0.0
Server date/time: 03/05/2014 13:46:33 Last access: 03/04/2014 21:26:14
tsm: LOCALHOST>
进行Server端的注册:
tsm: LOCALHOST>reg lic file=*.lic ANR2852I Current license information: ANR2853I New license information:
ANR2828I Server is licensed to support IBM System Storage Archive Manager. ANR2828I Server is licensed to support Tivoli Storage Manager Basic Edition. ANR2828I Server is licensed to support Tivoli Storage Manager Extended Edition.
查询注册是否成功: tsm: LOCALHOST>q lic
Last License Audit: 03/04/2014 21:28:13 Number of TDP for Oracle in use: 0 Number of TDP for Oracle in try buy mode: 0 Number of TDP for MS SQL Server in use: 0 Number of TDP for MS SQL Server in try buy mode: 0 Number of TDP for MS Exchange in use: 0 Number of TDP for MS Exchange in try buy mode: 0 Number of TDP for Lotus Notes in use: 0 Number of TDP for Lotus Notes in try buy mode: 0 Number of TDP for Lotus Domino in use: 0 Number of TDP for Lotus Domino in try buy mode: 0 Number of TDP for Informix in use: 0 Number of TDP for Informix in try buy mode: 0 Number of TDP for SAP R/3 in use: 0 Number of TDP for SAP R/3 in try buy mode: 0 Number of TDP for ESS in use: 0 Number of TDP for ESS in try buy mode: 0 Number of TDP for ESS R/3 in use: 0 Number of TDP for ESS R/3 in try buy mode: 0 Number of TDP for EMC Symmetrix in use: 0
Number of TDP for EMC Symmetrix in try buy mode: 0 more... ( Number of TDP for EMC Symmetrix R/3 in use: 0 Number of TDP for EMC Symmetrix R/3 in try buy mode: 0 Number of TDP for WAS in use: 0 Number of TDP for WAS in try buy mode: 0 Is IBM System Storage Archive Manager in use ?: No Is IBM System Storage Archive Manager licensed ?: Yes Is Tivoli Storage Manager Basic Edition in use: Yes Is Tivoli Storage Manager Basic Edition licensed: Yes Is Tivoli Storage Manager Extended Edition in use: No Is Tivoli Storage Manager Extended Edition licensed: Yes Server License Compliance: Valid 另外开启一个命令行窗口,root用户下: [root@localhost ~]# cd /opt/tivoli/tsm/devices/bin/ [root@localhost ~]# ./autoconf [root@localhost ~]# cd /dev/tsmscsi [root@localhost tsmscsi]# ls lb0 lbinfo mt0 mt1 mtinfo --------------此处查看到lb0是带库,mt0是驱动器0,mt1是驱动器1 在rc.local里执行/opt/tivoli/tsm/devices/bin/autoconf -a 就是让tsm获取到这些信息 tsm: LOCALHOST>def libr tl1000 libt=scsi ANR8400I Library TL1000 defined. ---------------定义一个带库tl1000 tsm: LOCALHOST>def path LOCSALHOST tl1000 srct=server destt=library device=/dev/tsmscsi/lb0 ANR1720I A path from LOCALHOST to TL1000 has been defined. ----------给tl1000定义路径 tsm: LOCALHOST>def drive tl1000 dr0 ANR8404I Drive DR0 defined in library TL1000. ----------定义一个驱动器dr0 tsm: LOCALHOST>def path LOCALHOST dr0 srct=server destt=drive library=tl1000 device=/dev/tsmscsi/mt0 ANR1720I A path from LOCALHOST to TL1000 DR0 has been defined. -------给dr0定义路径 tsm: LOCALHOST>def drive tl1000 dr1 ANR8404I Drive DR0 defined in library TL1000. ----------定义一个驱动器dr1 tsm: LOCALHOST>def path LOCALHOST dr1 srct=server destt=drive library=tl1000 device=/dev/tsmscsi/mt1 tsm: LOCALHOST>q path --------查看路径 Source Name Source Type Destination Destination On-Line Name Type ----------- ----------- ----------- ----------- ------- LOCALHOST SERVER TL1000 LIBRARY Yes LOCALHOST SERVER DR0 DRIVE Yes LOCALHOST SERVER DR1 DRIVE Yes tsm: LOCALHOST>checkin libv tl1000 search=yes status=scratch 需要等待几分子在,q pro 查看进程是否已经执行完,确认没有进程后 tsm: LOCALHOST>q libv --------已经检测到有磁带 Library Name Volume Name Status Owner Last Use Home Device Element Type ------------ ----------- ---------------- ---------- --------- ------- ------ TL1000 BTT322L5 Private Data 1,003 TL1000 BTT323L5 Private 1,001 tsm: LOCALHOST>def devc tl1000class library=tl1000 devt=lto ------定义一个设备类 tsm: LOCALHOST>q devc Device Device Storage Device Format Est/Max Mount Class Access Pool Type Capacity Limit Name Strategy Count (MB) --------- ---------- ------- --------- ------ -------- ------ DISK Random 3 TL1000CL- Sequential 0 LTO DRIVE DRIVES ASS tsm: LOCALHOST>def stg tl1000pool tl1000class maxscr=2 -------定义存储池 ANR2200I Storage pool TL1000POOL defined (device class TL1000CLASS). tsm: LOCALHOST>q stg ------查看存储池 Storage Device Estimated Pct Pct High Low Next Stora- Pool Name Class Name Capacity Util Migr Mig Mig ge Pool Pct Pct ----------- ---------- ---------- ----- ----- ---- --- ----------- ARCHIVEPOOL DISK 0.0 M 0.0 0.0 90 70 BACKUPPOOL DISK 0.0 M 0.0 0.0 90 70 SPACEMGPOOL DISK 0.0 M 0.0 0.0 90 70 TL1000POOL TL1000CLA- 0.0 M 0.0 0.0 90 70 SS tsm: LOCALHOST>def vol tl1000pool btt323l5 -----将磁带添加到tl1000pool中 tsm: LOCALHOST>copy domain standard tape ----定义一个名为tape的域,具有standard域的属性 tsm: LOCALHOST>update co tape standard standard dest=tl1000pool type=backup --------------更新tape域,加入tl1000pool到此域, 属性为备份,如果作归档则为tpye=archive tsm: LOCALHOST>act po tape standard Do you wish to proceed? (Yes (Y)/No (N)) y ANR1514I Policy set STANDARD activated in policy domain TAPE. tsm: LOCALHOST>q domain -------查看策略域 Policy Activated Activated Number of Description Domain Policy Default Registered Name Set Mgmt Nodes Class --------- --------- --------- ---------- ------------------------ STANDARD STANDARD STANDARD 0 Installed default policy domain. TAPE STANDARD STANDARD 0 Installed default policy domain. >register node node1 123456 >upd node node1 domain=tape 第九步:在root下运行dsmj 弹出客户端界面,执行备份 选择需要备份的文件后,执行备份 没有failed,备份成功。 第十步:进行归档 tsm: LOCALHOST>upd co tape standard standard dest=tl1000pool t=a Session established with server LOCALHOST: Linux/x86_ Server Version 7, Release 1, Level 0.0 Server date/time: 03/05/2014 22:10:10 Last access: 03/05/2014 20:50:44 ANR1537I Archive copy group STANDARD updated in policy domain TAPE, set STANDARD, management class STANDARD. tsm: LOCALHOST>act po tape standard Do you wish to proceed? (Yes (Y)/No (N)) y ANR1514I Policy set STANDARD activated in policy domain TAPE. 在root下运行dsmj 弹出客户端界面,执行归档 归档成功。 以上是命令行的配置,没有使用AC, AC的配置在培训中,IBM的王磊老师已经演示过了。
因篇幅问题不能全部显示,请点此查看更多更全内容
Copyright © 2019- 91gzw.com 版权所有 湘ICP备2023023988号-2
违法及侵权请联系:TEL:199 18 7713 E-MAIL:2724546146@qq.com
本站由北京市万商天勤律师事务所王兴未律师提供法律服务