pacemaker_remoted command not found

In this troubleshooting guide we learn how to fix pacemaker_remoted command not found error message

Introduction

When you run more command in linux terminal / console, you get the following error message

pacemaker_remoted: command not found

or when using sudo you get the following error message

sudo: pacemaker_remoted: command not found

Solutions to pacemaker_remoted: command not found

How To Fix pacemaker_remoted: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu pacemaker_remoted is provided by pacemaker-remote package.

pacemaker-remote is:

At its core, Pacemaker is a distributed finite state machine capable of co-ordinating the startup and recovery of inter-related services across a set of machines.

Pacemaker understands many different resource types (OCF, SYSV, systemd) and can accurately model the relationships between them (colocation, ordering).

It can even use technology such as Docker to automatically isolate the resources managed by the cluster.

This package contains the Pacemaker proxy daemon, which simulates cluster services on a node not running the cluster stack. Such “remote” nodes can run resources but don’t participate in the quorum. This package is mutually exclusive with Pacemaker proper.

To fix this problem, we can install more using the command below.

sudo apt-get -y install pacemaker-remote

This command might take some time to finish depending on your machine internet connection.

You can also use apt command to install pacemaker-remote.

sudo apt -y install pacemaker-remote

Or if you have aptitude installed you can use the following command.

sudo aptitude install pacemaker-remote

Summary

In this tutorial we learn how to fix pacemaker_remoted command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.