<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: Setting VMware ESX vSwitch Load Balancing Policy via CLI</title>
	<atom:link href="http://blog.scottlowe.org/2008/09/05/setting-vmware-esx-vswitch-load-balancing-policy-via-cli/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.scottlowe.org/2008/09/05/setting-vmware-esx-vswitch-load-balancing-policy-via-cli/</link>
	<description>The weblog of an IT pro specializing in virtualization, storage, and servers</description>
	<lastBuildDate>Wed, 08 Feb 2012 17:13:47 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=</generator>
	<item>
		<title>By: David</title>
		<link>http://blog.scottlowe.org/2008/09/05/setting-vmware-esx-vswitch-load-balancing-policy-via-cli/comment-page-1/#comment-51239</link>
		<dc:creator>David</dc:creator>
		<pubDate>Thu, 28 Jul 2011 15:55:53 +0000</pubDate>
		<guid isPermaLink="false">http://blog.scottlowe.org/2008/09/05/setting-vmware-esx-vswitch-load-balancing-policy-via-cli/#comment-51239</guid>
		<description>this command actually saved my life today!
changed load balancing policy in the VI-Client on one of the ESX Host in a HA Cluster from &quot;route based on IP Hash&quot; to &quot;Route based on originating virtual port ID&quot; in an attempt to troubleshoot a network timout issue and the host became unmanagable.
Unfortunately customer had Service Console network on the same network.
Anyway we managed to log on to the iLO remote console and so I was able to execute this command to change the policy back to &quot;Route based on ip hash” and after the host went down and rebooted, the host was reachable and manageable again. Luckily HA kicked in and restarted the VMs on the other Host so the downtime was minimal.
Had to troubleshoot HA a bit after that, but without this command I would have had to drive to the customer and try fix it from there.

