" /> Genesys CIM HA Queries - Genesys CTI User Forum

Author Topic: Genesys CIM HA Queries  (Read 4497 times)

Offline leohang

  • Newbie
  • *
  • Posts: 5
  • Karma: 0
Genesys CIM HA Queries
« on: July 07, 2010, 02:37:44 AM »
Advertisement
Hi all, I have question on HA setup, please kindly help.

I have setup one server for CIM Primary server and one is for HA. Normally, all applications are in Primary mode in CIM Primary server and all applications are in Backup mode in HA server. When I shutdown the Primary Server, all of the applications can change from Backup mode to Primary mode in HA server, like cfg_server_ha, cfg_db_server_ha, SCS_ha, t-server_ha, stat_server_ha, message_server_ha...etc.

But, When I power up the Primary Server, it was fond that only the cfg_server and cfg_db_server can be start up automatically, and the mode is in Backup mode (It is normal because HA server is in Primary mode). SCS, t-Server, Stat_server, message_server ... all are not started.

Interesting that I checked all these stopped applications in Windows Services, it dislayed that "Started", but I checked their status in SCI, all are stopped. I tried start up it manually by SCI, but not sucessfully. In my test, I need to stop these applications in WIndows Services first, and then I can start up these application in SCI, and they will in BACKUP mode.

Any SCS .cfg file need to setup? or my configure.cfg have any problem?

I suppose that all applications should can be start up automatically with BACKUP mode, I am appreciate if you can give me a hints on it.
« Last Edit: July 07, 2010, 02:42:59 AM by leohang »

Offline Steve

  • Sr. Member
  • ****
  • Posts: 298
  • Karma: 11
Re: Genesys CIM HA Queries
« Reply #1 on: July 07, 2010, 01:37:06 PM »
[quote]Interesting that I checked all these stopped applications in Windows Services, it dislayed that "Started", but I checked their status in SCI, all are stopped.[/quote]

Did you check to see if they were running, by using a third method? Task Manager or by checking the logs.

By getting a 2 out of 3 view (a quorum) it is easier to diagnose where the problem is.

Offline leohang

  • Newbie
  • *
  • Posts: 5
  • Karma: 0
Re: Genesys CIM HA Queries
« Reply #2 on: July 07, 2010, 03:39:29 PM »
Thank Steve.

Did you check to see if they were running, by using a third method? Task Manager or by checking the logs.
<-- Although I have activate the log file, but no log generate. I think becasuse these applications were not started. (normally, if i use SCI to restart the applications, log can be generate.)

And today, i changed the SCS command line, the SCS can be started automatically.

Because all other applicatios are looking for primary host name, included stat_server, message_server, T-server...etc. So, if the main primary host cfg_server change to backup mode, is it all these applications cannot start up is normal?? 

Offline Steve

  • Sr. Member
  • ****
  • Posts: 298
  • Karma: 11
Re: Genesys CIM HA Queries
« Reply #3 on: July 08, 2010, 09:03:12 AM »
If your backup options are set up properly in CME then SCS should direct connections to the application that is running as primary. You need to set the connections in CME to point, only, to the primary server as you have configured them.

Even if config server goes into backup, everything else should work normally using the backup config server which will connect via the primary DB Server to your database.

How are you replicating your database?

Offline René

  • Administrator
  • Hero Member
  • *****
  • Posts: 1832
  • Karma: 62
Re: Genesys CIM HA Queries
« Reply #4 on: July 08, 2010, 09:44:04 AM »
Hi leohang,

The application are not able to start as command parameters (-host <CS host> -port <2020> etc.) points to Configuration Server that is either not available or running in backup mode.

You should use SCI to start the application if primary Configuration Server is not available or running in backup mode as SCI will provide correct command parameters to the apps. If you require automatic start-up of these application once the host is rebooted then you should check Auto-Restart option on Start Info tab of the applications.

R.

Offline leohang

  • Newbie
  • *
  • Posts: 5
  • Karma: 0
Re: Genesys CIM HA Queries
« Reply #5 on: July 09, 2010, 02:15:26 AM »
Thanks Steve and Rene  ;)

So.. hmm.... if both Primary and Backup CIM servers are shutdown, I just start up the Backup server. But, due to the mai primary configure_server and configure_db_server are stopped, the Backup server's application cannot be start up because all these backup applications are pointing to main configure server, although the backup configure sever and configure db server are started.. ?? am i correct?

Offline Steve

  • Sr. Member
  • ****
  • Posts: 298
  • Karma: 11
Re: Genesys CIM HA Queries
« Reply #6 on: July 09, 2010, 08:25:26 AM »
Sorry I misunderstood what you was asking. But yes it is correct that the startup options are looking for the primary host.

You would either need to do a bit of scripting to try the primary and then the secondary. You cannot check the windows service to see if the app is up as you say it shows started even if it isn't. Maybe you could count the number of log files before anything tries to start.

Or another option, my favourite, is to cluster the database db-server and Config Server, then they always appear on the same logical host. If you have already got your hardware bought and set up it is probably too late for this.