Easy way to update apache on a server cluster with shared NFS conf?

Posted by Simon on Server Fault See other posts from Server Fault or by Simon
Published on 2011-01-30T16:32:23Z Indexed on 2011/01/30 23:27 UTC
Read the original article Hit count: 267

Filed under:
|

we have a server setup where a server cluster connected with a db/files/conf server shared by nfs serve our sites, behind an Elastic Load Balancer at Amazon EC2.

The setup works correctly, but keeping it up to date is becoming like hell, because the apache/php conf that webservers use is shared through NFS. So, if we try to run an apt-get upgrade on a server on the cluster, it will abort it due to the webserver is not able to write back the configuration to the nfs server.

Every time we want to update the machines, or install a package like php-curl, we need to create a new ami, so the changes will reflect on the new launched amis.

Could it be another way of doing the things simpler? Thanks in advance!

© Server Fault or respective owner

Related posts about amazon-ec2

Related posts about nfs