* Proposal to add a name to an IB subnet
@ 2009-12-02 23:59 Arputham Benjamin
[not found] ` <4B16FF44.7090507-sJ/iWh9BUns@public.gmane.org>
0 siblings, 1 reply; 4+ messages in thread
From: Arputham Benjamin @ 2009-12-02 23:59 UTC (permalink / raw)
To: linux-rdma-u79uwXL29TY76Z2rM5mHXA
Cc: Sasha Khapyorsky, hnrose-Wuw85uim5zDR7s880joybQ
Hi,
I suggest we add a text based name to an IB subnet, perhaps to
help user in identifying an IB subnet or understanding its function
in a multi-fabric IB cluster. For example, in a dual-fabric
(or dual-rail) IB cluster, one subnet could be named "mpi" and the
other subnet could be named "storage".
In the current implementation of OpenSM, syslog messages are prefixed
with the process ID. When multiple instances of OpenSM run on a single node
to support dual-fabric IB, process ID doesn't help the admin to quickly
identify a specific IB subnet (i.e., it needs a translation)
subnet_prefix (64-bit number) can be used as a prefix to syslog messages
but a user configurable text based name is better.
We could add an option '-n | --ib_subnet_name' to OpenSM command line
to input the IB subnet name and modify the osm_log() function for syslog
messages (message type: OSM_LOG_SYS) to prefix its messages with the
subnet name.
Also, we could limit this name prefix changes to syslog messages only for now.
(i.e., leave the opensm log as it is because the current implementation
allows the user to specify the file name for the opensm log)
Any comments?
Regards,
Benjamin
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 4+ messages in thread[parent not found: <4B16FF44.7090507-sJ/iWh9BUns@public.gmane.org>]
* Re: Proposal to add a name to an IB subnet [not found] ` <4B16FF44.7090507-sJ/iWh9BUns@public.gmane.org> @ 2009-12-20 12:43 ` Sasha Khapyorsky 2009-12-21 13:59 ` Hal Rosenstock 1 sibling, 0 replies; 4+ messages in thread From: Sasha Khapyorsky @ 2009-12-20 12:43 UTC (permalink / raw) To: Arputham Benjamin Cc: linux-rdma-u79uwXL29TY76Z2rM5mHXA, hnrose-Wuw85uim5zDR7s880joybQ On 15:59 Wed 02 Dec , Arputham Benjamin wrote: > > We could add an option '-n | --ib_subnet_name' to OpenSM command line > to input the IB subnet name and modify the osm_log() function for syslog > messages (message type: OSM_LOG_SYS) to prefix its messages with the > subnet name. > > Also, we could limit this name prefix changes to syslog messages only for now. > (i.e., leave the opensm log as it is because the current implementation > allows the user to specify the file name for the opensm log) > > Any comments? Looks like a nice idea for me. Sasha -- To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html ^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Proposal to add a name to an IB subnet [not found] ` <4B16FF44.7090507-sJ/iWh9BUns@public.gmane.org> 2009-12-20 12:43 ` Sasha Khapyorsky @ 2009-12-21 13:59 ` Hal Rosenstock [not found] ` <f0e08f230912210559s4e011adendf10b489a0ad7c8c-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org> 1 sibling, 1 reply; 4+ messages in thread From: Hal Rosenstock @ 2009-12-21 13:59 UTC (permalink / raw) To: Arputham Benjamin; +Cc: linux-rdma-u79uwXL29TY76Z2rM5mHXA, Sasha Khapyorsky On Wed, Dec 2, 2009 at 6:59 PM, Arputham Benjamin <abenjamin-sJ/iWh9BUns@public.gmane.org> wrote: > Hi, > > I suggest we add a text based name to an IB subnet, perhaps to > help user in identifying an IB subnet or understanding its function > in a multi-fabric IB cluster. For example, in a dual-fabric > (or dual-rail) IB cluster, one subnet could be named "mpi" and the > other subnet could be named "storage". > > In the current implementation of OpenSM, syslog messages are prefixed > with the process ID. When multiple instances of OpenSM run on a single node > to support dual-fabric IB, process ID doesn't help the admin to quickly > identify a specific IB subnet (i.e., it needs a translation) > > subnet_prefix (64-bit number) can be used as a prefix to syslog messages > but a user configurable text based name is better. > > We could add an option '-n | --ib_subnet_name' to OpenSM command line > to input the IB subnet name and modify the osm_log() function for syslog > messages (message type: OSM_LOG_SYS) to prefix its messages with the > subnet name. Support for this could/should be added in the options file as well. -- Hal > Also, we could limit this name prefix changes to syslog messages only for now. > (i.e., leave the opensm log as it is because the current implementation > allows the user to specify the file name for the opensm log) > > Any comments? > > Regards, > Benjamin > -- > To unsubscribe from this list: send the line "unsubscribe linux-rdma" in > the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org > More majordomo info at http://vger.kernel.org/majordomo-info.html > -- To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html ^ permalink raw reply [flat|nested] 4+ messages in thread
[parent not found: <f0e08f230912210559s4e011adendf10b489a0ad7c8c-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>]
* Re: Proposal to add a name to an IB subnet [not found] ` <f0e08f230912210559s4e011adendf10b489a0ad7c8c-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org> @ 2009-12-22 0:14 ` Arputham Benjamin 0 siblings, 0 replies; 4+ messages in thread From: Arputham Benjamin @ 2009-12-22 0:14 UTC (permalink / raw) To: Hal Rosenstock; +Cc: linux-rdma-u79uwXL29TY76Z2rM5mHXA, Sasha Khapyorsky Hal Rosenstock wrote: > On Wed, Dec 2, 2009 at 6:59 PM, Arputham Benjamin <abenjamin-sJ/iWh9BUns@public.gmane.org> wrote: >> Hi, >> >> I suggest we add a text based name to an IB subnet, perhaps to >> help user in identifying an IB subnet or understanding its function >> in a multi-fabric IB cluster. For example, in a dual-fabric >> (or dual-rail) IB cluster, one subnet could be named "mpi" and the >> other subnet could be named "storage". >> >> In the current implementation of OpenSM, syslog messages are prefixed >> with the process ID. When multiple instances of OpenSM run on a single node >> to support dual-fabric IB, process ID doesn't help the admin to quickly >> identify a specific IB subnet (i.e., it needs a translation) >> >> subnet_prefix (64-bit number) can be used as a prefix to syslog messages >> but a user configurable text based name is better. >> >> We could add an option '-n | --ib_subnet_name' to OpenSM command line >> to input the IB subnet name and modify the osm_log() function for syslog >> messages (message type: OSM_LOG_SYS) to prefix its messages with the >> subnet name. > > Support for this could/should be added in the options file as well. > > -- Hal Sure. We can add the variable name/value "ib_subnet_name" to options file as well. Regards, Benjamin > >> Also, we could limit this name prefix changes to syslog messages only for now. >> (i.e., leave the opensm log as it is because the current implementation >> allows the user to specify the file name for the opensm log) >> >> Any comments? -- To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html ^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2009-12-22 0:14 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-12-02 23:59 Proposal to add a name to an IB subnet Arputham Benjamin
[not found] ` <4B16FF44.7090507-sJ/iWh9BUns@public.gmane.org>
2009-12-20 12:43 ` Sasha Khapyorsky
2009-12-21 13:59 ` Hal Rosenstock
[not found] ` <f0e08f230912210559s4e011adendf10b489a0ad7c8c-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2009-12-22 0:14 ` Arputham Benjamin
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox