[DRBD-user] A few questions :)

Chip Burke cburke at innova-partners.com
Mon Jan 9 18:14:34 CET 2006

Note: "permalinks" may not be as permanent as we would like,
direct links of old sources may well be a few messages off.


**** after a reboot of my secondary server (replicate) i get
secondary/primary in /proc/drbd. Isn't supposed to be secondary/secondary ?

No, it will pop back on as the secondary just as you would expect. However,
if there was a heartbeat failover, heartbeat will set the secondary to
primary and the failed server will come back up as the secondary.

**** NFS works, i got the share working but i am lost with something about
the failover.
on the primary server, i got /dev/drbd0 mounted as /share/spool0/data/
which i share then... but this directory doesn't exists in the secondary
server (I followed an how-to) i guess i should create it and tell
heartbeat to mount automaticaly the file and share it then, i don't
really know if this theory is good, sounds logical to me.


The drbd device will only be usable if the original fails and the secondary
is set to primary. If they were both writable/readable you would get out of
sync and have corrupt data, therefore only the partition on the primary can
be mounted. Read this doc:

http://www.linux-ha.com/DataRedundancyByDrbd

Pay special attention to the section called Unattended Mode which shows how
to do an automated failover and mount using drbd and heartbeat.



________________________________________
Chip Burke
________________________________________


-----Original Message-----
From: drbd-user-bounces at lists.linbit.com
[mailto:drbd-user-bounces at lists.linbit.com] On Behalf Of Pierre Ancelot
Sent: Monday, January 09, 2006 12:06 PM
To: drbd-user at linbit.com
Subject: [DRBD-user] A few questions :)

Hi everyone, here are a few questions.
I have setup drbd/nfs/heartbeat but for example, after a reboot of my
secondary server (replicate) i get secondary/primary in /proc/drbd.
Isn't supposed to be secondary/secondary ?

NFS works, i got the share working but i am lost with something about
the failover.
on the primary server, i got /dev/drbd0 mounted as /share/spool0/data/
which i share then... but this directory doesn't exists in the secondary
server (I followed an how-to) i guess i should create it and tell
heartbeat to mount automaticaly the file and share it then, i don't
really know if this theory is good, sounds logical to me.

Thanks for your help...
Pierre

_______________________________________________
drbd-user mailing list
drbd-user at lists.linbit.com
http://lists.linbit.com/mailman/listinfo/drbd-user





More information about the drbd-user mailing list