Hi,
        I have a simple Active Passive configuration using Heartbeat v2
2.1.2.

auto_failback is set to FALSE in my ha.cf file.

I have pasted my CIB.xml at the end.

I have no "constraints" defined.  When I kill heartbeat on one node, the
switch-over occurs correctly.  However, when I restart my node "node2",
the node automatically start to service my ip eth:0 -> 192.168.0.100

My log on node1 show the following when heartbeat is restarted on node
2:

Dec  3 16:34:02 node1 pengine: [29067]: info: determine_online_status:
Node node2 is online
Dec  3 16:34:02 node1 pengine: [29067]: info: determine_online_status:
Node node1 is online
Dec  3 16:34:02 node1 pengine: [29067]: info: native_print: ip_resource
(heartbeat::ocf:IPaddr):        Started node1
Dec  3 16:34:02 node1 pengine: [29067]: notice: NoRoleChange: Move
resource ip_resource     (node1 -> node2)
Dec  3 16:34:02 node1 pengine: [29067]: notice: StopRsc:   node1 Stop
ip_resource
Dec  3 16:34:02 node1 pengine: [29067]: notice: StartRsc:  node2 Start
ip_resource
Dec  3 16:34:02 node1 pengine: [29067]: info: process_pe_message:
Transition 3: PEngine Input stored in:
/usr/local/var/lib/heartbeat/pengine/pe-input-22.bz2


Thanks!




---My CIB.XML---

<cib num_updates="1" epoch="1" admin_epoch="0" generated="false"
have_quorum="false" ignore_dtd="false" num_peers="0"
cib-last-written="Mon Dec  3 15:24:35 2007">
   <configuration>
     <crm_config/>
     <nodes>
       <node id="271a1f7f-538d-4486-8d1c-02267b083cc6" uname="node1"
type="normal"/>
       <node id="226d6a05-8fa7-4956-ace3-9c7f5855ab86" uname="node2"
type="normal"/>
     </nodes>
     <resources>
       <primitive id="ip_resource" class="ocf" type="IPaddr"
provider="heartbeat">
         <instance_attributes id="b7de1d31-b108-4e13-9613-8284a85d3db0">
           <attributes>
             <nvpair id="5c570f6b-924e-43c8-b8ae-5d03dd68b5f2" name="ip"
value="192.168.0.100"/>
           </attributes>
         </instance_attributes>
       </primitive>
     </resources>
     <constraints/>
   </configuration>
 </cib>
_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems

Reply via email to