Hi everyone,

While testing my cluster I just disconnected the DRBD-link.
I expected the following:

Because only the DRBD-link (=second heartbeat-link) was down, heartbeat
still knows that both nodes are up and does not change anything. DRBD
should stay in primary/secondary state but because of the
drbd-split-brain this should be seen as primary/unknown on the first and
secondary/unknown on the second node.

But this didn't happen. Both nodes had primary drbd-volumes after
disconnecting link.

Can anyone tell me, why heartbeat or whoever did this?

I did not yet use dopd, but will enable it after understanding why the
cluster reacts this way.

Thanks
Florian

PS: CIB is attached
 <cib generated="true" admin_epoch="0" ignore_dtd="false" num_peers="1" have_quorum="1" cib_feature_revision="2.0" crm_feature_set="2.1" epoch="88" dc_uuid="cd70182b-d316-4cb0-82e4-12330afe7625" num_updates="38">
   <configuration>
     <crm_config>
       <cluster_property_set id="cib-bootstrap-options">
         <attributes>
           <nvpair id="cib-bootstrap-options-dc-version" name="dc-version" value="0.6.1-node: e7152d1be93354414619f78e10fa7b321faf6d96"/>
           <nvpair id="cib-bootstrap-options-default_resources_stickiness" name="default_resource_stickiness" value="INFINITY"/>
         </attributes>
       </cluster_property_set>
     </crm_config>
     <nodes>
       <node id="cd70182b-d316-4cb0-82e4-12330afe7625" uname="saprouter1" type="normal"/>
       <node id="3a3820e2-3fd2-44ec-8fba-991ca4d20066" uname="saprouter2" type="normal"/>
     </nodes>
     <resources>
       <group id="Group_AFD" ordered="true" collocated="true">
         <primitive id="drbddisk_afd" class="heartbeat" provider="heartbeat" type="drbddisk">
           <instance_attributes id="d7eac333-dcd5-4d56-adbf-7668b4f0fd24">
             <attributes>
               <nvpair id="drbddisk_afd_resource" name="drbd_resource" value="drbd_afd"/>
             </attributes>
           </instance_attributes>
         </primitive>
         <primitive id="Filesystem_afd" class="ocf" provider="heartbeat" type="Filesystem">
           <instance_attributes id="Filesystem_afd_instant_attributes">
             <attributes>
               <nvpair id="Filesystem_afd_device" name="device" value="/dev/drbd0"/>
               <nvpair id="Filesystem_afd_directory" name="directory" value="/usr/afd"/>
               <nvpair id="Filesystem_afd_fstype" name="fstype" value="ext3"/>
             </attributes>
           </instance_attributes>
           <operations>
             <op id="Filesystem_afd_Monitoring" interval="30s" name="monitor" timeout="15s"/>
           </operations>
         </primitive>
       </group>
       <group id="Group_ftpdata" ordered="true" collocated="true">
         <primitive id="drbddisk_ftpdata" class="heartbeat" provider="heartbeat" type="drbddisk">
           <instance_attributes id="c0519ef1-96a2-4cb0-820d-ee5bd1bdcb97">
             <attributes>
               <nvpair id="drbddisk_ftpdata_resource" name="drbd_resource" value="drbd_ftpdata"/>
             </attributes>
           </instance_attributes>
         </primitive>
         <primitive id="Filesystem_ftpdata" class="ocf" provider="heartbeat" type="Filesystem">
           <instance_attributes id="Filesystem_ftpdata_instant_attributes">
             <attributes>
               <nvpair id="Filesystem_ftpdata_device" name="device" value="/dev/drbd1"/>
               <nvpair id="Filesystem_ftpdata_directory" name="directory" value="/ftpdata"/>
               <nvpair id="Filesystem_ftpdata_fstype" name="fstype" value="ext3"/>
             </attributes>
           </instance_attributes>
           <operations>
             <op id="Filesystem_ftpdata_Monitoring" interval="30s" name="monitor" timeout="15s"/>
           </operations>
         </primitive>
       </group>
       <group id="Group_saprouter" ordered="true" collocated="true">
         <primitive id="drbddisk_saprouter" class="heartbeat" provider="heartbeat" type="drbddisk">
           <instance_attributes id="ffad5f19-2b6a-4f22-ad36-3570fe7a2ea7">
             <attributes>
               <nvpair id="drbddisk_saprouter_resource" name="drbd_resource" value="drbd_saprouter"/>
             </attributes>
           </instance_attributes>
         </primitive>
         <primitive id="Filesystem_saprouter" class="ocf" provider="heartbeat" type="Filesystem">
           <instance_attributes id="Filesystem_saprouter_instant_attributes">
             <attributes>
               <nvpair id="Filesystem_saprouter_device" name="device" value="/dev/drbd2"/>
               <nvpair id="Filesystem_saprouter_directory" name="directory" value="/usr/sap/saprouter"/>
               <nvpair id="Filesystem_saprouter_fstype" name="fstype" value="ext3"/>
             </attributes>
           </instance_attributes>
           <operations>
             <op id="Filesystem_saprouter_Monitoring" interval="30s" name="monitor" timeout="15s"/>
           </operations>
         </primitive>
       </group>
       <group id="Group_configs" ordered="true" collocated="true">
         <primitive id="drbddisk_configs" class="heartbeat" provider="heartbeat" type="drbddisk">
           <instance_attributes id="6a5cc4b2-55dc-413f-b9f9-7259dfcd279f">
             <attributes>
               <nvpair id="drbddisk_configs_resource" name="drbd_resource" value="drbd_configs"/>
             </attributes>
           </instance_attributes>
         </primitive>
         <primitive id="Filesystem_configs" class="ocf" provider="heartbeat" type="Filesystem">
           <instance_attributes id="Filesystem_configs_instant_attributes">
             <attributes>
               <nvpair id="Filesystem_configs_device" name="device" value="/dev/drbd3"/>
               <nvpair id="Filesystem_configs_directory" name="directory" value="/configs"/>
               <nvpair id="Filesystem_configs_fstype" name="fstype" value="ext3"/>
             </attributes>
           </instance_attributes>
           <operations>
             <op id="Filesystem_configs_Monitoring" interval="30s" name="monitor" timeout="15s"/>
           </operations>
         </primitive>
       </group>
       <primitive id="vsftpd" class="lsb" type="vsftpd">
         <operations>
           <op id="vsftpd_Monitoring" interval="30s" name="monitor" timeout="15s"/>
         </operations>
       </primitive>
       <primitive id="named" class="lsb" type="named">
         <operations>
           <op id="named_Monitoring" interval="30s" name="monitor" timeout="15s"/>
         </operations>
       </primitive>
       <primitive id="xinetd" class="lsb" type="xinetd">
         <operations>
           <op id="xinetd_Monitoring" interval="30s" name="monitor" timeout="15s"/>
         </operations>
       </primitive>
       <primitive id="samba" class="lsb" type="smb">
         <operations>
           <op id="samba_Monitoring" interval="30s" name="monitor" timeout="15s"/>
         </operations>
       </primitive>
       <primitive id="AFD_IP" class="ocf" provider="heartbeat" type="IPaddr">
         <operations>
           <op id="AFD_IP_Monitoring" interval="30s" name="monitor" timeout="15s"/>
         </operations>
         <instance_attributes id="AFD_IP_instance_attributes">
           <attributes>
             <nvpair id="AFD_IP_ip" name="ip" value="193.30.176.70"/>
             <nvpair id="AFD_IP_cidr_netmask" name="cidr_netmask" value="24"/>
           </attributes>
         </instance_attributes>
       </primitive>
       <primitive id="saprouter_IP" class="ocf" provider="heartbeat" type="IPaddr">
         <operations>
           <op id="saprouter_IP_Monitoring" interval="30s" name="monitor" timeout="15s"/>
         </operations>
         <instance_attributes id="saprouter_IP_instance_attributes">
           <attributes>
             <nvpair id="saprouter_IP_ip" name="ip" value="193.30.176.71"/>
             <nvpair id="saprouter_IP_cidr_netmask" name="cidr_netmask" value="24"/>
           </attributes>
         </instance_attributes>
       </primitive>
       <primitive id="AFD" class="lsb" type="afdha">
         <operations>
           <op id="AFD_Monitoring" interval="30s" name="monitor" timeout="15s"/>
         </operations>
       </primitive>
       <primitive id="saprouter" class="lsb" type="saprouter">
         <operations>
           <op id="saprouter_Monitoring" interval="30s" name="monitor" timeout="15s"/>
         </operations>
       </primitive>
     </resources>
     <constraints>
       <rsc_colocation id="Run_Group_AFD_only_on_Group_configs_started" from="Group_AFD" to="Group_configs" to_role="started" score="INFINITY"/>
       <rsc_colocation id="Run_Group_ftpdata_only_on_Group_configs_started" from="Group_ftpdata" to="Group_configs" to_role="started" score="INFINITY"/>
       <rsc_colocation id="Run_Group_saprouter_only_on_Group_configs_started" from="Group_saprouter" to="Group_configs" to_role="started" score="INFINITY"/>
       <rsc_colocation id="Run_vsftpd_only_on_Group_configs_started" from="vsftpd" to="Group_configs" to_role="started" score="INFINITY"/>
       <rsc_order id="Start_vsftpd_after_Group_configs" action="start" from="vsftpd" type="after" to="Group_configs" to_action="start"/>
       <rsc_order id="Start_vsftpd_after_Group_ftpdata" action="start" from="vsftpd" type="after" to="Group_ftpdata" to_action="start"/>
       <rsc_colocation id="Run_samba_only_on_Group_configs_started" from="samba" to="Group_configs" to_role="started" score="INFINITY"/>
       <rsc_order id="Start_samba_after_Group_configs" action="start" from="samba" type="after" to="Group_configs" to_action="start"/>
       <rsc_order id="Start_samba_after_Group_ftpdata" action="start" from="samba" type="after" to="Group_ftpdata" to_action="start"/>
       <rsc_colocation id="Run_named_only_on_Group_configs_started" from="named" to="Group_configs" to_role="started" score="INFINITY"/>
       <rsc_order id="Start_named_after_Group_configs" action="start" from="named" type="after" to="Group_configs" to_action="start"/>
       <rsc_colocation id="Run_xinetd_only_on_Group_configs_started" from="xinetd" to="Group_configs" to_role="started" score="INFINITY"/>
       <rsc_order id="Start_xinetd_after_Group_configs" action="start" from="xinetd" type="after" to="Group_configs" to_action="start"/>
       <rsc_colocation id="Run_AFD_IP_only_on_Group_configs_started" from="AFD_IP" to="Group_configs" to_role="started" score="INFINITY"/>
       <rsc_colocation id="Run_saprouter_IP_only_on_Group_configs_started" from="saprouter_IP" to="Group_configs" to_role="started" score="INFINITY"/>
       <rsc_colocation id="Run_saprouter_only_on_Group_configs_started" from="saprouter" to="Group_configs" to_role="started" score="INFINITY"/>
       <rsc_order id="Start_saprouter_after_Group_saprouter" action="start" from="saprouter" type="after" to="Group_saprouter" to_action="start"/>
       <rsc_colocation id="Run_AFD_only_on_Group_configs_started" from="AFD" to="Group_configs" to_role="started" score="INFINITY"/>
       <rsc_order id="Start_AFD_after_Group_AFD" action="start" from="AFD" type="after" to="Group_AFD" to_action="start"/>
       <rsc_order id="Start_AFD_after_Group_ftpdata" action="start" from="AFD" type="after" to="Group_ftpdata" to_action="start"/>
     </constraints>
   </configuration>
   
_______________________________________________
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