ISCSICLI configuration question - Storage
This is a discussion on ISCSICLI configuration question - Storage ; THE SETUP :: I have an iSCSI array with 2 controllers, and two ports on each
controller. Their IPs are 10.10.28.100, 101, 102, and 103. The array's IQN
is
Connected to this through a switch is a host equipped with ...
-
ISCSICLI configuration question
THE SETUP :: I have an iSCSI array with 2 controllers, and two ports on each
controller. Their IPs are 10.10.28.100, 101, 102, and 103. The array's IQN
is
Connected to this through a switch is a host equipped with MS iSCSI
Initiator 2.04 and 2 NICs IPd at 10.10.28.1 and 2.
My iscsicli script is something like this (I unfortunately don't have the
exact script with me at the moment -- I'll provide it in the morning):
iscsicli AddTarget 10.10.28.100 3260 * 1 * * * * * * * * * *
iscsicli AddTarget 10.10.28.101 3260 * 1 * * * * * * * * * *
iscsicli AddTarget 10.10.28.102 3260 * 1 * * * * * * * * * *
iscsicli AddTarget 10.10.28.100 3263 * 1 * * * * * * * * * *
iscsicli LoginTarget * 10.10.28.100 3260 * 1 * * * * * * *
iscsicli LoginTarget * 10.10.28.101 3260 * 1 * * * * * * *
iscsicli LoginTarget * 10.10.28.102 3260 * 1 * * * * * * *
iscsicli LoginTarget * 10.10.28.103 3260 * 1 * * * * * * *
THE PROBLEM: All the traffic to the array seems to go out only on NIC
10.10.28.1 to all 4 array ports unless we initiate a failover by pulling a
host-side cable.
THE DESIRED SOLUTION: We need the iscsicli script modified so that equal
amount traffic go out to the array over 10.10.28.1 and 2, and go to all 4
ports equally on the array.
Anybody got any advice? Thanks in advance
-
Re: ISCSICLI configuration question
By not using a source port you are allowing the initiator to choose one,
which simply uses the hosts routing table, and unless there is an event,
it's working exactly as designed.
You need to explicitly choose the src address for your connections. I know
you can do this via the GUI and WMI, but I'm not sure about the iscsicli.
~kenny
"j9" wrote in message
news:OSxQ%23NZnHHA.1000@TK2MSFTNGP05.phx.gbl...
> THE SETUP :: I have an iSCSI array with 2 controllers, and two ports on
> each controller. Their IPs are 10.10.28.100, 101, 102, and 103. The
> array's IQN is
>
> Connected to this through a switch is a host equipped with MS iSCSI
> Initiator 2.04 and 2 NICs IPd at 10.10.28.1 and 2.
>
> My iscsicli script is something like this (I unfortunately don't have the
> exact script with me at the moment -- I'll provide it in the morning):
>
> iscsicli AddTarget 10.10.28.100 3260 * 1 * * * * * * * * * *
> iscsicli AddTarget 10.10.28.101 3260 * 1 * * * * * * * * * *
> iscsicli AddTarget 10.10.28.102 3260 * 1 * * * * * * * * * *
> iscsicli AddTarget 10.10.28.100 3263 * 1 * * * * * * * * * *
>
> iscsicli LoginTarget * 10.10.28.100 3260 * 1 * * * * * * *
> iscsicli LoginTarget * 10.10.28.101 3260 * 1 * * * * * * *
> iscsicli LoginTarget * 10.10.28.102 3260 * 1 * * * * * * *
> iscsicli LoginTarget * 10.10.28.103 3260 * 1 * * * * * * *
>
>
> THE PROBLEM: All the traffic to the array seems to go out only on NIC
> 10.10.28.1 to all 4 array ports unless we initiate a failover by pulling a
> host-side cable.
>
> THE DESIRED SOLUTION: We need the iscsicli script modified so that equal
> amount traffic go out to the array over 10.10.28.1 and 2, and go to all 4
> ports equally on the array.
>
> Anybody got any advice? Thanks in advance
>
>
>
>
>
-
Re: ISCSICLI configuration question
OK, so here's my official script, as promised:
iscsiCli AddTargetPortal 10.10.28.108 3260 * * * * * * * * * * * *
iscsiCli AddTargetPortal 10.10.28.109 3260 * * * * * * * * * * * *
iscsiCli AddTargetPortal 10.10.28.110 3260 * * * * * * * * * * * *
iscsiCli AddTargetPortal 10.10.28.111 3260 * * * * * * * * * * * *
iscsiCli LoginTarget
iqn.1984-05.com.dell
owervault.6001372000ffe3c4000000004601c4e6 T
10.10.28.108 3260 * * * 0x00000002 * * * * * * * * * 0
iscsiCli LoginTarget
iqn.1984-05.com.dell
owervault.6001372000ffe3c4000000004601c4e6 T
10.10.28.109 3260 * * * 0x00000002 * * * * * * * * * 0
iscsiCli LoginTarget
iqn.1984-05.com.dell
owervault.6001372000ffe3c4000000004601c4e6 T
10.10.28.110 3260 * * * 0x00000002 * * * * * * * * * 0
iscsiCli LoginTarget
iqn.1984-05.com.dell
owervault.6001372000ffe3c4000000004601c4e6 T
10.10.28.111 3260 * * * 0x00000002 * * * * * * * * * 0
Like you, I don't see how to put in the source address in the CLI. I'd hate
to have to use the GUI to do this, since I'm in a test environment and wipe
out the host settings regularly. Anybody else have any ideas?
"Kenny Speer" wrote in message
news:uz0cG5enHHA.716@TK2MSFTNGP05.phx.gbl...
> By not using a source port you are allowing the initiator to choose one,
> which simply uses the hosts routing table, and unless there is an event,
> it's working exactly as designed.
>
> You need to explicitly choose the src address for your connections. I
> know you can do this via the GUI and WMI, but I'm not sure about the
> iscsicli.
>
> ~kenny
>
> "j9" wrote in message
> news:OSxQ%23NZnHHA.1000@TK2MSFTNGP05.phx.gbl...
>> THE SETUP :: I have an iSCSI array with 2 controllers, and two ports on
>> each controller. Their IPs are 10.10.28.100, 101, 102, and 103. The
>> array's IQN is
>>
>> Connected to this through a switch is a host equipped with MS iSCSI
>> Initiator 2.04 and 2 NICs IPd at 10.10.28.1 and 2.
>>
>> My iscsicli script is something like this (I unfortunately don't have the
>> exact script with me at the moment -- I'll provide it in the morning):
>>
>> iscsicli AddTarget 10.10.28.100 3260 * 1 * * * * * * * * * *
>> iscsicli AddTarget 10.10.28.101 3260 * 1 * * * * * * * * * *
>> iscsicli AddTarget 10.10.28.102 3260 * 1 * * * * * * * * * *
>> iscsicli AddTarget 10.10.28.100 3263 * 1 * * * * * * * * * *
>>
>> iscsicli LoginTarget * 10.10.28.100 3260 * 1 * * * * * *
>> *
>> iscsicli LoginTarget * 10.10.28.101 3260 * 1 * * * * * *
>> *
>> iscsicli LoginTarget * 10.10.28.102 3260 * 1 * * * * * *
>> *
>> iscsicli LoginTarget * 10.10.28.103 3260 * 1 * * * * * *
>> *
>>
>>
>> THE PROBLEM: All the traffic to the array seems to go out only on NIC
>> 10.10.28.1 to all 4 array ports unless we initiate a failover by pulling
>> a host-side cable.
>>
>> THE DESIRED SOLUTION: We need the iscsicli script modified so that equal
>> amount traffic go out to the array over 10.10.28.1 and 2, and go to all 4
>> ports equally on the array.
>>
>> Anybody got any advice? Thanks in advance
>>
>>
>>
>>
>>
>
-
Re: ISCSICLI configuration question
Use VB, C# or even wmic (just type "wmic" at the cmd>) and automate it via
WMI. iSCSI has a very extensive list of methods and objects available via
WMI, you can do just about anything.
~kenny
"j9" wrote in message
news:uxL$smgnHHA.3520@TK2MSFTNGP04.phx.gbl...
> OK, so here's my official script, as promised:
>
> iscsiCli AddTargetPortal 10.10.28.108 3260 * * * * * * * * * * * *
> iscsiCli AddTargetPortal 10.10.28.109 3260 * * * * * * * * * * * *
> iscsiCli AddTargetPortal 10.10.28.110 3260 * * * * * * * * * * * *
> iscsiCli AddTargetPortal 10.10.28.111 3260 * * * * * * * * * * * *
>
>
> iscsiCli LoginTarget
> iqn.1984-05.com.dell
owervault.6001372000ffe3c4000000004601c4e6 T
> 10.10.28.108 3260 * * * 0x00000002 * * * * * * * * * 0
> iscsiCli LoginTarget
> iqn.1984-05.com.dell
owervault.6001372000ffe3c4000000004601c4e6 T
> 10.10.28.109 3260 * * * 0x00000002 * * * * * * * * * 0
> iscsiCli LoginTarget
> iqn.1984-05.com.dell
owervault.6001372000ffe3c4000000004601c4e6 T
> 10.10.28.110 3260 * * * 0x00000002 * * * * * * * * * 0
> iscsiCli LoginTarget
> iqn.1984-05.com.dell
owervault.6001372000ffe3c4000000004601c4e6 T
> 10.10.28.111 3260 * * * 0x00000002 * * * * * * * * * 0
>
> Like you, I don't see how to put in the source address in the CLI. I'd
> hate to have to use the GUI to do this, since I'm in a test environment
> and wipe out the host settings regularly. Anybody else have any ideas?
>
>
>
> "Kenny Speer" wrote in message
> news:uz0cG5enHHA.716@TK2MSFTNGP05.phx.gbl...
>> By not using a source port you are allowing the initiator to choose one,
>> which simply uses the hosts routing table, and unless there is an event,
>> it's working exactly as designed.
>>
>> You need to explicitly choose the src address for your connections. I
>> know you can do this via the GUI and WMI, but I'm not sure about the
>> iscsicli.
>>
>> ~kenny
>>
>> "j9" wrote in message
>> news:OSxQ%23NZnHHA.1000@TK2MSFTNGP05.phx.gbl...
>>> THE SETUP :: I have an iSCSI array with 2 controllers, and two ports on
>>> each controller. Their IPs are 10.10.28.100, 101, 102, and 103. The
>>> array's IQN is
>>>
>>> Connected to this through a switch is a host equipped with MS iSCSI
>>> Initiator 2.04 and 2 NICs IPd at 10.10.28.1 and 2.
>>>
>>> My iscsicli script is something like this (I unfortunately don't have
>>> the exact script with me at the moment -- I'll provide it in the
>>> morning):
>>>
>>> iscsicli AddTarget 10.10.28.100 3260 * 1 * * * * * * * * * *
>>> iscsicli AddTarget 10.10.28.101 3260 * 1 * * * * * * * * * *
>>> iscsicli AddTarget 10.10.28.102 3260 * 1 * * * * * * * * * *
>>> iscsicli AddTarget 10.10.28.100 3263 * 1 * * * * * * * * * *
>>>
>>> iscsicli LoginTarget * 10.10.28.100 3260 * 1 * * * * * *
>>> *
>>> iscsicli LoginTarget * 10.10.28.101 3260 * 1 * * * * * *
>>> *
>>> iscsicli LoginTarget * 10.10.28.102 3260 * 1 * * * * * *
>>> *
>>> iscsicli LoginTarget * 10.10.28.103 3260 * 1 * * * * * *
>>> *
>>>
>>>
>>> THE PROBLEM: All the traffic to the array seems to go out only on NIC
>>> 10.10.28.1 to all 4 array ports unless we initiate a failover by pulling
>>> a host-side cable.
>>>
>>> THE DESIRED SOLUTION: We need the iscsicli script modified so that
>>> equal amount traffic go out to the array over 10.10.28.1 and 2, and go
>>> to all 4 ports equally on the array.
>>>
>>> Anybody got any advice? Thanks in advance
>>>
>>>
>>>
>>>
>>>
>>
>
>
-
Re: ISCSICLI configuration question
You can't set the MPIO load balancing policy through iscsicli. You have to
either use the GUI or script it using WMI.
"j9" wrote in message
news:OSxQ%23NZnHHA.1000@TK2MSFTNGP05.phx.gbl...
> THE SETUP :: I have an iSCSI array with 2 controllers, and two ports on
> each controller. Their IPs are 10.10.28.100, 101, 102, and 103. The
> array's IQN is
>
> Connected to this through a switch is a host equipped with MS iSCSI
> Initiator 2.04 and 2 NICs IPd at 10.10.28.1 and 2.
>
> My iscsicli script is something like this (I unfortunately don't have the
> exact script with me at the moment -- I'll provide it in the morning):
>
> iscsicli AddTarget 10.10.28.100 3260 * 1 * * * * * * * * * *
> iscsicli AddTarget 10.10.28.101 3260 * 1 * * * * * * * * * *
> iscsicli AddTarget 10.10.28.102 3260 * 1 * * * * * * * * * *
> iscsicli AddTarget 10.10.28.100 3263 * 1 * * * * * * * * * *
>
> iscsicli LoginTarget * 10.10.28.100 3260 * 1 * * * * * * *
> iscsicli LoginTarget * 10.10.28.101 3260 * 1 * * * * * * *
> iscsicli LoginTarget * 10.10.28.102 3260 * 1 * * * * * * *
> iscsicli LoginTarget * 10.10.28.103 3260 * 1 * * * * * * *
>
>
> THE PROBLEM: All the traffic to the array seems to go out only on NIC
> 10.10.28.1 to all 4 array ports unless we initiate a failover by pulling a
> host-side cable.
>
> THE DESIRED SOLUTION: We need the iscsicli script modified so that equal
> amount traffic go out to the array over 10.10.28.1 and 2, and go to all 4
> ports equally on the array.
>
> Anybody got any advice? Thanks in advance
>
>
>
>
>