On 06/27/2018 09:49 PM, David Teigland wrote:
On Wed, Jun 27, 2018 at 04:07:18PM +0800, Guoqing Jiang wrote:
But by default, seems dlm_controld just run with "-s 0". And I tried to add
"daemon_debug=1" to /etc/dlm/dlm.conf,
then dlm resource can't start at all. Could you tell me how to enable this
option? Thanks in advance!
That option doesn't work in dlm.conf, see
https://pagure.io/dlm/c/9fe973004d8dbffc07bbecbdbb6c828bfb832137?branch=master
What you want instead is:
log_debug=1
debug_logfile=1
Thanks for the help, I was misguided by the previous man page.
Then look in /var/log/dlm_controld/dlm_controld.log
However, I can't find the file with the above change during split-brain
test, perhaps I still missed something ..., thanks.
linux-u121:~ # cat /etc/dlm/dlm.conf
log_debug=1
debug_logfile=1
linux-u121:~ # ls /var/log/dlm_controld/dlm_controld.log
ls: cannot access '/var/log/dlm_controld/dlm_controld.log': No such file
or directory
linux-u121:~ # find / -name dlm_controld
/run/dlm_controld
/usr/sbin/dlm_controld
Regards,
Guoqing