Solved

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

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

Best Practices: Disaster Recovery Testing

Besides backup, any IT division should have a disaster recovery plan. You will find a few tips below relating to the development of such a plan and to what issues one should pay special attention in the course of backup planning.

Question has a verified solution.

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

Suggested Solutions

HOW TO: Upload an ISO image to a VMware datastore for use with VMware vSphere Hypervisor 6.5 (ESXi 6.5) using the vSphere Host Client, and checking its MD5 checksum signature is correct.  It's a good idea to compare checksums, because many installat…
Veeam Backup & Replication has added a new integration – Veeam Backup for Microsoft Office 365.  In this blog, we will discuss how you can benefit from Office 365 email backup with the Veeam’s new product and try to shed some light on the needs and …
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 Micro Tutorial steps you through the configuration steps to configure your ESXi host Management Network settings and test the management network, ensure the host is recognized by the DNS Server, configure a new password, and the troubleshooting…

813 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

17 Experts available now in Live!

Get 1:1 Help Now