重点步骤说明:
1.使用RCU 创建 WebCenter Schema时,只选择WebCenter Suite,其它会自动包括进来。
注意:在运行rcu命令之前,我们必须设置一个环境变量,这是由于我们的数据库是Oracle 快捷版10.2.0.1。
set RCU_JDBC_TRIM_BLOCKS=TRUE

2.使用RCU 创建 ECM Schema时,只选择Enterprise Content Management,其它会自动包括进来。
注意:在运行rcu命令之前,我们必须设置一个环境变量,这是由于我们的数据库是Oracle 快捷版10.2.0.1。
set RCU_JDBC_TRIM_BLOCKS=TRUE

3.创建Domain时,选择如下选项,其它会自动包括进来。
(1)Oracle WebCenter Spaces
(2)Oracle Portlet Producers
(3)Oracle WebCenter Discussion Server
(4)Oracle WebCenter ActivityGraph Engines
(5)Oracle WebCenter Personalization
(6)Oracle WebCenter Pagelet Producer
(7)Oracle WebCenter Analytics Collector
(8)Oracle Universal Content Mangement - Content Server

4. 注意修改UCM的前缀与WebCenter的前缀。

5.为了节省内存,选择定制化Server。



经过多次试验不同的组合,我终于找到了一个比较好的方案:把WC_Utilities 和WC_Collaboration 的资源部署到WC_Portlet上,保留WC_Spaces不动。
如果全部部署到WC_Spaces上,WC_Spaces负担过重。而且绝大多数时候,我们不需要启动WC_Spaces。
这一步要非常小心,稍不注意,就会启动Server失败,重头创建Domain。
以下是我统计整理的各个Server上的资源。
WC_Utilities 上的应用:
(1)analytics-collector (WC_Utilities)
(2)wcps-services (WC_Utilities)
(3)activitygraph-engines (WC_Utilities)
WC_Utilities 上的库:
(1)oracle.webcenter.analytics (AdminServer、WC_Utilities)
(2)wcps-services-web-lib (AdminServer、WC_Utilities)
(3)conductor-extensions-library (AdminServer、WC_Utilities)
(4)locator-extensions-library (AdminServer、WC_Utilities)
(5)oracle.webcenter.activitygraph.enginelib (WC_Utilities)
(6)jaxrs-framework-web-lib (AdminServer、WC_Utilities、WC_Spaces)
(7)jersy-web-lib (AdminServer、WC_Utilities、WC_Spaces)
(8)wcps-util-app-lib(AdminServer、WC_Utilities、WC_Spaces)
(9)oracle.webcenter.activitygraph.lib(AdminServer、WC_Utilities、WC_Spaces)
WC_Utilities 上的JDBC资源:
(1)ActivitiesDS (WC_Utilities、WC_Spaces)
(2)PersonalizationDS (WC_Utilities)
(3)mds-wcpsDS (WC_Utilities)
WC_Collaboration 上的应用:
(1)owc_discussions (WC_Collaboration)
(2)wsm-pm (WC_Portlet、WC_Collaboration、WC_Spaces)
WC_Collaboration 上的库:
WC_Collaboration 上的JDBC资源:
(1)mds-owsm (AdminServer、WC_Collaboration、WC_Portlet、WC_Spaces)
(2)OWC_DiscussionDS (WC_Collaboration)
WC_Portlet 上的应用:
(1)wsm-pm (WC_Collaboration、WC_Portlet、WC_Spaces)
(2)pagelet-producer (WC_Portlet)
(3)wsrp_tools(WC_Portlet)
(4)portalTools (WC_Portlet)
WC_Portlet 上的库:
(1)oracle.webcenter.skin (AdminServer、WC_Portlet、WLS_Spaces)
(2)oracle.portlet-producer.jpdk (AdminServer、WC_Portlet)
(3)oracle.portlet-producer.wsrp(AdminServer、WC_Portlet)
(4)wc-producer-web-lib(AdminServer、WC_Portlet)
(5)wlp-producer-full-web-lib(AdminServer、WC_Portlet)
(6)wlp-light-core-web-lib(AdminServer、WC_Portlet)
(7)wlp-wsrp-producer-core-web-lib(AdminServer、WC_Portlet)
(8)wlp-framework-common-web-lib(AdminServer、WC_Portlet)
WC_Portlet 上的JDBC资源:
(1)mds-owsm (AdminServer、WC_Collaboration、WC_Portlet、WC_Spaces)
(2)mds-PageletProducerDS (WC_Portlet)
(3)PorletDS(WC_Portlet)
接下来,删除WC_Utilities和WC_Collaboration Server,这时所有的资源会部署到Admin Server上。
我们要按照如下方案修改:"-"号表示把该资源从Admin Server上拿掉,"+"号表示把该资源加到WC_Portlet上。
应用:
(1)analytics-collector (WC_Utilities) - +
(2)wcps-services (WC_Utilities) - +
(3)activitygraph-engines (WC_Utilities) - +
(4)owc_discussions (WC_Collaboration) - +
库:
(1)oracle.webcenter.analytics (AdminServer、WC_Utilities) +
(2)wcps-services-web-lib (AdminServer、WC_Utilities) +
(3)conductor-extensions-library (AdminServer、WC_Utilities) +
(4)locator-extensions-library (AdminServer、WC_Utilities) +
(5)oracle.webcenter.activitygraph.enginelib (WC_Utilities) +
(6)jaxrs-framework-web-lib (AdminServer、WC_Utilities、WC_Spaces) +
(7)jersy-web-lib (AdminServer、WC_Utilities、WC_Spaces) +
(8)wcps-util-app-lib(AdminServer、WC_Utilities、WC_Spaces) +
(9)oracle.webcenter.activitygraph.lib(AdminServer、WC_Utilities、WC_Spaces) +
JDBC资源:
(1)ActivitiesDS (WC_Utilities、WC_Spaces) +
(2)PersonalizationDS (WC_Utilities) - +
(3)mds-wcpsDS (WC_Utilities) - +
(4)OWC_DiscussionDS (WC_Collaboration) - +
注意:所有Managed Server的名称不要用默认的:All localhost。而是要使用机器名,如:pmma-cn.cn.oracle.com。
这样做是为了让WC_Spaces启动时,自动为应用Spaces配置如下E2.0服务:
(1)Discussions and Announcements services:WebCenterSpaces-Discussions
(2)Documents service:WebCenterSpaces-ucm
(3)Pagelet producer:WebCenterSpaces-PageletProducer
(4)Personalization service:Conductor-WCPSSpaces 和 Properties-WCPSSpaces
(5)Preconfigured portlet producers:wc-OmniPortlet、wc-WebClipping、wc-WSRPTools
(6)Worklist service 和 WebCenter Spaces workflows:WebCenterSpaces-Worklist
当Spaces应用E2.0服务配置完毕后,为了防止每次启动自动配置,可以在启动脚本中增加一个变量:
startManagedWebLogic.sh WC_Spaces -Dwebcenter.spaces.disableAutoConfigure=true
6.启动UCM_Server1,作如下修改。
把127.0.0.1|0:0:0:0:0:0:0:1改为*.*.*.*。
服务套接字端口:4444。

