Configuring MongoDB for high availability
About this task
Beginning in Sametime 12.0, MongoDB clustering is handled during the install process for both Docker and Kubernetes.
Note: In the MongDB URL, if the user name or password includes the
following characters, they must be converted by using a percent sign: / ? # [ ] :
@.
Configuring MongoDB clustering on Docker
About this task
Configuring MongoDB clustering on Kubernetes
Procedure
- Provide a single node MongoDB information while running the prepareDeployement script.
- When the prepareDeployement process is complete, prepare your MongoDB cluster URL. For how to prepare the MongoDB URL, see the Connection String URI Format topic in the MongoDB documentation.
-
Use Base64 encoding to encrypt your MongoDB URL.
You can review online websites that provide Base64 encoding or you can set up one on your own.
-
Use the kubectl command to update the
sametime-meetings-global-secrets
secret configuration file.kubectl edit secret sametime-meetings-global-secrets
-
Inside the
sametime-meetings-global-secrets
, locate theMongoConnectionUrl
section. Replace the value for it with the value from Step 3. - Save your changes.