Hello gents,
Please understand that DRBD is block based replication.
It replicates devices (disks, LVM logical volumes etc.)

It cannot replicate a single directory (e.g. /usr/local/pf ).
You would have to mount /usr/local/pf in it's own volume.

While doable, it's probably just overkill for most people.

Regards,
--
Louis Munro
[email protected]  ::  www.inverse.ca 
+1.514.447.4918 *125  :: +1 (866) 353-6153 
Inverse inc. :: Leaders behind SOGo (www.sogo.nu) and PacketFence 
(www.packetfence.org)

On 2013-10-03, at 7:21 , "Morris, Andi" <[email protected]> wrote:

> I'm working on running it here as laid out in the manual. I've had it working 
> in a dev environment well. It can be fiddly to set up, but seems to do the 
> job.
> 
> Andi
> 
> -----Original Message-----
> From: Jason Frisvold [mailto:[email protected]] 
> Sent: 02 October 2013 19:03
> To: [email protected]
> Subject: Re: [PacketFence-users] Packetfence HA questions
> 
> Peter Reilly wrote:
>> In the example in the manual, the haresources file contains: 
>> Filesystem::/dev/drbd0::/var/lib/mysql::ext3
>> 
>> Not having used Linux-HA before, if I'm understanding correctly, this 
>> specifies that only /var/lib/mysql is "shared" between the primary and 
>> secondary hosts.  Is there a reason more locations are not shared, or 
>> is the example incomplete?  I would have thought /usr/local/pf/ would 
>> have been included, and possibly other locations as well.
> 
> I'm not sure if it's in the manual, but Inverse had us add a cronjob to rsync 
> the servers on a 15 minute interval.  The data on the server is pretty 
> static, it's the database that changes a lot.
> 
>> I'm also curious, is the use of Linux-HA & DRBD fairly common in 
>> PacketFence deployments?
> 
> Not sure if it's common, but we run it here.
> 
>> Thanks!
>> 
>> Peter
> 
> 
> --
> ---------------------------
> Jason 'XenoPhage' Frisvold
> [email protected]
> ---------------------------
> 
> "Any sufficiently advanced magic is indistinguishable from technology.\"
> - Niven's Inverse of Clarke's Third Law
> 
> ------------------------------------------------------------------------------
> October Webinars: Code for Performance
> Free Intel webinars can help you accelerate application performance.
> Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
> the latest Intel processors and coprocessors. See abstracts and register > 
> http://pubads.g.doubleclick.net/gampad/clk?id=60134791&iu=/4140/ostg.clktrk
> _______________________________________________
> PacketFence-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/packetfence-users
> 
> ------------------------------------------------------------------------------
> October Webinars: Code for Performance
> Free Intel webinars can help you accelerate application performance.
> Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
> the latest Intel processors and coprocessors. See abstracts and register >
> http://pubads.g.doubleclick.net/gampad/clk?id=60134791&iu=/4140/ostg.clktrk
> _______________________________________________
> PacketFence-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/packetfence-users

------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60134791&iu=/4140/ostg.clktrk
_______________________________________________
PacketFence-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/packetfence-users

Reply via email to