This is part2, we will create a user database that is a 3 instances
ReplicaSet.
MongoDB Ops Manager Series:
- Install MongoDB Ops
Manager
- Create a UserDB
ReplicaSet
- Expose UserDB to
Public
- Openssl
Generates Self-signed Certificates
- Enable UserDB TLS and
Auth
The so called Application Database
is the backend DB of
Ops Manager. It cannot be used to store user data. The user database is
called MongoDB Deployment
. Note that the
deployment
is different with Kubernetes
deployment
.
For simplicity, we will create a replicaset instead of a sharded
cluster. The configuration process is almost the same. Because sharded
cluster consists of more components, the configuration is more
complicated. Let's start with an easier one. :-)
Reference: Deploy MongoDB
Sharded Cluster by Ops Manager
Unfortunately, creating user database cannot be directly done by the
Ops Manager web UI. Most of the operations should be performed by the
MongoDB Kubernetes Operator
, aka the kubectl
command line. If you try to create it through web UI, you need to
manually configure variety of parameters and install Agents which I
don't know how to do it. So to my understanding, Ops Manager is a great
tool for visualization and automation tasks, but not good at cluster
manipulation. I think the reason is that the cluster specification is
too complicated to incorperated to the UI.