Skip to main content

Posts

Showing posts from November, 2014

Mounting remote governance registry

Let's say we have AS instance and G-reg instance, both instance have pointed their governance registry to MySql database. Now I want to mount the AS's governance registry to G-reg's /_system/as/governance path 1. Shutdown both instances 2. Configurations to be done in G-reg side (in registry.xml file) mount G-reg governance registry as <mount path="/_system/governance" overwrite="true">         <instanceId>greggov</instanceId>         <targetPath>/_system/governance</targetPath>     </mount> mount AS governance registry as <mount path="/_system/as/governance" overwrite="true">         <instanceId>asgov</instanceId>         <targetPath>/_system/as/governance</targetPath>     </mount> 3. Configuration to be done in AS side (in registry.xml file) mount AS governance registry <mount path="/_system/governance" overwrite="tr

Pointing governance registry to a MySQL database

Take WSO2 instance (here, I'm taking WSO2 AS) and do the following configurations 1. Modify the master-datasource.xml file <datasource>             <name>asgove</name>             <description>The datasource used for governance registry</description>             <jndiConfig>                 <name>jdbc/asgove</name>             </jndiConfig>             <definition type="RDBMS">                 <configuration>                     <url>jdbc:mysql://localhost:3306/asgove?autoReconnect=true</url>                     <username>root</username>                     <password>root</password>                     <driverClassName>com.mysql.jdbc.Driver</driverClassName>                     <maxActive>50</maxActive>                     <maxWait>60000</maxWait>                     <testOnBorrow>true</testOnBorrow>