jsurprenant
Contributor
Contributor

Changing Load Balancing from the Service Console

Jump to solution

Is it possible to change the Load Balancing setting on a virtual switch from the service console? VI3. I have googled and tried the esxcfg-vswitch command with no luck.

0 Kudos
1 Solution

Accepted Solutions
kukacz
Enthusiast
Enthusiast

The right command is vimsh:

vimsh -n -e "hostsvc/net/vswitch_setpolicy --nicteaming-policy loadbalance_ip vSwitch0"

--

Lukas Kubin

View solution in original post

0 Kudos
3 Replies
Yattong
Expert
Expert

Why dont you just do it from the vi client?

If you want to script it, you will have to use the 'vimsh' command. Theres a paper on vimsh commands on xtravirt.

Good Luck

If you found this or any other answer useful please consider the use of the Helpful or correct buttons to award points ~y
0 Kudos
azn2kew
Champion
Champion

Here's a good guide from Scott Lowe how to accomplish it.

If you found this information useful, please consider awarding points for "Correct" or "Helpful". Thanks!!!

Regards,

Stefan Nguyen

iGeek Systems LLC.

VMware, Citrix, Microsoft Consultant

If you found this information useful, please consider awarding points for "Correct" or "Helpful". Thanks!!! Regards, Stefan Nguyen VMware vExpert 2009 iGeek Systems Inc. VMware vExpert, VCP 3 & 4, VSP, VTSP, CCA, CCEA, CCNA, MCSA, EMCSE, EMCISA
kukacz
Enthusiast
Enthusiast

The right command is vimsh:

vimsh -n -e "hostsvc/net/vswitch_setpolicy --nicteaming-policy loadbalance_ip vSwitch0"

--

Lukas Kubin

View solution in original post

0 Kudos