The DB_SITE handle is used by Replication Manager applications to manage and configure replication sites. You create a DB_SITE handle using the DB_ENV->repmgr_site() , DB_ENV->repmgr_site_by_eid() , or DB_ENV->repmgr_local_site() , methods. All DB_SITE handles must be closed before closing DB_ENV handles. Use the DB_SITE->close() method to close a DB_SITE handle.