User Manual
OpenSM – Subnet ManagerRev 2.1-1.0.6
Mellanox Technologies
182
Therefore, no action is required to clear Adaptive Routing configuration on the switches if you
do not wish to use Adaptive Routing.
8.8.4 Querying Adaptive Routing Tables
When Adaptive Routing is active, the content of the usual Linear Forwarding Routing Table on
the switch is invalid, thus the standard tools that query LFT (e.g. smpquery, dump_lfts.sh, and
others) cannot be used. To query the switch for the content of its Adaptive Routing table, use the
'smparquery' tool that is installed as a part of the Adaptive Routing Manager package. To see its
usage details, run 'smparquery -h'.
8.8.5 Adaptive Routing Manager Options File
The default location of the AR Manager options file is /etc/opensm/ar_mgr.conf. To set an alter-
native location, please perform the following:
1. Add 'armgr --conf_file
<ar-mgr-options-file-name> to the event_plugin_option' option
in the file
# Options string that would be passed to the plugin(s) event_plugin_options
armgr --conf_file <ar-mgr-options-file-name>
2. Run Subnet Manager with the new options file:
opensm -F <options-file-name>'
AR Manager options file contains two types of parameters:
1. General options - Options which describe the AR Manager behavior and the AR parameters
that will be applied to all the switches in the fabric.
2. Per-switch options - Options which describe specific switch behavior.
Note the following:
• Adaptive Routing configuration file is case sensitive.
• You can specify options for nonexisting switch GUID. These options will be ignored
until a switch with a matching GUID will be added to the fabric.
• Adaptive Routing configuration file is parsed every AR Manager cycle, which in turn is
executed at every heavy sweep of the Subnet Manager.
• If the AR Manager fails to parse the options file, default settings for all the options will
be used.
Adaptive Routing mechanism is automatically disabled once the switch
receives setting of the usual linear routing table (LFT).