Unable to obtain configuration database lock

"Jason.Xue" <[email protected]> Thu, 11 Jul 2002 11:47:28 +0800
Newsgroups gmane.linux.failsafe
Message-ID <[email protected]>
Hi all

I have some configure questions need your help.

I have a two node cluster,the node is define as following:


cmgr> show node xfs1
Logical Machine Name: xfs1
Hostname: xfs1.fs
Is FailSafe: true
Nodeid: 1
Reset type: powerCycle
System Controller: null
System Controller status: enabled
System Controller owner: xfs3
System Controller owner device: /dev/ttyS0
System Controller owner type: tty
ControlNet Ipaddr: 192.168.9.141
ControlNet HB: true
ControlNet Control: true
ControlNet Priority: 1
ControlNet Ipaddr: 192.168.3.1
ControlNet HB: true
ControlNet Control: true
ControlNet Priority: 2

cmgr> show node xfs3
Logical Machine Name: xfs3
Hostname: xfs3.fs
Is FailSafe: true
Nodeid: 3
Reset type: powerCycle
System Controller: null
System Controller status: enabled
System Controller owner: xfs1
System Controller owner device: /dev/ttyS1
System Controller owner type: tty
ControlNet Ipaddr: 192.168.9.145
ControlNet HB: true
ControlNet Control: true
ControlNet Priority: 1
ControlNet Ipaddr: 192.168.3.3
ControlNet HB: true
ControlNet Control: true
ControlNet Priority: 2



but when I define cluster with the following command,it show errors:


cmgr> define cluster test_xfs
Enter commands, when finished enter either "done" or "cancel"

cluster test_xfs ? add node xfs1
cluster test_xfs ? add node xfs3
cluster test_xfs ? done
Unable to obtain configuration database lock. Please try again.

Failed to define cluster

define command failed


how can I do to continue my work? If my node define have errors?
my /etc/hosts file is as following:

127.0.0.1               localhost.localdomain localhost
192.168.9.141           xfs1.fs         xfs1
192.168.9.145           xfs3.fs         xfs3
192.168.3.1             xfs1.fs         xfs1
192.168.3.3             xfs3.fs         xfs3

Is there any errors?