安装配置 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 状态的方法: localhost:9080/FileNet/Engine. 2. 启动 AE。 由于 AE 是一个 WebApp 程序,所以只需要启动 AE 所在的 Server 即可。 Check AE 状态的方法: 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,
localhost:32776/IOR/ping. 另外,有关 PE 和 CE 间连接性的检查方法: 在 PE 所在 Server 上,用如下 URL check, localhost:32776/IOR/FileNet.CE.PEDirectoryServer A "good" sample response from the PEDirectoryServer looks something like this: IOR:000000000000002049444c3a46696c654e65745f63656d707270632f63656d707270 633a312e300000000001000000000000007e000102000000000c31302e31352e372e313 03800071d000000000031afabcb000000002084240cba00000001000000000000000100 000008526f6f74504f410000000008000000010000000014000000000000020000000100 000050100010000000000010109000000010001010000000026000000020 002 此外,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 p
asswords 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=hqbpm34:7001/wsi/FNCEWS40DIME/ /user=PEAdmin /pass
word=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 -clas