博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

日常运维管理-IBM监控代理安装

Posted on 2023-01-28 09:56  徐正柱-  阅读(144)  评论(0编辑  收藏  举报

 

 

 

 

应用运营监控项目

 SCAPM Agent安装文档

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

目录

1 项目概述... 5

1.1 项目背景... 5

1.2 编写目的... 5

2 安装概述... 5

2.1 安装前检查... 6

2.2 相关介质存放路径... 6

3 安装配置OS Agent 6

3.1 在WINDOWS平台上安装Agent 6

3.1.1 安装前准备... 6

3.1.2 正式安装... 7

3.2 在LINUX/UNIX平台上安装Agent 14

3.2.1 安装Unix OS Agent 15

3.2.2 配置Unix OS Agent 18

3.2.3 安装Linux OS Agent 19

3.2.4 配置Linux OS Agent 22

3.2.5 安装Universal Agent 23

3.2.6 配置Universal Agent 26

3.2.7 安装Unix Logs Agent 27

3.2.8 配置UNIX Logs Agent 30

3.2.9 图形化配置和启动... 32

4 安装配置Oracle agent 35

4.1 安装Oracle Agent 35

4.2 给agent授权... 40

4.3 配置Oracle Agent 49

4.3.1 Oracle 10版本配置Oracle Agent 50

4.3.2 Oracle 10版本图形化配置... 55

4.3.3 Oracle 9版本配置Oracle Agent 63

5 安装配置IIS agent 71

6 安装配置WAS agent 79

6.1 安装WAS agent和补丁包... 79

6.2 配置WAS agent 83

7 安装配置监控Agent(WRT) 92

7.1 WINDOWS平台上安装WRT Agent 92

7.2 Linux平台上安装WRT Agent 103

8 安装后检查... 109

9 卸载agent 111

9.1 卸载WINDOWS平台上的agent 111

9.2 卸载LINUX/UNIX平台的agent 116

10 问题汇总... 118

10.1 监控平台部署问题(SCAPM)... 118

 


1 项目概述

1.1 项目背景

在过去的几年里XXX已有部分监控产品可对业务进行一定程度的监控,随着业务发展,这些监控产品已不能满足当前运维管理的需求:监控颗粒度粗,无法满足关键需求;监控产品覆盖面不足,缺少预警功能,无法提前干预;缺少统一监控平台,各监控产品信息各自为政,无法及时全面获得各业务运行情况等。

随着XXX业务需求的迅猛增加,业务服务质量要求的进一步提高,基础架构监控和应用系统监控存在的问题严重制约了IT运维质量的有效提高,迫切需要一个功能更加强大的监控系统,以保障IT基础架构及系统更加安全、连续、可靠、有效地运行。

1.2 编写目的

本文主要提供对XXX应用运营监控项目SCAPM Agent的安装文档,详细描述了Agent安装和配置过程,供需要安装Agent的工作人员参考使用。

2 安装概述

本文主要提供对XXX应用运营监控项目SCAPM Agent安装文档,详细描述了Agent的安装和配置过程,请相关安装agent人员在安装前确定,需要安装那种类型的agent,是监控操作系统的OS agent、监控应用的Application Server Agent还是监控数据库的Oracle agent。所需要安装的操作系统是windows 还是linux 和unix 平台,如果是windows 是平台,请参考在WINDOWS平台上安装agent 章节;如果是linux 和unix 平台上安装,请参考在LINUX/UNIX平台上安装agent章节。安装过程包括配置和启动。安装后到TEP上查看节点出现没有,采集数据是否正常参考第7章。最后,安装完毕后,请记得把安装的介质删除,释放空间!!

 

2.1 安装前检查

1.  检查操作系统类型。根据操作系统类型选择正确的agent 和参考正确的安装章节。

2.  检查需要安装的agent类型。根据操类型选择正确的agent 和参考正确的安装章节。

3.  查看主机名是否有和其他主机有重复。特别是localhost主机名的,请修改。

4.  查看空间是否足够。

5.  规划安装路径,默认为 /data /IBM/ITM/ (linux/unix)  E:\IBM\ITM (windows)

6.  ping itmserver.zte.intra 查看网络连通性。不通协调开通。

7.  telnet 10.30.13.102 1918查看端口连通性。不通协调开通。

2.2 相关介质存放路径

1.  介质存放在FTP 服务器10.30.1.25上

2.  对于windows操作系统上安装监控agent 请到以下路径下载介质:

/BSM项目/系统监控软件Agent/Windows/

l  microagent_for_win.zip 监控iis

l  oracleagent_10i11i_for_win.zip 监控10i和11i的oracle数据库的oracle agent

l  oracleagent_9i_for_win.zip 监控9i的oracle数据库的oracle agent

l  osagent_for_win.zip 监控windows操作系统

l  wasagent_for_win-IF0011.zip 监控was (was agent 的补丁包)

3.  对于linux 和unix操作系统上安装监控agent 请到以下路径下载介质:

/BSM项目/系统监控软件Agent/LinuxandUnix/

l  microagent_for_linux.tar 监控iis

l  oracleagent_10i11i_for_linux.tar 监控10i和11i的oracle数据库的oracle agent

l  oracleagent_9i_for_linux.tar 监控9i的oracle数据库的oracle agent

l  osagent_for_linux.tar.gz 监控linux 和unix 操作系统

l  wasagent_for_linux-IF0011.tar 监控was (was agent 的补丁包)

l  wasagent_for_linux.tar 监控was (was agent)

3 安装配置OS Agent

3.1 在WINDOWS平台上安装Agent

3.1.1 安装前准备

安装ITM windows Agent之前需要经过一些准备工作,包括:

(1)上传安装介质到适当位置。

介质存放在FTP 服务器10.30.1.25上 /BSM项目/系统监控软件Agent/Windows/osagent_for_win.zip

下载后介质存放在本机的路径请注意不要存在有中文字符的路径下,不然安装会报错。

(2)查看概述里面的注意事项。

3.1.2 正式安装

1、点击setup.exe开始安装,如下:

                       

2、出现下图,选择下一步。

 

3、出现下图,选择下一步。

 

4、出现下图,选择“我接受许可协议中的全部条款”,点击下一步。

 

5、出现下图,选择安装路径。默认为C:\IBM\ITM, 可以点击右侧的浏览按钮修改安装位置,这里不作修改,选择默认位置,点击下一步。

 

6、出现下图,输入键值,这里选择默认,不作修改,直接选择下一步即可。

 

7、出现下图对话框,点击确定。

 

8、出现下图,选择你要安装的Agent,通常第一个Tivoli Enterprise Monitoring Agent Framework系统会捆绑选上,不用管,这里选择你要安装的其他Agent即可,通常在windows 平台上需要安装Monitoring Agent for windows os 和 Universal Agent。选好之后,点击下一步。

 

9、出现下图,选择下一步。

 

10、出现下图,查看刚才安装所做的选择,直接选择下一步。

 

11、正在安装。如下图。

 

12、安装完后系统会自动开始配置,如下图,选择下一步。

 

13、输入Agent指向TEMS所在机器的主机名或者IP地址。

这里需要输入itmserver.zte.intra

 

14、点击确定完成配置,通常agent 会自动运行,查看一下窗口,确认是否在运行,如下图,如果没有可以手动启动。

 

15、ITM管理界面的打开,通过下图所示路径打开ITM管理界面。

 

16、在管理界面中选中Agent,然后点击绿灯图标为启动,点击红灯图标为关闭,关闭后的状态为 如果有小人在跑 ,即为Agent正在运行。

3.2 在LINUX/UNIX平台上安装Agent

在linux 和unix平台上安agent装都是通过命令行安装,大体过程一样,不同于windows平台的是在选择需要的Agent以及配置、启动时使用的产品标识号不一样,做相应替换即可。

产品标识号um 代表UA ;ul代表UNIX LOG agent ;ux 代表 UNIX OS agent;lz代表 linux OS agent。

3.2.1 安装Unix OS Agent

1.  安装介质存放在FTP 服务器10.30.1.25 /BSM项目/系统监控软件Agent/LinuxandUnix/osagent_for_linux.tar.gz

2.  上空间大小:查看文件系统可用空间,以保证安装空间,大约需要200MB的空间。

3.  存放和解压介质空间可能比较大(上传和压缩介质可能占用到5G空间),建议上传介质前查看一下系统看空间,避免撑爆系统空间,安装完毕的介质和介质解压可以删除释放空间。

4.  上传介质到合适的地方。

5.  解压安装包:tar  -zxvf  osagent_for_linux.tar.gz

6.  开始安装:

1)         #./install.sh

2)         选择安装路径。(默认为:[ default = /opt/IBM/ITM ])

Enter the name of the IBM Tivoli Monitoring directory

[ default = /opt/IBM/ITM ]:[回车]

确认安装路径。选1

ITM home directory "/opt/IBM/ITM" already exists.

OK to use it [ 1-yes, 2-no; "1" is default ]?

3)         选择安装位置。选1

Select one of the following:

1) Install products to the local host.

2) Install products to depot for remote deployment (requires TEMS).

3) Install TEMS support for remote seeding

4) Exit install.

Please enter a valid number:  1

................

4)         安装协议。选1

Part 1 - General Terms

BY DOWNLOADING, INSTALLING, COPYING, ACCESSING, OR USING

THE PROGRAM YOU AGREE TO THE TERMS OF THIS AGREEMENT. IF

YOU ARE ACCEPTING THESE TERMS ON BEHALF OF ANOTHER PERSON

OR A COMPANY OR OTHER LEGAL ENTITY, YOU REPRESENT AND

WARRANT THAT YOU HAVE FULL AUTHORITY TO BIND THAT PERSON,

COMPANY, OR LEGAL ENTITY TO THESE TERMS. IF YOU DO NOT

AGREE TO THESE TERMS,

- DO NOT DOWNLOAD, INSTALL, COPY, ACCESS, OR USE THE

PROGRAM; AND

Press Enter to continue viewing the license agreement, or

enter "1" to accept the agreement, "2" to decline it, "3"

to print it, "4" to read non-IBM terms, or "99" to go back

to the previous screen.

1

.....................

 

5)         重启代理是否自动初始化。回车

......................

lslpp: 0504-132  Fileset gsksa.rte not installed.

 

Enter a 32-character encryption key, or just press Enter to use the default

        Default = IBMTivoliMonitoringEncryptionKey

....+....1....+....2....+....3..

[回车]

GSkit encryption key has been set.

Key File directory: /home/bfpt/tivoli/IBM/ITM/keyfiles

 Product packages are available in /home/bfpt/tivoli/tivoli/unix

......................

6)         选择需要安装的产品,输入产品的编号。这里选Monitoring Agent for UNIX OS,因为是安装UNIX OS Agent .

 

The following products are available for installation:

 1) Monitoring Agent for UNIX Logs  V06.20.01.00

 2) Monitoring Agent for UNIX OS  V06.20.01.00

 3) Monitoring Agent for Linux OS  V06.20.01.00

 4) Tivoli Enterprise Monitoring Server  V06.20.01.00

 5) Tivoli Enterprise Portal Server  V06.20.01.00

 6) Tivoli Enterprise Services User Interface  V06.20.01.00

 7) Universal Agent  V06.20.01.00

 8) Warehouse Proxy  V06.20.01.00

 9) all of the above

 

Type the numbers for the products you want to install, or type "q" to quit selection.

If you enter more than one number, separate the numbers by a comma or a space.

Type your selections here:  2    

...................

 

7)         确认安装产品。回车

The following products will be installed:

Monitoring Agent for UNIX OS  V06.20.01.00

Are your selections correct [ 1=Yes, 2=No ; default is "1" ] ?[回车]

...................

 

8)         需要安装其他的产品包吗。选2

........................

Do you want to install additional products or product support packages [ 1=Yes, 2=No ; default is "2" ] ? [回车]

... postprocessing; please wait.

... finished postprocessing.

Installation step complete.

 

As a reminder, you should install product support on each of your TEM servers for any agents you have just installed.

This is done via the "/home/bfpt/opt/IBM/ITM/bin/itmcmd support" command on your TEM servers.

 

You may now configure any locally installed IBM Tivoli Monitoring product via the "/home/bfpt/tivoli/IBM/ITM/bin/itmcmd config" command.

9)         安装完毕,下.一步开始配置Agent。

3.2.2 配置Unix OS Agent

1.  图形化配置参考3.2.9 图形化配置和启动

2.  进入Agent 安装目录的bin目录下。输入命令

./itmcmd config –A ux

3.  是否连接到TEMS。选1,然后输入需要指向的 itmserver.zte.intra

Will this agent connect to a TEMS? [1=YES, 2=NO] (Default is: 1):1

TEMS Host Name (Default is: fjzfxt): itmserver.zte.intra

