<div dir="ltr">Hi Rosenstock,<div><br></div><div>Thanks for responding.</div><div><br></div><div>As per our requirement we want to achieve IB bonding for  HCA and Switch level fail-over.</div><div><br></div><div>bond0 (Active- Passive)</div><div>Please provide opensm configuration parameter</div><div><br></div><p style="margin-bottom:12pt;background-image:initial;background-repeat:initial"><span lang="EN-IN" style="font-family:Calibri,sans-serif;color:black">[root@SRDCB0970RTGMS
opensm]# ibstat<br>
CA 'qib0'<br>
        CA type: InfiniPath_QLE7342<br>
        Number of ports: 2<br>
        Firmware version:<br>
        Hardware version: 2<br>
        Node GUID: 0x00117500006f5f4c<br>
        System image GUID:
0x00117500006f5f4c<br>
        Port 1:<br>
               
State: Active<br>
               
Physical state: LinkUp<br>
               
Rate: 40<br>
               
Base lid: 1<br>
               
LMC: 0<br>
               
SM lid: 1<br>
               
Capability mask: 0x0761086a<br>
               
Port GUID: 0x00117500006f5f4c<br>
               
Link layer: InfiniBand<br>
        Port 2:<br>
               
State: Down<br>
               
Physical state: Disabled<br>
               
Rate: 10<br>
               
Base lid: 65535<br>
               
LMC: 0<br>
               
SM lid: 65535<br>
               
Capability mask: 0x07610868<br>
               
Port GUID: 0x00117500006f5f4d<br>
               
Link layer: InfiniBand<br>
CA 'qib1'<br>
        CA type: InfiniPath_QLE7342<br>
        Number of ports: 2<br>
        Firmware version:<br>
        Hardware version: 2<br>
        Node GUID: 0x00117500006f5f4a<br>
        System image GUID:
0x00117500006f5f4c<br>
        Port 1:<br>
               
State: Initializing<br>
               
Physical state: LinkUp<br>
               
Rate: 40<br>
               
Base lid: 65535<br>
               
LMC: 0<br>
               
SM lid: 65535<br>
               
Capability mask: 0x07610868<br>
               
Port GUID: 0x00117500006f5f4a<br>
               
Link layer: InfiniBand<br>
        Port 2:<br>
               
State: Down<br>
               
Physical state: Disabled<br>
               
Rate: 10<br>
               
Base lid: 65535<br>
               
LMC: 0<br>
               
SM lid: 65535<br>
               
Capability mask: 0x07610868<br>
               
Port GUID: 0x00117500006f5f4b<br>
               
Link layer: InfiniBand<br></span></p><div><span style="color:black;font-family:Calibri,sans-serif">[root@SRDCB0970RTGMS opensm]#</span></div><p style="margin-bottom:12pt;background-image:initial;background-repeat:initial"><span lang="EN-IN" style="font-family:Calibri,sans-serif;color:black">[root@SRDCB0970RTGMS
~]# ibstat -p<br>
0x00117500006f5f4c<br>
0x00117500006f5f4d<br>
0x00117500006f5f4a</span></p><p style="margin-bottom:12pt;background-image:initial;background-repeat:initial"><span style="color:black;font-family:Calibri,sans-serif">0x00117500006f5f4b</span> </p><div><br></div><div><p style="margin-bottom:12pt;background-image:initial;background-repeat:initial"><span lang="EN-IN" style="font-family:Calibri,sans-serif;color:black">[root@SRDCB0970RTGMS
~]# cat /etc/sysconfig/network-scripts/ifcfg-bond0<br>
DEVICE=bond0<br>
IPADDR=192.168.1.1<br>
NETMASK=255.255.255.0<br>
BROADCAST=192.168.1.255<br>
ONBOOT=yes<br>
BOOTPROTO=none<br>
USERCTL=no<br>
MTU=65520<br>
BONDING_OPTS=" mode=1 primary=ib0 updelay=0 downdelay=0"<br>
[root@SRDCB0970RTGMS ~]# cat /etc/sysconfig/network-scripts/ifcfg-ib*<br>
DEVICE=ib0<br>
USERCTL=no<br>
ONBOOT=yes<br>
MASTER=bond0<br>
SLAVE=yes<br>
BOOTPROTO=none<br>
TYPE=Infiniband<br>
PRIMARY=yes<br>
DEVICE=ib1<br>
USERCTL=no<br>
ONBOOT=yes<br>
MASTER=bond0<br>
SLAVE=yes<br>
BOOTPROTO=none<br>
TYPE=Infiniband<br>
DEVICE=ib2<br>
USERCTL=no<br>
ONBOOT=yes<br>
MASTER=bond0<br>
SLAVE=yes<br>
BOOTPROTO=none<br>
TYPE=Infiniband<br>
DEVICE=ib3<br>
USERCTL=no<br>
ONBOOT=yes<br>
MASTER=bond0<br>
SLAVE=yes<br>
BOOTPROTO=none<br>
TYPE=Infiniband<br>
[root@SRDCB0970RTGMS ~]#</span><span lang="EN-IN" style="font-family:Calibri,sans-serif;color:rgb(40,40,40)"></span></p><p style="margin-bottom:12pt;background-image:initial;background-repeat:initial"><span lang="EN-IN" style="font-family:Calibri,sans-serif;color:black"><br></span></p><p style="margin-bottom:12pt;background-image:initial;background-repeat:initial"><span lang="EN-IN" style="font-family:Calibri,sans-serif;color:black"><br></span></p><p style="margin-bottom:12pt;background-image:initial;background-repeat:initial"><span lang="EN-IN" style="font-family:Calibri,sans-serif;color:black">Thank You</span></p><p style="margin-bottom:12pt;background-image:initial;background-repeat:initial"><span lang="EN-IN" style="font-family:Calibri,sans-serif;color:black">Atul Yadav</span></p><p style="margin-bottom:12pt;background-image:initial;background-repeat:initial"><span lang="EN-IN" style="font-family:Calibri,sans-serif;color:black"><br></span></p></div><div><br></div><div> </div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Feb 24, 2015 at 5:55 PM, Hal Rosenstock <span dir="ltr"><<a href="mailto:hal@dev.mellanox.co.il" target="_blank">hal@dev.mellanox.co.il</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On 2/24/2015 5:19 AM, Atul Yadav wrote:<br>
> Hi Team,<br>
><br>
> We are trying to setup the HCA and Switch level failover.<br>
><br>
> Operating System:- Centos 6.5<br>
><br>
> Please guide us<br>
<br>
</span>To run OpenSM on multiple ports/HCAs on the same machine for the same<br>
subnet, multiple instances of OpenSM need to be invoked one per port/HCA<br>
and need separate but similar configuration.<br>
<br>
-- Hal<br>
<br>
><br>
> Thank You<br>
><br>
> Atul Yadav<br>
><br>
><br>
><br>
> _______________________________________________<br>
> ewg mailing list<br>
> <a href="mailto:ewg@lists.openfabrics.org">ewg@lists.openfabrics.org</a><br>
> <a href="http://lists.openfabrics.org/mailman/listinfo/ewg" target="_blank">http://lists.openfabrics.org/mailman/listinfo/ewg</a><br>
<br>
</blockquote></div><br></div>