Enabling iSER in Starwind VSAN Free

Software-based VM-centric and flash-friendly VM storage + free version

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

Post Reply
MikeHam77
Posts: 6
Joined: Tue Jun 18, 2019 6:38 pm

Tue Jun 18, 2019 6:49 pm

Hi,

how can I enable iSer in Starwind VSAN Free? I have Mellanox Connectx-4 card and
when Im adding IP addresses to StarWind.cfg ( <iSerListen value=""/> ) and restart StarWind Virtual SAN service, nothing happens.
iSER remains disabled and iSerListen value goes back to default setting.
What I'm doing wrong?
Boris (staff)
Staff
Posts: 805
Joined: Fri Jul 28, 2017 8:18 am

Wed Jun 19, 2019 1:22 am

Make sure you install the proper drivers from http://www.mellanox.com/page/products_d ... section=34 for iSER to be able to operate.
MikeHam77
Posts: 6
Joined: Tue Jun 18, 2019 6:38 pm

Wed Jun 19, 2019 3:36 am

Thanks for reply, I installed WinOF-2 drivers and the card itself is working ok in Windows.
Get-NetAdapterRdma also shows that RDMA is enabled for both interfaces.

My configuration for Mellanox on node#1 looks like this:

1. interface (iSCSI Data) = 10.10.100.51
2. interface (iSCSI Sync) = 10.10.101.51

StarWind.cfg:
<iSerListen value="10.10.100.51,10.10.101.51"/>

Any ideas what to try next?
Boris (staff)
Staff
Posts: 805
Joined: Fri Jul 28, 2017 8:18 am

Mon Jun 24, 2019 9:49 am

What does your StarWind Management Console report regarding iSER support?
To check that, select your server in the left pane, and in the right pane go to Configuration - Network.
MikeHam77
Posts: 6
Joined: Tue Jun 18, 2019 6:38 pm

Tue Jun 25, 2019 4:04 pm

It says "Disabled" for Mellanox ports.
MikeHam77
Posts: 6
Joined: Tue Jun 18, 2019 6:38 pm

Wed Jun 26, 2019 10:32 am

I searched log files and found this error when tried to enable iSER on my first node (10.10.101.51):
ConnectPortal: Remote peer (10.10.101.52:3260) does not listen for iSER-assisted connections.

So my second node should already be listening iSER before activating the first one.
How is it even possible to do that :)
Do I need to shutdown whole server, edit starwind.cfg and start services at the same time on both nodes?
Boris (staff)
Staff
Posts: 805
Joined: Fri Jul 28, 2017 8:18 am

Wed Jun 26, 2019 1:38 pm

Make sure you have introduced the proper changes into the StarWind.cfg configuration file and restarted both StarWind services one by one making sure the devices have enough time to get synchronized between the service restarts.
MikeHam77
Posts: 6
Joined: Tue Jun 18, 2019 6:38 pm

Wed Jun 26, 2019 3:11 pm

OK, I tried the following but no luck:

1. added my Mellanox IPs to StarWind.cfg:
Node1 = <iSerListen value="10.10.100.51,10.10.101.51"/>
Node2 = <iSerListen value="10.10.100.52,10.10.101.52"/>

2. Restarted "StarWind Virtual SAN" service from node1 and waited that nodes were syncronized.
Restarted "StarWind Virtual SAN" service from node2 and waited that nodes were syncronized.

3. Checked iSER status from Management Console, but it was still Disabled on both nodes
and also my changes to StarWind.cfg was gone and returned to default setting -> <iSerListen value=""/>

Are these settings in correct syntax, you set IP addresses here what iSER should listen?
Node1 = <iSerListen value="10.10.100.51,10.10.101.51"/>
Node2 = <iSerListen value="10.10.100.52,10.10.101.52"/>

When iSER settings are changed from GUI, is that the only setting it changes?
Boris (staff)
Staff
Posts: 805
Joined: Fri Jul 28, 2017 8:18 am

Wed Jun 26, 2019 3:53 pm

Changes need to be done in the config file when the StarWind service is stopped. If the service is running, all changes will be discarded when the service stops.
MikeHam77
Posts: 6
Joined: Tue Jun 18, 2019 6:38 pm

Wed Jun 26, 2019 5:39 pm

Ah, of course :) Now I got iSER working and everything looks good.
Thank you very much for your help!
Boris (staff)
Staff
Posts: 805
Joined: Fri Jul 28, 2017 8:18 am

Wed Jun 26, 2019 6:37 pm

Great it worked for you finally.
Post Reply