Cisco SCMS Collection Manager问题

安装Collection Manager真是麻烦,每次都会碰到不少问题,有时莫名其妙的运行正常,有时始终不行,这次安装CM3.1.6时又碰到SCE与CM之间无数据传输, 以下是查找的相关信息。
 1、查看SCE RDR信息:
 SCE#show RDR-formatter
 Status: enabled
 Connection is: up
Forwarding mode: multicast
Connection Table:
 -----------------------------------------------------------
 | Collector      | Port |Status| Priority per Category:              |
| IP-Address / |         |         |-------------------------------|
| Host-Name   |         |        | Category1 | Category2 | Category3 | Category4 |
|--------------|-------|-----|-----|------|------|-----|
| 10.15.16.13 | 33000 | up | 100 | 100 | 100 | 100 |
| 10.15.16.12 | 33000 | up | 90 | 90 | 90 | 90 |
-----------------------------------------------------
RDR: queued: 0 ,sent: 0, thrown: 0, format-mismatch: 0
UM: queued: 0 ,sent: 0, thrown: 0
Logger: queued: 0 ,sent: 0, thrown: 0
Errors: thrown: 0
从上面可以看出CM运行似乎没有问题,但Sent 数据为0。

查看SCE log信息,LOG中有如下信息:
2008-10-30 13:03:48 | INFO | CPU #000 | Formatter connection closed: address 10.15.16.12, port 33000.
2008-10-30 13:04:48 | INFO | CPU #000 | Formatter connection opened: address 10.15.16.12, port 33000.
2008-10-30 13:08:00 | INFO | CPU #000 | Formatter connection closed: address 10.15.16.13, port 33000.
2008-10-30 13:08:00 | INFO | CPU #000 | Formatter connection opened: address 10.15.16.13, port 33000.
2008-10-30 13:14:49 | INFO | CPU #000 | Formatter connection closed: address 10.15.16.12, port 33000.
2008-10-30 13:14:49 | INFO | CPU #000 | Formatter connection opened: address 10.15.16.12, port 33000.
2008-10-30 13:18:01 | INFO | CPU #000 | Formatter connection closed: address 10.15.16.13, port 33000.
2008-10-30 13:18:01 | INFO | CPU #000 | Formatter connection opened: address 10.15.16.13, port 33000.
 
2、查看CM相关信息
 -bash-3.00$ ./sceconf.sh --op=list
IP                Rate           Peak
 ------------ ----------- -----------
10.15.16.78 0.0            0.0
Command terminated successfully

-bash-3.00$ ./rdr-rate.py
0.0
从上面两个命令都可以看出RDR rate为0

-bash-3.00$ ./dbtables.sh
Executing query ...
name                  | num_lines    | min_time     | max_time|
 ----------------+------------+------------+----------+ 
         RPT_SUR| 0                 | null             | null| 
         RPT_LUR| 0                 | null             | null| 
      RPT_VLUR| 0                 | null             | null| 
         RPT_PUR| 0                  | null             | null| 
            RPT_TR| 0                 | null             | null| 
   RPT_MALUR| 0                 | null             | null| 
    RPT_MEDIA| 0                 | null             | null|
RPT_TOPS_PERIOD0| 2970  | 2008-10-29 17:00:00.0| 2008-10-30 10:00:00.033|
RPT_TOPS_PERIOD1| 165    | 2008-10-30 00:00:00.016| 2008-10-30 00:00:00.016|
查看数据库表,没有统计数据。

