{"id":12537,"date":"2012-05-15T08:02:00","date_gmt":"2012-05-15T07:02:00","guid":{"rendered":"https:\/\/aidanfinn.com\/?p=12537"},"modified":"2012-05-15T08:02:00","modified_gmt":"2012-05-15T07:02:00","slug":"whats-the-maximum-number-of-hyper-v-vms-you-can-put-in-cluster-shared-volume","status":"publish","type":"post","link":"https:\/\/aidanfinn.com\/?p=12537","title":{"rendered":"What\u2019s The Maximum Number Of Hyper-V VMs You Can Put In Cluster Shared Volume?"},"content":{"rendered":"<p>\u201cWhat\u2019s the rule of thumb on the number of VMs you should put in a CSV?\u201d\u00a0 That\u2019s a question I am asked on a regular basis.\u00a0 We need to dig into this.<\/p>\n<p>When you have a cluster of virtualisation hosts using shared storage systems, you need some sort of orchestration to say which host should access what folders and files.\u00a0 That\u2019s particularly important during Live Migration and failover.\u00a0 Without orchestration you\u2019d have chaos, locks, failed VMs, and corruption.<\/p>\n<p>One virtualisation cluster file system out there does it\u2019s orchestration in the file system itself.\u00a0 That, in <em>theory<\/em>, places limits on how that file system can scale out.<\/p>\n<p>Microsoft took a different option.\u00a0 Instead, each cluster shared volume (CSV) has an orchestrator known as a CSV Coordinator that is automatically created and made fault tolerant.\u00a0 The CSV coordinator is a highly available function that runs on one of the clustered hosts.\u00a0 By not relying on the file system, Microsoft believes they have a more scalable and better performing option.<\/p>\n<p>How scalable?\u00a0 A few years ago, EMC (I believe it was EMC, the owner of VMware, but my memory could be failing me) stood on a stage at a Microsoft conference and proclaimed that they couldn\u2019t find a limit on the scalability of CSV versus performance on their storage platform.\u00a0 In other words, you could have a monstrous CSV and place lots and lots of 64 TB VHDX files on there (GPT volumes grow up to 16 EB).<\/p>\n<p>OK; back to the question at hand: how many VMs should I place on a CSV.\u00a0 I have to give you the consultant\u2019s answer: that depends.\u00a0 The fact is that there is no right answer.\u00a0 This isn\u2019t VMware where there are prescribed limits and you should create lots of lots of \u201clittle\u201d VMFS volumes.<\/p>\n<p>First, I\u2019d say you should read my paper on <a href=\"https:\/\/aidanfinn.com\/?download=CSVandBackup.pdf\" target=\"_blank\">CSV and backup<\/a>.\u00a0 Now keep in mind that the paper was written for Windows Server 2008 R2.\u00a0 Windows Server 2012 doesn\u2019t do redirected I\/O (mode) when backing up VMs from CSV.\u00a0 In that document I talk about a process I put together for CSV design and VM placement.<\/p>\n<p>Next, have a look at Fast Track, Microsoft\u2019s cloud architecture.\u00a0 In there they have a CSV design where OS, page file, sequential files, and non-sequential files are split into VHDs on different CSVs.\u00a0 To me, this complicates things greatly.\u00a0 I prefer simplicity.\u00a0 Plus I can\u2019t imagine the complexity of the deployment automation for this design.<\/p>\n<p>An alternative is to look at a rule of thumb that many are using: they have 1 CSV for every host in their cluster (or active site in a multi-site cluster).\u00a0 Beware here: you don\u2019t want to run out of SCSI-3 reservations (every SAN has an <em>unadvertised <\/em>limit) because you\u2019ve added too many CSVs on your SAN (read the above paper to learn more).<\/p>\n<p>My advice: keep it simple.\u00a0 Don\u2019t overthink things.\u00a0 Remember, Hyper-V is not VMware and VMware is not Hyper-V.\u00a0 They both might be enterprise virtualisation platforms but e do things differently on both platforms because they both work differently.<\/p>\n<div id=\"scid:0767317B-992E-4b12-91E0-4F059A8CECA8:9a0c5ee0-f727-455f-817d-956012d790d5\" class=\"wlWriterEditableSmartContent\" style=\"margin: 0px; display: inline; float: none; padding: 0px;\">Technorati Tags: <a rel=\"tag\" href=\"http:\/\/technorati.com\/tags\/Hyper-V\">Hyper-V<\/a>,<a rel=\"tag\" href=\"http:\/\/technorati.com\/tags\/Virtualisation\">Virtualisation<\/a>,<a rel=\"tag\" href=\"http:\/\/technorati.com\/tags\/Failover+Clustering\">Failover Clustering<\/a>,<a rel=\"tag\" href=\"http:\/\/technorati.com\/tags\/Storage\">Storage<\/a><\/div>\n","protected":false},"excerpt":{"rendered":"<p>\u201cWhat\u2019s the rule of thumb on the number of VMs you should put in a CSV?\u201d\u00a0 That\u2019s a question I am asked on a regular basis.\u00a0 We need to dig into this. When you have a cluster of virtualisation hosts using shared storage systems, you need some sort of orchestration to say which host should &hellip; <a href=\"https:\/\/aidanfinn.com\/?p=12537\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;What\u2019s The Maximum Number Of Hyper-V VMs You Can Put In Cluster Shared Volume?&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"om_disable_all_campaigns":false,"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"_uf_show_specific_survey":0,"_uf_disable_surveys":false,"footnotes":""},"categories":[20],"tags":[63,181,99,195],"class_list":["post-12537","post","type-post","status-publish","format-standard","hentry","category-hyper-v","tag-failover-clustering","tag-hyper-v","tag-storage","tag-virtualisation"],"aioseo_notices":[],"jetpack_featured_media_url":"","amp_enabled":true,"_links":{"self":[{"href":"https:\/\/aidanfinn.com\/index.php?rest_route=\/wp\/v2\/posts\/12537","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/aidanfinn.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/aidanfinn.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/aidanfinn.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/aidanfinn.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=12537"}],"version-history":[{"count":0,"href":"https:\/\/aidanfinn.com\/index.php?rest_route=\/wp\/v2\/posts\/12537\/revisions"}],"wp:attachment":[{"href":"https:\/\/aidanfinn.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=12537"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/aidanfinn.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=12537"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/aidanfinn.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=12537"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}