" /> What is the simplest way to find the stat server that is 'Primary' from composer - Genesys CTI User Forum

Author Topic: What is the simplest way to find the stat server that is 'Primary' from composer  (Read 2161 times)

Offline prb75

  • Newbie
  • *
  • Posts: 15
  • Karma: 0
Advertisement
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 ?

Adam G

  • Guest
The option is in CIM/CME...

Offline prb75

  • Newbie
  • *
  • Posts: 15
  • Karma: 0
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;


Adam G

  • Guest
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.