question about high available nfs and apache

Discussion in 'HOWTO-Related Questions' started by Randy, Nov 2, 2006.

  1. Randy

    Randy New Member

    Hi all,

    Is it possible to have directories like /etc and /var on an nfs volume as explained in the howto on Setting Up A Highly Available NFS Server? At this point I'm using rsync to have these dir's identical on two servers in a test farm. I read somewhere that apache has problems with a file locking mechanisme if installed on nfs. Anybody ?
    Second question. Since I'm using ispconfig, and sites will be created on one server and then rsynced to the second server. Is there a way to make apache detect the changes after the rsync so that it can reload automatically?

  2. falko

    falko Super Moderator ISPConfig Developer

    I don't think NFS is a problem, so it should be possible.

    You could write a sript that detects changes and restarts Apache, if necessary. Create a cron job for it that runs right after the rsync cron job.

Share This Page