Worker: assign master ip before starting servers.