Skip to contentSkip to conversation

Proposal to add a name to an IB subnet

DISCUSSION Arputham Benjamin 3 participants 4 messages Dec 2, 2009 – Dec 22, 2009 2 messages not in the archive InfiniBand

lore
Share & tools
lore
#0 lore raw

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 [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html

#2 lore raw
In reply to a message not in the archive
Quoted 11 lines · Arputham Benjamin

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 [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html

#3 lore raw
In reply to a message not in the archive
Quoted 13 lines · Arputham Benjamin

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)

Quoted 7 lines

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

Quoted 4 lines

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)

Quoted 9 lines

Any comments?

Regards,
Benjamin
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to [email protected] 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 [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html

#5 lore raw
In reply to a message not in the archive
Quoted 17 lines · Hal Rosenstock
Quoted 16 lines · Arputham Benjamin

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.

Quoted 8 lines
Quoted 4 lines

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

Quoted 6 lines
Quoted 6 lines

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 [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html