In my previous post I've talked about how to use base images to quickly deploy new servers in my Hyper-V environment. In this post we will configure the shared storage based on the microsoft iSCSI target software, in a real life environment you could use either a Windows Storage Server or another iSCSI or FC based storage environment.
Before actually digging into the failover clustering installation I want to briefly explain what I have setup so far to be able to build a cluster in the first place.
First I have created a Domain Controller and installed the iSCSI target software to be able to emulate a shared storage environment. I've created two disks one which is 100MB in size and will be used as a witness disk (used to be called Quorum disk) and I have a second disk which is is 1GB of size and will be used as a data disk.
Secondly I have installed two Server Core machines and added the to the domain (read Configuring Windows Server 2008 Server Core or use the Coreconfigurator tool). Make sure your Server core machines have at least two network cards, one for the normal traffic and one for the cluster heartbeat. After having configured all basic things we are now ready to start with the installation and configuration of the clustering software.
Let's do this step by step:
Step 1: Install the Failover Cluster role
Make sure you do this on both Server Core machines
Step 2: Configure and Start the iSCSI initiator service
Again perform this on both machines. Now the Microsoft iSCSI initiator service is configured and will start up during boot time.
Step 3: Connecting the Server Core boxes to the iSCSI storage box
Here are all steps you should take on both Server Core boxes to connect to the storage.
At this stage you have assigned both disks to the server core machines the next step will be to configure the disks
Step 4: Configuring the clustered disks
By being GUI less you need to do this onto the command line.
First list the disks in your boxes by using the diskpart commandline tool:
list disk (this will return the disks available in your system in my case I had disk 0, 1 and 2 with 0 being my OS disk and the other two the disks for my cluster)
select disk 1 attribute disk clear readonly online disk create part primary select part 1 assign letter=Q select disk 2 attribute disk clear readonly online disk create part primary select part 1 assign letter=S
Format each disk by typing format x: /q where X is your drive letter and don't provide any label name.
The servers are now completely configured to form a Windows Failover Cluster, this process will be explained in Part III of this post.
PingBack from http://msft.starsports.info/msft/building-a-failover-cluster-with-server-core-part-2/
Lately it's been very quiet on my blog. There are a couple of things to that. First and foremost there
Last time I took a look at Hyper-V Server 2008 R2 Beta, I shared the surprise of having Failover Clustering
Here is a free version of iSCSI Target, named iStorage Server:
It is powerful and beautiful
Why does all the tutorials show command line on iSCSI.. You can type iscsicpl and the gui iscsi interface will come up. This is on 2008R2 core..
You can use not only command line but PowerShell scripts. Of course if your target and initiator do support them (Microsoft and StarWind ones do for sure).