sync subproject to all dist systems

Find and share HowTos to various installations / configurations!
5 posts • Page 1 of 1
tmalone
Posts:192
Joined: Mon Nov 22, 2010 11:21 pm

sync subproject to all dist systems

Post by tmalone »

We have the original "cookie cutter" project. Customer has 70+ dist systems with the same sub project. We want to use the http functions to sync/cache the sub projects on the remote systems.

The dist systems are across the internet and do not have access to shared drives. Since the http functions cache files for the Desktop Clients, can we ask it to cache the sub projects on all of the dist systems?

Todd Malone
USA FA CS2

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

Re: sync subproject to all dist systems

Post by leoknipp »

When a Desktop UI is used the UI is caching the files in the local cache folder. As far as I know the HTTP server does not have a file cache.
You can probably use the CTRL file transfer functions (e.g. requestFileTransfer) to copy data from one dist system to another one, for details please have a look at the WinCC OA Documentation.
I didn't test if the CTRL functions work in a distributed system.

Maybe you can test it and tell the community the result.

Best Regards
Leopold Knipp
Senior Support Specialist

gschijndel
Posts:376
Joined: Tue Jan 15, 2019 3:12 pm

Re: sync subproject to all dist systems

Post by gschijndel »

You could better take a look at how the Disaster Recovery System does the file synchronization.
Or perhaps with 70+ dist systems it would be better to build a 'multicast' solution by compressing the whole subproject and write it as a blob on a dpe. And let the other systems connect to this dpe and after successful decompressing overwrite the subproject.

kilianvp
Posts:443
Joined: Fri Jan 16, 2015 10:29 am

Re: sync subproject to all dist systems

Post by kilianvp »

if you abuse the raima as file transfer you should disable the last value bit

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

Re: sync subproject to all dist systems

Post by leoknipp »

The Disaster Recovery System is using file shares to transfer data from one system to the other one.
This is possibly not the solution Todd wants to use.

Best Regards
Leopold Knipp
Senior Support Specialist

5 posts • Page 1 of 1