This documentation is for clustering older WSO2 products. View documentation for more recent releases.
Clustering Identity Server - Clustering Guide 4.1.0 - WSO2 Documentation
Skip to end of metadata
Go to start of metadata

Creating a cluster of WSO2 Identity Server instances is very similar to clustering other WSO2 products. To ensure that the instances share governance registry artifacts, you create a JDBC mount. At a high level, you take the following steps to cluster Identity Server:

  1. Install Identify Server on each node.
  2. Create the registry database.
  3. Configure the WSO2_CARBON_DB data source in <IS_HOME>/repository/conf/datasources/master-datasources.xml on node 1 to point to the registry database with the correct URL, username, password, and driver class name. For example:

      <description>The datasource used for registry and user manager</description>
      <definition type="RDBMS">
          <validationQuery>SELECT 1</validationQuery>
  4. Enable clustering on node 1 in <IS_HOME>/repository/conf/axis2/axis2.xml by setting the clustering element to true:
    <clustering class="org.apache.axis2.clustering.tribes.TribesClusteringAgent" enable="true">
  5. On node 2, open <IS_HOME>/repository/conf/registry.xml and add the following entries to configure access to the remote registry instance and to create the mount:

    <dbConfig name="wso2registry_registry">
    <remoteInstance url="https://localhost:9443/registry">
    <mount path="/_system/config" overwrite="true">
    <mount path="/_system/governance" overwrite="true">
  6. If both nodes are running on the same server, set the port offset. 
  7. Start the nodes and verify in the registry browser that the governance collection is shown with the symlink icon.


  • No labels