Collect hostnames on each server