Page 1 of 1

starwind tape redirector with windows server 2012 R2

Posted: Tue Apr 29, 2014 12:17 pm
by nada.yousef
I'm trying to configure starwind tape redirector to connect VM's running on Hyper v to tape drive through Iscsi connection, when i installed the SW.
I created the target and connected the tape device to it, but i'm unable to connect through iscsi initiator i got authorization failure, when i remove device from target here i can connect to the taget through initiator.
but at both i cant see any additional device in device manager except tape drive.
note that the authontication is anonymous.

find below the log file.
4/29 14:38:46.467 2ea8 Srv: Accepted iSCSI connection from 100.100.2.52:56778 to 100.100.2.52:33268. (Id = 0x26)
4/29 14:38:46.467 2ea8 C[26], FREE: Event - CONNECTED.
4/29 14:38:46.467 2ea8 C[26], XPT_UP: T3.
4/29 14:38:46.467 2440 C[26], XPT_UP: Login request: ISID 0x400001370000, TSIH 0x0000.
4/29 14:38:46.467 2440 C[26], XPT_UP: Event - LOGIN.
4/29 14:38:46.467 2440 C[26], IN_LOGIN: T4.
4/29 14:38:46.467 2440 Params: <<< String param 'InitiatorName': received 'iqn.1991-05.com.microsoft:hv-3', accepted 'iqn.1991-05.com.microsoft:hv-3'
4/29 14:38:46.467 2440 Params: <<< Enum param 'SessionType': received 'Normal', accepted 'Normal'
4/29 14:38:46.467 2440 Params: <<< String param 'TargetName': received 'iqn.2008-08.com.starwindsoftware:hv-3-tape', accepted 'iqn.2008-08.com.starwindsoftware:hv-3-tape'
4/29 14:38:46.467 2440 Params: <<< Enum param 'AuthMethod': received 'None', accepted 'None'
4/29 14:38:46.467 2440 T[26,1]: *REJECT*: SPTI device '\\?\usbstor#sequential&ven_hp&prod_c5683a&rev_yu8b#48553106014e5547&0#{53f5630b-b6bf-11d0-94f2-00a0c91efb8b}' in target 'iqn.2008-08.com.starwindsoftware:hv-3-tape' can't be accessed from the local machine (100.100.2.52)!
4/29 14:38:46.467 337c C[26], IN_LOGIN: Event - LOGIN_REJECT.
4/29 14:38:46.467 337c C[26], FREE: T7.
4/29 14:38:46.467 2440 C[26], FREE: recvData returned 10058

Re: starwind tape redirector with windows server 2012 R2

Posted: Tue Apr 29, 2014 12:27 pm
by Max (staff)
Hi,
The logs say that the device you're trying to attach can't be accessed on the local computer
SPTI device '\\?\usbstor#sequential&ven_hp&prod_c5683a&rev_yu8b#48553106014e5547&0#{53f5630b-b6bf-11d0-94f2-00a0c91efb8b}' in target 'iqn.2008-08.com.starwindsoftware:hv-3-tape' can't be accessed from the local machine.
Could you please tell me what is the model of the tape device you're using and if it has a persistent "device instance path" (Device Manager->Device Properties->Details)
Also, do you see the tape as a single device in the device manager?

Re: starwind tape redirector with windows server 2012 R2

Posted: Tue Apr 29, 2014 1:08 pm
by nada.yousef
Yes i can see the device as single device in device manager.
the model is HP DDS4 USB (USB Tape Drive).
the persistent path i exist (eUSBSTOR\SEQUENTIAL&VEN_HP&PROD_C5683A&REV_YU8B\48553106014E5547&0)

Re: starwind tape redirector with windows server 2012 R2

Posted: Tue Apr 29, 2014 5:13 pm
by Max (staff)
Could you please tell me if the device is used by any other application other than StarWind.
There should be something preventing StarWind from getting full control over the device.

Re: starwind tape redirector with windows server 2012 R2

Posted: Wed Apr 30, 2014 6:20 am
by nada.yousef
No, Tape Drive is not being in use by any other application.

Re: starwind tape redirector with windows server 2012 R2

Posted: Wed Apr 30, 2014 8:41 am
by nada.yousef
I tried to install the software on another server (2012 R2) and got the same problem i also saw this error in windows event viewer (Login request failed. The login response packet is given in the dump data.) I also double cjecked that i can telnet the ports 33269, 33268, 3260 since the FW is OFF.

Re: starwind tape redirector with windows server 2012 R2

Posted: Mon May 05, 2014 6:26 am
by nada.yousef
Any help,,,,

Re: starwind tape redirector with windows server 2012 R2

Posted: Mon May 05, 2014 2:34 pm
by anton (staff)
According to log both target and initiator run on the same machine (initiator should run on a different machine, physical or virtual). Please confirm what you"re doing as it"s we who reject connect attempt.

Re: starwind tape redirector with windows server 2012 R2

Posted: Mon May 05, 2014 2:37 pm
by anton (staff)
...if you connect from inside a VM make sure you use bridged connection (VM has own IP) as iSCSI would not work over NAT reliably. At least not with us :)

Re: starwind tape redirector with windows server 2012 R2

Posted: Mon May 12, 2014 12:33 pm
by nada.yousef
Solved Thank you, the problem that i was trying to connect to the target from one servers, where another server is connected, so it keeps refuse the connection.
thanks Starwind support team.

Re: starwind tape redirector with windows server 2012 R2

Posted: Mon May 12, 2014 1:16 pm
by anton (staff)
Good you're good. Thank you for updating :)