Genesys CTI User Forum

Genesys CTI User Forum => Genesys CTI Technical Discussion => Topic started by: prb75 on January 03, 2017, 09:44:47 PM

Title: What is the simplest way to find the stat server that is 'Primary' from composer
Post by: prb75 on January 03, 2017, 09:44:47 PM
We have a warm stand-by backup in place but there are times during disaster recovery when the designation of stat servers changes from Primary to Backup.

So server A starts as primary and server B starts as backup,  but then after a restart server B becomes the primary. 

How can I determine which stat server is primary ?  Is there some sort of operation from URS that can be used ?
Title: Re: What is the simplest way to find the stat server that is 'Primary' from composer
Post by: Adam G on January 03, 2017, 10:19:58 PM
The option is in CIM/CME...
Title: Re: What is the simplest way to find the stat server that is 'Primary' from composer
Post by: prb75 on January 04, 2017, 01:59:54 PM
thanks for your response, but I was hoping for some way to get this value from an ecma script variable or something so I could assmble a target on the fly like:

<pseudo code>
var primaryStatServer = something;
var target = 'myagentgroup@'+primaryStatServer;

Title: Re: What is the simplest way to find the stat server that is 'Primary' from composer
Post by: Adam G on January 04, 2017, 07:28:29 PM
Thanks for the expansion/clarification.  Take a close look at your configuration - if you don't intend an auto-restart with a switchover/back to "Server B" as the Primary, there are options for that.  If you want to re-designate "Server B" as the Primary on failover, there are also options for that.

Otherwise, I think you might need to look at DNS failover solutions/options as opposed to "on the fly" config.  Products like "F5", "KEMP", etc. are a good place to start.