Main Menu

Search

Showing posts with label add. Show all posts
Showing posts with label add. Show all posts

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