Genesys CTI User Forum

Genesys CTI User Forum => Genesys CTI Technical Discussion => Topic started by: Ganesh on November 02, 2008, 07:09:40 AM

Title: Two config dbservers on single server
Post by: Ganesh on November 02, 2008, 07:09:40 AM
Hello Guys,

Can we run two config dbservers simultaneously on single server??? We have a new dev envi coming up....but the  config database are  on single server where the current config dbserver is running, Can we run the both config dbservers simultaneously ???

Pls advice.Thanks!
Title: Re: Two config dbservers on single server
Post by: barleycorn on November 02, 2008, 07:36:47 AM
Yes, it's no problem at least on Windows - cannot imagine it being a problem on any *nix type O/S either.  Just make sure that your config files for both configserver and dbserver are configured with the right host/port and db info.
Title: Re: Two config dbservers on single server
Post by: ganesh on November 02, 2008, 07:54:53 AM
Its Aix box
Title: Re: Two config dbservers on single server
Post by: barleycorn on November 02, 2008, 04:07:57 PM
Yes, it's no problem. As mentioned, just assign different ports for each dbserver in the dbserver.conf file and for each config server in the confserv.conf file.
If you have any problems, try setting the logging to a useful level. In the logging section of each config file (confserv.conf, dbserver.conf), set the following values (or whatever you typically use as standard when debugging some Genesys app):

[log]
verbose=all
all=/path-to-your-log-files/unique-file-name.log   #replace the file name with unique names for each instance....
segment=10000
expire=10
The logging should give you some indication of the problem if one exists.

EDIT: BTW - Do you HAVE to run both dbservers on the same box?  There's no restriction that means you have to run dbserver on the same box as the database.
Title: Re: Two config dbservers on single server
Post by: victor on November 04, 2008, 03:34:09 AM
Ganesh,

yes, you can definitely run two db server on the same box. Just keep your management_port and server_ports separate and you will be fine.

I see it quite often, especially when:
1. you need to access two different types of DB (SQL and Oracle)
2. you have many transactions (db_clients = MANY is usually not as good as multiple DB Server with db_clients = MANY since it seems that the same core is used for all children processes of the db server process -- someone please confirm)
3. you use virtualization.

Good luck!
Vic