Quantcast
Channel: VMware Communities: Message List
Viewing all articles
Browse latest Browse all 225804

Re: Master-slave cluster question

$
0
0

Since 9.2.4, vPostgres appliance includes some scripts dedicated to this task, making your life far easier. So you don't need to do all those steps manually on the server side. More information here:

New replication features of vFabric Postgres 9.2.4 | Next-Generation Data Platforms Blog - VMware Blogs

 

Then for managing a switchover to a slave in case of a master failure, JDBC has some basic implementation in its code that has been introduced one year ago with commit 39b085d and you can specify multiple URLs like that:

jdbc:postgresql://host1:port1,host2:port2/test

Connection is chosen in round-robin fashion until success. There is no documentation about that though... I'll ping the jdbc devs to correct that. If you are using an older version of JDBC, you should switch to another solution, like a tomcat layer.


Viewing all articles
Browse latest Browse all 225804

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>