fence_ilo_moonshot: 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 CentOS possible default full paths are:

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

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