Skip to content

Commit

Permalink
One more file
Browse files Browse the repository at this point in the history
  • Loading branch information
matzew committed Jul 2, 2015
1 parent 759bce1 commit e31b3f0
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions databases/ha_deployment/mysql-database-config-wildfly-full-ha.cli
@@ -0,0 +1,15 @@
# $WILDFLY_HOME/bin/jboss-cli.sh --file=/path/to/this/file.
connect localhost:10190
batch

## Add Mysql driver
/subsystem=datasources/jdbc-driver=mysqlup:add(driver-name=mysqlup,driver-module-name=com.mysql.jdbc,driver-xa-datasource-class-name=com.mysql.jdbc.jdbc2.optional.MysqlXADataSource)

## Add UnifiedPush Datasource
data-source add --name=UnifiedPushDS --driver-name=mysqlup --jndi-name=java:jboss/datasources/UnifiedPushDS --connection-url="jdbc:mysql:///192.168.59.104:6306/unifiedpush?useUnicode=true&characterEncoding=UTF-8" --user-name=unifiedpush --password=unifiedpush --use-ccm=false --max-pool-size=25 --blocking-timeout-wait-millis=5000 --enabled=true

## Add Keycloak Datasource
data-source add --name=KeycloakDS --driver-name=mysqlup --jndi-name=java:jboss/datasources/KeycloakDS --connection-url="jdbc:mysql:///192.168.59.104:6406/keycloak?useUnicode=true&characterEncoding=UTF-8" --user-name=unifiedpush --password=unifiedpush --use-ccm=false --max-pool-size=25 --blocking-timeout-wait-millis=5000 --enabled=true

run-batch
#:reload

0 comments on commit e31b3f0

Please sign in to comment.