Note: "permalinks" may not be as permanent as we would like,
direct links of old sources may well be a few messages off.
Hello,
On 01/13/2012 12:56 PM, Benjamin Knoth wrote:
> Hi,
>
> i will create a 4 node replication with DRBD.
> I read also the documentation.
> I understand also the configuration of a 3 way replication, but how do i
> need to config the 4 way replication?
>
> I configured 2 2way resources successfully and now i need to config the
> stacked resource.
Have a look at:
http://www.drbd.org/users-guide-8.3/s-pacemaker-stacked-resources.html#s-pacemaker-stacked-dr
... a picture says more than 1000 words ;-)
>
> resource r0-U {
> {
> protocol A;
> }
> stacked-on-top-of r0 {
> device
> /dev/drbd10;
> address
> 192.168.42.1:7788;
> }
> on charlie {
> device /dev/drbd10;
> disk /dev/hda6;
> address 192.168.42.2:7788; # Public IP of the backup
> meta-disk internal;
> }
>
> }
>
>
> Is the solution to define on server alice and bob and charlie and daisy
> a lower level resource with protoc C and than one stacked resource where
> directly the stacked resource from alice and bob communicate with the
> stacked resource of charlie and daisy like this configuration?
Yes, configure the replication between two stacked resources.
>
> resource stacked {
> protocol A;
> stacked-on-top-of r0 {
> device /dev/drbd10;
> address 192.168.:7788;
> }
> stacked-on-top-of r0 {
> device /dev/drbd10;
> address 134.76.28.188:7788;
> }
> }
>
> Best regards
Regards,
Andreas
--
Need help with DRBD?
http://www.hastexo.com/now
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 286 bytes
Desc: OpenPGP digital signature
URL: <http://lists.linbit.com/pipermail/drbd-user/attachments/20120113/8fea176d/attachment.pgp>