4.  接下来的个步骤都选择默认,都是回车

Network Protocol [ip, sna, ip.pipe or ip.spipe] (Default is: ip.pipe):

 

     Now choose the next protocol number from one of these:                    

     - ip

     - sna

     - ip.spipe

     - 0 for none                                                               

Network Protocol 2 (Default is: 0):

IP.PIPE Port Number (Default is: 1918):

Enter name of KDC_PARTITION (Default is: null):

 

Configure connection for a secondary TEMS? [1=YES, 2=NO] (Default is: 2):

Enter Optional Primary Network Name or 0 for "none" (Default is: 0):

Are you installing this product into a clustered environment [1=YES, 2=NO] (Default is: 2):

Agent configuration completed...

5.  启动Agent

启动命令:./itmcmd agent start ux

查看运行状态:./cinfo –r

*********** Tue Jan 15 16:16:54 CST 2013 ******************

User: oracle Groups: oinstall dba

Host name : tdwserver    Installer Lvl:06.23.01.00

CandleHome: /data/IBM/ITM

***********************************************************

Host       Prod  PID    Owner   Start  ID        ..Status 

tdwserver   ux    23985  root    Jan14  None      ...running

3.2.3 安装Linux OS Agent

1.  安装介质存放在FTP 服务器10.30.1.25 /BSM项目/系统监控软件Agent/LinuxandUnix/osagent_for_linux.tar.gz

2.  空间大小:查看文件系统可用空间,以保证安装空间,大约需要200MB的空间。

3.  存放和解压介质空间可能比较大(上传和压缩介质可能占用到5G空间),建议上传介质前查看一下系统看空间,避免撑爆系统空间,安装完毕的介质和介质解压可以删除释放空间。

4.  上传介质到合适的地方。

5.  解压安装包:tar  -zxvf  osagent_for_linux.tar.gz

6.  开始安装:

1)         #./install.sh

2)         选择安装路径。(默认为:[ default = /opt/IBM/ITM ])

Enter the name of the IBM Tivoli Monitoring directory

[ default = /opt/IBM/ITM ]:[回车]

确认安装路径。选1

ITM home directory "/opt/IBM/ITM" already exists.

OK to use it [ 1-yes, 2-no; "1" is default ]?

3)         选择安装位置。选1

Select one of the following:

1) Install products to the local host.

2) Install products to depot for remote deployment (requires TEMS).

3) Install TEMS support for remote seeding

4) Exit install.

Please enter a valid number:  1

................

4)         安装协议。选1

Part 1 - General Terms

BY DOWNLOADING, INSTALLING, COPYING, ACCESSING, OR USING

THE PROGRAM YOU AGREE TO THE TERMS OF THIS AGREEMENT. IF

YOU ARE ACCEPTING THESE TERMS ON BEHALF OF ANOTHER PERSON

OR A COMPANY OR OTHER LEGAL ENTITY, YOU REPRESENT AND

WARRANT THAT YOU HAVE FULL AUTHORITY TO BIND THAT PERSON,

COMPANY, OR LEGAL ENTITY TO THESE TERMS. IF YOU DO NOT

AGREE TO THESE TERMS,

- DO NOT DOWNLOAD, INSTALL, COPY, ACCESS, OR USE THE

PROGRAM; AND

Press Enter to continue viewing the license agreement, or

enter "1" to accept the agreement, "2" to decline it, "3"

to print it, "4" to read non-IBM terms, or "99" to go back

to the previous screen.

1

.....................

 

5)         重启代理是否自动初始化。回车

......................

lslpp: 0504-132  Fileset gsksa.rte not installed.

 

Enter a 32-character encryption key, or just press Enter to use the default

        Default = IBMTivoliMonitoringEncryptionKey

....+....1....+....2....+....3..

[回车]

GSkit encryption key has been set.

Key File directory: /home/bfpt/tivoli/IBM/ITM/keyfiles

 Product packages are available in /home/bfpt/tivoli/tivoli/unix

......................

6)         选择需要安装的产品,输入其编号。这里选Monitoring Agent for Linux OS,因为是安装Linux OS agent

 

The following products are available for installation:

 1) Monitoring Agent for UNIX Logs  V06.20.01.00

 2) Monitoring Agent for UNIX OS  V06.20.01.00

 3) Monitoring Agent for Linux OS  V06.20.01.00

 4) Tivoli Enterprise Monitoring Server  V06.20.01.00

 5) Tivoli Enterprise Portal Server  V06.20.01.00

 6) Tivoli Enterprise Services User Interface  V06.20.01.00

 7) Universal Agent  V06.20.01.00

 8) Warehouse Proxy  V06.20.01.00

 9) all of the above

 

Type the numbers for the products you want to install, or type "q" to quit selection.

If you enter more than one number, separate the numbers by a comma or a space.

Type your selections here:  3

...................

 

7)         确认安装产品。回车

The following products will be installed:

Monitoring Agent for linux  OS  V06.20.01.00

Are your selections correct [ 1=Yes, 2=No ; default is "1" ] ?[回车]

...................

 

8)         需要安装其他的产品包吗。选2

........................

Do you want to install additional products or product support packages [ 1=Yes, 2=No ; default is "2" ] ? [回车]

... postprocessing; please wait.

... finished postprocessing.

Installation step complete.

 

As a reminder, you should install product support on each of your TEM servers for any agents you have just installed.

This is done via the "/home/bfpt/opt/IBM/ITM/bin/itmcmd support" command on your TEM servers.

 

You may now configure any locally installed IBM Tivoli Monitoring product via the "/home/bfpt/tivoli/IBM/ITM/bin/itmcmd config" command.

9)         安装完毕,下.一步开始配置Agent。

3.2.4 配置Linux OS Agent

1.  图形化配置参考3.2.9 图形化配置和启动

2.  进入Agent 安装目录的bin目录下。输入命令

./itmcmd config –A lz

3.  是否连接到TEMS。选1,然后输入需要指向的itmserver.zte.intra

Will this agent connect to a TEMS? [1=YES, 2=NO] (Default is: 1):1

TEMS Host Name (Default is: fjzfxt): itmserver.zte.intra

 

4.  接下来的个步骤都选择默认,都是回车

Network Protocol [ip, sna, ip.pipe or ip.spipe] (Default is: ip.pipe):

 

     Now choose the next protocol number from one of these:                    

     - ip

     - sna

     - ip.spipe

     - 0 for none                                                               

Network Protocol 2 (Default is: 0):

IP.PIPE Port Number (Default is: 1918):

Enter name of KDC_PARTITION (Default is: null):

 

Configure connection for a secondary TEMS? [1=YES, 2=NO] (Default is: 2):

Enter Optional Primary Network Name or 0 for "none" (Default is: 0):

Are you installing this product into a clustered environment [1=YES, 2=NO] (Default is: 2):

Agent configuration completed...

5.  启动Agent

启动命令:./itmcmd agent start  lz

查看运行状态:./cinfo –r

*********** Thu Jan 17 14:29:55 CST 2013 ******************

User: root Groups: root bin daemon sys adm disk wheel

Host name : itmserver    Installer Lvl:06.23.01.00

CandleHome: /opt/IBM/ITM

***********************************************************

Host      Prod  PID    Owner   Start  ID        ..Status 

itmserver  lz    21506  root   14:29  None   ...running

3.2.5 安装Universal Agent

1、  1.    安装介质存放在FTP 服务器10.30.1.25 /BSM项目/系统监控软件Agent/LinuxandUnix/osagent_for_linux.tar.gz

2、  空间大小:查看文件系统可用空间,以保证安装空间,大约需要200MB的空间。

3、  存放和解压介质空间可能比较大(上传和压缩介质可能占用到5G空间),建议上传介质前查看一下系统看空间,避免撑爆系统空间,安装完毕的介质和介质解压可以删除释放空间。

4、  上传介质到合适的地方。

5、  解压安装包:tar  -zxvf  osagent_for_linux.tar.gz

6、  开始安装:

1)         #./install.sh

2)         选择安装路径。(默认为:[ default = /opt/IBM/ITM ])

Enter the name of the IBM Tivoli Monitoring directory

[ default = /opt/IBM/ITM ]:[回车]

确认安装路径。选1

ITM home directory "/opt/IBM/ITM" already exists.

OK to use it [ 1-yes, 2-no; "1" is default ]?

3)         选择安装位置。选1

Select one of the following:

1) Install products to the local host.

2) Install products to depot for remote deployment (requires TEMS).

3) Install TEMS support for remote seeding

4) Exit install.

Please enter a valid number:  1

................

4)         安装协议。选1

Part 1 - General Terms

BY DOWNLOADING, INSTALLING, COPYING, ACCESSING, OR USING

THE PROGRAM YOU AGREE TO THE TERMS OF THIS AGREEMENT. IF

YOU ARE ACCEPTING THESE TERMS ON BEHALF OF ANOTHER PERSON

OR A COMPANY OR OTHER LEGAL ENTITY, YOU REPRESENT AND

WARRANT THAT YOU HAVE FULL AUTHORITY TO BIND THAT PERSON,

COMPANY, OR LEGAL ENTITY TO THESE TERMS. IF YOU DO NOT

AGREE TO THESE TERMS,

- DO NOT DOWNLOAD, INSTALL, COPY, ACCESS, OR USE THE

PROGRAM; AND

Press Enter to continue viewing the license agreement, or

enter "1" to accept the agreement, "2" to decline it, "3"

to print it, "4" to read non-IBM terms, or "99" to go back

to the previous screen.

1

.....................

 

5)         重启代理是否自动初始化。回车

......................

lslpp: 0504-132  Fileset gsksa.rte not installed.

 

Enter a 32-character encryption key, or just press Enter to use the default

        Default = IBMTivoliMonitoringEncryptionKey

....+....1....+....2....+....3..

[回车]

GSkit encryption key has been set.

Key File directory: /home/bfpt/tivoli/IBM/ITM/keyfiles

 Product packages are available in /home/bfpt/tivoli/tivoli/unix

......................

6)   选择需要安装的产品,输入其编号。这里选Universal Agent.

The following products are available for installation:

 1) Monitoring Agent for UNIX Logs  V06.20.01.00

 2) Monitoring Agent for UNIX OS  V06.20.01.00

 3) Monitoring Agent for Linux OS  V06.20.01.00

 4) Tivoli Enterprise Monitoring Server  V06.20.01.00

 5) Tivoli Enterprise Portal Server  V06.20.01.00

 6) Tivoli Enterprise Services User Interface  V06.20.01.00

 7) Universal Agent  V06.20.01.00

 8) Warehouse Proxy  V06.20.01.00

 9) all of the above

 

Type the numbers for the products you want to install, or type "q" to quit selection.

If you enter more than one number, separate the numbers by a comma or a space.

Type your selections here:  7

...................

 

7)         确认安装产品。回车

The following products will be installed:

Monitoring Agent for Universal Agent  V06.20.01.00

Are your selections correct [ 1=Yes, 2=No ; default is "1" ] ?[回车]

...................

 

8)         需要安装其他的产品包吗。选2

........................

Do you want to install additional products or product support packages [ 1=Yes, 2=No ; default is "2" ] ? [回车]

... postprocessing; please wait.

... finished postprocessing.

Installation step complete.

 

As a reminder, you should install product support on each of your TEM servers for any agents you have just installed.

This is done via the "/home/bfpt/opt/IBM/ITM/bin/itmcmd support" command on your TEM servers.

 

You may now configure any locally installed IBM Tivoli Monitoring product via the "/home/bfpt/tivoli/IBM/ITM/bin/itmcmd config" command.

9)         安装完毕,下.一步开始配置Agent。

3.2.6 配置Universal Agent

图形化配置参考3.2.9 图形化配置和启动

1、进入Agent 安装目录的bin目录下。输入命令

./itmcmd config –A um

2、是否连接到TEMS。选1,然后输入需要指向的itmserver.zte.intra.

 

Will this agent connect to a TEMS? [1=YES, 2=NO] (Default is: 1):1

TEMS Host Name (Default is: fjzfxt): itmserver.zte.intra

 

3、接下来的个步骤都选择默认,都是回车

Network Protocol [ip, sna, ip.pipe or ip.spipe] (Default is: ip.pipe):

 

     Now choose the next protocol number from one of these:                    

     - ip

     - sna

     - ip.spipe

     - 0 for none                                                               

Network Protocol 2 (Default is: 0):

IP.PIPE Port Number (Default is: 1918):

Enter name of KDC_PARTITION (Default is: null):

 

Configure connection for a secondary TEMS? [1=YES, 2=NO] (Default is: 2):

Enter Optional Primary Network Name or 0 for "none" (Default is: 0):

Are you installing this product into a clustered environment [1=YES, 2=NO] (Default is: 2):

Agent configuration completed...

 

4、启动Agent

