Note: "permalinks" may not be as permanent as we would like,
direct links of old sources may well be a few messages off.
Hi Faisal, hi Martin, as Martin mentioned, using virtual servers is great way to mirror a (virtual) server completely - so even user information like /etc/passwd or /etc/shadow gets mirrored. For Vserver you find infos at: http://oldwiki.linux-vserver.org/Vserver+DRBD For OpenVZ I have written a howto that might help: http://wiki.openvz.org/HA_cluster_with_DRBD_and_Heartbeat At work we implemented such a cluster (using Virtuozzo - the commercial version of OpenVZ). There we have a chart that shows how it works: http://www.thomas-krenn.com/upload/imagebox/schaubild_cluster.jpg When using OpenVZ and building it yourself using the HowTO above, the chart would be very similar (but the commercial Virtuozzo GUIs would be missing as would the "Cluster Management" that we developed for this product). hth, Werner Cluster Developer at www.thomas-krenn.com On Wed, 2006-09-06 at 10:52 -0700, Martin Fick wrote: > If you really want to replicate your system, you could > consider using vservers. > > What I do is: I have a drbd partition which contains > an image of an entire vserver. The vserver can then > be brought up on either node. This allows for my > applications, vserver system configuration and data to > be replicated to both nodes and failed over with > heartbeat. I don't think that I would suggest sharing > your host system files though. > > Unfortunately I have not been able to run a nfs server > inside a vserver though. :( > > > -Martin > > --- Faisal Shaikh <fss at webstar.co.uk> wrote: > > > Hi, > > > > Is it advisable to replicate the system partitions > > as well as the data > > partitions (/var, / and /usr)? > > > > Both of my machines which I intend to use in the > > replication are i386 > > based (Athlon processors) and dont have any special > > hardware. They are > > _not_ hardware clones of each other. > > > > The advantages I can think of are > > 1. System config changes are synced across as well, > > so the secondary > > node is upto date configuration wise. > > 2. Less administration as a result of the above. > > 3. No need to relocate and make symlinks of > > directories like > > /var/lib/nfs etc.. > > > > Disadvantages: > > 1. Accidental mangling of config files on primary > > will be > > instantaneously transferred to secondary. > > 2. Unknown demons that will present themselves when > > I install new software. > > > > Thanks, > > Faisal > > > > _______________________________________________ > > drbd-user mailing list > > drbd-user at lists.linbit.com > > http://lists.linbit.com/mailman/listinfo/drbd-user > > > > > __________________________________________________ > Do You Yahoo!? > Tired of spam? Yahoo! Mail has the best spam protection around > http://mail.yahoo.com > _______________________________________________ > drbd-user mailing list > drbd-user at lists.linbit.com > http://lists.linbit.com/mailman/listinfo/drbd-user