日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問 生活随笔!

生活随笔

當前位置: 首頁 > 运维知识 > linux >内容正文

linux

Linux 下安装和配置TSM 7.1

發布時間:2025/5/22 linux 194 豆豆
生活随笔 收集整理的這篇文章主要介紹了 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"

?

?

?

?

?

????

?

?

?

三、??????????? 配置TSM Server,

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

#./dsmicfgx?????

?

管理員名稱tsminst1 密碼tsminst1

?

?

?

?

?

?

密碼IPStor101

?

?

?

?

?

?

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

??? SErvername???? LOCALHOST

?? COMMMethod?? TCPip

?? TCPPort???????? 1500

?? TCPServeraddress?? *.*.*.*???? ---當前serverIP

?? nodename?????????? node1

?? passwordaccess???? generate

?

#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

?

分析:查找關聯包

?

解決:

# 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: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...?? (<ENTER> 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

lb0? lbinfo? mt0? mt1? mtinfo???????????

?

?

--------------此處查看到lb0是帶庫,mt0是驅動器0mt1是驅動器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 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 vol tl1000 btt322l5

tsm: LOCALHOST>def vol tl1000 btt323l5??? -----將磁帶添加到tl1000

?

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>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???????????????????????????? -------查看策略域

?

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.???

?

第九步:在root下運行dsmj

彈出客戶端界面,執行備份

選擇需要備份的文件后,執行備份

?

?

沒有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: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

彈出客戶端界面,執行歸檔

?

歸檔成功。

?

?

轉載于:https://blog.51cto.com/12865902/1922280

總結

以上是生活随笔為你收集整理的Linux 下安装和配置TSM 7.1的全部內容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網站內容還不錯,歡迎將生活随笔推薦給好友。