Hello,
With two redudants historical servers, a customer uses sql server to record data.
The trouble that he meets is : for a same chrono and same variable, PcVue records two different values in each server.
Any experience ?
P.S.: the clock is the same between servers.
Brice you must describe the architecture more in details.
What's the protocol? Each server is communicating with different devices?....
Hi,
In this case, the value recorded is internal (chrono type)...
There are two redundant servers (historical and real time), ten clients, protocol used is modbus IP.
Thank you.
Real time and archives server associations are Single or Multiple Active?
Real time : single (without internal variables switching)
Archives : multiple (9.0 SP1)
Hmmm strange.
If the variable is produced by the association then the VTQ should be the same everywhere.
How the variable is set?
Very strange !
It's a register variable configured as a chrono so set thanks an alarm variable.
I have checked the variable and the server and client list are well set.
Hmmm the fact that's a chrono generates a special situation. Look, when the bit starts the chrono it starts in all stations. So, if you have only 2 servers (no client) then you can imagine your register changing both sides and then you have 2 events at the same time! Worst, imagine you have 5 clients...
To solve your issue you must manage to trigger the register only on the Active station.
The variable which triggers the chrono is an alarm that communicates in modbus.
Both are configured with server list, normally the active server is the only one which can read the alarm and set the chrono.
Am I in the wrong way ?
Hi Brice,
You mentionned "without internal variables switching"
Does it mean that the option is set(not the default)?
Because in this case the variable values behavior between the servers of the association is the same as for a multiple active servers association : internal vaiables between servers are not shared until you set the option "broadcast" for the variable.
You may have checked that but do the value of the variable is the same in the application explorer of the 2 servers?
Francois
Yes maybe you are wrong. Of course it should be like that, but if there is a bug then it can explain why you have this strange result.
Look the process I suspect:
1. Bit is set in PLC
2. Bit set in Active server
2a. Start Chrono on active server
2b. Bit set is broadcasted to the clients and Stan-By server
2aa. Start the chrono on clients and stand-by server: This is the to be checked with Dominique
Nico, when the option "without internal variables switching" is set for the association the internal variables ARE NOT broadcasted between the servers exept if you have a list of servers conatinaing each server instead of having a list containing the name of the association.
Read the document I upload...
My guess is that the value of the chrono is not the same on eaxh station
Hello,
to close the subject. I adviced the customer to change redundancy option but i don't have feedback for 7 months so I think it's okay.
Thanks