启动命令:./itmcmd agent start um

查看运行状态:./cinfo –r

*********** Thu Jan 17 14:29:55 CST 2013 ******************

User: root Groups: root bin daemon sys adm disk wheel

Host name : itmserver    Installer Lvl:06.23.01.00

CandleHome: /opt/IBM/ITM

***********************************************************

Host       Prod   PID    Owner  Start  ID     ..Status 

itmserver   um    18740   root   14:28  None   ...running

3.2.7 安装Unix Logs Agent

1、  安装介质存放在FTP 服务器10.30.1.25 /BSM项目/系统监控软件Agent/LinuxandUnix/osagent_for_linux.tar.gz

2、  空间大小:查看文件系统可用空间,以保证安装空间,大约需要200MB的空间。

3、  存放和解压介质空间可能比较大(上传和压缩介质可能占用到5G空间),建议上传介质前查看一下系统看空间,避免撑爆系统空间,安装完毕的介质和介质解压可以删除释放空间。

4、  上传介质到合适的地方。

5、  解压安装包:tar  -zxvf  osagent_for_linux.tar.gz

6、  开始安装:

1)         #./install.sh

2)         选择安装路径。(默认为:[ default = /opt/IBM/ITM ])

Enter the name of the IBM Tivoli Monitoring directory

[ default = /opt/IBM/ITM ]:[回车]

确认安装路径。选1

ITM home directory "/opt/IBM/ITM" already exists.

OK to use it [ 1-yes, 2-no; "1" is default ]?

3)         选择安装位置。选1

Select one of the following:

1) Install products to the local host.

2) Install products to depot for remote deployment (requires TEMS).

3) Install TEMS support for remote seeding

4) Exit install.

Please enter a valid number:  1

................

4)         安装协议。选1

Part 1 - General Terms

BY DOWNLOADING, INSTALLING, COPYING, ACCESSING, OR USING

THE PROGRAM YOU AGREE TO THE TERMS OF THIS AGREEMENT. IF

YOU ARE ACCEPTING THESE TERMS ON BEHALF OF ANOTHER PERSON

OR A COMPANY OR OTHER LEGAL ENTITY, YOU REPRESENT AND

WARRANT THAT YOU HAVE FULL AUTHORITY TO BIND THAT PERSON,

COMPANY, OR LEGAL ENTITY TO THESE TERMS. IF YOU DO NOT

AGREE TO THESE TERMS,

- DO NOT DOWNLOAD, INSTALL, COPY, ACCESS, OR USE THE

PROGRAM; AND

Press Enter to continue viewing the license agreement, or

enter "1" to accept the agreement, "2" to decline it, "3"

to print it, "4" to read non-IBM terms, or "99" to go back

to the previous screen.

1

.....................

 

5)         重启代理是否自动初始化。回车

......................

lslpp: 0504-132  Fileset gsksa.rte not installed.

 

Enter a 32-character encryption key, or just press Enter to use the default

        Default = IBMTivoliMonitoringEncryptionKey

....+....1....+....2....+....3..

[回车]

GSkit encryption key has been set.

Key File directory: /home/bfpt/tivoli/IBM/ITM/keyfiles

 Product packages are available in /home/bfpt/tivoli/tivoli/unix

......................

6)   选择需要安装的产品。这里选 Monitoring Agent for UNIX Logs.

The following products are available for installation:

 1) Monitoring Agent for UNIX Logs  V06.20.01.00

 2) Monitoring Agent for UNIX OS  V06.20.01.00

 3) Monitoring Agent for Linux OS  V06.20.01.00

 4) Tivoli Enterprise Monitoring Server  V06.20.01.00

 5) Tivoli Enterprise Portal Server  V06.20.01.00

 6) Tivoli Enterprise Services User Interface  V06.20.01.00

 7) Universal Agent  V06.20.01.00

 8) Warehouse Proxy  V06.20.01.00

 9) all of the above

 

Type the numbers for the products you want to install, or type "q" to quit selection.

If you enter more than one number, separate the numbers by a comma or a space.

Type your selections here:  1

...................

 

7)         确认安装产品。回车

The following products will be installed:

Monitoring Agent for UNIX Logs agent  V06.20.01.00

Are your selections correct [ 1=Yes, 2=No ; default is "1" ] ?[回车]

...................

 

8)         需要安装其他的产品包吗。选2

........................

Do you want to install additional products or product support packages [ 1=Yes, 2=No ; default is "2" ] ? [回车]

... postprocessing; please wait.

... finished postprocessing.

Installation step complete.

 

As a reminder, you should install product support on each of your TEM servers for any agents you have just installed.

This is done via the "/home/bfpt/opt/IBM/ITM/bin/itmcmd support" command on your TEM servers.

 

You may now configure any locally installed IBM Tivoli Monitoring product via the "/home/bfpt/tivoli/IBM/ITM/bin/itmcmd config" command.

9)         安装完毕,下.一步开始配置Agent。

3.2.8 配置UNIX Logs Agent

图形化配置参考3.2.9 图形化配置和启动

1、进入Agent 安装目录的bin目录下。输入命令

./itmcmd config –A  ul

2、是否连接到TEMS。选1,然后输入需要指向的itmserver.zte.intra.

 

Will this agent connect to a TEMS? [1=YES, 2=NO] (Default is: 1):1

TEMS Host Name (Default is: fjzfxt): itmserver.zte.intra

 

3、接下来的个步骤都选择默认,都是回车

Network Protocol [ip, sna, ip.pipe or ip.spipe] (Default is: ip.pipe):

 

     Now choose the next protocol number from one of these:                    

     - ip

     - sna

     - ip.spipe

     - 0 for none                                                              

Network Protocol 2 (Default is: 0):

IP.PIPE Port Number (Default is: 1918):

Enter name of KDC_PARTITION (Default is: null):

 

Configure connection for a secondary TEMS? [1=YES, 2=NO] (Default is: 2):

Enter Optional Primary Network Name or 0 for "none" (Default is: 0):

Are you installing this product into a clustered environment [1=YES, 2=NO] (Default is: 2):

Agent configuration completed...

4、启动Agent

   进入安装目录并目录下:cd /opt/IBM/ITM/bin

启动命令:./itmcmd agent start ul

查看运行状态:./cinfo –r

*********** Thu Jan 17 14:29:55 CST 2013 ******************

User: root Groups: root bin daemon sys adm disk wheel

Host name : itmserver    Installer Lvl:06.23.01.00

CandleHome: /opt/IBM/ITM

***********************************************************

Host       Prod  PID    Owner  Start  ID     ..Status 

itmserver   ul    18342  root   14:28  None   ...running

3.2.9 图形化配置和启动

1、运行进入到agent安装路径下的bin目录下 ./itmcmd manage

  

 

2、打开配置界面,选中要配置的agent 然后右键选择配置。

 

3、在TEMS主机名里面填写指向的server端主机名:itmserver.zte.intra。然后点击保存。

 

4、配置完后,装着需要启动的agent右键选择启动。

 

 

4 安装配置Oracle agent

本章节主要提供对中兴通讯应用运营监控项目Oracle agent安装,详细描述了agent的安装和配置过程,请相关安装agent人员在安装前确定,所需要安装的监控的Oracle数据库版本,如果是10.0或以上版本的:请采用oracleagent_10i11i_for_linux.tar介质安装,并且配置的时候参考 《4.3.1 Oracle 10版本配置Oracle Agent》章节;如果是9.0版本:请采用oracleagent_9i_for_linux.tar介质安装,并且配置的时候参考 《4.3.2Oracle 9版本配置Oracle Agent》章节。安装介质存放在FTP 服务器10.30.1.25 /BSM项目/系统监控软件Agent/LinuxandUnix/下。

两个版本的安装过程一样,配置过程不一样。

4.1 安装Oracle Agent

在linux 和unix平台上安oracle agent装都是通过命令行安装,大体过程一样。安装前请确认oracle 的版本,如果是10.0和以上版本的:请采用oracleagent_10i11i_for_linux.tar介质安装,并且配置的时候参考  《4.3.1 Oracle 10版本配置Oracle Agent》章节;如果是9版本:请采用oracleagent_9i_for_linux.tar介质安装,并且配置的时候参考 《4.3.2 Oracle 9版本配置Oracle Agent》章节。安装介质存放在FTP 服务器10.30.1.25 /BSM项目/系统监控软件Agent/LinuxandUnix/下。

1.  查看oracle数据库版本

2.  选择安装介质:参考上文。

3.  安装空间大小:查看文件系统可用空间,以保证安装空间,大约需要200MB的空间。

4.  存放和解压介质空间可能比较大(上传和压缩介质可能占用到5G空间),建议上传介质前查看一下系统看空间,避免撑爆系统空间,安装完毕的介质和介质解压可以删除释放空间。

5.  上传介质到合适的地方。

6.  解压安装包:tar  -xvf  <包名>

7.  开始安装:

1)         #./install.sh  [运行命令开始安装]

2)         选择安装路径。(默认为:[ default = /opt/IBM/ITM ])

请输入 IBM Tivoli Monitoring 目录的名称

[ 缺省值 = /opt/IBM/ITM ]::[回车]

确认安装路径。选1

ITM 主目录 "/opt/IBM/ITM" 已经存在。

确定使用它 [ 1-是, 2-否; "1" 为缺省值 ]? 

3)         如果设备上已经安装了其他agent,系统会提示继续此操作,如果没有安装其他agent请跳到4)。选1

以下进程当前正在运行:

 

  产品 = Monitoring Agent for Linux OS  PID = 6305

install.sh 警告:发现正在运行的现有产品将在安装期间重新启动。,继续 ...

 

继续此次安装 [ 1-是, 2-否; "1" 为缺省值 ]? 1

正在处理。 请等待...

正在停止看守程序进程...

看守程序进程已停止。

正在停止 Monitoring Agent for Linux OS ...

产品 Monitoring Agent for Linux OS 已安全停止。

代理程序已停止...

/opt/IBM/ITM

4)         选择安装位置。选1

选择以下某一项:

 

1) 将产品安装到本地主机上。

2) 将产品安装到库以进行远程部署(需要 TEMS)。

3) 安装用于远程种子植入的 TEMS 支持

4) 退出安装。

 

请输入有效的编号:  1

5)         接受安装协议。选1

正在初始化 ...

国际程序许可协议

 

第一部分 -- 通用条款

 

下载、安装、复制、访问、单击“接受”按钮,或以其他方式使用程序,即

表明被许可方同意本协议的条款。如果您代表被许可方接受此类条款,则您

陈述并保证您拥有完全的授权以使该被许可方接受此类条款的约束。如果您

不同意此类条款,

 

- 则请勿下载、安装、复制、访问、单击“接受”按钮,或使用程序;并

 

- 立即将未使用的介质、文档和权利证明退还至提供方,以便获得您所支

付金额的退款。如果下载了程序,那么请销毁程序的所有副本。

 

 

按 Enter 键继续查看本许可协议或按 "1" 接受本协议,按

"2" 拒绝本协议,按 "3" 打印本协议,按 "4" 阅读非

IBM 条款,按 "5" 用英语查看,或按 "99" 回到上一屏

幕。

1

6)         提示已经安装的agent。

/data/software/itmagent/dbagent/unix 中提供了产品软件包

 

以下产品当前已安装在“/opt/IBM/ITM”中:

 

  IBM GSKit Security Interface V07.40.27.00 @ Linux Intel R2.4 (32 bit)/Intel R2.6 (32 bit)/x86_64 R2.6 (32 bit)

  IBM GSKit Security Interface V07.40.27.00 @ Linux x86_64 R2.6 (64 bit)

  Monitoring Agent for Linux OS V06.23.01.00 @ Linux x86_64 R2.6 (64 bit)

  Tivoli Enterprise Services User Interface V06.23.01.00 @ Linux x86_64 R2.6 (64 bit)

 

 

所有代理程序都需要包含特定于代理程序的信息的应用程序支持文件安装在代理程序将连接的 Tivoli Enterprise Monitoring Server 上、Tivoli Enterprise Portal Server 上以及 Tivoli Enterprise Portal 桌面和浏览器客户端上。 在开始安装任何 Tivoli Enterprise Monitoring 代理程序之前,请先安装应用程序支持。

 

7)         选择需要安装的产品,这里选择1,然后确认选择正确那里默认回车

可用于该操作系统和组件支持类别的产品软件包:

 

 1) 该操作系统的 IBM Tivoli Monitoring 组件

 2) Tivoli Enterprise Portal Browser Client 支持

 3) Tivoli Enterprise Portal Desktop Client 支持

 4) Tivoli Enterprise Portal Server 支持

 5) Tivoli Enterprise Monitoring Server 支持

 6) 其他操作系统

 

输入编号或输入“q”以退出选择

