VMware Cloud Community
KellyOlivier
Enthusiast
Enthusiast

Display not set nicteaming policy

Does anybody know a command or file to view to see current nicteaming policy? I know I can set the nicteaming policy with the vmware-vim-cmd but this doesn't let you view it just set it. Is there a command or file to see this info without changing it? Thanks.

0 Kudos
4 Replies
depping
Leadership
Leadership

Here you go:

Yes there is: /etc/vmware/esx.conf

--> /net/vswitch/child[0001|http://communities.vmware.com/community-document-picker.jspa?communityID=&subject=0001]/teamPolicy/team = "lb_srcid"

lb_srcid = virtual port id

lb_ip = IP Hash

lb_srcmac = MAC Address

you could use the following to check it:

cat /etc/vmware/esx.conf | grep "teamPolicy\/team"

Duncan

VMware Communities User Moderator | VCP | VCDX

-


Blogging: http://www.yellow-bricks.com

Twitter:

If you find this information useful, please award points for "correct" or "helpful".

depping
Leadership
Leadership

I checked it on ESX 4.0 by the way, but I'm 99.99% sure it's the same in 3.5!

Duncan

VMware Communities User Moderator | VCP | VCDX

-


Blogging:

Twitter:

If you find this information useful, please award points for "correct" or "helpful".

0 Kudos
lamw
Community Manager
Community Manager

Duncan .... you never know you still got that 0.01% chance 😜

Though I can confirm on ESX 3.5u3 this is the case and I have no doubt that Duncan is correct in his statment

[root@k2 root]# vmware -v
VMware ESX Server 3.5.0 build-123630

[root@esx-1 root]# cat /etc/vmware/esx.conf | grep "teamPolicy\/team"
/net/vswitch/child[0000]/teamPolicy/team = "lb_ip"
/net/vswitch/child[0001]/teamPolicy/team = "lb_srcid"
/net/vswitch/child[0002]/teamPolicy/team = "lb_srcid"

Also you can extract this information using good ol vimsh:

[root@k2 root]# vmware-vim-cmd hostsvc/net/vswitch_info | grep -E '(policy|name)'
      name = "vSwitch0",
         policy = (vim.host.NetworkPolicy) {
               policy = "loadbalance_ip",
      name = "vSwitch1",
         policy = (vim.host.NetworkPolicy) {
               policy = "loadbalance_srcid",
      name = "vSwitch5",
         policy = (vim.host.NetworkPolicy) {
               policy = "loadbalance_srcid",

=========================================================================

William Lam

VMware vExpert 2009

VMware ESX/ESXi scripts and resources at:

VMware Code Central - Scripts/Sample code for Developers and Administrators

If you find this information useful, please award points for "correct" or "helpful".

KellyOlivier
Enthusiast
Enthusiast

Ahhh, awesome. I was greping policy with a lowercase p, lol. I didn't know that info would come up under the vmware-vim-cmd though. Thanks to both of you!

0 Kudos