<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2800.1491" name=GENERATOR></HEAD>
<BODY><FONT COLOR=BLACK>
<DIV><SPAN class=296314917-09022005><FONT face=Arial size=2>With DRBD, how do I 
differentiate between different types of shutdown? Two 
scenarios:</FONT></SPAN></DIV>
<DIV><SPAN class=296314917-09022005><FONT face=Arial 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=296314917-09022005><FONT face=Arial size=2>1. Ungraceful 
shutdown: Break the link between primary and backup. The backup node shows 
cs:WFConnection for a broken link. Good. The backup node can tell the link was 
broken and not shut down gracefully.</FONT></SPAN></DIV>
<DIV><SPAN class=296314917-09022005><FONT face=Arial size=2>2. Graceful 
shutdown: Shutdown DRBD on the primary with "/etc/init.d/drbd stop". 
Unfortunately now the backup node also shows a state of cs:WFConnection. Bummer. 
How do I tell that the connection was shut down gracefully? This is important to 
know so I don't bring up the app on the backup node if it has stale 
data.</FONT></SPAN></DIV>
<DIV><SPAN class=296314917-09022005><FONT face=Arial 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=296314917-09022005><FONT face=Arial 
size=2>Thanks.</FONT></SPAN></DIV>
<DIV><SPAN class=296314917-09022005>&nbsp;&nbsp;&nbsp; <FONT face=Arial 
size=2>Scott</FONT></SPAN></DIV>
<DIV><SPAN class=296314917-09022005><FONT face=Arial 
size=2></FONT></SPAN>&nbsp;</DIV><BR><P><FONT color=navy face=Arial size=2>Scott Simpson<BR></FONT><FONT color=navy face=Arial size=2>Advisory Software Engineer<BR>Vision Solutions, inc.<BR></FONT><FONT color=navy><BR><FONT face=Arial size=2>17911 Von Karman Ave,  5th Floor<BR>Irvine,&nbsp; CA 92614<BR>UNITED STATES<BR></FONT></FONT><FONT color=navy><BR><FONT face=Arial size=2>Tel: +1 (949) 660-7463<BR>Fax: +1 (949)225-0287<BR>Email: ssimpson@visionsolutions.com<BR></FONT></FONT><A href="http://www.visionsolutions.com/"><FONT color=navy face=Arial size=2>http://www.visionsolutions.com</FONT></A></P><P><FONT color=silver face=Arial size=1>Disclaimer - 2/9/2005<BR>The contents of this e-mail (and any attachments) are confidential, may be privileged, and may contain copyright material of Vision Solutions, Inc. or third parties. You may only reproduce or distribute the material if you are expressly authorized by Vision Solutions to do so. If you are not the intended recipient, any use, disclosure or copying of this e-mail (and any attachments) is unauthorized. If you have received this e-mail in error, please immediately delete it and any copies of it from your system and notify us via e-mail at </FONT><A href="mailto:helpdesk@visionsolutions.com"><FONT color=silver face=Arial size=1>helpdesk@visionsolutions.com</FONT></A><FONT color=silver face=Arial size=1>.</FONT></P></BODY></HTML>