RcRaCk2k
13.09.07, 08:36
Servus Leute, ich klinke mich mal in diesen Thread mit ein, da ich ebenfalls ein kleines Problem mit drbd am Laufen habe und er einfach nicht nachgeben will... Sturrer Bock ;-)
Folgendes zu meinem Problem:
Ich habe 3 Rechner, alle sollen den gleichen Datenbestand haben. Ich habe nun alle Rechner in dir drbd.conf eingetragen und was passiert? Er meint There are multiple host sections for the peer. Maybe misspelled local host name 'semshop-loadbalancer-0-0-0' ... das verstehe ich nicht ganz:
Meine drbd.conf - File
global { usage-count yes; }
common { syncer { rate 10M; } }
resource r0 {
protocol C;
net {
cram-hmac-alg sha1;
shared-secret "semshopcluster";
}
on "semshop-loadbalancer-0-0-0" {
device /dev/drbd1;
disk /dev/sdb1;
address 192.168.254.1:7788;
meta-disk internal;
}
on "semshop-loadbalancer-0-0-2" {
device /dev/drbd1;
disk /dev/md4;
address 192.168.254.2:7788;
meta-disk internal;
}
on "semshop-loadbalancer-0-0-3" {
device /dev/drbd1;
disk /dev/md4;
address 192.168.254.3:7788;
meta-disk internal;
}
}
Sobald ich die Section on "semshop-loadbalancer-0-0-3" aus der File nehme, funktioniert der drbdadm up Befehl.
Was könnt ihr über das Problem sagen?
Liebe Grüße
Michael.
Folgendes zu meinem Problem:
Ich habe 3 Rechner, alle sollen den gleichen Datenbestand haben. Ich habe nun alle Rechner in dir drbd.conf eingetragen und was passiert? Er meint There are multiple host sections for the peer. Maybe misspelled local host name 'semshop-loadbalancer-0-0-0' ... das verstehe ich nicht ganz:
Meine drbd.conf - File
global { usage-count yes; }
common { syncer { rate 10M; } }
resource r0 {
protocol C;
net {
cram-hmac-alg sha1;
shared-secret "semshopcluster";
}
on "semshop-loadbalancer-0-0-0" {
device /dev/drbd1;
disk /dev/sdb1;
address 192.168.254.1:7788;
meta-disk internal;
}
on "semshop-loadbalancer-0-0-2" {
device /dev/drbd1;
disk /dev/md4;
address 192.168.254.2:7788;
meta-disk internal;
}
on "semshop-loadbalancer-0-0-3" {
device /dev/drbd1;
disk /dev/md4;
address 192.168.254.3:7788;
meta-disk internal;
}
}
Sobald ich die Section on "semshop-loadbalancer-0-0-3" aus der File nehme, funktioniert der drbdadm up Befehl.
Was könnt ihr über das Problem sagen?
Liebe Grüße
Michael.