VMware Cloud Community
HCC
Enthusiast
Enthusiast

VI3 monitor link status of NICs associated with VM Network port group

Trying to find a way in VI3 client to monitor the physical NICs I have trunked for VM Network. HA seems to be more in line with the entire box going down or at least not associated with the NICs from what I can tell. I tried pulling all 3 NICs from switch which effectively brings down all my virtual machines although the service and vmkernels ports remain active. I am looking for a way via the VI3 client or if necessary through an API script that monitors these virtual NICs that are trunked for VM Network and iff all 3 going down initiate a VMotion to the other EX Host.

Anyone know of a way to do this or at very least monitor for this event and send out an email alert or something ??

Thanks

Reply
0 Kudos
1 Reply
Texiwill
Leadership
Leadership

Hello,

There is no method within the VIC/VC to do this directly.

You can however write your own VI Perl Toolkit/SDK tool to do as you desire. You could also use hardware agents to monitor the hardware for link state. I.e. HPASM on HP hardware tied to HPSIM will also give similar information.

But in essence you need to write your own script to do the detection of all three and the vMotions.


Best regards,

Edward L. Haletky

VMware Communities User Moderator

====

Author of the book 'VMWare ESX Server in the Enterprise: Planning and Securing Virtualization Servers', Copyright 2008 Pearson Education.

CIO Virtualization Blog: http://www.cio.com/blog/index/topic/168354

As well as the Virtualization Wiki at http://www.astroarch.com/wiki/index.php/Virtualization

--
Edward L. Haletky
vExpert XIV: 2009-2023,
VMTN Community Moderator
vSphere Upgrade Saga: https://www.astroarch.com/blogs
GitHub Repo: https://github.com/Texiwill
Reply
0 Kudos