Gerhard Hipfinger wrote:
> hi john,
> 
> I have nearly the same topology like you and got the same error in my
> first tries.
> 
> The error is in your config - you have both database backends available
> on both controllers with the same name
> 
>> <DatabaseBackend name="controller1" driver="org.postgresql.Driver"
>> url="jdbc:postgresql://controller1/ns" connectionTestStatement="select
>> now()">
> 
> The name of the database backend must be different and the jdbc
> connection urls too!
> 
> same is true for the recovery log!
> 
> you have to specify database 1 on controller 1 and database 2 on
> controller 2.
> 
> hope this helps,
> gerhard
> 

Gerhard

I thought it would be a config problem!  Let me see if I have this correct.

In the virtualdatabase config on the first controller I need to have:

<DatabaseBackend name="postgresql-controller1"
driver="org.postgresql.Driver" url="jdbc:postgresql://controller1/ns"
connectionTestStatement="select now()">

and on the second controller I need to have:

<DatabaseBackend name="postgresql-controller2"
driver="org.postgresql.Driver" url="jdbc:postgresql://controller2/ns"
connectionTestStatement="select now()">

Is this what you mean?

Regards

John

_______________________________________________
Sequoia mailing list
[email protected]
https://forge.continuent.org/mailman/listinfo/sequoia

Reply via email to