On 05/25/2015 02:58 AM, milo wong wrote:
> I have already acknowledged the way to config a login redirect in TGT as
> below:
> 
> tgtadm --op update --mode target --tid 1 --name RedirectAddress --value
> 10.76.0.30
> tgtadm --op update --mode target --tid 1 --name RedirectPort --value 3260
> tgtadm --op update --mode target --tid 1 --name RedirectReason --value
> Temporary
> tgtadm --op show --mode target --tid 1
> RedirectAddress=10.76.0.30
> RedirectPort=3260
> RedirectReason=Temporary
> 
> But I don't know how to make it do that redirect in my testing, really
> needs help here.

It is automatic. When the initiator logs into the first address, the
target tells it to relogin to the redirect address. The initiator will
then just login to the redirected address.

If you run

iscsiadm -m session -P 1

then you can see the original (Persistent Portal) and redirected address
(Current Portal).



> 
> Thank you in advance!
> 
> -- 
> You received this message because you are subscribed to the Google
> Groups "open-iscsi" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to [email protected]
> <mailto:[email protected]>.
> To post to this group, send email to [email protected]
> <mailto:[email protected]>.
> Visit this group at http://groups.google.com/group/open-iscsi.
> For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
"open-iscsi" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/open-iscsi.
For more options, visit https://groups.google.com/d/optout.

Reply via email to