I manage several small clusters ranging from 8-12 machines each. I use the same httpd.conf on each machine within a cluster except for one minor difference. At the bottom of each httpd.conf I have the following:
Header add Cluster "MyServer03"
Where the name of the machine would be MyServer03. This is very handy in debugging in FireBug, knowing which server I'm hitting.
Unfortunately it makes it a pain when I want to change this file, because I have to do it individually on each box. I decided to write a script to change the last line for me and push it out, but then I thought that there must be a way in Apache to do something like this:
Header add Cluster "%SERVER_NAME"
Unfortunately that doesn't work, but it could be that I don't know the correct variable to use.
Any insight on this would be appreciated.