Monthly Archives: September 2013

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

none XIV to XIV migration and unrecognized datastore

Yesterday i was testing none XIV storage to XIV migration. Very interesting that LUN is somehow discovered but no way to see it as a datastore.

I tried to recognize datastore with existing signature or push to re-signature it but still datastore was not available.

I checked the log file vmkernel under /var/log and understand there is an issue with reservation somehow.

3th article on list said that this issue caused VAAI enabled and ATS Only datastores, but it should be fixed with 5.0 Update 1 and 5.1 but i was using 5.1 and not  yet tested with 5.5

After disable VAAI like below vmware recognized the datastore.

esxcli system settings advanced set -i 0 -o /VMFS3/HardwareAcceleratedLocking

I guess for vmware point of view or virtualization point of view still storage vmotion is better way to migrate.

Some articles from vmware

http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=1003988

http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=1014953

http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=2006858

 

 

Multiple ISL connection between two fiber switchs without ISL Trunk

Before i posted some different articles for connect multiple switch together, now i will show you the how multiple ISL connection you can do without ISL Trunk
Problem is from Brocade community pages i can not find out right answer or i don’t know answers why not enough helpful for such big company community page 😦

Short explanation , because of FC network is do not have any Ethernet based Spanning Tree kind of issue , you can do easily multiple connection between two switches. My purpose is not load balance or any port saturation , just only have an issue about my E port , for to do this i have to switch the E port or ISL port.

I plugged the second connection between two switches without any interruption and FC switches take care about routing and traffic like below. P0 and P2 are two E ports. This is Dynamic Load Sharing. You can see it with execute “dlsshow” command which show that dls set or not or you can set it with “dlsset” command to enable it. I guess its come default because our switches 1-4 years old and they have it.

A note for you , I’m not completely sure but when i unplug on of E port , i saw some short latency increase on storage site.

Screen Shot 2013-09-10 at 1.09.25 PM

Also a good comments you have to take care about to see the topology and paths

Use “urouteshow” , “topologyshow”

Also when i search something finally i found perfect pdf file which everybody should read it

http://books.sysadmins.su/oldlib/SAN/FCBasics.pdf

Regards
VM