Note: "permalinks" may not be as permanent as we would like,
direct links of old sources may well be a few messages off.
/ 2005-10-30 05:12:38 +0300 \ Louai Al-Awami: > 1. Suppose I mounted my drbd drive on the primary node using > > mount /dev/drbd/0 /tmp/drbd you definetly do not want a mount point in /tmp. put it in /mnt, or wherever. but not in tmp. > then I moved my webpage into drbd using: > > cp /var/www /tmp/drbd > > > > Finally, I make a soft link to the replicated webpage using > > ln -s /tmp/drbd /var/www > > The question is how to do this automatically, I don't really understand what exactly you want to automate, since this is a one time job, once setup, always in place. > and how to do the same thing on the secondary node so it does the > mounting when taking over. just put the symlink in place, and let heartbeat mount it on the same mount point. > 2. A second question, in case you have an LVS with a pool of identical > real servers that use drbd, I would like all real server to have the same > image of the block device. The question is who to do the same steps on the > real servers while they are all in secondary state to make use of the > replicated data simultaneously. I don't quite understand what you are asking for. but just in case: DRBD is strictly between two nodes. and at most one of them may access the data at any given time. -- : Lars Ellenberg Tel +43-1-8178292-0 : : LINBIT Information Technologies GmbH Fax +43-1-8178292-82 : : Schoenbrunner Str. 244, A-1120 Vienna/Europe http://www.linbit.com : __ please use the "List-Reply" function of your email client.