[ 编号“1”或“该操作系统的 IBM Tivoli Monitoring 组件”是缺省值 ]:  1

8)         确认选择正确,默认回车

已选择编号“1”或“该操作系统的 IBM Tivoli Monitoring 组件”

 

是正确的选择 [ 1=是,2=否;缺省值为“1”]?[回车]

 

9)         选择安装的产品,这里选择3

以下产品可供安装:

 

 1) Monitoring Agent for Oracle Database Extended  V06.31.00.00

 2) Tivoli Enterprise Services User Interface Extensions  V06.22.02.00

 3)  以上所有产品

 

输入想要安装的产品编号,输入“b”以更改操作系统,或输入“q”以退出选择。

如果输入多个编号,请用逗号或者空格进行分隔。

 

请在此处输入您的选择:  3

10)     确认安装产品。回车

将安装以下产品:

 

  Monitoring Agent for Oracle Database Extended  V06.31.00.00

  Tivoli Enterprise Services User Interface Extensions  V06.22.02.00

 

您的选择是否正确 [ 1=是,2=否;缺省值为“1”]?[回车]

11)     正在安装中

... 正在安装“Monitoring Agent for Oracle Database Extended  V06.31.00.00 for Linux x86_64 R2.6 (64 bit)”;请等待。

 

 => 已安装“Monitoring Agent for Oracle Database Extended  V06.31.00.00 for Linux x86_64 R2.6 (64 bit)”。

 

 ... 正在安装“Tivoli Enterprise Services User Interface Extensions  V06.22.02.00 for Linux x86_64 R2.6 (64 bit)”;请等待。

 

 => 已安装“Tivoli Enterprise Services User Interface Extensions  V06.22.02.00 for Linux x86_64 R2.6 (64 bit)”。

正在初始化 Linux x86_64 R2.6 (64 bit) 的组件 Tivoli Enterprise Services User Interface Extensions  V06.22.02.00...。

... Linux x86_64 R2.6 (64 bit) 的 Tivoli Enterprise Services User Interface Extensions  V06.22.02.00 已初始化。

12)     询问需要安装其他的产品包吗。选2

是否要安装其他产品或产品支持软件包 [ 1=是,2=否;缺省值为“2”]?2

... 正在进行后处理;请等待。

... 后处理已完成。

安装步骤已完成。

 

现在您可以通过 "/data/IBM/ITM/bin/itmcmd config" 命令配置任何本地安装的 IBM Tivoli Monitoring 产品。

 

正在处理。 请等待...

正在启动 Monitoring Agent for Linux OS ...

Monitoring Agent for Linux OS 已启动

 

13)     安装完毕,下.一步开始配置Agent。

4.2 给agent授权

ITCAM for oracle agent 对Oracle的监控,需要在Oracle 数据库上给agent创建用户与角色,并给用户授权。用户和密码为了以后运维方便,统一为:tivoli/tivoli。同时还要运行agent提供的授权文件。授权文件的名称和oracle版本对应要求如下。此所有授权操作请数据库管理员进行操作。

安装前请确认oracle 的版本:

l  Oracle 10.0和以上版本的:为krzgrant.sql文件

l  Oracle 9版本:为korgrant.sql文件

授权步骤概述如下:

1)         找到你对应版本的授权文件,和名称,记下路径。参考:安装前请确认oracle 的版本

2)         切换到oracle用户下su – oracle

3)         进入1)找到的授权文件所在的路径

4)         运行sqlplus "/ as sysdba"

5)         创建用户,运行create user tivoli identified by tivoli;

SQL> create user tivoli identified by tivoli;

6)         授权运行grant resource,connect to tivoli;

SQL> grant resource,connect to tivoli;

7)         运行授权脚本,

n  Oracle 10.0和以上版本的:

SQL> @krzgrant.sql tivoli  /opt/IBM/ITM/tmp

n  Oracle 9版本:为korgrant.sql文件

SQL> @/opt/IBM/ITM/misc/korgrant.sql tivoli tivoli_role /data/IBM/ITM/tmp;

其中/opt/IBM/ITM/为agent的默认安装路径,如果请根据实际安装路径做相应修改。

 

下面以Oracle 10.0和以上版本为例,展现这个授权过程的代码。

1)         首先先找到krzgrant.sql文件,在agent安装的路径下。

默认为/opt/IBM/ITM/lx8266/rz/bin  下面红色的那个就是

[root@localhost bin]# pwd

/data/IBM/ITM/lx8266/rz/bin

[root@localhost bin]# ll

total 4416

-rwxrwxrwx  1 root root 2559942 Jan 16 11:05 krzagent

-rwxrwxrwx  1 root root 1083236 Jan 16 11:05 krzclient

-rwxrwxrwx  1 root root   11497 Jan 16 11:05 krzgrant.sql

-rwxrwxrwx  1 root root    2559 Jan 16 11:05 krzmsgid.properties

-rwxrwxrwx  1 root root  525278 Jan 16 11:05 krz.ref

-rwxrwxrwx  1 root root  247599 Jan 16 11:05 krzsql.xml

-rwxrwxrwx  1 root root   33734 Jan 16 11:05 krzstart

2)         切换到oracle用户下

[root@localhost bin]# su – oracle

3)         进入用户下krzgrant.sql文件所在的地步

[oracle@localhost ~]$ cd /opt/IBM/ITM/lx8266/rz/bin

4)         运行sqlplus "/ as sysdba"

[oracle@localhost bin]$ sqlplus "/ as sysdba"

SQL*Plus: Release 9.2.0.8.0 - Production on Wed Jan 16 11:08:18 2013

Copyright (c) 1982, 2002, Oracle Corporation.  All rights reserved.

Connected to:

Oracle9i Enterprise Edition Release 9.2.0.8.0 - 64bit Production

With the Partitioning, OLAP and Oracle Data Mining options

JServer Release 9.2.0.8.0 - Production

SQL>

5)         创建用户,运行create user tivoli identified by tivoli;

SQL> create user tivoli identified by tivoli;

User created.

6)         授权运行grant resource,connect to tivoli;

SQL> grant resource,connect to tivoli;

Grant succeeded.

7)         运行授权脚本,运行@krzgrant.sql tivoli /opt/IBM/ITM/tmp

SQL> @krzgrant.sql  tivoli  /opt/IBM/ITM/tmp

8)         运行授权脚本后,系统会自动输出一大堆代码,可以跳过,共跳过7页。

SQL> set serveroutput on;

SQL> spool &2/krzgrant.log

SQL> declare

  2          version integer;

  3          userName varchar(20);

  4          isExist integer;

  5  begin

  6 

  7    userName:='&1';

  8    isExist:=0;

  9 

 10    select count(username)

 11    into      isExist

 12    from      dba_users where username=upper('&1');

 13 

 14    if isExist = 0  then

 15        dbms_output.put_line('The user '||userName||' does not exist, please create it first!');

 16        return;

 17    end if;

 18 

 19    select to_number(substr(banner,instr(banner,'Release')+8,instr(banner,'.',1,2)-8-instr(banner,'Release')))*10

 20          into   version

 21          from   V$VERSION

 22          where  banner like 'Oracle%' and rownum < 2;

 23 

 24          if version >=112 then

 25                  execute immediate 'grant select on GV_$ASM_DISKGROUP_STAT to '||userName;

 26                  execute immediate 'grant select on GV_$ASM_DISK_STAT to '||userName;

 27                  execute immediate 'grant select on GV_$CLUSTER_INTERCONNECTS to '||userName;

 28                  execute immediate 'grant select on V_$DATAGUARD_STATS to '||userName;

 29                  execute immediate 'grant select on V_$FLASHBACK_DATABASE_LOGFILE to '||userName;

 30                  execute immediate 'grant select on V_$FLASH_RECOVERY_AREA_USAGE to '||userName;

 31                  execute immediate 'grant select on V_$LOGSTDBY_PROCESS to '||userName;

 32                  execute immediate 'grant select on V_$LOGSTDBY_PROGRESS to '||userName;

 33                  execute immediate 'grant select on V_$LOGSTDBY_STATE to '||userName;

 34          elsif version =111 then

 35                  execute immediate 'grant select on GV_$ASM_DISKGROUP_STAT to '||userName;

 36                  execute immediate 'grant select on GV_$ASM_DISK_STAT to '||userName;

 37                  execute immediate 'grant select on GV_$CLUSTER_INTERCONNECTS to '||userName;

 38                  execute immediate 'grant select on V_$DATAGUARD_STATS to '||userName;

 39                  execute immediate 'grant select on V_$FLASHBACK_DATABASE_LOGFILE to '||userName;

 40                  execute immediate 'grant select on V_$FLASH_RECOVERY_AREA_USAGE to '||userName;

 41                  execute immediate 'grant select on V_$LOGSTDBY_PROCESS to '||userName;

 42                  execute immediate 'grant select on V_$LOGSTDBY_PROGRESS to '||userName;

 43                  execute immediate 'grant select on V_$LOGSTDBY_STATE to '||userName;

 44          elsif version =102 then

 45                  execute immediate 'grant select on GV_$ASM_DISKGROUP_STAT to '||userName;

 46                  execute immediate 'grant select on GV_$ASM_DISK_STAT to '||userName;

 47                  execute immediate 'grant select on GV_$CLUSTER_INTERCONNECTS to '||userName;

 48                  execute immediate 'grant select on V_$DATAGUARD_STATS to '||userName;

 49                  execute immediate 'grant select on V_$FLASH_RECOVERY_AREA_USAGE to '||userName;

 50                  execute immediate 'grant select on V_$LOGSTDBY_PROCESS to '||userName;

 51                  execute immediate 'grant select on V_$LOGSTDBY_PROGRESS to '||userName;

 52                  execute immediate 'grant select on V_$LOGSTDBY_STATE to '||userName;

 53          elsif version =101 then

 54                  execute immediate 'grant select on DBA_LOGSTDBY_PROGRESS to '||userName;

 55                  execute immediate 'grant select on GV_$ASM_DISK to '||userName;

 56                  execute immediate 'grant select on GV_$ASM_DISKGROUP to '||userName;

 57                  execute immediate 'grant select on V_$LOGSTDBY to '||userName;

 58          else

 59                  dbms_output.put_line('It is an unsupported version!');

 60                  return;

 61          end if;

 62 

 63          ---------------------------------------------

 64          -- Grant common objects

 65          ---------------------------------------------

 66 

 67          execute immediate 'grant select on DBA_CLUSTERS to '||userName;

 68          execute immediate 'grant select on DBA_DATA_FILES to '||userName;

 69          execute immediate 'grant select on DBA_EXTENTS to '||userName;

 70          execute immediate 'grant select on DBA_FREE_SPACE to '||userName;

 71          execute immediate 'grant select on DBA_HIST_SNAPSHOT to '||userName;

 72          execute immediate 'grant select on DBA_HIST_SQLSTAT to '||userName;

 73          execute immediate 'grant select on DBA_HIST_SQLTEXT to '||userName;

 74          execute immediate 'grant select on DBA_HIST_SQL_PLAN to '||userName;

 75          execute immediate 'grant select on DBA_HIST_SYSMETRIC_SUMMARY to '||userName;

 76          execute immediate 'grant select on DBA_INDEXES to '||userName;

 77          execute immediate 'grant select on DBA_OBJECTS to '||userName;

 78          execute immediate 'grant select on DBA_SEGMENTS to '||userName;

 79          execute immediate 'grant select on DBA_TABLES to '||userName;

 80          execute immediate 'grant select on DBA_TABLESPACES to '||userName;

 81          execute immediate 'grant select on DBA_TEMP_FILES to '||userName;

 82          execute immediate 'grant select on DBA_UNDO_EXTENTS to '||userName;

 83          execute immediate 'grant select on GV_$ARCHIVE_DEST to '||userName;

 84          execute immediate 'grant select on GV_$ARCHIVE_DEST_STATUS to '||userName;

 85          execute immediate 'grant select on GV_$ASM_CLIENT to '||userName;

 86          execute immediate 'grant select on GV_$ASM_TEMPLATE to '||userName;

 87          execute immediate 'grant select on GV_$BGPROCESS to '||userName;

 88          execute immediate 'grant select on GV_$BUFFER_POOL_STATISTICS to '||userName;

 89          execute immediate 'grant select on GV_$DATAFILE_HEADER to '||userName;

 90          execute immediate 'grant select on GV_$DLM_MISC to '||userName;

 91          execute immediate 'grant select on GV_$ENQUEUE_STAT to '||userName;

 92          execute immediate 'grant select on GV_$FILEMETRIC to '||userName;

 93          execute immediate 'grant select on GV_$FILESTAT to '||userName;

 94          execute immediate 'grant select on GV_$GES_BLOCKING_ENQUEUE to '||userName;

 95          execute immediate 'grant select on GV_$INSTANCE to '||userName;

 96          execute immediate 'grant select on GV_$LATCH to '||userName;

 97          execute immediate 'grant select on GV_$LATCH_CHILDREN to '||userName;

 98          execute immediate 'grant select on GV_$LIBRARYCACHE to '||userName;

 99          execute immediate 'grant select on GV_$LOCK to '||userName;

100          execute immediate 'grant select on GV_$LOCKED_OBJECT to '||userName;

101          execute immediate 'grant select on GV_$LOG to '||userName;

102          execute immediate 'grant select on GV_$OPTION to '||userName;

103          execute immediate 'grant select on GV_$OSSTAT to '||userName;

104          execute immediate 'grant select on GV_$PARAMETER to '||userName;

105          execute immediate 'grant select on GV_$PGASTAT to '||userName;

106          execute immediate 'grant select on GV_$PGA_TARGET_ADVICE to '||userName;

107          execute immediate 'grant select on GV_$PROCESS to '||userName;

108          execute immediate 'grant select on GV_$RESOURCE_LIMIT to '||userName;

109          execute immediate 'grant select on GV_$ROLLSTAT to '||userName;

110          execute immediate 'grant select on GV_$ROWCACHE to '||userName;

111          execute immediate 'grant select on GV_$SEGMENT_STATISTICS to '||userName;

112          execute immediate 'grant select on GV_$SERVICES to '||userName;

113          execute immediate 'grant select on GV_$SESSION to '||userName;

114          execute immediate 'grant select on GV_$SESSION_WAIT to '||userName;

115          execute immediate 'grant select on GV_$SESS_IO to '||userName;

116          execute immediate 'grant select on GV_$SGA to '||userName;

117          execute immediate 'grant select on GV_$SGAINFO to '||userName;

118          execute immediate 'grant select on GV_$SGASTAT to '||userName;

119          execute immediate 'grant select on GV_$SORT_SEGMENT to '||userName;

120          execute immediate 'grant select on GV_$SQL to '||userName;

121          execute immediate 'grant select on GV_$SYSMETRIC to '||userName;

122          execute immediate 'grant select on GV_$SYSMETRIC_HISTORY to '||userName;

123          execute immediate 'grant select on GV_$SYSMETRIC_SUMMARY to '||userName;

124          execute immediate 'grant select on GV_$SYSSTAT to '||userName;

125          execute immediate 'grant select on GV_$SYSTEM_PARAMETER to '||userName;

126          execute immediate 'grant select on GV_$UNDOSTAT to '||userName;

127          execute immediate 'grant select on SYS.OBJ$ to '||userName;

128          execute immediate 'grant select on SYS.TS$ to '||userName;

129          execute immediate 'grant select on SYS.UNDO$ to '||userName;

130          execute immediate 'grant select on V_$ACTIVE_INSTANCES to '||userName;

131          execute immediate 'grant select on V_$ARCHIVED_LOG to '||userName;

132          execute immediate 'grant select on V_$ARCHIVE_DEST to '||userName;

133          execute immediate 'grant select on V_$ARCHIVE_DEST_STATUS to '||userName;

134          execute immediate 'grant select on V_$ARCHIVE_GAP to '||userName;

135          execute immediate 'grant select on V_$BGPROCESS to '||userName;

136          execute immediate 'grant select on V_$DATABASE to '||userName;

137          execute immediate 'grant select on V_$DATAFILE to '||userName;

138          execute immediate 'grant select on V_$DATAFILE_HEADER to '||userName;

139          execute immediate 'grant select on V_$DATAGUARD_STATUS to '||userName;

140          execute immediate 'grant select on V_$FLASHBACK_DATABASE_LOG to '||userName;

141          execute immediate 'grant select on V_$INSTANCE to '||userName;

142          execute immediate 'grant select on V_$LOCK_TYPE to '||userName;

143          execute immediate 'grant select on V_$LOG to '||userName;

144          execute immediate 'grant select on V_$LOGFILE to '||userName;

145          execute immediate 'grant select on V_$LOGSTDBY_STATS to '||userName;

146          execute immediate 'grant select on V_$LOG_HISTORY to '||userName;

147          execute immediate 'grant select on V_$MANAGED_STANDBY to '||userName;

148          execute immediate 'grant select on V_$PARAMETER to '||userName;

149          execute immediate 'grant select on V_$RECOVERY_FILE_DEST to '||userName;

150          execute immediate 'grant select on V_$RECOVERY_PROGRESS to '||userName;

151          execute immediate 'grant select on V_$SPPARAMETER to '||userName;

152          execute immediate 'grant select on V_$STANDBY_LOG to '||userName;

153          execute immediate 'grant select on V_$TABLESPACE to '||userName;

154          execute immediate 'grant select on V_$TEMPFILE to '||userName;

155          execute immediate 'grant select on V_$VERSION to '||userName;

156 

157          ------------------------------------------------

158          -- Grant create session to the user

159          ------------------------------------------------

160          execute immediate 'grant connect               to '||userName;

161          execute immediate 'grant create session        to '||userName;

162 

163          ------------------------------------------------

164  end;

165  /

old   7:   userName:='&1';

new   7:   userName:='tivoli';

old  12:   from   dba_users where username=upper('&1');

new  12:   from   dba_users where username=upper('tivoli');

It is an unsupported version!

 

PL/SQL procedure successfully completed.

 

SQL> spool off

SQL> set echo off;

SQL>

 

9)         测试用户,测试完后可以退出。

SQL> conn tivoli/tivoli

Connected.

SQL> conn / as sysdba

Connected.

SQL> exit

Disconnected from Oracle9i Enterprise Edition Release 9.2.0.8.0 - 64bit Production

With the Partitioning, OLAP and Oracle Data Mining options

JServer Release 9.2.0.8.0 - Production

[oracle@localhost bin]$ exit

logout

[root@localhost bin]#

     至此在Oracle 数据库上给agent创建用户与角色,并给用户授权,操作完毕

4.3 配置Oracle Agent

Oracle agent的配置也根据版本有不通的配置方法。

l  Oracle 10.0和以上版本的:参考4.3.1章

l  Oracle 9版本:参考4.3.2章

4.3.1 Oracle 10版本配置Oracle Agent

1)         进入Agent 安装目录的bin目录下。

[root@localhost bin]# cd /data/IBM/ITM/bin

2)         运行./itmcmd config –o <数据库实例名> -A rz 开始配置

[root@localhost bin]# ./itmcmd config -o wmstest -A rz

Agent configuration started...

3)         确认配置选1

Edit "ITCAM Extended Agent for Oracle Database" settings? [ 1=Yes, 2=No ] (default is: 1): 1

Default configuration :

 

4)         输入user name和password 为:tivoli/tivoli。

The name of the default database user for the connection.

This user must have sufficient privileges to perform the tasks

that this agent perform while connected to the database, such as

creating, editing, and deleting tables. If the username is not input

for the Database Connection in the next step, the default username will

be used.

Default user name: (default is: ): tivoli

The password associated with the specified default database user. If

        the password is not input for the Database Connection in the next step,

        the default password will be used.

Enter Default password: (default is: ):   [tivoli]

Re-type : Default password: (default is: ):   [tivoli]

5)         根据事实情况,输入oracle的安装路径。

This is the Oracle database installation directory on the

 system where the agent is installed. If no Oracle database

 is installed, leave this field blank. If this item was not

 defined, 'Oracle Instant Client Installation Directory' must

be defined. And if both the 2 items were not defined, the

 agent would be unable to work.

 

Oracle home directory: (default is: ): /u01/app/oracle/product/11.2.0/db_1

6)         根据事实情况,输入oracle clinet的安装路径。

This is the Oracle instant client installation

directory on the system where the agent is

installed. The attribute does not support

Oracle instant client that is located in a

network drive. If no Oracle instant client

is installed, leave this filed blank. If both

the Oracle home directory and Oracle instant

client installation directory are entered, the

Oracle home directory is used. This is

the full folder path of the directory that

contains the Oracle Call Interface (OCI)

library files. For example, on a Windows

system, if the full path of the oci.dll

file is C:\instantclient_10_2\oci.dll,

C:\instantclient_10_2 must be used for

this field. On a Unix system, if the full

path of the libocci.so.10.1 file is

/home/tivoli/oci/libocci.so.10.1,

/home/tivoli/oci must be used. If this

item was not defined, 'Oracle Home Directory'

must be defined. And if both the 2 items were

not defined, the agent would be unable to work.

 

Oracle instant client installation directory: (default is: ): /u01/app/oracle/product/11.2.0/db_1/bin

7)         根据事实情况,输入configuration files directories路径。

Advanced configuration :

 

This is the directory that contains Oracle database net configuration

file. This directory is defined by the TNS_ADMIN environment variable

for each Oracle database instance. The default directory is

$ORACLE_HOME/network/admin on UNIX or Linux systems,

and %ORACLE_HOME%\NETWORK\ADMIN on Windows systems. If there are

multiple net configuration file directories, use ";" on Windows systems,

or ":" on UNIX systems, to separate the directories. If this item was

not configured, the default directory would be used.

Net configuration files directories: (default is: ): /u01/app/oracle/product/11.2.0/db_1/network/admin

8)         如果端口正确,输入1。

The default dynamic listener is (PROTOCOL=TCP)(HOST=localhost)(PORT=1521).

If the default dynamic listener is configured at this workstation,

set this value to TRUE.

Is default dynamic listener configured: [ 1=True, 2=False ] (default is: 2): 1

9)         根据事实情况,输入Customized SQL definition file name。

This is the full file path name of the customized SQL definition file.

The default file name is $CANDLEHOME/config/krzcussql.properties on UNIX

or Linux systems, %CANDLEHOME%\TMAITM6\krzcussql.properties on Windows

systems, and %CANDLEHOME%\TMAITM6_x64\krzcussql.properties on Windows

x64 systems. If this item was not configured, the default file name

would be used.

Customized SQL definition file name: (default is: ): /data/IBM/ITM/config/krzcussql.properties

 

Database connection :

10)     输入1 增加

No 'Database connection' settings available.

Edit 'Database connection' settings, [1=Add, 2=Edit, 3=Del, 4=Next, 5=Exit] (default is: 5): 1

11)     根据事实情况,输入Database connection name

Database connection name: (default is: ): wmstest

12)     根据事实情况,输入Oracle connection string

The database connection string for OCI.

It supports all Oracle net naming methods.  

As a SQL Connect URL string of the form:

//host:[port][/service name]

For example: //dlsun242:1521/bjava21

As an Oracle Net keyword-value pair.

For example:

"(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp) (HOST=dlsun242) (PORT=1521))

(CONNECT_DATA=(SERVICE_NAME=bjava21)))"

It also supports TNSNAMES entries such as inst1, and so on,

with TNS_ADMIN or ORACLE_HOME environment variable set and

configuration files configured.

   

Oracle connection string: (default is: ): //10.3.64.32:1521/wmstest     

13)     根据事实情况,输入Database user name: 和密码

The name of the database user for the connection.

This user must have sufficient privileges to perform the tasks that the

agent needs while connected to the database, such as creating, editing,

and deleting tables.

If this field is left blank, the agent uses the

default user name in the default database configuration section. If this

item was not configured, the default username would be used for this

connection.

       

Database user name: (default is: ): tivoli

The password associated with the specified database user.

If this field is left blank, agent uses the default password

in the default database configuration section. If this item was

not configured, the default password would be used for this connection.

       

Enter Database password: (default is: ):    tivoli

Re-type : Database password: (default is: ):   tivoli

14)     根据事实情况,这里默认

The set of privileges to be associated with the connection.

For a user that has been granted the SYSDBA system privilege,

you can specify a connection that includes the privilege. If

this item was not defined, 'DEFAULT' would be used as the role

of the user.

Role: [ 1=SYSDBA, 2=SYSOPER, 3=SYSASM, 4=DEFAULT ] (default is: 4):

15)     根据事实情况,输入Oracle alert log file paths

The absolute file path of mapped alert log files of remote database

instances in this database connection. Multiple files are separated

by ";" on Windows systems, or ":" on UNIX systems. Each file is matched

to a database instance, by the file name pattern alert_<instance>.log,

or ignored if unmatched. Local database instance alert log files can be

discovered automatically.  If this item was not configured,  the alter

logs of remote database instances would be unable to be collected.

Oracle alert log file paths: (default is: ): /u01/app/oracle/admin/wmstest/bdump

The code page of the mapped alert log files. If this field is left blank,

16)     根据事实情况,选择UTF-8

the system current locale is used. 

For examples:

ISO8859_1: ISO 8859-1

Western European encoding

UTF-8: UTF-8 encoding of Unicode

GB18030:Simplified Chinese GB18030 encoding

CP950: Traditional Chinese encoding

EUC_JP: Japanese encoding

Oracle alert log file charset: (default is: ): UTF-8

17)     根据事实情况,选择5

'Database connection' settings:  Database connection name:=wmstest

Edit 'Database connection' settings, [1=Add, 2=Edit, 3=Del, 4=Next, 5=Exit] (default is: 5):

 

18)     需要指向的TEMS服务器选1

Will this agent connect to a TEMS? [1=YES, 2=NO] (Default is: 1): 1

19)     输入TEMS服务器的主机名

TEMS Host Name (Default is: localhost): itmserver.zte.intra

20)     接下来的几个步骤按照默认都是回车即可,至此配置完毕。

Network Protocol [ip, sna, ip.pipe or ip.spipe] (Default is: ip.pipe):

 

     Now choose the next protocol number from one of these:                    

     - ip

     - sna

     - ip.spipe

     - 0 for none                                                              

Network Protocol 2 (Default is: 0):

IP.PIPE Port Number (Default is: 1918):

Enter name of KDC_PARTITION (Default is: null):

 

Configure connection for a secondary TEMS? [1=YES, 2=NO] (Default is: 2):

Enter Optional Primary Network Name or 0 for "none" (Default is: 0):

Agent configuration completed...

4.3.2 Oracle 10版本图形化配置

1)         进入Agent 安装目录的bin目录下运行./itmcmd manage.

 

2)         选中需要oracle agent右键选择配置,开始配置。

 

3)         选择添加实例。

 

4)         输入实例。

 

5)         输入授权的用户名和密码tivoli/tivoli  和oralce 的安装路径。点击下一步。

 

6)         输入oralce connect string 然后点击apply。点击下一步。

 

 

7)         点击确定。

 

8)         输入TEMS主机名itmserver.zte.intra,然后保存。

 

9)         选择oralce agent 右键选择启动。

 

10)     选中刚刚配置的实例,然后就可以启动了。

 

 

4.3.3 Oracle 9版本配置Oracle Agent

1)         进入Agent 安装目录的bin目录下。

2)         运行./itmcmd config  -A or 开始配置

db-gt3:/tivoli/IBM/ITM/bin#./itmcmd  config -A or

Agent configuration started...

3)         需要指向的TEMS服务器选1

Will this agent connect to a TEMS? [1=YES, 2=NO] (Default is: 1):

4)         输入TEMS服务器的主机名

TEMS Host Name (Default is: localhost): itmserver.zte.intra

5)         接下来的几个步骤按照默认都是回车即可,直到进入Welcome to CandleDBconfig。

Network Protocol [ip, sna, ip.pipe or ip.spipe] (Default is: ip.pipe):

 

     Now choose the next protocol number from one of these:                    

     - ip

     - sna

     - ip.spipe

     - 0 for none                                                               

Network Protocol 2 (Default is: 0):

IP.PIPE Port Number (Default is: 1918):

Enter name of KDC_PARTITION (Default is: null):

 

Configure connection for a secondary TEMS? [1=YES, 2=NO] (Default is: 2):

Enter Optional Primary Network Name or 0 for "none" (Default is: 0):

Agent configuration completed...

/tivoli/IBM/ITM/aix536/bin/kddfind.sh

 

Candle DB config: Welcome to CandleDBconfig                       10/28/11 22:57

________________________________________________________________________________

 

CandleDBconfig prepares the environment to run the IBM Tivoli Monitoring

for Databases monitoring agent.  CandleDBconfig:

 

1. Prepares a configuration file for each monitored server, so that the

   monitoring agent knows how to talk to the database.

 

2. Verifies that the installation is correct and operational.

 

CandleDBconfig finds running databases much more easily and reliably than

non-running databases.  If you want to monitor databases that are not currently

running, you may wish to exit CandleDBConfig and start them.

 

Also, CandleDBconfig works best if you have more than 25 display lines.  Both

X-Windows and NT Telnet allow you to expand the number of lines without

disconnecting from Unix.  You don't have to issue any Unix commands to take

advantage of the increased lines.

6)         按回车进入。

Press enter to continue, or type "exit" to exit 

 

Candle DB config: Select Search limits                            10/28/11 22:57

________________________________________________________________________________

 

CandleDBconfig automatically searches for installed databases.  The search is

optimized to find running databases, but it can often find non-running ones.

7)         选择1,先自动发现。

Please select one of the following:

 

     1) Confine automatic search to running databases

     2) Also search for non-running databases  (slower)

     3) No automatic search.  Manual update only.

     4) Tutorial on automatic search techniques and limitations.

 

_______________________________ <Function menu> _______________________________

 

     Please select an option or <CR> to exit: 1

Performing initial scan for Oracle.  Please wait...

Scanning servers currently running or in /etc/oratab

No Oracle servers known before search.

No Oracle servers known after search.

 

Candle DB config: Oracle Options                                  10/28/11 22:57

________________________________________________________________________________

8)         选择1,先自动发现。

     1) All Oracle servers found.  Ready to specify login/passwords...

     2) Optional disk searches, manually add servers...

     3) Display or Modify defined servers...

     4) Exclude/Include a server from the configuration..

     5) Verify Monitoring Agent for Oracle installation

     6) List external configuration steps for Monitoring Agent

        for Oracle...

     7) Help...

_______________________________ <Function menu> _______________________________

 

     Please select an option or <CR> to exit: 1

 

Candle DB config: Oracle Options                                  10/28/11 22:57

________________________________________________________________________________

9)         如果找不到后选择2 手动添加

     1) All Oracle servers found.  Ready to specify login/passwords...

     2) Optional disk searches, manually add servers...

     3) Display or Modify defined servers...

     4) Exclude/Include a server from the configuration..

     5) Verify Monitoring Agent for Oracle installation

     6) List external configuration steps for Monitoring Agent

        for Oracle...

     7) Help...

_______________________________ <Function menu> _______________________________

 

     Please select an option or <CR> to exit: 2      

 

Candle DB config: Oracle Disk Search                              10/28/11 22:59

________________________________________________________________________________

10)     找不到后选择4 手动添加

     1) Search of scripts in the PATH, looking for ORACLE_HOME

     2) Display a list of Unix users that are possible Oracle owners....

     3) Specify a search starting point, usually the $HOME of the

        Oracle owner.  For example, ~oracle.  You can select

        this option multiple times with different starting points.

     4) Manually add a server

     5) All Oracle servers found.  Ready to specify login/passwords...

     6) Help

______________________________ <Search Options> ______________________________

 

     Please select an option or <CR> to exit: 4  

 

Candle DB config: Add server(s)                                   10/28/11 23:00

________________________________________________________________________________

11)     输入oracle的安装路径

     Enter ORACLE_HOME dir for server or <CR> to return  /oracle/app/oracle/product/9.2

    Allowing self-discovery to fill in details...

No Oracle servers known before search.

No Oracle servers known after search.

continuing with manual add...

12)     输入oracle的实例名

Enter Server name or enter to return to menu  notify            

13)     输入oracle版本号

Enter Oracle software release level  9.2               

14)     默认回车

Enter init.ora filename  (optional) 

15)     输入tivoli账号

Enter Oracle connect-id for notify:    <default=candle>  tivoli  

16)     输入密码

 

Enter Oracle password for tivoli                Candle DB config: Modify Oracle server db-gt3_or_notify           10/28/11 23:06

________________________________________________________________________________

 

        1) ORACLE_HOME:  /oracle/app/oracle/product/9.2

           If this is right, version is automaticaly updated.

 

        2) init.ora   :    (optional)

        3) Version    :  9.2

        4) login id   :  tivoli

        5) Password   :  <encrypted>

        6) Database TNS_ADMIN setting   :  /oracle/app/oracle/product/9.2/network/admin

        7) Extended Parameters   : 

        8) Display complete configuration details

        9) Help

___________________________ <Modify Server options> ___________________________

17)     回车就是了

     Please select an option or <CR> to exit:

 

Candle DB config: Oracle Disk Search                              10/28/11 23:06

________________________________________________________________________________

 

     1) Search of scripts in the PATH, looking for ORACLE_HOME

     2) Display a list of Unix users that are possible Oracle owners....

     3) Specify a search starting point, usually the $HOME of the

        Oracle owner.  For example, ~oracle.  You can select

        this option multiple times with different starting points.

     4) Manually add a server

     5) All Oracle servers found.  Ready to specify login/passwords...

     6) Help

______________________________ <Search Options> ______________________________

18)     回车就是了

     Please select an option or <CR> to exit:                           

 

Candle DB config: Oracle Options                                  10/28/11 23:29

________________________________________________________________________________

 

     1) All Oracle servers found.  Ready to specify login/passwords...

     2) Optional disk searches, manually add servers...

     3) Display or Modify defined servers...

     4) Exclude/Include a server from the configuration..

     5) Verify Monitoring Agent for Oracle installation

     6) List external configuration steps for Monitoring Agent

        for Oracle...

     7) Help...

_______________________________ <Function menu> _______________________________

19)     选1就是了 因为 手工添加了,这会可以找到,接下来的操作和平常的一样

 

     Please select an option or <CR> to exit: 1           Candle DB config: Login/Password for Oracle Servers               10/28/11 23:17

 

    () Server Name        | Version | Installation Status  | Login        |

---------------------------------------------------------------------------

    1) notify             | 9.2.0. | Fully Configured     | tivoli       |

---------------------------------------------------------------------------

    2) Specify the same login/password for all servers

    3) Specify login/password for each server in turn

 

    4) Help

___________________ <Select a server to display or modify> ___________________

20)     选1

     Please select an option or <CR> to exit: 1    

21)     输入账号

Enter Oracle connect-id for db-gt3_or_notify:    <default=candle>  tivoli

22)     选密码

Enter Oracle password for tivoli  tivoli

Candle DB config: Login/Password for Oracle Servers               10/28/11 23:18

 

    () Server Name        | Version | Installation Status  | Login        |

---------------------------------------------------------------------------

    1) notify             | 9.2.0. | Fully Configured     | tivoli       |

---------------------------------------------------------------------------

    2) Specify the same login/password for all servers

    3) Specify login/password for each server in turn

 

    4) Help

___________________ <Select a server to display or modify> ___________________

23)     接下来都是回车

     Please select an option or <CR> to exit:

 

Candle DB config: Oracle Disk Search                              10/28/11 23:18

________________________________________________________________________________

 

     1) Search of scripts in the PATH, looking for ORACLE_HOME

     2) Display a list of Unix users that are possible Oracle owners....

     3) Specify a search starting point, usually the $HOME of the

        Oracle owner.  For example, ~oracle.  You can select

        this option multiple times with different starting points.

     4) Manually add a server

     5) All Oracle servers found.  Ready to specify login/passwords...

     6) Help

______________________________ <Search Options> ______________________________

24)     接下来回车

 

     Please select an option or <CR> to exit:

Candle DB config: Oracle Options                                  10/28/11 23:18

________________________________________________________________________________

 

     1) All Oracle servers found.  Ready to specify login/passwords...

     2) Optional disk searches, manually add servers...

     3) Display or Modify defined servers...

     4) Exclude/Include a server from the configuration..

     5) Verify Monitoring Agent for Oracle installation

     6) List external configuration steps for Monitoring Agent

        for Oracle...

     7) Help...

_______________________________ <Function menu> _______________________________

25)     接下来回车

     Please select an option or <CR> to exit: CandleDBConfig: installation log is /tivoli/IBM/ITM/logs/db-gt3_dd_config.log

  (press enter)

 

配置到此完毕,接下来可以启动oracle agent

1)         切换到oracle 。

 [root@localhost bin]# su – oracle

2)         进入安装路径下的bin目录下。

[oracle@localhost ~]$ cd /opt/IBM/ITM/bin

3)         运行命令启动

oralce 10版本以上:./itmcmd agent -o <实例名> start rz启动 

oralce 9版本:./itmcmd agent -o <实例名> start or启动 

oracle@localhost bin]$ ./itmcmd agent -o wmstest start rz

Processing. Please wait...

Starting Monitoring Agent for Oracle Database Extended ...

Monitoring Agent for Oracle Database Extended started

4)         查看启动后状态。

[oracle@localhost bin]$ ./cinfo -r

 

*********** Wed Jan 16 12:14:09 CST 2013 ******************

User: oracle Groups: dba

Host name : localhost    Installer Lvl:06.23.01.00

CandleHome: /opt/IBM/ITM

***********************************************************

Host       Prod  PID    Owner   Start  ID       ..Status 

localhost  lz    26669  root    12:10  None     ...running

localhost  rz    2049   oracle  12:13  wmstest  ...running

 

5)         登录到TEP查看状态(限oralce 9版本的)

按照下图的的,方法,点开如下界面,如果看到 server status 和collection status 都为Active 证明状态正常,如果不是,需要排除错误。

 

5 安装配置IIS agent

