GMAC: Grids Meets Autonomic Computing