ITM6.1实施中所遇问题经验总结

ITM6.1实施中所遇问题经验总结
ITM6.1实施中所遇问题经验总结 1
一、ITM  FOR DB2 实例BIT与操作系统不一致解决办法 1
二、AIX平台DB2监控无数据,主机名有下划线 2
三、ITM与TEC集成参考 3
四、ITM6.1 for DB2启动agent时报错 4
五、aix平台配置DB2 AGENT启动后在TEPS上不可见 5
一、ITM  FOR DB2 实例BIT与操作系统不一致解决办法
Here is the workaround to support a mix 32/64 bit DB/OS environment.
If all the Database instances on this machine are 64 bit, install the 64 bit agent.
If all the Database instances on this machine are 32 bit, install the 32 bit agent and modify the ver file for the 32 bit agent so that it will run on 64 bit hardware.
If some of the Database instances on this machine are 32 bit and some are 64 bit, it get more complicated.
You will need two separate installations in separate install directories to get this to work.
Assume the install path is /opt/IBM/ITM for the first install directory and is /opt/IBM/ITM_32 for the second install directory.
Install the 64 bit agent in /opt/IBM/ITM.
Install the 32 bit agent in /opt/IBM/ITM_32 and modify the ver file for the 32 bit agent so that it will run on 64 bit hardware.
To Monitor 64 bit instances, start the agent from the /opt/IBM/ITM directory.
To Monitor 32 bit instances, start the agent from the /opt/IBM/ITM_32 directory.
How to modify the ver file for the 32 bit agent so that it will run on 64 bit hardware.  
For ITM 6.1.   This applies to AIX, HP-UX, Solaris, and zLinux only.
AIX:
Edit udaix513.ver in /registry
Find the following line starting in column 1
# Supported architectures.
After this line, add the following lines starting in column 1
runArch=aix516
runArch=aix526
runArch=aix536
Save udaxi513.ver
Solaris:
Edit udsol283.ver in /registry
Find the following line starting in column 1
# Supported architectures.
After this line, add the following lines starting in column 1
runArch=sol286
runArch=sol296
runArch=sol506
Save udsol283.ver
HP-UX:
Edit udhp11.ver in /registry
Find the following line starting in column 1
# Supported architectures.
After this line, add the following lines starting in column 1
runArch=hp116
Save udhp11.ver
zLinux:
Edit udls3243.ver in /registry
Find the following line starting in column 1
# Supported architectures.
After this line, add the following lines starting in column 1
runArch=ls3246
runArch=ls3266
Save udls3243.ver
二、AIX平台DB2监控无数据,主机名有下划线
以下是DB2 的LA0001,请下载使用。
如果还是有问题,请在etc/hosts文件中的主机名后加上一个alisa名字,它是没有下划的,
如abcdef,然后再在ud.ini文件中加上一个变量:CTIRA_HOSTNAME=abcdef,
再看看结果。
LA Interim Fixes are accessed through Authenticated FTP. By downloading this LA Interim Fix, you agree that (1) the program code, samples, updates and fixes ("Code") are subject to the terms of the license agreement which accompanied, or is contained in, the Program for which you are obtaining the Code and (2) you read and accepted those terms when you obtained the Program. You are not authorized to install or use the Code except as part of a Program for which you have a valid Proof of Entitlement.
SUBJECT TO ANY STATUTORY WARRANTIES WHICH CAN NOT BE EXCLUDED, IBM MAKES NO WARRANTIES OR CONDITIONS EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OR CONDITIONS OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, AND NON-INFRINGEMENT, REGARDING THE CODE OR TECHNICAL SUPPORT, IF ANY.
You can access the LA Interim Fix by performing an FTP to the
ftp.software.ibm.com
server.  At the end of this message is an example using a line mode FTP client to perform. a download using anonymous FTP.
The specific Fix you have requested:  6.1.0-TIV-ITM_DB2-LA0001
is located in directory:  /software/tivoli_support/patches/lafixes/6.1.0-TIV-ITM_DB2-LA0001.D5dVT3xG
Example line mode FTP session to access this Fix:
C:\> ftp
ftp.software.ibm.com
Name (
ftp.software.ibm.com:(none
)): anonymous
331 Guest login ok, send any password.
Password:
230 Guest login in. Access restrictions apply.
ftp> cd /software/tivoli_support/patches/lafixes/6.1.0-TIV-ITM_DB2-LA0001.D5dVT3xG
250 CWD command successful.
ftp> binary
200 Type set to I.
ftp> get 6.1.0-TIV-ITM_DB2-LA0001.D5dVT3xG
200 PORT command successful.
150 Opening binary mode connection for foo.txt
226 Transfer complete.
ftp> quit
三、ITM与TEC集成参考
Unix系统中:
1.将baroc文件从/Tivoli/itm6/tables/HUB_tivoli_svc/TECLIB拷入OME规则集
/Tivoli/usr/local/Tivoli/bin/aix4-r1/TME/TEC/OME/TEC_CLASSES所在目录
Windows系统中:从C:\IBM\ITM\cms\TECLIB拷贝knt.baroc到目录C:\Program Files\Tivoli\bin\w32-ix86\TME\TEC\ome\TEC_CLASSES中
2.导入baroc文件
把当前路径指向baroc文件所在目录
C:\>cd C:\Tivoli\bin\w32-ix86\TME\TEC\ome\TEC_CLASSES
bash
bash$ wrb -imprbclass knt.baroc ome或者
bash$ wrb -imprbclass knt.baroc ome 【-before kud.baroc】如果先导入DB后导入OS需要增加这个参数
Loading Classes
Parsing C:\PROGRA~1\Tivoli\bin\w32-ix86\TME\TEC\ome\TEC_CLASSES\root.baroc
Parsing C:\PROGRA~1\Tivoli\bin\w32-ix86\TME\TEC\ome\TEC_CLASSES\tec.baroc
Parsing C:\PROGRA~1\Tivoli\bin\w32-ix86\TME\TEC\ome\TEC_CLASSES\Sentry.baroc
Parsing C:\PROGRA~1\Tivoli\bin\w32-ix86\TME\TEC\ome\TEC_CLASSES\omegamon.baroc
Parsing C:\PROGRA~1\Tivoli\bin\w32-ix86\TME\TEC\ome\TEC_CLASSES\knt.baroc
Parsing C:\PROGRA~1\Tivoli\bin\w32-ix86\TME\TEC\ome\TEC_CLASSES\kud.baroc
bash$ wrb -imprbclass kud.baroc ome
Loading Classes
Parsing C:\PROGRA~1\Tivoli\bin\w32-ix86\TME\TEC\ome\TEC_CLASSES\root.baroc
Parsing C:\PROGRA~1\Tivoli\bin\w32-ix86\TME\TEC\ome\TEC_CLASSES\tec.baroc
Parsing C:\PROGRA~1\Tivoli\bin\w32-ix86\TME\TEC\ome\TEC_CLASSES\Sentry.baroc
Parsing C:\PROGRA~1\Tivoli\bin\w32-ix86\TME\TEC\ome\TEC_CLASSES\omegamon.baroc
Parsing C:\PROGRA~1\Tivoli\bin\w32-ix86\TME\TEC\ome\TEC_CLASSES\kud.baroc
3.编译baroc文件
bash$ wrb -comprules ome 编译规则集合
4.装载baroc文件
bash$ wrb -loadrb -use ome把当前的rulebase增加到ome rulebase中
5.停止tec:bash$ wstopesvr
6.启动tec:bash$ wstartesvr
正在初始化 Tivoli Enterprise Console 服务器。。。。
Tivoli Enterprise Console 服务器正在运行。
7.发测试事件
bash$ wpostemsg -r "FATAL" -m "test infor" ITM_Process LOGFILE
bash$ wpostemsg -r "FATAL" -m "test infor" ITM_NT_Server LOGFILE
8.查看日志
bash$ wtdumprl -o DESC |more
查看类名称
bash$ wrb -lsrbclass ome
9.其他参考
一般在导入之前会生成一个cache文件,位置如下:
C:\IBM\ITM\cms\TECLIB\om_tec.cache
/Tivoli/itm6/tables/HUB_tivoli_svc/TECLIB/om_tec.cache

