reduActive -> not correct

Discussions about product bugs & problems!
Note: This is no replacement for the Official ETM Support!
6 posts • Page 1 of 1
xavi.aran
Posts:63
Joined: Thu Apr 21, 2011 1:21 pm

reduActive -> not correct

Post by xavi.aran »

hi! i'm in a redundant system, i start the first server and later start the second server.

In some Control Manager i use the function reduActive, and i get a -2 in the answer....i dont know why.

If i left some time and later i try to start the Manager manually this work correct and returns me the correct active server.

Between starts Redundancy Manager and starts the first Manager there are 7 seconds...I have to wait longer for the system to stabilize before I ask about server active?

version: 3.13 Patch 16

leoknipp
Posts:2928
Joined: Tue Aug 24, 2010 7:28 pm

Re: reduActive -> not correct

Post by leoknipp »

The function reduActive() is reading the information for dp elements which are written by the redu manager.
During startup it will take some time until the redu manager is started and is initialized.
Maybe you have started the function before the redu manager was initialized and therefore you got a different information.

Best Regards
Leopold Knipp
Senior Support Specialist

Gertjan van Schijndel
Posts:634
Joined: Mon Aug 02, 2010 10:37 am

Re: reduActive -> not correct

Post by Gertjan van Schijndel »

Instead of 'reduActive' you could use 'isReduActive' for the own redu state, which reports the internal manager redu state.

xavi.aran
Posts:63
Joined: Thu Apr 21, 2011 1:21 pm

Re: reduActive -> not correct

Post by xavi.aran »

i can't use isReduActive because i know its redundant system...i need if i'm primary or secundary....i need to use reduActive to knows what server is the active

Gertjan van Schijndel
Posts:634
Joined: Mon Aug 02, 2010 10:37 am

Re: reduActive -> not correct

Post by Gertjan van Schijndel »

isReduActive != isRedundant
isRedundant -> Returns whether the project has been configured as redundant
isReduActive -> Returns TRUE if the current system is the active system

xavi.aran
Posts:63
Joined: Thu Apr 21, 2011 1:21 pm

Re: reduActive -> not correct

Post by xavi.aran »

Ops...you true...i read bad. Thanks!

6 posts • Page 1 of 1