We are deploying Red Hat Enterprise Virtualization cluster and we faced a problem attempting to start clvmd service after the lvm partition creating. The following has been completed successfully:
vgchange -cy RHEVMVolGroup
lvmconf --enable-cluster
dracut...
reboot
Now we are trying to run:
service clvmd restart
and it failes with an error in /var/log/messages:
clvmd could not connect to cluster manager
Can't open cluster manager socket: No such file or directory
And strace -f clvmd
notices about the following troubles:
....
connect(.../var/run/cman_client...) (No such file or directory)
corosync.ipc (Connection refused)
....
Afterwards we can see that pvs
command reports about the problem from the other point of view:
...
connect () failed on local socket:
internal cluster lock. init. failed
...
Any help will be appreciated.