[DRBD-user] Initial sync without the do-what-I-say command?

Varun Menghani varun.menghani at airtightnetworks.net
Fri Mar 24 10:39:41 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.


Hi,
I have written a script to configure hearbeat and drbd for a 2 node
cluster. On the server from which data is to be pushed, the script
executes the "drbdsetup /dev/drbd0 primary --do-what-I-say" command.
However, it is possible that a user might configure both the servers to 
push data on each other, in this case both the servers will try and
execute the do-what-i-say command, resulting in chaos.
My question is : Is there a way to do an initial sync without the
do-what-I-say command? e.g can I configure one node as primary, the
other as secondary and then data is syncronised from the primary to the
secondary node?
Regards,
Varun.
-- 
Varun Menghani <varun.menghani at airtightnetworks.net>
----

“THE INFORMATION IN THIS EMAIL AND ANY ATTACHMENTS IS CONFIDENTIAL AND
INTENDED SOLELY FOR THE USE OF THE PERSON NAMED ABOVE.  IF YOU ARE NOT
THE INTENDED RECIPIENT, OR HAVE OTHERWISE RECEIVED THIS EMAIL IN ERROR,
DO NOT READ, DISTRIBUTE, COPY OR OTHERWISE USE IT.  IF YOU HAVE RECEIVED
THIS COMMUNICATION IN ERROR, PLEASE IMMEDIATELY NOTIFY THE SENDER BY
TELEPHONE OR EMAIL, AND DESTROY THIS MESSAGE AND ANY ATTACHMENTS.  THANK
YOU.” 




More information about the drbd-user mailing list