Solved

Best practice, or least administration, to setup SAN for hosting VMs (non bootfroSAN). How many Luns, etc.?

Posted on 2008-10-03
3
706 Views
Last Modified: 2013-11-14
HI,

I'm firing up a PROD farm using an LSI array with Brocade FC fabric. VMware, both their engineers and documentation, evade from answering what is a typical setup for supporting 4 hosts (vMotion) and approximately 100 VMs. I don't want to hold anyone's feet to the fire, I just need to know what is typical and the easiest to support. My last position, I supported two SAN environments with three hosts each (no vMotion) and they dedicated a single LUN at 220% (iSCSI Netapps) per VM for snapshots. If VMware has a 128-LUN limitiation, this could pose an issue in fairly short order.

Is 4 LUNs OK? 8? How would I (you) label them and categorize them?

Thanks much,

Carl
0
Comment
Question by:minnefornian
3 Comments
 
LVL 42

Accepted Solution

by:
paulsolov earned 500 total points
ID: 22639410
Here's what I try to follow, this may or may not work for you depending on what type of VMs you are running.  Below are some notes I follow, it may help out

1.  I try to keep the LUNS 300-500GB in size to keep them managable.
2.  Add 500MB to LUN creation overhead, add 5% to each ntfs for vmdk overhead, add memory of each virtual machine for swap file and about 10GB for snapshots
3.  I try to balance low I/O and medium I/O machines a LUN and try to keep the same OS on each LUN so that we can have single insance memory page sharing which can cutdown paging by 20%
4.  Large virtual machines I keep on their own LUNs, usually over 250GB since the VMFS lun needs to be a different block size
5.  You can setup LUNs per VM function, subnet, vlan, etc.. this personal preference
6.  Setup a LUN for ISOs and templates, it will make is easy to keep track of them

Just a few notes from recent projects, there are many ways of doing this.



0
 
LVL 8

Expert Comment

by:markzz
ID: 22645116
By your comment of a 128 Lun limitation being an issue I can assume you are considering putting each Guest session into it's own unique LUN. I would not do this as your LUN administration would be a horrible task.
VMWare previously recommended an optimal LUN size of 256GB. I don't know if this recommendation has increased but I have luns upto 1TB. This is not an issue at all if your SAN is capable.
I would suggest that standard LUN size of 512GB is very acceptable and flexible. If you using Netapp you do need to keep your snapshot reserve in mind when creating your volumes but what percentage you leave is up to your unique requirements.
Also we ensure each LUN never has less than 50GB or about 10% of available space or you may run the LUN of of space during VCB's or snapshots.
ESX 3.5 update 2 now supports live cloning so long term snapshots are less of a concern.
You mentioned your running over a FC environment, therefore it must be 2Gb or better. Due to the large cluster side of the VMFS your IO is surprisingly low for the workload.
My final word on this would be, Look at your guests, if they have disks which are close to 250GB then use a 512GB LUN if not use a 256GB LUN size.
0
 

Author Closing Comment

by:minnefornian
ID: 31502784
nicely done. Thanks. I went ahead with my config but this supports all of my choices. Good format, easy to read.
0

Featured Post

Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Suggested Solutions

It Is not possible to enable LLDP in vSwitch(at least is not supported by VMware), so in this article we will enable this, and also go trough how to enabled CDP and how to get this information in vSwitches and also in vDS.
David Varnum recently wrote up his impressions of PRTG, based on a presentation by my colleague Christian at Tech Field Day at VMworld in Barcelona. Thanks David, for your detailed and honest evaluation!
Teach the user how to rename, unmount, delete and upgrade VMFS datastores. Open vSphere Web Client: Rename VMFS and NFS datastores: Upgrade VMFS-3 volume to VMFS-5: Unmount VMFS datastore: Delete a VMFS datastore:
This video teaches viewers how to encrypt an external drive that requires a password to read and edit the drive. All tasks are done in Disk Utility. Plug in the external drive you wish to encrypt: Make sure all previous data on the drive has been …

747 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now