User Manual
0x10 - FUNCS (function entry/exit, very high volume)
0x20 - FRAMES (dumps all SMP and GMP frames)
0x40 - ROUTING (dump FDB routing information)
0x80 - currently unused.
Without -vf, osmtest defaults to ERROR + INFO (0x3)
Specifying -vf 0 disables all messages Specifying
-vf 0xFF enables all messages (see -V) High verbosity
levels may require increasing the transaction timeout
with the -t option
-h, --help Display this usage info then exit.
Rev 2.2-1.0.1
Mellanox Technologies
173
8.3.2 Running osmtest
To run osmtest in the default mode, simply enter:
host1# osmtest
The default mode runs all the flows except for the Quality of Service flow (see Section 8.6).
After installing
opensm (and if the InfiniBand fabric is stable), it is recommended to run the fol-
lowing command in order to generate the inventory file:
host1# osmtest -f c
Immediately afterwards, run the following command to test opensm:
host1# osmtest -f a
Finally, it is recommended to occasionally run “osmtest -v” (with verbosity) to verify that noth-
ing in the fabric has changed.
8.4 Partitions
OpenSM enables the configuration of partitions (PKeys) in an InfiniBand fabric. By default,
OpenSM searches for the partitions configuration file under the name
/usr/etc/opensm/par-
titions.conf. To change this filename, you can use opensm with the ‘--Pconfig’ or ‘-P’ flags.
The default partition is created by OpenSM unconditionally, even when a partition configuration
file does not exist or cannot be accessed.
The default partition has a P_Key value of 0x7fff. The port out of which runs OpenSM is
assigned full membership in the default partition.
All other end-ports are assigned partial mem-
bership.
8.4.1 File Format
Notes:
• Line content followed after ‘#’ character is comment and ignored by parser.
General File Format
<Partition Definition>:<PortGUIDs list> ;
Partition Definition:
[PartitionName][=PKey][,flag[=value]][,defmember=full|limited]