Array Performance and Data Protection
1748057 Members
5413 Online
108758 Solutions
New Discussion юеВ

Re: SQL 2005 VM on VMFS what cache policy?

 
SOLVED
Go to solution
lindy37
Advisor

SQL 2005 VM on VMFS what cache policy?

I have a Windows 2008 R2 VM, running SQL 2005.  I have the drives split up on VMware....

C\D on its own VMFS volume with ESX caching policy

L (Logs) on its own VMFS volume with SQL Logs caching policy, or no caching.

M (SQL Data) on its own VMFS volume with ESX or SQL Data???

Thanks for any help!

-Chris

2 REPLIES 2
eforgette119
Advisor
Solution

Re: SQL 2005 VM on VMFS what cache policy?

Hi Chris,

Excellent question.  The performance policies you've selected for your SQL logs and SQL data are designed for volumes directly connected to a Windows host.  There is one attribute on both of these policies that makes them less ideal for VMFS Datastores.  This attribute, called "Quota Exceeded Behavior", is set to "Set Offline" in both of these policies.  This setting will cause a thin provisioned volume to go offline in an out of space condition.  ESX will respond to this behavior by going into APD (all paths down) and potentially PDL (permanent device loss).  The performance policy named "VMware ESX 5" has the correct setting, which is "Set to Non-Writeable".  ESX will respond to this behavior by "stunning" (pausing) the VM.  ESX is able to automatically recover from this situation once the low space condition is resolved.

To address this, you might create a new performance policy for both MS SQL and MS SQL Log on VMFS.  You can use the existing policies as models.  The only change would be to the "Quota Exceeded Behavior" attribute, which should be set to "Set to Non-Writeable".  Because the block size and the application category will remain the same, you should be able to change the performance of the volume.

I hope this helps,

-Eric

lindy37
Advisor

Re: SQL 2005 VM on VMFS what cache policy?

Thanks!