-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 3 posts ] 
Author Message
 Post subject: High Availability with Hibernate Shards
PostPosted: Wed Apr 30, 2008 8:52 pm 
Newbie

Joined: Fri Apr 25, 2008 1:16 pm
Posts: 1
I'm looking to use Hibernate Shards for a project I'm working on. Is it possible to use database replication for failover with shards? For example, I have 2 shards, 0 and 1, and they are both being replicated to another server, so 4 servers total. If my primary server, shard 0, goes down, how can I setup shards to failover to the replicated shard 0?


Top
 Profile  
 
 Post subject:
PostPosted: Thu May 01, 2008 3:47 am 
Hibernate Team
Hibernate Team

Joined: Fri Oct 05, 2007 4:47 pm
Posts: 2536
Location: Third rock from the Sun
Hi,
usually replication should work at JDBC level, so AFAIK it has not much to do with Shards but about how you configure your JDBC drivers; Shards should work on top of this and doesn't need to be aware of your DBMS configuration.

I don't know if Shards could be used to build a failover system at higher level.

regards,

_________________
Sanne
http://in.relation.to/


Top
 Profile  
 
 Post subject:
PostPosted: Mon Jun 02, 2008 8:00 pm 
Hibernate Team
Hibernate Team

Joined: Sun Sep 14, 2003 3:54 am
Posts: 7256
Location: Paris, France
Shards in itself does not to failover, but as Sanne said, this should be handled at the JDBC level (maybe your connection pool)

_________________
Emmanuel


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 3 posts ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.