When you create the logical connection, use the combination of logical data server name and logical database name, in the form data_server.database.
There are two methods for naming the logical connection:
If the active database has not yet been added to the replication system – use a different name for the logical connection than for the active database. Using unique names for the logical and physical connections makes switching the active database more straightforward.
If the active database has previously been added to the replication system – use the data_server and database names of the active database for the logical connection name. The logical connection inherits any existing replication definitions and subscriptions that reference this physical database.
When you create a replication definition or subscription for a warm standby application, specify the logical connection instead of a physical connection. Specifying the logical connection allows Replication Server to reference the currently active database.
See “Warm standby applications using replication” for more information. Also see “Using replication definitions and subscriptions”.