WebSphere_Portal_8_Cluster_集群安裝手冊_13頁-R4

如果門戶已經進行安全性遷移那麼還需進行下圖的操作使DM與Portal使用同一個LDAP存儲庫

 

 

 

重啟DM

將portal1加到新節點

cd /opt/IBM/WebSphere/wp_profile/bin

./addNode.sh portal8.test.com 8879 -username wpsadmin -password password –includeapps

 

 

重啟DM

 

 

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

WasPassword

password

PortalAdminPwd

password

WasRemoteHostName

portal8.test.com

WasSoapPort

8879

PrimaryNode

true

執行下面的命令

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

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

Portal1加入集群成功

 

配置副節點portal2

將主節點中的

<PortalServer root>/profileTemplates/profileTemplates.zip

注釋:profileTemplates.zip不能複製到指定目錄,因為指定目錄沒有寫的許可權,用

Chmod u+w –R /opt/IBM/WebSphere/PortalServer/profileTemplates 對目錄授予寫的許可權

複製到副節點的

<PortalServer root>/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 portal8two.test.com

 

修改/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 portal8.test.com 8879 -username wpsadmin -password password

 

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

WasPassword

password

PortalAdminPwd

password

WasRemoteHostName

portal8.test.com

WasSoapPort

8879

PrimaryNode

false

 

 

./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=<your Full DN LDAP ID>

PortalAdminGroupId=<your Full DN LDAP ID>

 

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

 

以下文章點擊率最高

Loading…

     

如果這文章對你有幫助,請掃左上角微信支付-支付寶,給於打賞,以助博客運營