1. Home
  2. Docs
  3. ClusterControl
  4. Components
  5. ClusterControl Controller
  6. Command Line Arguments

Command Line Arguments

By default, if you just run cmon (without any arguments), cmon defaults to run in the background. ClusterControl Controller (cmon) supports several command-line options as shown below:

Shorthand, Option Description
-h, --help Print help.
--help-config Print the manual for configuration parameters. See Configuration Options.
--help-init Shows the special options for --init.
-v, --version Prints out the version number and build info.
--logfile=[filepath] The path of the log file to be used.
-s, --syslog Also, log to Syslog.
-b, --bind-addr='ip1,ip2..' Bind Remote Procedure Call (RPC) to IP addresses (default is,::1). By default cmon binds to ‘’ and ‘::1’. If another bind-address is needed, then it is possible to define the bind addresses in the file /etc/default/cmon. See the Startup File.
-c, --cloud-service=URL A custom clustercontrol-cloud service URL.
-d, --nodaemon Run in the foreground. Ctrl + C to exit.
-e, --events-client=URL Additional RPC URL where backend sends events.
-g, --grant Create grants.
-i, --init Creates configuration file and database.
--log-rpc Log every RPC call (very verbose).
--no-safety-checks Do not check if another cmon is connected.
-p, --rpc-port=[integer] Listen on RPC port. The default is 9500.
-r, --directory=[directory] Running directory.
-u, --upgrade-schema Try to upgrade the CMON schema (Supported from CMON version 1.2.12 and later).
Was this article helpful to you? Yes No