Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

In order to mount an external registry, you have to define the remote registry instance. This can use the JDBC-based configuration, the Atom-based configuration model or the WebService-based configuration model.

Table of Contents

JDBC-Based Remote Instance Configuration

  • url - The URL of the remote instance.
  • id - Remote instance id.
  • dbConfig - The database configuration to use. 

...

Info
titleInfor
For specific configuration details on mounting a remote WSO2 Governance Registry (G-Reg) instance using the JDBC-based configuration model, refer to Sharing Registry Space Among Multiple Products.

Atom-Based Remote Instance Configuration

Warning
titleWarning

The Atom-based remote instance configuration is not recommended for use in a production deployment as it does not support transactions.

...

Info
titleNote

You cannot mount the same server as a remote instance to itself.

WebService-Based Remote Instance Configuration

Warning
titleWarning

The WebService-based configuration is not recommended for use in a production deployment as it does not support transactions.

...

Info
titleNote

You cannot mount the same server as a remote instance to itself.

Mount Configurations

Once a remote instance has been defined a collection on the remote registry can be mounted to the local instance.

...

Info
titleNote

It is recommended to refrain from mounting a target path under "/_system/governance" of a remote registry to path "/_system/config". Similarly, refrain from mounting a target path under "/_system/config" of a remote registry to path "/_system/governance". Such configurations can produce unpredictable results.

For example, with the following mounting configurations, "/_system/governance" will be mounted to the correct path, which is "/_system/governance/mounting/governance" but "/_system/config" will be mounted to " /_system/governance/mounting/governance/ mounting/config".

Code Block
languagehtml/xml
<mount path="/_system/config" overwrite="true">
    <instanceId>instanceId</instanceId>
    <targetPath>/_system/governance/mounting/config</targetPath>
</mount>
<mount path="/_system/config" overwrite="true">
    <instanceId>instanceId</instanceId>
    <targetPath>/_system/governance/mounting/governance</targetPath>
</mount>

Enable Clustering 

To enable clustering for a node, the enable attribute of the configuration in $GREG_HOME/repository/conf/axis2/axis2.xml should be set to true as follows:

...