StarWind iSCSI SAN
StarWind Native SAN for Hyper-V
 

iscsi targets

Pure software-based VM-centric and flash-friendly VM storage (iSCSI, SMB3, NFS, iSER and NVMe over Fabrics) including free version. Same software embedded on StarWind ready nodes.

Moderators: art (staff), anton (staff), Anatoly (staff), Max (staff)

iscsi targets

Postby andreiT » Wed Mar 27, 2019 11:12 am

Hi gents,

I am using vsan free edition on 2 Win2019 hyper-V.
scripts are very helpful and devices are online and synced.

I am configuring the iscsi initiator as per the documentation provided by StarWind.
1. discovery portal - loopback using microsoft iscsi initiator
1. discovery portal - partner ip - iscsi initiator - local IP (same subnet)

targets are then showing as normal.

I am connecting all targets except the partner witness.

My question is - how should the targets show up in Win Disk Mgmt. I see all the disks, local/partner
What should be like? I must be doing something wrong.

In the documentation it is showing up only 2 disks in diskpart, I get all the disks in standalone mode as far as I can see.

I am an iscsi noob, so I apologize in advance.
andreiT
 
Posts: 3
Joined: Wed Mar 27, 2019 11:01 am

Re: iscsi targets

Postby Boris (staff) » Wed Mar 27, 2019 1:21 pm

If you have 1 disk per server (an HA pair), in the iSCSI initiator you will see 2 targets. If you have two pairs of disks, you will see 4 targets.
In Disk Management, you will see the number of disks available on the current server. But this is true only for cases when Multipath IO support is enabled for iSCSI devices. If this is not done, you will the the double number of disks in Disk Management.
Boris (staff)
Staff
 
Posts: 806
Joined: Fri Jul 28, 2017 8:18 am

Re: iscsi targets

Postby andreiT » Wed Mar 27, 2019 5:56 pm

Hi Boris,

thanks for the reply.

I am following this : https://www.starwindsoftware.com/resour ... erver-2016

Indeed I have the following:

MultiPath enabled
2 servers
2 disks per server
I have created 3 targets per server - CSV1, CSV2 and QUORUM
Indeed I see 6 targets in the iScsi Initiator

I connect all iscsi targets except the loopback witness(quorum) so I have 5 connected targets per server
In disk management I see all 5 disks available

Problem is - what to map? in the scenario described in the link your colleague in diskpart are shown 2 disks, 1 witness and share whereas in my case I get 5 drives instead of 3

Many thanks in advance,

Andrei
andreiT
 
Posts: 3
Joined: Wed Mar 27, 2019 11:01 am

Re: iscsi targets

Postby Boris (staff) » Wed Mar 27, 2019 6:22 pm

Most likely you missed the following command:
Code: Select all
Enable-MSDSMAutomaticClaim –BusType iSCSI

that enables multipath support for iSCSI devices.
If you have 3 targets per server, you will see three disks connected with the above command applied.
Boris (staff)
Staff
 
Posts: 806
Joined: Fri Jul 28, 2017 8:18 am

Re: iscsi targets

Postby andreiT » Wed Mar 27, 2019 8:07 pm

Boris, you rock!

the command solves the additional disks shown in Disk Mgmt

Thank you!
andreiT
 
Posts: 3
Joined: Wed Mar 27, 2019 11:01 am

Re: iscsi targets

Postby Boris (staff) » Wed Mar 27, 2019 8:20 pm

Glad it solved your issue.
Boris (staff)
Staff
 
Posts: 806
Joined: Fri Jul 28, 2017 8:18 am


Return to StarWind Virtual SAN / StarWind Virtual SAN Free / StarWind HyperConverged Appliance / StarWind Storage Appliance

Who is online

Users browsing this forum: No registered users and 5 guests