You don&#39;t have pingd for monitor the gateway for your plublic Network<br><br>you can find an example in this link<br><br><a href="http://www.clusterlabs.org/wiki/Example_configurations">http://www.clusterlabs.org/wiki/Example_configurations</a><br>
<br><div class="gmail_quote">2012/2/3 Larry Brigman <span dir="ltr">&lt;<a href="mailto:larry.brigman@gmail.com">larry.brigman@gmail.com</a>&gt;</span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I have a few clusters that we are about to put into production.<br>One of the tests was to pull the public network cable on the<br>node that hosted the Virtual IP for the Cluster.  <br>We did and the Virtual IP didn&#39;t move.  It stayed on the node originally<br>

selected.<br><br>Now, I&#39;m thinking that I don&#39;t have the configuation setup correctly.<br><br>Setup:  3 to 5 nodes.  Two Private switches for corosync/pacemaker communications.<br>Active-Backup Bond into the private switches.<br>

<br>Public Interfaces of all the nodes on the same network and pingable between them.<br><br>corosync 1.4.2.<br>openais 1.1.3<br>pacemaker 1.1.5<br>cluster-glue 1.0.6<br>resource-agents 1.0.4<br>RHEL5 with 2.6.32.49 kernel.<br>

<br>Pacemaker config xml<br>[root@mfg311 ~]# cibadmin --query<br>&lt;cib epoch=&quot;43&quot; num_updates=&quot;83&quot; admin_epoch=&quot;0&quot; validate-with=&quot;pacemaker-1.2&quot; crm_feature_set=&quot;3.0.5&quot; have-quorum=&quot;1&quot; dc-uuid=&quot;mfg2-1&quot;&gt;<br>

  &lt;configuration&gt;<br>    &lt;crm_config&gt;<br>      &lt;cluster_property_set id=&quot;cib-bootstrap-options&quot;&gt;<br>        &lt;nvpair id=&quot;cib-bootstrap-options-dc-version&quot; name=&quot;dc-version&quot; value=&quot;1.1.5-1.2.sme-01e86afaaa6d4a8c4836f68df80ababd6ca3902f&quot;/&gt;<br>

        &lt;nvpair id=&quot;cib-bootstrap-options-cluster-infrastructure&quot; name=&quot;cluster-infrastructure&quot; value=&quot;openais&quot;/&gt;<br>        &lt;nvpair id=&quot;cib-bootstrap-options-expected-quorum-votes&quot; name=&quot;expected-quorum-votes&quot; value=&quot;3&quot;/&gt;<br>

        &lt;nvpair id=&quot;cib-bootstrap-options-stonith-enabled&quot; name=&quot;stonith-enabled&quot; value=&quot;false&quot;/&gt;<br>        &lt;nvpair id=&quot;cib-bootstrap-options-no-quorum-policy&quot; name=&quot;no-quorum-policy&quot; value=&quot;ignore&quot;/&gt;<br>

        &lt;nvpair id=&quot;cib-bootstrap-options-default-resource-stickiness&quot; name=&quot;default-resource-stickiness&quot; value=&quot;1000&quot;/&gt;<br>        &lt;nvpair id=&quot;cib-bootstrap-options-enable-acl&quot; name=&quot;enable-acl&quot; value=&quot;true&quot;/&gt;<br>

      &lt;/cluster_property_set&gt;<br>    &lt;/crm_config&gt;<br>    &lt;nodes&gt;<br>      &lt;node id=&quot;mfg2-1&quot; uname=&quot;mfg2-1&quot; type=&quot;normal&quot;&gt;<br>        &lt;instance_attributes id=&quot;nodes-mfg2-1&quot;&gt;<br>

          &lt;nvpair id=&quot;nodes-mfg2-1-internalname&quot; name=&quot;internalname&quot; value=&quot;node1.local&quot;/&gt;<br>          &lt;nvpair id=&quot;nodes-mfg2-1-internalip&quot; name=&quot;internalip&quot; value=&quot;4.0.0.1&quot;/&gt;<br>

          &lt;nvpair id=&quot;nodes-mfg2-1-internalid&quot; name=&quot;internalid&quot; value=&quot;1&quot;/&gt;<br>          &lt;nvpair id=&quot;nodes-mfg2-1-adminip&quot; name=&quot;adminip&quot; value=&quot;134.242.157.62&quot;/&gt;<br>

        &lt;/instance_attributes&gt;<br>      &lt;/node&gt;<br>      &lt;node id=&quot;mfg2-2&quot; uname=&quot;mfg2-2&quot; type=&quot;normal&quot;&gt;<br>        &lt;instance_attributes id=&quot;nodes-mfg2-2&quot;&gt;<br>

          &lt;nvpair id=&quot;nodes-mfg2-2-internalname&quot; name=&quot;internalname&quot; value=&quot;node2.local&quot;/&gt;<br>          &lt;nvpair id=&quot;nodes-mfg2-2-internalip&quot; name=&quot;internalip&quot; value=&quot;4.0.0.2&quot;/&gt;<br>

          &lt;nvpair id=&quot;nodes-mfg2-2-internalid&quot; name=&quot;internalid&quot; value=&quot;2&quot;/&gt;<br>          &lt;nvpair id=&quot;nodes-mfg2-2-adminip&quot; name=&quot;adminip&quot; value=&quot;134.242.157.60&quot;/&gt;<br>

        &lt;/instance_attributes&gt;<br>      &lt;/node&gt;<br>      &lt;node id=&quot;mfg2-3&quot; uname=&quot;mfg2-3&quot; type=&quot;normal&quot;&gt;<br>        &lt;instance_attributes id=&quot;nodes-mfg2-3&quot;&gt;<br>

          &lt;nvpair id=&quot;nodes-mfg2-3-internalname&quot; name=&quot;internalname&quot; value=&quot;node3.local&quot;/&gt;<br>          &lt;nvpair id=&quot;nodes-mfg2-3-internalip&quot; name=&quot;internalip&quot; value=&quot;4.0.0.3&quot;/&gt;<br>

          &lt;nvpair id=&quot;nodes-mfg2-3-internalid&quot; name=&quot;internalid&quot; value=&quot;3&quot;/&gt;<br>          &lt;nvpair id=&quot;nodes-mfg2-3-adminip&quot; name=&quot;adminip&quot; value=&quot;134.242.157.58&quot;/&gt;<br>

        &lt;/instance_attributes&gt;<br>      &lt;/node&gt;<br>    &lt;/nodes&gt;<br>    &lt;resources&gt;<br>      &lt;primitive class=&quot;ocf&quot; id=&quot;ClusterIP&quot; provider=&quot;heartbeat&quot; type=&quot;IPaddr2&quot;&gt;<br>

        &lt;instance_attributes id=&quot;ClusterIP-instance_attributes&quot;&gt;<br>          &lt;nvpair id=&quot;ClusterIP-instance_attributes-ip&quot; name=&quot;ip&quot; value=&quot;134.242.157.65&quot;/&gt;<br>          &lt;nvpair id=&quot;ClusterIP-instance_attributes-cidr_netmask&quot; name=&quot;cidr_netmask&quot; value=&quot;32&quot;/&gt;<br>

          &lt;nvpair id=&quot;ClusterIP-instance_attributes-nic&quot; name=&quot;nic&quot; value=&quot;lan0&quot;/&gt;<br>        &lt;/instance_attributes&gt;<br>        &lt;operations&gt;<br>          &lt;op id=&quot;ClusterIP-monitor-30s&quot; interval=&quot;30s&quot; name=&quot;monitor&quot;/&gt;<br>

        &lt;/operations&gt;<br>      &lt;/primitive&gt;<br>    &lt;/resources&gt;<br>    &lt;constraints/&gt;<br>    &lt;acls&gt;<br>      &lt;acl_role id=&quot;monitor&quot;&gt;<br>        &lt;read id=&quot;monitor-read&quot; xpath=&quot;/cib&quot;/&gt;<br>

      &lt;/acl_role&gt;<br>      &lt;acl_role id=&quot;admin&quot;&gt;<br>        &lt;write id=&quot;admin-write&quot; xpath=&quot;/cib&quot;/&gt;<br>      &lt;/acl_role&gt;<br>      &lt;acl_user id=&quot;nvs&quot;&gt;<br>

        &lt;role_ref id=&quot;monitor&quot;/&gt;<br>      &lt;/acl_user&gt;<br>    &lt;/acls&gt;<br>  &lt;/configuration&gt;<br>  &lt;status&gt;<br>    &lt;node_state id=&quot;mfg2-1&quot; uname=&quot;mfg2-1&quot; crmd=&quot;online&quot; crm-debug-origin=&quot;do_state_transition&quot; ha=&quot;active&quot; in_ccm=&quot;true&quot; join=&quot;member&quot; expected=&quot;member&quot; shutdown=&quot;0&quot;&gt;<br>

      &lt;transient_attributes id=&quot;mfg2-1&quot;&gt;<br>        &lt;instance_attributes id=&quot;status-mfg2-1&quot;&gt;<br>          &lt;nvpair id=&quot;status-mfg2-1-probe_complete&quot; name=&quot;probe_complete&quot; value=&quot;true&quot;/&gt;<br>

        &lt;/instance_attributes&gt;<br>      &lt;/transient_attributes&gt;<br>      &lt;lrm id=&quot;mfg2-1&quot;&gt;<br>        &lt;lrm_resources&gt;<br>          &lt;lrm_resource id=&quot;ClusterIP&quot; type=&quot;IPaddr2&quot; class=&quot;ocf&quot; provider=&quot;heartbeat&quot;&gt;<br>

            &lt;lrm_rsc_op id=&quot;ClusterIP_monitor_0&quot; operation=&quot;monitor&quot; crm-debug-origin=&quot;build_active_RAs&quot; crm_feature_set=&quot;3.0.5&quot; transition-key=&quot;6:15:7:35783a82-6ec5-4e0a-b8e9-fb7705874df6&quot; transition-magic=&quot;0:7;6:15:7:35783a82-6ec5-4e0a-b8e9-fb7705874df6&quot; call-id=&quot;2&quot; rc-code=&quot;7&quot; op-status=&quot;0&quot; interval=&quot;0&quot; last-run=&quot;1328131950&quot; last-rc-change=&quot;1328131950&quot; exec-time=&quot;30&quot; queue-time=&quot;0&quot; op-digest=&quot;3743ac5035464b9704ea522bbbe4b1df&quot;/&gt;<br>

            &lt;lrm_rsc_op id=&quot;ClusterIP_stop_0&quot; operation=&quot;stop&quot; crm-debug-origin=&quot;build_active_RAs&quot; crm_feature_set=&quot;3.0.5&quot; transition-key=&quot;7:114:0:c9a528d7-1112-4e18-aef2-d076d88d3f77&quot; transition-magic=&quot;0:0;7:114:0:c9a528d7-1112-4e18-aef2-d076d88d3f77&quot; call-id=&quot;8&quot; rc-code=&quot;0&quot; op-status=&quot;0&quot; interval=&quot;0&quot; last-run=&quot;1328231542&quot; last-rc-change=&quot;1328231542&quot; exec-time=&quot;30&quot; queue-time=&quot;0&quot; op-digest=&quot;3743ac5035464b9704ea522bbbe4b1df&quot;/&gt;<br>

            &lt;lrm_rsc_op id=&quot;ClusterIP_start_0&quot; operation=&quot;start&quot; crm-debug-origin=&quot;build_active_RAs&quot; crm_feature_set=&quot;3.0.5&quot; transition-key=&quot;8:117:0:c9a528d7-1112-4e18-aef2-d076d88d3f77&quot; transition-magic=&quot;0:0;8:117:0:c9a528d7-1112-4e18-aef2-d076d88d3f77&quot; call-id=&quot;9&quot; rc-code=&quot;0&quot; op-status=&quot;0&quot; interval=&quot;0&quot; last-run=&quot;1328232621&quot; last-rc-change=&quot;1328232621&quot; exec-time=&quot;40&quot; queue-time=&quot;0&quot; op-digest=&quot;3743ac5035464b9704ea522bbbe4b1df&quot;/&gt;<br>

            &lt;lrm_rsc_op id=&quot;ClusterIP_monitor_30000&quot; operation=&quot;monitor&quot; crm-debug-origin=&quot;build_active_RAs&quot; crm_feature_set=&quot;3.0.5&quot; transition-key=&quot;9:117:0:c9a528d7-1112-4e18-aef2-d076d88d3f77&quot; transition-magic=&quot;0:0;9:117:0:c9a528d7-1112-4e18-aef2-d076d88d3f77&quot; call-id=&quot;10&quot; rc-code=&quot;0&quot; op-status=&quot;0&quot; interval=&quot;30000&quot; last-rc-change=&quot;1328232622&quot; exec-time=&quot;20&quot; queue-time=&quot;0&quot; op-digest=&quot;6a42b0adc3d196e1e2e5f47ee2281b5f&quot;/&gt;<br>

          &lt;/lrm_resource&gt;<br>        &lt;/lrm_resources&gt;<br>      &lt;/lrm&gt;<br>    &lt;/node_state&gt;<br>    &lt;node_state id=&quot;mfg2-2&quot; uname=&quot;mfg2-2&quot; crmd=&quot;online&quot; crm-debug-origin=&quot;do_state_transition&quot; ha=&quot;active&quot; in_ccm=&quot;true&quot; join=&quot;member&quot; expected=&quot;member&quot; shutdown=&quot;0&quot;&gt;<br>

      &lt;transient_attributes id=&quot;mfg2-2&quot;&gt;<br>        &lt;instance_attributes id=&quot;status-mfg2-2&quot;&gt;<br>          &lt;nvpair id=&quot;status-mfg2-2-probe_complete&quot; name=&quot;probe_complete&quot; value=&quot;true&quot;/&gt;<br>

        &lt;/instance_attributes&gt;<br>      &lt;/transient_attributes&gt;<br>      &lt;lrm id=&quot;mfg2-2&quot;&gt;<br>        &lt;lrm_resources&gt;<br>          &lt;lrm_resource id=&quot;ClusterIP&quot; type=&quot;IPaddr2&quot; class=&quot;ocf&quot; provider=&quot;heartbeat&quot;&gt;<br>

            &lt;lrm_rsc_op id=&quot;ClusterIP_monitor_0&quot; operation=&quot;monitor&quot; crm-debug-origin=&quot;build_active_RAs&quot; crm_feature_set=&quot;3.0.5&quot; transition-key=&quot;7:16:7:35783a82-6ec5-4e0a-b8e9-fb7705874df6&quot; transition-magic=&quot;0:7;7:16:7:35783a82-6ec5-4e0a-b8e9-fb7705874df6&quot; call-id=&quot;2&quot; rc-code=&quot;7&quot; op-status=&quot;0&quot; interval=&quot;0&quot; last-run=&quot;1328131971&quot; last-rc-change=&quot;1328131971&quot; exec-time=&quot;30&quot; queue-time=&quot;0&quot; op-digest=&quot;3743ac5035464b9704ea522bbbe4b1df&quot;/&gt;<br>

            &lt;lrm_rsc_op id=&quot;ClusterIP_start_0&quot; operation=&quot;start&quot; crm-debug-origin=&quot;build_active_RAs&quot; crm_feature_set=&quot;3.0.5&quot; transition-key=&quot;8:114:0:c9a528d7-1112-4e18-aef2-d076d88d3f77&quot; transition-magic=&quot;0:0;8:114:0:c9a528d7-1112-4e18-aef2-d076d88d3f77&quot; call-id=&quot;6&quot; rc-code=&quot;0&quot; op-status=&quot;0&quot; interval=&quot;0&quot; last-run=&quot;1328231542&quot; last-rc-change=&quot;1328231542&quot; exec-time=&quot;30&quot; queue-time=&quot;0&quot; op-digest=&quot;3743ac5035464b9704ea522bbbe4b1df&quot;/&gt;<br>

            &lt;lrm_rsc_op id=&quot;ClusterIP_stop_0&quot; operation=&quot;stop&quot; crm-debug-origin=&quot;build_active_RAs&quot; crm_feature_set=&quot;3.0.5&quot; transition-key=&quot;7:117:0:c9a528d7-1112-4e18-aef2-d076d88d3f77&quot; transition-magic=&quot;0:0;7:117:0:c9a528d7-1112-4e18-aef2-d076d88d3f77&quot; call-id=&quot;8&quot; rc-code=&quot;0&quot; op-status=&quot;0&quot; interval=&quot;0&quot; last-run=&quot;1328232621&quot; last-rc-change=&quot;1328232621&quot; exec-time=&quot;30&quot; queue-time=&quot;0&quot; op-digest=&quot;3743ac5035464b9704ea522bbbe4b1df&quot;/&gt;<br>

          &lt;/lrm_resource&gt;<br>        &lt;/lrm_resources&gt;<br>      &lt;/lrm&gt;<br>    &lt;/node_state&gt;<br>    &lt;node_state id=&quot;mfg2-3&quot; uname=&quot;mfg2-3&quot; crmd=&quot;online&quot; crm-debug-origin=&quot;do_update_resource&quot; ha=&quot;active&quot; in_ccm=&quot;true&quot; join=&quot;member&quot; expected=&quot;member&quot; shutdown=&quot;0&quot;&gt;<br>

      &lt;lrm id=&quot;mfg2-3&quot;&gt;<br>        &lt;lrm_resources&gt;<br>          &lt;lrm_resource id=&quot;ClusterIP&quot; type=&quot;IPaddr2&quot; class=&quot;ocf&quot; provider=&quot;heartbeat&quot;&gt;<br>            &lt;lrm_rsc_op id=&quot;ClusterIP_monitor_0&quot; operation=&quot;monitor&quot; crm-debug-origin=&quot;do_update_resource&quot; crm_feature_set=&quot;3.0.5&quot; transition-key=&quot;7:133:7:c9a528d7-1112-4e18-aef2-d076d88d3f77&quot; transition-magic=&quot;0:7;7:133:7:c9a528d7-1112-4e18-aef2-d076d88d3f77&quot; call-id=&quot;2&quot; rc-code=&quot;7&quot; op-status=&quot;0&quot; interval=&quot;0&quot; last-run=&quot;1328243701&quot; last-rc-change=&quot;1328243701&quot; exec-time=&quot;20&quot; queue-time=&quot;0&quot; op-digest=&quot;3743ac5035464b9704ea522bbbe4b1df&quot;/&gt;<br>

          &lt;/lrm_resource&gt;<br>        &lt;/lrm_resources&gt;<br>      &lt;/lrm&gt;<br>      &lt;transient_attributes id=&quot;mfg2-3&quot;&gt;<br>        &lt;instance_attributes id=&quot;status-mfg2-3&quot;&gt;<br>          &lt;nvpair id=&quot;status-mfg2-3-probe_complete&quot; name=&quot;probe_complete&quot; value=&quot;true&quot;/&gt;<br>

        &lt;/instance_attributes&gt;<br>      &lt;/transient_attributes&gt;<br>    &lt;/node_state&gt;<br>  &lt;/status&gt;<br>&lt;/cib&gt;<br><br>Should IPaddr2 correctly detect link loss and move the Virtual IP?<br>Examining the code doesn&#39;t show that it would detect that failure.<br>

What other resources/agents would recommend be configure to correctly migrate <br>the Virtual IP?<br><br><br>
<br>_______________________________________________<br>
Pacemaker mailing list: <a href="mailto:Pacemaker@oss.clusterlabs.org">Pacemaker@oss.clusterlabs.org</a><br>
<a href="http://oss.clusterlabs.org/mailman/listinfo/pacemaker" target="_blank">http://oss.clusterlabs.org/mailman/listinfo/pacemaker</a><br>
<br>
Project Home: <a href="http://www.clusterlabs.org" target="_blank">http://www.clusterlabs.org</a><br>
Getting started: <a href="http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf" target="_blank">http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf</a><br>
Bugs: <a href="http://bugs.clusterlabs.org" target="_blank">http://bugs.clusterlabs.org</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>esta es mi vida e me la vivo hasta que dios quiera<br>