Reset a project dinamically

Find and share HowTos to various installations / configurations!
2 posts • Page 1 of 1
VictorCalvo
Posts:20
Joined: Fri Feb 08, 2019 12:48 pm

Reset a project dinamically

Post by VictorCalvo »

Hi,

I'm working with redundant servers. The project is distributed among two servers: one of them keeps the whole project but the communication driver, and the other one has only the communication driver running. I have four servers in all. That is: two WinCCOA data projects and two WinCCOA communicacion projects. When a WinCCOA data project crashes, the associated WinCCOA communicacion project (or rather, the Driver manager) loses the connection with it. The Driver manager tryes to reconnect to the host, but after several attempts, it stops. Then, if the WinCCOA data project starts again, as the Driver Manager is stopped, it does not connect with it anymore. In order to solve this situation, I have to stop the project and start it again, so the Driver Manager tryes to connect with the data server again. I dont know if there is another way to solve this problem, like forcing the Manager to stay alive forever (I dont know if this is possible, but I dont know how to do it). If this is the only way to stablish the connection again, I would like to know if it is possible to restart a project from another project. I have thought in a control manager at the WinCCOA data project which checks the Driver Manager state and restarts the communication project if the connection is lost and the number of reconnection attempts has been reached.

Thank you

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

Re: Reset a project dinamically

Post by leoknipp »

With the startup settings in the progs file (editable with the WinCC OA console) you can define startup options.
Also with the config entries connectRetries/connectDelay you can define in which interval and how often a manager shall try to connect Data- and Event-Manager.

Best Regards
Leopold Knipp
Senior Support Specialist

2 posts • Page 1 of 1