Thomas Hallgren thomas at tada.se
Tue Oct 30 03:23:49 PDT 2007
Hi,
I'm trying to wrap my head around Slony-I and how to use it from an 
application server like JBoss with Hibernate. I'm not clear on the 
relationship between actual connections established by a client and 
nodes in the cluster.

Is it true that any connection that is established is either connected 
to a slave or to the master (origin) for a specific replication set? 
I.e. there's no node in between that will redirect updates to the master 
for the replication set in question?

I'm trying to figure out how to do a controlled switchover and the 
implications of doing that. My appservers can work with two different 
connections if needed but it will be somewhat cumbersome if they need to 
change their settings when I do a switchover. Is there a way to do 
switchover and maintain the connection settings (i.e. host, database, 
credentials)? Ideally, the connections should survive the switch.

I'm also looking into automatic switchover in case the master fails for 
some reason. The Heartbeat product seems to be useful for this. Are you 
aware of any examples on how to do this? Any pointer or hint would be 
useful.

Kind Regards,
Thomas Hallgren



More information about the Slony1-general mailing list