finish auto scaling.
add ganglia metrics into all needed pages. changed some api.