27.12.2014 Views

QLogic OFED+ Host Software User Guide, Rev. B

QLogic OFED+ Host Software User Guide, Rev. B

QLogic OFED+ Host Software User Guide, Rev. B

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

C–VirtualNIC Interface Configuration and Administration<br />

VirtualNIC Interface Configuration and Administration<br />

To start the qlgc_vnic driver and the <strong>QLogic</strong> VNIC interfaces, use the following<br />

command:<br />

/etc/init.d/qlgc_vnic start<br />

To stop the qlgc_vnic driver and bring down the VNIC interfaces, use the following<br />

command:<br />

/etc/init.d/qlgc_vnic stop<br />

To restart the qlgc_vnic driver, use the following command:<br />

/etc/init.d/qlgc_vnic restart<br />

If you have not started the InfiniBand network stack (<strong>QLogic</strong> <strong>OFED+</strong> or OFED),<br />

then running the /etc/init.d/qlgc_vnic start command also starts the<br />

InfiniBand network stack, since the <strong>QLogic</strong> VNIC service requires the InfiniBand<br />

stack.<br />

If you start the InfiniBand network stack separately, then the correct starting order<br />

is:<br />

• Start the InfiniBand stack.<br />

• Start <strong>QLogic</strong> VNIC service.<br />

For example, if you use <strong>QLogic</strong> <strong>OFED+</strong> <strong>Host</strong> <strong>Software</strong>, the correct starting order<br />

is:<br />

/etc/init.d/openibd start<br />

/etc/init.d/qlgc_vnic start<br />

If you want to restart the <strong>QLogic</strong> VNIC interfaces, run the following command:<br />

/etc/init.d/qlgc_vnic restart<br />

You can get information about the <strong>QLogic</strong> VNIC interfaces by using the following<br />

script (as a root user):<br />

ib_qlgc_vnic_info<br />

This information is collected from the<br />

/sys/class/infiniband_qlgc_vnic/interfaces/ directory, where there is a<br />

separate directory corresponding to each VNIC interface.<br />

VNIC interfaces can be deleted by writing the name of the interface to the<br />

/sys/class/infiniband_qlgc_vnic/interfaces/delete_vnic file. For<br />

example, to delete interface veth0, run the following command (as a root user):<br />

echo -n veth0 ><br />

/sys/class/infiniband_qlgc_vnic/interfaces/delete_vnic<br />

D000046-005 B C-13

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!