Plan du site  
pixel
pixel

Articles - Étudiants SUPINFO

Build iSCSI a SAN using server 2012 R2 virtual machines. (Part1)

Par Sara ZRIOUIL Publié le 11/06/2019 à 18:16:59 Noter cet article:
(0 votes)
En attente de relecture par le comité de lecture

Introduction

In this course we will be building a SAN using virtual machines. So, we will be using Windows server 2012 R2 as the operation System, Heartbeat to manage the clusters and failover, and iSCSI to export the drive.

Before we start you need to understand what iSCSI and heartbeat means:

What is iSCI:

iSCSI is a network transport that wraps SCSI commands, enabling a ‘node’ to mount a drive, as if the drive were a local drive. iSCSI provides a reliable method for reading/writing data to a drive that is on a completely separate server and could be on a separate network.

What is Heartbeat:

Heartbeat is a linux-based software for clustering, it ensures the high availability of servers including the failover process which is fault tolerance. That is to say that when an active server becomes faulty, Heartbeat detects it and takes care of a switchover on the second server and this in a transparent way for a user because a virtual ip balanced between the two servers is set up.

So, before anything else we need to talk about the configurations of our three VMs:

domain controller:

First of all, you need to know what a domain controller is.

A domain controller is a server that responds to authentication requests and verifies users on computer networks. Domains are a hierarchical way of organizing users and computers that work together on the same network. The domain controller keeps all of that data organized and secured.

The domain controller (DC) is the box that holds the keys to the kingdom- Active Directory (AD). While attackers have all sorts of tricks to gain elevated access on networks, including attacking the DC itself, you can not only protect your DCs from attackers but actually use DCs to detect cyberattacks in progress.

Prerequisites

To start this course, you need to prepare three servers 2012 R2 virtual machines. we will use one as the domain controller, and the other two as the clusters or nodes.

Installation et configuration

First, we have created a domain controller.

You can configure your domain controller as you want. But in this course, we have our own configurations which are:

The host name is: windows server 2012.

The operation system is: Windows server 2012 R2.

The IP Address for this machine is: 192.168.64.147

And finally, the domain is: supinfo.lan

On the other hand, we have two virtual machines. Those two machines will be our nodes or you can call them clusters.

The first virtual machine (Cluster Node 1):

The host name is: node1.

The operation system is: Windows server 2012 R2.

The IP Address for this machine is: 192.168.64.146

And finally, the domain is: supinfo.lan

The second virtual machine (Cluster Node 2):

The host name is: node2.

The operation system is: Windows server 2012 R2.

The IP Address for this machine is: 192.168.64.145

And finally, the domain is: supinfo.lan

Like the picture bellow.

On the Domain Controller

We will start with the domain controller side: What u have to do first is to install the active directory For me I already installed Active directory and I also made the other basic configurations like the IP address and creating the domain (as you can in the two pictures below).

this is how the dashboard will look like.

this is how the local server will look like.

On the Clusters Nodes:

Moving to the other side we have two clusters ( nodes ):

On the first cluster ( node 1 ) :

First step:

you have to configure the domain as: “supinfo.lan”

second step:

then you need to create four Ethernets and give them fixed IP addresses.

Third step:

You need to install Hyper V ( as shown in the picture bellow ).

Forth step:

You have to install the iSCSI Target Server ( as shown in the picture bellow ) and to be sure that everything went well you need to restart the node and then check.

After restarting the system. now we can create the NIC Teaming on both nodes:

Fifth step:

create the NIC, for the two clusters nodes: click on ‘ NIC Teaming ’ then = > ‘ New team ‘ and then = > you need to add the four Ethernets then click on OK.

Once you finish all the steps above, we need to open Windows PowerShell ISE on admin mode and execute the code bellow:

PS: There is a part 2 to this course.

A propos de SUPINFO | Contacts & adresses | Enseigner à SUPINFO | Presse | Conditions d'utilisation & Copyright | Respect de la vie privée | Investir
Logo de la société Cisco, partenaire pédagogique de SUPINFO, la Grande École de l'informatique, du numérique et du management Logo de la société IBM, partenaire pédagogique de SUPINFO, la Grande École de l'informatique, du numérique et du management Logo de la société Sun-Oracle, partenaire pédagogique de SUPINFO, la Grande École de l'informatique, du numérique et du management Logo de la société Apple, partenaire pédagogique de SUPINFO, la Grande École de l'informatique, du numérique et du management Logo de la société Sybase, partenaire pédagogique de SUPINFO, la Grande École de l'informatique, du numérique et du management Logo de la société Novell, partenaire pédagogique de SUPINFO, la Grande École de l'informatique, du numérique et du management Logo de la société Intel, partenaire pédagogique de SUPINFO, la Grande École de l'informatique, du numérique et du management Logo de la société Accenture, partenaire pédagogique de SUPINFO, la Grande École de l'informatique, du numérique et du management Logo de la société SAP, partenaire pédagogique de SUPINFO, la Grande École de l'informatique, du numérique et du management Logo de la société Prometric, partenaire pédagogique de SUPINFO, la Grande École de l'informatique, du numérique et du management Logo de la société Toeic, partenaire pédagogique de SUPINFO, la Grande École de l'informatique, du numérique et du management Logo du IT Academy Program par Microsoft, partenaire pédagogique de SUPINFO, la Grande École de l'informatique, du numérique et du management

SUPINFO International University
Ecole d'Informatique - IT School
École Supérieure d'Informatique de Paris, leader en France
La Grande Ecole de l'informatique, du numérique et du management
Fondée en 1965, reconnue par l'État. Titre Bac+5 certifié au niveau I.
SUPINFO International University is globally operated by EDUCINVEST Belgium - Avenue Louise, 534 - 1050 Brussels