QLogic 7104-1M-CABLE 用户手册
6–Configuring Drivers and Services
OpenFabrics Drivers and Services Configuration and Startup
OpenFabrics Drivers and Services Configuration and Startup
6-12
IB0056101-00 H
S
If you start the InfiniBand network stack separately, then the correct starting
order is:
order is:
Start the InfiniBand stack.
Start QLogic VNIC service.
For example, if you use InfiniPath, the correct starting order is:
# /etc/init.d/openibd start
# /etc/init.d/qlgc_vnic start
# /etc/init.d/qlgc_vnic start
The correct stopping order is:
Stop QLogic VNIC service.
Stop the InfiniBand stack.
For example, if you use InfiniPath, the correct stopping order is:
# /etc/init.d/qlgc_vnic stop
# /etc/init.d/openibd stop
# /etc/init.d/openibd stop
If you try to stop the InfiniBand stack when the QLogic VNIC service is
running, an error message displays, indicating that some of the modules of
the InfiniBand stack are in use by the QLogic VNIC service. Also, any
QLogic VNIC interfaces that you created are removed (because stopping
the InfiniBand network stack unloads the Host Channel Adapter driver,
which is required for the VNIC interfaces to be present).
running, an error message displays, indicating that some of the modules of
the InfiniBand stack are in use by the QLogic VNIC service. Also, any
QLogic VNIC interfaces that you created are removed (because stopping
the InfiniBand network stack unloads the Host Channel Adapter driver,
which is required for the VNIC interfaces to be present).
In this case, do the following:
Stop the QLogic VNIC service by typing:
/etc/init.d/qlgc_vnic stop
Stop the InfiniBand stack again.
If you want to restart the QLogic VNIC interfaces, run the following
command:
command:
# /etc/init.d/qlgc_vnic restart
You can get information about the QLogic VNIC interfaces by using the following
script (as a root user):
script (as a root user):
# ib_qlgc_vnic_info
This information is collected from the
/sys/class/infiniband_qlgc_vnic/interfaces/ directory, under which
/sys/class/infiniband_qlgc_vnic/interfaces/ directory, under which
there is a separate directory corresponding to each VNIC interface.
VNIC interfaces can be deleted by writing the name of the interface to the
/sys/class/infiniband_qlgc_vnic/interfaces/delete_vnic file. For
/sys/class/infiniband_qlgc_vnic/interfaces/delete_vnic file. For
example, to delete interface veth0, run the following command (as a root user):
# echo -n veth0 >
/sys/class/infiniband_qlgc_vnic/interfaces/delete_vnic
/sys/class/infiniband_qlgc_vnic/interfaces/delete_vnic