Hi all,

I now have set up my 2 "clustered" servers (using drbd+heartbeat),
practically identical in every aspect (even the backup server hard disk
was replicated from the master at first installation) save a few
configurations (ip addresses and stuff).

What I'm attempting now is to have a system wherein if I update an rpm
package or recompile a new version of software at the primary machine,
the secondary would be updated too come next rsync.  I was wondering if
this will be possible without getting into too much trouble with Mr.
OS.  I'm thinking I could rsync the entire directories:

/usr/bin
/usr/sbin
/usr/lib
/usr/include
/bin
/sbin
/lib

Maybe /var/lib too?

Anyway, it should be safe enough not to overwrite files specific for
each server (eg some config files) and not break any library and file
dependencies, but be able to update the right binaries and files after,
say, I've compiled and installed a new version of apache and php, or did
an rpm update of an already existing package.

If this idea seems ridiculous, I can always just do things the long
way.  But it would really help if I can have one less server to worry
about everytime an important software update is needed.

Thanks a lot!


-- 
Joon

=====================
For every mad scientist who's had a convenient thunderstorm just on the
night his Great Work is finished and lying on the slab, there have been
dozens who've sat around aimlessly under the peaceful stars while Igor
clocks up the overtime.

"Good Omens", Neil Gaiman and Terry Pratchett

--
Philippine Linux Users' Group (PLUG) Mailing List
[EMAIL PROTECTED] (#PLUG @ irc.free.net.ph)
Official Website: http://plug.linux.org.ph
Searchable Archives: http://marc.free.net.ph
.
To leave, go to http://lists.q-linux.com/mailman/listinfo/plug
.
Are you a Linux newbie? To join the newbie list, go to
http://lists.q-linux.com/mailman/listinfo/ph-linux-newbie

Reply via email to