fence_mcdata: command not found

Have You tried accessing the binary with the full path?

Maybe Your $PATH variable doesn't contain the default paths? echo $PATH should give something like:

[root@server ~]# echo $PATH
/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin

If it's empty, You may set the PATH variable with this command

export PATH="/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin"

On Debian possible default full paths are:

/usr/sbin/fence_mcdata - from package: fence-agents

You may install the required package with command apt-get install {package}
Error in other languages:
fence_mcdata: bevel nie gevind nie
fence_mcdata: comandă negăsită
fence_mcdata: comando não encontrado
fence_mcdata: commande introuvable
fence_mcdata: command not found
fence_mcdata: käsku ei ole
fence_mcdata: không tìm thấy lệnh
fence_mcdata: komanda nerasta
fence_mcdata: Kommando nicht gefunden.
fence_mcdata: kommandot finns inte
fence_mcdata: komut yok
fence_mcdata: nie znaleziono polecenia
fence_mcdata: níor aimsíodh an t-ordú
fence_mcdata: no se encontró la orden
fence_mcdata: no s'ha trobat l'ordre
fence_mcdata: opdracht niet gevonden
fence_mcdata: parancs nem található
fence_mcdata: perintah tidak ditemukan
fence_mcdata: príkaz nenájdený
fence_mcdata: příkaz nenalezen
fence_mcdata: команда не найдена
fence_mcdata: командата не е открита
fence_mcdata: 命令找不到
fence_mcdata: コマンドが見つかりません