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!


You really need to discover puppet as this is what it's designed for. It'll streamline deploying new packages or updates to the boxes as well as manage the configuration files. You can even automate adding all the proper software and config files to new VMs. Its great for managing clusters and will greatly simplify what your having issues with.

|improve this answer|||||

I would move the config back onto local storage then use cfengine or puppet to control the config.

|improve this answer|||||

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.