Вы находитесь на странице: 1из 2

1.

Create folder with the server name in /usr/tivoli/tsm/client/oracle ( AIX), /


opt/tivoli/tsm/client/oracle ( For linux,solaris and HPUX)
# cd /usr/tivoli/tsm/client/oracle
# mkdir aix428_ORA
# chown -R oracle:dba aix428_ORA
2. Create option files (TDPO.OPT, DSM.OPT)
# cd /usr/tivoli/tsm/client/oracle/aix428_ORA
# Create a tdpo.opt file as below
bash-4.2$ cat /usr/tivoli/tsm/client/oracle/aix428_ORA/tdpo.opt
* ===================================================================
* IBM Tivoli Storage Manager for Databases
* Data Protection for Oracle
*
* Sample tdpo.opt for the AIX or Solaris Data Protection for Oracle 64bit
***************************************************************************
* AIX Options
*
DSMI_ORC_CONFIG
/usr/tivoli/tsm/client/oracle/aix428_ORA/dsm.opt
DSMI_LOG
/usr/tivoli/tsm/client/oracle/bin64
TDPO_DATE_FMT
1
TDPO_NUM_FMT
1
TDPO_TIME_FMT
1
TDPO_OWNER oracle
TDPO_NODE aix428_ORA_tdpora
TDPO_PSWDPATH
/usr/tivoli/tsm/client/oracle/aix428_ORA
# Create dsm.opt file as below
cat /usr/tivoli/tsm/client/oracle/aix428_ORA/dsm.opt
servername aix428_ora
DATEFormat
1
TIMEFormat
1
NUMBERFormat 1
TAPEPROMPT
No
SUBDIR
YES
4. CHnage owner of option files
#chwon oracle:dba *
5. Edit /usr/tivoli/tsm/client/ba/bin64/dsm.sys and put the entries for oracle
vi /usr/tivoli/tsm/client/ba/bin64/dsm.sys
Append the files with below entries:
SErvername
COMMmethod
TCPPort
TCPServeraddress
Nodename
TCPBUFFSIZE
TCPWINDOWSIZE
Passwordaccess
passworddir
TXNBYTELIMIT
schedmode
resourceutil

tsmservername_ora
TCPip
1500
tsm server ip address
nodename_tdpora
32
64
prompt
/opt/tivoli/tsm/client/oracle/bin64
2048
PROMPTED
4

schedlogname /opt/tivoli/tsm/client/ba/bin/oradsmsched.log
schedlogretention 10 D
errorlogname /opt/tivoli/tsm/client/ba/bin/oradsmerror.log
errorlogretention 10 D
queryschedperiod 1
commrestartinterval 30
commrestartduration 60
touch /opt/tivoli/tsm/client/ba/bin/oradsmsched.log
touch /opt/tivoli/tsm/client/ba/bin/oradsmerror.log
chown oracle:dba /opt/tivoli/tsm/client/ba/bin/oradsmsched.log
chown oracle:dba /opt/tivoli/tsm/client/ba/bin/oradsmerror.log
6. Create symbolic links for the file /usr/tivoli/tsm/client/ba/bin64/dsm.sys
cd
# ln -s /usr/tivoli/tsm/client/ba/bin/dsm.sys /usr/tivoli/tsm/client/api/bin64/d
sm.sys
####LOGIN WITH ORACLE USER######
$ ln -s /opt/tivoli/tsm/client/ba/bin/dsm.sys /opt/tivoli/tsm/client/oracle/bin6
4/dsm.sys
7. Reset
tdpoconf
tdpoconf
8. Check

password for TSM node:


password -TDPO_OPTFILE=/opt/tivoli/tsm/client/oracle/bin64/tdpo.opt
password -TDPO_OPTFILE=/usr/tivoli/tsm/client/oracle/bin64/tdpo.opt
whether TDP configuration is good:

tdpoconf showenv -TDPO_OPTFILE=/opt/tivoli/tsm/client/oracle/bin64/tdpo.opt


Command should succeed
9. create symoblic links for libraries:
ln -s /usr/tivoli/tsm/client/oracle/bin64/libobk64.a $ORACLE_HOME/lib/libobk64.a
ln -s /usr/tivoli/tsm/client/oracle/bin64/libobk64.a $ORACLE_HOME/lib/libobk.a
10. In my case I had to copy agent.lic file from other server:
bash-4.2$ pwd
/usr/tivoli/tsm/client/oracle/bin64
bash-4.2$ ls -lrt agent.lic
-rwx-----1 oracle dba
bash-4.2$

47 Aug 20 16:50 agent.lic

Вам также может понравиться