Search tricks in vRO

One of my customers asked me what is the most efficient way to find VM’s in vCenter based on UUID/moRef/IP/Name with vRO… Well… this is a good question! and this post will show you how you can do it.

The most inefficient way to find VM by IP/Name/ID is like this:

  1. vms = VcPlugin.getAllVirtualMachines();
  2.  
  3. for each (vm in vms) {
  4.     if (vm.guest.ipAddress == ip) {
  5.         System.log(“VM name: “+vm.name);
  6.     }
  7. }

 

In large environments this could take some time.

Continue reading

F5 LTM Dynamic Types Plugin – How to Install

In the last couple of months I’ve been working on a project that includes vRA+vRO+NSX+F5. Really cool combination!

But, despite these products need to work together seamlessly, it is not always the case.

For example, vRA with NSX integration has a lot of capabilities for multi machine blueprints, but none for single blueprint. So you’ll have to use vRO to automate you processes such as Tagging Virtual Machine. Continue reading