New HA targets is using MS ISCSI Initiator

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

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

User avatar
lohelle
Posts: 144
Joined: Sun Aug 28, 2011 2:04 pm

Fri Feb 17, 2012 5:48 pm

All new (and existing) HA-targets is using MS ISCSI Initiator (v 5.8)
How do I force using the "new" sync method?
When restarting a node it takes several minutes to build all the sync-channel sessions.

On the primary node the ISCSI Initiator service is not even running, on node 2 I get one target (with 3 or 5 sessions) for every Starwind target.

I can bring down one of the targets, but I would prefer not to have to do a full sync.

Starwind 5.8.1889, Windows Server 2008 R2
User avatar
anton (staff)
Site Admin
Posts: 4021
Joined: Fri Jun 18, 2004 12:03 am
Location: British Virgin Islands
Contact:

Fri Feb 17, 2012 9:25 pm

It's internal method we use. It's not dependant on what type of initiator you use to connect to target itself. What selected now in target properties?
lohelle wrote:All new (and existing) HA-targets is using MS ISCSI Initiator (v 5.8)
How do I force using the "new" sync method?
When restarting a node it takes several minutes to build all the sync-channel sessions.

On the primary node the ISCSI Initiator service is not even running, on node 2 I get one target (with 3 or 5 sessions) for every Starwind target.

I can bring down one of the targets, but I would prefer not to have to do a full sync.

Starwind 5.8.1889, Windows Server 2008 R2
Regards,
Anton Kolomyeytsev

Chief Technology Officer & Chief Architect, StarWind Software

Image
User avatar
lohelle
Posts: 144
Joined: Sun Aug 28, 2011 2:04 pm

Fri Feb 17, 2012 10:52 pm

I stopped node 2, stopped and disabled MS ISCSI Initiator and started Starwind.
No sync!

Node 1 made the connections to Node 2, but no connections from Node 2 to Node 1.

Is there a way to force the use of the internal one?

If I delete the targets on node 2 and use the "switch to new HA partner" opton, will I need to do a full sync, or will a fast sync be possible? This is production storage, so I would prefer to fix without full sync or downtime.
User avatar
lohelle
Posts: 144
Joined: Sun Aug 28, 2011 2:04 pm

Fri Feb 17, 2012 11:16 pm

Fixed it on my own. Installed a clean install Starwind instance on my laptop and compared the config files.

I was missing a parameter in starwind.cfg

<plugin module="HAImage.dll">
<symlink value="HAImage"/>
<type value="HA Image"/>
<transport value="internal"/>
<imagedir path="*" flags="cmdfv" alias="My Computer" extensions="img"/></plugin>

Sync starts after a few seconds now.

The default value is auto btw. I used the internal value to be sure this was used. Did not test with auto.
User avatar
Anatoly (staff)
Staff
Posts: 1675
Joined: Tue Mar 01, 2011 8:28 am
Contact:

Mon Feb 20, 2012 12:52 pm

I`m glad that everything is fixed now:)

Feel free to contact us if you`ll have such need!
Best regards,
Anatoly Vilchinsky
Global Engineering and Support Manager
www.starwind.com
av@starwind.com
User avatar
lohelle
Posts: 144
Joined: Sun Aug 28, 2011 2:04 pm

Mon Feb 20, 2012 1:39 pm

You might want to include a fix for this. Main reason was that I installed a newer version of Starwind on a new node and replaced it with an older version's config-file.
But I did run at least one upgrade from 5.8.x to 5.8.x, so maybe a check included when running upgrade? Or maybe default to "internal method" when missing entry in starwind.conf
User avatar
Anatoly (staff)
Staff
Posts: 1675
Joined: Tue Mar 01, 2011 8:28 am
Contact:

Wed Feb 22, 2012 3:56 pm

We definitely will! Thank you for your input!
Best regards,
Anatoly Vilchinsky
Global Engineering and Support Manager
www.starwind.com
av@starwind.com
WardA
Posts: 13
Joined: Thu Feb 23, 2012 1:18 pm

Thu Feb 23, 2012 1:26 pm

