TSM之——CLIENT安裝配置

wtjiang2008發表於2008-07-04

AIX:5300-05

TSM:5.3

安裝帶庫驅動
1.client
smitty installp
tivoli.tsm.client.ba下的前四項
選擇LICENSE
2.AGENT
smitty installp
選擇第一項和第三項
不要LICENSE
3.TDP
smitty installp
****.api.aix51.****
****.oracle.aix65.****
****.oracle tools.aix51.****
選擇LICENSE

配置檔案
client/ba/bin/dsm.opt
client/ba/bin/dsm.sys
兩個檔案中servername必須相同。dsm.opt可以有多個。dsm.sys裡可以配置多個servername
client/api/bin64/dsm.opt
client/api/bin64/dsm.sys
client/oracle/bin64/dsm.opt
client/oracle/bin64/tdpo.opt
api和oracle下的servername必須相同。


define stgpool test_pool ltoclass1 maxsize=nolimit maxscratch=100
define domain test_domain
define policyset test_domain test_policy
define mgmtclass test_domain test_policy ltoclass1 spacemgtechnique=none automignonuse=0 migrequiresbkup=yes
define copygroup test_domain test_policy ltoclass1 type=backup destination=test_pool frequency=0 verexists=nolimit retextra=0 retonly=0 mode=absolute serialization=static
define copygroup test_domain test_policy ltoclass1 type=archive destination=test_pool
assign defmgmtclass test_domain test_policy ltoclass1
validate policyset test_domain test_policy
activate policyset test_domain test_policy

define server test_sta serverpassword=admin hladdress=192.168.1.51 lladdress=1500 commmethod=tcpip

define path test_sta MT0.1.0.4 srctype=server desttype=drive library=LB1.4.0.4 device=/dev/rmt1 nline=yes
define path test_sta MT0.2.0.4 srctype=server desttype=drive library=LB1.4.0.4 device=/dev/rmt2 nline=yes
define path test_sta MT0.3.0.4 srctype=server desttype=drive library=LB1.4.0.4 device=/dev/rmt3 nline=yes
define path test_sta MT1.1.0.4 srctype=server desttype=drive library=LB1.4.0.4 device=/dev/rmt4 nline=yes
define path test_sta MT1.2.0.4 srctype=server desttype=drive library=LB1.4.0.4 device=/dev/rmt5 nline=yes
define path test_sta MT1.3.0.4 srctype=server desttype=drive library=LB1.4.0.4 device=/dev/rmt6 nline=yes
define path test_sta MT2.1.0.4 srctype=server desttype=drive library=LB1.4.0.4 device=/dev/rmt7 nline=yes
define path test_sta MT2.2.0.4 srctype=server desttype=drive library=LB1.4.0.4 device=/dev/rmt8 nline=yes
define path test_sta MT2.3.0.4 srctype=server desttype=drive library=LB1.4.0.4 device=/dev/rmt9 nline=yes
define path test_sta MT3.1.0.4 srctype=server desttype=drive library=LB1.4.0.4 device=/dev/rmt10 nline=yes
define path test_sta MT3.2.0.4 srctype=server desttype=drive library=LB1.4.0.4 device=/dev/rmt11 nline=yes
define path test_sta MT3.3.0.4 srctype=server desttype=drive library=LB1.4.0.4 device=/dev/rmt12 nline=yes

REG NODE test_node 123456 maxnummp=2 passexp=0  domain=test_domain backdel=yes
REG NODE test_tdpo 123456 maxnummp=2 passexp=0  domain=test_domain backdel=yes
cd  /usr/tivoli/tsm/S*/bin
./dsmsta setstorageserver myname=test_sta  mypassword=admin myhladdress=192.168.1.51 servername=TSM_SERVER serverpassword=admin hladdress=192.168.1.208 lladdress=1500


ANR7800I DSMSERV generated at 05:25:44 on Sep 27 2005.

Tivoli Storage Manager for AIX-RS/6000
Version 5, Release 3, Level 2.0

