On 1/31/12 4:42 PM, Lars Ellenberg wrote:
> On Tue, Jan 31, 2012 at 04:26:44PM -0500, William Seligman wrote:
>> On 1/31/12 4:11 PM, emmanuel segura wrote:
>>> William can you try like this
>>>
>>> primitive AdminDrbd ocf:linbit:drbd \
>>>   params drbd_resource="admin" \
>>>   op monitor interval="60s" role="Master"
>>>
>>> clone Adming AdminDrbd
>>
>> Both Arnold and Lars said this wouldn't work. I just tried it. They were 
>> right.
>>
>> Is there anything at all to the log message:
>>
>> Jan 31 16:20:54 orestes-tb lrmd: [12231]: info: RA output:
>> (AdminDrbd:1:monitor:stderr) Could not map 
>> uname=orestes-tb.nevis.columbia.edu
>> to a UUID: The object/attribute does not exist
> 
> Hmmm.
> That message comes from cib_utils.c.
> probably crm_master, which is a wrapper
> around crm_attribute.
> "should not happen".
> 
> Looks like parts of the system do not agree wether to use
> orestes-tb only, or orestes-tb.nevis.columbia.edu ...
> 
> And if the resource agent is unable to set a master score,
> pacemaker will not even try to promote.
> 
> What does uname -n say?
> Does it list the node name only, or the FQDN?

# uname -n
orestes-tb.nevis.columbia.edu

Aha! I went to /etc/cluster/cluster.conf, and changed all the host names to the
FQDN. It works!


 Master/Slave Set: AdminClone [AdminDrbd]
     Masters: [ hypatia-tb.nevis.columbia.edu orestes-tb.nevis.columbia.edu ]


Lars is the man! And I am a fool for not reading this web page closely enough:

<http://www.clusterlabs.org/doc/en-US/Pacemaker/1.1/html/Clusters_from_Scratch/ch08s02s02.html>

In the example, they just use the node name. But it clearly states to use the
output from 'uname -n' in cluster.conf. I guess on their Linux distro uname -n
returns just the node name.

Thanks!
-- 
Bill Seligman             | Phone: (914) 591-2823
Nevis Labs, Columbia Univ | mailto://selig...@nevis.columbia.edu
PO Box 137                |
Irvington NY 10533 USA    | http://www.nevis.columbia.edu/~seligman/

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

_______________________________________________
Linux-HA mailing list
Linux-HA@lists.linux-ha.org
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems

Reply via email to