.. meta:: :description: Running and restarting Micetro components :keywords: Micetro, maintenance .. _running-micetro: Running the Micetro Components (Central, Agents) ====================================================== .. _running-micetro-unix: Linux ----- After installation, all Micetro components are configured as system processes available through ``systemctl``. Only use ``systemctl`` to stop, (re)start, and query the status of the components: .. code-block:: bash systemctl status|start|stop|restart mmcentral systemctl status|start|stop|restart mmremote You can set several options when starting Men&Mice Central (by default ``/usr/sbin/mmcentral``): .. csv-table:: :widths: 30, 70 "-ll ", "Men&Mice Central sends event messages to the system log. You can change the log level for Men&Mice Central by using the –ll command-line option when starting the daemon. Possible levels are 0 - 5 (the default value is 3)" "-p ", "Set port number to listen to (default 1231)" "-u ", "Specifies the user name or user id that the program should run as" "-g ", "Specifies the group name or group id that the program should run as" "-d ", "Sets the path where the data files should be located (the default path is /var/mmsuite/mmcentral)" "-v", "Displays version information" "–h", "Displays available command line options for Men&Mice Central" For example: .. code-block:: bash mmcentrald -p 9876 -ll 5 -d /temp/data ---- .. _running-micetro-windows: Windows ------- Men&Mice Central ^^^^^^^^^^^^^^^^ Men&Mice Central runs as a service and you can start and stop Men&Mice Central using the Services application. You can also control Men&Mice Central using these command line options: .. csv-table:: :widths: 30, 70 "mmcentral –i", "Installs Men&Mice Central as a service" "mmcentral –u", "Uninstalls Men&Mice Central" "mmcentral –start", "Starts the Men&Mice Central service" "mmcentral –stop", "Stops the Men&Mice Central service" "mmcentral –v", "Displays version information" "mmcentral –h", "Displays available command line options for Men&Mice Central" Micetro Agents ^^^^^^^^^^^^^^ The Micetro DNS agent runs as a service and you can start and stop the agent using the Services application. You can also control the Micetro DNS agent using these command line options: .. csv-table:: widths: 30, 70 "mmremote –i", "Installs the Micetro DNS agent as a service" "mmremote –u", "Uninstalls the Micetro DNS agent" "mmremote –start", "Starts the Micetro DNS agent service" "mmremote –stop", "Stops the Micetro DNS agent service" "mmremote –v", "Displays version information" "mmremote –h", "Displays available command line options for the Micetro DNS agent"