<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"><html>
<head>
<meta name="Generator" content="Kopano WebApp v8.1.0-169">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>best practice fencing with ipmi in 2node-setups / cloneresource/monitor/timeout</title>
</head>
<body>
<p style="padding: 0; margin: 0;"><span style="font-size: 10pt; font-family: arial,helvetica,sans-serif;">Hi,<br /></span></p>
<p style="padding: 0; margin: 0;"><span style="font-size: 10pt; font-family: arial,helvetica,sans-serif;"><br /></span></p>
<p style="padding: 0; margin: 0;"><span style="font-size: 10pt; font-family: arial,helvetica,sans-serif;">i run a 2 node cluster and want to be save in split-brain scenarios. For this i setup external/ipmi to stonith the other node.<br /></span></p>
<p style="padding: 0; margin: 0;"><span style="font-size: 10pt; font-family: arial,helvetica,sans-serif;"><br /></span></p>
<p style="padding: 0; margin: 0;"><span style="font-size: 10pt; font-family: arial,helvetica,sans-serif;">Some possible issues jumped to my mind and i would ike to find the best practice solution:<br /></span></p>
<p style="padding: 0; margin: 0;"><span style="font-size: 10pt; font-family: arial,helvetica,sans-serif;"><br /></span></p>
<p style="padding: 0; margin: 0;"><span style="font-size: 10pt; font-family: arial,helvetica,sans-serif;">- I have a primitive for each node to stonith. Many documents and guides recommend to never let them run on the host it should fence. I would setup clone resources to avoid dealing with locations that would also influence scoring. Does that make sense?<br /></span></p>
<p style="padding: 0; margin: 0;"><span style="font-size: 10pt; font-family: arial,helvetica,sans-serif;"><br /></span></p>
<p style="padding: 0; margin: 0;"><span style="font-size: 10pt; font-family: arial,helvetica,sans-serif;">- Monitoring operation on the stonith primitive is dangerous. I read that if monitor operations fail for the stonith device, stonith action is triggered. I think its not clever to give the cluster the option to fence a node just because it has an issue to monitor a fence device. That should not be a reason to shutdown a node. What is your opinion on this? Can i just set the primitive monitor operation to disabled?<br /></span></p>
<p style="padding: 0; margin: 0;"><span style="font-size: 10pt; font-family: arial,helvetica,sans-serif;"><br /></span></p>
<p style="padding: 0; margin: 0;"><span style="font-size: 10pt; font-family: arial,helvetica,sans-serif;">Thank you.<br /></span></p>
<p style="padding: 0; margin: 0;"><span style="font-size: 10pt; font-family: arial,helvetica,sans-serif;"><br /></span></p>
<p style="padding: 0; margin: 0;"><span style="font-size: 10pt; font-family: arial,helvetica,sans-serif;">Stefan<br /></span></p>
</body>
</html>