<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<style>
<!--
@font-face
        {font-family:宋体}
@font-face
        {font-family:黑体}
@font-face
        {font-family:楷体_GB2312}
@font-face
        {font-family:"\@宋体"}
@font-face
        {font-family:"\@黑体"}
@font-face
        {font-family:"\@楷体_GB2312"}
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        text-indent:21.0pt;
        line-height:150%;
        text-autospace:none;
        font-size:10.5pt;
        font-family:"Times New Roman"}
h1
        {margin-top:12.0pt;
        margin-right:0cm;
        margin-bottom:12.0pt;
        margin-left:21.6pt;
        text-align:justify;
        text-justify:inter-ideograph;
        text-indent:-21.6pt;
        page-break-after:avoid;
        font-size:16.0pt;
        font-family:Arial}
h2
        {margin-top:12.0pt;
        margin-right:0cm;
        margin-bottom:12.0pt;
        margin-left:28.8pt;
        text-align:justify;
        text-justify:inter-ideograph;
        text-indent:-28.8pt;
        page-break-after:avoid;
        font-size:12.0pt;
        font-family:Arial;
        font-weight:normal}
h3
        {margin-top:13.0pt;
        margin-right:0cm;
        margin-bottom:13.0pt;
        margin-left:36.0pt;
        text-align:justify;
        text-justify:inter-ideograph;
        text-indent:-36.0pt;
        line-height:173%;
        page-break-after:avoid;
        font-size:12.0pt;
        font-family:"Times New Roman";
        font-weight:normal}
p.MsoHeader, li.MsoHeader, div.MsoHeader
        {margin:0cm;
        margin-bottom:.0001pt;
        text-align:justify;
        text-justify:inter-ideograph;
        layout-grid-mode:char;
        font-size:9.0pt;
        font-family:Arial}
p.MsoFooter, li.MsoFooter, div.MsoFooter
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:9.0pt;
        font-family:Arial}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;
        text-decoration:underline}
p.a, li.a, div.a
        {margin-top:12.0pt;
        margin-right:0cm;
        margin-bottom:0cm;
        margin-left:54.45pt;
        margin-bottom:.0001pt;
        text-align:center;
        text-indent:-18.45pt;
        font-size:9.0pt;
        font-family:Arial}
p.a0, li.a0, div.a0
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:10.5pt;
        font-family:Arial}
p.a1, li.a1, div.a1
        {margin:0cm;
        margin-bottom:.0001pt;
        text-align:center;
        font-size:10.5pt;
        font-family:Arial;
        font-weight:bold}
p.a2, li.a2, div.a2
        {margin-top:0cm;
        margin-right:0cm;
        margin-bottom:12.0pt;
        margin-left:54.45pt;
        text-align:center;
        text-indent:-18.45pt;
        font-size:9.0pt;
        font-family:Arial}
p.a3, li.a3, div.a3
        {margin-top:4.0pt;
        margin-right:0cm;
        margin-bottom:4.0pt;
        margin-left:0cm;
        text-align:center;
        line-height:150%;
        page-break-after:avoid;
        text-autospace:none;
        font-size:10.5pt;
        font-family:"Times New Roman"}
p.a4, li.a4, div.a4
        {margin-top:15.0pt;
        margin-right:0cm;
        margin-bottom:15.0pt;
        margin-left:0cm;
        text-align:center;
        line-height:150%;
        text-autospace:none;
        font-size:18.0pt;
        font-family:Arial}
p.a5, li.a5, div.a5
        {margin:0cm;
        margin-bottom:.0001pt;
        line-height:150%;
        text-autospace:none;
        font-size:10.5pt;
        font-family:"Times New Roman"}
p.a6, li.a6, div.a6
        {margin:0cm;
        margin-bottom:.0001pt;
        text-align:justify;
        text-justify:inter-ideograph;
        line-height:150%;
        text-autospace:none;
        border:none;
        padding:0cm;
        font-size:9.0pt;
        font-family:Arial}
p.a7, li.a7, div.a7
        {margin:0cm;
        margin-bottom:.0001pt;
        text-align:justify;
        text-justify:inter-ideograph;
        text-indent:18.0pt;
        line-height:150%;
        text-autospace:none;
        border:none;
        padding:0cm;
        font-size:9.0pt;
        font-family:Arial}
p.a8, li.a8, div.a8
        {margin:0cm;
        margin-bottom:.0001pt;
        text-indent:21.0pt;
        line-height:150%;
        text-autospace:none;
        font-size:10.5pt;
        font-family:Arial;
        color:blue;
        font-style:italic}
span.EmailStyle30
        {font-family:Arial;
        color:windowtext}
@page Section1
        {margin:72.0pt 90.0pt 72.0pt 90.0pt;
        layout-grid:15.6pt}
div.Section1
        {}
ol
        {margin-bottom:0cm}
ul
        {margin-bottom:0cm}
-->
</style>
</head>
<body lang="ZH-CN" link="blue" vlink="purple" style="">
<div class="Section1" style="layout-grid:15.6pt">
<p class="MsoNormal" style="text-indent:18.0pt; line-height:normal; layout-grid-mode:char">
<font size="1" face="宋体"><span lang="EN-US" style="font-size:9.0pt; font-family:宋体">Hi, Everyone,
</span></font></p>
<p class="MsoNormal" style="text-indent:18.0pt; line-height:normal; layout-grid-mode:char">
<font size="1" face="宋体"><span lang="EN-US" style="font-size:9.0pt; font-family:宋体">&nbsp;</span></font></p>
<p class="MsoNormal" style="text-indent:18.0pt; line-height:normal; layout-grid-mode:char">
<font size="1" face="宋体"><span lang="EN-US" style="font-size:9.0pt; font-family:宋体">I have a scenario using ocfs2 with a question.</span></font></p>
<p class="MsoNormal" style="text-indent:18.0pt; line-height:normal; layout-grid-mode:char">
<font size="1" face="宋体"><span lang="EN-US" style="font-size:9.0pt; font-family:宋体">&nbsp;</span></font></p>
<p class="MsoNormal" style="text-indent:18.0pt; line-height:normal; layout-grid-mode:char">
<font size="1" face="宋体"><span lang="EN-US" style="font-size:9.0pt; font-family:宋体">If I configure an OCFS2 cluster with three hosts using two ocfs2 disks over iSCSI with different two targets, and they are in different networks.</span></font></p>
<p class="MsoNormal" style="text-indent:0cm; line-height:normal; layout-grid-mode:char">
<font size="1" face="宋体"><span style="font-size:9.0pt; font-family:宋体">  <span lang="EN-US"></span></span></font></p>
<p class="MsoNormal" style="text-indent:0cm; line-height:normal; layout-grid-mode:char">
<font size="1" face="宋体"><span style="font-size:9.0pt; font-family:宋体">  <span lang="EN-US">Host1</span></span></font></p>
<p class="MsoNormal" style="text-indent:0cm; line-height:normal; layout-grid-mode:char">
<font size="1" face="宋体"><span style="font-size:9.0pt; font-family:宋体">  <span lang="EN-US">&nbsp; | ---/dev/sdb ------ocfs2---------iscsi target1, iscsi's ip address 192.168.10.1</span></span></font></p>
<p class="MsoNormal" style="text-indent:0cm; line-height:normal; layout-grid-mode:char">
<font size="1" face="宋体"><span style="font-size:9.0pt; font-family:宋体">  <span lang="EN-US">&nbsp; | ---/dev/sdc ------ocfs2---------iscsi target2, iscsi's ip address 192.168.20.1</span></span></font></p>
<p class="MsoNormal" style="text-indent:0cm; line-height:normal; layout-grid-mode:char">
<font size="1" face="宋体"><span style="font-size:9.0pt; font-family:宋体">  <span lang="EN-US"></span></span></font></p>
<p class="MsoNormal" style="text-indent:0cm; line-height:normal; layout-grid-mode:char">
<font size="1" face="宋体"><span style="font-size:9.0pt; font-family:宋体">  <span lang="EN-US">Host2</span></span></font></p>
<p class="MsoNormal" style="text-indent:0cm; line-height:normal; layout-grid-mode:char">
<font size="1" face="宋体"><span style="font-size:9.0pt; font-family:宋体">  <span lang="EN-US">&nbsp; | ---/dev/sdb ------ocfs2---------iscsi target1, iscsi's ip address 192.168.10.1</span></span></font></p>
<p class="MsoNormal" style="text-indent:0cm; line-height:normal; layout-grid-mode:char">
<font size="1" face="宋体"><span style="font-size:9.0pt; font-family:宋体">  <span lang="EN-US">&nbsp; | ---/dev/sdc ------ocfs2---------iscsi target2, iscsi's ip address 192.168.20.1</span></span></font></p>
<p class="MsoNormal" style="text-indent:0cm; line-height:normal; layout-grid-mode:char">
<font size="1" face="宋体"><span style="font-size:9.0pt; font-family:宋体">  <span lang="EN-US"></span></span></font></p>
<p class="MsoNormal" style="text-indent:0cm; line-height:normal; layout-grid-mode:char">
<font size="1" face="宋体"><span style="font-size:9.0pt; font-family:宋体">  <span lang="EN-US">Host3</span></span></font></p>
<p class="MsoNormal" style="text-indent:0cm; line-height:normal; layout-grid-mode:char">
<font size="1" face="宋体"><span style="font-size:9.0pt; font-family:宋体">  <span lang="EN-US">&nbsp; | ---/dev/sdb ------ocfs2---------iscsi target1, iscsi's ip address 192.168.10.1</span></span></font></p>
<p class="MsoNormal" style="text-indent:0cm; line-height:normal; layout-grid-mode:char">
<font size="1" face="宋体"><span style="font-size:9.0pt; font-family:宋体">  <span lang="EN-US">&nbsp; | ---/dev/sdc ------ocfs2---------iscsi target2, iscsi's ip address 192.168.20.1</span></span></font></p>
<p class="MsoNormal" style="text-indent:0cm; line-height:normal; layout-grid-mode:char">
<font size="1" face="宋体"><span style="font-size:9.0pt; font-family:宋体">  <span lang="EN-US"></span></span></font></p>
<p class="MsoNormal" style="text-indent:0cm; line-height:normal; layout-grid-mode:char">
<font size="1" face="宋体"><span style="font-size:9.0pt; font-family:宋体">  <span lang="EN-US">So host1, host2, host3 are the nodes of the ocfs2 cluster, and every one using two ocfs2 disks over iSCSI, and they constructed one cluster for HA.</span></span></font></p>
<p class="MsoNormal" style="text-indent:0cm; line-height:normal; layout-grid-mode:char">
<font size="1" face="宋体"><span style="font-size:9.0pt; font-family:宋体">  <span lang="EN-US"></span></span></font></p>
<p class="MsoNormal" style="text-indent:0cm; line-height:normal; layout-grid-mode:char">
<font size="1" face="宋体"><span style="font-size:9.0pt; font-family:宋体">  <span lang="EN-US">Once Host1 fences itself for network disconnection with other two nodes host2 and host3, or it is timeout of its heartbeat writing timestamp to one targets of the iSCSI
 sdb. The jobs such as virtual machine's data file on sdb will be restarted for the fence of Host1.
</span></span></font></p>
<p class="MsoNormal" style="text-indent:0cm; line-height:normal; layout-grid-mode:char">
<font size="1" face="宋体"><span style="font-size:9.0pt; font-family:宋体">  <span lang="EN-US">At this time, some other jobs on Host1 are running with the disk sdc, such as database of mysql will be also be restarted. Is there any way to avoid this scenario?</span></span></font></p>
<p class="MsoNormal" style="text-indent:18.0pt; line-height:normal; layout-grid-mode:char">
<font size="1" face="宋体"><span lang="EN-US" style="font-size:9.0pt; font-family:宋体">I mean the jobs running with different disks will be not affected for the host fence of ocfs2. Such as the mysql database on the disk sdc will not restart for the sdb's fence.</span></font></p>
<p class="MsoNormal" style="text-indent:18.0pt; line-height:normal; layout-grid-mode:char">
<font size="1" face="宋体"><span lang="EN-US" style="font-size:9.0pt; font-family:宋体">And is there any way to unmount or dicard the sdb disk without restart the host? So the service running with the disk sdc will not be influenced.</span></font></p>
<p class="MsoNormal" style="text-indent:0cm; line-height:normal; layout-grid-mode:char">
<font size="1" face="宋体"><span style="font-size:9.0pt; font-family:宋体">  <span lang="EN-US"></span></span></font></p>
<p class="MsoNormal" style="text-indent:18.0pt; line-height:normal; layout-grid-mode:char">
<font size="1" face="宋体"><span lang="EN-US" style="font-size:9.0pt; font-family:宋体">Thanks</span></font><span lang="EN-US"></span></p>
<p class="MsoNormal" style="text-indent:18.0pt"><font size="1" face="Arial"><span lang="EN-US" style="font-size:9.0pt; line-height:150%; font-family:Arial">&nbsp;</span></font></p>
<p class="MsoNormal" style="text-indent:18.0pt"><font size="1" face="Arial"><span lang="EN-US" style="font-size:9.0pt; line-height:150%; font-family:Arial">&nbsp;</span></font></p>
</div>
<span style="font-size:7.5pt; font-family:华文细黑; color:gray"><span lang="EN-US">-------------------------------------------------------------------------------------------------------------------------------------<br>
</span>本邮件及其附件含有杭州华三通信技术有限公司的保密信息,仅限于发送给上面地址中列出<span lang="EN-US"><br>
</span>的个人或群组。禁止任何其他人以任何形式使用(包括但不限于全部或部分地泄露、复制、<span lang="EN-US"><br>
</span>或散发)本邮件中的信息。如果您错收了本邮件,请您立即电话或邮件通知发件人并删除本<span lang="EN-US"><br>
</span>邮件!<span lang="EN-US"><br>
</span></span><span lang="EN-US" style="font-size:7.5pt; font-family:&quot;Arial&quot;,&quot;sans-serif&quot;; color:gray">This e-mail and its attachments contain confidential information from H3C, which is
<br>
intended only for the person or entity whose address is listed above. Any use of the
<br>
information contained herein in any way (including, but not limited to, total or partial
<br>
disclosure, reproduction, or dissemination) by persons other than the intended <br>
recipient(s) is prohibited. If you receive this e-mail in error, please notify the sender
<br>
by phone or email immediately and delete it!</span>
</body>
</html>