Genesys CTI User Forum

Genesys CTI User Forum => Genesys CTI Technical Discussion => Topic started by: phil on March 10, 2010, 01:37:16 PM

Title: Read-Only-Mode Issue?
Post by: phil on March 10, 2010, 01:37:16 PM
Hi folks,

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.

Is this a volitional behaviour?

Best wishes

Phil
Title: Re: Read-Only-Mode Issue?
Post by: Timur Karimov on March 10, 2010, 06:01:22 PM
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."

WBR Thaler


Title: Re: Read-Only-Mode Issue?
Post by: phil on March 11, 2010, 08:31:02 AM
[quote author=Timur Karimov link=topic=5393.msg23472#msg23472 date=1268244082]
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."

WBR Thaler
[/quote]

Thanks Timur,

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.

Im hoping for further ideas.

Cheers

Phil
Title: Re: Read-Only-Mode Issue?
Post by: catanirex on March 11, 2010, 08:42:36 AM
I had similar problems with 7.5/early 7.6 applications. But after upgrades it was resolved.

What versions are you using?
Title: Re: Read-Only-Mode Issue?
Post by: phil on March 11, 2010, 08:49:17 AM
im just about to update confserv from 7.6.000.18 to the latest version 7.6.000.57
Title: Re: Read-Only-Mode Issue?
Post by: catanirex on March 11, 2010, 10:14:04 AM
OK, so the version of configserver should be OK :-)

Have you configured configserver correctly in confserv.cfg file so that it knows about the backup dbserver?

Please post you config here.
Title: Re: Read-Only-Mode Issue?
Post by: phil on March 11, 2010, 10:38:44 AM
Good point! I think here could be the problem. Here's the config:

[confserv]
port=2020
management-port=2021
server=cfg_dbserver
encryption=false
encoding=utf-8
force-reconnect-reload=true

[history-log]
all=histlog
expiration=30
client-expiration=1
max-records=1000
active=true
failsafe-store-processing=true

[log]
verbose=all
standard=network
all=D:\var\log\genesys\confserv\confserv
buffering=false
expire=10
segment=50000
time_format=ISO8601

[hca]
schema = none

[soap]
port=2022
debug=true
client_lifespan=600

[cfg_dbserver]
host=test0
port=4040
dbengine=oracle
dbserver=testawd
username=genconfig
password=*****
server=cfg_dbserver_HA
reconnect-timeout=10
response-timeout=600

[dbserver_HA]
host=test1
port=4040
dbengine=oracle
dbserver=testawd
username=genconfig
password=******
server=dbserver
reconnect-timeout=10
response-timeout=60
Title: Re: Read-Only-Mode Issue?
Post by: René on March 11, 2010, 10:52:05 AM
Hi phil,

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:

[cfg_dbserver]
server=dbserver_HA

[dbserver_HA]
server=cfg_dbserver

R.
Title: Re: Read-Only-Mode Issue?
Post by: phil on March 11, 2010, 10:58:22 AM
i think, the section [dbserver_HA] should be named [cfg_dbserver_HA] as specified in section
[cfg_dbserver]->server=cfg_dbserver_HA
Title: Re: Read-Only-Mode Issue?
Post by: phil on March 11, 2010, 11:00:56 AM
[quote author=René link=topic=5393.msg23486#msg23486 date=1268304725]
Hi phil,

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:

[cfg_dbserver]
server=dbserver_HA

[dbserver_HA]
server=cfg_dbserver

R.
[/quote]

excactly, thanks a lot. i just figured that out myself. are the names fixed values or can i chose them on my own as long as they match?

the lab environment is a mess, i try to clear. the wrong config must persist since over a year  ::)
Title: Re: Read-Only-Mode Issue?
Post by: phil on March 11, 2010, 11:30:07 AM
seem like the names have to be the original application names of the dbservers. everthing's fine now.

Cheers People