[ofa-general] how do I take IB interfaces offline?

Ira Weiny weiny2 at llnl.gov
Tue Feb 24 11:14:37 PST 2009


On Tue, 24 Feb 2009 10:58:36 -0700
Cameron Harr <cameron at harr.org> wrote:

> This is may be because you have the SM running. Try /etc/init.d/opensmd stop. If that doesn't work you'll want to find out what is actually using it. When you say RDMA, are you doing iSER or SRP? If that's the case, you'll need to free it up by removing it as a target or just unloading the modules.

Stopping the SM will not stop the traffic.  Try "ibportstate <switch_lid>
<port> disable" on the switch/port the HCA is plugged into.  This will
simulate the port going down.  You can then use "enable" to re-enable it.

Ira

> Cameron
> 
> Daniel Miles wrote: Re: [ofa-general] how do I take IB interfaces offline? Well, that would work, but it fails, telling me the mlx4_ib module is in use. I suspect this is because there are active RDMA connections on it, which is the reason I want to bring it down (I’m doing QA, I need to know what happens if the card goes offline).
> 


-- 
Ira Weiny
Math Programer/Computer Scientist
Larence Livermore National Lab
weiny2 at llnl.gov



More information about the general mailing list