VAAI and XVI, really great job !

For a long time i was wondering how can i monitor and see the effect of VAAI in cloud environment

Simply i installed vSphere 5.1 and assign a lun to ESXi node then uploaded Windows 2008 R2 iso and installed test VM (200GB Disk) for testing cloning and zero handling.

Then remote the VM from inventory , unmount the datastore and execute the commands below from ESXi cli to disable VAAI

# esxcli system settings advanced set --int-value 0 --option /DataMover/HardwareAcceleratedMove
# esxcli system settings advanced set --int-value 0 --option /DataMover/HardwareAcceleratedInit
# esxcli system settings advanced set --int-value 0 --option /VMFS3/HardwareAcceleratedLocking

Mount the datastore again, add the VM to Inventory then try to clone the VM with choosing such disk option

Screen Shot 2013-09-25 at 2.32.28 PM

its take 3 minutes : 31 seconds : 39 millisecond

then back to VAAI enable, remote the VMs from inventory, unmount datastore and execute the commands like below

# esxcli system settings advanced set --int-value 1 --option /DataMover/HardwareAcceleratedMove
# esxcli system settings advanced set --int-value 1 --option /DataMover/HardwareAcceleratedInit
# esxcli system settings advanced set --int-value 1 --option /VMFS3/HardwareAcceleratedLocking

Mount the datastore again, add the VM to Inventory then try to clone the VM with choosing  disk option like above again

Before from the console execute esxtop, press u and then press f to remove some columns with pressing B, F, G, I and add VAAI things with pressing O and then enter.

Check the CLONE_RD, CLONE_WR,ZERO columns like below , all values should be increase😀

Screen Shot 2013-09-25 at 2.41.50 PM

its take 18 seconds : 90 millisecond, perfect😀

Like it, now i can understand how Microsoft new data transfer technology (ODX) can help us !

Some helpful documents

FAQ of VAAI : http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=1021976

VAAI Tech Doc : http://www.vmware.com/files/pdf/techpaper/VMware-vSphere-Storage-API-Array-Integration.pdf

Enable disable VAAI : http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=1033665

Posted on 25/09/2013, in VAAI, XIV and tagged , , , , , . Bookmark the permalink. Leave a comment.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: