<HTML>
<HEAD>
<TITLE>Starting services</TITLE>
</HEAD>
<BODY>
<FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'>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.<BR>
<BR>
============<BR>
Last updated: Tue Jun 16 16:13:40 2009<BR>
Current DC: mail2.eng.uiowa.edu (587adf74-2ae3-48b9-8449-d25bc0a1b511)<BR>
2 Nodes configured.<BR>
3 Resources configured.<BR>
============<BR>
<BR>
Node: mail2.eng.uiowa.edu (587adf74-2ae3-48b9-8449-d25bc0a1b511): online<BR>
Node: mail1.eng.uiowa.edu (a951b3e6-5704-479b-a36f-1728519eecca): online<BR>
<BR>
Master/Slave Set: ms-drbd0<BR>
drbd0:0 (heartbeat::ocf:drbd): Master mail2.eng.uiowa.edu<BR>
drbd0:1 (heartbeat::ocf:drbd): Started mail1.eng.uiowa.edu<BR>
fs0 (heartbeat::ocf:Filesystem): Started mail2.eng.uiowa.edu<BR>
Resource Group: group_apache<BR>
ipaddr (heartbeat::ocf:IPaddr): Started mail1.eng.uiowa.edu<BR>
apache (heartbeat::ocf:apache): Started mail1.eng.uiowa.edu<BR>
<BR>
<BR>
<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"><BR>
<configuration><BR>
<crm_config><BR>
<cluster_property_set id="cib-bootstrap-options"><BR>
<attributes><BR>
<nvpair id="cib-bootstrap-options-dc-version" name="dc-version" value="2.1.3-node: 552305612591183b1628baa5bc6e903e0f1e26a3"/><BR>
</attributes><BR>
</cluster_property_set><BR>
</crm_config><BR>
<nodes><BR>
<node id="587adf74-2ae3-48b9-8449-d25bc0a1b511" uname="mail2.eng.uiowa.edu" type="normal"/><BR>
<node id="a951b3e6-5704-479b-a36f-1728519eecca" uname="mail1.eng.uiowa.edu" type="normal"/><BR>
</nodes><BR>
<resources><BR>
<master_slave id="ms-drbd0"><BR>
<meta_attributes id="ma-ms-drbd0"><BR>
<attributes><BR>
<nvpair id="ma-ms-drbd0-1" name="clone_max" value="2"/><BR>
<nvpair id="ma-ms-drbd0-2" name="clone_node_max" value="1"/><BR>
<nvpair id="ma-ms-drbd0-3" name="master_max" value="1"/><BR>
<nvpair id="ma-ms-drbd0-4" name="master_node_max" value="1"/><BR>
<nvpair id="ma-ms-drbd0-5" name="notify" value="yes"/><BR>
<nvpair id="ma-ms-drbd0-6" name="globally_unique" value="false"/><BR>
</attributes><BR>
</meta_attributes><BR>
<primitive id="drbd0" class="ocf" provider="heartbeat" type="drbd"><BR>
<instance_attributes id="ia-drbd0"><BR>
<attributes><BR>
<nvpair id="ia-drbd0-1" name="drbd_resource" value="r0"/><BR>
</attributes><BR>
</instance_attributes><BR>
</primitive><BR>
</master_slave><BR>
<primitive id="fs0" class="ocf" type="Filesystem" provider="heartbeat"><BR>
<meta_attributes id="ma-fs0"><BR>
<attributes/><BR>
</meta_attributes><BR>
<instance_attributes id="ia-fs0"><BR>
<attributes><BR>
<nvpair id="ia-fs0-1" name="fstype" value="ext3"/><BR>
<nvpair id="ia-fs0-2" name="directory" value="/shared"/><BR>
<nvpair id="ia-fs0-3" name="device" value="/dev/drbd0"/><BR>
</attributes><BR>
</instance_attributes><BR>
</primitive><BR>
<group id="group_apache"><BR>
<primitive id="ipaddr" class="ocf" type="IPaddr" provider="heartbeat"><BR>
<instance_attributes id="ia_ipaddr"><BR>
<attributes><BR>
<nvpair id="ia_ipaddr_ip" name="ip" value="128.255.22.17"/><BR>
<nvpair id="ia_ipaddr_nic" name="nic" value="eth1"/><BR>
<nvpair id="ia_ipaddr_netmask" name="netmask" value="24"/><BR>
</attributes><BR>
</instance_attributes><BR>
</primitive><BR>
<primitive id="apache" class="ocf" type="apache" provider="heartbeat"><BR>
<instance_attributes id="ia_apache"><BR>
<attributes><BR>
<nvpair id="ia_apache_configfile" name="configfile" value="/etc/httpd/conf/httpd.conf"/><BR>
</attributes><BR>
</instance_attributes><BR>
</primitive><BR>
</group><BR>
</resources><BR>
<constraints><BR>
<rsc_location id="rsc_location_group_1" rsc="ms-drbd0"><BR>
<rule id="prefered_location_group_1" role="Master" score="100"><BR>
<expression id="prefered_location_group_1_expr" attribute="#uname" operation="eq" value="mail2.eng.uiowa.edu"/><BR>
</rule><BR>
</rsc_location><BR>
<rsc_location id="rsc_location_group_2" rsc="group_apache"><BR>
<rule id="prefered_location_group_2" role="Master" score="100"><BR>
<expression id="prefered_location_group_2_expr" attribute="#uname" operation="eq" value="mail2.eng.uiowa.edu"/><BR>
</rule><BR>
</rsc_location><BR>
<rsc_order id="drbd0_before_fs0" from="fs0" action="start" to="ms-drbd0" to_action="promote"/><BR>
<rsc_colocation id="fs0_on_drbd0" to="ms-drbd0" to_role="master" from="fs0" score="infinity"/><BR>
</constraints><BR>
</configuration><BR>
</cib><BR>
</SPAN></FONT>
</BODY>
</HTML>