I am following “NVMe-oF High Availability Clustering Using DRBD and Paceamker on RHEL 9” this guide.
When i am running the below commands i am getting this error " Unable to find agent ‘nvmet-subsystem’ and nvmet-namespace, try specifying its full name"
Commands:
pcs -f nvmet_config resource create p_nvme-subsystem_0 nvmet-subsystem
nqn=linbit-nqn0
op start timeout=10s interval=0
op stop timeout=10s interval=0
op monitor interval=10s timeout=10s
It sounds like you might just be missing the resource-agents package. It doesn’t look like the guide explicitly mentions this package should be installed.
# dnf install resource-agents
If you can confirm this, that would be great, and I can update the guide.
I just checked the packages for AlmaLinux 9 (assuming you’re using RHEL 9 or some variant) and I can see that they do not supply the necessary OCF resource agents for clustering NVMe in their packages.
You will either need to fetch those agents from the resource-agentsGitHub, or use the more current resource-agents package that LINBIT maintains in our customer repositories.