Jeffrey's Sky

          Go with wind
          隨筆 - 14, 文章 - 1, 評論 - 15, 引用 - 0
          數據加載中……

          2010年8月8日

          安裝配置 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 閱讀(345) | 評論 (0)編輯 收藏

          在IBM P Server (LPAR)上重裝AIX操作系統記錄

          前幾天,有機會自己實戰了將刻好的AIX6.1系統(里面還有一些FileNet相關軟件)盤恢復到一個IBM P570 Server 上。 其中,使用了HMC,設置引導程序。
          現將過程記錄如下:

          posted @ 2011-10-21 00:46 Jeffrey Feng 閱讀(445) | 評論 (0)編輯 收藏

          在 WebSphere中 配置 Oracle Datasource 問題記錄

               摘要: 在 WebSphere中 配置 Oracle Datasource 問題記錄  閱讀全文

          posted @ 2010-09-07 11:53 Jeffrey Feng 閱讀(756) | 評論 (0)編輯 收藏

          XA Datasource 與 Non-XA Datasource 區別

               摘要:   閱讀全文

          posted @ 2010-08-27 13:39 Jeffrey Feng 閱讀(4580) | 評論 (2)編輯 收藏

          安裝配置 IBM FileNet 所遇問題記錄系列 之五 打好客戶端的Patch

          CE 和 PE都有自己的客戶端安裝包。 這些安裝包有助于CE,PE, AE間在相互通訊時不會因為某些小版本的改動而使得相互不匹配。

          因此,注意,一定要, CE,PE間相互的Client端相互打好Patch.
          還要將CE,PE的Client 端都給AE打一遍。


          posted @ 2010-08-11 11:00 Jeffrey Feng 閱讀(340) | 評論 (0)編輯 收藏

          安裝配置 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 閱讀(1120) | 評論 (0)編輯 收藏

          主站蜘蛛池模板: 乌兰浩特市| 玉溪市| 扬州市| 聂拉木县| 临潭县| 剑川县| 洞口县| 新源县| 柳江县| 亚东县| 额敏县| 武清区| 大庆市| 抚顺县| 乾安县| 友谊县| 黄石市| 万年县| 汕尾市| 永昌县| 夹江县| 谷城县| 玉环县| 武清区| 梁平县| 湖州市| 藁城市| 安乡县| 山西省| 芮城县| 荥经县| 准格尔旗| 综艺| 恩施市| 沿河| 武平县| 都匀市| 新疆| 二连浩特市| 金平| 尚志市|