How to get RDM list in your VMware infrastructure

How to get RDM list in your VMware infrastructure.

Some time we require information about our virtual machines connected to which RDM .Below are the usefull powershell script to generate a csv report .

VMName: (Display) name of the VM that has the RDM attached to it
GuestDevName: The name of the disk in the VM’s hardware configuration (e.g. “Hard disk 2”)
GuestDevID: The SCSI controller and device ID of the disk in the VM’s configuration (e.g. “scsi0:1”)
VMHost: The ESXi host that runs the VM
HDFileName: The location and name of the RDM mapping file
HDMode: whether the RDM is in virtual or physical compatibility mode
HDSize: the size of the RDM
RuntimeName: The runtime name of the host’s LUN that represents the RDM (e.g. “vmhba1:C0:T2:L61”)
CanonicalName: Its canonical name (naaid)

Read more

How to get WWN of all your ESXi Servers from Power CLI

How to get WWN of all your ESXi Servers from Power CLI

Some time require to know our ESXi servers  WWN information for your record if you are having Cisco UCS or you are coordinating with Storage Administrator .That time you require WWN to MAP new LUN or RDM or MDS Switch Zoaning.

I got a script and tested it working fine . Its gives you Cluster Name Host Name HBA  and WWN .

Read more

How to troubleshoot SIP Connection using tcpdump

How to troubleshoot SIP Connection using tcpdump

To check SIP connection through tcpdump use the following command

tcpdump -nqt -s 0 -A -i eth0 port 5060

where:
-n do not convert IP address to DNS names
-q be quite, print less output informations
-t do not print timestamps
-s capture number of bytes from a packet, 0 = default iptions which is max 65535, or simply a whole packet
-A prints each packet in ASCI
-vvv be very very verbose
-i use interface to capture on
port 5060 listen for traffic ort 5060 traffic for  (source and destination)

output of command 

Read more

Cisco UCS Boot from SAN Windows 2008 Installation Error 0x80300001

Cisco UCS Boot from SAN Windows 2008 Installation Error 0x80300001

Windows is unable to install to the selected location. Error:0x80300001

Windows cannot be installed to this disk. This computers’s hardware may not support booting to this disk. Ensure that the disk’s controller is enable in the computer’s BIOS menu.

This is a common Error while installing Windows 2008 server on Cisco UCS Blade Boot from SAN. 

Read more