Genesys CTI User Forum
Genesys CTI User Forum => Genesys CTI Technical Discussion => Topic started by: Sylvainsjc on May 11, 2007, 10:36:47 AM
-
Hello,
has someone already deployed "high availability" for cfgdbserver, ConfigServer + management layer with G7.5 on two servers (one for primary apps, one for backup apps) ???
Theoretically, by duplicating the components on two servers, Genesys should continue to works if the primary server fails.
Any successful experience ???
-
I have some experience in Management Framework HA 6.1-7.1; it works fine, just had some issues with 7.1 during boxes reboot. No experience in 7.5 HA yet, but the feature should be working the same way.
-
Hi,
Could you be more specific on what is not working properly?
René
-
HA for Configuration Layer works just fine for me. What is causing the problem?
-
We are running HA on 7.2, it all works as it should, in fairness some apps do not switch over immediately, but that is actual system limitations.
-
:) Thanks for your answers.
I have one server with one cfgDBServer and one configserver (consider it's the main server).
On the second server, i installed one backup_cfgDBServer and one backup_configserver following the framework 7.5 deployment guide.
My problem is that when i stop the primary cfgdbserver, i can see in SCI the backupcfgDBServer become PRIMARY but cme switch to "read-only" mode.
In the confserv logs, he always tries to connect to the main cfgDBServer and never tries to connect to the backup_cfgDBServer.
-
Hi,
Now it's clear to me :). You have to modify the configuration file (confserv.cfg) used by Configuration Server and add information related to backup dbserver to that file.
Here is an example
--------------------------------------
[font=Courier]
[i]... other sections ...[/i]
[cfg_dbserver]
host=<host>
port=<port>
dbengine=<dbengine type>
dbserver=<db server>
dbname=<dabatase name>
username=<user>
password=<password>
server=cfg_dbserver_backup [b]<--- points to the backup dbserver section[/b]
reconnect-timeout=10
response-timeout=600
[cfg_dbserver_backup]
host=<host>
port=<port>
dbengine=<dbengine type>
dbserver=<db server>
dbname=<dabatase name>
username=<user>
password=<password>
server=cfg_dbserver [b]<--- points backup to primary dbserver section. The system never tries to connect primary dbserver again if this parameter is empty. [/b]
reconnect-timeout=10
response-timeout=600
[/font]--------------------------------------
The changes will be applied after restart of Configuration Server.
Cheers,
René
-
Great thanks René,
This means that the “cfgDBServer” cannot have backup ? I mean that if only the cfgDBServer is down (for any reason), configserver stayed "up" never tries any dbserver backup. In this case we have to manually swicthover the primary configserver to retrieve full access to database.
Is this the correct behaviour?
-
Dbserver can have backup and it is supported functionality/feature. By defining a new section in confserv.cfg file you're saying to Configuration Server that there is new data source. So if the primary dbserver fails that Configuration Server tries the next one specified by the parameter "server".
Using the example configuration file from me previous post - if the dbserver defined in the section "cfg_dbserver" fails then Configuration Server tries to connect to the dbserver defined in the section "cfg_dbserver_backup." If Configuration Server isn't able to reach that dbserver it returns back to the first one (section "cfg_dbserver") etc.
R.
-
Ok i'm going to try this.
Thank you again for your help
-
Ok René, it works fine on my vmware lab. I'm going to apply this for the production.
That means that the framework 7.5 deployment guide is not clear enough about HA management.
For other users i attach the complete cfg files for both primary and backup ConfigServer.
Best regards
-
not sure if ur switchover of applications is working.
However, just wanted to throw out here, hope it helps.
for switchover of apps gracefully via SCI, u would neeed another license called the ha-redundancy for the SCS to handle it.
-
I have this license and the switchover via SCI works fine.
FEATURE ha_redundancy genesys.d 7.0 1-jan-00 999999 718480A7F602 \
NOTICE="xxxxxxxxxxxxxxxxxxx (Alcatel-Lucent) Lab" \
SIGN=F4ED12F08190
-
I also had the same problem with HA for 7.5 components... the mechanism is working fine except that CME stays in read-only mode.
Genesys has created an engineering request (ER# 137154961) for that issue.
-
So am I to understand that with version 7.5 when config server switches from primary db server to backup one it remains in read-only state despite everything working fine?
-
Hi,
I got confserv 7.5 to work with backup dbserver. It took some time though before it changed from Read-Only mode.
I used the sections for primary/backups dbservers, and cocnfigured warm standby and backup application in CME.
I have some questions on how to install & run backup dbserver as an independent windows service. Anyone that has succeeded? Mine runs as an client to configserver now. Couldn't make it run as an independent server due to name conflict for cfg_dbserver.
Another question -i f the server A with primary confserv and cfg_dbserver fails and the backup application on server B takes over - everything will work. But what happens if we have to restart the backup/now primary applications on server B before server A is fixed? Will the solution work well?
-
Hi Catanirex,
to start dbserver in independent mode with specific name use following parameter
-cfg -app [name of application]. As for restarting services some time ago I did some testst and in my environment it worked ok(Wind2003, G7.5).
Paul
-
Hi Paul,
Thans for your answer. Do you mean that I need to change the ImagePath in the registry and add the configuration?
I will try later!
-
Hi Catanirex,
That right, forgot to write it - You must change command line in CME and in registry for dbserver service
Paul
-
Hi. Test post :
!-!-!-!