tag:blogger.com,1999:blog-4270346497183643494.post6247292194541840825..comments2024-03-15T05:03:09.921-07:00Comments on Cosonok's IT Blog: How to Configure iSCSI Multipathing (MPIO) in VMware vSphere 5 using ESXCLIUnknownnoreply@blogger.comBlogger4125tag:blogger.com,1999:blog-4270346497183643494.post-8879430799688482032012-02-23T14:32:07.132-08:002012-02-23T14:32:07.132-08:00Hello Stefan, thank you very much for the comment ...Hello Stefan, thank you very much for the comment and education. So that is how you do it then. Cheers!Carsonokhttps://www.blogger.com/profile/05717017593953701040noreply@blogger.comtag:blogger.com,1999:blog-4270346497183643494.post-13185053808980549112012-02-23T13:28:01.510-08:002012-02-23T13:28:01.510-08:00Hi,
To only mark 1 iface as active on a portgroup...Hi,<br /><br />To only mark 1 iface as active on a portgroup, first specify all interfaces as active, than specify only the one you need.<br />When you leave out any interface from the active list it will be marked unused (except when it is in standby, so mark both active to emtpy the standby adapters list (if any) )<br /><br /><br />to only have vmnic4 active on your iSCSIVMkernel1:<br /><br />esxcli network vswitch standard portgroup policy failover set -p iSCSIVMkernel1 -a vmnic4,vmnic5<br /><br />esxcli network vswitch standard portgroup policy failover set -p iSCSIVMkernel1 -a vmnic4Stefan Lapersnoreply@blogger.comtag:blogger.com,1999:blog-4270346497183643494.post-34474513093733874482012-01-05T00:02:17.390-08:002012-01-05T00:02:17.390-08:00Hello Anonymous, excellent question and yes you ar...Hello Anonymous, excellent question and yes you are 100% correct. The command -<br /><br />esxcli network vswitch standard portgroup policy failover set -p iSCSIVMkernel1 -a vmnic4<br /><br />- will indeed set the pnic as active for the VMkernel in question, but since we have just one VMkernel in the vSwitch, we get the desired effect by applying the command -<br /><br />esxcli network vswitch standard policy failover set -a vmnic4 -v iSCSIVMk1<br /><br />- to the switch, which we would have to do anyway (otherwise, even though the adapter is active for the VMkernel, would only see as standby for the vSwitch in the GUI, which would look a bit odd.)<br />There is no command to set an adapter as unused via CLI, only active or standby are possibilities, hence the one active adapter per vSwitch method is used.<br />Cheers!Carsonokhttps://www.blogger.com/profile/05717017593953701040noreply@blogger.comtag:blogger.com,1999:blog-4270346497183643494.post-31214608529620911442012-01-04T17:36:40.586-08:002012-01-04T17:36:40.586-08:00Doesn't this set only one of the pnics as acti...Doesn't this set only one of the pnics as active?:<br /><br />esxcli network vswitch standard portgroup policy failover set -p "iSCSIVMkernel1" -a "vmnic4"<br /><br />esxcli network vswitch standard portgroup policy failover set -p "iSCSIVMkernel2" -a "vmnic5"Anonymousnoreply@blogger.com