Jeffrey's Sky

Go with wind
随笔 - 14, 文章 - 1, 评论 - 15, 引用 - 0
数据加载中……

2011年10月21日

安装配置 IBM FileNet 所遇问题记录系列 之六 使用好 VWTool工具以及 log。

在 使用 PE WorkFlow 的过程中, 总会遇到流程中的一些异常情况。 如果,某些节点执行出现异常,Hang住等等。 因此,此时使用一些 PE下的工具尤为重要。

(1) vwtool 
 
      a. 启动
          vwtool -r <region number> -Y <admin user>+<pwd>

      b. 常用命令
          count *     : 列出所有系统 queue
          wobquery <Queue name>   : 在这里,可以列出队列里的内容,以及某个wobnum下的参数值等等,以便debug.

 (2) elog

      elog 记录了PE在启动运行过程中的事件, 包括 PE的system default locale. 
      elog 所在的位置在 \fnsw\local\logs\elogs folder (the same folder where you installed the Process Service software).
 

posted @ 2011-10-21 00:46 Jeffrey Feng 阅读(323) | 评论 (0)编辑 收藏

在IBM P Server (LPAR)上重装AIX操作系统记录

前几天,有机会自己实战了将刻好的AIX6.1系统(里面还有一些FileNet相关软件)盘恢复到一个IBM P570 Server 上。 其中,使用了HMC,设置引导程序。
现将过程记录如下:

posted @ 2011-10-21 00:46 Jeffrey Feng 阅读(423) | 评论 (0)编辑 收藏

2010年9月7日

在 WebSphere中 配置 Oracle Datasource 问题记录

     摘要: 在 WebSphere中 配置 Oracle Datasource 问题记录  阅读全文

posted @ 2010-09-07 11:53 Jeffrey Feng 阅读(734) | 评论 (0)编辑 收藏

2010年8月27日

XA Datasource 与 Non-XA Datasource 区别

     摘要:   阅读全文

posted @ 2010-08-27 13:39 Jeffrey Feng 阅读(4537) | 评论 (2)编辑 收藏

2010年8月11日

安装配置 IBM FileNet 所遇问题记录系列 之五 打好客户端的Patch

CE 和 PE都有自己的客户端安装包。 这些安装包有助于CE,PE, AE间在相互通讯时不会因为某些小版本的改动而使得相互不匹配。

因此,注意,一定要, CE,PE间相互的Client端相互打好Patch.
还要将CE,PE的Client 端都给AE打一遍。


posted @ 2010-08-11 11:00 Jeffrey Feng 阅读(310) | 评论 (0)编辑 收藏

2010年8月8日

安装配置 IBM FileNet 所遇问题记录系列 之四 检查AE,PE, CE 状态是否正常


在Install & Config 完 IBM FileNet之后,一个重要的事情就是check所安装的AE,PE,CE是否安装正确、能够正常启动。 这里,简要列出一些check方法。

1. 启动 CE DB .
    与CE有关的一般有两个 DB。 一个 是 FNGCDDB用于记录 CE Domain的一些配置信息。 主要有以FNGCD为 prefix 的四个表(FNGCD, FNGCD_ADDON, FNGCD_CESERVERS, FNGCD_OSCBROWNERS)。 当你有需要想重新建立CE Domain的时候,最好将这四个表删掉,然后重新建。
     再一个DB就是 Object Store所在的DB,比如FNOS1DB. 在这个DB中,在建完Domain之后共有179张表。
 
      值得注意的是,CE App Server是通过 DataSource来连接CE的DB的。所以,如果,有任何CE DB的改变,也同时需要更改DataSource。 显而易见,因为有两个 CE DB,所以也有两套CE DataSource, 一个是用于连接 FNGCDDB(还有个以XA结尾的,这个在运行时经常被用到),一个是用于连接FNOSDB,即Object Store DB。CE 就是靠这两个Source来取得CE 信息的。

      Check CE 状态的方法:
      http://localhost:9080/FileNet/Engine.

2.  启动 AE。
由于 AE是一个 WebApp 程序,所以只需要启动 AE所在的 Server即可。
     
      Check AE 状态的方法:
     http://localhost:9080/Workplace

3. 启动 PE
PE 核心是一个 C++程序。在运行时, AE会尝试连接 PE,CE,而PE和CE之间也有连接关系。

Windows based 的PE server需要注意有两个系统 Service(通过 Service.msc)是需要起来的。 一个 叫 PE Service Manager,一个是Img ControlService;需要检查;

再有一个 重要的命令是 initfnsw,可以通过这个命令来起停 PE server。

① initfnsw start     //-启动PE
② initfnsw stop      //-停止PE
     killfnsw -y          //-停止PE
③ initfnsw status    //-查看PE状态
④ initfnsw restart   //-重启PE

另外, 检查 PE的状态,可以用这个URL 来 check,

http://localhost:32776/IOR/ping.

另外,有关 PE 和 CE间连接性的检查方法:

在 PE所在 Server上,用如下URL check,

http://localhost:32776/IOR/FileNet.CE.PEDirectoryServer

A "good" sample response from the PEDirectoryServer looks something like this:
IOR:000000000000002049444c3a46696c654e65745f63656d707270632f63656d707270633a312e300000000001000000000000007e000102000000000c31302e31352e372e31303800071d000000000031afabcb000000002084240cba00000001000000000000000100000008526f6f74504f41000000000800000001000000001400000000000002000000010000001800000000050100010000000000010109000000010001010000000026000000020002
 
