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
reduActive -> not correct
- leoknipp
- Posts:2928
- Joined: Tue Aug 24, 2010 7:28 pm
Re: reduActive -> not correct
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
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
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
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
isReduActive != isRedundant
isRedundant -> Returns whether the project has been configured as redundant
isReduActive -> Returns TRUE if the current system is the active system
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
Ops...you true...i read bad. Thanks!