This chapter, with a more advanced focus, deals with high availability for the file server role in Samba 4 deployments. The objective of this chapter is to show how to implement a highly available file server using Samba 4 and software such as Clustered Trivial Database (CTDB) and the GlusterFS distributed filesystem.
The user will be instructed to implement this solution through step-by-step command-line examples, touching some of the many concepts involved and covering the following topics:
Preparing the Debian GNU/Linux environment
Configuring GlusterFS
Integrating CTDB [43], GlusterFS, and the Samba 4 Server
Executing some tests and validations on the highly available distributed filesystem server
The chapter will follow the objectives of the book in being practical, hence it should not be an exhaustive source for the technologies referenced here (for example, GlusterFS), and will not cover all the options and possible scenarios...