1.  安装介质存放在FTP 服务器10.30.1.25上 /BSM项目/系统监控软件Agent/Windows/ microagent_for_win.zip

2.  注意下载后介质存放在本机的路径请注意不要存在有中文字符的路径下,不然安装会报错。

3.  解压安装包

4.  点击setup.exe开始安装:

 

5.  出现下图,选择“我接受许可协议中的全部条款”,点击下一步。

 

6.  出现下图,选择安装路径。默认为C:\IBM\ITM, 可以点击右侧的浏览按钮修改安装位置,这里不作修改,选择默认位置,点击下一步。

 

7.  出现下图,输入键值,这里选择默认,不作修改,直接选择下一步即可。

 

8.  出现下图对话框,点击确定。

 

9.  默认选择下一步

 

10.              选择如下的安装组件,然后点击下一步。

 

11.              查看安装信息,点击下一步。

 

12.              点击是。

 

13.              点击下一步。

 

14.              设置监控httperror的日志,一般为默认(要查看该目录是否存在)。然后点击确定

 

15.              点击完成,完成安装。 完成安装会弹出配置界面,如果没有弹出配置界面,也可用通过第15步的界面打开。

 

16.              13、输入Agent指向TEMS所在机器的主机名或者IP地址。这里需要输入itmserver.zte.intra

 

17.              点击确定完成配置,通常agent 会自动运行,查看一下窗口,确认是否在运行,如下图,如果没有可以手动启动。

 

18.              ITM管理界面的打开,通过下图所示路径打开ITM管理界面。

 

19.              在管理界面中选中Agent,然后点击绿灯图标为启动,点击红灯图标为关闭,关闭后的状态为 如果有小人在跑 ,即为Agent正在运行。

6 安装配置WAS agent

6.1 安装WAS agent for WAS 6.1和补丁包

1.  安装介质存放在FTP 服务器10.30.1.25 /BSM项目/系统监控软件Agent/LinuxandUnix/wasagent_for_linux.tar

2.  上传介质到合适的地方。

3.  解压安装包:tar  -xvf  wasagent_for_linux.tar

4.  输入./install.sh开始安装

 

5.  输入安装路径,并确认(/opt/tivoli/ITCAM) 选择产品安装在本地上选择1.

 

6.  经过确认协议后,提示需要安装必备的软件,默认安装,选择1.

 

 

7.  安装完必备的包后,下一步选择1。

 

8.  是否正确选择那里选择1,接下来选择1 。

 

9.  是否正确选择那里选择1,是否安装其他产品选择2 。接下来安装默认直至安装完成。

 

安装补丁包的过程和上面一样。

补丁包介质存放在FTP 服务器10.30.1.25 /BSM项目/系统监控软件Agent/LinuxandUnix/wasagent_for_linux-IF0011.tar,请重复以上的过程把补丁包安装上去。

 

6.2 配置WAS agent for WAS 6.1

1.  进入was的安装路径 的bin 目录下。

2.  运行./itmcmd manage 打开管理界面

 

 

3.  点击ITCAM 节点右键,选择配置

 

4.  选择第一个配置,配置Tivoli Enterprise Monitoring Agent 然后下一步。

 

5.  节点标识为自定义,然后点击下一步。

 

6.  选择响应文件,然后点击下一步。

 

7.  点击确定。

 

8.  配置监控server的IP,点击保存

 

itmserver.zte.intra

9.  重新选择该agent点击配置。

 

10.              回到第4步的界面,选择配置应用服务器中的数据收集器

 

11.              将“启动与管理服务器通讯……”把勾去掉。

 

12.              点击下一步

 

13.              如图选择

 

14.              如图勾选。

 

15.              下面可以选择需要的服务器。勾选。(如果是要下次增加,就要近来勾选,然后重配重启,包括was)。注意:主机名要输入装有was控制台的机器IP。

 

16.              验证连接

 

17.              如图选择

 

18.              如图正在配置

 

19.              点击确定

 

20.              最后点击保存退出。配置完WAS agent 后要节点同步和重启was 。

6.3 安装WAS agent for WAS 8.5

6.3.1 linux安装WAS agent

1、安装介质存放在FTP 服务器10.30.1.25 /BSM项目/系统监控软件Agent/LinuxandUnix/ was85agent_for_linux.tar.gz

2、下载介质到合适的地方。

3、  解压安装包:tar  -xzvf  was85agent_for_linux.tar.gz

4、输入./install.sh开始安装,如下所示,下面标红色表标粗的地方注意选择

[root@itsprodapp2 wasagent]# ./install.sh

INSTALL

 

WARNING: SELinux (Secure Enhanced Linux) is set to "enforced" or "permissive" mode. "Enforced" mode is not supported by IBM Tivoli Monitoring. "Permissive" mode may require additional system configuration steps. Perform the following steps to set the mode to "disabled" or refer to IBM Tivoli Monitoring documentation for more details:

1. Set SELinux "disabled" mode.

2. Reboot the system.

3. Execute the "prelink -a" command before restarting the ITM installation.

请输入 IBM Tivoli Monitoring 目录的名称

[ 缺省值 = /opt/IBM/ITM ]: /IBMAgent/IBM/ITM   

 

ITM 主目录 "/IBMAgent/IBM/ITM" 不存在,是否创建。

确定使用它 [ 1-是, 2-否; "1" 为缺省值 ]?

  1

选择以下某一项:

 

1) 将产品安装到本地主机上。

2) 将产品安装到库以进行远程部署(需要 TEMS)。

3) 安装用于远程种子植入的 TEMS 支持

4) 退出安装。

 

请输入有效的编号:  1

 

正在初始化 ...

国际程序许可协议

 

第一部分 - 通用条款

 

下载、安装、复制、访问、单击“接受”按钮,或以其他方式使用程序,即

表明被许可方同意本协议的条款。如果您代表被许可方接受此类条款,则您

陈述并保证您拥有完全的授权以使该被许可方接受此类条款的约束。如果您

不同意此类条款,

 

* 则请勿下载、安装、复制、访问、单击“接受”按钮,或使用程序;并

 

* 立即将未使用的介质、文档和权利证明退还至提供方,以便获得您所支

付金额的退款。如果下载了程序,那么请销毁程序的所有副本。

 

 

按 Enter 键继续查看本许可协议或按 "1" 接受本协议,按

"2" 拒绝本协议,按 "3" 打印本协议,按 "4" 阅读非

IBM 条款,按 "5" 用英语查看,或按 "99" 回到上一屏

幕。

1

 

 /data/software/wasagent/unix 中提供了产品软件包

 

以下产品当前已安装在“/IBMAgent/IBM/ITM”中:

 

  IBM GSKit Security Interface V07.40.27.00 @ Linux Intel R2.4 (32 bit)/Intel R2.6 (32 bit)/x86_64 R2.6 (32 bit)

  IBM GSKit Security Interface V07.40.27.00 @ Linux x86_64 R2.6 (64 bit)

  Monitoring Agent for Linux OS V06.23.01.00 @ Linux x86_64 R2.6 (64 bit)

  Tivoli Enterprise Services User Interface V06.23.01.00 @ Linux x86_64 R2.6 (64 bit)

 

 

所有代理程序都需要包含特定于代理程序的信息的应用程序支持文件安装在代理程序将连接的 Tivoli Enterprise Monitoring Server 上、Tivoli Enterprise Portal Server 上以及 Tivoli Enterprise Portal 桌面和浏览器客户端上。 在开始安装任何 Tivoli Enterprise Monitoring 代理程序之前,请先安装应用程序支持。

 

可用于该操作系统和组件支持类别的产品软件包:

 

 1) 该操作系统的 IBM Tivoli Monitoring 组件

 2) Tivoli Enterprise Portal Browser Client 支持

 3) Tivoli Enterprise Portal Desktop Client 支持

 4) Tivoli Enterprise Portal Server 支持

 5) Tivoli Enterprise Monitoring Server 支持

 6) 其他操作系统

 

输入编号或输入“q”以退出选择

[ 编号“1”或“该操作系统的 IBM Tivoli Monitoring 组件”是缺省值 ]:  1

 

已选择编号“1”或“该操作系统的 IBM Tivoli Monitoring 组件”

 

是正确的选择 [ 1=是,2=否;缺省值为“1”]?

 

以下产品可供安装:

 

 1) ITCAM Agent for WebSphere Applications  V07.20.00.00

 2) Tivoli Enterprise Services User Interface Extensions  V06.22.02.00

 3)  以上所有产品

 

输入想要安装的产品编号,输入“b”以更改操作系统,或输入“q”以退出选择。

如果输入多个编号,请用逗号或者空格进行分隔。

 

请在此处输入您的选择:  1

 

将安装以下产品:

 

  ITCAM Agent for WebSphere Applications  V07.20.00.00

 

您的选择是否正确 [ 1=是,2=否;缺省值为“1”]? 1

 

 ... 正在安装“ITCAM Agent for WebSphere Applications  V07.20.00.00 for Linux x86_64 R2.6 (64 bit)”;请等待。

 

 => 已安装“ITCAM Agent for WebSphere Applications  V07.20.00.00 for Linux x86_64 R2.6 (64 bit)”。

正在初始化 Linux x86_64 R2.6 (64 bit) 的组件 ITCAM Agent for WebSphere Applications  V07.20.00.00...。

... Linux x86_64 R2.6 (64 bit) 的 ITCAM Agent for WebSphere Applications  V07.20.00.00 已初始化。

 

 

是否要安装其他产品或产品支持软件包 [ 1=是,2=否;缺省值为“2”]? 2

... 正在进行后处理;请等待。

... 后处理已完成。

安装步骤已完成。

安装程序已找到以下产品的其他过程:

 *) ITCAM Agent for WebSphere Applications

 

将立即运行这些过程。

 

 

调用 ITCAM Agent for WebSphere Applications 的出口点:

 

在 /IBMAgent/IBM/ITM/dchome 下面找到了数据收集器 V7.2.0.0.1 的安装,将复用该安装。已跳过数据收集器安装步骤。

 

下一步,您应该使用 ITCAM Data Collector for WebSphere 配置实用程序配置 Data Collector。 在此实用程序中,选择一个或多个要使用 ITCAM Data Collector for WebSphere 7.2 配置的应用程序服务器。 对于任何已经使用先前版本的 Data Collector 配置的应用程序服务器,则必须运行 ITCAM Data Collector for WebSphere 迁移实用程序(migrate.sh 或 migrate.bat)将数据收集器配置从先前版本的 Data Collector 迁移到新 Data Collector。 正在启动 ITCAM Data Collector for WebSphere 配置实用程序.....

 

环境变量:

 

  ITCAM_CONFIGHOME=/IBMAgent/IBM/ITM/dchome/7.2.0.0.1

 

------------------------------------------------------------------------

-  ITCAM Data Collector for WebSphere 配置实用程序                     -

-                                                                      -

-  此实用程序将引导您完成配置数据收集器过程中                          -

-  的有关步骤:                                                        -

-  1. 选择一个或多个应用程序服务器                                     -

-  2. 将数据收集器与一个或多个组件集成:                               -

-    a. ITCAM for SOA Agent                                            -

-    b. ITCAM Agent for WebSphere Applications                         -

-    c. ITCAM for Application Diagnostics Managing Server              -

-    d. ITCAM for Transactions                                         -

-    e. Tivoli Performance Viewer                                      -

-    f. ITCAM 诊断工具                                                 -

-  3. 指定高级数据收集器设置                                           -

-  4. 复查和修改配置设置                                               -

-  5. 应用配置设置                                                     -

-                                                                      -

-  此实用程序会将数据收集器配置设置应用到您指定的所有                  -

-  应用程序服务器。                                                    -

-                                                                      -

-  在每个提示处,可以输入“q”退出实用程序或者输入“?”获取帮助。      -

------------------------------------------------------------------------

 选择”q,退出配置。

6.3.2 6.3.2 window安装WAS agent

1.安装介质存放在FTP 服务器10.30.1.25 /public/BSM项目/IBM/系统监控软件Agent/Windows/ ITCAM_AGT_FOR_WEBSP_APP_7.2_WIN_EN.zip

2.下载介质到合适的地方。

3.解压安装包并开始安装(解压包之前,注意关闭麦咖啡),如下图所示

 

 

4.选择接受协议

 

5.选择需要安装的组件,如下图所示选择

 

 

6.配置数据采集器指向

 

7.选择安装“Dada Collector”

 

 

8.选择“q”退出,使用1.3的方法配置DC

 

 

6.4配置WAS agent for WAS 8.5

  1. 用VNC方式登录服务器,打开终端,设置java_home变量,其值为was安装目录下的java路径。(window的启动cmd)

Windows:set  JAVA_HOME=D: /IBM/WebSphere/AppServer/java

