Re: [Linux-HA] Wheezy / heartbeat / pacemaker: Howto make persistent configuration changes

2013-08-07 Thread Thomas Glanzmann
Hello Andrew, > As I said "The cluster only stops doing this if writing to disk fails > at some point - but there would have been an error in your logs if > that were the case." I grepped in the logs and found out that there was a write error on 15 Juli and probably all changes after that did not

Re: [Linux-HA] Wheezy / heartbeat / pacemaker: Howto make persistent configuration changes

2013-08-06 Thread Andrew Beekhof
On 05/08/2013, at 9:12 PM, Thomas Glanzmann wrote: > Hello Andrew, > >> did they ensure everything was flushed to disk first? > > (apache-03) [/var] cat /proc/sys/vm/dirty_expire_centisecs > 3000 > > So dirty data should be flushed within 3 seconds. But I lost at least 24 > hours maybe even

Re: [Linux-HA] Wheezy / heartbeat / pacemaker: Howto make persistent configuration changes

2013-08-05 Thread Thomas Glanzmann
Hello Andrew, > did they ensure everything was flushed to disk first? (apache-03) [/var] cat /proc/sys/vm/dirty_expire_centisecs 3000 So dirty data should be flushed within 3 seconds. But I lost at least 24 hours maybe even more. So it seems that pacemaker / heartbeat does not do persistant cha

Re: [Linux-HA] Wheezy / heartbeat / pacemaker: Howto make persistent configuration changes

2013-08-05 Thread Andrew Beekhof
On 05/08/2013, at 5:20 PM, Thomas Glanzmann wrote: > Hello Andrew, > >> Any change to the configuration section is automatically written to >> disk. The cluster only stops doing this if writing to disk fails at >> some point - but there would have been an error in your logs if that >> were the

Re: [Linux-HA] Wheezy / heartbeat / pacemaker: Howto make persistent configuration changes

2013-08-05 Thread Thomas Glanzmann
Hello Andrew, > Any change to the configuration section is automatically written to > disk. The cluster only stops doing this if writing to disk fails at > some point - but there would have been an error in your logs if that > were the case. than I do not get it. Yesterday, when the nodes sucide

Re: [Linux-HA] Wheezy / heartbeat / pacemaker: Howto make persistent configuration changes

2013-08-04 Thread Andrew Beekhof
On 05/08/2013, at 4:40 AM, Thomas Glanzmann wrote: > Hello, > both nodes of my ha cluster just paniced, afterwards the config was > gone. Is there a command to force heartbeat / pacemaker to write the > config to the disk or do I need to restart heartbeat for persistant > changes. Any change to

[Linux-HA] Wheezy / heartbeat / pacemaker: Howto make persistent configuration changes

2013-08-04 Thread Thomas Glanzmann
Hello, both nodes of my ha cluster just paniced, afterwards the config was gone. Is there a command to force heartbeat / pacemaker to write the config to the disk or do I need to restart heartbeat for persistant changes. The config was at least 24 hours on the node, but I did not restart heatbeat o