Hi All,<\/p>\n
I have a question regarding Clustered Shared Volumes.<\/p>\n
I created a new cluster and have been testing failovers with test hyper-v virtual machines to make sure they function properly. I have used the process where creating the hyper V disk with a drive letter, set it up on the Cluster, create the virtual machine, then move it with Quick and Live Migrations to see if the failover works. I have tried without using Cluster Shared Volumes and with it.<\/p>\n
We have a 2 node failover cluster – Server 1 and Server 2 with a Hyper-V virtual machine on it. Typically, from what I have been told where I work, when a failover happens, the role of the hyper-V moves from Server 1 to Server 2 or vice versa and the disk moves with the role. For Example:<\/p>\n
Failover from Server 1 to Server 2<\/p>\n
Role and Disk – Server 1 → Server 2<\/p>\n
Failback from Server 2 back to Server 1<\/p>\n
Role and Disk – Server 2 → Server 1<\/p>\n
Using Cluster Shared Volumes, the disk does not follow the role ( and vice versa) when it fails over. For Example:<\/p>\n
Failover from Server 1 to Server 2<\/p>\n
Role – Server 1 → Server 2<\/p>\n
Disk – Stays with Server 1<\/p>\n
Failback from Server 2 back to Server 1<\/p>\n
Role – Server 2 → Server 1<\/p>\n
Disk – Still on Server 1<\/p>\n
I can also failover the disk from Server 1 to Server 2 and the Role does not failover with the disk.<\/p>\n
If I shut Server 1 down and either the Role or the Disk or Both are on Server 1, they failover to Server 2, so it is functioning the way I would expect it to.<\/p>\n
It is also interesting to note that I can have duplicate Disk Numbers in the Failover Cluster Manager as long as the disks are owned by different nodes.<\/p>\n
I wanted to get some opinions from others who have more experience with Clustered Shared Volumes than I do and let me know if what I’m seeing is what is supposed to happen with the Roles and Disks<\/p>","upvoteCount":2,"answerCount":3,"datePublished":"2018-08-29T15:16:02.000Z","author":{"@type":"Person","name":"jay-garrick","url":"https://community.spiceworks.com/u/jay-garrick"},"acceptedAnswer":{"@type":"Answer","text":"
With CSV, the owner of the disk and owner of the VM is independent, which is pretty nice. They also don’t consume any drive letters, which is also nice.<\/p>\n
You can have a reasonable number of VMs on s single CSV. I like to keep my CSV at less than 2 TB each. I wouldn’t put 100 high IO VMs on a CSV. No issue with 20 light IO ones, as long as CSV size isn’t too large.<\/p>\n
The behavior you are seeing is correct.<\/p>\n
I like to rename my CSV, so instead of c:\\ClusterStorage\\Volume 1, I rename it to match my SAN volume name, like C:\\ClusterStorage\\VMs1. It can be done via standard directory rename via Windows Explorer or command prompt from the host that owns the disk.<\/p>\n
Congratulations on moving to CSV. You’ve now catching up to 2009! <\/p>","upvoteCount":2,"datePublished":"2018-08-29T15:41:37.000Z","url":"https://community.spiceworks.com/t/help-with-clustered-shared-volumes/670445/2","author":{"@type":"Person","name":"kevinhsieh","url":"https://community.spiceworks.com/u/kevinhsieh"}},"suggestedAnswer":[{"@type":"Answer","text":"
Hi All,<\/p>\n
I have a question regarding Clustered Shared Volumes.<\/p>\n
I created a new cluster and have been testing failovers with test hyper-v virtual machines to make sure they function properly. I have used the process where creating the hyper V disk with a drive letter, set it up on the Cluster, create the virtual machine, then move it with Quick and Live Migrations to see if the failover works. I have tried without using Cluster Shared Volumes and with it.<\/p>\n
We have a 2 node failover cluster – Server 1 and Server 2 with a Hyper-V virtual machine on it. Typically, from what I have been told where I work, when a failover happens, the role of the hyper-V moves from Server 1 to Server 2 or vice versa and the disk moves with the role. For Example:<\/p>\n
Failover from Server 1 to Server 2<\/p>\n
Role and Disk – Server 1 → Server 2<\/p>\n
Failback from Server 2 back to Server 1<\/p>\n
Role and Disk – Server 2 → Server 1<\/p>\n
Using Cluster Shared Volumes, the disk does not follow the role ( and vice versa) when it fails over. For Example:<\/p>\n
Failover from Server 1 to Server 2<\/p>\n
Role – Server 1 → Server 2<\/p>\n
Disk – Stays with Server 1<\/p>\n
Failback from Server 2 back to Server 1<\/p>\n
Role – Server 2 → Server 1<\/p>\n
Disk – Still on Server 1<\/p>\n
I can also failover the disk from Server 1 to Server 2 and the Role does not failover with the disk.<\/p>\n
If I shut Server 1 down and either the Role or the Disk or Both are on Server 1, they failover to Server 2, so it is functioning the way I would expect it to.<\/p>\n
It is also interesting to note that I can have duplicate Disk Numbers in the Failover Cluster Manager as long as the disks are owned by different nodes.<\/p>\n
I wanted to get some opinions from others who have more experience with Clustered Shared Volumes than I do and let me know if what I’m seeing is what is supposed to happen with the Roles and Disks<\/p>","upvoteCount":2,"datePublished":"2018-08-29T15:16:02.000Z","url":"https://community.spiceworks.com/t/help-with-clustered-shared-volumes/670445/1","author":{"@type":"Person","name":"jay-garrick","url":"https://community.spiceworks.com/u/jay-garrick"}},{"@type":"Answer","text":"
I agree. We have a 3 node Hyper-V cluster and have 2 CSVs attached. We have about 40 VMs running. We also as a rule keep our CSV limit at the 2TB mark.<\/p>\n
I have no issues moving a CSV from one host to another, live migrating a VM from one host to another and I have even live migrated quite a few VMs from one CSV to the other. Other than a very slight pause the VMs continue to run and nobody notices anything.<\/p>\n
Cluster shared volumes are the way to go for Hyper-V clusters. It just makes life easier.<\/p>","upvoteCount":0,"datePublished":"2018-08-31T10:52:29.000Z","url":"https://community.spiceworks.com/t/help-with-clustered-shared-volumes/670445/3","author":{"@type":"Person","name":"bruceforbes7564","url":"https://community.spiceworks.com/u/bruceforbes7564"}}]}}