<div dir="ltr">I have just setup a postgres 9.3 cluster using the pgsql ra. It's all working now (despite much hair pulling to start with :).<div><br></div><div>I would like to extend this to multiple sites.</div><div>
<br></div><div>I've decided not to try and have a single cluster across the WAN. Instead, I have 2 independent clusters.</div><div><br></div><div>I thought to use a ticket to transition a cluster between the "active" & "passive" state. Creating the ticket & creating a ticket constraint was easy enough.</div>
<div><br></div><div>But now I need to do something with each site's cluster when this change occurs. In particular, I need to make sure all postgres instances in the passive site are in slave mode and replicate from the vip of the promoted site. The active site will just use the standard pgsql RA behaviour.</div>
<div><br></div><div>Has anyone done anything like this before?</div><div><br></div><div>If not, I might try and update the pgsql ra with this capability. Any advice? I note that the mysql ra has this capability, so I might refer to it's implementation.</div>
<div><br></div><div>Thanks,</div><div>Richard<br clear="all"><div><br></div>
</div></div>