Hyper-V clustering

Hi Experts,

I have one host that I installed HYPER V and it is running in the production and it has 2 Virtual servers already running on it. I am asked to add a 2nd Host of similar model and have both of these to run a cluster. I already created the 2nd HOST and Installed Hyper-v 2012 R2. I want to achieve the following

1. Add both of these hosts in a cluster --> I don't know what do I need to do and I need clarification
2. I have a volume E that is empty and Host 1 can see it as E volume but the 2nd host will need to also access this volume. How can I do it?
3.Any tips that can help me in the cluster environment that you may suggest?
LVL 5
SR ZakNetwork Solutions Asked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

RantCanSr. Systems AdministratorCommented:
I have always used shared storage, but here is a walkthrough to do it WITHOUT shared storage.

https://redmondmag.com/articles/2014/07/14/windows-server-failover-cluster.aspx
Philip ElderTechnical Architect - HA/Compute/StorageCommented:
Local Storage cannot be used without a third party product like StarWind at this time.

Here's the smallest cluster configuration we can build today for Hyper-V with a shared JBOD (blog post with pics).

The alternative is a NAS with LUNs set up to connect to each host via iSCSI.
SR ZakNetwork Solutions Author Commented:
I understand the part that I have to add the failover cluster role in the 2 hyper-v nodes. I am good with that.

Now I created a 10 TB of volume in my SAN and One hyper - v node can see the volume as drive E and I want the 2nd hyper-v node to see the same volume as E also. Is this done via disk management ? in my case do I need shared storage ?

Please clarify?
Making Bulk Changes to Active Directory

Watch this video to see how easy it is to make mass changes to Active Directory from an external text file without using complicated scripts.

Anand PandyaCommented:
Hi,

In case of shared storage, you only need to initialize once in any of the server.
Since it is shared storage, if you are able to see E: Drive drive on one server, same amount of space may be available on the other server, it may be that it has no drive letter assigned to it. But in explorer you will be able to see it
Mohammed KhawajaManager - Infrastructure:  Information TechnologyCommented:
Did you change your provisioning/zone to ensure both hosts can access the LUN.
RantCanSr. Systems AdministratorCommented:
Enable iSCSI initiator on each host and ensure that the LUN is configured to accept connections from both hosts. You might also consider segmenting your network into VLANs, or if you already have VLANs, creating one just for storage. I would not recommend introducing iSCSI into a single collision domain.
Philip ElderTechnical Architect - HA/Compute/StorageCommented:
Once the LUNs, all with identical LUN tags by the way, are hooked into each node then format NTFS, assign a drive letter, then set to OFFLINE on Node 1. Do this for all LUNs.

Once done, open Drive Management on Node 2 and Rescan Disks. IGNORE any "Initialize Disk" prompts on Node 2. Set to OFFLINE.

Once the above is complete run the Cluster Validation Wizard to verify the setup.

In Failover Cluster Management you should see the new LUNs in the Storage node. If not, run the Add Storage wizard. Once that is done and they are showing right click on each and add to Cluster Shared Volumes.

We create two dedicated LUNs:
 0: Quorum at 1.5GB (Do NOT add to CSV)
 1: Configuration Files (Sum of RAM across all nodes - RAM on 1 node + 150GB) (add to CSV)

We then set Hyper-V to put all configuration files in C:\ClusterStorage\Volume1 (assuming that's LUN 1)

VHDX files would go into the other LUNs.

EDIT: Tweaked things a bit. Fingers were faster than brain. Configuration files should be sum RAM - 1 RAM on 1 node. Added the OFFLINE step on node 2.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
SR ZakNetwork Solutions Author Commented:
Ok gents,

Since my the storage was added in 1st host from before I did not have to add the storage to the 2nd host. I went ahead and ran the failover cluster steps and it made the volume that existed in one host as the shared cluster. Simple as it is I did not had to do anything else.
Philip ElderTechnical Architect - HA/Compute/StorageCommented:
Right click on the CSV and move ownership to the other node. Then move it back. If both directions work successfully then failover should work as expected.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Windows Server 2008

From novice to tech pro — start learning today.