启动UCM_Server1后,会有如下提示:
“Weblayout 目录位于带有 8.3 语义的文件系统上。旧的 16 位 8.3 文件名与修订标签冲突, 会导致文件丢失。”
运行[ecm_home]\ucm\idc\bin\Installer64.exe DisableNtfs8dot3
我是64位的系统,所以用Installer64.exe。
再次登录UCM,选择administration –> Admin Server –> Component Manager–>
使能以下组件:Folders_g、DynamicConverter、WebCenterConfigure。
重启UCM_Server1。
7.为了方便启动所有的Server,编写启动脚本如下:
echo off
REM startup with number of seconds you want to wait between admin and managed servers
REM Usage: start_all seconds
IF [%1] EQU [] GOTO USAGE
set MW_HOME=C:\Oracle\Middleware
set JDEV_HOME=C:\Oracle\JDev11.1.1.5
set JAVA_HOME=C:\Oracle\Java\jdk1.6.0_25
set DOMAIN_HOME=%MW_HOME%\user_projects\domains\wc_ucm_domain
pushd %DOMAIN_HOME%
echo Starting admin server....
set USER_MEM_ARGS=-Xms512m -Xmx896m -XX:PermSize=256m -XX:MaxPermSize=512m
start startWebLogic.cmd
echo ...waiting %1 seconds before starting managed server
ping -n %1 127.0.0.1 > NUL 2>&1
echo Starting managed server: UCM_server1....
set USER_MEM_ARGS=-Xms512m -Xmx512m -XX:PermSize=256m -XX:MaxPermSize=256m
start bin\startManagedWebLogic.cmd UCM_server1 t3://pmma-cn.cn.oracle.com:7001
echo ...waiting %1 seconds before starting managed server
ping -n %1 127.0.0.1 > NUL 2>&1
echo Starting managed server: WC_Portlet....
set USER_MEM_ARGS=-Xms512m -Xmx1280m -XX:PermSize=256m -XX:MaxPermSize=512m
start bin\startManagedWebLogic.cmd WC_Portlet t3://pmma-cn.cn.oracle.com:7001
echo ...waiting %1 seconds before starting managed server
ping -n %1 127.0.0.1 > NUL 2>&1
echo Starting managed server: WC_Spaces....
set USER_MEM_ARGS=-Xms512m -Xmx1024m -XX:PermSize=256m -XX:MaxPermSize=512m
start bin\startManagedWebLogic.cmd WC_Spaces t3://pmma-cn.cn.oracle.com:7001
REM echo ....waiting %1 seconds before starting JDeveloper
REM ping -n %1 127.0.0.1 > NUL 2>&1
REM echo Starting JDeveloper
REM start %JDEV_HOME%\jdeveloper\jdev\bin\jdev.exe
popd
GOTO EOF
:USAGE
echo Usage: start_all seconds
echo seconds: seconds to wait between admin and managed servers startup
GOTO EOF
:EOF
参考文献:
1. http://onlineappsdba.com/index.php/2011/06/08/steps-to-make-content-respository-connection-in-webcenter-11g/
2. http://onlineappsdba.com/index.php/2011/05/24/steps-to-install-ecm-11g-11115-on-oel-5-64-bit/
没有评论:
发表评论