linux进程tsm是什么,Linux 下安装和配置TSM 7.1

一、环境说明和配置

1)环境说明

操作系统:RHEL 6.4 b4bit

备份软件:TSMServer7.1.3 for Linux x86_64.iso

客户端软件:TSMCLI_LNX V7.1.3.iso

2)本文档作为TSM Server部署使用

3)环境配置

#yum install libaio.so.1

#/etc/sysconfig/selinux

selinux=disable

4)建立数据库目录及日志目录

#mkdir /home/tsminst1/tsminst1

#mkdir /tsmdb001

#mkdir /tsmdb002

#mkdir /tsmdb003

#mkdir /tsmdb004

#mkdir /tsmarchlog

#mkdir /tsmlog

#mkdir /tsmlogmirror

#mkdir /tsmarchlogfailover

#chmod 777 /tsm*

5)创建tsminst1用户和组

#groupadd tsmsrvrs

#adduser -d /home/tsminst1 -m -g tsmsrvrs -s /bin/bash tsminst1

#passwd tsminst1:password: tsminst1

#mkdir /tsminst1

#chmod 777 /tsminst1

二、安装TSM Server

l挂载TSMServer7.1.3 for Linux x86_64.iso文件,执行安装

# ./install.sh -g -vmargs "-DBYPASS_TSM_REQ_CHECKS=true"

b01470998ca69f1da882cbbedaa70dd6.png

a980d66b67f7991b96a8f946578083e5.png26e0bc8194bdddacb2caaeed9da71c5c.png

85826544423662ac03e464d86e22224e.pngba04f3a1d6bc652450c7a08583f87ab8.pngdb5d0f762d34b20d086dafa7651613e8.pngd2a85d817ffa710dbcf94d17b199acc7.png99dd37672335d50e92926f8f72a357ae.png

f7361714538fbc63414cf34e7e0ee137.png

三、配置TSM Server,

#cd /opt/tivoli/tsm/server/bin/

#./dsmicfgx

管理员名称tsminst1密码tsminst1

6389752313faaf49f44803256878c8ad.png

a3f956c9c67323545a7f4bf7d290c5c2.png

8b4855971ddd10ca6b3a41dedbc7d19e.png

f7a69b29aeb663b4312a6692d5caa046.png

ddfa35e39d08e33f1665a9427b6f6cc0.png

密码IPStor101

023083ade3dd605ca48ca60f14e6c5b0.png

fa1e86f8c5799970bcd6446db0d18359.png

0d068f85bd592a7120e8a9fdaeb981ec.png

2e47aa9f770347dd5cf9ec14edcd5a79.png

l启动TSM SERVER://重启自动生效

#/opt/tivoli/tsm/server/bin/rc.dsmserv -u tsminst1 -i /tsminst1

/tsminst1目录下有dsmserv.dbid文件

第五步:安装client端(必须)

将client的软件包拷贝到/tsmclient下面

#cd ~/tsmclient

#tar -zxvf T***.tar.gz

#cd TSMCLI_LNX/tsmcli/linux86

#rpm -Uvh TIVsm-API64.x86_64.rpm

#rpm -Uvh TIVsm-BA.x86_64.rpm

#rpm -Uvh TIVSM-msg.ZH_CN.x86_64

#rpm -Uvh TIVsm_msg.xxx.x86_64

第七步,配置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

SErvernameLOCALHOST

COMMMethodTCPip

TCPPort1500

TCPServeraddress*.*.*.*---当前server的IP

nodenamenode1

passwordaccessgenerate

#vi /etc/rc.local

sleep 5

/opt/tivoli/tsm/devices/bin/autoconf -a

第八步:登陆Server并陪置

[root@localhost bin]# dsmadmc

如果报:

dsmadmc: error while loading shared libraries: libgpfs.so: cannot open shared object file: Error 40

分析:查找关联包

399719f5561248ec2367aed17c5799d4.png

解决:

# ln -s /opt/tivoli/tsm/client/api/bin64/libgpfs.so /lib64

