Hi all,
I'm preparing for EX436 exam on RH labs and testing many scenarios. One of these scenarios is prepare cluster with assigned two IP addresses to each node and then use iscsi target with dlm, multipath and LVM's.
Everything goes somoothly till... I starting with LVM configuration. I getting error "Global lock failed: check that global lockspace is started".
Below steps which I using for reproduce that error:
Yes. Without any problem.
Hello @Bartas1979 !
Thanks for reaching out !
Could you please quickly let me know the guided exercise or the chapter -section which you are practising for this issue in RH436 course ?
Hello,
Well... there is no section exactly like this. I'm basing it on "compreview-gfs2" with a few small changes (as described above).
Ok @Bartas1979 ! What about use_lvmlockd = 1 in the global section of /etc/lvm/lvm.conf ? if it is currently set to 1 then change it to 0 and then recheck.
or Ensure that only one heartbeat address is configured per cluster node in /etc/corosync/corosync.conf
( check /var/log/messages for the dlm error )
Thank you for your suggestions. I tried some time ago change use_lvmlockd parameter on 0. Result is pvcreate /dev/mapper/diska command works but next step is failed again:
vgcreate --shared vg1 /dev/mapper/diska
Using a shared lock type requires lvmlockd.
About second part of your suggestion - "Ensure that only one heartbeat address is..." I guess you mean to remove one address from section:
ok @Bartas1979 , check this if this doc is of any help
Thank you @Chetan_Tiwary_ for links with documentation. Really appreciate that but... it still not cover my issue.
Red Hat
Learning Community
A collaborative learning environment, enabling open source skill development.