Leveraging the Grid for the Autonomic Management of Complex Infrastructures