Q-Logic IB6054601-00 D Manuel D’Utilisation

Page de 122
2 – InfiniPath Cluster Administration
Configuration and Startup
2-12
IB6054601-00 D
Q
To verify the configuration, type:
ifconfig ib0
The output from this command should be similar to this:
ib0   Link encap:InfiniBand  HWaddr
00:00:00:02:FE:80:00:00:00:00:00:00:00:00:00:00:00:00:00:00
inet addr:10.1.17.3  Bcast:10.1.17.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST  MTU:2044  Metric:1 
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:128
RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)
Next, type:
ping -c 2 -b 10.1.17.255
The output of the ping command should be similar to that below, with a line for 
each host already configured and connected:
WARNING: pinging broadcast address
PING 10.1.17.255 (10.1.17.255) 517(84) bytes of data.
174 bytes from 10.1.17.3: icmp_seq=0 ttl=174 time=0.022 ms
64 bytes from 10.1.17.1: icmp_seq=0 ttl=64 time=0.070 ms (DUP!)
64 bytes from 10.1.17.7: icmp_seq=0 ttl=64 time=0.073 ms (DUP!)
The IPoIB network interface is now configured.
NOTE:
The configuration must be repeated each time the system is rebooted.
2.4.8
OpenSM
OpenSM is an optional component of the OpenFabrics project that provides a 
subnet manager for InfiniBand networks. This package can be installed on all 
machines, but only needs to be enabled on the machine in your cluster that is going 
to act as a subnet manager. You do not need to use OpenSM if any of your InfiniBand 
switches provide a subnet manager.
After installing the opensm package, OpenSM is configured to be on on the next 
machine reboot. It only needs to be enabled on the node which acts as the subnet 
manager, so use the chkconfig command (as root) to disable it on the other nodes:
chkconfig opensmd off
The command to enable it on reboot is:
chkconfig opensmd on
You can start opensmd without rebooting your machine as follows:
/etc/init.d/opensmd start