Allow the use of symlinks within the Ops Manager directory
Sometimes it would be great if we could move the conf
, tmp
, or logs
directories to other filesystems and use symlinks so that Ops Manager doesn't have to worry about where the needed file physically are. Right now, Ops Manager refuses to start whenever this sort of redirection is done.
![](https://secure.gravatar.com/avatar/fa13c202f58b97c80a017c278ad54946?size=40&default=https%3A%2F%2Fassets.uvcdn.com%2Fpkg%2Fadmin%2Ficons%2Fuser_70-6bcf9e08938533adb9bac95c3e487cb2a6d4a32f890ca6fdc82e3072e0ea0368.png)
-
Bin commented
Could this feature be brought back?
This could be helpful which putting the "con'f" and "logs" data to some centralized location (Like NAS ,,,) for audit and restore purpose.
-
Bin commented
Ops Manger 4.2.9 support the soft link for "conf". "logs" and "/tmp" which can re-direct these folders to other directories to save these data.
But Ops Manger 5.0.1 doesn't support this.
If we use soft link for these folders, we got this error when trying to start Ops manager:
5.0.1/bin]> ./mongodb-mms start
Starting pre-flight checks
An unexpected error occurred during pre-flight checks: Key not found: mms.ldap.ssl.PEMKeyFile
java.lang.IllegalStateException: Key not found: mms.ldap.ssl.PEMKeyFile
at com.xgen.svc.core.AppSettings.getPropRequiredEffective(AppSettings.java:703)
at com.xgen.svc.core.AppSettings.getStrProp(AppSettings.java:788)
at com.xgen.svc.core.PreFlightCheck$LDAPSSLCheck.check(PreFlightCheck.java:422)
at com.xgen.svc.core.PreFlightCheck.performCheck(PreFlightCheck.java:164)
at com.xgen.svc.core.PreFlightCheck.performChecks(PreFlightCheck.java:140)
at com.xgen.svc.core.PreFlightCheck.performChecks(PreFlightCheck.java:126)
at com.xgen.svc.core.PreFlightCheck.main(PreFlightCheck.java:209)
Preflight check failed.