SCA BB Console Templates 中无可选SCE IP问题

今天重新安装了SCE CM3.1.6解决了sybdata目录占用空间十分大的问题,原来是在安装过程中一个参数设置问题,如下:
Waiting for Sybase to come up... (1 of 60)
calling configuration sequence...Starting Sybase configuration sequence
Waiting for Sybase to come up... (0 of 60)
Please enter SIZE in 2K blocks of file to be used for the "data[maximum is 41661909; minimum is 5242798]" device.
NOTE - the actual size required will include a 1.05 overhead on the amount you specify.
SIZE in 2K blocks: 15728394
Do you want to input the values again? (yes/no): no

在前面安装过程中,一直设置为最大41661909,使硬盘占用达到80G左右,同时安装速度也很慢。后来计算了下设置成15723894,即最小5242798的3倍。

安装完成后,测试OK
-bash-3.00$ ./alive.sh
STATUS OK

-bash-3.00$ ./on-boot.py
sybase:  on
cm:  on
-bash-3.00$

可是在准备用SCA BB Console查看流量监控图像时,发现“Window -> Preferences -> Reporter -> Templates -> IP of SCE for policy data ”下拉框中无可选的SCE IP。 查看SCA BB Console日志部分信息如下:
!ENTRY com.cisco.p3.apps.reporter 4 4 2008-10-03 13:51:02.437
!MESSAGE VelocityTools::sqlToNestedMaps - error executing sql
!STACK 0
com.sybase.jdbc2.jdbc.SybSQLException: INI_VALUES not found. Specify owner.objectname or use sp_help to check whether the object exists (sp_help may produce lots of output).

 at com.sybase.jdbc2.tds.Tds.processEed(Tds.java:2884)
 at com.sybase.jdbc2.tds.Tds.nextResult(Tds.java:2206)
 at com.sybase.jdbc2.jdbc.ResultGetter.nextResult(ResultGetter.java:69)
 at com.sybase.jdbc2.jdbc.SybStatement.nextResult(SybStatement.java:220)
 at com.sybase.jdbc2.jdbc.SybStatement.nextResult(SybStatement.java:203)
 at com.sybase.jdbc2.jdbc.SybStatement.executeLoop(SybStatement.java:1766)
 at com.sybase.jdbc2.jdbc.SybStatement.execute(SybStatement.java:1758)
 at com.sybase.jdbc2.jdbc.SybStatement.execute(SybStatement.java:815)
 at com.cisco.p3.apps.reporter.db.Query.execute(Query.java:110)
 at com.cisco.p3.apps.reporter.velocity.VelocityTools.sqlToNestedMaps(VelocityTools.java:152)
 at com.cisco.p3.apps.reporter.velocity.VelocityTools.sqlToNestedMaps(VelocityTools.java:138)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
 at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
 at java.lang.reflect.Method.invoke(Unknown Source)
 at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:267)
 at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:197)
 at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:175)
 at org.apache.velocity.runtime.parser.node.ASTReference.value(ASTReference.java:327)
 at org.apache.velocity.runtime.parser.node.ASTExpression.value(ASTExpression.java:51)
 at org.apache.velocity.runtime.parser.node.ASTSetDirective.render(ASTSetDirective.java:95)
 at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:230)
 at org.apache.velocity.app.VelocityEngine.evaluate(VelocityEngine.java:316)
 at org.apache.velocity.app.VelocityEngine.evaluate(VelocityEngine.java:210)
 at com.cisco.p3.apps.reporter.velocity.VelocityParser.parse(VelocityParser.java:67)
 at com.cisco.p3.apps.reporter.templates.repository.FileTemplateRepository.initializeStatic(FileTemplateRepository.java:261)
 at com.cisco.p3.apps.reporter.templates.repository.FileTemplateRepository$1.run(FileTemplateRepository.java:231)
 at org.eclipse.core.internal.jobs.Worker.run(Worker.java:76)

!ENTRY com.cisco.p3.apps.reporter 4 4 2008-10-03 13:51:02.468
!MESSAGE VelocityTools::sqlToNestedMaps - error executing sql

