Federate
and cluster the primary node
- Federate Node (add Node)
- Make sure Deploymnet Mgr is started and Websphere Portal and server1 are stopped
- Execute the following command to add node to DMGR
addNode.bat
sivapc.sivavaka.com 8879 -username wasadmin -password wasadmin -includeapps
-includebuses
./addNode.sh
<dmgr_hostname> <dmgr soap port> -username <dmgr admin ID>
-password <dmgr user password> -includeapps -includebuses
NOTE:
If the WAS administrator user ID and password for the local node are different
than the Deployment Manager administrator user ID and password, add the
following parameters to the addNode task:
-localusername local_was_admin_user -localpassword
local_was_admin_password
- Restart the deployment manager
- Create cluster
- On the primary node, edit the <wp_profile>/ConfigEngine/properties/wkplc.properties file and ensure all of the following properties are set appropriately for your enviornment
WasUserId=<DMGR
admin user ID>
WasPassword=<DMGR
admin password>
PortalAdminPwd=<password>
WasRemoteHostName=<fully
qualified hostname of DMGR>
WasSoapPort=<soap
port for DMGR; default is 8879>
ServerName=WebSphere_Portal
PrimaryNode=true
ClusterName=PortalCluster
- Make sure DB userid/passwords are valid in the <wp_profile>/ConfigEngine/properties/wkplc_dbdomain.properties file
- Update the deployment manager configuration for the new WebSphere Portal server by executing the following ConfigEngine script:
ConfigEngine.bat
cluster-node-config-post-federation -DWasPassword=wasadmin
- Create the cluster definition and add the WebSphere_Portal server as a cluster member by executing the following ConfigEngine script:
ConfigEngine.bat
cluster-node-config-cluster-setup -DWasPassword=wasadmin
Following
tasks get executed during the above task
- Created the cluster "PortalCluster"
- Hostnames are modified accordingly (Cell, node and port mappings)
- WCM caches are adjusted to cluster
- Data Replication domain has created
- Server dyna cache details are modified (global cache)
- Custom JVM properties are added ( like cacheconfig related)
- Updated WCM variables (like WCM_HOST , WCM_PORT , WCM_ILWWCM_HOME (to C:/IBM/WP72/WebSphere/PortalServer/wcm/prereq.wcm/wcm))
- Created icm property value on cluster
- Created documentURI="cells/SivaPCCell01/wp_properties/PortalCluster.icm.properties" (deleted file= "C:/IBM/WebSphere/wp_profile/PortalServer/jcr/lib/com/ibm/icm/PortalCluster.icm.properties")
- Enabled app security on cluster
- Sync nodes (nodeagent (NODE_AGENT), app servers (websphere_portal, server1), deployment manager (dmgr)).
- Started websphere_portal and set the managed node =true
- Login to DMGR console and validate the cluster is created properly and websphere_portal is added as member.
- Updating JCRSeedBus members
- Need to fix the JCRSeedBus because earlier it was pointing to node .
- Add new bus member
- Select "High availability" in next screen and click next
- Select "Data Store" radio button and click next
- Click on the JCRSeedBus and configure the db details
- Add following details
Datasource
:: jdbc/<existing JCR datasource>
Schema
:: JCR schema name ( can get it from
wkplc_dbdomain.properties)
Authentication
alias : JCR authentication
- Click next and no changes to heap sizes and click "finish"
- You can remove the old bus member
- Restart all (DMGR, Nodeagent, Portal)
References
No comments:
Post a Comment