Re: [Pacemaker] Signal hangup handling for pacemaker and corosync

2014-07-25 Thread Vladislav Bogdanov
25.07.2014 02:20, Andrew Beekhof wrote: ... >>> On 15 Jul 2014, at 8:00 pm, Arjun Pandey >>> wrote: >>> Right. Actually the issue i am facing is that i am starting the pacemaker service remotely from a wrapper and thus pacemakerd dies >>

Re: [Pacemaker] Signal hangup handling for pacemaker and corosync

2014-07-24 Thread Andrew Beekhof
On 24 Jul 2014, at 2:46 pm, Vladislav Bogdanov wrote: > 24.07.2014 03:39, Andrew Beekhof wrote: >> >> On 23 Jul 2014, at 2:46 pm, Vladislav Bogdanov wrote: >> >>> 23.07.2014 05:56, Andrew Beekhof wrote: On 21 Jul 2014, at 3:45 pm, Vladislav Bogdanov wrote: > 21.07.

Re: [Pacemaker] Signal hangup handling for pacemaker and corosync

2014-07-23 Thread Vladislav Bogdanov
24.07.2014 03:39, Andrew Beekhof wrote: > > On 23 Jul 2014, at 2:46 pm, Vladislav Bogdanov wrote: > >> 23.07.2014 05:56, Andrew Beekhof wrote: >>> >>> On 21 Jul 2014, at 3:45 pm, Vladislav Bogdanov wrote: >>> 21.07.2014 08:36, Andrew Beekhof wrote: > > On 21 Jul 2014, at 2:50 pm, V

Re: [Pacemaker] Signal hangup handling for pacemaker and corosync

2014-07-23 Thread Andrew Beekhof
On 23 Jul 2014, at 2:46 pm, Vladislav Bogdanov wrote: > 23.07.2014 05:56, Andrew Beekhof wrote: >> >> On 21 Jul 2014, at 3:45 pm, Vladislav Bogdanov wrote: >> >>> 21.07.2014 08:36, Andrew Beekhof wrote: On 21 Jul 2014, at 2:50 pm, Vladislav Bogdanov wrote: > 21.07.

Re: [Pacemaker] Signal hangup handling for pacemaker and corosync

2014-07-22 Thread Vladislav Bogdanov
23.07.2014 05:56, Andrew Beekhof wrote: > > On 21 Jul 2014, at 3:45 pm, Vladislav Bogdanov wrote: > >> 21.07.2014 08:36, Andrew Beekhof wrote: >>> >>> On 21 Jul 2014, at 2:50 pm, Vladislav Bogdanov wrote: >>> 21.07.2014 06:28, Andrew Beekhof wrote: > > On 15 Jul 2014, at 8:45 pm, A

Re: [Pacemaker] Signal hangup handling for pacemaker and corosync

2014-07-22 Thread Arjun Pandey
Hi Andrew Yes this change would be useful. Regards Arjun On Wed, Jul 23, 2014 at 8:26 AM, Andrew Beekhof wrote: > > On 21 Jul 2014, at 3:45 pm, Vladislav Bogdanov wrote: > >> 21.07.2014 08:36, Andrew Beekhof wrote: >>> >>> On 21 Jul 2014, at 2:50 pm, Vladislav Bogdanov wrote: >>> 21.07.

Re: [Pacemaker] Signal hangup handling for pacemaker and corosync

2014-07-22 Thread Andrew Beekhof
On 21 Jul 2014, at 3:45 pm, Vladislav Bogdanov wrote: > 21.07.2014 08:36, Andrew Beekhof wrote: >> >> On 21 Jul 2014, at 2:50 pm, Vladislav Bogdanov wrote: >> >>> 21.07.2014 06:28, Andrew Beekhof wrote: On 15 Jul 2014, at 8:45 pm, Arjun Pandey wrote: > On Tue, Jul 15, 20

Re: [Pacemaker] Signal hangup handling for pacemaker and corosync

2014-07-20 Thread Vladislav Bogdanov
21.07.2014 08:36, Andrew Beekhof wrote: > > On 21 Jul 2014, at 2:50 pm, Vladislav Bogdanov wrote: > >> 21.07.2014 06:28, Andrew Beekhof wrote: >>> >>> On 15 Jul 2014, at 8:45 pm, Arjun Pandey wrote: >>> On Tue, Jul 15, 2014 at 3:36 PM, Andrew Beekhof wrote: > > On 15 Jul 2014, at

Re: [Pacemaker] Signal hangup handling for pacemaker and corosync

2014-07-20 Thread Andrew Beekhof
On 21 Jul 2014, at 2:50 pm, Vladislav Bogdanov wrote: > 21.07.2014 06:28, Andrew Beekhof wrote: >> >> On 15 Jul 2014, at 8:45 pm, Arjun Pandey wrote: >> >>> On Tue, Jul 15, 2014 at 3:36 PM, Andrew Beekhof wrote: On 15 Jul 2014, at 8:00 pm, Arjun Pandey wrote: > Right. A

Re: [Pacemaker] Signal hangup handling for pacemaker and corosync

2014-07-20 Thread Vladislav Bogdanov
21.07.2014 06:28, Andrew Beekhof wrote: > > On 15 Jul 2014, at 8:45 pm, Arjun Pandey wrote: > >> On Tue, Jul 15, 2014 at 3:36 PM, Andrew Beekhof wrote: >>> >>> On 15 Jul 2014, at 8:00 pm, Arjun Pandey wrote: >>> Right. Actually the issue i am facing is that i am starting the pacemake

Re: [Pacemaker] Signal hangup handling for pacemaker and corosync

2014-07-20 Thread Andrew Beekhof
On 15 Jul 2014, at 8:45 pm, Arjun Pandey wrote: > On Tue, Jul 15, 2014 at 3:36 PM, Andrew Beekhof wrote: >> >> On 15 Jul 2014, at 8:00 pm, Arjun Pandey wrote: >> >>> Right. Actually the issue i am facing is that i am starting the >>> pacemaker service remotely from a wrapper and thus pacemak

Re: [Pacemaker] Signal hangup handling for pacemaker and corosync

2014-07-15 Thread Arjun Pandey
On Tue, Jul 15, 2014 at 3:36 PM, Andrew Beekhof wrote: > > On 15 Jul 2014, at 8:00 pm, Arjun Pandey wrote: > >> Right. Actually the issue i am facing is that i am starting the >> pacemaker service remotely from a wrapper and thus pacemakerd dies >> when the wrapper exits.nohup solves the problem

Re: [Pacemaker] Signal hangup handling for pacemaker and corosync

2014-07-15 Thread Andrew Beekhof
On 15 Jul 2014, at 8:00 pm, Arjun Pandey wrote: > Right. Actually the issue i am facing is that i am starting the > pacemaker service remotely from a wrapper and thus pacemakerd dies > when the wrapper exits.nohup solves the problem but then HUP cannot be > used by pacemaker. Is this workaround

Re: [Pacemaker] Signal hangup handling for pacemaker and corosync

2014-07-15 Thread Arjun Pandey
Right. Actually the issue i am facing is that i am starting the pacemaker service remotely from a wrapper and thus pacemakerd dies when the wrapper exits.nohup solves the problem but then HUP cannot be used by pacemaker. Is this workaround ok ? I was checking out the current pacemaker code.setsid

Re: [Pacemaker] Signal hangup handling for pacemaker and corosync

2014-07-15 Thread Andrew Beekhof
On 15 Jul 2014, at 7:13 pm, Arjun Pandey wrote: > Hi Andrew > > AFAIK linux daemons don't terminate on SIGHUP. Read the man page, POSIX specifies that the default action is 'term' ie. 'terminate'. > They typically reload > configuration on receiving this signal.Eg- rsyslogd. I thought it was

Re: [Pacemaker] Signal hangup handling for pacemaker and corosync

2014-07-15 Thread Arjun Pandey
Hi Andrew AFAIK linux daemons don't terminate on SIGHUP. They typically reload configuration on receiving this signal.Eg- rsyslogd. I thought it was safe to make this assumption here as well. Regards Arjun On Tue, Jul 15, 2014 at 2:15 PM, Andrew Beekhof wrote: > > On 15 Jul 2014, at 6:19 pm, Ar

Re: [Pacemaker] Signal hangup handling for pacemaker and corosync

2014-07-15 Thread Andrew Beekhof
On 15 Jul 2014, at 6:19 pm, Arjun Pandey wrote: > Hi all > > I am running pacemaker version 1.1.10-14.el6 on CentOS 6. On setting > up cluster if I send SIGHUP to either pacemaker or corosync services , > they die. > Is this a bug ? What is the intension behind this behavior? Standard default