-
Notifications
You must be signed in to change notification settings - Fork 429
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
📖 Document CETS as an alternative to Mnesia
Add information to User’s Guide / Tutorials how to set up MIM with RDBMS + CETS. Update all docs relying on Mnesia configuration and commands like running_db_nodes to also show the CETS alternatives. Uses tabs in documentation.
- Loading branch information
1 parent
dd13079
commit 46c6b6e
Showing
7 changed files
with
226 additions
and
70 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
## CETS Config Example | ||
|
||
[CETS](https://github.com/esl/cets/) is a library, which allows to replicate in-memory data | ||
across the MongooseIM cluster. It could be used to store a list of online XMPP sessions, a list | ||
of outgoung S2S connections, steam management session IDs, a list of online MUC rooms. | ||
|
||
If you want to use CETS instead of Mnesia, ensure that these options are set: | ||
|
||
```ini | ||
[general] | ||
sm_backend = "cets" | ||
component_backend = "cets" | ||
s2s_backend = "cets" | ||
|
||
[internal_databases.cets] | ||
|
||
# The list of modules that use CETS | ||
# You should enable only modules that you use | ||
[modules.mod_stream_management] | ||
backend = "cets" | ||
|
||
[modules.mod_bosh] | ||
backend = "cets" | ||
|
||
[modules.mod_muc] | ||
online_backend = "cets" | ||
|
||
[modules.mod_jingle_sip] | ||
backend = "cets" | ||
``` | ||
|
||
Ensure that `outgoing_pools` are configured with RDBMS, so CETS could get a list of MongooseIM nodes, which use the same | ||
relational database and cluster them together. | ||
|
||
A preferred way to install MongooseIM is [Helm Charts](https://github.com/esl/MongooseHelm/) on Kubernetes, so it allows | ||
to set `volatileDatabase` to `cets` and the values would be applied using Helm's templates |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters