[openib-general] OpenSM - guid2lid cache file questions

2006-09-05 Thread Leonid Arsh
Hi list,

 I have a question regarding the guid2lid cache file.

  The file is read by OpenSM on the start up.
  OpenSM may reassign LIDs according to the LIDs saved in this file.
 It isn't always acceptable.

 Is it a right policy? Am I missing anything here?
 Is there a way to disable the file reading on start up?

Regards,
   Leonid

___
openib-general mailing list
openib-general@openib.org
http://openib.org/mailman/listinfo/openib-general

To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general



Re: [openib-general] OpenSM - guid2lid cache file questions

2006-09-05 Thread Hal Rosenstock
Hi Leonid,

On Tue, 2006-09-05 at 03:30, Leonid Arsh wrote:
 Hi list,
 
  I have a question regarding the guid2lid cache file.
 
   The file is read by OpenSM on the start up.
   OpenSM may reassign LIDs according to the LIDs saved in this file.
  It isn't always acceptable.
 
  Is it a right policy? Am I missing anything here?
  Is there a way to disable the file reading on start up?

There is the -r (--reassign_lids) option for this but it is not the
default behavior of OpenSM.

-- Hal

 
 Regards,
Leonid
 
 ___
 openib-general mailing list
 openib-general@openib.org
 http://openib.org/mailman/listinfo/openib-general
 
 To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general
 


___
openib-general mailing list
openib-general@openib.org
http://openib.org/mailman/listinfo/openib-general

To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general



Re: [openib-general] OpenSM - guid2lid cache file questions

2006-09-05 Thread Leonid Arsh
Hi Hal,

  Thank you for your reply.

Probably I wasn't clear.

I have a problem when OpenSM, being started, reads an out-if-date guid2lid file.
OpenSM changes LIDs in this case.
I don't want  the LIDs to be changed.
As I understand it, the '-r' option, on the contrary, causes the SM to
reassign all the LIDs.

I could just remove the file to handle the problem.
I'd like to know if there is a way to do it without touching the file.

Thanks,
Leonid

On 05 Sep 2006 06:57:53 -0400, Hal Rosenstock [EMAIL PROTECTED] wrote:
 Hi Leonid,

 On Tue, 2006-09-05 at 03:30, Leonid Arsh wrote:
  Hi list,
 
   I have a question regarding the guid2lid cache file.
 
The file is read by OpenSM on the start up.
OpenSM may reassign LIDs according to the LIDs saved in this file.
   It isn't always acceptable.
 
   Is it a right policy? Am I missing anything here?
   Is there a way to disable the file reading on start up?

 There is the -r (--reassign_lids) option for this but it is not the
 default behavior of OpenSM.

 -- Hal

 
  Regards,
 Leonid
 
  ___
  openib-general mailing list
  openib-general@openib.org
  http://openib.org/mailman/listinfo/openib-general
 
  To unsubscribe, please visit 
  http://openib.org/mailman/listinfo/openib-general
 


 ___
 openib-general mailing list
 openib-general@openib.org
 http://openib.org/mailman/listinfo/openib-general

 To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general



___
openib-general mailing list
openib-general@openib.org
http://openib.org/mailman/listinfo/openib-general

To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general



Re: [openib-general] OpenSM - guid2lid cache file questions

2006-09-05 Thread Hal Rosenstock
Hi Leonid,

On Tue, 2006-09-05 at 08:11, Leonid Arsh wrote:
 Hi Hal,
 
   Thank you for your reply.
 
 Probably I wasn't clear.
 
 I have a problem when OpenSM, being started, reads an out-if-date guid2lid 
 file.
 OpenSM changes LIDs in this case.

How do you know the file is out of date ?

 I don't want  the LIDs to be changed.

Oh, it's the other way you were asking about.

 As I understand it, the '-r' option, on the contrary, causes the SM to
 reassign all the LIDs.
 
 I could just remove the file to handle the problem.

or move it aside.

 I'd like to know if there is a way to do it without touching the file.

Not currently. There is the -x (--honor_guid2lid) which will do this
(ignore the guid2lid file) when OpenSM is coming out of STANDBY though.

-- Hal

 Thanks,
 Leonid
 
 On 05 Sep 2006 06:57:53 -0400, Hal Rosenstock [EMAIL PROTECTED] wrote:
  Hi Leonid,
 
  On Tue, 2006-09-05 at 03:30, Leonid Arsh wrote:
   Hi list,
  
I have a question regarding the guid2lid cache file.
  
 The file is read by OpenSM on the start up.
 OpenSM may reassign LIDs according to the LIDs saved in this file.
