[rules-users] Guvnor Repository Directory with Replicated Database

Robert Morse rmorse at mdesignz.com
Sat Aug 13 05:37:16 EDT 2011


Our Seam 2.2.x application uses Drools 5.2 and Guvnor 5.2 running under JBoss 5.1.0.GA.  We use an external MySql database set up in a master slave configuration.  The repository.xml file points to the master MySql database (obviously).
Here's my question:   Let's assume the database master fails, and we promote the slave so it's now the master.  The repository.xml file would now need to point to the slave's database instance.  Does anything in the Guvnor created repository directory need to be modified?   Is it safe to switch simply by changing the values in repository.xml?

Thanks.

-robert.




The human mind is an iterative processor, it never does anything right the first time.  What it does well is to make improvements on every iteration (deMarco)







More information about the rules-users mailing list