RE: removing auto login from Initiator

2010-05-20 Thread david elsen

For Logout:

Yes, I was doing logout and then deleting the entry.

 

For Login:

I do discovery to get the iSCSI name and record.

Then update it to manual and doing the login with iSCSI name.

 

I will update /etc/iscsi/iscsid.conf to it easier.

thanks,

david


 
 Date: Mon, 17 May 2010 19:41:47 -0500
 From: micha...@cs.wisc.edu
 To: open-iscsi@googlegroups.com
 CC: elsen_da...@hotmail.com
 Subject: Re: removing auto login from Initiator
 
 On 05/17/2010 05:55 PM, david elsen wrote:
 
  Mike,
 
 
 
  Thanks. Your suggestion worked.
 
 
 
  But I have to do following:
 
  1. Discovery login to get the name.
 
  2. Update the record for manual
 
  3. Normal login.
 
 
 
  to do the login
 
 
 
  For deleting, I have to do:
 
  1. Logout
 
  2. Delete.
 
 
 
 I am not sure what you are saying.
 
 
 Are you deleting and updating the record to manual? If so
 you do not have to set the record for manual and delete it. You can just 
 do one or the other. For deletion then you do not need to logout, if you 
 just delete the records you do not want, then do the login.
 
 
 You could also just set them all as manual by default by setting the 
 node.startup = manual in /etc/iscsi/iscsid.conf. Then just manually 
 login to the ones you want or set the ones you want to node.startup = 
 automatic by running iscsiadm.
 
 -- 
 You received this message because you are subscribed to the Google Groups 
 open-iscsi group.
 To post to this group, send email to open-is...@googlegroups.com.
 To unsubscribe from this group, send email to 
 open-iscsi+unsubscr...@googlegroups.com.
 For more options, visit this group at 
 http://groups.google.com/group/open-iscsi?hl=en.
 
  
_
Hotmail has tools for the New Busy. Search, chat and e-mail from your inbox.
http://www.windowslive.com/campaign/thenewbusy?ocid=PID28326::T:WLMTAGL:ON:WL:en-US:WM_HMP:042010_1

-- 
You received this message because you are subscribed to the Google Groups 
open-iscsi group.
To post to this group, send email to open-is...@googlegroups.com.
To unsubscribe from this group, send email to 
open-iscsi+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/open-iscsi?hl=en.



RE: removing auto login from Initiator

2010-05-17 Thread david elsen

Mike,

 

Thanks. Your suggestion worked. 

 

But I have to do following:

1. Discovery login to get the name.

2. Update the record for manual 

3. Normal login.

 

to do the login

 

For deleting, I have to do:

1. Logout

2. Delete.

 

 

I am not sure if I can have any simpler approach.

 

Thanks,

David


 
 Date: Fri, 14 May 2010 22:56:07 -0500
 From: micha...@cs.wisc.edu
 To: open-iscsi@googlegroups.com
 CC: elsen_da...@hotmail.com
 Subject: Re: removing auto login from Initiator
 
 On 05/14/2010 07:47 PM, david elsen wrote:
 
 
  Once I have done login to the target using iscsiadm - from the initiator, 
  after next reboot Initiator connects to the target without running the 
  command.
 
 
 
  How can I stop that? I have multiple targets on my set-up and want to 
  connect them one-by-one.
 
 
 
 
 Either
 
 1. delete the record
 
 iscsiadm -m node -T target -p ip -o delete
 
 
 or
 
 2. mark node.startup as manual for the record
 
 iscsiadm -m node -T target -p ip -o update -n node.startup -v manual
 iscsiadm -m node -T target -p ip -o update -n node.conn[0].startup -v 
 manual
 
 -- 
 You received this message because you are subscribed to the Google Groups 
 open-iscsi group.
 To post to this group, send email to open-is...@googlegroups.com.
 To unsubscribe from this group, send email to 
 open-iscsi+unsubscr...@googlegroups.com.
 For more options, visit this group at 
 http://groups.google.com/group/open-iscsi?hl=en.
 
  
_
The New Busy is not the too busy. Combine all your e-mail accounts with Hotmail.
http://www.windowslive.com/campaign/thenewbusy?tile=multiaccountocid=PID28326::T:WLMTAGL:ON:WL:en-US:WM_HMP:042010_4

-- 
You received this message because you are subscribed to the Google Groups 
open-iscsi group.
To post to this group, send email to open-is...@googlegroups.com.
To unsubscribe from this group, send email to 
open-iscsi+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/open-iscsi?hl=en.



Re: removing auto login from Initiator

2010-05-17 Thread Mike Christie

On 05/17/2010 05:55 PM, david elsen wrote:


Mike,



Thanks. Your suggestion worked.



But I have to do following:

1. Discovery login to get the name.

2. Update the record for manual

3. Normal login.



to do the login



For deleting, I have to do:

1. Logout

2. Delete.




I am not sure what you are saying.


Are you deleting and updating the record to manual? If so
you do not have to set the record for manual and delete it. You can just 
do one or the other. For deletion then you do not need to logout, if you 
just delete the records you do not want, then do the login.



You could also just set them all as manual by default by setting the 
node.startup = manual in /etc/iscsi/iscsid.conf. Then just manually 
login to the ones you want or set the ones you want to node.startup = 
automatic by running iscsiadm.


--
You received this message because you are subscribed to the Google Groups 
open-iscsi group.
To post to this group, send email to open-is...@googlegroups.com.
To unsubscribe from this group, send email to 
open-iscsi+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/open-iscsi?hl=en.



Re: removing auto login from Initiator

2010-05-14 Thread Mike Christie

On 05/14/2010 07:47 PM, david elsen wrote:



Once I have done login to the target using iscsiadm - from the initiator, 
after next reboot Initiator connects to the target without running the command.



How can I stop that? I have multiple targets on my set-up and want to connect 
them one-by-one.





Either

1. delete the record

iscsiadm -m node -T target -p ip -o delete


or

2. mark node.startup as manual for the record

iscsiadm -m node -T target -p ip -o update -n node.startup -v manual
iscsiadm -m node -T target -p ip -o update -n  node.conn[0].startup -v 
manual


--
You received this message because you are subscribed to the Google Groups 
open-iscsi group.
To post to this group, send email to open-is...@googlegroups.com.
To unsubscribe from this group, send email to 
open-iscsi+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/open-iscsi?hl=en.