14 Setting Up a Cluster
For high availability, you can set up a WebCenter Sites cluster in a WebLogic domain with a primary cluster node on one machine and one or more secondary cluster nodes on the same or different machines. The first WebCenter Sites Managed Server you create is the primary node, and any additional WebCenter Sites Managed Servers in the same domain are secondary nodes.
The following topics describe how to set up a WebCenter Sites cluster.
Preparing to Set Up a WebCenter Sites Cluster
Now that you have installed and configured a WebCenter Sites domain with Managed Servers, set up a load balancer, run the Configurator, set up an LDAP authentication provider, and configured CAS, you can set up a cluster of WebCenter Sites Managed Servers for the domain.
-
Install WebCenter Sites, as Installing the Oracle WebCenter Sites Software describes, and set up a WebLogic domain with at least one WebCenter Sites Managed Server, the primary node in a cluster, as Configuring the WebCenter Sites Domain describes.
If you followed the instructions in Configuring the WebCenter Sites Domain, you would have a WebCenter Sites domain with one cluster and two Manager Servers to start setting up the cluster.
To add secondary nodes, you can clone the primary node configuration through the WebLogic Remote Console, as Setting Up a WebCenter Sites Cluster describes. Or you can use the Fusion Middleware Configuration Wizard to extend the WebCenter Sites domain,
-
Set up a web tier and load balancer, and configure the primary cluster node to use the load balancer’s IP address, as Creating a WebCenter Sites Web Tier describes.
For more information about setting up a load balancer, see "Server Load Balancing in a High Availability Environment" and "Configure Load Balancer" in the High Availability Guide
-
Run the WebCenter Sites Configurator, as Configuring WebCenter Sites describes.
-
For authentication based on an external LDAP authentication provider or Oracle Access Manager, complete this integration before scaling out for a clustered environment. You can change the default identity store to an LDAP authentication provider with Oracle Access Manager, as Switching to Authentication Against an LDAP Directory describes. You also have the option of integrating WebCenter Sites with an external LDAP directory, as Switching to Authentication Against an LDAP Directory describes.
-
If you want to deploy the Centeral Authentication Service (CAS) on a separate server for High Availability, set up a CAS cluster prior to WebCenter Sites cluster configuration.
-
If the CAS application is to reside on a cluster node other than the primary, complete the steps in Configuring the CAS Primary Cluster Node.
-
For a traditional, file-based cluster, set up a new shared location, containing the
wcs_properties.json
file that all the different cluster nodes can point to.Note:
This step is not required for a cluster that uses the NIO database-based file system. For more information, see Moving the Shared File System to a Database.-
In the WebCenter Sites shared storage directory (
sites-shared
), create a directory namedconfig
. -
Move the file
DOMAIN_HOME/wcsites/wcsites/config/wcs_properties.json
to thesites-shared/config
directory. Do not copy the file. -
Update the
sites.config
system property on each cluster node to reference the shared directory wherewcs_properties.json
now resides.Note:
Thesites.config
cannot used for sharedFS. For the directory sharedFS you need to create a new directory, often the directorywcssites/wcsites/shared
is used. The configuration utility will fail when pointing the sharedFS tosites.config
.
-
-
Shut down all WebCenter Sites Managed Servers in the cluster.
Setting Up a WebCenter Sites Cluster
After you create one or more WebCenter Sites cluster nodes as Managed Servers (wcs_server1
and wcs_server2
), you need to configure the nodes to set up the cluster.
Note:
Add these two new parameters to support the JEP 290 Deserialization Filter settings for Sites Cluster ehcache replication.
Dweblogic.oif.serialFilterMode=combine Dweblogic.oif.serialFilter=java.rmi.server.RemoteObject;java.**;net.sf.ehcach e.**