George Potemkin
Member
Scenario:
Replication server is stopped on a source database for a few hours (4-20 hours).
When we start a replication server again it may write to a database log:
(-----) Enabled limited logins.
instead of:
(-----) Enabled default logins.
It's V11.7.
I guess since V12.8 the messages are numbered:
Enabled <login-type> logins. (20263)
Description: Replication process may enable different type of login so that only certain users can connect to the database at that time. For example, no regular client are allowed during a replication server startup, or transition time.
Disabled logins. (20264)
Description: Replication process may disable login so that no users can connect to the database.
Note that the status of logins is set /before/ a replication server tries to communicate with the agents on target databases. Login types are selected for a source database, and the decision is made solely based on source database.
Documentation describes the limited logins only for the target databases:
Access a target database
docs.progress.com
Limited logins are allowed immediately after the agent completes its startup. Normal logins that allow the access listed in the table that follows are allowed after synchronization completes.
Limited logins on source databases are nonsense if sessions connected to the database before the replication server was started continue to function as before. And they do. They can logout from a database but new sessions can't login:
Database connections are not allowed at this time. (10829)
Description: You might need to start some plugin processes first.
It’s the message issued by clients on screen. No messages in database log.
Some secondary login brokers at random time (most likely when a remote client is trying to connect a database) may issue the different message:
Database connections are not allowed at this time. (10836)
Description: Either you don't a have license to access the database or the database doesn't accept connection during start up process, try later.
The login status was not changed to the default one even when the source and target databases are synchronized.
The rescue is to restart a replication server. One attempt could be not enough. Once the customer was forced to repeat the attempts up to 6 times. Database restart does not guarantee a solution either. Be patient!
We are going to increate logginglevel to 3 when another incident will happen.
Replication server is stopped on a source database for a few hours (4-20 hours).
When we start a replication server again it may write to a database log:
(-----) Enabled limited logins.
instead of:
(-----) Enabled default logins.
It's V11.7.
I guess since V12.8 the messages are numbered:
Enabled <login-type> logins. (20263)
Description: Replication process may enable different type of login so that only certain users can connect to the database at that time. For example, no regular client are allowed during a replication server startup, or transition time.
Disabled logins. (20264)
Description: Replication process may disable login so that no users can connect to the database.
Note that the status of logins is set /before/ a replication server tries to communicate with the agents on target databases. Login types are selected for a source database, and the decision is made solely based on source database.
Documentation describes the limited logins only for the target databases:
Access a target database
Progress Documentation
Limited logins on source databases are nonsense if sessions connected to the database before the replication server was started continue to function as before. And they do. They can logout from a database but new sessions can't login:
Database connections are not allowed at this time. (10829)
Description: You might need to start some plugin processes first.
It’s the message issued by clients on screen. No messages in database log.
Some secondary login brokers at random time (most likely when a remote client is trying to connect a database) may issue the different message:
Database connections are not allowed at this time. (10836)
Description: Either you don't a have license to access the database or the database doesn't accept connection during start up process, try later.
The login status was not changed to the default one even when the source and target databases are synchronized.
The rescue is to restart a replication server. One attempt could be not enough. Once the customer was forced to repeat the attempts up to 6 times. Database restart does not guarantee a solution either. Be patient!
We are going to increate logginglevel to 3 when another incident will happen.