Faking a Failover
Over the Top With Samba Clusters
Christopher R. Hertel Samba Team May 2017
Faking a Failover Over the Top With Samba Clusters Christopher R. - - PowerPoint PPT Presentation
Faking a Failover Over the Top With Samba Clusters Christopher R. Hertel Samba Team May 2017 Introductions Introductor a t i o n a r y e s q u e n e s s e si s m Me: Samba Team Elder SMB Wizard with: The opinions expressed are my
Christopher R. Hertel Samba Team May 2017
A Big Giant Semantics Engine
Samba has to keep track
TDBs, generally, form Samba's state machine.
Using CTDB:
○ Changes rapidly ○ May be safely lost when a server node is lost
○ Less dynamic ○ Must be consistent Provides a distributed state machine.
Samba Clusters:
features in the underlying FS
When a server node fails, clients can reconnect to any cluster node.
Samba provides limited support for Durable Handles in a single-server
Use in Clusters.)
Samba doesn't support this, but it could be implemented in the VFS layer by catching the IOCTL call. Still, not intended for clusters.
Persistent handles were added specifically to support Continuous Availability (CA).
file-handle recovery following a brief network outage.
support for failover to another node following a cluster node failure.
What do you mean by Fake Failover?
Why do such a silly thing?
Handle Support
timeout
Remember our mantra? This is theory.
How would this work?
New semantics:
Handle ID, & any state that exists for the duration of the open
Uncommitted/Un-ACKed changes
Do not expect Durable Handles to survive a full cluster failure. (That's for Persistent Handles.)
Implementation Options
Distributed memory cache with client-driven replication
Uncommitted/Un-ACKed changes
New CTDB storage modes were presented earlier by Amitay/Martin.