Algorithms for Distributed Server Allocation Problem