HI,
I have a couple of Fusion PBX machines that were dev that became production (Yes I know bad mike, but that's how it went). When these boxes were set up they weren't set up with replication in mind but now that real users occupy them I want to be able to fail over to a different DC with the dual reg feature on the phones. To do this of course I need a replica in the remote DC. These machines are VM's so I just copied a snapshot to the remote DC. However I don't really feel comfortable enough with postgres replication to retrofit an existing install so I thought I'd just do it the poor mans way and dump the database, move the dump file to the remote location and restore it nightly. Not a true real time cluster but if the crap hits the fan day old CDRs and voicemail will be the least of my worries
Simple right? Except that the remote DC uses a different local subnet and everything lives behind NAT, so if I restore the SIP profiles to the remote site none of them will work.
So I'm thinking restore the database minus the v_sip_profile_settings table . Also after the restore I'm assuming I need to flush the cache and reload, can this be done from the command line via script?
Any suggestions or validation would be most appreciated.
I have a couple of Fusion PBX machines that were dev that became production (Yes I know bad mike, but that's how it went). When these boxes were set up they weren't set up with replication in mind but now that real users occupy them I want to be able to fail over to a different DC with the dual reg feature on the phones. To do this of course I need a replica in the remote DC. These machines are VM's so I just copied a snapshot to the remote DC. However I don't really feel comfortable enough with postgres replication to retrofit an existing install so I thought I'd just do it the poor mans way and dump the database, move the dump file to the remote location and restore it nightly. Not a true real time cluster but if the crap hits the fan day old CDRs and voicemail will be the least of my worries
Simple right? Except that the remote DC uses a different local subnet and everything lives behind NAT, so if I restore the SIP profiles to the remote site none of them will work.
So I'm thinking restore the database minus the v_sip_profile_settings table . Also after the restore I'm assuming I need to flush the cache and reload, can this be done from the command line via script?
Any suggestions or validation would be most appreciated.