Solved

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

Posted on 2008-10-03
3
712 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

NAS Cloud Backup Strategies

This article explains backup scenarios when using network storage. We review the so-called “3-2-1 strategy” and summarize the methods you can use to send NAS data to the cloud

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When we have a dead host and we lose all connections to the ESXi, and we need to find a way to move all VMs from that dead ESXi host.
In this article, I will show you HOW TO: Create your first Windows Virtual Machine on a VMware vSphere Hypervisor 6.5 (ESXi 6.5) Host Server, the Windows OS we will install is Windows Server 2016.
Teach the user how to convert virtaul disk file formats and how to rename virtual machine files on datastores. Open vSphere Web Client: Review VM disk settings: Migrate VM to new datastore with a thick provisioned (lazy zeroed) disk format: Rename a…
This Micro Tutorial will teach you how to reformat your flash drive. Sometimes your flash drive may have issues carrying files so this will completely restore it to manufacturing settings. Make sure to backup all files before reformatting. This w…

929 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

10 Experts available now in Live!

Get 1:1 Help Now