On 12/03/2012 12:03 PM, Rodrigo Abrantes Antunes wrote: >> >> Simple setup: put it all on one filesystem and put that on DRBD. See >> http://www.drbd.org/users-guide-8.3/s-heartbeat-r1.html[1] >> >> Also recommended: drbdlinks. >> >> HTH >> -- >> Dimitri Maziuk >> Programmer/sysadminBioMagResBank, UW-Madison -- http://www.bmrb.wisc.edu >> > I was reading about DRDB but it seems that it's not what I want. With DRDB > you need to create a separate partition and syncronize this between nodes, > but what I need is to syncronize / with all files in the disks just like > raid1, and these disks are already using lvm with ext3 filesystem. I need > this because I don't want to care about configuring 2 servers, i just want > all configs from one server to be replicated in the other (like vmware HA > where you don't need to care about the backup vm), if I need to configure > 2 servers I could just do a script copying files from one server to the
This is why I mentioned drbdlinks: at failover it can rename e.g. /etc/httpd to /etc/httpd.drbdlinks and make a symlink /etc/httpd -> /drbd/etc/httpd on the active node & back on the passive one. (You run it after drbd but before apache, obviously.) Or make a vm and run that in ha container as digimer suggested. You obviously can't completely share / because each node has to have enough of the kernel+init+everything else to boot up and start your ha stack. You'll still need to configure physical nodes to run the vm on, too. If you don't like it, pay amazon to do physical stuff for you. -- Dimitri Maziuk Programmer/sysadmin BioMagResBank, UW-Madison -- http://www.bmrb.wisc.edu
signature.asc
Description: OpenPGP digital signature
_______________________________________________ Linux-HA mailing list [email protected] http://lists.linux-ha.org/mailman/listinfo/linux-ha See also: http://linux-ha.org/ReportingProblems
