crm_resource: 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

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/crm_resource - from package: pacemaker-cli

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