only put hostname in /etc/headnodes
remove the disable chef recipe
dynamically set max number of mysql connections