* Josh Logan <joshl@example.com> [010926 23:21]:
>
> I would like to setup a HA pair and have a remote copy in a different
> site. i.e. Is it possible to have the data on three machines?
>
> Later, JOSH
>
The modell would be
+---------A---------+ drbd0
+--B/C--+ | drbd1
Node1 Node2 lastResortNode
... to stack two drbd devices on top of each other. It could work
on Linux-2.4.x in theory. But well, nobody knows if it works in real
live. ( While thinking about it, it will be necessary to patch the
scripts )
I would use protocol B for the HA pair, and use protocol A for the
WAN link.
The interesting part is: How to configure the left side of the
WAN drbd device ?
I would try to manage this by heartbeat via the service address of
the HA pair.
haresources:
Node1: xxx.xxx.xxx.xxx datadisk::drbd1 drbd::drbd0 service
and in drbd.conf:
resource drbd0 {
...
on ha-pair {
device=/dev/nb0
disk=/dev/nb1
addres=xxx.xxx.xxx.xxx
port=7788
}
...
}
-Philipp