Licensed Materials - Property of IBM

(C) Copyright IBM Corporation 1990, 2004.
All rights reserved.
U.S. Government Users Restricted Rights - Use, duplication or disclosure
restricted by GSA ADP Schedule Contract with IBM Corporation.

ANR0900I Processing options file dsmsta.opt.
ANR4726I The ICC support module has been loaded.
ANR1432I Updating device configuration information to defined files.
ANR1433I Device configuration information successfully written to devconfig.tx
t.
ANR2119I The SERVERNAME option has been changed in the options file.
ANR0467I The SETSTORAGESERVER command completed successfully.#

 

chmod -R 777  /usr/tivoli/tsm/client/api/bin64
chmod -R 777  /usr/tivoli/tsm/client/oracle/bin64

cd /usr/tivoli/tsm/client/oracle/bin64
./tdpoconf password
./tdpoconf password -TDPO_OPTfile=/usr/tivoli/tsm/client/oracle/bin64/tdpo_test_2.opt(多例項)

IBM Tivoli Storage Manager for Databases:
Data Protection for Oracle
Version 5, Release 2, Level 0.0
(C) Copyright IBM Corporation 1997, 2003. All rights reserved.


***************************************************************
*       IBM Tivoli Storage Manager for Databases Utility             *
*  Password file initialization/update program                *
*     ROOT privilege needed to update value                   *
***************************************************************

Please enter current password:

Please enter new password:

Please reenter new password for verification:

 

配置客戶端,並進行備份測試
# cd /usr/tivoli/tsm/StorageAgent/bin
# ./dsmsta
啟動程式
開啟另一個視窗,測試

# cd /tmp
# dsmc backup /etc/hosts
# dsmc backup /etc/hosts -optfile=/usr/tivoli/tsm/client/ba/bin/dsm2.opt(多例項)
IBM Tivoli Storage Manager
Command Line Backup/Archive Client Interface
  Client Version 5, Release 3, Level 2.0
  Client date/time: 07/01/08   01:31:25
(c) Copyright by IBM Corporation and other(s) 1990, 2005. All Rights Reserved.

Node Name: test_CLI
Please enter your user id :

Please enter password for user id "test_CLI":

Session established with server TSM_ZONGJU: Windows
  Server Version 5, Release 3, Level 2.0
  Server date/time: 07/01/08   14:39:44  Last access: 07/01/08   14:39:39

Selective Backup function invoked.

Directory--&gt              12,288 /etc [Sent]     
Normal File--&gt             1,999 /etc/hosts [Sent]     
ANS1114I Waiting for mount of offline media.
Retry # 1  Directory--&gt              12,288 /etc [Sent]     
Retry # 1  Normal File--&gt             1,999 /etc/hosts [Sent]     
Selective Backup processing of '/etc/hosts' finished without failure.

                                 
Total number of objects inspected:        2
Total number of objects backed up:        2
Total number of objects updated:          0
Total number of objects rebound:          0
Total number of objects deleted:          0
Total number of objects expired:          0
Total number of objects failed:           0
Total number of bytes transferred:     2.60 KB
LanFree data bytes:                    2.60 KB
Data transfer time:                    4.53 sec
Network data transfer rate:            0.57 KB/sec
Aggregate data transfer rate:          0.04 KB/sec
Objects compressed by:                   34%
Elapsed processing time:           00:00:55

表明完成!!!!

# su - oracle
$ ln -s /usr/lib/libobk64.a $ORACLE_HOME/lib/libobk.a
$ cd $ORACLE_HOME/bin
$ sbttest test
The sbt function pointers are loaded from libobk.a(shr.o) library.
-- sbtinit succeeded
Return code -1 from sbtinit, bsercoer = 0, bsercerrno = 0
Message 0 not found;  product=RDBMS; facility=SBT


sbtinit succeeded 表明成功!!!

來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/527318/viewspace-371988/,如需轉載,請註明出處,否則將追究法律責任。

相關文章