RedHat 5.5 上安装TSM软件及oracle客户端
挂在本地ISO文件
[root@SXDS18 linux86]# mount -o loop /root/software/linuxclient.iso /media/iso [root@SXDS18 linux86]# mount -o loop /root/software/Tdpolinux.iso /media/tdpo
|
先安装linux客户端,进入iso目录
进入/media/iso/tsmcli/linux86目录
先安装TIVsm-API.i386.rpm
[root@SXDS18 linux86]# rpm -Uvh TIVsm-API.i386.rpm Preparing… ########################################### [100%] 1:TIVsm-API ########################################### [100%]
|
再安装TIVsm-API64.i386.rpm
[root@SXDS18 linux86]# rpm -Uvh TIVsm-API64.i386.rpm Preparing… ########################################### [100%] 1:TIVsm-API64 ########################################### [100%]
|
再安装TIVsm-BA.i386.rpm
[root@SXDS18 linux86]# rpm -Uvh TIVsm-BA.i386.rpm Preparing… ########################################### [100%] 1:TIVsm-BA ########################################### [100%]
|
进入/media/iso/tsmcli/linuxIA64 目录
安装TIVsm-BA.ia64.rpm
[root@SXDS18 linuxIA64]# rpm -Uvh TIVsm-BA.ia64.rpm Preparing… ########################################### [100%]
|
安装TDPO
进入/media/tdpo/oracle/linux86_64 目录
执行 ./5.4.1.0-TIV-TSMORA-LinuxX64.bin-console
如果 错,一般为JAVASDK版本,问题,安装IBMJava2-amd64-142能解决问题
exportPATH=/opt/IBMJava2-amd64-142/bin:$PATH
[root@SXDS18 linux86_64]# ./5.4.1.0-TIV-TSMORA-LinuxX64.bin -console
Initializing Wizard…….. Launching InstallShield Wizard……..
——————————————————————————- 请选择此向导使用的语言(S)。
[ ] 1 – 巴西葡萄牙语 [ ] 2 – 简体中文 [ ] 3 – 繁体中文 [X] 4 – 英语 [ ] 5 – 法语 [ ] 6 – 意大利语 [ ] 7 – 日语 [ ] 8 – 西班牙语 [ ] 9 – 韩国语 [ ] 10 – 德语
要选择一个选项,请输入它的编 或在完成时输入 0: [0] 2
[ ] 1 – 巴西葡萄牙语 [X] 2 – 简体中文 [ ] 3 – 繁体中文 [ ] 4 – 英语 [ ] 5 – 法语 [ ] 6 – 意大利语 [ ] 7 – 日语 [ ] 8 – 西班牙语 [ ] 9 – 韩国语 [ ] 10 – 德语
要选择一个选项,请输入它的编 或在完成时输入 0: [0]
——————————————————————————- Data Protection for Oracle – InstallShield 向导
欢迎使用 Data Protection for Oracle 的 InstallShield 向导
InstallShield 向导将在计算机上安装 Data Protection for Oracle。 要继续,请选择“下一步”。
Data Protection for Oracle IBM Tivoli Storage Manager http://www.ibm.com
按 1 到下一步, 3 取消 或者 5 重新显示 [1] 国际软件许可协议
第 一部分 ― 通用条款
一 旦下载、安装、复制、访问或使用软件,即表明您同意本协议的条款。如果您代表他人、公司或其他法律实体接受此类条款,则您须声明并保证您拥 有完全的授权以使该人员、公司或法律实体受此类条款的约束。如果您不同意此类条款,
– 则请勿下载、安装、复制、访问或使用软件;并且
– 及时将软件和权利证明退还至软件和权利证明的提供方,以便获得您所支付金额的退款。如果您下载了软件,请与软件提供方联系。
“IBM”指 International Business Machines Corporation 或其任一子公司。
“许可信息”(“LI”)指提供专用于软件的信息的文档。http://www.ibm.com/software/sla/ 上提供软件
按 Enter 键继续查看本许可协议,或者按 “1” 接受本协议,按 “2” 拒绝本协议或按 “99” 回到上一屏幕, “3” 打印, “5” English.
1
——————————————————————————- Data Protection for Oracle – InstallShield 向导
Data Protection for Oracle 将安装在以下位置:
/opt/tivoli/tsm/client/oracle
以下功能部件:
Oracle Base
总大小:
11 MB
按 1 到下一步, 2 到上一步, 3 取消 或者 5 重新显示 [1]
——————————————————————————- Data Protection for Oracle – InstallShield 向导
正在安装 Data Protection for Oracle。请稍候…
|———–|———–|———–|————| 0% 25% 50% 75% 100% ||||||||||||| ——————————————————————————- Data Protection for Oracle – InstallShield 向导
InstallShield 向导已成功安装 Data Protection for Oracle。 选择“完成”退出向导。
按 3 完成 或者 5 重新显示 [3]
[root@SXDS18 linux86_64]#
|
安装语言包
[root@SXDS18 linux86_64]# ./5.4.1.0-TIV-TSMORA_zh_CN-LinuxX64.bin -console
Initializing Wizard…….. Launching InstallShield Wizard……..
——————————————————————————- 请选择此向导使用的语言(S)。
[ ] 1 – 巴西葡萄牙语 [ ] 2 – 简体中文 [ ] 3 – 繁体中文 [X] 4 – 英语 [ ] 5 – 法语 [ ] 6 – 意大利语 [ ] 7 – 日语 [ ] 8 – 西班牙语 [ ] 9 – 韩国语 [ ] 10 – 德语
要选择一个选项,请输入它的编 或在完成时输入 0: [0] 2
[ ] 1 – 巴西葡萄牙语 [X] 2 – 简体中文 [ ] 3 – 繁体中文 [ ] 4 – 英语 [ ] 5 – 法语 [ ] 6 – 意大利语 [ ] 7 – 日语 [ ] 8 – 西班牙语 [ ] 9 – 韩国语 [ ] 10 – 德语
要选择一个选项,请输入它的编 或在完成时输入 0: [0]
TDP-Oracle-5.4.1-0
——————————————————————————- Data Protection for Oracle – zh_cn – InstallShield 向导
欢迎使用 Data Protection for Oracle – zh_cn 的 InstallShield 向导
InstallShield 向导将在计算机上安装 Data Protection for Oracle – zh_cn。 要继续,请选择“下一步”。
Data Protection for Oracle – zh_cn IBM Tivoli Storage Manager http://www.ibm.com
按 1 到下一步, 3 取消 或者 5 重新显示 [1]
——————————————————————————- Data Protection for Oracle – zh_cn – InstallShield 向导
Data Protection for Oracle – zh_cn 将安装在以下位置:
/opt/tivoli/tsm/client/oracle
以下功能部件:
Simplified Chinese
总大小:
5 MB
按 1 到下一步, 2 到上一步, 3 取消 或者 5 重新显示 [1]
——————————————————————————- Data Protection for Oracle – zh_cn – InstallShield 向导
正在安装 RPM 软件包
|———–|———–|———–|————| 0% 25% 50% 75% 100% ||||||||||| ——————————————————————————- Data Protection for Oracle – zh_cn – InstallShield 向导
InstallShield 向导已成功安装 Data Protection for Oracle – zh_cn。 选择“完成”退出向导。
按 3 完成 或者 5 重新显示 [3]
|
配置TDPO
进入/opt/tivoli/tsm/client/oracle/bin64 目录
拷贝tdpo.opt.smp一份文件
[root@SXDS18 bin64]# cp tdpo.opt.smp tdpo.opt
|
[root@SXDS18 bin64]# cat tdpo.opt ********************************************************************* * IBM Tivoli Storage Manager for Databases * Data Protection for Oracle * * Sample tdpo.opt for the LinuxAMD64 Data Protection for Oracle *********************************************************************
DSMI_ORC_CONFIG /opt/tivoli/tsm/client/oracle/bin64/dsm.opt DSMI_LOG /opt/tivoli/tsm/client/oracle/bin64
TDPO_FS adsmorc TDPO_NODE SXDS18 TDPO_OWNER oracle TDPO_PSWDPATH /opt/tivoli/tsm/client/oracle/bin64
*TDPO_DATE_FMT 1 *TDPO_NUM_FMT 1 *TDPO_TIME_FMT 1
*TDPO_MGMT_CLASS_2 mgmtclass2 *TDPO_MGMT_CLASS_3 mgmtclass3 *TDPO_MGMT_CLASS_4 mgmtclass4
[root@SXDS18 bin64]# hostname SXDS18 [root@SXDS18 bin64]# pwd /opt/tivoli/tsm/client/oracle/bin64 [root@SXDS18 bin64]#
|
拷贝dsm.opt.smp一份文件
[root@SXDS18 bin64]# cp /opt/tivoli/tsm/client/api/bin64/dsm.opt.smp ./dsm.opt |
[root@SXDS18 bin64]# cat dsm.opt ************************************************************************ * IBM Tivoli Storage Manager * * * * Sample Client User Options file for UNIX (dsm.opt.smp) * ************************************************************************
* This file contains an option you can use to specify the TSM * server to contact if more than one is defined in your client * system options file (dsm.sys). Copy dsm.opt.smp to dsm.opt. * If you enter a server name for the option below, remove the * leading asterisk (*).
************************************************************************
* SErvername A server name defined in the dsm.sys file servername tsmbackup [root@SXDS18 bin64]# |
将修改后的文件分发到其他目录
[root@SXDS18 bin64]# cp /opt/tivoli/tsm/client/oracle/bin64/dsm.opt /opt/tivoli/tsm/client/ba/bin/.
[root@SXDS18 bin64]# cp /opt/tivoli/tsm/client/oracle/bin64/dsm.opt /opt/tivoli/tsm/client/api/bin64/dsm.opt |
配置dsm.sys文件
拷贝模板文件
cp /opt/tivoli/tsm/client/ba/bin/dsm.sys.smp /opt/tivoli/tsm/client/ba/bin/dsm.sys |
[root@SXDS18 bin64]# vi dsm.sys
************************************************************************ * IBM Tivoli Storage Manager * * * * Sample Client System Options file for UNIX (dsm.sys.smp) * ************************************************************************
* This file contains the minimum options required to get started * using TSM. Copy dsm.sys.smp to dsm.sys. In the dsm.sys file, * enter the appropriate values for each option listed below and * remove the leading asterisk (*) for each one.
* If your client node communicates with multiple TSM servers, be * sure to add a stanza, beginning with the SERVERNAME option, for * each additional server.
************************************************************************
SErvername tsmbackup COMMMethod TCPip TCPPort 1500 TCPServeraddress 156.16.33.100 nodename SXDS18 passwordaccess prompt MANAGEDServices Schedule Webclient ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ “dsm.sys” 24L, 1064C written [root@SXDS18 bin64]# |
分发dsm.sys文件
[root@SXDS18 bin64]# cp dsm.sys /opt/tivoli/tsm/client/api/bin64/dsm.sys |
登陆控制台添加节点
http://156.16.33.100:8421/ibm/console
选择 Linux 或 ORACLE 策略域 添加节点
执行密码验证
[root@SXDS18 bin64]# tdpoconf password
IBM Tivoli Storage Manager for Databases: Data Protection for Oracle 版本 5,发行版 4,级别 1.0 (C) Copyright IBM Corporation 1997, 2007. All rights reserved.
*************************************************************** * IBM Tivoli Storage Manager for Databases 蜡瓶府萍 * 鞠龋 颇老 檬扁拳/盎脚 橇肺弊伐 ***************************************************************
请输入当前的密码:
请输入新的密码:
请重新输入新密码以验证:
lANU0260I 密码更改成功。
[root@SXDS18 bin64]# |
如果更改成功会生成TDPO.HOSTNAME 的密码文件
在主机上登陆客户端来验证密码
[root@SXDS18 bin]# dsmc ANS0102W Unable to open the message repository /opt/tivoli/tsm/client/ba/bin/zh_CN/dsmclientV3.cat. The American English repository will be used instead. IBM Tivoli Storage Manager Command Line Backup/Archive Client Interface Client Version 5, Release 5, Level 0.0 Client date/time: 01/11/2012 10:36:58 (c) Copyright by IBM Corporation and other(s) 1990, 2007. All Rights Reserved.
Node Name: SXDS18 Please enter your user id
Please enter password for user id “SXDS18”:
Session established with server TSMSERVER-HQ: Linux/x86_64 Server Version 5, Release 4, Level 2.0 Server date/time: 01/11/2012 10:20:57 Last access: 01/11/2012 10:20:57
tsm> tsm> tsm> q sched There are no schedules associated with this node. tsm> quit [root@SXDS18 bin]# |
文章知识点与官方知识档案匹配,可进一步学习相关知识CS入门技能树Linux入门在线安装软件24701 人正在系统学习中
声明:本站部分文章及图片源自用户投稿,如本站任何资料有侵权请您尽早请联系jinwei@zod.com.cn进行处理,非常感谢!