fence_ilo2: 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_ilo2 - from package: fence-agents

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