You are viewing a plain text version of this content. The canonical link for it is here.
Posted to derby-user@db.apache.org by legolas <le...@gmail.com> on 2008/08/18 00:06:31 UTC

Is there any way to have active passive model in derby?

Hi
thank you for reading my post
Is there any way to have active passive model in derby?
for example DB1 and DB2 are two derby instance which one is master and the
other is the slave and we replicate all information from DB1 to DB2, is it
possible to automatically switch to DB2 when DB1 fails?
for example some configuration in connection url or something like that?

Thanks
-- 
View this message in context: http://www.nabble.com/Is-there-any-way-to-have-active-passive-model-in-derby--tp19023793p19023793.html
Sent from the Apache Derby Users mailing list archive at Nabble.com.


RE: Is there any way to have active passive model in derby?

Posted by Maris Orbidans <ma...@ingg.com>.
You can use HA-JDBC for replication. It works well with derby.

Maris

-----Original Message-----
From: legolas [mailto:legolas.w@gmail.com] 
Sent: 17 August 2008 23:07
To: derby-user@db.apache.org
Subject: Is there any way to have active passive model in derby?


Hi
thank you for reading my post
Is there any way to have active passive model in derby?
for example DB1 and DB2 are two derby instance which one is master and
the
other is the slave and we replicate all information from DB1 to DB2, is
it
possible to automatically switch to DB2 when DB1 fails?
for example some configuration in connection url or something like that?

Thanks
-- 
View this message in context:
http://www.nabble.com/Is-there-any-way-to-have-active-passive-model-in-d
erby--tp19023793p19023793.html
Sent from the Apache Derby Users mailing list archive at Nabble.com.


_____________________________________________________________________
This e-mail has been scanned for viruses by MessageLabs.

**********************************************************************
Confidentiality : This e-mail and any attachments are intended for the addressee only and may be confidential. If they come to you in error you must take no action based on them, nor must you copy or show them to anyone. Please advise the sender by replying to this e-mail immediately and then delete the original from your computer.

Opinion : Any opinions expressed in this e-mail are entirely those of the author and unless specifically stated to the contrary, are not necessarily those of the author�s employer.
 
Security Warning : Internet e-mail is not necessarily a secure communications medium and can be subject to data corruption. We advise that you consider this fact when e-mailing us. 

Viruses : We have taken steps to ensure that this e-mail and any attachments are free from known viruses but in keeping with good computing practice, you should ensure that they are virus free.

Inspired Gaming (UK) Limited
Registered in England No 3565640
Registered Office 3 The Maltings Wetmore Road, Burton On Trent, Staffordshire DE14 1SE
_______________________________________________________________
This message has been checked for all known viruses by the MessageLabs Virus Control Centre.

Re: Is there any way to have active passive model in derby?

Posted by Narayanan <V....@Sun.COM>.
Hi,

Are you looking for this http://wiki.apache.org/db-derby/ReplicationWriteup

For now things are not automatic. The wiki will help you through the 
steps you need to
go through to get the replication feature working.

Narayanan

legolas wrote:
> Hi
> thank you for reading my post
> Is there any way to have active passive model in derby?
> for example DB1 and DB2 are two derby instance which one is master and the
> other is the slave and we replicate all information from DB1 to DB2, is it
> possible to automatically switch to DB2 when DB1 fails?
> for example some configuration in connection url or something like that?
>
> Thanks
>