create logical connection

Creates a logical connection. Replication Server uses logical connections to manage warm standby applications.

Syntax

create logical connection to data_server.database
[set logical_database_param [to] ‘value’
[set logical_database_param [to] ‘value’]...]

Parameters

Examples

Usage

  • create logical connection creates a logical connection to be used with warm standby applications. See the Replication Server Administration Guide Volume 2 for information about setting up and managing warm standby applications.

  • The logical connection is for a symbolic data_server.database specification. The data server and database do not have to be real; Replication Server maps them to the current active database.

  • If you are creating a logical connection for an existing connection, data_server.database must refer to the data server and database names of the existing connection. Otherwise, it is recommended that the logical name be different from the active and standby database names.

  • Replication definitions and subscriptions use the logical connection name.

  • After you create the logical connection, use rs_init to add the physical active and standby databases for the logical connection.

Permissions

create logical connection requires “sa” permission.

Related reference
alter logical connection
configure connection
configure logical connection
drop connection
drop logical connection
switch active
create alternate logical connection