User Manual

Rev 4.70
Mellanox Technologies
98
12 OpenSM - Subnet Manager
OpenSM v3.3.11 is an InfiniBand Subnet Manager. In order to operate one host machine or more
in the InfiniBand cluster., at least one Subnet Manger is required in the fabric.
OpenSM can run as a Windows service and can be started manually from the following directory:
<installation_directory>\tools. OpenSM as a service will use the first active port, unless it
receives a specific GUID.
OpenSM can be registered as a service from either the Command Line Interface (CLI) or the
PowerShell.
The following are commands used from the CLI:
To register it as a service execute the OpenSM service:
To start OpenSM as a service:
To run OpenSM manually:
For additional run options, enter:
“opensm.exe -h”
The following are commands used from the PowerShell:
To register it as a service execute the OpenSM service:
To start OpenSM as a service run:
Notes
For long term running, please avoid using the '-v' (verbosity) option to avoid exceeding
disk quota.
Running OpenSM on multiple servers may lead to incorrect OpenSM behavior.
Please do not run more than two instances of OpenSM in the subnet.
Please use the embedded OpenSM in the WinOF package for testing purpose in small
cluster. Otherwise, we recommend using OpenSM from FabricIT EFM™ or UFM® or
MLNX-OS®.
sc create OpenSM binPath= "c:\Program Files\Mellanox\MLNX_VPI\IB\Tools\opensm.exe
-service" start= auto
sc start OpenSM
opensm.exe
New-Service –Name "OpenSM" –BinaryPathName "`"C:\Program Files\Mella-
nox\MLNX_VPI\IB\Tools\opensm.exe`" --service -L 128" -DisplayName "OpenSM" –
Description "OpenSM for IB subnet" -StartupType Automatic
Start-Service OpenSM1