--
Eric Robinson
Director of Information Technology
Physician Select Management, LLC
775-885-2211 x 111
 

> 
> I am not sure if that will really help you - but in my 
> cluster (ok older pacemaker version) I ahve the following to 
> define a master slave
> resource:
> 
> primitive rsc_sap_HA0_ASCS00 ocf:heartbeat:SAPInstance \
>    operations $id="rsc_sap_HA0_ASCS00-operations" \
>    op monitor interval="11" role="Slave" timeout="60" \
>    op monitor interval="13" role="Master" timeout="60" \
>    params \
>      InstanceName="HA0_ASCS00_sapha0as" \
>      START_PROFILE="/usr/sap/HA0/SYS/profile/HA0_ASCS00_sapha0as" \
>      ERS_InstanceName="HA0_ERS10_sapha0er"
>      ERS_START_PROFILE="/usr/sap/HA0/SYS/profile/HA0_ERS10_sapha0er"
> 
> ms msl_sap_enqrepl_HA0 rsc_sap_HA0_ASCS00 \
>    meta clone-max="2" target-role="Started" master-max="1" \
>    is-managed="true"
> 
> 
> 
> So I have a defined operation role="Master" on the primitive 
> but NOT a targe-role="Master" on the Master/Slave.
> 
> Additionally I have a colocation constraint between 
> primitives/group which must run together with the promoted clone:
> 
> colocation col_grp_sap_as_HAO_msl_sap_enqrepl_HA0_MASTER inf: \
>    grp_sap_as_HA0 msl_sap_enqrepl_HA0:Master
> 
> Sorry - I did not have checked, if the syntax has changed 
> here, or if your syntax where valid also in the past - so it 
> might be that my hint is completely useless ;-) I just wanted 
> to point on a thing where your config is completely different 
> to my config.
> 
> Hopefully ma hint helps...
> Fabian
> 
> 


Hi Fabian -- Thanks fot your thoughts, but I think we are going down the wrong 
path. The cluster config seems to be doing its job correctly. When I issue the 
command 'crm node standby' on the primary node, it DOES stop the drbd resource 
and issue a 'drbd down resource' command (or something like that). The standby 
node then TRIES to promote the drbd resource to primary, but when it runs 
drbdadm then it gets an error code 11 and so fails to promote. So it seems to 
me that Pacemaker is working, but for some reason drbd is not. What puzzles me 
is that it works fine using the drbdadm command from a shell prompt.

--Eric






Disclaimer - December 4, 2012 
This email and any files transmitted with it are confidential and intended 
solely for General Linux-HA mailing list. If you are not the named addressee 
you should not disseminate, distribute, copy or alter this email. Any views or 
opinions presented in this email are solely those of the author and might not 
represent those of Physicians' Managed Care or Physician Select Management. 
Warning: Although Physicians' Managed Care or Physician Select Management has 
taken reasonable precautions to ensure no viruses are present in this email, 
the company cannot accept responsibility for any loss or damage arising from 
the use of this email or attachments. 
This disclaimer was added by Policy Patrol: http://www.policypatrol.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