hcisitectl

This controls the site daemons.

hcisitectl [-f] [-h host] [{ -K | -k what }] [-v] 
[{ -S | -s what}] [{ -R | -r what} -d delay] 
[-u #users] [-A args] [-n]
  • -f forces stopping of daemons.
  • -h host is the name of the remote host.
  • -K stops all daemon processes.
  • -k what stops specified daemons and what is a comma-separated list:
    • l is the lock manager.
    • m is hcimonitord.
  • -v checks for duplicate hcimonitord when starting/stopping MonitorD, preventing duplicate MonitorDs in one site.
  • -S starts all daemon processes.
  • -s what starts specified daemons and what is a comma-separated list:
    • l is the lock manager.
    • m is hcimonitord.
  • -R restarts all daemon processes.
  • -r what restarts specified daemons and what is comma-separated list:
    • l is the lock manager.
    • m is hcimonitord.
  • -d delay is the time-out delay when using -R or -r. See hcienginerestart.
  • -u #users specifies the maximum number of users for lock manager. #users defaults to 500 and must be greater than 200.
  • -A args specifies the startup args for daemons and v is a comma-separated list.

    Each entry is of the form: what=args, where what is d, l, or m and args are the arguments to pass to that daemon.

  • -n indicates not to run under service on NT.

If no options are specified, then the status of the daemons is verified and reported.

Note: Do not stop the Lock Manager without first ensuring that there are no running engine processes in the site.

As the errdb alert type requires database access, during start-up the Lock Manager should be started before starting the Monitor Daemon.

For shutdown, the Monitor Daemon should be shut down first, followed by the Lock Manager.

You can also start a specific daemon with an alert. In this example, the alert file is named foo.alert.

hcisitectl -s m -A "m=-cl foo.alert"

MonitorD parameters

For MonitorD, the available parameters are the same as hcimonitord:

  • -de eoc-pattern enables an engine output configuration pattern.
  • -dd eoc-pattern disables an engine output configuration pattern.
  • -cl cfg-list specifies a list of alert configuration files to process. Use a space to separate multiple file names in the list. If no file name is specified, then default.alrt is processed, if it exists.
  • -nl enables non-daemon mode. There is no log file. In this case, the Monitor Daemon runs in the foreground. This option is only used for debugging.
  • -D enables debugging information.
  • -S sitename is the site name.

To run a specific alert, you can use this command. In this example, the alert file is named foo.alert:

hcisitectl -s a -A "a=-cl foo.alert"