<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=utf-8" http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 8.00.6001.23588">
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT size=2 face=Arial>About of your problem of fence:</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2 face=Arial>Instead of use a fence by Hardware, you can use a
manual fence that come with the cluster software.</FONT></DIV>
<DIV> </DIV>
<DIV><FONT size=2 face=Arial>Please read this:<BR>1- It not require any
hardware.<BR>2- This option isn't advisable in production environments, but
useful in development environments.<BR>3- The file used is
"fence_ack_manual"<BR>4- It is executed by CLI in a node that is alive for apply
the fence to other server.<BR>5- For use it, It is advisable that first
disconnect totally the electric power on the server that will be fenced, the
goal is to shut down brutally the server that will be fenced before of run the
fence command.<BR>6- Finally, execute this command in a node that is
alive:<BR>Shell# /[PATH]/fence_ack_manual [IP or Name of the Node that will be
fenced]<BR>7- Follow the steps as directed by this command.</FONT></DIV>
<DIV> </DIV><FONT size=2 face=Arial>
<DIV><BR>I hope this information is helpful.</DIV>
<DIV> </DIV>
<DIV>Best regards<BR>Cesar</FONT></DIV>
<DIV><FONT size=2 face=Arial> </DIV></FONT>
<BLOCKQUOTE
style="BORDER-LEFT: #000000 2px solid; PADDING-LEFT: 5px; PADDING-RIGHT: 0px; MARGIN-LEFT: 5px; MARGIN-RIGHT: 0px">
<DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV
style="FONT: 10pt arial; BACKGROUND: #e4e4e4; font-color: black"><B>From:</B>
<A title=DRBDUser@gmx.at href="mailto:DRBDUser@gmx.at">DRBD User</A> </DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A title=drbd-user@lists.linbit.com
href="mailto:drbd-user@lists.linbit.com">drbd-user@lists.linbit.com</A> </DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Tuesday, May 12, 2015 5:39 AM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> [DRBD-user] Dual Primary Mode:
Shared Directory blocked after node crash until reboot</DIV>
<DIV><BR></DIV>
<DIV style="FONT-FAMILY: Verdana; FONT-SIZE: 12px">
<DIV>
<DIV>the DRBD status is (regardless of 'nice' shutdown (eg reboot) or
'abrupt' kill (eg pull power plug))</DIV>
<DIV> </DIV>
<DIV>cs:WFConnection ro:Primary/Unknown ds:UpToDate/Outdated</DIV>
<DIV> </DIV>
<DIV>but only with a 'nice' shutdown the shared directoy is
still accessible...</DIV>
<DIV>
<DIV
style="BORDER-LEFT: rgb(195,217,229) 2px solid; PADDING-BOTTOM: 10px; MARGIN: 10px 5px 5px 10px; PADDING-LEFT: 10px; PADDING-RIGHT: 0px; PADDING-TOP: 10px; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space"
name="quote">
<DIV style="MARGIN: 0px 0px 10px"><B>Gesendet:</B> Dienstag, 12. Mai 2015
um 09:44 Uhr<BR><B>Von:</B> Digimer <<A
href="mailto:lists@alteeve.ca">lists@alteeve.ca</A>><BR><B>An:</B> "DRBD
User" <DRBDUser@gmx.at>,
drbd-user@lists.linbit.com<BR><B>Betreff:</B> Re: [DRBD-user] Dual
Primary Mode: Shared Directory blocked after node crash until reboot</DIV>
<DIV name="quoted-content">On 12/05/15 03:42 AM, DRBD User
wrote:<BR>>>>> pacemakers pcs property stonith-enabled is
currently set to false<BR>><BR>>> Well there's your problem.
:)<BR>><BR>> Since i don't have any (hardware) STONITH device, i have
set stonith-enabled to false.<BR>> DRBD's fencing rule is set to :
'fencing: resource-only'<BR>><BR>> My goal is: if one node crashes, the
other node should take over the work immediately. But actually i have to wait
the reboot time of the crashed node. I thought, that in such a situation the
active node (rather the shared directory) is immediately usable
?<BR>><BR>> May be i should use another fence script ?<BR>><BR>> I
tried to create the resource with operation 'on-fail=restart' - but no success
...<BR>><BR>> Any other suggestions ?<BR><BR>You *CAN NOT* safely
proceed when a node stops responding _until_ you<BR>have put the lost node
into a known state. To do otherwise would be to<BR>risk a
split-brain.<BR><BR>A good fence device are switched PDUs, like the APC-brand
AP7900 (not<BR>all makes/models are supported, so check first before buying
other<BR>brands). The AP7900 can usually be found used for ~$200 and makes
an<BR>excellent external fence device.<BR><BR>Trying to use DRBD without
proper fencing will result in pain and<BR>heartache. The delay needed to fence
a lost node is FAR preferable to<BR>risking a
split-brain.<BR><BR>--<BR>Digimer<BR>Papers and Projects: <A
href="https://alteeve.ca/w/" target=_blank>https://alteeve.ca/w/</A><BR>What
if the cure for cancer is trapped in the mind of a person without<BR>access to
education?<BR>_______________________________________________<BR>drbd-user
mailing list<BR>drbd-user@lists.linbit.com<BR><A
href="http://lists.linbit.com/mailman/listinfo/drbd-user"
target=_blank>http://lists.linbit.com/mailman/listinfo/drbd-user</A></DIV></DIV></DIV></DIV></DIV>
<P>
<HR>
<P></P>_______________________________________________<BR>drbd-user mailing
list<BR>drbd-user@lists.linbit.com<BR>http://lists.linbit.com/mailman/listinfo/drbd-user<BR></BLOCKQUOTE></BODY></HTML>