Note: "permalinks" may not be as permanent as we would like,
direct links of old sources may well be a few messages off.
Am Mittwoch, 5. Oktober 2005 11:51 schrieb Etienne van Tonder: > I've spent most of today reading the archives and many articles on DRBD, I > have a few questions if I may. I have an existing system running Suse9 pro > with RAID1, I've bought an exact same server and would like to set them up > running hearbeat and DRBD. > > 1. I presume I have to setup DRBD first and then Heartbeat. > Right. > 2. I'm a bit confused, when I think of RAID1 I think of a complete disk > being mirrored. Is this not the case with DRBD? From what I have read it > seems like it really only mirrors a single partition, is this correct? If > so what about the system files, if I make a change to a config file on the > primary, this change will not be mirrored to the secondary automatically? You should only mirror the "data" partition, you can not mirror the root FS with plain DRBD. (The other thing would be openSSI's DRBD, but that is way out of the context here.) It a kind of chicken - egg problem. > > 4. If I can not mirror the complete disk, what do I do with the data that > I'd like to mirror that currently exists on sda3. In particular I have a > posgresql database, php files that I change from time to time, and any > other files that I need to mirror. Do I have to copy these files to the > DRBD partition and change all the configs for these systems to point to the > new location? Right. > 5. Ideally I would have liked a system where all changes including updates > to packages, config files, data, etc. get mirrored by DRBD, if this is not > possible how do people prevent the secondary getting out of sync with > updates. If the primary fails and the secondary takes over it could be out > of date. You should mirror the config files with an other tool. E.g. csync2 . http://oss.linbit.com/csync2/ -phil -- : Dipl-Ing Philipp Reisner Tel +43-1-8178292-50 : : LINBIT Information Technologies GmbH Fax +43-1-8178292-82 : : Schönbrunnerstr 244, 1120 Vienna, Austria http://www.linbit.com :