I haven't gotten to this part of my HA test yet, but I would expect packetfence 
startup would be handled as a managed resource, not via the OS, just as mysqld 
and drbd are.



From: T M <[email protected]<mailto:[email protected]>>
Reply-To: 
<[email protected]<mailto:[email protected]>>
Date: Sun, 5 Jan 2014 21:09:56 -1000
To: 
<[email protected]<mailto:[email protected]>>
Subject: [PacketFence-users] HA and mysql

I seem to be having a timing problem between PF and pacemaker. I checked the 
startup scripts and pacemaker does start before pf, but takes too long and pf 
goes ahead and starts up mysql before pacemaker can get everything going, drbd 
file system, IP, and mysql.

The pf script would startup mysql before pacemaker. I commented the mysql 
startup out of packetfence startup script and it my packetfence is working.

But I didn't think this was the right thing to do and wonder if anyone else has 
timing issues on startup for mysql.

I was seeing two mysql processes and my the time pacemaker started mysql the 
socket was used and things got a little confusing because pacemaker would use 
the drbd version of the database and packetfence the local version.

I put in a short delay script between pacemaker and packetfence and it all 
resolved itself.

Thank you Nicola and Fabrice. I updated my iptables which helped and also the 
high-availability did the trick on the ClusterIP.
------------------------------------------------------------------------------ 
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance affects 
their revenue. With AppDynamics, you get 100% visibility into your Java,.NET, & 
PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro! 
http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk_______________________________________________
 PacketFence-users mailing list 
[email protected]<mailto:[email protected]>
 https://lists.sourceforge.net/lists/listinfo/packetfence-users
------------------------------------------------------------------------------
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
_______________________________________________
PacketFence-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/packetfence-users

Reply via email to