Friday, 1 November 2013

Windows Server 2012 Two Node Configure for Virtual Machine for Test

To start with, we need 3 windows server 2012 virtual machines. Out of 3, one will be used as an iSCSI target (details on iSCSI target) and other two will be part of the two node windows cluster.

First Step:Configure iSCSI target:

Pre-requisite

  • Created Virtual Machine with Windows Server 2012 OS
  • Joined to my test lab domain
  • Added extra virtual hard disk (100 GB) to this machine which I will use as shared storage
Istall the iSCSI target server feature:


Add roles and features Wizard > file server role > and iSCSI service and storage service

Select the iSCSI target server, and then click Add features




  • Restart the virtual machine to complete the feature installation.
 Start iSCSI Initiator on the two Cluster nodes
  • Server Manager -> Tools -> Click on the iSCSI Initiator
  • Click on yes to start the iSCSI service and then click on OK on iSCSI Initiator property window


Configurer iSCSI target server 
server manager -> file and storage services -> iSCSI


Click on “To Create an iSCSI virtual disk, start the new iSCSI virtual Disk Wizard”.
This disk will be used as a shared disk on the two cluster nodes.

Select the storage location and click Next


Provide the name for this iSCSI virtual disk
Specify iSCSI virtual disk size


Provide the suitable name for iSCSI target, I’m using server name as iSCSI target name.

Add the servers who can access this iSCSI storage.


Click Next on Enable Authentication
Click create on Confirmation tab and on successful completion, you will see below screen

Configure iSCSI initiator on both nodes

Server Manager -> Tools -> iSCSI initiator
Type the target server name and click on Quick Connect




Configure the Disks on the iSCSI initiators i.e. Cluster Nodes

Server Manager -> Computer Management -> Disk Management
Select the disk and make it online and then initialize it.

Creating a simple volume
In addition on the other node, bring the disk online
This disk will now be visible on both nodes
Installing Windows Clustering

On both nodes from the server administrator to add role-> and-> features, install the failover cluster feature
Log on to the node and open the fail over cluster manager (Server Administrator tool->)
Click Validate configuration
Added the names of two nodes and run validation tests.

After validation tests are successful, click on finish to create the cluster


Provide the sritable name for your cluster.


0 comments:

Post a Comment