the fact that you dont use variable scope correctly has nothing to do with clustering a webserver...