Reading this thread made me wonder if the same was happening with our storage. We have 2 sets of 2 servers running in HA, recently updated to v5.8.

On HA SAN A, both nodes have the following in their config, and no connections showing in MS iSCSI initiator in Windows:

<plugin module="HAImage.dll">
<symlink value="HAImage"/>
<type value="HA Image"/>
<imagedir path="*" flags="cmdfv" alias="My Computer" extensions="img"/>
<transport value="system"/>
</plugin>

On HA SAN B, both nodes have the following in their config, and lots of connections showing in MS iSCSI initiator in Windows:

<plugin module="HAImage.dll">
<symlink value="HAImage"/>
<type value="HA Image"/>
<imagedir path="*" flags="cmdfv" alias="My Computer" extensions="img"/>
</plugin>

I'm quite confused - both sets are running fine, all in sync etc, but obviously we'd like to be using the new internal sync method for both. So it looks like for HA SAN B, it is still using MS iSCSI for transport.

The thing that is even more confusing is the setting on HA SAN A where transport value="system". In the config file, it says that the values can only be:

"msinitiator" - system transport,
"internal" - plugin internal transport
"auto" - automatic transport selection

What does system mean, and how did it get there? :P
User avatar
lohelle
Posts: 144
Joined: Sun Aug 28, 2011 2:04 pm

Thu Feb 23, 2012 1:45 pm

Actually, I think my node had system as value also.

I shut down Starwind, changed to internal, shut down MS Iscsi Initiator (just to be sure it was not used) and started Starwind again. Sync started MUCH MUCH faster.
WardA
Posts: 13
Joined: Thu Feb 23, 2012 1:18 pm

Thu Feb 23, 2012 1:53 pm

Hmm, OK, that makes me feel slightly better, hehe.

So we have HA SAN A with "system" set, and HA SAN B with nothing set at all, despite the fact it was upgraded from 5.7 to 5.8, without any copy/pasting of configs. Intriguing!

When you set yours from "system" to "internal", did you make the change on one node only, and when you brought it up, the syncing was working properly on both? Did you change the second node also?
User avatar
lohelle
Posts: 144
Joined: Sun Aug 28, 2011 2:04 pm

Thu Feb 23, 2012 2:02 pm

I did one node, then the other. It seems that it is not required that the nodes use the same type.

One of my nodes actually USED the internal method, the other used MS Iscsi. You can stop one of the nodes, change the config and start it again. In my case the connections went up VERY fast. Just look at the connections for the targets on the other node. I stopped MS Iscsi Initiator before I startet Starwind again, but I guess that is not required.
WardA
Posts: 13
Joined: Thu Feb 23, 2012 1:18 pm

Thu Feb 23, 2012 2:14 pm

Cool. I'll try that on the HA Set that has "system" in there, and if that works, I'll try it on the set which has no transport key at all - provided no one from StarWind says I shouldn't!

Sadly, we have tons of VMs running from the storage, so I will need to do this OOH in case some horribleness ensues :(
User avatar
lohelle
Posts: 144
Joined: Sun Aug 28, 2011 2:04 pm

Thu Feb 23, 2012 3:40 pm

do not remove the key. change it to internal or auto.
WardA
Posts: 13
Joined: Thu Feb 23, 2012 1:18 pm

Thu Feb 23, 2012 3:42 pm

lohelle wrote:do not remove the key. change it to internal or auto.
Sure, I will do that. What I meant was that we have 2 sets of HA nodes, A and B, and on the two nodes in HA SAN B, there is in fact no key for transport at all!
User avatar
Anatoly (staff)
Staff
Posts: 1675
Joined: Tue Mar 01, 2011 8:28 am
Contact:

Mon Feb 27, 2012 9:31 am

WardA wrote:Sure, I will do that. What I meant was that we have 2 sets of HA nodes, A and B, and on the two nodes in HA SAN B, there is in fact no key for transport at all!
Dear WardA, would you kindly update us about your progress?

Thank you
Best regards,
Anatoly Vilchinsky
Global Engineering and Support Manager
www.starwind.com
av@starwind.com
Locked