Software Archive
Read-only legacy content
17061 Discussions

Setting up one common NFS server for mic on multiple hosts.

Ole_Saastad
Beginner
532 Views

I have four servers each hosting two phi cards. So far each of the servers export a volume using NFS which is mounted on the phis.  This works quite well except that one would like the NFS server to be common for  all the phi cards. As the routing is set up by default the mic0 and mic1 will only ping themselves and the host. Request to other servers is not routed. How do I set up the mics and the server to enable mounting of a common server for all the 8 phis ?

[olews@compute-19-20-mic0 olews]$ route

Kernel IP routing table

Destination Gateway Genmask Flags Metric Ref Use Iface

172.31.1.0 * 255.255.255.0 U 0 0 0 mic0

default host 0.0.0.0 UG 0 0 0 mic0

[olews@compute-19-20-mic0 olews]$

 

Default is set to host, but this does not forward the requests to the NFS server found on another server than the host.

Any simple routing command or easy solution ?

 

 

Regards,

Ole

 

 

0 Kudos
2 Replies
Frances_R_Intel
Employee
532 Views

You will need to set up a bridge. You can find directions for doing this in the MPSS User's Guide - look for information on setting up an external bridge. It can be done by either  editing the mic0.conf and mic1.conf files (section 14.4.4.5) or using the micctrl command (section 15.3.1.5). There are bits and pieces of other information on setting up the bridge scattered about in the User's Guide, but you might also want to look at the issues that someone else had doing this (http://software.intel.com/en-us/forums/topic/490138) to see what problems you might run into.

0 Kudos
Ole_Saastad
Beginner
532 Views

I eventually figured it out, the following procedure works fine:

service mpss stop

yum install bridge-utils

micctrl --addbridge=br0 --type=external --ip=$(hostname -i) --netbits=16

echo BRIDGE=br0 >> /etc/sysconfig/network-scripts/ifcfg-eth0

service network restart

 

micctrl --network=static --bridge=br0 --ip=10.110.1.170 mic0

micctrl --network=static --bridge=br0 --ip=10.110.1.171 mic1

 

micctrl --addnfs=/export-phi --server=10.110.0.180 --dir=/phi mic0

micctrl --addnfs=/export-phi --server=10.110.0.180 --dir=/phi mic1

 

Initially I used 10.110.1.1 as the nfs server, but switched to 10.110.0.180.

 

Not really ready for mass employment using pdsh yet, but I have only 4 hosts with mics.

 

Ole

 

0 Kudos
Reply