Note: "permalinks" may not be as permanent as we would like,
direct links of old sources may well be a few messages off.
Hi
I've set up a three node cluster following the instruction of the
official documentation, and alhtough the basics are working I noticed a
couple of problems.
I am using custom build packages with the following version strings
drbdmanage --version
drbdmanage 0.97; GIT-hash: UNKNOWN
drbdadm --version
DRBDADM_API_VERSION=2
DRBD_KERNEL_VERSION_CODE=0x090003
DRBDADM_VERSION_CODE=0x080907
DRBDADM_VERSION=8.9.7
First when creating a new ressource and using this ressource I always
get the message on the system console about a failed state change.
My ressources are properly synced on each node, but the warning is a bit
scary. Should I simply ignore it ?
[ 196.730357] drbd .drbdctrl: State change failed: Peer may not
become primary while device is opened read-only
On a different system,
I noticed as well some status mismatch between the ouput produced by
drbdmanage and drbdadm.
For instance at the momment I have a node with an out of sync ressource
(node name is px1)
928.831733] drbd vm-101-disk-1: State change failed: Need access to
UpToDate data
drbdadm shows the failure:
drbdadm status
vm-101-disk-1 role:Secondary
disk:Outdated
px2 connection:StandAlone
px3 connection:Connecting
but from drbdmanage side everything is fine (thx for the pastable option
BTW)
drbdmanage list-volumes --pastable | grep vm-101-disk1
| vm-101-disk-1 | 0 | 4 GiB | 101 | |
ok |
drbdmanage list-nodes --pastable
+----------------------------------------------------------------------------+
| Name | Pool Size | Pool Free | |
State |
|----------------------------------------------------------------------------|
| px1 | 45056 | 40960 | |
ok |
| px2 | 45056 | 40960 | |
ok |
| px3 | 45056 | 42996 | |
ok |
+----------------------------------------------------------------------------+
drbdmanage list-nodes
+---------------------------------------------------------------------+
| Name | Pool Size | Pool Free | | State |
|---------------------------------------------------------------------|
| px1 | 45056 | 40960 | | ok |
| px2 | 45056 | 40960 | | ok |
| px3 | 45056 | 42996 | | ok |
So I am under the impression that drbdmanage is too optimistic here ! or
am I missing something ?
Emmanuel