if primary cfg_dbserver terminates CME stays in Read-Only-Mode until the primary is running again AND in primary mode, as well, although the backup of cfg_dbserver is up and running in primary mode. I would have assumed that the backup in primary mode should just do the work of the original primary, so that a Read-Only-Mode therefore should not have to be activated.
look likes this issue :
"When using redundant Configuration Servers, if the Configuration DB Server terminates while the backup Configuration Server is terminated, and is restarted after the backup Configuration Server is restarted, the primary Configuration Server remains in READ-ONLY mode. Do not attempt to:
Start both primary and backup Configuration Servers simultaneously.
Start the backup Configuration Server while the primary Configuration Server is in READ-ONLY mode because of its lost connection with the database.
Workaround: Wait until one of the Configuration Servers is fully initialized, or its connection with the database is restored and it is no longer in READ-ONLY mode."
unfortunately it’s not this issue, because both primary and backup Configuration were up and running, when the primary cfg_dbserver was terminated whereby Read-Only-Mode was activated.
Database servers are not configured properly in your confserv.cfg/config file and this is cause (with high probability) of your “read-only” issue. Please change following options: