<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Running UNIX &#187; ipmp</title>
	<atom:link href="http://www.runningunix.com/tag/ipmp/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.runningunix.com</link>
	<description>UNIX/Solaris tips, tricks, and advice</description>
	<lastBuildDate>Mon, 01 Aug 2011 17:37:05 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Link-based IPMP setup with VCS</title>
		<link>http://www.runningunix.com/2009/01/link-based-ipmp-setup-with-vcs/</link>
		<comments>http://www.runningunix.com/2009/01/link-based-ipmp-setup-with-vcs/#comments</comments>
		<pubDate>Sat, 31 Jan 2009 11:15:13 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[network]]></category>
		<category><![CDATA[Solaris]]></category>
		<category><![CDATA[vcs]]></category>
		<category><![CDATA[ipmp]]></category>
		<category><![CDATA[redundant]]></category>

		<guid isPermaLink="false">http://www.runningunix.com/?p=89</guid>
		<description><![CDATA[With Solaris 10 came a nice feature &#8211; Link-based IP Multipathing (IPMP). It determines NIC availability solely on the NIC driver reporting the physical link status &#8211; UP or DOWN. Previous versions used &#8220;probe-based&#8221; IPMP, where connectivity is tested by pinging something on the network from each interface. While probe-based is actually a more thorough [...]]]></description>
			<content:encoded><![CDATA[<p>With Solaris 10 came a nice feature &#8211; Link-based IP Multipathing (IPMP). It determines NIC availability solely on the NIC driver reporting the physical link status &#8211; UP or DOWN. Previous versions used &#8220;probe-based&#8221; IPMP, where connectivity is tested by pinging something on the network from each interface. While probe-based is actually a more thorough test (tests network layer 3 as well as 2), it is much more cumbersome to configure, and you need an extra IP address for each interface for &#8220;test&#8221; addresses. IMO Link-based IPMP is sufficient for most applications.</p>
<p></p>
<p>For some reason, configuring link-based IPMP in VCS is somewhat tricky, and the documentation doesn&#8217;t seem to help much. It seems all the default values for VCS are for probe-based IPMP only.</p>
<p>To achieve link-based IPMP, here&#8217;s how I&#8217;ve configured my MultiNICB resource:<br />
<div id="attachment_216" class="wp-caption alignnone" style="width: 488px"><a href="http://www.runningunix.com/wp-content/uploads/2009/01/multinicb.jpg"><img src="http://www.runningunix.com/wp-content/uploads/2009/01/multinicb.jpg" alt="Link-based IPMP MultiNICB properties" title="multinicb" width="478" height="558" class="size-full wp-image-216" /></a><p class="wp-caption-text">Link-based IPMP MultiNICB properties</p></div><br />
These are the values you must change from the defaults:</p>
<p><strong>UseMpathd: 1</strong><br />
Tells VCS to use mpathd for network link status<br />
<strong>MpathCommand: /usr/lib/inet/in.mpathd -a</strong><br />
The default, /usr/sbin/in.mpathd is just incorrect &#8211; it doesn&#8217;t live there.<br />
<strong>ConfigCheck: 0</strong><br />
If you leave this at 1, it will overwrite your /etc/hostname.xxx files with probe-based IPMP configuration<br />
<strong>Device: (your IPMP interfaces here)</strong><br />
The &#8220;interface alias&#8221; for each device is not needed, leave them blank.<br />
<strong>IgnoreStatus: 0</strong><br />
You want VCS to NOT ignore link status, since this is how link-based IPMP works.<br />
<strong>GroupName: <blank></strong><br />
Do not use your IPMP group name here, it&#8217;s not needed. VCS is not monitoring the group, mpathd is.</p>
<p>Here&#8217;s how it looks in main.cf:</p>
<blockquote><p>
        MultiNICB csgmultinic (<br />
                UseMpathd = 1<br />
                MpathdCommand = &#8220;/usr/lib/inet/in.mpathd -a&#8221;<br />
                ConfigCheck = 0<br />
                Device = { ce0 = &#8220;&#8221;, ce4 = &#8220;&#8221; }<br />
                IgnoreLinkStatus = 0<br />
                )
</p></blockquote>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.runningunix.com%2F2009%2F01%2Flink-based-ipmp-setup-with-vcs%2F&amp;title=Link-based%20IPMP%20setup%20with%20VCS" id="wpa2a_2"><img src="http://www.runningunix.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.runningunix.com/2009/01/link-based-ipmp-setup-with-vcs/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
	</channel>
</rss>

