642951
# Problem #1: Multiple IB fabrics needing a subnet manager
642951
#
642951
# In the event that a machine has more than one IB subnet attached,
642951
# and that machine is an opensm server, by default, opensm will
642951
# only attach to one port and will not manage the fabric on the
642951
# other port.  There are two ways to solve this problem:
642951
#
642951
# 1) Start opensm on multiple machines and configure it to manage
642951
#    different fabrics on each machine
642951
# 2) Configure opensm to start multiple instances on a single
642951
#    machine
642951
#
642951
# Both solutions to this problem require non-standard configurations.
642951
# In other words, you would normally have to modify /etc/rdma/opensm.conf
642951
# and once you do that, the file will no longer be updated for new
642951
# options when opensm is upgraded.  In an effort to allow people to
642951
# have more than one subnet managed by opensm without having to modify
642951
# the system default opensm.conf file, we have enabled two methods
642951
# for modifying the default opensm config items needed to enable
642951
# multiple fabric management.
642951
#
642951
# Method #1: Create multiple opensm.conf files in non-standard locations
642951
#   Copy /etc/rdma/opensm.conf to /etc/rdma/opensm.conf.<number>
642951
#     (do this once for each instance you want started)
642951
#   Edit each copy of the opensm.conf file to reflect the necessary changes
642951
#     for a multiple instance startup.  If you need to manage more than
642951
#     one fabric, you will have to change the guid option in each file
642951
#     to specify the guid of the specific port you want opensm attached
642951
#     to.
642951
#
642951
# The advantage to method #1 is that, on the off chance you want to do
642951
# really special custom things on different ports, like have different
642951
# QoS settings depending on which port you are attached to, you have the
642951
# freedom to edit any and all settings for each instance without those
642951
# changes affecting other instances or being lost when opensm upgrades.
642951
#
642951
# Method #2: Specify multiple GUIDS variable entries in this file
642951
#   Uncomment the below GUIDS variable and enter each guid you need to attach
642951
#     to into the list.  If using this method you need to enter each
642951
#     guid into the list as we won't attach to any default ports, only
642951
#     those specified in the list.
642951
#
642951
#GUIDS="0x0002c90300048ca1 0x0002c90300048ca2"
642951
#
642951
# The obvious advantage to method #2 is that it's simple and doesn't
642951
# clutter up your file system, but it is far more limited in what you
642951
# can do.  If you enable method #2, then even if you create the files
642951
# referenced in method #1, they will be ignored.
642951
#
642951
# Problem #2: Activating a backup subnet manager
642951
#
642951
# The default priority of opensm is set so that it wants to be the
642951
# primary subnet manager.  This is great when you are only running
642951
# opensm on one server, but if you want to have a non-primary opensm
642951
# instance for failover, then you have to manually edit the opensm.conf
642951
# file like for problem #1.  This carries with it all the problems
642951
# listed above.  If you wish to enable opensm as a non-primary manager,
642951
# then you can uncomment the PRIORITY variable below and set it to
642951
# some number between 0 and 15, where 15 is the highest priority and
642951
# the primary manager, with 0 being the lowest backup server.  This method
642951
# will work with the GUIDS option above, and also with the multiple
642951
# config files in method #1 above.  However, only a single priority is
642951
# supported here.  If you wanted more than one priority (say this machine
642951
# is the primary on the first fabric, and second on the second fabric,
642951
# while the other opensm server is primary on the second fabric and
642951
# second on the primary), then the only way to do that is to use method #1
642951
# above and individually edit the config files.  If you edit the config
642951
# files to set the priority and then also set the priority here, then
642951
# this setting will override the config files and render that particular
642951
# edit useless.
642951
#
642951
#PRIORITY=15