findVMsWithRDMs.pl

Version 1

    This script locates VMs with RDMs (Virtual and Physical) and provides a list of the VM name, device name, filename and compatibility mode. The script can be pointed to either an individual ESX(i) or vCenter server.

     

    Requirements:

    ESX(i) 3.5 or 4.0 or vCenter 2.5 or 4.0

    vSphere SDK for Perl or VI Perl Toolkit or vMA 4.0 or VIMA 1.0

    VMs w/RDMs

     

    Sample Execution:

     

    Executing against a vCenter server:

    [vi-admin@scofield ~]$ ./findVMsWithRDMs.pl --server ucsb-resnet-vcenter --username primp
    Enter password:
    
    iscsiBridge.12162008
            DeviceName: vmhba1:0:211:0
            FileName: [http://dlgCore-FC-LUN203.VMstorage3|http://dlgCore-FC-LUN203.VMstorage3] iscsiBridge.12162008/iscsiBridge.12162008_2.vmdk
            CompatMode: physicalMode