Linux: export JAVA_HOME=/opt/IBM/WebSphere/AppServer/java

  1. 2.       进入到IBM was监控的安装目录,本例为/IBMAgent/IBM/ITM/dchome/7.2.0.0.1/bin,启动config.sh(windows:config.bat),进入如下图所示:window的类似)

 

3.按照下面截图所示进行配置

 

4.输入登录was控制台的账号和密码

 

 

5.选择需要配置的server

 

6.选择是否需要SOA集成,这个选择“否”

 

7.选择是否与“WAS”集成,这里选“是”,主机名默认为本机,端口为63335.

 

8.选择是否与“MS”、“TT”、“Tivoli Performance Viewer”集成,这里都选择“否”

 

9. 选择是否与“ITCAM诊断工具”、“制定垃圾回收日志文件路径名”集成,这里都选择“否”

 

10.确认配置

 

11.选择“a”确认和保存所有配置

 

12.重启WAS的server(对于多个server,需要每个server重启),并重启WAS监控agent。

 

 

7 安装配置监控Agent(WRT)

7.1 WINDOWS平台上安装WRT Agent

  1. 在Agent安装之前请先安装好Winpcap。
  2. WinPcap安装介质存放在FTP 服务器10.30.1.25 /BSM项目/系统监控软件Agent/ Windows / WinPcap_4_1_3.exe
  3. 点击WinPcap安装文件,打开以下界面,点击“Next”执行下一步操作。

 

  1. 选择“I Agree”跳转到下一个界面

 

  1. 钩选自启动项,点击“INSTALL”执行安装。

 

  1. 安装完成后点击“Finish”,安装结束。

 

  1. 安装完WinPcap后,将进行WRT的安装。在安装之前,请从FTP服务器上下载WRT安装介质: WRT Agent安装介质存放在FTP 服务器10.30.1.25 /BSM项目/系统监控软件Agent/ Windows /wrtagent_for_windows.zip
  2. 解压安装文件,点击“setup.exe”安装文件。

 

  1. 根据向导提示选择“”

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

  1. 指定需要监控的协议类型(HTTP、HTTPS或者所有的TCP)。

 

  1. 如果是使用端口镜像做远端监控的时候,请选择远端监控模式。如以下截图所示。

 

  1. 选择监控数据的处理方式,包括数据的收集、汇总和显示时间。以及保存数据的大小等。

 

 

 

 

 

 

 

 

7.2 Linux平台上安装WRT Agent

  1. WRT Agent安装介质存放在FTP 服务器10.30.1.25 /BSM项目/系统监控软件Agent/ Windows /wrtagent_for_Linux.zip

[root@tivoli01 rt]#unzip wrtagent_for_Linux .zip

[root@tivoli01 ITCAMTRAN_7.3.0.1_RT_LINUX,_EN]# ./install.sh

INSTALL

 

请输入 IBM Tivoli Monitoring 目录的名称

[ 缺省值 = /opt/IBM/ITM ]:

 

ITM 主目录 "/opt/IBM/ITM" 已经存在。

确定使用它 [ 1-是, 2-否; "1" 为缺省值 ]? 

 

选择以下某一项:

 

1) 将产品安装到本地主机上。

2) 将产品安装到库以进行远程部署(需要 TEMS)。

3) 安装用于远程种子生成的 TEMS 支持

4) 退出安装。

 

请输入有效的编号:  1             

 

正在初始化 ...

国际程序许可协议

 

第一部分 - 通用条款

 

下载、安装、复制、访问、单击“接受”按钮,或以其他方式使用程序,即

表明被许可方同意本协议的条款。如果您代表被许可方接受此类条款,则您

陈述并保证您拥有完全的授权以使该被许可方接受此类条款的约束。如果您

不同意此类条款,

 

* 则请勿下载、安装、复制、访问、单击“接受”按钮,或使用程序;并

 

* 立即将未使用的介质、文档和权利证明退还至提供方,以便获得您所支

付金额的退款。如果下载了程序,那么请销毁程序的所有副本。

 

 

按 Enter 键继续查看本许可协议或按 "1" 接受本协议,按

"2" 拒绝本协议,按 "3" 打印本协议,按 "4" 阅读非

IBM 条款,按 "5" 用英语查看,或按 "99" 回到上一屏

幕。

1

 

 /media/itcam/rt/ITCAMTRAN_7.3.0.1_RT_LINUX,_EN/unix 中提供了产品软件包

 

可用于该操作系统和组件支持类别的产品软件包:

 

 1) 该操作系统的 IBM Tivoli Monitoring 组件

 2) Tivoli Enterprise Portal Browser Client 支持

 3) Tivoli Enterprise Portal Desktop Client 支持

 4) Tivoli Enterprise Portal Server 支持

 5) Tivoli Enterprise Monitoring Server 支持

 6) 其他操作系统

 

输入编号或输入“q”以退出选择

[ 编号“1”或“该操作系统的 IBM Tivoli Monitoring 组件”是缺省值 ]:  1

已选择编号“1”或“该操作系统的 IBM Tivoli Monitoring 组件”

 

是正确的选择 [ 1=是,2=否;缺省值为“1”]?

 

以下产品可供安装:

 

 1) ITCAM Console  V07.30.01.00

 2) ITCAM File Transfer Enablement  V07.21.01.00

 3) ITCAM for Client Response Time  V07.30.01.00

 4) ITCAM for Robotic Response Time  V07.30.01.00

 5) ITCAM for Web Response Time  V07.30.01.00

 6)  以上所有产品

 

输入想要安装的产品编号,输入“b”以更改操作系统,或输入“q”以退出选择。

如果输入多个编号,请用逗号或者空格进行分隔。

 

请在此处输入您的选择:  5

 

将安装以下产品:

 

  ITCAM for Web Response Time  V07.30.01.00

 

您的选择是否正确 [ 1=是,2=否;缺省值为“1”]?

 

 ... 正在安装“ITCAM for Web Response Time  V07.30.01.00 for Linux Intel R2.6 (32 bit)”;请等待。

 

 => 已安装“ITCAM for Web Response Time  V07.30.01.00 for Linux Intel R2.6 (32 bit)”。

正在初始化 Linux Intel R2.6 (32 bit) 的组件 ITCAM for Web Response Time  V07.30.01.00...。

 

 

[root@tivoli01 bin]# pwd

/opt/IBM/ITM/bin

[root@tivoli01 bin]# ./itmcmd manage

 

 

  1. 如果是使用端口镜像做远端监控的时候,请选择远端监控模式。如以下截图所示。

 

  1. 默认选择

 

  1. 选择监控数据的处理方式,包括数据的收集、汇总和显示时间。以及保存数据的大小等。

 

 

 

 

 

 

 

 

 

8 安装后检查

安装后并且已经启动agent了,除了可以在启动的界面上查看agent的运行状态,还必须到TEP上查看agent的接到单是否出现,或者可以成功采集数据。

查看的方法为:

在浏览器里面输入http://10.30.13.102:1920/

 

点击 登录

用账号为: sysadmin  密码为空

如图。在登录框内填入用户名(登录标识)和密码

 

进入到TEP界面后,查看刚刚安装的主机和agent都在左边的导航栏出现了没有,部分agent 还需要等待一段时间,等待时如果出现 点击刷新一下,这是证明导航栏节点在更新。最终能在左边的导航栏看到,并且点击agent进去后可以采集到数据,证明agent安装成功。如果采集不到,需要排除原因。

 

如果采集不到,需要重启agent 或排除原因。

如果agent节点在TEP导航栏上显示不出来。原因有可能:

  1. agent配置指向的主机错误(不是itmserver.zte.intra) 解决方法为:改成正确的主机名
  2. 网络问题 ping 10.30.13.102 不通  解决方法为:协调开通
  3. 有防火墙阻隔 telnet 10.30.13.102 1918 不通  解决方法为:去掉防火墙1918 端口的阻隔

最后,安装完毕后,请记得把安装的介质删除,释放空间!!

9 卸载agent

9.1 卸载WINDOWS平台上的agent

卸载windows 平台上的agent,首先要关闭所有agent的运行。通过以下路径打开ITM管理界面。

 

在管理界面中选中所有agent,然后点击红灯图标 将其关闭,关闭后的状态为 如果有小人在跑 ,为agent正在运行,需要关闭。

 

关闭完agent后,打开windows的添加或删除程序界面,选择如图所选的地方,点击删除,进行卸载。

 

卸载真正进行。

 

选择除去,然后点击,下一步。

 

提示你卸载的内容,点击下一步,弹出确认卸载窗口,点击确定。

 

正在卸载中。

 

产品卸载完成点击完成退出。

 

这个时候在TEP上会相应的节点变灰,通知ITM管理员或自己把它清除脱机条目。在同一台主机下可能会有多个agent的节点变灰,都一并把它清除脱机条目。

 

自此windows平台的agent卸载完毕。

9.2 卸载LINUX/UNIX平台的agent

进入ITM安装路径:cd /opt/IBM/ITM/bin

查看哪些agent正在运行:./cinfo  -r

关闭正在运行的agent:./itmcmd agent stop all

再次确认还有哪些agent没有被关闭:./cinfo –r

如果都已经关闭就可以开始卸载.

如果还有在运行的,可以再尝试关闭:./itmcmd agent stop lz

其中lz 为linux agent的产品标识 ;UA 为um ;

如果有Oracle agent 的需要用./ itmcmd agent –o 实例名 stop rz

例如:./itmcmd agent –o db2inst1 stop rz

当所有agent都关闭后可以卸载agent 运行脚本:./uninstall.sh

会提示你哪些agent可以卸载,选择需要卸载的agent的编号,然后按确定。

 

需要你确认是否卸载,输入1 然后回车。卸载完其中一个后,还是会回到提示你哪些agent可以卸载界面,继续选择下一个需要卸载的agent,然后卸载。剩下的操作和上面类似。

 

当完全卸载完毕后,系统会提示你要不要删除/opt/IBM/ITM 路径,选择确认删除。

卸载完,在TEP上会相应的节点变灰,通知ITM管理员或自己把它清除脱机条目。在同一台主机下可能会有多个agent的节点变灰,一并把它清除脱机条目。

 

自此LINUX/UNIX平台的agent卸载完毕。

10 问题汇总

10.1 监控平台部署问题(SCAPM)

问题编号

M001

所属类型

Oracle数据库监控

运行环境

windows 2003+oracle 10.2.0.5

问题描述

配置oracle Agent提示ora-12514报错

原因

监听程序不能识别给定的SID

解决办法

修改oracle连接串为tnsname方式

备注

 

 

问题编号

M002

所属类型

Oracle数据库监控

运行环境

Redhat Linux4+oracle 9.2

问题描述

无法监控数据

原因

新版本Agent不支持对9i的监控

解决办法

重新安装agent for oracle 9,使用6.2.2版本

备注

 

 

问题编号

M003

所属类型

Oracle数据库监控

运行环境

Redhat Linux4+oracle10.2

问题描述

配置时报ora-12641的数据库错误

原因

数据库验证服务设置问题

解决办法

修改sqlnet.ora文件,将认证方式从ALL设置为NONE

备注

 

 

问题编号

M004

所属类型

WAS中间件监控

运行环境

Redhat Linux4+WAS6.1

问题描述

DC配置时报节点同步错误,如下图所示:

    

    

原因

1、  Agent本身存在问题,需要打补丁.

2、  WAS的配置同步有问题。

解决办法

1、  为WAS监控Agent安装” 7.1.0.2-TIV-ITCAMAD_WS   -IF0011”补丁。

2、  手动执行WAS NODE的配置同步命令,并重启控制台和NODE。

备注

 

 

 

问题编号

M005

所属类型

WAS中间件监控

运行环境

Redhat Linux4+WAS6.1

问题描述

在配置WAS 选择websphere 概要文件时,在下面的输入用户名和密码后,点击下一步,出现账户、密码或端口被占用的错误。经过排除账户、密码或端口都没有错。如下图所示:

    

原因

WAS自身的一个debup,如果密码中出现“_”就会出现。

解决办法

勾选下面的“使用soap.client.props……”选项,然后等待系统重新弹出一个输入密码和账号的框,输入密码和账号即可!!

备注

 

 

问题编号

M006

所属类型

Linux OS安装

运行环境

Redhat Linux 6.3

问题描述

安装的时候,出现如下的错误:

runGSkit 失败:  Return error code: 99.

runGSkit 失败:  GSKit check failure, script:   /opt/IBM/ITM/li6243/gs/bin/private_verifyinstall -x.

runGSkit 失败:    li6243 - GSK check error, verifyInstall test failed.

install.sh 失败:Return error code: 4。

 

原因

缺少compat-libstdc++-33-3.2.3-61.s390.rpm这个包导致的

解决办法

安装compat-libstdc++-33-3.2.3-61.s390.rpm

备注