Dear All,
I have recently installed FhGFS on a two-node cluster, where each machine
is both client, server, and metadata server. After rebooting, I sometimes
see that one of the metadata nodes (the non-root one) is reported as
having no connection, but everything works fine and the metadata nodes are
reported as being reachable from both nodes. How could this be the case?
After restarting the metadata service, both meta nodes are reported with a
connection.
This is a sequence of calls (lets call node1 the one that is also
management node):
******
root@node2~ fhgfs-ctl mode=listnodes nodetype=metadata print_details
mgmt_nodes
=============
node1
Connections: TCP: 1 (
192.168.3.2:8008);
meta_nodes
=============
node1
Connections: RDMA: 1 (
192.168.3.2:8005);
node2
Connections: <none>
storage_nodes
=============
node1
Connections: RDMA: 1 (
192.168.3.2:8003);
node2
Connections: RDMA: 1 (
192.168.3.1:8003);
## But everything works. Moreover, if I do:
root@node1:~# fhgfs-ctl mode=listnodes nodetype=metadata check_reachability
node1
Reachable: <yes>
node2
Reachable: <yes>
## and fhgfs knows about interfaces and connections
root@node2:/etc/fhgfs# fhgfs-ctl mode=listnodes nodetype=metadata print_details
node1
Ports: UDP: 8005; TCP: 8005
Interfaces: ib0(RDMA) ib0(TCP) eth1(TCP) eth0(TCP)
node2
Ports: UDP: 8005; TCP: 8005
Interfaces: ib0(RDMA) ib0(TCP) eth1(TCP) eth0(TCP)
Number of nodes: 2
Root: node1
## lets restart the service
root@node2:~# /etc/init.d/fhgfs-meta restart
### Things are now what I expected
root@node2:/mnt/fhgfs/R-patched# fhgfs-net
mgmt_nodes
=============
node1
Connections: TCP: 1 (
192.168.3.2:8008);
meta_nodes
=============
node1
Connections: RDMA: 1 (
192.168.3.2:8005);
node2
Connections: RDMA: 1 (
192.168.3.1:8005);
storage_nodes
=============
node1
Connections: RDMA: 1 (
192.168.3.2:8003);
node2
Connections: RDMA: 1 (
192.168.3.1:8003);
***************
Version of FhGFS: 2011.04.r16.debian6_amd64
Best,
R.
--
Ramon Diaz-Uriarte
Department of Biochemistry, Lab B-25
Facultad de Medicina
Universidad Autónoma de Madrid
Arzobispo Morcillo, 4
28029 Madrid
Spain
Phone:
+34-91-497-2412
Email:
rdi...@gmail.com
ramon...@iib.uam.es
http://ligarto.org/rdiaz