-
Type: Task
-
Resolution: Declined
-
Priority: Minor - P4
-
None
-
Affects Version/s: None
-
Component/s: None
-
Labels:None
I'm running a replicaset mongo 4.0.21-ent on Red Hat Enterprise Linux Server release 7.9 (Maipo). I'm using ops manager and the mms automation to run mongo services, not the systemd mongo unit file.
After system patches, I restart a specific replicaset member. I see the member come online in ops manager, but mongo fails to start due to a missing `/var/run/mongodb` to check for an old mongod.pid file.
Manually, I create the directory and chmod to mongod. Then the mongo service being managed through mms automation comes back online.
How can I update the mss automation for this one node? The other two nodes don't have a /var/run/mongodb directory and neither has problems when patched. There is no mongodb.pid file at that location on ANY of the nodes.