Windows Server 2012 Hyper-V Cluster – Part 2: Hyper-V cluster nodes
With all the prerequisites covered in Part 1 of this series, it’s time to get technical. In this article, I’ll show you how to set up your domain controller, how to set up your Hyper-V cluster nodes, and how to join those nodes to the domain.
|In this articles will be covering on Windows Server 2012 Hyper-V Cluster and series is divided into 4 part as below:-
1) Windows Server 2012 Hyper-V Cluster – Part 1: Requirements
- Step 1: Create a domain controller
- Step 2: Create the first Hyper-V cluster node
- Step 3: Create the second Hyper-V cluster node
Step 1: Create a domain controller
In this step, I’ll create a Windows Server 2012–based Active Directory domain controller for our Hyper-V cluster. Windows-based failover clusters need Active Directory, so it’s a good idea to start with this.
Install Windows Server 2012
- Download the Windows Server 2012 Evaluation software ISO, (evaluation can be downloaded here: http://technet.microsoft.com/en-us/evalcenter/dn205286.aspx) or use the Windows Server 2012 ISO media and product keys provided to you through your TechNet, MSDN, Select, or Open subscription. Burn the ISO file to a DVD or convert the installation media to a bootable USB drive Click Here for USB-DVD Tool.
- To Install and configure Domain Controller, I have create another article in details and you can find here Click Here for Installing and configuring Domain Controller.
Step 2: Create the first Hyper-V cluster node
Now that we have an operational domain controller, it’s time to build the nodes for our Hyper-V failover cluster. Download Hyper-V Server 2012 R2 software ISO, (evaluation can be downloaded here: http://technet.microsoft.com/en-us/evalcenter/dn205286.aspx
Burn the ISO file to a DVD or convert the installation media to a bootable USB drive Click Here for USB-DVD Tool.
Install Hyper-V Server 2012
Perform the following steps to install your Hyper-V Server:
- Just like you did with your domain controller, start the computer designated as your Hyper-V failover cluster node 1 from the installation media.
- On the first screen, select the Language that you want to install, Time and currency format, and Keyboard or input method, and then click Next.
- On the second screen, click Install now. Setup will now start.
- On the License terms screen, select the, I accept the license terms Although Hyper-V Server is free, you are still required to license any software you install on virtual machines. Afterwards, click Next.
- On the Which type of installation do you want?Screen, click Custom: Install the newer version of Hyper-V Server only (advanced).
- On the Where do you want to install Windows? Screen, select the hard drive where you want to install Hyper-V Server 2012. Click Next.
Hyper-V Server Setup will now begin copying files to the hard drive and configuring the operating system. The box will reboot several times.
Configure Hyper-V Server 2012
When installation of Windows Server 2012 is finished, you will be presented with the screen to change the password for the local administrator. At this point, perform the following steps:
- Click OK to change the local administrator password.
- Type the new password twice. Then, click Enter or click the arrow next to the second field.
- Click OK to acknowledge the password has been changed.
You will now be automatically signed in and presented with sconfig.cmd:
- Press8 on your keyboard. Then, select the first network connection and change the IP address settings to values that allow the Hyper-V failover cluster node to be able to communicate with the domain controller and use it as its primary DNS server, by doing the following:
- Press1 to set the network adapter address. Press S on your keyboard to select a static IP address. Enter the dotted IPv4 address and press Enter. Then, enter the Subnet Mask manually or accept the default by pressing Enter. As the last configuration item, enter the default gateway (the nearest router) or blank for none. Conclude with Enter.
- Configure the second network adapter with an IPv4 address. Choose an address in a different network.
- Press2 to set the address (es) of the DNS server(s). Enter the dotted IPv4 address of your domain controller and press Enter. Press OK in the dialog box to acknowledge the preferred DNS server was set. Press Enter to skip configuring a second DNS server address.
- Press4 to return to the main menu.
- Press9 on your keyboard. In the Date and Time Configuration Panel applet (timedate.cpl), configure the correct time and time zone. Make sure the time is no more than 5 minutes apart from your domain controller.
- Press1 on your keyboard. Press D to join an Active Directory domain environment. Enter the DNS name of the previously created Active Directory domain. Press Enter Now, specify an authorized user. Since we’ve only got the built-in Administrator, enter that. In the separate command prompt window, enter the Administrator’s password at the secure prompt.
- Press OK to acknowledge your Hyper-V Server failover cluster node is joined to the domain.
- When asked if you also want to change the computer name, enter a meaningful name for the Hyper-V Server. I named mineHyper-V-2.
Step 3: Create the second Hyper-V cluster node (Windows Server 2012 Standard)
In this I’ll show how to install Hyper-V / Failover Cluster Features on Windows Server 2012 Standard (GUI based).
- Start Server Manager
- Click on Add roles and features
- Select Role-based or feature-based installation
- Select destination Server (Hyper-V-1)
- Select Hyper-V and click Add Features
- Select Failover Clustering and click Add Features
- Installing and Configuring Hyper-V requirement.
- How it will Create Virtual Switches
- It’s for Virtual Machine Migration and but I’ll covered further in the article.
- Default Stores path for storing you Virtual Hard-Disk / Virtual Machine configuration. You can change the path.
- Confirmation of Installation
- It show the Installation progress
- Installation Complete
Install the failover clustering feature
Since Hyper-V Server 2012 is already configured with the Hyper-V Server Role, all that remains is to install the failover cluster feature. Use the following commands:
- Install-Windows Feature Failover-Clustering
In my next post I will cover Shared Storage.