X-MimeOLE: Produced By Microsoft Exchange V6.5
Received: by onstor-exch02.onstor.net 
	id <01C79E46.1141E7BC@onstor-exch02.onstor.net>; Thu, 24 May 2007 13:56:57 -0700
MIME-Version: 1.0
Content-Type: multipart/alternative;
	boundary="----_=_NextPart_001_01C79E46.1141E7BC"
Content-class: urn:content-classes:message
Subject: RE: questions, please help
Date: Thu, 24 May 2007 13:56:49 -0700
Message-ID: <BB375AF679D4A34E9CA8DFA650E2B04E03D91546@onstor-exch02.onstor.net>
In-Reply-To: <BB375AF679D4A34E9CA8DFA650E2B04E1049C2@onstor-exch02.onstor.net>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: questions, please help
Thread-Index: Acedr79gwFvchovpT8WMI5xESd1yNwACtsYSACLDG6A=
References: <BB375AF679D4A34E9CA8DFA650E2B04E01401003@onstor-exch02.onstor.net> <BB375AF679D4A34E9CA8DFA650E2B04E1049C2@onstor-exch02.onstor.net>
From: "Maxim Kozlovsky" <maxim.kozlovsky@onstor.com>
To: "Tim Gardner" <tim.gardner@onstor.com>,
	"Wencheng Chai" <wencheng.chai@onstor.com>,
	"Andy Sharp" <andy.sharp@onstor.com>
Cc: "Chris Vandever" <chris.vandever@onstor.com>

This is a multi-part message in MIME format.

------_=_NextPart_001_01C79E46.1141E7BC
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

It looks like the mapping scheme we discussed will not work - because
the code has to work for ssc interfaces as well.

=20

The interface numbers after : will have to be allocated dynamically.=20

=20

When adding IP address, the code should read the list of existing
interfaces, find unused number and use it in the ifconfig call

When deleting IP address, the code should read the list of existing
interfaces and find the one with matching IP address.

=20

________________________________

From: Tim Gardner=20
Sent: Wednesday, May 23, 2007 9:19 PM
To: Wencheng Chai; Andy Sharp; Maxim Kozlovsky
Cc: Chris Vandever
Subject: RE: questions, please help

=20

I believe the function is called for each IP address configured on the
filer.

Try configuring multiple addresses for a VS or configure addresses for

multiple virtual servers. Then run ifconfig bp0.

=20

I explained the mapping algorithm to you earlier today.

See me again tomorrow and we can go over it again.

=20

________________________________

From: Wencheng Chai
Sent: Wed 5/23/2007 8:00 PM
To: Andy Sharp; Maxim Kozlovsky; Tim Gardner
Cc: Wencheng Chai; Chris Vandever
Subject: questions, please help

=20

       Hi All,

       Does ipmd{vsd}_AddKernIP() only configures IP for bp0?

       If answer is yes, why we need to use IP "alias"? I only see one
IP on my filer's bp0 and other filers too.

       I can understand that we can have multiple IP on fp1.0 for each
VS and IP alias is used when configuring the interface fp1.0.

       Tim mentioned a mapping scheme between IP address and Virtual
server ID, I looked the virtual server IP on my filer and

       do not see the mapping that Tim described. I may miss something.
All the questions lead to the following question,

       For Linux, I am going to use "ifconfig" in AddKernIP() then how
do I know that the IP is an alias so that "ifconfig" need to append ":"=20

       and number to the interface name?

       Thanks,

       Wencheng

      =20


------_=_NextPart_001_01C79E46.1141E7BC
Content-Type: text/html;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<html xmlns:v=3D"urn:schemas-microsoft-com:vml" =
xmlns:o=3D"urn:schemas-microsoft-com:office:office" =
xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:st1=3D"urn:schemas-microsoft-com:office:smarttags" =
xmlns=3D"http://www.w3.org/TR/REC-html40">

<head>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Dus-ascii">
<meta name=3DGenerator content=3D"Microsoft Word 11 (filtered medium)">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]-->
<title>questions, please help</title>
<o:SmartTagType =
namespaceuri=3D"urn:schemas-microsoft-com:office:smarttags"
 name=3D"PersonName"/>
<!--[if !mso]>
<style>
st1\:*{behavior:url(#default#ieooui) }
</style>
<![endif]-->
<style>
<!--
 /* Font Definitions */
 @font-face
	{font-family:Tahoma;
	panose-1:2 11 6 4 3 5 4 4 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0in;
	margin-bottom:.0001pt;
	font-size:12.0pt;
	font-family:"Times New Roman";}
a:link, span.MsoHyperlink
	{color:blue;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{color:purple;
	text-decoration:underline;}
p
	{mso-margin-top-alt:auto;
	margin-right:0in;
	mso-margin-bottom-alt:auto;
	margin-left:0in;
	font-size:12.0pt;
	font-family:"Times New Roman";}
span.EmailStyle18
	{mso-style-type:personal-reply;
	font-family:Arial;
	color:navy;}
@page Section1
	{size:8.5in 11.0in;
	margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
	{page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
 <o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
 <o:shapelayout v:ext=3D"edit">
  <o:idmap v:ext=3D"edit" data=3D"1" />
 </o:shapelayout></xml><![endif]-->
</head>

<body lang=3DEN-US link=3Dblue vlink=3Dpurple>

<div class=3DSection1>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'>It looks like the mapping scheme we
discussed will not work &#8211; because the code has to work for ssc =
interfaces
as well.<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'>The interface numbers after : will =
have to
be allocated dynamically. <o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'>When adding IP address, the code =
should
read the list of existing interfaces, find unused number and use it in =
the
ifconfig call<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'>When deleting IP address, the code =
should
read the list of existing interfaces and find the one with matching IP =
address.<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<div>

<div class=3DMsoNormal align=3Dcenter style=3D'text-align:center'><font =
size=3D3
face=3D"Times New Roman"><span style=3D'font-size:12.0pt'>

<hr size=3D2 width=3D"100%" align=3Dcenter tabindex=3D-1>

</span></font></div>

<p class=3DMsoNormal><b><font size=3D2 face=3DTahoma><span =
style=3D'font-size:10.0pt;
font-family:Tahoma;font-weight:bold'>From:</span></font></b><font =
size=3D2
face=3DTahoma><span style=3D'font-size:10.0pt;font-family:Tahoma'> =
<st1:PersonName
w:st=3D"on">Tim Gardner</st1:PersonName> <br>
<b><span style=3D'font-weight:bold'>Sent:</span></b> Wednesday, May 23, =
2007 9:19
PM<br>
<b><span style=3D'font-weight:bold'>To:</span></b> Wencheng Chai; =
<st1:PersonName
w:st=3D"on">Andy Sharp</st1:PersonName>; Maxim Kozlovsky<br>
<b><span style=3D'font-weight:bold'>Cc:</span></b> <st1:PersonName =
w:st=3D"on">Chris
 Vandever</st1:PersonName><br>
<b><span style=3D'font-weight:bold'>Subject:</span></b> RE: questions, =
please
help</span></font><o:p></o:p></p>

</div>

<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'><o:p>&nbsp;</o:p></span></font></p>

<div id=3DidOWAReplyText30435>

<div>

<p class=3DMsoNormal><font size=3D2 color=3Dblack face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:black'>I believe the function is called =
for each
IP address configured on the filer.</span></font><o:p></o:p></p>

</div>

<div>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>Try configuring multiple addresses for a VS or =
configure
addresses for</span></font><o:p></o:p></p>

</div>

<div>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>multiple virtual servers. Then run ifconfig =
bp0.</span></font><o:p></o:p></p>

</div>

<div>

<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'>&nbsp;<o:p></o:p></span></font></p>

</div>

<div>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>I explained the mapping algorithm to you earlier =
today.</span></font><o:p></o:p></p>

</div>

<div>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>See me again tomorrow and we can go over it =
again.</span></font><o:p></o:p></p>

</div>

</div>

<div>

<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'><o:p>&nbsp;</o:p></span></font></p>

<div class=3DMsoNormal align=3Dcenter style=3D'text-align:center'><font =
size=3D3
face=3D"Times New Roman"><span style=3D'font-size:12.0pt'>

<hr size=3D2 width=3D"100%" align=3Dcenter tabIndex=3D-1>

</span></font></div>

<p class=3DMsoNormal style=3D'margin-bottom:12.0pt'><b><font size=3D2 =
face=3DTahoma><span
style=3D'font-size:10.0pt;font-family:Tahoma;font-weight:bold'>From:</spa=
n></font></b><font
size=3D2 face=3DTahoma><span =
style=3D'font-size:10.0pt;font-family:Tahoma'> Wencheng
Chai<br>
<b><span style=3D'font-weight:bold'>Sent:</span></b> Wed 5/23/2007 8:00 =
PM<br>
<b><span style=3D'font-weight:bold'>To:</span></b> <st1:PersonName =
w:st=3D"on">Andy
 Sharp</st1:PersonName>; Maxim Kozlovsky; <st1:PersonName =
w:st=3D"on">Tim Gardner</st1:PersonName><br>
<b><span style=3D'font-weight:bold'>Cc:</span></b> Wencheng Chai; =
<st1:PersonName
w:st=3D"on">Chris Vandever</st1:PersonName><br>
<b><span style=3D'font-weight:bold'>Subject:</span></b> questions, =
please help</span></font><o:p></o:p></p>

</div>

<div>

<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'><o:p>&nbsp;</o:p></span></font></p>

<p><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;font-family:Arial'>&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;
Hi All,</span></font><o:p></o:p></p>

<p><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;font-family:Arial'>&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;
Does ipmd{vsd}_AddKernIP() only</span></font> <font size=3D2 =
face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial'>configures IP for =
bp0?</span></font><o:p></o:p></p>

<p><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;font-family:Arial'>&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;
If answer is yes, why we need to use</span></font> <font size=3D2 =
face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial'>IP</span></font> <font =
size=3D2
face=3DArial><span =
style=3D'font-size:10.0pt;font-family:Arial'>&#8220;alias&#8221;?
I only see one IP</span></font> <font size=3D2 face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial'>on my filer&#8217;s bp0</span></font> <font =
size=3D2
face=3DArial><span style=3D'font-size:10.0pt;font-family:Arial'>and =
other filers
too.</span></font><o:p></o:p></p>

<p><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;font-family:Arial'>&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;
I can understand that we can</span></font> <font size=3D2 =
face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial'>have</span></font> <font =
size=3D2
face=3DArial><span =
style=3D'font-size:10.0pt;font-family:Arial'>multiple</span></font>
<font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;font-family:Arial'>IP on
fp1.0 for each VS</span></font> <font size=3D2 face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial'>and IP alias is used when configuring the =
interface
fp1.0.</span></font><o:p></o:p></p>

<p><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;font-family:Arial'>&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;
Tim mentioned a mapping scheme between IP address and Virtual server ID, =
I
looked the virtual server IP on my filer =
and</span></font><o:p></o:p></p>

<p><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;font-family:Arial'>&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;</span></font>
<font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;font-family:Arial'>do not
see the mapping</span></font> <font size=3D2 face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial'>that Tim described. I may miss something. All =
the
questions lead to the following question,</span></font><o:p></o:p></p>

<p><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;font-family:Arial'>&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;
For Linux,</span></font> <font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>I am going to use</span></font> <font size=3D2 =
face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial'>&#8220;ifconfig&#8221;</span=
></font>
<font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;font-family:Arial'>in
AddKernIP() then</span></font> <font size=3D2 face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial'>how do I know that the IP is an alias so =
that</span></font>
<font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;font-family:Arial'>&#8220;ifconfig&#8221;
need</span></font> <font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>to</span></font> <font size=3D2 face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial'>append</span></font> <font =
size=3D2
face=3DArial><span =
style=3D'font-size:10.0pt;font-family:Arial'>&#8220;:&#8221;</span></font=
>
<o:p></o:p></p>

<p><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;font-family:Arial'>&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;</span></font>
<font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;font-family:Arial'>and
number to the interface name?</span></font><o:p></o:p></p>

<p><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;font-family:Arial'>&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;
Thanks,</span></font><o:p></o:p></p>

<p><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;font-family:Arial'>&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;
Wencheng</span></font><o:p></o:p></p>

<p><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;font-family:Arial'>&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;</span></font>
<o:p></o:p></p>

</div>

</div>

</body>

</html>

------_=_NextPart_001_01C79E46.1141E7BC--