利用condition testing结果如下:
SCA BB Templates:
  [PASS] A database connection is defined and available.
  [FAIL] Not all mandatory prederences are set (IP of SCE for policy data).
  [SKIP] Policy string translations in CM DB.
  [SKIP] Timezone information in CM DB.

由上可以看出问题集中在IP of SCE,但查了许久也没找到问题所在。


 

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

评论

# re: SCA BB Console Templates 中无可选SCE IP问题 2008-10-06 10:46 梯玛

经过了解,原来在SCE Collection Manager安装以后,需要通过SCA BB Console 重新将应用一下策略(即Apply Service Configuration to SCE Devices),重新应用策略时会Updating CM,与SCE同步。这样在Templates中就有了SCE IP地址。下面是在应用配置时的日志信息:

+ 10/6/08 10:31:59 AM CST | INFO | Connecting to SCE ×.×.×.× ...
+ 10/6/08 10:32:00 AM CST | INFO | Validating password ...
+ 10/6/08 10:32:00 AM CST | INFO | Password is valid
+ 10/6/08 10:32:00 AM CST | INFO | Retrieving service configuration ...
+ 10/6/08 10:32:03 AM CST | INFO | Opening service configuration editor ...
+ 10/6/08 10:33:45 AM CST | INFO | Applying service configuration to SCE "SCE device"
+ 10/6/08 10:33:45 AM CST | INFO | Connecting to element
+ 10/6/08 10:33:45 AM CST | INFO | Connecting to device at ×.×.×.× ...
+ 10/6/08 10:33:45 AM CST | INFO | Reading SCE platform data ...
+ 10/6/08 10:33:50 AM CST | INFO | The script's SCASBB application compatibility has been set to version 3.1.6
+ 10/6/08 10:33:50 AM CST | INFO | Preparing configuration script for SCE2000 - 4xGBE ...
+ 10/6/08 10:33:53 AM CST | INFO | Sending configuration to SCE ...
+ 10/6/08 10:33:55 AM CST | INFO | Executing configuration script on SCE ...
+ 10/6/08 10:34:24 AM CST | INFO | The script's SCASBB application compatibility has been set to version 3.1.6
+ 10/6/08 10:34:29 AM CST | INFO | Updating configuration registry ...
+ 10/6/08 10:34:45 AM CST | INFO | Updating CM at ×.×.×.× with service configuration values ...
+ 10/6/08 10:34:48 AM CST | INFO | Updating the CM at ×.×.×.× completed.
+ 10/6/08 10:34:48 AM CST | INFO | Apply operation completed successfully  回复  更多评论   

# re: SCA BB Console Templates 中无可选SCE IP问题 2009-08-22 19:13 刘新东

请教一个问题,根据你的文档我们将SCE搞的差不多啦,哈哈,谢谢喇。

但是你上面提到的这个问题,我们也碰到了,将配置重新下发一下我发现仍然在下拉列表框中没有啊。这是咋回事那?

  回复  更多评论   

# re: SCA BB Console Templates 中无可选SCE IP问题 2009-08-22 19:29 刘新东

重新登录后发现已经可以选啦,哈哈。谢谢!!  回复  更多评论   

# re: SCA BB Console Templates 中无可选SCE IP问题 2009-09-05 21:02 ugg boots

ding  回复  更多评论   

# re: SCA BB Console Templates 中无可选SCE IP问题 2011-04-22 16:16 小庄

sce
求解惑。。。。QQ737526616  回复  更多评论   

# re: SCA BB Console Templates 中无可选SCE IP问题 2011-05-13 11:56 梯玛

你遇到的是什么问题呢?按照思科的文档做应该没什么大的问题呀。我们的SCE现在已经不在使用了。

@小庄
  回复  更多评论   

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

导航

<2009年6月>
31123456
78910111213
14151617181920
21222324252627
2829301234
567891011

统计

常用链接

留言簿(1)

随笔分类

随笔档案

文章分类

搜索

最新评论

阅读排行榜

评论排行榜