VMware Cloud Community
MartinAmaro
Expert
Expert

How to enalbe vmotion to existing virtual swtih and virtualgroup "management network"

Can some one trow me a bone here?

I been trying to figureout how to enagble vmotion to existing virtual swtih and virtualgroup "management network" in one host.

I saw couple examples how to find the interface where vmotion is enabled or how to create a virtual switc hwith vmotion and I also looked at the "Set-VMhostNetworkAdapter" ....

but I cannot findure out how to set vmotion ... When I look at vcenter the virtual swithch name is vswtich0 and the virtual group is "mangement network"

any assistanse will be greatly appreciated

If you find this or any other answer useful please consider awarding points by marking the answer correct or helpful.
0 Kudos
2 Replies
LucD
Leadership
Leadership

Try this

Get-VMHost <ESXi-hostname> | Get-VMHostNetworkAdapter | where {$_.PortGroupName -eq "Management Network"} | Set-VMHostNetworkAdapter -VMotionEnabled:$true

____________

Blog: LucD notes

Twitter: lucd22


Blog: lucd.info  Twitter: @LucD22  Co-author PowerCLI Reference

0 Kudos
MartinAmaro
Expert
Expert

It worked! Thanks ..

If you find this or any other answer useful please consider awarding points by marking the answer correct or helpful.
0 Kudos