We are a multi site, single tenant environment. We have offices on east and west coast. On the east coast we have the primary config server and primary config db server. On the west coast we are configuring backups configuration server and backup configuration db server. The backup configuration server, once started, is coming up in the correct backup mode. However the backup configuration db server is not. It is coming up in a primary mode. On the primary configuration db server, I have assigned the backup. Our applications run on windows 2000. The versions are 7.5. Has anyone experienced this before? Iâm trying to get the backup configuration db server to start up in a backup mode. But for unknown reasons its starting up in primary. Any help would be appreciated.
Have you started installed it as an independent applications?
In that case you need to change the following in the Registry and in CME, in order for it NOT to start as cfg_dbserver. Add the name you have for the backup
You can keep both cfgdbserver in primary mode : it works fine like this.
In conferv.conf and confservBackup.conf, you configure corresponding sections for each dbserver so config server will try his first cfgdbserver and if not available the other cfgdbserver.
Try this, itâs in production in one of our big customer
Yes. i did install it as a independant server.
Oh ok. so if my backup config db server is named, cfg_dbserver_bâŠI need to put this into the command line argument of the application template in cme. so it would look like â-cfg -app cfg_dbserver_bâ Please confirm.
You can step-by-step description in âFramework 7.5 Deployment Guideâ, chapter âConfiguring redundant DB Serversâ. It describes the steps how to configure backup dbserver. If you follow it your backup dbserver will start in backup mode.
Briefly - you have to create the applications in CME for both dbservers and setup stand-by mode between these.
catanirex,
I made the changes in my cme application for my backup config db server. command line argument looks like this:
-cfg -app cfg_dbserver_b
I also went to the startserver.bat file for the backup db server. Made the change from this:
multiserver.exe -host ccagenlab0302 -port 2020 -app cfg_dbserver_b
To this:
multiserver.exe -cfg -app cfg_dbserver_b
Also, changed it in different places in the registries. Now, I canât start the service on the box :).
I get an error saying" the service did not respond to the start or control request in a timely fashion.
Iâm thinking I need to modify the above and put back the ccagenlab0302 in it. this is the server that has the configuration server. What do you think?
I made the changes. good news is that I can start the application now. No so good news, is that in SCI, it shows up a primary also. I stopped both the cfg dbservers for grinsâŠstarted the primary, then this one. so both are in primary mode :-\
21:41:41.171 Trc 04112 The Log Output of type âC:\ExpressLogs\Backup_CfgDBServer\Bck_Cfg_DBâ has been created and opened
21:41:41.156 Trc 04110 Option âbufferingâ has been set to the value âyesâ
21:41:41.156 Trc 04110 Option âspoolâ has been set to the value ââ
21:41:41.156 Trc 04110 Option âkeep-startup-fileâ has been set to the value ânoâ
21:41:41.156 Trc 04110 Option âMessageFileâ has been set to the value âRealDBServer.lmsâ
21:41:41.156 Trc 04110 Option âtime-formatâ has been set to the value âtimeâ
21:41:41.156 Trc 04110 Option âtime-convertâ has been set to the value âlocalâ
21:41:41.156 Trc 04110 Option âmessage-formatâ has been set to the value âshortâ
21:41:41.156 Trc 04110 Option âmemory-storage-sizeâ has been set to the value â2 Mbâ
21:41:41.156 Trc 04110 Option âcompatible-output-priorityâ has been set to the value ânoâ
21:41:41.156 Trc 04110 Option âprint-attributesâ has been set to the value ânoâ
21:41:41.156 Trc 04110 Option âcheck-pointâ has been set to the value â1â
21:41:41.156 Std 04106 Log Messages file âRealDBServer.lmsâ successfully loaded
21:41:41.156 Trc 04112 The Log Output of type âstdoutâ has been created and opened
21:41:41.171 Trc 04112 The Log Output of type âC:\ExpressLogs\Backup_CfgDBServer\Bck_Cfg_DBâ has been created and opened
21:41:41.171 Trc 04100 Logging service started
21:41:41.171 Trc 06084 Configuration option set: âdbserverâ:âportâ = â4060â
21:41:41.171 Trc 06084 Configuration option set: âdbserverâ:âhostâ = ânxo-gexpressâ
21:41:41.171 Trc 06084 Configuration option set: âdbserverâ:âmanagement-portâ = â4061â
21:41:41.171 Trc 06085 Configuration option set to default value: âdbserverâ:âverboseâ = â3â
21:41:41.171 Trc 06085 Configuration option set to default value: âdbserverâ:âdbprocesses_per_clientâ = â1â
21:41:41.171 Trc 06085 Configuration option set to default value: âdbserverâ:âdbprocess_numberâ = â255â
21:41:41.171 Trc 06085 Configuration option set to default value: âdbserverâ:âdbprocess_nameâ = â./dbclient_msqlâ
21:41:41.171 Trc 06085 Configuration option set to default value: âdbserverâ:âoracle_nameâ = â./dbclient_oracleâ
21:41:41.171 Trc 06085 Configuration option set to default value: âdbserverâ:âinformix_nameâ = â./dbclient_informixâ
21:41:41.171 Trc 06085 Configuration option set to default value: âdbserverâ:âsybase_nameâ = â./dbclient_sybaseâ
21:41:41.171 Trc 06085 Configuration option set to default value: âdbserverâ:âdb2_nameâ = â./dbclient_db2â
21:41:41.171 Trc 06085 Configuration option set to default value: âdbserverâ:âmsql_nameâ = â./dbclient_msqlâ
21:41:41.171 Trc 06085 Configuration option set to default value: âdbserverâ:âstored_proc_result_tableâ = â0â
21:41:41.171 Trc 06085 Configuration option set to default value: âdbserverâ:âconnect_break_timeâ = â1200â
21:41:41.171 Trc 06085 Configuration option set to default value: âdbserverâ:âtran_batch_modeâ = â0â
21:41:41.171 Trc 06085 Configuration option set to default value: âdbserverâ:âreconnect_timeoutâ = â3600â
21:41:41.171 Trc 06085 Configuration option set to default value: âdbserverâ:âclient_stop_timeoutâ = â30â
21:41:41.171 Trc 06084 Configuration option set: âlcaâ:âlcaportâ = â4999â
Open LCALayer on port=4999
LCA Library version 7.5.000.05
21:41:41.203 Std 05060 Application started
Open server port: = (
ânameâ = âdbserverâ
âserver-typeâ = â46â
âportâ = â4060â
)
21:41:42.171 Std 04525 Port 4060 opened for listening
LCALayer: REventRegistered on LCAâŠ
Listener (port id = dbserver fd = 232) is being closed. Checking for clients on listenerâŠ
Listener with port id = dbserver has been closed and deleted from list of current ports. Number of db app connections affected: 0
21:41:42.171 Std 04560 Warm Standby (backup) mode activated
Your issue is caused by wrong configuration because I was able to make it running in my lab in 20 minutes incl. installation.
Please check following:
there are two applications of type DBServer in CME. One is called âcfg_dbserverâ and the second one âcfg_dbserver_bâ (you can change that name if you want)
the application âcfg_dbserverâ has configured the backup application on tab âServer Infoâ - Backup Server = cfg_dbserver_b, Redundancy Type = Warm Standby
the option âRedundancy typeâ of the application âcfg_dbserver_bâ is set to âWarm standbyâ. The option âBackup Serverâ isnât configured - set to â[None]â
the image path of DBServer service is â<âŠpath to multiserver.exeâŠ> -service <âŠname of serviceâŠ> -host <âŠhost nameâŠ> -port 2020 -app cfg_dbserver -cfgâ
the image path of backup DBServer service is â<âŠpath to multiserver.exeâŠ> -service <âŠname of serviceâŠ> -host <âŠhost nameâŠ> -port 2020 -app cfg_dbserver_b -cfgâ
Run the primary DBServer and after its initialization start the backup. If you configured logging level to âdebugâ you should see this messages in backup DBServer log:
2008-01-08T21:49:53.484 Std 04525 Port 4045 opened for listening
LCALayer: REventRegistered on LCAâŠ
Listener (port id = dbserver fd = 264) is being closed. Checking for clients on listenerâŠ
Listener with port id = dbserver has been closed and deleted from list of current ports. Number of db app connections affected: 0
2008-01-08T21:49:53.484 Std 04560 Warm Standby (backup) mode activated
Rene⊠I will put the -cfg to the back of the app name as opposed to the frontâŠcurrently I have it as -cfg. Everything else is good to go. Logging is setup to debug. will make the change and pass the word. Below is the startup log from the backup db server currently
Genesys Database Server, Version:â7.5.000.07â
Copyright (c) 1997-2006 Genesys Telecommunications Labs, Inc.
Component versions:
Commonlib: 7.5.000.24 C2
Loglib: 7.5.000.04
Gmessagelib: 7.5.000.01
GServicelib: 7.5.000.04
Mngmlib: 7.5.000.00
Confservlib: 7.5.000.11
Lcalib: 7.5.000.05
Build platform: i686-winnt
Application name: cfg_dbserver_b
Application type: RealDBServer (46)
Command line: C:\GCTI\DBServer\cfg_dbserver_b\multiserver.exe -service DBServer -host ccagenlab0302 -port 2020 -cfg -app cfg_dbserver_b
Host name: s-qa-genapp
DST: TZ = 1, timeb = 0
Time zone: 28800, Pacific Standard Time, Pacific Daylight Time
UTC time: 2008-01-08T19:53:03.530
Local time: 2008-01-08T11:53:03.530
Start time (UTC): 2008-01-08T19:53:03
Running time: 0:00:00:00
Host info: Windows 5.2.3790, 2, Service Pack 2, 2.0, 0110, 3
File: (1) c:\gcti\logs\cfg_dbserver_b\db.20080108_115303_531.log
11:53:03.530 Trc 04112 The Log Output of type âc:\gcti\logs\cfg_dbserver_b\dbâ has been created and opened
11:53:03.530 Trc 04110 Option âbufferingâ has been set to the value âyesâ
11:53:03.530 Trc 04110 Option âspoolâ has been set to the value ââ
11:53:03.530 Trc 04110 Option âkeep-startup-fileâ has been set to the value ânoâ
11:53:03.530 Trc 04110 Option âMessageFileâ has been set to the value âRealDBServer.lmsâ
11:53:03.530 Trc 04110 Option âtime-formatâ has been set to the value âtimeâ
11:53:03.530 Trc 04110 Option âtime-convertâ has been set to the value âlocalâ
11:53:03.530 Trc 04110 Option âmessage-formatâ has been set to the value âshortâ
11:53:03.530 Trc 04110 Option âmemory-storage-sizeâ has been set to the value â2 Mbâ
11:53:03.530 Trc 04110 Option âcompatible-output-priorityâ has been set to the value ânoâ
11:53:03.530 Trc 04110 Option âprint-attributesâ has been set to the value ânoâ
11:53:03.530 Trc 04110 Option âcheck-pointâ has been set to the value â1â
11:53:03.530 Std 04106 Log Messages file âRealDBServer.lmsâ successfully loaded
11:53:03.530 Trc 04112 The Log Output of type âc:\gcti\logs\cfg_dbserver_b\dbâ has been created and opened
11:53:03.530 Trc 04100 Logging service started
11:53:03.530 Trc 06084 Configuration option set: âdbserverâ:âportâ = â4040â
11:53:03.530 Trc 06084 Configuration option set: âdbserverâ:âhostâ = âs-qa-genappâ
11:53:03.530 Trc 06084 Configuration option set: âdbserverâ:âmanagement-portâ = â4041â
11:53:03.530 Trc 06085 Configuration option set to default value: âdbserverâ:âverboseâ = â3â
11:53:03.530 Trc 06085 Configuration option set to default value: âdbserverâ:âdbprocesses_per_clientâ = â1â
11:53:03.530 Trc 06085 Configuration option set to default value: âdbserverâ:âdbprocess_numberâ = â255â
11:53:03.530 Trc 06085 Configuration option set to default value: âdbserverâ:âdbprocess_nameâ = â./dbclient_msqlâ
11:53:03.530 Trc 06085 Configuration option set to default value: âdbserverâ:âoracle_nameâ = â./dbclient_oracleâ
11:53:03.530 Trc 06085 Configuration option set to default value: âdbserverâ:âinformix_nameâ = â./dbclient_informixâ
11:53:03.530 Trc 06085 Configuration option set to default value: âdbserverâ:âsybase_nameâ = â./dbclient_sybaseâ
11:53:03.530 Trc 06085 Configuration option set to default value: âdbserverâ:âdb2_nameâ = â./dbclient_db2â
11:53:03.530 Trc 06085 Configuration option set to default value: âdbserverâ:âmsql_nameâ = â./dbclient_msqlâ
11:53:03.530 Trc 06085 Configuration option set to default value: âdbserverâ:âstored_proc_result_tableâ = â0â
11:53:03.530 Trc 06085 Configuration option set to default value: âdbserverâ:âconnect_break_timeâ = â1200â
11:53:03.530 Trc 06085 Configuration option set to default value: âdbserverâ:âtran_batch_modeâ = â0â
11:53:03.530 Trc 06085 Configuration option set to default value: âdbserverâ:âreconnect_timeoutâ = â3600â
11:53:03.530 Trc 06085 Configuration option set to default value: âdbserverâ:âclient_stop_timeoutâ = â30â
11:53:03.530 Trc 06084 Configuration option set: âlcaâ:âlcaportâ = â4999â
Open LCALayer on port=4999
LCA Library version 7.5.000.05
11:53:03.530 Std 05060 Application started
Open server port: = (
ânameâ = âdbserverâ
âserver-typeâ = â46â
âportâ = â4040â
)
11:53:04.452 Std 04525 Port 4040 opened for listening
LCALayer: REventRegistered on LCAâŠ
12:53:03.536 Trc 04120 Check point 2008-01-08T12:53:03
AbsolutelyâŠI noticed that. Question, in your dbserver.cfg for the backupâŠif you open the file, the very first line is[dbserver]. Is this what you have for your backupâŠor did you change the name to what your configure the backup app template to be?..for example cfg_dbserver_b
For a confserver dbserver you chould use -cfg option.
Cut from support site:
-c
DB Server reads its configuration settings from a configuration file with the specified name.
If this parameter is set, its value overrides the default name of the configuration file (dbserver.conf on Unix or dbserver.cfg on Windows).
-cfg
DB Server for the Configuration Database starts with an application name other that cfg_dbserver, but still reads its configuration from a configuration file. When this parameter is specified, the Management Layer can restart DB Server that is configured as an application even when Configuration Server is not available. Use this parameter for starting a backup DB Server for the Configuration Database. This parameter does not require any value.