Dual Time-scale Distributed Capacity Allocation and Load Redirect Algorithms for Cloud Systems