[Samba] How to reach partially online state in ctdb cluster

Amitay Isaacs amitay at gmail.com
Tue Oct 7 21:31:53 MDT 2014


On Tue, Sep 23, 2014 at 9:05 PM, Surabhi <sbhaloth at redhat.com> wrote:

> Hi,
>
> I am testing CTDB failover cases. For one of my test case I need to bring
> one of the nodes to partially online state .
> Looking for  help with the configuration that needs to be done to reach to
> this state.
>
> Thanks,
> Surabhi
>
> NOTE: I am testing CTDB2.5 version


CTDB is in PARTIALLYONLINE state if at least one of the configured
interfaces is up and one or more configured interfaces are down.

You need to enable PARTIALLYONLINE feature by setting
CTDB_PARTIALLY_ONLINE_INTERFACES="yes" in CTDB configuration
(/etc/sysconfig/ctdb or /etc/ctdb/ctdbd.conf). Assuming you have two
interfaces for hosting public IPs e.g. eth1 and eth2, then marking eth1 up
and eth2 down would create partially online state.

Amitay.


More information about the samba mailing list