sm-group コマンドは、IB サブネットの管理とモニタリングを行うためのサブネットグループの作成に使用します。
add sm-group name [–password=group-password] [–description=text]
remove sm-group name [–no-confirm]
set sm-group name [–password=group-password] [–description=text]
set sm-group name fabric-device fabric-device down
set sm-group name fabric-device fabric-device up
set sm-group name sm-key-set sm-key-set down
set sm-group name sm-key-set sm-key-set up
set sm-group name add fabric-device fabric-device
set sm-group name add sm-key-set sm-key-set trusted-mkey untrusted-mkey
set sm-group name set fabric-device [–routing-engine=routing-engine] [–priority=value] [–prefix-id=subnet-prefix-ID] [–controlled-handover={true|false}]
set sm-group name remove fabric-device fabric-device [–no-confirm]
set sm-group name remove sm-key-set sm-key-set [–no-confirm]
show sm-group name
show sm-group name sm-device
show sm-group name group-member
show sm-group name sm-key-set
ここでは:
fabric-device はファブリックデバイスの名前です。
name は SM グループの名前です。
sm-key-set は SM キーセットの名前です。SM キーは、OpenSM に関するメッセージを制御します。
trusted-mkey は、プログラミングスイッチに関するメッセージを制御します。この MKey は、すべてのスイッチに指定されます。
untrusted-mkey は、その他のメッセージを制御します。この MKey は、汎用の IB ファブリックの Mkey に似ています。
|
|
この例では、EngGroup という名前の SM グループを作成し、このグループに delaware という名前のファブリックデバイスを追加します。次に、ファブリックデバイスをオンラインにし、デバイスで ftree ルーティングエンジンを使用するように指定する方法を示します。
[OFM] add sm-group EngGroup -password-12344 [OFM] set sm-group EngGroup add fabric-device delaware [OFM] set sm-group EngGroup fabric-device delaware up [OFM] set sm-group EngGroup set delaware -routing-engine=ftree [OFM] show sm-group EngGroup sm-device name number-of-devices routing-engine status description ---------------------------------------------------------------- EngGroup 1 ftree good 1 record displayed