Create check_replication