是否有关于如何设置群集的详细教程。
我遵循了指南http://docs.wso2.org/pages/viewpage.action?pageId=29918203,但它不是专门为决策支持系统。
我也有一些关于这个指南的问题。
发布于 2013-12-13 22:19:32
集群数据服务类似于集群应用服务器http://docs.wso2.org/display/CLUSTER420/Clustering+Application+Server
用于数据库配置
你只需要两个数据库。
1) wso2conreg_db --存储注册表数据(您可以任意命名)
2) wso2conum_db --存储与用户管理相关的数据。(您可以随意命名)。
这些数据源需要按照如下所示的数据库凭据在master- data ources.xml中定义。
将注册表安装到ESB节点(主-数据源)
<datasource>
<name>WSO2_REG_DB</name>
<description>The datasource used for registry</description>
<jndiConfig>
<name>jdbc/WSO2_REG_DB</name>
</jndiConfig>
<definition type="RDBMS">
<configuration>
<url>jdbc:mysql://localhost:3306/wso2conreg_db</url>
<username>root</username>
<password>root</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>配置用户管理数据库主-Dataources.xml
<datasource>
<name>WSO2_UM_DB</name>
<description>The datasource used for registry and user manager</description>
<jndiConfig>
<name>jdbc/WSO2UmDB</name>
</jndiConfig>
<definition type="RDBMS">
<configuration>
<url>jdbc:mysql://localhost:3306/wso2conum_db</url>
<username>root</username>
<password>root</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>将注册表安装到ESB节点- registry.xml
<dbConfig name="remote_registry">
<dataSource>jdbc/WSO2_REG_DB</dataSource>
</dbConfig>
<remoteInstance url="https://localhost:9445/registry">
<id>instanceid</id>
<dbConfig>remote_registry</dbConfig>
<readOnly>false</readOnly>
<enableCache>true</enableCache>
<registryRoot>/</registryRoot>
</remoteInstance>
<mount path="/_system/config" overwrite="true">
<instanceId>instanceid</instanceId>
<targetPath>/_system/esbnodes</targetPath>
</mount>
<mount path="/_system/governance" overwrite="true">
<instanceId>instanceid</instanceId>
<targetPath>/_system/governance</targetPath>
</mount>在user-mgt.xml中指定用户存储区。
<Property name=”dataSource”>jdbc/WSO2UmDB</Property>https://stackoverflow.com/questions/20520982
复制相似问题