-
1. Re: File Deploy Job: Sync Push Overhead
Bill RobinsonFeb 23, 2015 11:21 AM (in response to richard mcleod)
The flow goes:
Source -> appserver -> (repeater optionally) -> target
-
2. Re: File Deploy Job: Sync Push Overhead
richard mcleod Feb 23, 2015 11:31 AM (in response to Bill Robinson)So if we enable sync push using MD5
does the source execute a md5sum? does the target execute a md5sum? do both of those md5sums get sent to the application server for a conditional check?
or does the appserver broker the copy from the source to the appserver, then the appserver itself performs the md5sum checks locally and remotely?
-
3. Re: File Deploy Job: Sync Push Overhead
Bill RobinsonFeb 24, 2015 6:54 PM (in response to richard mcleod)
The md5sum calculation should happen on the target/source.
-
4. Re: File Deploy Job: Sync Push Overhead
richard mcleod Feb 25, 2015 8:54 AM (in response to Bill Robinson)Does the source calculate the md5sum once per file or once per host? Also, is the appserver managing the true/false of the md5 match between target/source?
-
5. Re: File Deploy Job: Sync Push Overhead
Bill RobinsonFeb 25, 2015 9:29 AM (in response to richard mcleod)
I think once per host, and the appserver should do the compare…
Why ?
-
6. Re: File Deploy Job: Sync Push Overhead
richard mcleod Feb 25, 2015 9:55 AM (in response to Bill Robinson)so cast your mind
File Deploy A:
source: //sourceserver/file/A
Targets:
304 hosts
Execute File Deploy A
Source runs srcmd5$tgt=$(md5sum //sourceserver/file/A) 304 times??
Tagret runs tgtmd5$tgt=$(md5sum //targets/file/A) 1 time
values: srcmd5$tgt and tgtmd5$tgt are sent to the appserver for a if $tgtmd5$tgt != $srcmd5$tgt then cp source target
x304
or is the source just running the srcmd5=$(md5sum //sourceserver/file/A) 1 time?
-
7. Re: File Deploy Job: Sync Push Overhead
Bill RobinsonFeb 26, 2015 3:13 PM (in response to richard mcleod)
?md5sum on the source should only happen once. if that's not showing in the rscd log you can probably enable debug mode and see it.
-
8. Re: File Deploy Job: Sync Push Overhead
richard mcleod Feb 26, 2015 4:06 PM (in response to Bill Robinson)meh not worth it -- changing the method to use compliance + checksum + remediation