[Pacemaker] how to correctly identify when a "Resource xxx-n cannot run anywhere"
Димитър Бойн
dboyn at postpath.com
Wed Nov 18 00:13:35 UTC 2009
Hi,
I would love to be able to identify when a certain resource cannot run anywhere in a cluster anymore.
A valid scenario would be when my cluster loses quorum -I want to leave it "frozen" and mark the failed resources for a Geographical failover to a different site.
#crm_resource crm_resource -W -r xxx-n
Returns: "resource xxx-n is NOT running" -but this is current state only doesn't indicate cluster wide intention to be in certain state
I noticed also that
#/usr/sbin/crm_verify -LV
Is not grep-able.
Any advice on how would I ask the crm if it is trying to manage/relocate/restart a resource or it has already given up because Resource xxx-n cannot run anywhere ?
Thanks as always!
Dimitar Boyn
Technical Marketing Engineer
Collaboration Software Group
+1(408)566-4265
Mobile: +1(650)996-9008 WebEx Communications, Inc.
3979 Freedom Circle
Santa Clara, CA 95054
United States
Think before you print.
This e-mail may contain confidential and privileged material for the sole use of the intended recipient. Any review, use, distribution or disclosure by others is strictly prohibited. If you are not the intended recipient (or authorized to receive for the recipient), please contact the sender by reply e-mail and delete all copies of this message.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.clusterlabs.org/pipermail/pacemaker/attachments/20091118/5ef8c34a/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.jpg
Type: image/jpeg
Size: 21157 bytes
Desc: not available
URL: <https://lists.clusterlabs.org/pipermail/pacemaker/attachments/20091118/5ef8c34a/attachment-0002.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image002.jpg
Type: image/jpeg
Size: 9887 bytes
Desc: not available
URL: <https://lists.clusterlabs.org/pipermail/pacemaker/attachments/20091118/5ef8c34a/attachment-0003.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image003.gif
Type: image/gif
Size: 68 bytes
Desc: not available
URL: <https://lists.clusterlabs.org/pipermail/pacemaker/attachments/20091118/5ef8c34a/attachment-0006.gif>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image004.gif
Type: image/gif
Size: 87 bytes
Desc: not available
URL: <https://lists.clusterlabs.org/pipermail/pacemaker/attachments/20091118/5ef8c34a/attachment-0007.gif>
More information about the Pacemaker
mailing list