- Install On Prem MMS >
- Start and Stop MMS Application
Start and Stop MMS Application¶
On this page
Start the On Prem MMS Server¶
Note
If you installed from a tar.gz
or zip
archive, you must create
a symlink located at the path /etc/init.d/mongodb-mms
that points
to the <install_dir>/bin/mongodb-mms
.
After configuring your On Prem MMS Monitoring deployment, you can start the MMS server with this command:
In some situations, starting MongoDB may take several minutes to pre-allocate the journal files. This is normal behavior.
You can now use the On Prem MMS Monitoring instance by visiting the URL specified
in the mms.centralUrl
parameter (e.g. http://mms.example.com:8080)
to continue configuration:
Unlike the SaaS version of MMS, On Prem MMS Monitoring stores user accounts in the local MongoDB instance. When you sign into the On Prem MMS Monitoring instance for the first time, the system will prompt you to register and create a new “group” for your deployment.
Because there are no Monitoring Agents attached to your account, the first page you see in On Prem MMS Monitoring will provide instructions for downloading the Monitoring Agent. Click the “download agent” link to download a pre-configured agent for your account. Continue reading this document for installation and configuration instructions for the MMS agent.
Stop the On Prem MMS Server¶
Enter the following command:
Startup Log File Output¶
The On Prem MMS server logs its output to a logs
directory inside
the installation directory. You can view this log information with the
following command:
If the server starts successfully, you will see content in this file that resembles the following:
Optional: Run as Different User¶
Edit
<install_dir>/conf/mms.conf
:Change Ownership of
<install_dir>
for new user:sudo chown -R foo_user:foo_group <install_dir>
Restart MMS server:
Optional: MMS Application Server Port Number¶
Edit
<install_dir>/conf/conf-mms.properties
:Edit
<install_dir>/conf/mms.conf
Restart MMS server: