[ewg] Opensm for dual GUID

Atul Yadav atulyadavtech at gmail.com
Tue Feb 24 04:33:05 PST 2015


Hi Rosenstock,

Thanks for responding.

As per our requirement we want to achieve IB bonding for  HCA and Switch
level fail-over.

bond0 (Active- Passive)
Please provide opensm configuration parameter

[root at SRDCB0970RTGMS opensm]# ibstat
CA 'qib0'
        CA type: InfiniPath_QLE7342
        Number of ports: 2
        Firmware version:
        Hardware version: 2
        Node GUID: 0x00117500006f5f4c
        System image GUID: 0x00117500006f5f4c
        Port 1:
                State: Active
                Physical state: LinkUp
                Rate: 40
                Base lid: 1
                LMC: 0
                SM lid: 1
                Capability mask: 0x0761086a
                Port GUID: 0x00117500006f5f4c
                Link layer: InfiniBand
        Port 2:
                State: Down
                Physical state: Disabled
                Rate: 10
                Base lid: 65535
                LMC: 0
                SM lid: 65535
                Capability mask: 0x07610868
                Port GUID: 0x00117500006f5f4d
                Link layer: InfiniBand
CA 'qib1'
        CA type: InfiniPath_QLE7342
        Number of ports: 2
        Firmware version:
        Hardware version: 2
        Node GUID: 0x00117500006f5f4a
        System image GUID: 0x00117500006f5f4c
        Port 1:
                State: Initializing
                Physical state: LinkUp
                Rate: 40
                Base lid: 65535
                LMC: 0
                SM lid: 65535
                Capability mask: 0x07610868
                Port GUID: 0x00117500006f5f4a
                Link layer: InfiniBand
        Port 2:
                State: Down
                Physical state: Disabled
                Rate: 10
                Base lid: 65535
                LMC: 0
                SM lid: 65535
                Capability mask: 0x07610868
                Port GUID: 0x00117500006f5f4b
                Link layer: InfiniBand
[root at SRDCB0970RTGMS opensm]#

[root at SRDCB0970RTGMS ~]# ibstat -p
0x00117500006f5f4c
0x00117500006f5f4d
0x00117500006f5f4a

0x00117500006f5f4b

[root at SRDCB0970RTGMS ~]# cat /etc/sysconfig/network-scripts/ifcfg-bond0
DEVICE=bond0
IPADDR=192.168.1.1
NETMASK=255.255.255.0
BROADCAST=192.168.1.255
ONBOOT=yes
BOOTPROTO=none
USERCTL=no
MTU=65520
BONDING_OPTS=" mode=1 primary=ib0 updelay=0 downdelay=0"
[root at SRDCB0970RTGMS ~]# cat /etc/sysconfig/network-scripts/ifcfg-ib*
DEVICE=ib0
USERCTL=no
ONBOOT=yes
MASTER=bond0
SLAVE=yes
BOOTPROTO=none
TYPE=Infiniband
PRIMARY=yes
DEVICE=ib1
USERCTL=no
ONBOOT=yes
MASTER=bond0
SLAVE=yes
BOOTPROTO=none
TYPE=Infiniband
DEVICE=ib2
USERCTL=no
ONBOOT=yes
MASTER=bond0
SLAVE=yes
BOOTPROTO=none
TYPE=Infiniband
DEVICE=ib3
USERCTL=no
ONBOOT=yes
MASTER=bond0
SLAVE=yes
BOOTPROTO=none
TYPE=Infiniband
[root at SRDCB0970RTGMS ~]#



Thank You

Atul Yadav





On Tue, Feb 24, 2015 at 5:55 PM, Hal Rosenstock <hal at dev.mellanox.co.il>
wrote:

> On 2/24/2015 5:19 AM, Atul Yadav wrote:
> > Hi Team,
> >
> > We are trying to setup the HCA and Switch level failover.
> >
> > Operating System:- Centos 6.5
> >
> > Please guide us
>
> To run OpenSM on multiple ports/HCAs on the same machine for the same
> subnet, multiple instances of OpenSM need to be invoked one per port/HCA
> and need separate but similar configuration.
>
> -- Hal
>
> >
> > Thank You
> >
> > Atul Yadav
> >
> >
> >
> > _______________________________________________
> > ewg mailing list
> > ewg at lists.openfabrics.org
> > http://lists.openfabrics.org/mailman/listinfo/ewg
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openfabrics.org/pipermail/ewg/attachments/20150224/00e87634/attachment.html>


More information about the ewg mailing list