The issue got solved after creating the resource with -e <mail_id> option i.e.
pcs resource create newRes ClusterMon user="root" extra_options="-E /usr/local/bin/new.sh -e <mail_id> "
The catch was, pacemaker version 1.1.14 does not throw any error while running "pcs resource create" without -e option. But in /var/log/messages it shows that there is segfault.
However, in pacemaker version 1.1.18 the create command without -e <mail_id> works fine.
Did you try the steps in Ubuntu 16.04 and pacemaker 1.1.14?
Hi Paride,
Thanks for the reply.
The issue got solved after creating the resource with -e <mail_id> option i.e. bin/new. sh -e <mail_id> "
pcs resource create newRes ClusterMon user="root" extra_options="-E /usr/local/
The catch was, pacemaker version 1.1.14 does not throw any error while running "pcs resource create" without -e option. But in /var/log/messages it shows that there is segfault.
However, in pacemaker version 1.1.18 the create command without -e <mail_id> works fine.
Did you try the steps in Ubuntu 16.04 and pacemaker 1.1.14?
Regards,
Manisha.