<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=utf-8" http-equiv=Content-Type>
<STYLE>
BLOCKQUOTE {
        MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px; MARGIN-LEFT: 2em
}
OL {
        MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px
}
UL {
        MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px
}
P {
        MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px
}
BODY {
        LINE-HEIGHT: 1.5; FONT-FAMILY: Tahoma; COLOR: #000080; FONT-SIZE: 10pt
}
</STYLE>

<META name=GENERATOR content="MSHTML 8.00.6001.23543"></HEAD>
<BODY style="MARGIN: 10px">
<DIV>Hi <A href="mailto:lists@alteeve.ca">Digimer</A>:</DIV>
<DIV>&nbsp;</DIV>
<DIV>Follow&nbsp;the&nbsp;steps&nbsp;you&nbsp;gave,&nbsp;I&nbsp;have&nbsp;successfully&nbsp;completed&nbsp;this&nbsp;work.</DIV>
<DIV>&nbsp;</DIV>
<DIV>Very very thanks.</DIV>
<DIV>&nbsp;</DIV>
<HR style="WIDTH: 210px; HEIGHT: 1px" align=left color=#b5c4df SIZE=1>

<DIV><SPAN>Tian Zhiying</SPAN></DIV>
<DIV>&nbsp;</DIV>
<DIV 
style="BORDER-BOTTOM: medium none; BORDER-LEFT: medium none; PADDING-BOTTOM: 0cm; PADDING-LEFT: 0cm; PADDING-RIGHT: 0cm; BORDER-TOP: #b5c4df 1pt solid; BORDER-RIGHT: medium none; PADDING-TOP: 3pt">
<DIV 
style="PADDING-BOTTOM: 8px; PADDING-LEFT: 8px; PADDING-RIGHT: 8px; BACKGROUND: #efefef; COLOR: #000000; FONT-SIZE: 12px; PADDING-TOP: 8px">
<DIV><B>From:</B>&nbsp;<A href="mailto:lists@alteeve.ca">Digimer</A></DIV>
<DIV><B>Date:</B>&nbsp;2013-12-24&nbsp;11:02</DIV>
<DIV><B>To:</B>&nbsp;<A href="mailto:tianzy1225@thundersoft.com">tianzy1225</A>; 
<A href="mailto:drbd-user@lists.linbit.com">drbd-user</A></DIV>
<DIV><B>Subject:</B>&nbsp;Re: [DRBD-user] Instead the bad drbd 
server</DIV></DIV></DIV>
<DIV>
<DIV>Happy&nbsp;to&nbsp;help.&nbsp;Proceed&nbsp;slowly&nbsp;and&nbsp;carefully.&nbsp;If&nbsp;you&nbsp;get&nbsp;stuck&nbsp;or&nbsp;are&nbsp;in&nbsp;</DIV>
<DIV>doubt&nbsp;about&nbsp;something,&nbsp;pause&nbsp;and&nbsp;ask&nbsp;here.&nbsp;Better&nbsp;to&nbsp;be&nbsp;slow&nbsp;and&nbsp;safe&nbsp;</DIV>
<DIV>with&nbsp;things&nbsp;like&nbsp;this.&nbsp;:)</DIV>
<DIV>&nbsp;</DIV>
<DIV>干杯!</DIV>
<DIV>&nbsp;</DIV>
<DIV>On&nbsp;23/12/13&nbsp;09:50&nbsp;PM,&nbsp;Tian&nbsp;Zhiying&nbsp;wrote:</DIV>
<DIV>&gt;&nbsp;Digimer:</DIV>
<DIV>&gt;&nbsp;Thanks&nbsp;very&nbsp;much.&nbsp;I'm&nbsp;going&nbsp;to&nbsp;try.</DIV>
<DIV>&gt;&nbsp;------------------------------------------------------------------------</DIV>
<DIV>&gt;&nbsp;Tian&nbsp;Zhiying</DIV>
<DIV>&gt;&nbsp;*From:*&nbsp;Digimer&nbsp;&lt;mailto:lists@alteeve.ca&gt;</DIV>
<DIV>&gt;&nbsp;*Date:*&nbsp;2013-12-24&nbsp;10:37</DIV>
<DIV>&gt;&nbsp;*To:*&nbsp;tianzy1225&nbsp;&lt;mailto:tianzy1225@thundersoft.com&gt;;&nbsp;drbd-user</DIV>
<DIV>&gt;&nbsp;&lt;mailto:drbd-user@lists.linbit.com&gt;</DIV>
<DIV>&gt;&nbsp;*Subject:*&nbsp;Re:&nbsp;[DRBD-user]&nbsp;Instead&nbsp;the&nbsp;bad&nbsp;drbd&nbsp;server</DIV>
<DIV>&gt;&nbsp;On&nbsp;23/12/13&nbsp;09:24&nbsp;PM,&nbsp;Tian&nbsp;Zhiying&nbsp;wrote:</DIV>
<DIV>&gt;&nbsp;&nbsp;&gt;&nbsp;Hi</DIV>
<DIV>&gt;&nbsp;&nbsp;&gt;&nbsp;Now&nbsp;I&nbsp;have&nbsp;a&nbsp;HA,the&nbsp;two&nbsp;server&nbsp;IP&nbsp;is&nbsp;:192.168.1.37&nbsp;and</DIV>
<DIV>&gt;&nbsp;&nbsp;&gt;&nbsp;192.168.1.38,Virtual&nbsp;IP&nbsp;is&nbsp;192.168.1.35,&nbsp;it&nbsp;use&nbsp;drbd&nbsp;store&nbsp;data,&nbsp;but</DIV>
<DIV>&gt;&nbsp;&nbsp;&gt;&nbsp;one&nbsp;of&nbsp;the&nbsp;server(192.168.1.38)hardware&nbsp;error,&nbsp;I&nbsp;must&nbsp;instead&nbsp;it&nbsp;from</DIV>
<DIV>&gt;&nbsp;&nbsp;&gt;&nbsp;new&nbsp;server(192.168.1.39),&nbsp;how&nbsp;can&nbsp;I&nbsp;config&nbsp;the&nbsp;new&nbsp;server's&nbsp;drbd?</DIV>
<DIV>&gt;&nbsp;&nbsp;&gt;&nbsp;Thanks.</DIV>
<DIV>&gt;&nbsp;&nbsp;&gt;&nbsp;------------------------------------------------------------------------</DIV>
<DIV>&gt;&nbsp;&nbsp;&gt;&nbsp;Tian&nbsp;Zhiying</DIV>
<DIV>&gt;&nbsp;If&nbsp;you&nbsp;setup&nbsp;matching&nbsp;sized&nbsp;partitions&nbsp;on&nbsp;.39,&nbsp;then&nbsp;it&nbsp;should&nbsp;be&nbsp;fairly</DIV>
<DIV>&gt;&nbsp;simple.&nbsp;Update&nbsp;.37's&nbsp;resource&nbsp;configuration&nbsp;to&nbsp;point&nbsp;to&nbsp;.39&nbsp;instead&nbsp;of</DIV>
<DIV>&gt;&nbsp;.38.&nbsp;Then&nbsp;copy&nbsp;/etc/drbd*&nbsp;from&nbsp;.37&nbsp;over&nbsp;to&nbsp;.39,&nbsp;Use&nbsp;'drbdadm&nbsp;create-md</DIV>
<DIV>&gt;&nbsp;&lt;res&gt;'&nbsp;to&nbsp;setup&nbsp;the&nbsp;new&nbsp;DRBD&nbsp;resource&nbsp;backing&nbsp;device.&nbsp;Make&nbsp;sure&nbsp;that&nbsp;the</DIV>
<DIV>&gt;&nbsp;resources&nbsp;on&nbsp;.37&nbsp;are&nbsp;in&nbsp;WFConnection&nbsp;state&nbsp;('drbdadm&nbsp;attach&nbsp;&lt;res&gt;'&nbsp;if</DIV>
<DIV>&gt;&nbsp;they&nbsp;aren't)&nbsp;and&nbsp;then,&nbsp;on&nbsp;.39,&nbsp;run&nbsp;'drbdadm&nbsp;connect&nbsp;&lt;res&gt;'.</DIV>
<DIV>&gt;&nbsp;If&nbsp;it&nbsp;works&nbsp;well,&nbsp;you&nbsp;should&nbsp;be&nbsp;able&nbsp;to&nbsp;watch&nbsp;/proc/drbd&nbsp;and&nbsp;see&nbsp;that&nbsp;it</DIV>
<DIV>&gt;&nbsp;is&nbsp;sync'ing&nbsp;from&nbsp;.37&nbsp;(.37&nbsp;should&nbsp;show&nbsp;each&nbsp;resource&nbsp;in&nbsp;the&nbsp;connection</DIV>
<DIV>&gt;&nbsp;state&nbsp;"SyncSource"&nbsp;and&nbsp;the&nbsp;resource(s)&nbsp;on&nbsp;.39&nbsp;should&nbsp;be&nbsp;in</DIV>
<DIV>&gt;&nbsp;"SyncTarget").&nbsp;Once&nbsp;the&nbsp;sync&nbsp;completes,&nbsp;you&nbsp;data&nbsp;is&nbsp;safe&nbsp;again.</DIV>
<DIV>&gt;&nbsp;If&nbsp;you&nbsp;have&nbsp;any&nbsp;specific&nbsp;trouble,&nbsp;share&nbsp;the&nbsp;details&nbsp;of&nbsp;your</DIV>
<DIV>&gt;&nbsp;configuration&nbsp;(distro/drbd/cluster&nbsp;stack&nbsp;details&nbsp;and&nbsp;versions).&nbsp;Config</DIV>
<DIV>&gt;&nbsp;files&nbsp;also&nbsp;help&nbsp;us&nbsp;understand&nbsp;your&nbsp;setup&nbsp;and&nbsp;thus&nbsp;offer&nbsp;better&nbsp;advice.</DIV>
<DIV>&gt;&nbsp;good&nbsp;luck!</DIV>
<DIV>&gt;&nbsp;PS&nbsp;-&nbsp;If&nbsp;you're&nbsp;concerned&nbsp;about&nbsp;the&nbsp;process,&nbsp;create&nbsp;a&nbsp;few&nbsp;VMs&nbsp;and</DIV>
<DIV>&gt;&nbsp;replicate&nbsp;the&nbsp;current&nbsp;state&nbsp;(create&nbsp;two&nbsp;VMs,&nbsp;set&nbsp;them&nbsp;us&nbsp;as&nbsp;you&nbsp;had</DIV>
<DIV>&gt;&nbsp;before,&nbsp;delete&nbsp;one&nbsp;of&nbsp;the&nbsp;VMs,&nbsp;create&nbsp;a&nbsp;new&nbsp;VM&nbsp;and&nbsp;walk&nbsp;through&nbsp;the</DIV>
<DIV>&gt;&nbsp;process&nbsp;of&nbsp;adding&nbsp;it&nbsp;to&nbsp;the&nbsp;previous&nbsp;VM).&nbsp;It's&nbsp;_always_&nbsp;&nbsp;better&nbsp;to&nbsp;test</DIV>
<DIV>&gt;&nbsp;before&nbsp;trying&nbsp;anything&nbsp;on&nbsp;production&nbsp;systems.</DIV>
<DIV>&gt;&nbsp;--</DIV>
<DIV>&gt;&nbsp;Digimer</DIV>
<DIV>&gt;&nbsp;Papers&nbsp;and&nbsp;Projects:&nbsp;https://alteeve.ca/w/</DIV>
<DIV>&gt;&nbsp;What&nbsp;if&nbsp;the&nbsp;cure&nbsp;for&nbsp;cancer&nbsp;is&nbsp;trapped&nbsp;in&nbsp;the&nbsp;mind&nbsp;of&nbsp;a&nbsp;person&nbsp;without</DIV>
<DIV>&gt;&nbsp;access&nbsp;to&nbsp;education?</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV>--&nbsp;</DIV>
<DIV>Digimer</DIV>
<DIV>Papers&nbsp;and&nbsp;Projects:&nbsp;https://alteeve.ca/w/</DIV>
<DIV>What&nbsp;if&nbsp;the&nbsp;cure&nbsp;for&nbsp;cancer&nbsp;is&nbsp;trapped&nbsp;in&nbsp;the&nbsp;mind&nbsp;of&nbsp;a&nbsp;person&nbsp;without&nbsp;</DIV>
<DIV>access&nbsp;to&nbsp;education?</DIV></DIV></BODY></HTML>