com.atlassian.confluence.content.render.xhtml.migration.exceptions.UnknownMacroMigrationException: The macro 'next_previous_link3' is unknown.
Mounting the Registry
A registry is a virtual directory based repository system. It can be federated among multiple databases, which is referred to as Registry mounting. All WSO2 servers support registry mounting. There are three types of registry-repositories.
Local | Stores the data related to the local instances. |
---|---|
Config | Contains product specific configurations that are shared across multiple instances of the same product. |
Governance | Contains data and configurations that are shared across all the products in the platform. |
For more information on sharing registry spaces across multiple product instances, see here.
See Remote Instance and Mount Configuration Details for more information on registry mounting and why it is useful. These must be done on all nodes. Follow the steps given below:
Add the following to the
<IOTS_HOME>/conf/
datasources/master-datasources.xml
file to configure the Key Manager registry mounting.<datasource> <name>WSO2REG_DB</name> <description>The datasource used for registry</description> <jndiConfig> <name>jdbc/WSO2REG_DB</name> </jndiConfig> <definition type="RDBMS"> <configuration> <url>jdbc:mysql://{hostname}:{port}/WSO2REG_DB?autoReconnect=true&relaxAutoCommit=true</url> <username>root</username> <password>1234</password> <driverClassName>com.mysql.jdbc.Driver</driverClassName> <maxActive>50</maxActive> <maxWait>60000</maxWait> <testOnBorrow>true</testOnBorrow> <validationQuery>SELECT 1</validationQuery> <validationInterval>30000</validationInterval> </configuration> </definition> </datasource>
Add the following configurations to theÂ
<IOTS_HOME>/conf/registry.xml
 file to configure the Worker and Manager registry mounting.<dbConfig name="mounted_registry"> <dataSource>jdbc/WSO2REG_DB</dataSource> </dbConfig> <remoteInstance url="https://localhost:9443/registry"> <id>instanceid</id> <dbConfig>mounted_registry</dbConfig> <readOnly>false</readOnly> <enableCache>true</enableCache> <registryRoot>/</registryRoot> <cacheId>root@jdbc:mysql://192.168.57.123:3306/govreg</cacheId> </remoteInstance> <mount path="/_system/config" overwrite="true"> <instanceId>instanceid</instanceId> <targetPath>/_system/config/iot</targetPath> </mount> <mount path="/_system/governance" overwrite="true"> <instanceId>instanceid</instanceId> <targetPath>/_system/governance</targetPath> </mount>
What's next?
Next, let's Configure the Key Manager Node.
com.atlassian.confluence.content.render.xhtml.migration.exceptions.UnknownMacroMigrationException: The macro 'next_previous_links2' is unknown.