Find the answer to your Linux question:
Results 1 to 6 of 6
Hi, We have several production machines serving our static content. I want an automatic operation where I would only need to upload to one of them and it will get ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    May 2010
    Posts
    23

    Replicating web folders across production servers


    Hi,

    We have several production machines serving our static content. I want an automatic operation where I would only need to upload to one of them and it will get replicated/mirrored to all machines.
    Either that or distribute automatically from local source to all machines. First option is obviously better since all machines reside on same LAN and remote to our office.

    Another feature I am looking for is to get a full report on what got transferred and if any problems occurred immediately (since usually these deployments can mean downtime for us).

    Looking around I saw rsync. Anything else? any better way to do so?
    Using CentOS 5.4-5.5 btw.

    Cheers,
    DB

  2. #2
    Linux Guru coopstah13's Avatar
    Join Date
    Nov 2007
    Location
    NH, USA
    Posts
    3,149
    I would research and see if redhat.com | Red Hat Global File System trickled downstream into CentOS

  3. #3
    Just Joined!
    Join Date
    May 2010
    Posts
    23
    Sounds like a massive overkill no?

  4. #4
    Linux Guru coopstah13's Avatar
    Join Date
    Nov 2007
    Location
    NH, USA
    Posts
    3,149
    well if that is "overkill" then you could always write a cronjob that executes every 5 minutes or so that runs rsync from the source machine to the destination

  5. #5
    Just Joined!
    Join Date
    May 2010
    Posts
    23
    rsync it is.

    Thanks

  6. #6
    Just Joined!
    Join Date
    May 2010
    Posts
    23

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •