Oh okay cool. Didn't know that. Sorry for asking. 
My question was just around syncing files to the passive node.Wouldn't the 
passive node have different IP address configuration?In which case, how would 
you maintain the interface configuration in pf.conf to be different?
Some ideas,- refactoring pf.conf and do an include from an external file, which 
is not synched from the active node.- do not sync pf.conf at all.
Any other ideas?From: lmu...@inverse.ca
Date: Wed, 6 May 2015 09:57:07 -0400
To: packetfence-users@lists.sourceforge.net
Subject: Re: [PacketFence-users] Packetfence In Active/Passive mode

On May 6, 2015, at 6:53 , Andy A <andthereitg...@hotmail.com> wrote:

Hi Louis.
Can I email you privately regarding some of the suggestions you've made about 
heartbeat and using rsync?

Hi Andy,Please don’t. While I am happy to contribute my knowledge to the 
community on this mailing list, that would be crossing a line.
Inverse would be more than happy to provide consulting services about that. I 
just can’t do that without billing you.
In general though, building an active/passive setup consists of the following:
Replicate the database, either with built-in mysql replication or DRBD.I like 
DRBD for it’s simplicity but it’s not mandatory, as long as you have some 
replication.
Then setup heartbeat or pacemaker to start and stop services when either node 
goes down.Pacemaker can also add and remove IPs from interfaces, which would 
allow you to have shared IPs between the servers.
Finally setup rsync to replicate the /usr/local/pf files, excluding logs and 
var/ directory.
Both DRBD and corosync/pacemaker are well documented.See here 
http://drbd.linbit.com/ and here: http://clusterlabs.org/doc/That should get 
you most of the way.
Regards,
--
Louis Munro
lmu...@inverse.ca  ::  www.inverse.ca 
+1.514.447.4918 x125  :: +1 (866) 353-6153 x125
Inverse inc. :: Leaders behind SOGo (www.sogo.nu) and PacketFence 
(www.packetfence.org)



------------------------------------------------------------------------------
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
_______________________________________________
PacketFence-users mailing list
PacketFence-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/packetfence-users                  
                  
------------------------------------------------------------------------------
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
_______________________________________________
PacketFence-users mailing list
PacketFence-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/packetfence-users

Reply via email to