Step 4: Starting Heartbeat

edit

Start Heartbeat by issuing the appropriate command for your platform.

If you use an init.d script to start Heartbeat on deb or rpm, you can’t specify command line flags (see Command Line Options). To specify flags, start Heartbeat in the foreground.

deb:

sudo /etc/init.d/heartbeat start

rpm:

sudo /etc/init.d/heartbeat start

mac:

sudo ./heartbeat -e -c heartbeat.yml -d "publish"

win:

PS C:\Program Files\Heartbeat> Start-Service heartbeat

By default, Windows log files are stored in C:\ProgramData\heartbeat\Logs.

Heartbeat is now ready to check the status of your services and send events to your defined output.