[Pacemaker] Monitor process, migrate only ip resources

Grant Bagdasarian GB at cm.nl
Wed Feb 20 03:07:28 EST 2013


Hello,



I've configured it in a lab and the outcome is as following:

1)      When I restart/stop the heartbeat process the IP and kamailio process are started on the secondary node. Which is good.

2)      When I reboot/shutdown the whole server the IP and kamailio process are started on the secondary node. Which is good.

3)      When I only stop the kamailio process on the primary node, the process is restarted again. Which is also good, but I thought it would migrate everything to the secondary node when the kamailio process stopped.



If there is something wrong on the primary node which causes the kamailio process to keep crashing and restarting, it could be a hazard for our production environment.



Did I configure something wrong which causes this behavior?



node $id="625e6e6a-7162-4aaa-892c-6eececb384d2" proxy2

node $id="f72871df-3756-4682-a7c6-8753efbecaf3" proxy1

primitive kamailio lsb:kamailio \

        op monitor interval="40s" timeout="20s"

primitive sip_ip ocf:heartbeat:IPaddr \

        params ip="10.0.0.1" cidr_netmask="255.255.255.0" nic="eth1" \

        op monitor interval="40s" timeout="20s"

group SIP sip_ip kamailio

location sip_ip_pref SIP 100: proxy1

property $id="cib-bootstrap-options" \

        dc-version="1.0.8-042548a451fce8400660f6031f4da6f0223dd5dd" \

        cluster-infrastructure="Heartbeat" \

        stonith-enabled="false"



-----Original Message-----
From: Grant Bagdasarian [mailto:GB at cm.nl]
Sent: Tuesday, February 19, 2013 3:59 PM
To: The Pacemaker cluster resource manager
Subject: Re: [Pacemaker] Monitor process, migrate only ip resources



Alright! Thanks Andreas and Michael for your feedback.



I'll get a lab environment up and running first and configure this there, before configuring it on our live environment.



Regards,



Grant



_______________________________________________

Pacemaker mailing list: Pacemaker at oss.clusterlabs.org<mailto:Pacemaker at oss.clusterlabs.org> http://oss.clusterlabs.org/mailman/listinfo/pacemaker



Project Home: http://www.clusterlabs.org Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf

Bugs: http://bugs.clusterlabs.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.clusterlabs.org/pipermail/pacemaker/attachments/20130220/ffc6126a/attachment-0003.html>


More information about the Pacemaker mailing list