0

I'm trying to use the manager to find a VM associated with a particular MAC-address. I'm using the search-bar in the WUI. The RHEV-M guide and oVirt CLI examples get me only so far. In the search bar, I try VMS: vnic.network_name = X* and I get all VMs with an interface in any of the X... networks. But I want to search on the mac address. Tried the obvious, (mac, mac-address, mac_address) but no go. For comparison, I tried "00*" which definitely should have gotten hits.

1

Vms: Vnic = 00:11:22:33:44:55 is what you're looking for

  • I have verified it on RHEV 3.5, by copy/pasting the MAC of one of the VMs, using the exact syntax I provided. It worked just fine, returning the only VM that had that MAC. Actually, if you open a new question, describing the use case and what are you trying to achieve in the long run, maybe MACs will not be relevant, and I'll be able to provide a better solution overall – dyasny May 26 '15 at 15:50
  • Some time after my post, we upgraded to 3.5.3. I tried it again and it worked. tyvm. – Otheus Jul 21 '15 at 13:33
  • If you can answer this as well, I'd be grateful: unix.stackexchange.com/questions/383095/… – Otheus Aug 1 '17 at 9:13
1

Login to the engine postgres

Run this:

engine=# SELECT vm_name,mac_addr from vm_interface_view where mac_addr='00:16:3e:74:8e:ad';

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.