Do the rsync over SSH -- unless you don't allow root ssh access? On Feb 8, 2008 3:54 AM, Matt <[EMAIL PROTECTED]> wrote: > Alexander Hall schreef: > > > Matt wrote: > >> Hello, > >> > >> I am running a 4.2 webserver and want to add another machine as hot > >> spare. > >> The second machine is identical and is living in the same rack - this > >> is purely for hardware failure / easy upgrading and at a later stage > >> (need 3rd box) CARP. > >> > >> I understand I can use rsync over SSH to keep files updated and I can > >> replicate MySQL realtime. > >> But what about new packages I might install on the 'master' - is > >> there an easy way to (semi) instantly mirror those? > > > > Why could not rsync do this too? After installing package(s), just > > trigger an rsync update? > > > > /Alexander > > > Because of permissions mostly- you'll need root access for such an rsync. > I suppose I could indeed permit root login on the local network and > synchronise that way - excluding certain files so the spare keeps its > own identity. > I am just wondering if that is the way to go or are there "better" ways > of doing it? > > Thanks! > >
-- Systems Programmer, Principal Electrical & Computer Engineering The University of Arizona [EMAIL PROTECTED]

