Configuration of distributed systems