Mattermost high availability
Validate a clustered Mattermost deployment across HTTP, WebSocket and shared file paths.
Last updated
On this page (5)
Mattermost ยท High availability
Before you start
- Mattermost plan supporting HA.
- Load balancer with WebSocket support, shared database and shared file storage.
- Private cluster gossip networking.
Procedure
- Deploy matching app instances with common dependencies and the same cluster name; enable HA clustering and verify gossip connectivity.
- Balance HTTP and WebSocket traffic across healthy instances; test cross-node message delivery and file access first.
- Drain or stop one staging application instance while two test clients exchange messages and attachments.
Verify the result
- The surviving instance serves requests and disconnected clients reconnect; verify message visibility and a fresh attachment download.
- Node membership recovers when the stopped instance rejoins; database and file-store resilience are tracked independently.
