Saturday, April 21, 2012

How to enable/disable Intel VT-d on XEN

Usually, you just need 'iommu=1' to enable VT-d. At the same time, most of VT-d features (DMA remapping, snoop control, queued invalidation and interrupt remapping) are enabled by default if they are available. You can use 'no-xxx' to disable a feature, for example, 'iommu=no-snoop' disable snoop control.
When RMRR address range is not in reserved memory (BIOS issue), can use 'iommu_inclusive_mapping=1' to work around it.
The grub configuration is like:
title Xen-Linux (2.6.18-xen)
        root (hd0,0)
        kernel /boot/xen.gz iommu=1
        module /boot/vmlinuz- root=LABEL=/
        module /boot/initrd-2.6.18-xen.img

How to disable Intel VT-d on ESX

When using Interrupt Remapping on some servers, you may experience vHBAs and other PCI devices stop responding in ESXi 6.0.x, ESXi 5.x and ESXi/ESX 4.1

This issue should be solved by server vendors releasing fixed BIOS version but if there is not a fix available you can use following workaround until new BIOS is released.

Disabling Intel VT-d Interrupt Remapping:

ESX/ESXi 4.1:
esxcfg-advcfg -k TRUE iovDisableIR

ESXi 5.0:
esxcli system settings kernel set --setting=iovDisableIR -v TRUE

Disabling all VT-d features:
Advanced setting VMkernel.Boot.noIOMMU = unchecked = 0

For more info look at 

Friday, April 20, 2012

VMware Perl SDK - SSL Certificate verification


[root@MON-PROXY vm]# ./ --url --username dpasek -vmname mon_proxy
Enter password:
Server version unavailable at '' at /usr/lib/perl5/5.8.8/VMware/ line 545, line 1.


[root@MON-PROXY vm]# ./ --url --username dpasek -vmname mon_proxy

Thursday, April 19, 2012

VMware SRM

SRM Scripts
C:\Program Files (x86)\VMware\VMware vCenter Site Recovery Manager\scripts\SAN

SRM Logs
%ALLUSERSPROFILE%\VMware\VMware vCenter Site Recovery Manager\Logs\


Sunday, April 15, 2012

Dell OpenManage Offline Bundle and VIB for ESXi

OMSA 6.5

OMSA 7.0

It can be installed with VMware Update Manager (VUM) or with CLI.
VUM is preferred, simpler and more convenient option.

CLI installation: -server -i -b

vicfg-advcfg --server --username --password --set 1 UserVars.CIMoemProviderEnabled

For example:
vicfg-advcfg --server --set 1 UserVars.CIMoemProviderEnabled

in ESX5 advanced parameter changed to