查看cm.log,有如下信息:
2008-10-30 13:29:18,785 [RPC Server] INFO com.pcube.logger.userlog.UserLog - DC: PRPC connection to /127.0.0.1 established, client name is usr.CLU, session name is rpc-0.
2008-10-30 13:29:18,924 [rpc-0-[worker#3]:usr.CLU] INFO com.pcube.logger.userlog.UserLog - DC: PRPC connection to /127.0.0.1 closed OK: peer terminated connection: user request.

2008-10-30 15:30:47,590 [rdrconn/10.15.16.78/2226] WARN com.cisco.scmscm.server.RDRProcessor - Client Socket timed out waiting.
java.net.SocketTimeoutException: Read timed out
        at java.net.SocketInputStream.socketRead0(Native Method)
        at java.net.SocketInputStream.read(Unknown Source)
        at java.io.BufferedInputStream.fill(Unknown Source)
        at java.io.BufferedInputStream.read(Unknown Source)
        at java.io.DataInputStream.readUnsignedByte(Unknown Source)
        at com.cisco.scmscm.server.RDRProcessor.getRdrFromStream(RDRProcessor.java:90)
        at com.cisco.scmscm.server.RDRConnection.run(RDRConnection.java:78)
2008-10-30 15:30:47,591 [rdrconn/10.15.16.78/2226] INFO com.cisco.scmscm.server.RDRServer - Cumulative results = 0 RDRs, 0 bad RDRs, rate = 0.0 peak = 0.0
2008-10-30 15:30:47,591 [rdrconn/10.15.16.78/2226] INFO com.cisco.scmscm.server.RDRServer - Connection from 10.15.16.78:2226 closed on 33000 after 599 sec.
2008-10-30 15:30:47,591 [rdrconn/10.15.16.78/2226] INFO com.pcube.logger.userlog.UserLog - RDR Server: Connection from 10.15.16.78:2226 closed.
2008-10-30 15:30:48,370 [rdr lsnr/33000] INFO com.cisco.scmscm.server.RDRServer - Connection from 10.15.16.78:2228 on port 33000 opened.
2008-10-30 15:30:48,370 [rdr lsnr/33000] INFO com.pcube.logger.userlog.UserLog - RDR Server: Connection from 10.15.16.78:2228 opened.

查看adapter-JDBCAdapter.log有如下信息
2008-10-30 13:22:35,575 [main] ERROR com.cisco.scmscm.db.JdbcConnection.RPT_SUR - JdbcConnection - got SQLException
java.sql.SQLException: JZ006: Caught IOException: java.net.ConnectException: Connection refused 
      at com.sybase.jdbc2.jdbc.ErrorMessage.raiseError(ErrorMessage.java:533) 
      at com.sybase.jdbc2.jdbc.ErrorMessage.raiseErrorCheckDead(ErrorMessage.java:837) 
      at com.sybase.jdbc2.tds.Tds.handleIOE(Tds.java:3558) 
      at com.sybase.jdbc2.tds.Tds.handleIOE(Tds.java:3503) 
      at com.sybase.jdbc2.tds.Tds.login(Tds.java:421) 
      at com.sybase.jdbc2.jdbc.SybConnection.tryLogin(SybConnection.java:247) 
      at com.sybase.jdbc2.jdbc.SybConnection.regularConnect(SybConnection.java:223) 
      at com.sybase.jdbc2.jdbc.SybConnection.(SybConnection.java:198) 
      at com.sybase.jdbc2.jdbc.SybConnection.(SybConnection.java:132) 
      at com.sybase.jdbc2.jdbc.SybDriver.connect(SybDriver.java:179) 
      at com.cisco.scmscm.db.JdbcConnection.connect(JdbcConnection.java:96) 
      at com.cisco.scmscm.db.JdbcConnection.(JdbcConnection.java:80) 
      at com.cisco.scmscm.db.DbInserter.openConnection(DbInserter.java:483) 
      at com.cisco.scmscm.db.DbInserter.(DbInserter.java:118) 
      at com.cisco.scmscm.adapters.jdbc.JDBCAdapter.init(JDBCAdapter.java:175) 
      at com.cisco.scmscm.adapters.jdbc.JDBCAdapter.(JDBCAdapter.java:129) 
      at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) 
      at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source) 
      at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source) 
      at java.lang.reflect.Constructor.newInstance(Unknown Source) 
      at com.cisco.scmscm.adapters.BaseAdapter.main(BaseAdapter.java:275)
2008-10-30 13:22:35,590 [main] ERROR com.cisco.scmscm.db.JdbcConnection.RPT_SUR - JdbcConnection - sleeping 30 sec, got SQLException again - JZ006: Caught IOException: java.net.ConnectException: Connection refused
有错误产生。

通过以上信息也看不出问题所在,还请各位高手多多指点。

posted on 2008-10-30 14:15 梯玛 阅读(1164) 评论(2)  编辑 收藏 引用 所属分类: 网络知识

评论

# re: Cisco SCMS Collection Manager问题 2008-11-20 09:18 梯玛

通过查看SCE状态,发现Linecard 0处于shutdown
show interface LineCard 0
The application assigned to slot 0 is /tffs0/app/eng31679.sli
Silent is off
Configured shutdown is on
Shutdown due to sm-connection-failure is off
Resulting current shutdown state is on
WAP handling is disabled

当用no shutdown命令打开时, RDR Rate 就不为零了, 但不用多久又变为零了,Log信息如下:
2008-11-13 16:33:21 | INFO | CPU #000 | Starting Line Card on slot 0 state change to no shutdown
2008-11-13 16:33:21 | INFO | CPU #000 | Linecard on slot 0 is enabled
2008-11-13 16:43:49 | FATAL | CPU #000 | SE Self Sanity Checks Module: A Fatal Error occurred. Please report to Cisco's customer support
2008-11-13 16:43:50 | ERROR | CPU #000 | SE Watchdog Module: An Error occurred. Please report to Cisco's customer support
2008-11-13 16:43:50 | ERROR | CPU #000 | SE Watchdog Module: An Error occurred. Please report to Cisco's customer support
2008-11-13 16:43:51 | WARN | CPU #000 | SE Watchdog Module: A problem occurred. Please report to Cisco's customer support
2008-11-13 16:43:51 | INFO | CPU #000 | Party data base was closed.

实在不知道是什么原因,只好向思科开Case了。  回复  更多评论   

# re: Cisco SCMS Collection Manager问题 2009-02-01 10:44 梯玛

后经Cisco TAC诊断也未查出什么问题, 还是用no shutdown命令操作后就正常了。
我猜可能是我用no shutdown命令后忘记保存了, 系统在异常重启时又恢复原样了。
Silly me.  回复  更多评论   

只有注册用户登录后才能发表评论。

导航

<2008年11月>
2627282930311
2345678
9101112131415
16171819202122
23242526272829
30123456

统计

常用链接

留言簿(1)

随笔分类

随笔档案

文章分类

搜索

最新评论

阅读排行榜

评论排行榜