Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

Connection failed with iSCSI on Hyper-V Server

Posted on 2014-10-28
4
458 Views
Last Modified: 2014-11-02
I have a Windows 2012 Storage Server with multiple iSCSI targets defined.  I have three other servers, each connecting to one target.  One of the server is a Hyper V 2012 R2 Core Server.

The Hyper-V Server has its VMs on the iSCSI Drive.  The problem is, I reinstalled the Hyper V operating system today due to a disk failure, and the new installation is unable to connect to the iSCSI Drive.  Each time I try to Discover the iSCSI Targets I receive a Connection Failed error.  I receive the same when I try to enter the SNS server address.

There is obviously no problem with the Storage server as it worked before, and still works for the other two servers.  So I expect the problem to be on the Hyper-V server.  

I have set the iSCSI service to Automatic, and confirmed it is running.  I have enabled iSCSI in the Windows Firewall.  

I can ping in both directions, using DNS name and IP address, so the network addressing is okay.  I do not remember having to do anything other than that the first time I set it up to get iSCSI running.

I have confirmed the settings of the target to confirm the initiator settings are correct based on iqn and IP address.

I have also, just on the off chance, restarted both server.

So now I am at a loss.  I am hoping someone can tell me what step or setting I have missed.
0
Comment
Question by:townsma
  • 3
4 Comments
 
LVL 42

Expert Comment

by:kevinhsieh
ID: 40409904
Try to change the ACL on the volume so that either any initiator can connect, or limit to just the iSCSI initiator name. It's possible that you are requiring chap authentication or that the Hyper-V host is trying to connect from another IP that isn't allowed.
0
 
LVL 6

Author Comment

by:townsma
ID: 40409907
I presume you mean on the target, not the volume?

I tried to limit it by the iqn only, No difference.

As we use this on a private development LAN we do not use any form of chap authentication.
0
 
LVL 6

Accepted Solution

by:
townsma earned 0 total points
ID: 40409928
I have resolved the problem.  

The iSNS ports were not opened on the Hyper-V server.  It is not mentioned in any of my internet searches.  I found is in the iSCSI User Guide for WIn Server 2008 Core.

Also, I changed the iSCSI target ACL for just the IP address, not using the iqn.

Now it works and is connected correctly.
0
 
LVL 6

Author Closing Comment

by:townsma
ID: 40417997
I have provided the solution.
0

Featured Post

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Last article we focus in how to VMware: How to create and use VMs TAGs – Part 1 so before follow this article and perform the next tasks, you should read the first article how to create the TAG before using them in Veeam Backup Jobs.
In this article, I am going to show you how to simulate a multi-site Lab environment on a single Hyper-V host. I use this method successfully in my own lab to simulate three fully routed global AD Sites on a Windows 10 Hyper-V host.
In this Micro Tutorial viewers will learn how to use Windows Server Backup to create full image of their system. Tutorial shows how to install Windows Server Backup Feature on Windows 2012R2 and how to configure scheduled Bare Metal Recovery backup.…
In this Micro Tutorial viewers will learn how to use Boot Corrector from Paragon Rescue Kit Free to identify and fix the boot problems of Windows 7/8/2012R2 etc. As an example is used Windows 2012R2 which lost its active partition flag (often happen…

838 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question