四、ITM6.1 for DB2启动agent时报错
环境:服务器TEPS6.1 TEMS6.1 on windows2003
客户端AIX5.3.0 64BIT DB28.1.7 32BIT
客户端所装软件包:
1       ud  aix513       v06.10.00.00 Monitoring Agent for DB2
2      ui  aix513       v06.10.00.00 Tivoli Enterprise Services User Interface
3      ul  aix516       v06.10.00.00 Monitoring Agent for UNIX Logs
4       ux  aix516       v06.10.01.00 Monitoring Agent for UNIX
安装配置完os及DB的agent后启动时报错如下:
# su db2inst1
$ pwd
/opt/IBM/ITM
$cd /opt/IBM/ITM/logs
$ rm *.log
$ ../bin/itmcmd agent -o db2inst1 start ud
Starting agent...
WARNING: Cannot execute db2level
Unable to start agent. Please, check log file.
$ cat 570_6CE_AIX2_ud_db2inst1.log
exec(): 0509-036 由于下列错误,不能装入程序 /opt/IBM/ITM/aix513/ud/bin/kuddb2:
       0509-150   不能装入从属模块 libdb2.a(shr.o)。
       0509-022 不能装入模块 libdb2.a(shr.o)。
       0509-026 系统错误: 路径名中的文件或目录不存在?
五、AIX上配置DB2 AGENT启动后在TEPS上不可见
现象:一切正常。TEPS上见不到DB2节点。
原因:配置实例./itmcmd agent -o db2inst1 -A
后,还要配置./itmcmd agent -o aix513 -A
否则agent找不到TEMS

来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/11134849/viewspace-611203/,如需转载,请注明出处,否则将追究法律责任。

转载于:http://blog.itpub.net/11134849/viewspace-611203/

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值