QLogic 7104-10M-CABLE User Manual
6–Configuring Drivers and Services
Managing the InfiniPath Driver
Managing the InfiniPath Driver
6-16
IB0056101-00 H
S
This method will not reboot the system. The following set of commands shows
how to use this script.
how to use this script.
If OpenSM is configured and running, it must be stopped before the openibd
stop
command, and must be started after the openibd
start command. Omit
the commands to start/stop opensmd if you are not running it on that node.
The sequence of commands to restart the driver are as follows:
The sequence of commands to restart the driver are as follows:
# /etc/init.d/opensmd stop
# /etc/init.d/openibd stop
...
# /etc/init.d/openibd start
# /etc/init.d/opensmd start
# /etc/init.d/openibd stop
...
# /etc/init.d/openibd start
# /etc/init.d/opensmd start
The
...
represents whatever activity you are engaged in after infinipath is
stopped.
An equivalent way to restart the driver this is to use same sequence shown
previously, except use the restart command instead of start and stop:
previously, except use the restart command instead of start and stop:
# /etc/init.d/opensmd stop
# /etc/init.d/openibd restart
# /etc/init.d/opensmd start
# /etc/init.d/openibd restart
# /etc/init.d/opensmd start
You can check to see if opensmd is running by using the following command (as a
root user); if there is no output, opensmd is not configured to run:
# /sbin/chkconfig --list opensmd | grep -w on
When you need to determine which InfiniPath and OpenFabrics modules are
running, use the following command. You do not need to be a root user.
running, use the following command. You do not need to be a root user.
$ lsmod | egrep ’ipath_|ib_|rdma_|findex’
Unloading the Driver/Modules Manually
You can also unload the driver/modules manually without using
/etc/init.d/openibd. Use the following series of commands (as a root user):
/etc/init.d/openibd. Use the following series of commands (as a root user):
# umount /ipathfs
# fuser -k /dev/ipath* /dev/infiniband/*
# lsmod | egrep ’^ib_|^rdma_|^iw_’ | xargs modprobe -r
# fuser -k /dev/ipath* /dev/infiniband/*
# lsmod | egrep ’^ib_|^rdma_|^iw_’ | xargs modprobe -r
NOTE:
Stopping or restarting openibd terminates any QLogic MPI processes, as
well as any OpenFabrics processes that are running at the time.