<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML xmlns="http://www.w3.org/TR/REC-html40" xmlns:v =
"urn:schemas-microsoft-com:vml" xmlns:o =
"urn:schemas-microsoft-com:office:office" xmlns:w =
"urn:schemas-microsoft-com:office:word" xmlns:m =
"http://schemas.microsoft.com/office/2004/12/omml"><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2900.3132" name=GENERATOR>
<STYLE>@font-face {
font-family: PMingLiU;
}
@font-face {
font-family: PMingLiU;
}
@font-face {
font-family: Calibri;
}
@font-face {
font-family: PMingLiU;
}
@page Section1 {size: 612.0pt 792.0pt; margin: 72.0pt 90.0pt 72.0pt 90.0pt; }
P.MsoNormal {
FONT-SIZE: 12pt; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Calibri","sans-serif"
}
LI.MsoNormal {
FONT-SIZE: 12pt; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Calibri","sans-serif"
}
DIV.MsoNormal {
FONT-SIZE: 12pt; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Calibri","sans-serif"
}
A:link {
COLOR: blue; TEXT-DECORATION: underline; mso-style-priority: 99
}
SPAN.MsoHyperlink {
COLOR: blue; TEXT-DECORATION: underline; mso-style-priority: 99
}
A:visited {
COLOR: purple; TEXT-DECORATION: underline; mso-style-priority: 99
}
SPAN.MsoHyperlinkFollowed {
COLOR: purple; TEXT-DECORATION: underline; mso-style-priority: 99
}
SPAN.EmailStyle17 {
COLOR: windowtext; FONT-FAMILY: "Calibri","sans-serif"; mso-style-type: personal-compose
}
.MsoChpDefault {
mso-style-type: export-only
}
DIV.Section1 {
page: Section1
}
</STYLE>
<!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></HEAD>
<BODY lang=ZH-TW style="TEXT-JUSTIFY-TRIM: punctuation" vLink=purple link=blue>
<DIV dir=ltr align=left><SPAN class=676495415-26062007><FONT face=Arial
color=#0000ff size=2>You need to configure Device Mapper Multipath or some other
multipathing software to get HA. What OS are you
running?</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=676495415-26062007><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=676495415-26062007><FONT face=Arial
color=#0000ff size=2>Steps for RHEL are:</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=676495415-26062007><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=676495415-26062007><FONT face=Arial
color=#0000ff size=2>1) Edit /etc/multipath.conf and comment out
devnode_blacklist (RHEL4) or blacklist (RHEL5) entry.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=676495415-26062007><FONT face=Arial
color=#0000ff size=2>2) Run "chkconfig multipathd on".</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=676495415-26062007><FONT face=Arial
color=#0000ff size=2>3) Reboot.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=676495415-26062007><FONT face=Arial
color=#0000ff size=2>4) After reboot, /dev/mapper should be populated with
mutipath block device entries.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=676495415-26062007><FONT face=Arial
color=#0000ff size=2>5) You can run "multipath -l" to view the multipath
status.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=676495415-26062007><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=676495415-26062007><FONT face=Arial
color=#0000ff size=2>Steps for SLES10 are similar:</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=676495415-26062007><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=676495415-26062007><FONT face=Arial
color=#0000ff size=2>1) Run "chkconfig boot.multipath on".</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=676495415-26062007><FONT face=Arial
color=#0000ff size=2>2) Run "chkconfig multipathd on".</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=676495415-26062007><FONT face=Arial
color=#0000ff size=2>3) Reboot.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=676495415-26062007><FONT face=Arial
color=#0000ff size=2>4) After reboot, /dev/mapper should be populated with
mutipath block device entries.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=676495415-26062007><FONT face=Arial
color=#0000ff size=2>5) You can run "multipath -l" to view the multipath
status.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=676495415-26062007><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=676495415-26062007><FONT face=Arial
color=#0000ff size=2>You use the /dev/mapper block devices, not /dev/sd* block
devices.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=676495415-26062007><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=676495415-26062007><FONT face=Arial
color=#0000ff size=2>
<DIV align=left><FONT face=Arial size=2>Scott Weitzenkamp</FONT></DIV>
<DIV align=left><FONT face=Arial size=2>SQA and Release Manager</FONT></DIV>
<DIV align=left><FONT face=Arial size=2>Server Virtualization Business
Unit</FONT></DIV>
<DIV align=left><FONT face=Arial size=2>Cisco
Systems</FONT></DIV></FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=676495415-26062007><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV><BR>
<BLOCKQUOTE dir=ltr
style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #0000ff 2px solid; MARGIN-RIGHT: 0px">
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> general-bounces@lists.openfabrics.org
[mailto:general-bounces@lists.openfabrics.org] <B>On Behalf Of </B>PN
Lai<BR><B>Sent:</B> Tuesday, June 26, 2007 2:48 AM<BR><B>To:</B>
general@lists.openfabrics.org<BR><B>Subject:</B> [ofa-general] SRP
Failover<BR></FONT><BR></DIV>
<DIV></DIV>
<DIV class=Section1>
<P class=MsoNormal><SPAN lang=EN-US>Hi all,<o:p></o:p></SPAN></P>
<P class=MsoNormal><SPAN lang=EN-US><o:p> </o:p></SPAN></P>
<P class=MsoNormal><SPAN lang=EN-US>I’m testing the SRP HA functions, but I
have some questions.<o:p></o:p></SPAN></P>
<P class=MsoNormal><SPAN lang=EN-US>I use 2 IB cables to connect the initiator
and 1 IB cables to connect to the storage.<o:p></o:p></SPAN></P>
<P class=MsoNormal><SPAN lang=EN-US><o:p> </o:p></SPAN></P>
<P class=MsoNormal><SPAN lang=EN-US>I installed the OFED-1.2, enable the
“SRP_LOAD=yes” and “SRPHA_ENABLE=yes” in openib.conf.<o:p></o:p></SPAN></P>
<P class=MsoNormal><SPAN lang=EN-US>After reboot, it discovers 2 targets
/dev/sdbX and /dev/sdcX. <o:p></o:p></SPAN></P>
<P class=MsoNormal><SPAN lang=EN-US><o:p> </o:p></SPAN></P>
<P class=MsoNormal><SPAN lang=EN-US>However, I check the
/var/log/srp_daemon.log, it shows:<o:p></o:p></SPAN></P>
<P class=MsoNormal><SPAN lang=EN-US>….<o:p></o:p></SPAN></P>
<P class=MsoNormal><SPAN lang=EN-US>26/05/07 17:42:57 : bad MAD status (110)
from lid 257<o:p></o:p></SPAN></P>
<P class=MsoNormal><SPAN lang=EN-US>26/05/07 17:43:30 : No response to inform
info registration<o:p></o:p></SPAN></P>
<P class=MsoNormal><SPAN lang=EN-US>26/05/07 17:43:30 : Fail to register to
traps, maybe there is no opensm running on fabric<o:p></o:p></SPAN></P>
<P class=MsoNormal><SPAN lang=EN-US>….<o:p></o:p></SPAN></P>
<P class=MsoNormal><SPAN lang=EN-US><o:p> </o:p></SPAN></P>
<P class=MsoNormal><SPAN lang=EN-US>But the opensm is running in both
machines. I don’t know whether it is normal, or should it only discover a
single target?<o:p></o:p></SPAN></P>
<P class=MsoNormal><SPAN lang=EN-US><o:p> </o:p></SPAN></P>
<P class=MsoNormal><SPAN lang=EN-US>Now, my question is that if I mount the
/dev/sdbX and write data to it, and then remove 1 of the initiator cable, how
the /dev/sdcX will replace the /dev/sdbX so that I can continue to write the
data?<o:p></o:p></SPAN></P>
<P class=MsoNormal><SPAN lang=EN-US><o:p> </o:p></SPAN></P>
<P class=MsoNormal><SPAN lang=EN-US>Do I need to configure some extra
files?<o:p></o:p></SPAN></P>
<P class=MsoNormal><SPAN lang=EN-US><o:p> </o:p></SPAN></P>
<P class=MsoNormal><SPAN lang=EN-US>Thanks for reply.<o:p></o:p></SPAN></P>
<P class=MsoNormal><SPAN lang=EN-US><o:p> </o:p></SPAN></P>
<P class=MsoNormal><SPAN
lang=EN-US>PN<o:p></o:p></SPAN></P></DIV></BLOCKQUOTE></BODY></HTML>