Hi,

I am new to HA and I am trying to setup DRBD-NFS-HA storage.
 
My problem is that I cannot start drbd service from heartbeat gui. I can
start drbd manually, promote primary or demote to secondary, mount
/dev/drbd0 and access data ... all without problem. But if I try hb_gui ...
no way. 

storage1.domain.org CENTOS 5.1 x64
storage2.domain.org CENTOS 5.1 i386 

I am using DRBD OCF resource. Here is my cib.xml file so you guys can have
idea what i did. 

Did I made mistake by mixing x64 and i386 servers??


Thanks for all replies!!

..........................

<cib generated="true" admin_epoch="0" have_quorum="true" ignore_dtd="false"
num_peers="2" cib_feature_revision="2.0" ccm_transition="2"
dc_uuid="9f41500a-cf29-4f39-a095-803835773e89" num_updates="1" epoch="79"
cib-last-written="Fri Jun 20 11:58:35 2008">
   <configuration>
     <crm_config>
       <cluster_property_set id="cib-bootstrap-options">
         <attributes>
           <nvpair id="cib-bootstrap-options-dc-version" name="dc-version"
value="2.1.3-node: 552305612591183b1628baa5bc6e903e0f1e26a3"/>
           <nvpair id="cib-bootstrap-options-last-lrm-refresh"
name="last-lrm-refresh" value="1213986336"/>
         </attributes>
       </cluster_property_set>
     </crm_config>
     <nodes>
       <node id="9f41500a-cf29-4f39-a095-803835773e89"
uname="storage2.domain.org" type="normal"/>
       <node id="5781158d-167a-4fb8-89ae-c115b782360b"
uname="storage1.domain.org" type="normal"/>
     </nodes>
     <resources>
       <master_slave id="MS-DRBD0">
         <meta_attributes id="MS-DRBD0_meta_attrs">
           <attributes>
             <nvpair id="MS-DRBD0_metaattr_clone_max" name="clone_max"
value="2"/>
             <nvpair id="MS-DRBD0_metaattr_clone_node_max"
name="clone_node_max" value="1"/>
             <nvpair id="MS-DRBD0_metaattr_master_max" name="master_max"
value="1"/>
             <nvpair id="MS-DRBD0_metaattr_master_node_max"
name="master_node_max" value="1"/>
             <nvpair id="MS-DRBD0_metaattr_notify" name="notify"
value="true"/>
             <nvpair id="MS-DRBD0_metaattr_globally_unique"
name="globally_unique" value="false"/>
           </attributes>
         </meta_attributes>
         <primitive id="resource_" class="ocf" type="drbd"
provider="heartbeat">
           <instance_attributes id="resource__instance_attrs">
             <attributes>
               <nvpair id="28b9403b-ef37-4a98-96b1-be688a402a62"
name="drbd_resource" value="drbd0"/>
               <nvpair id="8e9dcbfa-3a4c-4eb6-a327-c61e9bda4788"
name="drbdconf" value="/etc/drbd.conf"/>
             </attributes>
           </instance_attributes>
           <meta_attributes id="resource_:0_meta_attrs">
             <attributes/>
           </meta_attributes>
           <operations/>
         </primitive>
       </master_slave>
       <primitive id="resource_FILESYSTEM" class="ocf" type="Filesystem"
provider="heartbeat">
         <meta_attributes id="resource_FILESYSTEM_meta_attrs">
           <attributes/>
         </meta_attributes>
         <instance_attributes id="resource_FILESYSTEM_instance_attrs">
           <attributes>
             <nvpair id="16a90d1a-a80b-4199-9f36-f39884b29ec2" name="device"
value="/dev/drbd0"/>
             <nvpair id="47211fc0-ecec-41cb-b5b5-2fa53f761913"
name="directory" value="/repdata"/>
             <nvpair id="31f2a262-0ef7-44bd-94da-6cad167f100b" name="fstype"
value="ext3"/>
           </attributes>
         </instance_attributes>
       </primitive>
       <primitive id="resource_IPADDR" class="ocf" type="IPaddr2"
provider="heartbeat">
         <meta_attributes id="resource_IPADDR_meta_attrs">
           <attributes/>
         </meta_attributes>
         <instance_attributes id="resource_IPADDR_instance_attrs">
           <attributes>
             <nvpair id="d6dfff49-9032-45c4-af31-21546365e71b" name="ip"
value="192.168.1.233"/>
             <nvpair id="2174257f-4ea6-4ed5-b1f6-0397083af645" name="nic"
value="eth0"/>
           </attributes>
         </instance_attributes>
       </primitive>
       <primitive id="resource_NFS" class="lsb" type="nfs"
provider="heartbeat">
         <meta_attributes id="resource_NFS_meta_attrs">
           <attributes/>
         </meta_attributes>
       </primitive>
     </resources>
     <constraints>
       <rsc_order from="MS-DRBD0" to="resource_FILESYSTEM"
id="order_DRBD_before_FILESYSTEM" type="before"/>
       <rsc_order id="order_FILESYSTEM_before_NFS"
from="resource_FILESYSTEM" type="before" to="resource_NFS"/>
       <rsc_order id="order_NFS_before_IPADDR" from="resource_NFS"
type="before" to="resource_IPADDR"/>
       <rsc_colocation id="colocation_DRBD_FILESYSTEM" from="MS-DRBD0"
to="resource_FILESYSTEM" score="INFINITY"/>
       <rsc_colocation id="colocation_FILESYSTEM_NFS"
from="resource_FILESYSTEM" to="resource_NFS" score="INFINITY"/>
       <rsc_colocation id="colocation_NFS_IPADDR" from="resource_NFS"
to="resource_IPADDR" score="INFINITY"/>
     </constraints>
   </configuration>
 </cib>

.............
-- 
View this message in context: 
http://www.nabble.com/Can%27t-start-DRBD-from-HeartBeat-GUI-tp18035601p18035601.html
Sent from the Linux-HA mailing list archive at Nabble.com.

_______________________________________________
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