Main Menu

Search

Showing posts with label smpartition. Show all posts
Showing posts with label smpartition. Show all posts

INFINIBAND: smpartition command to abort the changes done to partitions on IB Switch (How To Doc)

Below smpartition abort command can be used to abort any changes made to the partition.
smpartition abort
For making changes to partitions we first run "smpartition start", make changes to partitions using smpartition commands and then finally commit the changes using "smpartition commit" command. If for some reason if changes made to partitions has to be aborted, above "smpartition abort" command can be executed instead of "smpartition commit" command


Products to which Article Applies
Infiniband Switches


Article Author: Tarun Boyella

INFINIBAND: smpartition commands to add Port GUIDs to Partitions on IB Switches (How To Doc)

Below is the smpartition command sequences to add Port GUIDs to specific Partition key on IB switches.
smpartition start 
smpartition add -pkey <pkey> -port <GUID 1> <GUID 2> <GUID 3> ..... <GUID N> -m <membership> 
smpartition commit
<membership> in above smpartition add command can be full, both or limited.

 For e.g. if you want to add 0x0010eZZZZ1ca0271 0x0010eZZZZ1ca0272 GUIDs to partition key 8008 as both membership your commands will look as follows:
smpartition start 
smpartition add -pkey 0x0008 -port  0x0010eZZZZ1ca0271 0x0010eZZZZ1ca0272 -m both 
smpartition commit 
Products to which Article Applies
Infiniband Switches

Additional Reference
http://docs.oracle.com/cd/E36256_01/html/E36258/z400000a1907717.html


Article Author: Tarun Boyella

INFINIBAND: How To Add Node/Host Port GUIDs To A Particular Partition On Infiniband (IB) Switches? ("smpartition" Command)

Follow below steps to follow on Infiniband Switch running SM Master to add Node/host port GUIDs to a particular partition.

1. Login to the IB Switch running SM master as root user. "getmaster" command can be used to identify which IB Switch is running the SM master.

2. Start the SM partition using below command.

smpartition start

3. Add the Node/Host Port GUIDs to a partition using below command.
# smpartition add -pkey <PKey> -port <Port GUID1> <Port GUID2> ... <Port GUIDN> -m <membership>

For e.g. if you want to add port GUIDs 0010e0000164e371 and 0010e0000164e372 as full members to partition key 8008, your command looks as follows:

# smpartition add -pkey 0x0008 -port 0x0010e0000164e371 0x0010e0000164e372 -m full

NOTE: We have to use 0x0008 for 8008 partition (as per new IB firmware version standards from 2.1.5 & above) and for GUIDs we have to append 0x at the beginning.

4. Now commit the partition so that the new partition key addition changes are committed using below command.

smpartition commit

5. Now run below smpartition command and check if newly created partition is seen.

smpartition list active


Products to which Article Applies

Infiniband Switches

Additional Reference

https://docs.oracle.com/cd/E26698_01/html/E26434/z40004162037218.html#scrolltoc
 

INFINIBAND: How To Check Subnet Manager (SM) Partition Version On Infiniband (IB) Switches? ("smpartition" Command)

Below smpartition command can be used to check the SM partition version on the IB Switches.
smpartition list active no-page | grep version

Below is example output of above command showing partition version on IB Switch.
# smpartition list active no-page | grep ver
#! version_number : 190

NOTE: SM partition version should be same on the all the IB Switches on which SM is enabled.


Products to which Article Applies

Infiniband Switches

Additional Reference

https://docs.oracle.com/cd/E26698_01/html/E26434/z40000081987669.html