It isn't always acceptable.
  
Is it a right policy? Am I missing anything here?
Is there a way to disable the file reading on start up?
 
  There is the -r (--reassign_lids) option for this but it is not the
  default behavior of OpenSM.
 
  -- Hal
 
  
   Regards,
  Leonid
  
   ___
   openib-general mailing list
   openib-general@openib.org
   http://openib.org/mailman/listinfo/openib-general
  
   To unsubscribe, please visit 
   http://openib.org/mailman/listinfo/openib-general
  
 
 
  ___
  openib-general mailing list
  openib-general@openib.org
  http://openib.org/mailman/listinfo/openib-general
 
  To unsubscribe, please visit 
  http://openib.org/mailman/listinfo/openib-general
 
 


___
openib-general mailing list
openib-general@openib.org
http://openib.org/mailman/listinfo/openib-general

To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general



Re: [openib-general] OpenSM - guid2lid cache file questions

2006-09-05 Thread Leonid Arsh
Thanks,

On 05 Sep 2006 08:46:22 -0400, Hal Rosenstock [EMAIL PROTECTED] wrote:
  I have a problem when OpenSM, being started, reads an out-if-date guid2lid 
  file.
  OpenSM changes LIDs in this case.

 How do you know the file is out of date ?

Actually, the LIDs were assigned by another SM.
When I start my new OpenSM, the old SM is already dead.
Before starting the new OpenSM, the  ibnetdiscover utility shows LIDs different
from ones in the file.
When I start OpenSM, the LIDs are reassigned on the fabric.

___
openib-general mailing list
openib-general@openib.org
http://openib.org/mailman/listinfo/openib-general

To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general



Re: [openib-general] OpenSM - guid2lid cache file questions

2006-09-05 Thread Hal Rosenstock
Leonid,

On Tue, 2006-09-05 at 09:13, Leonid Arsh wrote:
 Thanks,
 
 On 05 Sep 2006 08:46:22 -0400, Hal Rosenstock [EMAIL PROTECTED] wrote:
   I have a problem when OpenSM, being started, reads an out-if-date 
   guid2lid file.
   OpenSM changes LIDs in this case.
 
  How do you know the file is out of date ?
 
 Actually, the LIDs were assigned by another SM.

Different (vendor) SMs have different LID assignment and pathing
(routing) policies. It is inadvisable to failover across vendor SMs for
this and other reasons.

-- Hal

 When I start my new OpenSM, the old SM is already dead.
 Before starting the new OpenSM, the  ibnetdiscover utility shows LIDs 
 different
 from ones in the file.
 When I start OpenSM, the LIDs are reassigned on the fabric.


___
openib-general mailing list
openib-general@openib.org
http://openib.org/mailman/listinfo/openib-general

To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general



Re: [openib-general] OpenSM - guid2lid cache file questions

2006-09-05 Thread Eitan Zahavi
Hi Leonid,

The best approach when switching from another vendor SM to 
OpenSM is to delete the /var/cache/osm/guid2lid file.

 -Original Message-
 From: [EMAIL PROTECTED] [mailto:openib-general-
 [EMAIL PROTECTED] On Behalf Of Hal Rosenstock
 Sent: Tuesday, September 05, 2006 4:18 PM
 To: Leonid Arsh
 Cc: openib-general@openib.org
 Subject: Re: [openib-general] OpenSM - guid2lid cache file questions
 
 Leonid,
 
 On Tue, 2006-09-05 at 09:13, Leonid Arsh wrote:
  Thanks,
 
  On 05 Sep 2006 08:46:22 -0400, Hal Rosenstock [EMAIL PROTECTED] wrote:
I have a problem when OpenSM, being started, reads an out-if-date
 guid2lid file.
OpenSM changes LIDs in this case.
  
   How do you know the file is out of date ?
  
  Actually, the LIDs were assigned by another SM.
 
 Different (vendor) SMs have different LID assignment and pathing
 (routing) policies. It is inadvisable to failover across vendor SMs for
this and
 other reasons.
 
 -- Hal
 
  When I start my new OpenSM, the old SM is already dead.
  Before starting the new OpenSM, the  ibnetdiscover utility shows LIDs
  different from ones in the file.
  When I start OpenSM, the LIDs are reassigned on the fabric.
 
 
 ___
 openib-general mailing list
 openib-general@openib.org
 http://openib.org/mailman/listinfo/openib-general
 
 To unsubscribe, please visit
http://openib.org/mailman/listinfo/openib-general


___
openib-general mailing list
openib-general@openib.org
http://openib.org/mailman/listinfo/openib-general

To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general