![]() | |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
We have a simple 2 node ER deployment (IDS 11.5). One node is active and the other is standby. Data is correctly replicated from active to standby node. But we noticed that commands like cdr view profile cdr check repl are properly executed only on active server displaying data from both nodes, while on standby they display correct data only for that node, or reporting messages like this: -------------- Connection to server g_server1 failed Can not connect to g_server1 ------------ Where g_server1 is the group of active server. Documentation says that all cdr commands can be used on each node. Is it possible to solve this situation? Hmmm ... are ALL your replicates Primary / Receive only? |
#3
| |||
| |||
|
|
Hmmm ... are ALL your replicates Primary / Receive only? |
|
Can you on the standby server do dbaccess / connect / "Standy instance" using any of the DBSERVERNAME / DBSERVERALIAS / group name (obviously TCP connections only) |
|
You state "ER out of sync" - is there actually data queuing up on the active? |
#4
| |||
| |||
|
|
On 12 нов, 19:51, "Jonny... (AT) Usenet-News (DOT) net" <Jonny...@Usenet- News.net> wrote: Hmmm ... are ALL your replicates Primary / Receive only? Yes. Can you on the standby server do dbaccess / connect / "Standy instance" using any of the DBSERVERNAME / DBSERVERALIAS / group name (obviously TCP connections only) We didn't try that. I can't check whether it works at the moment, but I certainly will on Monday. You state "ER out of sync" - is there actually data queuing up on the active? No, replication is OK, but we are testing failover scenario. Actually, we need a way to know in the case of failover, using standby node, whether the tables in replication are out of sync with the active server. We need to know whether it is safe to promote standby server to active. We thought we could use consistency check (cdr check repl) from standby node. And that's when this problem showed up. |
#5
| |||
| |||
|
|
Do not get me wrong here ER is great however when i read above is it not easyer to use HDR instead of ER in your situation??? (unless of course you have byte and text data in oldfashion blobspaces..) |
#6
| |||
| |||
|
|
Can you on the standby server do dbaccess / connect / "Standy instance" using any of the DBSERVERNAME / DBSERVERALIAS / group name (obviously TCP connections only) |
#7
| |||
| |||
|
|
From: Cveja <nikomah (AT) gmail (DOT) com To: informix-list (AT) iiug (DOT) org Date: 11/15/2010 06:50 AM Subject: Re: ER out of sync Sent by: informix-list-bounces (AT) iiug (DOT) org On Nov 12, 7:51*pm, "Jonny... (AT) Usenet-News (DOT) net" wrote: Can you on the standby server do dbaccess / connect / "Standy instance" using any of the DBSERVERNAME / DBSERVERALIAS / group name (obviously TCP connections only) It was possible to connect using dbaccess, and that was the clue that lead us to the solution. Thanks. I must admit it was kind of a beginner's mistake. We didn't use -c option for connection to the other node explicitly, and the wrong user was invoking the commands. On a related topic, regarding usage of cdr check repl, when the tables have large number of rows, the processing obviously takes significant amount of time. We tested table with 180k records and cdr check took 4 minutes to finish. Does this command make significant impact on IDS when executed on large tables? We're planning to make a script that invokes cdr check repl which cron job would call in defined intervals, so our concern is how the IDS will handle that. |
| _______________________________________________ Informix-list mailing list Informix-list (AT) iiug (DOT) org http://www.iiug.org/mailman/listinfo/informix-list |
#8
| |||
| |||
|
|
informix-list-boun... (AT) iiug (DOT) org wrote on 11/15/2010 06:46:33 AM: From: Cveja <niko... (AT) gmail (DOT) com To: informix-l... (AT) iiug (DOT) org Date: 11/15/2010 06:50 AM Subject: Re: ER out of sync Sent by: informix-list-boun... (AT) iiug (DOT) org On Nov 12, 7:51*pm, "Jonny... (AT) Usenet-News (DOT) net" wrote: Can you on the standby server do dbaccess / connect / "Standy instance" using any of the DBSERVERNAME / DBSERVERALIAS / group name (obviously TCP connections only) It was possible to connect using dbaccess, and that was the clue *that lead us to the solution. Thanks. I must admit it was kind of a beginner's mistake. We didn't *use -c option for connection to the other node explicitly, and the wrong user was invoking the commands. On a related topic, regarding usage of cdr check repl, when the tables have large number of rows, the processing obviously takes significant amount of time. We tested table with 180k records and cdr check took 4 minutes to finish. Does this command make significant impact on IDS when executed on large tables? We're planning to make a script that invokes cdr check repl which cron job would call in defined intervals, so our concern is how the IDS will handle that. Definitely there will be some impact as cdr check repl has to read all the rows from the table on source and target to identify inconsistent rows. You could improve the performance of cdr check repl by using ifx_replcheck shadow column. Create the shadow column and then define unique index using primary key and ifx_replcheck column. cdr check repl will use this index to perform speedy consistency check. More details --http://publib.boulder.ibm.com/infocenter/idshelp/v115/topic/com.ibm.e... |
| _______________________________________________ Informix-list mailing list Informix-l... (AT) iiug (DOT) org http://www.iiug.org/mailman/listinfo/informix-list |
#9
| |||
| |||
|
|
Also, you can include a 'where' clause or 'since' clause in the check to reduce the number of rows which have to be compared. |
|
Also, you can include a 'where' clause or 'since' clause in the check to reduce the number of rows which have to be compared. |
![]() |
| Thread Tools | |
| Display Modes | |
| |