use is_primary_site() for checking if we are running on the primary mirror