此外,quick test are (on PE  server):

If you’re having trouble with the PE to CE communications, there may be something wrong with the java environment. Try the following tests in a command prompt window on the PE Server (Substituting appropriate host names, ports, user names, group names, and passwords as appropriate for your configuration):

On your PE Server:

cd \fnsw\bin

Try a basic "little pipe" ping:
\fnsw\java\jre\bin\java -classpath pe.jar;pe3pt.jar filenet.pe.ceorb.test.PEDirectoryClientTest /port=32776 /rpc=ping

Set the little pipe’s CE connection configuration:
\fnsw\java\jre\bin\java -classpath pe.jar;pe3pt.jar filenet.pe.ceorb.test.PEDirectoryClientTest /port=32776 /rpc=setConfig /uri=http://hqbpm34:7001/wsi/FNCEWS40DIME/ /user=PEAdmin /password=secret

Get a list of all realm names:
\fnsw\java\jre\bin\java -classpath pe.jar;pe3pt.jar filenet.pe.ceorb.test.PEDirectoryClientTest /port=32776 /rpc=getRealmNames

Get info about a user named PEAdmin:
\fnsw\java\jre\bin\java -classpath pe.jar;pe3pt.jar filenet.pe.ceorb.test.PEDirectoryClientTest /port=32776 /rpc=getUserInfo /user=PEAdmin

Get info about a user named PEAdmin in a specific realm:
\fnsw\java\jre\bin\java -classpath pe.jar;pe3pt.jar filenet.pe.ceorb.test.PEDirectoryClientTest /port=32776 /rpc=getUserInfo /user=PEAdmin /realm= dc=epbdc,dc=eng,dc=filenet,dc=com

Get info about a group named PEAdministrators:
\fnsw\java\jre\bin\java -classpath pe.jar;pe3pt.jar filenet.pe.ceorb.test.PEDirectoryClientTest /port=32776 /rpc=getUserInfo /user=PEAdministrators

Get “group expansion info” for a group named PEAdministrators:
\fnsw\java\jre\bin\java -classpath pe.jar;pe3pt.jar filenet.pe.ceorb.test.PEDirectoryClientTest /port=32776 /rpc=expandGroup /group=PEAdministrators

The above runs should produce output of some sort that might shed light on a CE configuration or connection problem…

取得 PE run 的 LOG:
Get some detailed information about the PE to CE communications

If the PE still can not get connected to the CE, we need to enable some of the java tracing to see what’s happening when the PEDirectoryServer communicates with the CE.

For PE 4.0.2 and newer, including PE 4.5

To enable the tracing, we need an fnlog4j.properties file in the \fnsw\java\jre\lib directory on the PE Server. The fnlog4j.properties file needs to include a line something like this:

log4j.logger.filenet.pe.ceorb.server=DEBUG, TXT

The easiest way to do this is to copy the \fnsw_loc\sd\fnlog4j.properties.sample file as \fnsw\jre\lib\fnlog4j.properties (without the “.sample”). Then, using a simple text editor (e.g., notepad), add the “, TXT” to the above line of text in the fnlog4j.properties file.

The PEDirectoryServer will see the fnlog4j.properties file and that will trigger additional tracing and logging to occur. After putting the fnlog4j.properties file in the \fnsw\java\jre\lib directory, click the Apply button in the Process Task Manager’s Security tab again.

After it fails, check the java trace file. The location of the java trace file is defined in the fnlog4j.properties file itself. By default, it's c:\PE.txt.

3. 检查 connection to PE from AE.

在登录到 AE 之后,可以点击 AE Site Preference中 Task Pages页面,看是否能打开。以及PCC, Process Designer是否都能够打开以及 Transfer Workflow.



posted @ 2010-08-08 13:20 Jeffrey Feng 阅读(1091) | 评论 (0)编辑 收藏

2010年8月2日

安装配置(Install configure IBM FileNet) 所遇问题记录系列 之三 配置 (Configure) Application Engine (AE)

     摘要: 配置 (Configure) Application Engine (AE)  阅读全文

posted @ 2010-08-02 23:03 Jeffrey Feng 阅读(497) | 评论 (0)编辑 收藏

开源软件问题记录系列 之一 在 Tomcat 中设置 Datasource

     摘要: 开源软件问题记录系列 之一 在 Tomcat 中设置 Datasource  阅读全文

posted @ 2010-08-02 10:51 Jeffrey Feng 阅读(205) | 评论 (0)编辑 收藏

2010年7月30日

安装配置 IBM FileNet 所遇问题记录系列 之二 一定要 Enable Application security 在配置完 Content Engine (CE) 之后


由于使用了 TDS 作为 FileNet 的 LDAP 系统,所以一定要在 WAS中将Admin Security enable。 这时,需要注意的是如果没有在 WAS 的 Global security 中将 Application Security Enable,那么在配置 Content Engine (CE) Domain 的时候,就会出现 Annoymous user cannot access to CE 的错误。 所以,一定要同时 Enable Application Security.



posted @ 2010-07-30 13:47 Jeffrey Feng 阅读(271) | 评论 (0)编辑 收藏

安装配置 IBM Filenet 所遇问题记录系列 之一 在IBM Tivoli Directory Server 配置完之后

     摘要: 安装配置 IBM Filenet 所遇问题记录系列  阅读全文

posted @ 2010-07-30 13:33 Jeffrey Feng 阅读(437) | 评论 (0)编辑 收藏