...
Configuration steps are given in the following sections.
Table of Contents |
---|
Creating the Database
In a production setup, it is recommended to use an Oracle or MySQL database for the governance registry. As an example, we use MySQL database named ‘registrydb’. Instructions are as follows:
...
The MySQL database for G-Reg is now created.
Configuring Governance Registry as the Remote Registry Instance
Database configurations are stored in $CARBON_HOME/repository/conf/datasources/master-datasources .xml file for all carbon servers. By default, all WSO2 products use the in-built H2 database. Since Governance Registry in this example is using a MySQL database named 'registrydb', the master-datasources .xml file needs to be configured so that the datasource used for the registry and user manager in Governance Registry is the said MySQL database.
...
The Governance Registry server is now running with all required user manager and registry tables for the server also created in ‘registrydb’ database.
Configuring Carbon Server Nodes
Now that the shared registry is configured, let's take a look at the configuration of Carbon server nodes that use the shared, remote registry.
...