Thanks a lot.</description>
		<content:encoded><![CDATA[<p>this command actually saved my life today!<br />
changed load balancing policy in the VI-Client on one of the ESX Host in a HA Cluster from &#8220;route based on IP Hash&#8221; to &#8220;Route based on originating virtual port ID&#8221; in an attempt to troubleshoot a network timout issue and the host became unmanagable.<br />
Unfortunately customer had Service Console network on the same network.<br />
Anyway we managed to log on to the iLO remote console and so I was able to execute this command to change the policy back to &#8220;Route based on ip hash” and after the host went down and rebooted, the host was reachable and manageable again. Luckily HA kicked in and restarted the VMs on the other Host so the downtime was minimal.<br />
Had to troubleshoot HA a bit after that, but without this command I would have had to drive to the customer and try fix it from there.</p>
<p>Thanks a lot.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: slowe</title>
		<link>http://blog.scottlowe.org/2008/09/05/setting-vmware-esx-vswitch-load-balancing-policy-via-cli/comment-page-1/#comment-50948</link>
		<dc:creator>slowe</dc:creator>
		<pubDate>Fri, 17 Jun 2011 03:21:20 +0000</pubDate>
		<guid isPermaLink="false">http://blog.scottlowe.org/2008/09/05/setting-vmware-esx-vswitch-load-balancing-policy-via-cli/#comment-50948</guid>
		<description>Bevan, if you&#039;re having problems setting this value via the GUI, then you most likely have an issue that needs to be resolved. I&#039;d suggest opening a case with VMware support.</description>
		<content:encoded><![CDATA[<p>Bevan, if you&#8217;re having problems setting this value via the GUI, then you most likely have an issue that needs to be resolved. I&#8217;d suggest opening a case with VMware support.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bevan</title>
		<link>http://blog.scottlowe.org/2008/09/05/setting-vmware-esx-vswitch-load-balancing-policy-via-cli/comment-page-1/#comment-50946</link>
		<dc:creator>Bevan</dc:creator>
		<pubDate>Fri, 17 Jun 2011 02:26:34 +0000</pubDate>
		<guid isPermaLink="false">http://blog.scottlowe.org/2008/09/05/setting-vmware-esx-vswitch-load-balancing-policy-via-cli/#comment-50946</guid>
		<description>Could you supply any instructions on how to do it for ESX 4.0/4.1? 
We keep getting &quot;Call &quot;HostNetworkSystem.UpdateVirtualSwitch&quot; for object &quot;networkSystem&quot; on ESX &quot;server&quot; failed.&quot; when trying to do it in the GUI.</description>
		<content:encoded><![CDATA[<p>Could you supply any instructions on how to do it for ESX 4.0/4.1?<br />
We keep getting &#8220;Call &#8220;HostNetworkSystem.UpdateVirtualSwitch&#8221; for object &#8220;networkSystem&#8221; on ESX &#8220;server&#8221; failed.&#8221; when trying to do it in the GUI.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Standard ESX networking tasks from command line (Part 2) &#171; Virtual RJ</title>
		<link>http://blog.scottlowe.org/2008/09/05/setting-vmware-esx-vswitch-load-balancing-policy-via-cli/comment-page-1/#comment-43250</link>
		<dc:creator>Standard ESX networking tasks from command line (Part 2) &#171; Virtual RJ</dc:creator>
		<pubDate>Mon, 05 Jan 2009 08:10:42 +0000</pubDate>
		<guid isPermaLink="false">http://blog.scottlowe.org/2008/09/05/setting-vmware-esx-vswitch-load-balancing-policy-via-cli/#comment-43250</guid>
		<description>[...] stuff you would want to do. Scott Lowe wrote some articles about more advanced operations like Setting Load Balancing Policies and Modifying a PortGroup using the CLI. I hope this articles were useful for all of you. At [...]</description>
		<content:encoded><![CDATA[<p>[...] stuff you would want to do. Scott Lowe wrote some articles about more advanced operations like Setting Load Balancing Policies and Modifying a PortGroup using the CLI. I hope this articles were useful for all of you. At [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: slowe</title>
		<link>http://blog.scottlowe.org/2008/09/05/setting-vmware-esx-vswitch-load-balancing-policy-via-cli/comment-page-1/#comment-41752</link>
		<dc:creator>slowe</dc:creator>
		<pubDate>Fri, 26 Sep 2008 19:37:58 +0000</pubDate>
		<guid isPermaLink="false">http://blog.scottlowe.org/2008/09/05/setting-vmware-esx-vswitch-load-balancing-policy-via-cli/#comment-41752</guid>
		<description>ccassel,

I&#039;m not aware of any difference, other than modifying esx.conf is strongly discouraged.


Jay,

AFAIK there is no way to do it. A physical NIC (pNIC) can be bound to only one vSwitch at a time. The opposite--binding multiple pNICs to a single vSwitch--is easily accomplished via the command line above.

Hope this helps!</description>
		<content:encoded><![CDATA[<p>ccassel,</p>
<p>I&#8217;m not aware of any difference, other than modifying esx.conf is strongly discouraged.</p>
<p>Jay,</p>
<p>AFAIK there is no way to do it. A physical NIC (pNIC) can be bound to only one vSwitch at a time. The opposite&#8211;binding multiple pNICs to a single vSwitch&#8211;is easily accomplished via the command line above.</p>
<p>Hope this helps!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jay</title>
		<link>http://blog.scottlowe.org/2008/09/05/setting-vmware-esx-vswitch-load-balancing-policy-via-cli/comment-page-1/#comment-41749</link>
		<dc:creator>Jay</dc:creator>
		<pubDate>Fri, 26 Sep 2008 18:02:10 +0000</pubDate>
		<guid isPermaLink="false">http://blog.scottlowe.org/2008/09/05/setting-vmware-esx-vswitch-load-balancing-policy-via-cli/#comment-41749</guid>
		<description>I would like to set up multiple vSwitches to utulize one physical nic. I am unable to locate how to add an ip to a second, thrid, or fourth nic and assign that nic to an active state. Can you help ?</description>
		<content:encoded><![CDATA[<p>I would like to set up multiple vSwitches to utulize one physical nic. I am unable to locate how to add an ip to a second, thrid, or fourth nic and assign that nic to an active state. Can you help ?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ccassel</title>
		<link>http://blog.scottlowe.org/2008/09/05/setting-vmware-esx-vswitch-load-balancing-policy-via-cli/comment-page-1/#comment-41225</link>
		<dc:creator>ccassel</dc:creator>
		<pubDate>Sat, 06 Sep 2008 11:45:44 +0000</pubDate>
		<guid isPermaLink="false">http://blog.scottlowe.org/2008/09/05/setting-vmware-esx-vswitch-load-balancing-policy-via-cli/#comment-41225</guid>
		<description>Is there any difference between modifying the esx.conf and adding two active nics using vswitch_setpolicy or portgroup_set from vmware-vim-cmd? I&#039;ve been doing it like this in my post script, which works as far as I can tell:
esxcfg-vswitch -a vSwitch2
esxcfg-vswitch -L vmnic4 vSwitch2
esxcfg-vswitch -L vmnic6 vSwitch2
esxcfg-vswitch -L vmnic8 vSwitch2
vmware-vim-cmd hostsvc/net/refresh
vmware-vim-cmd hostsvc/net/vswitch_setpolicy --nicorderpolicy-active=vmnic4,vmnic6 --nicorderpolicy-standby=vmnic8 --nicteaming-policy=loadbalance_ip vSwitch2</description>
		<content:encoded><![CDATA[<p>Is there any difference between modifying the esx.conf and adding two active nics using vswitch_setpolicy or portgroup_set from vmware-vim-cmd? I&#8217;ve been doing it like this in my post script, which works as far as I can tell:<br />
esxcfg-vswitch -a vSwitch2<br />
esxcfg-vswitch -L vmnic4 vSwitch2<br />
esxcfg-vswitch -L vmnic6 vSwitch2<br />
esxcfg-vswitch -L vmnic8 vSwitch2<br />
vmware-vim-cmd hostsvc/net/refresh<br />
vmware-vim-cmd hostsvc/net/vswitch_setpolicy &#8211;nicorderpolicy-active=vmnic4,vmnic6 &#8211;nicorderpolicy-standby=vmnic8 &#8211;nicteaming-policy=loadbalance_ip vSwitch2</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: slowe</title>
		<link>http://blog.scottlowe.org/2008/09/05/setting-vmware-esx-vswitch-load-balancing-policy-via-cli/comment-page-1/#comment-41203</link>
		<dc:creator>slowe</dc:creator>
		<pubDate>Fri, 05 Sep 2008 16:51:19 +0000</pubDate>
		<guid isPermaLink="false">http://blog.scottlowe.org/2008/09/05/setting-vmware-esx-vswitch-load-balancing-policy-via-cli/#comment-41203</guid>
		<description>Good point, Duncan! Thanks for adding that information to the conversation.</description>
		<content:encoded><![CDATA[<p>Good point, Duncan! Thanks for adding that information to the conversation.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Duncan</title>
		<link>http://blog.scottlowe.org/2008/09/05/setting-vmware-esx-vswitch-load-balancing-policy-via-cli/comment-page-1/#comment-41202</link>
		<dc:creator>Duncan</dc:creator>
		<pubDate>Fri, 05 Sep 2008 16:38:00 +0000</pubDate>
		<guid isPermaLink="false">http://blog.scottlowe.org/2008/09/05/setting-vmware-esx-vswitch-load-balancing-policy-via-cli/#comment-41202</guid>
		<description>Keep in mind that if you want to do a scripted install you will need to setup the server that it can have atleast 2 active nics. from the installer normally if you add a nic and set the switch to load balancing on ip you would still only have 1 active nic.

i used the following for the second vswitch (0001), so i set the value &quot;1&quot; to &quot;two&quot; in the esx.conf file:

/bin/sed -e ’s/net\/vswitch\/child\[0001\]\/teamPolicy\/maxActive = \”1\”/net\/vswitch\/child\[0001\]\/teamPolicy\/maxActive = \”2\”/g’ /tmp/esx.conf.bak &gt;&gt; /etc/vmware/esx.conf</description>
		<content:encoded><![CDATA[<p>Keep in mind that if you want to do a scripted install you will need to setup the server that it can have atleast 2 active nics. from the installer normally if you add a nic and set the switch to load balancing on ip you would still only have 1 active nic.</p>
<p>i used the following for the second vswitch (0001), so i set the value &#8220;1&#8243; to &#8220;two&#8221; in the esx.conf file:</p>
<p>/bin/sed -e ’s/net\/vswitch\/child\[0001\]\/teamPolicy\/maxActive = \”1\”/net\/vswitch\/child\[0001\]\/teamPolicy\/maxActive = \”2\”/g’ /tmp/esx.conf.bak &gt;&gt; /etc/vmware/esx.conf</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: VMware ESX, NIC Teaming, and VLAN Trunking with HP ProCurve - blog.scottlowe.org - The weblog of an IT pro specializing in virtualization, storage, and servers</title>
		<link>http://blog.scottlowe.org/2008/09/05/setting-vmware-esx-vswitch-load-balancing-policy-via-cli/comment-page-1/#comment-41199</link>
		<dc:creator>VMware ESX, NIC Teaming, and VLAN Trunking with HP ProCurve - blog.scottlowe.org - The weblog of an IT pro specializing in virtualization, storage, and servers</dc:creator>
		<pubDate>Fri, 05 Sep 2008 15:23:36 +0000</pubDate>
		<guid isPermaLink="false">http://blog.scottlowe.org/2008/09/05/setting-vmware-esx-vswitch-load-balancing-policy-via-cli/#comment-41199</guid>
		<description>[...] Subscribe to feed &#8249; Setting VMware ESX vSwitch Load Balancing Policy via CLI [...]</description>
		<content:encoded><![CDATA[<p>[...] Subscribe to feed &lsaquo; Setting VMware ESX vSwitch Load Balancing Policy via CLI [...]</p>
]]></content:encoded>
	</item>
</channel>
</rss>

