搜档网
当前位置:搜档网 › WebSphere Portal 8 Cluster 集群安装手册

WebSphere Portal 8 Cluster 集群安装手册

WebSphere Portal 8 Cluster 集群安装手册
WebSphere Portal 8 Cluster 集群安装手册

Portal8集群

门户配置

/opt/IBM/WebSphere/wp_profile/bin/startServer.sh WebSphere_Portal

登录到主节点门户并删除下面两个服务

/opt/IBM/WebSphere/wp_profile/bin/stopServer.sh WebSphere_Portal -username wpsadmin -password password

修改配置文件

/opt/IBM/WebSphere/wp_profile/PortalServer/jcr/lib/com/ibm/icm

jcr.textsearch.enabled=true 改成jcr.textsearch.enabled=false

然后执行下面的命令

cd /opt/IBM/WebSphere/wp_profile/ConfigEngine

./ConfigEngine.sh enable-profiles -DWasPassword=password

./ConfigEngine.sh package-profiles -DWasPassword=password

DM安装

注意:选择安装IBM WebSphere Application Server Network Deployment V8.0 如果DM是和portal安装在同一台服务器则再安装一次

一直下一步

安装完成后停止DM

./stopManager.sh -user -password

Portal1节点相关配置

收集portal1节点信息

找到/opt/IBM/WebSphere/PortalServer/filesForDmgr/filesForDmgr.zip将文件下载下来解压将filesForDmgr\profiles\Dmgr01\config\.repository\metadata_wkplc

复制到

/opt/IBM/WebSphere/DM/profiles/Dmgr01/config/.repository

将filesForDmgr/bin/ProfileManangement/plugins/com.ibm.wp.dmgr.pmt_7.0.5

复制到

/opt/IBM/WebSphere/DM /bin/ProfileManagement/plugins

将/lib/https://www.sodocs.net/doc/6717434873.html,p.registry.jar and wp.wire.jar

复制到

/opt/IBM/WebSphere/DM/lib

将/plugins/com.ibm.patch.was.plugin.jar, com.ibm.wp.was.plugin.jar, and the wp.base.jar

复制到

/opt/IBM/WebSphere/DM/plugins

将/profileTemplates/management.portal.augment

复制到

/opt/IBM/WebSphere/DM/profileTemplates

执行下面命令

cd /opt/IBM/WebSphere/DM/bin/

./manageprofiles.sh-augment-templatePath

/opt/IBM/WebSphere/DM/profileTemplates/management.portal.augment -profileName Dmgr01 启动DM

./startManager.sh

访问DM

如果门户已经进行安全性迁移那么还需进行下图的操作使DM与Portal使用同一个LDAP 存储库

重启DM

将portal1加到新节点

cd /opt/IBM/WebSphere/wp_profile/bin

./addNode.sh https://www.sodocs.net/doc/6717434873.html, 8879 -username wpsadmin -password password –includeapps

重启DM

/opt/IBM/WebSphere/wp_profile/ConfigEngine/properties目录下的wkplc.properties,修改如下属性

执行下面的命令

./ConfigEngine.sh cluster-node-config-post-federation -DWasPassword=password

./ConfigEngine.sh cluster-node-config-cluster-setup -DWasPassword=password

Portal1加入集群成功

配置副节点portal2

将主节点中的

/profileTemplates/profileTemplates.zip

注释:profileTemplates.zip不能复制到指定目录,因为指定目录没有写的权限,用Chmod u+w –R /opt/IBM/WebSphere/PortalServer/profileTemplates对目录授予写的权限复制到副节点的

/profileTemplates

执行下面命令

cd /opt/IBM/WebSphere/PortalServer/profileTemplates

unzip profileTemplates.zip

./installPortalTemplates.sh /opt/IBM/WebSphere/AppServer

cd /opt/IBM/WebSphere/AppServer/bin/

./manageprofiles.sh -create -templatePath

/opt/IBM/WebSphere/PortalServer/profileTemplates/managed.portal -profileName wp_profile -profilePath /opt/IBM/WebSphere/wp_profile -cellName portal8TwoCell -nodeName

portal8TwoNode -hostName https://www.sodocs.net/doc/6717434873.html,

修改/opt/IBM/WebSphere/PortalServer/wps.properties

在后面增加下面属性:

ProfileName=wp_profile

ProfileDirectory=/opt/IBM/WebSphere/wp_profile

cd /opt/IBM/WebSphere/wp_profile/bin

将ojdbc6.jar 放到./opt/IBM/WebSphere/wp_profile/jbdc/oracle下

./addNode.sh https://www.sodocs.net/doc/6717434873.html, 8879 -username wpsadmin -password password

修改/opt/IBM/WebSphere/wp_profile/ConfigEngine/properties/wkplc.properties

./startNode.sh

cd /opt/IBM/WebSphere/wp_profile/ConfigEngine

./ConfigEngine.sh cluster-node-config-cluster-setup-additional -DWasPassword=password

修改/opt/IBM/WebSphere/wp_profile/ConfigEngine/properties/wkplc.properties PortalAdminId=

PortalAdminGroupId=

./ConfigEngine.sh update-jcr-admin -DWasPassword=password

相关主题