Some questions about ctdb availability when some node is crashed
martin at meltin.net
Thu Nov 15 17:55:15 MST 2012
On Sun, 11 Nov 2012 15:23:02 +0800, XW Huang <xwhuang123 at gmail.com>
> A record (/tmp/test) is stored in a persistent tdb (test.tdb) by this
> $sudo ctdb pstore test.tdb /tmp/test /tmp/test
> This record is fetched again and again on node-1.
> Then, node-1's network interface was turned down to simulate it is crashed
> by this command.
> $sudo ifconfig eth0 down
> However, the records in test.tdb can not be fetched anymore.
> But "ctdb getdbstatus" says test.tdb is healthy
> and "ctdb catdb" can dump its content:
It sounds like you are still trying to fetch the record on node 1.
That won't work. CTDB isn't available on that node.
If you are providing a CIFS service using Samba/CTDB then when a node
fails, the IPs hosted by the failed node will be moved to other nodes
so that they can continue to provide the CIFS service. Then any data
that Samba needs from CTDB can be fetched on those other nodes.
Does that help? :-)
peace & happiness,
More information about the samba-technical