Versions Compared

Key

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

This section guides you through the logical separation of data that you can do when clustering WSO2 Identity Server. 

...

Database NameDescriptionScript locationDatasource file to be modified
USERSTORE_DBAuthorization manager configurations, internal permissions and roles.
<PRODUCT_HOME>/dbscripts/

<PRODUCT_HOME>/repository/conf/datasources/master-datasources.xml

Note

Note that the corresponding data source name mentioned in the master-datasources.xml file should be included in <PRODUCT_HOME>/repository/conf/user-mgt.xml as well.

IDENTITY_DBContains identity related data, for example, OAuth 2.0, SAML 2.0, etc.
<PRODUCT_HOME>/dbscripts/identity/

<PRODUCT_HOME>/repository/conf/datasources/master-datasources.xml

Note

Note that the data source name mentioned in the master data source should be included in <PRODUCT_HOME>/repository/conf/identity/identity.xml as well.

METRICS_DBMetrics Database is used to store the runtime metrics data reported by the Metrics JDBC Reporter periodically. There are 5 tables to store metrics data for each metric type. The metric types are Counter, Meter, Gauge, Histogram, and Timer.
<PRODUCT_HOME>/dbscripts/metrics/
<PRODUCT_HOME>/repository/conf/datasources/metrics-datasources.xml
BPS_DBThis is used for data pertaining to the workflow feature.
<PRODUCT_HOME>/dbscripts/
<PRODUCT_HOME>/repository/conf/datasources/bps-datasources.xml
REGISTRY_DBShared database for config and governance registry mounts in the product's nodes. This includes data on tenants and keystores.
<PRODUCT_HOME>/dbscripts/
<PRODUCT_HOME>/repository/conf/datasources/master-datasources.xml

...