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
Amitay Isaacs
2014-Oct-08 03:31 UTC
[Samba] How to reach partially online state in ctdb cluster
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 versionCTDB 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.