One of the first things that Netapp Support ask you if you are experiencing any performance issues is: Are all your vm’s and data aligned correctly. Why is it important to have your alignement corrected, Simple, otherwise the system will be working much harder than what it has to for it to be able to read and write data blocks. For a great explanation on alignment, head on over to Duncan’s website at Yellow-Bricks.com. Also check out this Technical Report 3747 from Netapp in regards to Best Practices for File System Alignement in Virtual Environments.
Netapp Mbralign – How to indentify Misaligned VM’s
First up, we need to identify which vm’s are misaligned. For this, the quickest way is to use Netapp Virtual Storage Console VSC 4.x. Virtual Storage Console is a plug-in into your vCenter Server. With Virtual Storage Console we can scan our datastores and report back on which VM’s require alignment.
1. Open your vCenter server and browse to Solutions and Applications – Netapp. Click on the Optimization and Migration tab on the left hand side. Select the datastore that you wish to scan.
Netapp Mbralign – How to Install Mbralign
1. The Mbralign tool is downloaded from the VSC. Within VSC click on Monitoring and Host Configuration – Tools. Click Download for the ESX or ESXi host version in your environment. Save the file to your local hard drive.
Netapp Mbralign – How to Align Windows Virtual Machines
1. As you can see in my vCenter Server I have 2 Virtual Machines named Rhel5-Web2 and Windows2003-Web1. In this demo we will look at aligning our Windows2003-Web1 vm.
Netapp Mbralign – How to Align Linux Virtual Machines
After aligning as you will see in the video you will be re-installing Grub. We need to tell grub to boot from the partition that contains /boot/grub/stage1. To verify this run find /boot/grub/stage1
All the tutorials included on this site are performed in a lab environment to simulate a real world production scenario. As everything is done to provide the most accurate steps to date, we take no responsibility if you implement any of these steps in a production environment.