Transforms the Replication Server into a gateway to its RSSD, ID server, to a remote Replication Server, or to a remote data server.
Replication Server gateway can directly connect to Adaptive Server, and to Sybase® IQ data servers that do not require Enterprise Connect Data Access (ECDA). For other data servers, Replication Server gateway has to connect to use the ECDA to connect the Replication Server and the remote data server.
isql -Usa -P -S ost_replinuxvm_02 1> connect to 2> go
Gateway connection to 'ost_replinuxvm_01.emb' is created.
1> show server 2> go
ost_replinuxvm_01.emb
isql -Usa -P -S ost_replinuxvm_02 1> connect to ost_replinuxvm_03 2> go
1> show server 2> go
ost_replinuxvm_03
isql -Usa -P -S ost_replinuxvm_02 1> connect to ost_replinuxvm_01.pdb1 2> go
Gateway connection to 'ost_replinuxvm_01.pdb1' is created.
1> select db_name() 2> go
------------------------------ pdb1 (1 row affected)
Issuing the connect command requires an sa role for the first log in to Replication Server.
Issuing the connect command without specifying an option creates a gateway connection to the RSSD.
When acting as a gateway, Replication Server uses your RSSD primary user name and password to log in to RSSD, your ID server user name and password to log in to ID Server, and your Remote Server Identification (RSI) to log in to a remote Replication Server. You do not need to supply this information more than once, when you access Replication Server itself.
Cascaded connections created in the gateway are kept in a connection stack, with the Replication Server that issued the first connect command placed at the bottom of the stack.
Replication Server cannot directly connect to itself. However, you can work around this by using a cascading connection.
When using Replication Server Gateway, the client and the server must use the same locale set because Replication Server cannot perform character set conversion.