opensm/opensm.conf
2008-06-30 23:33:50 +00:00

130 lines
4.4 KiB
Plaintext

OPTIONS="-B"
# DEBUG mode
# 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
# --- -----------------
# 0 - Ignore other SM nodes.
# 1 - Force single threaded dispatching.
# 2 - Force log flushing after each log message.
# 3 - Disable multicast support.
# 4 - Put OpenSM in memory tracking mode.
# 10.. Put OpenSM in testability mode.
# none, no debug options are enabled.
# OPTIONS="$OPTIONS -d 1"
# 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.
# OpenSM defaults to LMC = 0, which allows
# one path between any two ports.
# OPTIONS="$OPTIONS -l 0"
# MAXSMPS
# 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
# four outstanding SMP.
OPTIONS="$OPTIONS -maxsmps 0"
# REASSIGN_LIDS
# This option causes OpenSM to reassign LIDs to all
# end nodes. Specifying "REASSIGN_LIDS=yes" on a running subnet
# may disrupt subnet traffic.
# With "REASSIGN_LIDS=no", OpenSM attempts to preserve existing
# LID assignments resolving multiple use of same LID.
# OPTIONS="$OPTIONS -r"
# SWEEP
# This option specifies the number of seconds between
# subnet sweeps. Specifying SWEEP=0 disables sweeping.
# OpenSM defaults to a sweep interval of 10 seconds.
# OPTIONS="$OPTIONS -s 10"
# TIMEOUT
# This option specifies the time in milliseconds
# used for transaction timeouts.
# Specifying -t 0 disables timeouts.
# Without -t, OpenSM defaults to a timeout value of
# 200 milliseconds.
# OPTIONS="$OPTIONS -t 200"
# OSM_LOG
# This option defines the log to be the given file.
# By default the log goes to /tmp/osm.log, which isn't very suitable
# for a distribution, so we override it by default here.
# For the log to go to standard output use OSM_LOG=stdout.
OPTIONS="$OPTIONS -f /var/log/opensm.log"
# QoS
# This option enable QoS support in opensm
# OPTIONS="$OPTIONS -Q"
# QoS_POLICY
# This option sets the file from which to load the QoS policy
# OPTIONS="$OPTIONS -Y /etc/rdma/qos_policy"
# VERBOSE
# This option increases the log verbosity level.
# The "-v" option may be specified multiple times
# to further increase the verbosity level.
# "-V" option sets the maximum verbosity level and
# forces log flushing.
# The "-V" is equivalent to "-vf 0xFF -d 2".
# OPTIONS="$OPTIONS -v 0x00"
# ROUTING_ENGINE
# This option chooses the routing engine to use instead of the default
# algorithm Min Hop
# Supported engines are: updn, file, ftree, lash, dor
# OPTIONS="$OPTIONS -R updn"
# ROOT_GUID_FILE
# This option only allowed when UPDN algorithm is activated
# It specifies the guid list file from which to fetch the root node guid list
# The file contain in each line only one valid guid
# OPTIONS="$OPTIONS -a /etc/rdma/root_guids"
# CN_GUID_FILE
# This option only allowed when UPDN algorithm is activated
# It specifies the guid list file from which to fetch the compute node
# guid list
# The file contain in each line only one valid guid
# OPTIONS="$OPTIONS -u /etc/rdma/cn_guids"
# GUID
# 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 would list the available guids and wait for
# the user to select one (which obviously is no use in an init script)
# Without -g, OpenSM trys to use the default port.
# OPTIONS="$OPTIONS -g <guid in hex>"
# 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).
OPTIONS="$OPTIONS -p 15"
# OSM_CACHE_DIR
# There is no command line option to opensm to set this, it can only be set
# as an environment variable.
OSM_CACHE_DIR=/var/cache/opensm
# CACHE_OPTIONS
# Cache the given command line options into the file
# OSM_CACHE_DIR/opensm.opts for use next invocation
# Set to '--cache-options' or '-c' in order to enable
# OPTIONS="$OPTIONS -c"