VMware

findVMsWithRDMs.pl

VERSION 1 Published

Created on: Nov 2, 2009 9:56 PM by lamw - Last Modified:  Nov 2, 2009 10:00 PM by lamw

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

Attachments:
Average User Rating
(0 ratings)




Comments

There are no comments on this document

 

Developer Social Media

Communities