Problema
Ao tentar executar o comando abaixo
Não obtemos sucesso e gera o erro:
Error: Agent 'ocf:linbit:drbd' is not installed or does not provide valid metadata: crm_resource: Metadata query for ocf:linbit:drbd failed: No such device or address, Error performing operation: No such object, use --force to override Error: Errors have occurred, therefore pcs is unable to continue
Solução
Esse problema ocorre por faltar instalar a dependência drbd-pacemaker
No Red Hat, CentOS e derivados, execute:
dnf install drbd-pacemaker -y
Comment on “Pacemaker: Erro “Agent ‘ocf:linbit:drbd’ is not installed or does not provide valid metadata””