Removing initiators (without Banning and/or multiple)

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

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

Post Reply
BPVMT
Posts: 9
Joined: Tue Oct 02, 2012 3:04 pm

Tue Oct 02, 2012 3:11 pm

Is there a way to remove initiaors without banning them?

If not is there a way to remove and ban multiple initiators?

I have targets with 30 to 40 initiators connected, I want to remove most of these.

right now I can do so one at a time, I ould prefer to do so en-mass.

also, currently this creates bans for the initiators, I do not want to do that.

There are a couple of reasons for this:
1. I have created new access rights rules for the targets which only allow the initiators required.
2. It would be useful to drop an initiator's connection to a target and then be able to reconnect the initiator manually from that server.
User avatar
Anatoly (staff)
Staff
Posts: 1675
Joined: Tue Mar 01, 2011 8:28 am
Contact:

Thu Oct 04, 2012 2:49 pm

Well, you can deny all the connections to one target. Just start creating new rule, specify the the target that you want to ban, and click OK. It should ban all the connections from this target.
Best regards,
Anatoly Vilchinsky
Global Engineering and Support Manager
www.starwind.com
av@starwind.com
BPVMT
Posts: 9
Joined: Tue Oct 02, 2012 3:04 pm

Thu Oct 04, 2012 3:44 pm

no, that is what I did, but it still leaves sessions in place on the target.

Basically, I can create all the access rights I want, and it will have no effect on initiators which already established a connection, it only blocks new ones.

I can only remove initiators which are already connected through using the "Disconnect & Ban" method.

This created a LOT of clicking, I have hundreds of these I need to clean up that have been connected for days, and it creates a LOT more clicking to delete the rules, since each ban creates it's own new access rights rule.
User avatar
Anatoly (staff)
Staff
Posts: 1675
Joined: Tue Mar 01, 2011 8:28 am
Contact:

Fri Oct 05, 2012 2:14 pm

OK, once again - why do you need to disconnect the initiators before deleting the targets please?
Best regards,
Anatoly Vilchinsky
Global Engineering and Support Manager
www.starwind.com
av@starwind.com
BPVMT
Posts: 9
Joined: Tue Oct 02, 2012 3:04 pm

Fri Oct 05, 2012 3:41 pm

I am not deleting the targets.

I am removing all the initiators which should not be connected to the target, I am keeping multiple initiators connected.

I only want to remove the initiators from hosts which have established connections to particular targets they do not need.
User avatar
Anatoly (staff)
Staff
Posts: 1675
Joined: Tue Mar 01, 2011 8:28 am
Contact:

Sun Oct 07, 2012 12:18 pm

Thank you for the answers and clarifications.
The answer for both of your questions is no. It is impossible to remove multiple initiator connection and it is impossible to remove one without banning it.
Our software is designed to serve in well-preconfigured system, and we so no need in this.

Can I kindly ask you to clarify why this constant removing/adding of initiators is needed? Probably if we will know whole scenario we will try to improve the software in the way that you need.

Thank you
Best regards,
Anatoly Vilchinsky
Global Engineering and Support Manager
www.starwind.com
av@starwind.com
BPVMT
Posts: 9
Joined: Tue Oct 02, 2012 3:04 pm

Mon Oct 08, 2012 2:32 pm

Anatoly (staff) wrote:Thank you for the answers and clarifications.
The answer for both of your questions is no. It is impossible to remove multiple initiator connection and it is impossible to remove one without banning it.
Our software is designed to serve in well-preconfigured system, and we so no need in this.

Can I kindly ask you to clarify why this constant removing/adding of initiators is needed? Probably if we will know whole scenario we will try to improve the software in the way that you need.

Thank you
The environment was configured with only the default access rights set up by a sys admin here.

I am cleaning up that mess by creating new access rights and banning the initiators.

I don't want to cause an outage by restarting the iSCSI Server to kill the existing connections now that I have set the access rights correctly.

There is also call for at times removing only one initiator from a target because we no longer which to have a certain data store attached to that target any longer.

It is also useful to force an initiator to disconnect for testing purposes of our environment, and to troubleshoot problems we are having with the initiator.

Thanks
User avatar
Anatoly (staff)
Staff
Posts: 1675
Joined: Tue Mar 01, 2011 8:28 am
Contact:

Thu Oct 11, 2012 11:04 am

Well, to be honest we could add "just remove without banning" functionality, but it just simply makes no sense - if we would just disconnect initiator from target, the initiator would reconnected back to it after.

We will add ability to select multiple initiator for further disconnecting in future releases.
Best regards,
Anatoly Vilchinsky
Global Engineering and Support Manager
www.starwind.com
av@starwind.com
Post Reply