# ln -s /opt/tivoli/tsm/client/api/bin64/libdmapi.so /lib64

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_64

Server Version 7, Release 1, Level 0.0

Server date/time: 03/05/2014 13:46:33Last 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...( to continue, 'C' to cancel)

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 /dev/tsmscsi

[root@localhost tsmscsi]# ls

lb0lbinfomt0mt1mtinfo

--------------此处查看到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 LOCALHOST 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.----------定义一个驱动器dr0

tsm: LOCALHOST>def path LOCALHOST dr1 srct=server destt=drive library=tl1000 device=/dev/tsmscsi/mt1

tsm: LOCALHOST>q path--------查看路径

Source NameSource TypeDestinationDestinationOn-Line

NameType

---------------------------------------------------

LOCALHOSTSERVERTL1000LIBRARYYes

LOCALHOSTSERVERDR0DRIVEYes

LOCALHOSTSERVERDR1DRIVEYes

tsm: LOCALHOST>checkin libv tl1000 search=yes status=scratch

需要等待几分子在,q pro查看进程是否已经执行完,确认没有进程后

tsm: LOCALHOST>q libv--------已经检测到有磁带

Library NameVolume NameStatusOwnerLast UseHomeDevice

ElementType

-----------------------------------------------------------------------

TL1000BTT322L5PrivateData1,003

TL1000BTT323L5Private1,001

tsm: LOCALHOST>def vol tl1000 btt322l5

tsm: LOCALHOST>def vol tl1000 btt323l5-----将磁带添加到tl1000中

tsm: LOCALHOST>def devc tl1000class library=tl1000 devt=lto------定义一个设备类

tsm: LOCALHOST>q devc

DeviceDeviceStorageDeviceFormatEst/MaxMount

ClassAccessPoolTypeCapacityLimit

NameStrategyCount(MB)

-------------------------------------------------------

DISKRandom3

TL1000CL-Sequential0LTODRIVEDRIVES

ASS

tsm: LOCALHOST>def stg tl1000pool tl1000class maxscr=2-------定义存储池

ANR2200I Storage pool TL1000POOL defined (device class TL1000CLASS).

tsm: LOCALHOST>q stg------查看存储池

StorageDeviceEstimatedPctPctHighLowNext Stora-

Pool NameClass NameCapacityUtilMigrMigMig ge Pool

PctPct

-----------------------------------------------------------

ARCHIVEPOOLDISK0.0 M0.00.09070

BACKUPPOOLDISK0.0 M0.00.09070

SPACEMGPOOLDISK0.0 M0.00.09070

TL1000POOLTL1000CLA-0.0 M0.00.09070

SS

tsm: LOCALHOST>copy domain standard tape----定义一个名为tape的域,具有standard域的属性

tsm: LOCALHOST>update co tape standard standard destt=tl1000pool type=backup

--------------更新tape域,加入tl1000pool到此域,属性为备份,如果作归档则为tpye=archive

tsm: LOCALHOST>act po tape standard

tsm: LOCALHOST>q domain-------查看策略域

PolicyActivatedActivatedNumber ofDescription

DomainPolicyDefaultRegistered

NameSetMgmtNodes

Class

-------------------------------------------------------------

STANDARDSTANDARDSTANDARD0Installed default policy

domain.

TAPESTANDARDSTANDARD0Installed default policy

domain.

第九步:在root下运行dsmj

弹出客户端界面,执行备份

b240d808be6957ad199e352e30a1f29a.png

选择需要备份的文件后,执行备份

2e77918ae1c4652ac4d871983d19cf61.png

d94990641fde28bd84ad7b1e2be2392a.png

没有failed,备份成功。

第十步:进行归档

tsm: LOCALHOST>upd co tape standard standard dest=tl1000pool t=a

Session established with server LOCALHOST: Linux/x86_64

Server Version 7, Release 1, Level 0.0

Server date/time: 03/05/2014 22:10:10Last 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

弹出客户端界面,执行归档

825f951cc0eb0357f7319183f39223b6.png

2f3f59e98232a5540f625ef3c8869c7e.png

归档成功。

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值
>