Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -------------------------------------------------
- OpenSM 3.3.13 UMAD
- Command Line Arguments:
- ------- OpenSM - Usage and options ----------------------
- Usage: opensm [options]
- Options:
- --version
- Prints OpenSM version and exits.
- --config, -F <file-name>
- The name of the OpenSM config file. When not specified
- '%ProgramFiles%\OFED\OpenSM\opensm.conf' will be used (if exists).
- --create-config, -c <file-name>
- OpenSM will dump its configuration to the specified file and exit.
- This is a way to generate OpenSM configuration file template.
- --guid, -g <GUID in hex>
- This option specifies the local port GUID value
- with which OpenSM should bind. OpenSM may be
- bound to 1 port at a time.
- If GUID given is 0, OpenSM displays a list
- of possible port GUIDs and waits for user input.
- Without -g, OpenSM tries to use the default port.
- --lmc, -l <LMC>
- This option specifies the subnet's LMC value.
- The number of LIDs assigned to each port is 2^LMC.
- The LMC value must be in the range 0-7.
- LMC values > 0 allow multiple paths between ports.
- LMC values > 0 should only be used if the subnet
- topology actually provides multiple paths between
- ports, i.e. multiple interconnects between switches.
- Without -l, OpenSM defaults to LMC = 0, which allows
- one path between any two ports.
- --priority, -p <PRIORITY>
- This option specifies the SM's PRIORITY.
- This will effect the handover cases, where master
- is chosen by priority and GUID. Range goes
- from 0 (lowest priority) to 15 (highest).
- --smkey, -k <SM_Key>
- This option specifies the SM's SM_Key (64 bits).
- This will effect SM authentication.
- Note that OpenSM version 3.2.1 and below used the
- default value '1' in a host byte order, it is fixed
- now but you may need this option to interoperate
- with old OpenSM running on a little endian machine.
- --reassign_lids, -r
- This option causes OpenSM to reassign LIDs to all
- end nodes. Specifying -r on a running subnet
- may disrupt subnet traffic.
- Without -r, OpenSM attempts to preserve existing
- LID assignments resolving multiple use of same LID.
- --routing_engine, -R <engine name>
- This option chooses routing engine(s) to use instead of default
- Min Hop algorithm. Multiple routing engines can be specified
- separated by commas so that specific ordering of routing
- algorithms will be tried if earlier routing engines fail.
- If all configured routing engines fail, OpenSM will always
- attempt to route with Min Hop unless 'no_fallback' is
- included in the list of routing engines.
- Supported engines: updn, dnup, file, ftree, lash, dor, torus-2QoS
- --do_mesh_analysis
- This option enables additional analysis for the lash
- routing engine to precondition switch port assignments
- in regular cartesian meshes which may reduce the number
- of SLs required to give a deadlock free routing
- --lash_start_vl <vl number>
- Sets the starting VL to use for the lash routing algorithm.
- Defaults to 0.
- --sm_sl <sl number>
- Sets the SL to use to communicate with the SM/SA. Defaults to 0.
- --connect_roots, -z
- This option enforces routing engines (up/down and
- fat-tree) to make connectivity between root switches
- and in this way be IBA compliant. In many cases,
- this can violate "pure" deadlock free algorithm, so
- use it carefully.
- --ucast_cache, -A
- This option enables unicast routing cache to prevent
- routing recalculation (which is a heavy task in a
- large cluster) when there was no topology change
- detected during the heavy sweep, or when the topology
- change does not require new routing calculation,
- e.g. in case of host reboot.
- This option becomes very handy when the cluster size
- is thousands of nodes.
- --lid_matrix_file, -M <file name>
- This option specifies the name of the lid matrix dump file
- from where switch lid matrices (min hops tables will be
- loaded.
- --lfts_file, -U <file name>
- This option specifies the name of the LFTs file
- from where switch forwarding tables will be loaded.
- --sadb_file, -S <file name>
- This option specifies the name of the SA DB dump file
- from where SA database will be loaded.
- --root_guid_file, -a <path to file>
- Set the root nodes for the Up/Down or Fat-Tree routing
- algorithm to the guids provided in the given file (one
- to a line)
- --cn_guid_file, -u <path to file>
- Set the compute nodes for the Fat-Tree routing algorithm
- to the guids provided in the given file (one to a line)
- --io_guid_file, -G <path to file>
- Set the I/O nodes for the Fat-Tree routing algorithm
- to the guids provided in the given file (one to a line)
- --port-shifting
- Attempt to shift port routes around to remove alignment problems
- in routing tables
- --scatter-ports <random seed>
- Randomize best port chosen for a route
- --max_reverse_hops, -H <hop_count>
- Set the max number of hops the wrong way around
- an I/O node is allowed to do (connectivity for I/O nodes on top swithces)
- --ids_guid_file, -m <path to file>
- Name of the map file with set of the IDs which will be used
- by Up/Down routing algorithm instead of node GUIDs
- (format: <guid> <id> per line)
- --guid_routing_order_file, -X <path to file>
- Set the order port guids will be routed for the MinHop
- and Up/Down routing algorithms to the guids provided in the
- given file (one to a line)
- --torus_config <path to file>
- This option defines the file name for the extra configuration
- info needed for the torus-2QoS routing engine. The default
- name is '%ProgramFiles%\OFED\OpenSM\osm-torus-2QoS.conf'
- --once, -o
- This option causes OpenSM to configure the subnet
- once, then exit. Ports remain in the ACTIVE state.
- --sweep, -s <interval>
- This option specifies the number of seconds between
- subnet sweeps. Specifying -s 0 disables sweeping.
- Without -s, OpenSM defaults to a sweep interval of
- 10 seconds.
- --timeout, -t <milliseconds>
- This option specifies the time in milliseconds
- used for transaction timeouts.
- Timeout values should be > 0.
- Without -t, OpenSM defaults to a timeout value of
- 200 milliseconds.
- --retries <number>
- This option specifies the number of retries used
- for transactions.
- Without --retries, OpenSM defaults to 3 retries
- for transactions.
- --maxsmps, -n <number>
- This option specifies the number of VL15 SMP MADs
- allowed on the wire at any one time.
- Specifying --maxsmps 0 allows unlimited outstanding
- SMPs.
- Without --maxsmps, OpenSM defaults to a maximum of
- 4 outstanding SMPs.
- --console, -q [off|local]
- This option activates the OpenSM console (default off).
- --ignore-guids, -i <equalize-ignore-guids-file>
- This option provides the means to define a set of ports
- (by guid) that will be ignored by the link load
- equalization algorithm.
- --hop_weights_file, -w <path to file>
- This option provides the means to define a weighting
- factor per port for customizing the least weight
- hops for the routing.
- --port_search_ordering_file, -O <path to file>
- This option provides the means to define a mapping
- between ports and dimension (Order) for controlling
- Dimension Order Routing (DOR).
- Moreover this option provides the means to define non
- default routing port order.
- --dimn_ports_file, -O <path to file> (DEPRECATED)
- Use --port_search_ordering_file instead.
- This option provides the means to define a mapping
- between ports and dimension (Order) for controlling
- Dimension Order Routing (DOR).
- --honor_guid2lid, -x
- This option forces OpenSM to honor the guid2lid file,
- when it comes out of Standby state, if such file exists
- under OSM_CACHE_DIR, and is valid. By default, this is FALSE.
- --log_file, -f <log-file-name>
- This option defines the log to be the given file.
- By default, the log goes to '%windir%\temp\osm.log'.
- For the log to go to standard output use -f stdout.
- --log_limit, -L <size in MB>
- This option defines maximal log file size in MB. When
- specified the log file will be truncated upon reaching
- this limit.
- --erase_log_file, -e
- This option will cause deletion of the log file
- (if it previously exists). By default, the log file
- is accumulative.
- --Pconfig, -P <partition-config-file>
- This option defines the optional partition configuration file.
- The default name is 'ProgramFiles\OFED\OpenSM\partitions.conf'.
- --no_part_enforce, -N
- This option disables partition enforcement on switch external ports.
- --qos, -Q
- This option enables QoS setup.
- --qos_policy_file, -Y <QoS-policy-file>
- This option defines the optional QoS policy file.
- The default name is '%ProgramFiles%\OFED\OpenSM\qos-policy.conf'.
- --stay_on_fatal, -y
- This option will cause SM not to exit on fatal initialization
- issues: if SM discovers duplicated guids or 12x link with
- lane reversal badly configured.
- By default, the SM will exit on these errors.
- --daemon, -B
- Run in daemon mode - OpenSM will run in the background.
- --inactive, -I
- Start SM in inactive rather than normal init SM state.
- --prefix_routes_file <path to file>
- This option specifies the prefix routes file.
- Prefix routes control how the SA responds to path record
- queries for off-subnet DGIDs. Default file is:
- ProgramFiles\OFED\OpenSM\prefix-routes.conf
- --consolidate_ipv6_snm_req
- Use shared MLID for IPv6 Solicited Node Multicast groups
- per MGID scope and P_Key.
- --log_prefix <prefix text>
- Prefix to syslog messages from OpenSM.
- --verbose, -v
- This option increases the log verbosity level.
- The -v option may be specified multiple times
- to further increase the verbosity level.
- See the -D option for more information about
- log verbosity.
- --V, -V
- This option sets the maximum verbosity level and
- forces log flushing.
- The -V is equivalent to '-D 0xFF -d 2'.
- See the -D option for more information about
- log verbosity.
- --D, -D <flags>
- This option sets the log verbosity level.
- A flags field must follow the -D option.
- A bit set/clear in the flags enables/disables a
- specific log level as follows:
- BIT LOG LEVEL ENABLED
- ---- -----------------
- 0x01 - ERROR (error messages)
- 0x02 - INFO (basic messages, low volume)
- 0x04 - VERBOSE (interesting stuff, moderate volume)
- 0x08 - DEBUG (diagnostic, high volume)
- 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 -D, OpenSM defaults to ERROR + INFO (0x3).
- Specifying -D 0 disables all messages.
- Specifying -D 0xFF enables all messages (see -V).
- High verbosity levels may require increasing
- the transaction timeout with the -t option.
- --debug, -d <number>
- This option specifies a debug option.
- These options are not normally needed.
- The number following -d selects the debug
- option to enable as follows:
- OPT Description
- --- -----------------
- -d0 - Ignore other SM nodes
- -d1 - Force single threaded dispatching
- -d2 - Force log flushing after each log message
- -d3 - Disable multicast support
- -d10 - Put OpenSM in testability mode
- Without -d, no debug options are enabled
- --help, -h, -?
- Display this usage info then exit.
- Extended OpenSM Service Control:
- 'sc control OpenSM 128' Clear OSM Log file.
- 'sc control OpenSM 129' Start a Heavy Sweep.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement