Note: "permalinks" may not be as permanent as we would like,
direct links of old sources may well be a few messages off.
I am finally able to mount my drbd resource on the primary machine and mount the filesystem. However I am having no luck getting my services to run on the correct machine and the device to come up. I seem to get device, or services, not both on primary machine. Hoping someone could tell me what I am doing wrong. The ipaddr and apache should actually be starting on mail2. Thanks, heres a shot of crm_mon and my configuration. Using drbd82 on a centos box. ============ Last updated: Tue Jun 16 16:13:40 2009 Current DC: mail2.eng.uiowa.edu (587adf74-2ae3-48b9-8449-d25bc0a1b511) 2 Nodes configured. 3 Resources configured. ============ Node: mail2.eng.uiowa.edu (587adf74-2ae3-48b9-8449-d25bc0a1b511): online Node: mail1.eng.uiowa.edu (a951b3e6-5704-479b-a36f-1728519eecca): online Master/Slave Set: ms-drbd0 drbd0:0 (heartbeat::ocf:drbd): Master mail2.eng.uiowa.edu drbd0:1 (heartbeat::ocf:drbd): Started mail1.eng.uiowa.edu fs0 (heartbeat::ocf:Filesystem): Started mail2.eng.uiowa.edu Resource Group: group_apache ipaddr (heartbeat::ocf:IPaddr): Started mail1.eng.uiowa.edu apache (heartbeat::ocf:apache): Started mail1.eng.uiowa.edu <cib admin_epoch="0" epoch="1" have_quorum="false" ignore_dtd="false" num_peers="0" cib_feature_revision="2.0" generated="false" num_updates="146" cib-last-written="Tue Jun 16 16:04:10 2009"> <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"/> </attributes> </cluster_property_set> </crm_config> <nodes> <node id="587adf74-2ae3-48b9-8449-d25bc0a1b511" uname="mail2.eng.uiowa.edu" type="normal"/> <node id="a951b3e6-5704-479b-a36f-1728519eecca" uname="mail1.eng.uiowa.edu" type="normal"/> </nodes> <resources> <master_slave id="ms-drbd0"> <meta_attributes id="ma-ms-drbd0"> <attributes> <nvpair id="ma-ms-drbd0-1" name="clone_max" value="2"/> <nvpair id="ma-ms-drbd0-2" name="clone_node_max" value="1"/> <nvpair id="ma-ms-drbd0-3" name="master_max" value="1"/> <nvpair id="ma-ms-drbd0-4" name="master_node_max" value="1"/> <nvpair id="ma-ms-drbd0-5" name="notify" value="yes"/> <nvpair id="ma-ms-drbd0-6" name="globally_unique" value="false"/> </attributes> </meta_attributes> <primitive id="drbd0" class="ocf" provider="heartbeat" type="drbd"> <instance_attributes id="ia-drbd0"> <attributes> <nvpair id="ia-drbd0-1" name="drbd_resource" value="r0"/> </attributes> </instance_attributes> </primitive> </master_slave> <primitive id="fs0" class="ocf" type="Filesystem" provider="heartbeat"> <meta_attributes id="ma-fs0"> <attributes/> </meta_attributes> <instance_attributes id="ia-fs0"> <attributes> <nvpair id="ia-fs0-1" name="fstype" value="ext3"/> <nvpair id="ia-fs0-2" name="directory" value="/shared"/> <nvpair id="ia-fs0-3" name="device" value="/dev/drbd0"/> </attributes> </instance_attributes> </primitive> <group id="group_apache"> <primitive id="ipaddr" class="ocf" type="IPaddr" provider="heartbeat"> <instance_attributes id="ia_ipaddr"> <attributes> <nvpair id="ia_ipaddr_ip" name="ip" value="128.255.22.17"/> <nvpair id="ia_ipaddr_nic" name="nic" value="eth1"/> <nvpair id="ia_ipaddr_netmask" name="netmask" value="24"/> </attributes> </instance_attributes> </primitive> <primitive id="apache" class="ocf" type="apache" provider="heartbeat"> <instance_attributes id="ia_apache"> <attributes> <nvpair id="ia_apache_configfile" name="configfile" value="/etc/httpd/conf/httpd.conf"/> </attributes> </instance_attributes> </primitive> </group> </resources> <constraints> <rsc_location id="rsc_location_group_1" rsc="ms-drbd0"> <rule id="prefered_location_group_1" role="Master" score="100"> <expression id="prefered_location_group_1_expr" attribute="#uname" operation="eq" value="mail2.eng.uiowa.edu"/> </rule> </rsc_location> <rsc_location id="rsc_location_group_2" rsc="group_apache"> <rule id="prefered_location_group_2" role="Master" score="100"> <expression id="prefered_location_group_2_expr" attribute="#uname" operation="eq" value="mail2.eng.uiowa.edu"/> </rule> </rsc_location> <rsc_order id="drbd0_before_fs0" from="fs0" action="start" to="ms-drbd0" to_action="promote"/> <rsc_colocation id="fs0_on_drbd0" to="ms-drbd0" to_role="master" from="fs0" score="infinity"/> </constraints> </configuration> </cib> -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.linbit.com/pipermail/drbd-user/attachments/20090616/6abcbddf/attachment.htm>