TFTP Replication "Start Now"

  • 7010496
  • 20-Jul-2012
  • 21-Jul-2012

Environment

Novell ZENworks Configuration Management 11.2

Situation

What does TFTP Replication "Start Now" do?

Resolution

"Start Now" does not mean that all TFTP folders will immediately synchronize the TFTP content.  It will only compute whether all satellites or primaries are in sync, and for those that are not, they are enabled for replication.
 
To help understand how this works, when the Administrator initiates "Start Now" TFTP replication, the primary server creates quick tasks for all of the imaging satellites. The imaging satellite then handles this quick task, computes the checksum of the TFTP folder on satellite and updates the checksum to the Primary Server.  If the checksum is as expected, then the replication status is immediately set to "In Sync".  If there is a checksum mismatch, the master TFTP server will create bundles for those respective satellites with the replication setting to replicate to that particular satellite. This TFTP bundle will not immediately replicate to the satellite. This will happen only when the imaging content schedule kicks in on the satellite or when manually triggered via zac cdp replicate.
 
When the imaging content schedule kicks in and replicates content, it raises an event, which is in turn handled by the Imaging satellite, it extracts the replicated zip file to the tftp folder, removes the zip file and updates 'Success' status to the primary server.
Until that process of imaging content update is complete, the ZCC TFTP update status will show as pending.

Additional Information

TFTP replication creates a queue job of type tftpfolder.replication.action
 
The change files are zip'd and placed in /var/opt/novell/zenworks/content-repo/tmp/imaging
 
zmd-message (debug) logs from satellite showing the quick task handling of the TFTP replication:
 
[Processing action: TFTP Replication] [] []
[Processing com.novell.zenworks.agent.imaging.imagingserver.ISSTFTPQuicktaskHandler] [] []
<ClientAction Undo="false" Type="TFTP Replication" Enabled="true" ContinueOnFailure="false" xmlns:ns2="
https://www.novell.com/ZENworks/Actions/v1.0" xmlns:ns3="https://www.novell.com/ZENworks/Actions/Impersonate">
    <ns2:Name>TFTP Replication</ns2:Name>
[TFTPQuicktaskHandler::ProcessAction] [TFTP Replication Quicktask Action triggered] [] []
[TFTPQuicktaskHandler::ProcessAction] [dataString : <?xml version="1.0" encoding="UTF-8" standalone="yes"?><Data xmlns:ns2="
https://www.novell.com/ZENworks/Actions/Impersonate" xmlns:ns3="https://www.novell.com/ZENworks/Actions/v1.0"><ns3:IP xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">151.155.134.179;443</ns3:IP></Data>] [] []
[TFTPQuicktaskHandler::ProcessAction] [xmlData:151.155.134.179;443] [] []
[TFTPQuicktaskHandler::ProcessAction] [TFTP Replication Action: server IP:151.155.134.179 port:443] [] []
[TFTPQuicktaskHandler::checksumCalculator] [tftpFolder:/srv/tftp/] [] []
[TFTPQuicktaskHandler::checksumCalculator] [checksumString : <TftpReplicationRequest><UID>e860e25c86c7e111a6ab00163e19081b</UID><Filelist><File><Path>winpe.cfg</Path><Checksum>951FE9F7FEE33061C73F5669E6C83E1C</Checksum></File><File><Path>autoyast.cfg</Path><Checksum>0AFD5945FEB28D6BCB7B68E4271CC2F2</Checksum></File><File><Path>z_zpen.cfg</Path><Checksum>77C43C134C7D6523E942E8F25B1541A0</Checksum></File><File><Path>z_maint.cfg</Path><Checksum>C16FDF8BA716C93293766055082B3C05</Checksum></File><File><Path>pxelinux.0</Path><Checksum>B92E22D35A2E0A556AE17F6332A44088</Checksum></File><File><Path>kickstart.cfg</Path><Checksum>29C6D1825D37A49634F2A51A28A3FA8D</Checksum></File><File><Path>referral/zfd70/z_maint100.cfg</Path><Checksum>C16FDF8BA716C93293766055082B3C05</Checksum></File><File><Path>referral/zfd70/z_zpdis100.cfg</Path><Checksum>160D8241DEC688DB5C7D8BC594769543</Checksum></File><File><Path>referral/zfd70/z_auto100.cfg</Path><Checksum>FA1D7470034D834DD31C81539ABBEC39</Checksum></File><File><Path>referral/zfd70/z_zpen100.cfg</Path><Checksum>77C43C134C7D6523E942E8F25B1541A0</Checksum></File><File><Path>referral/zfd70/pxemenu.txt</Path><Checksum>651A61FC1F3D1C921E0320E4A10C290D</Checksum></File><File><Path>dell-dtk/SA.1</Path><Checksum>F21324F496F753D33E185CFC66024949</Checksum></File><File><Path>dell-dtk/novell-dtktask</Path><Checksum>AC2E96259A0E5C0CC437B6C5B305F039</Checksum></File><File><Path>dell-dtk/dtktask</Path><Checksum>605B13BCC5A3C9C0E5D58DA0E19B2853</Checksum></File><File><Path>dell-dtk/libsysfs.so.1.0.2</Path><Checksum>21D73218710E11BFFC505541C7882E9E</Checksum></File><File><Path>dell-dtk/dell-dtk_maint.s</Path><Checksum>A7DE4956872FEC787825407911ED5943</Checksum></File><File><Path>dell-dtk/SA.2</Path><Checksum>D2E5FE691804B6D73C9E068AA6DA8D92</Checksum></File><File><Path>dell-dtk/dell-dtk.s</Path><Checksum>241E094BDC35F10067DF11EA53912EE3</Checksum></File><File><Path>boot/bcd</Path><Checksum>9CEEFFF56A40A0E5DE436C7B3AE6B002</Checksum></File><File><Path>boot/settings.txt</Path><Checksum>DF651ABDE8046306826BE45115859AA6</Checksum></File><File><Path>boot/linux</Path><Checksum>E52367154BFFAEBA178A4DA10DF5EC08</Checksum></File><File><Path>boot/root</Path><Checksum>2E7D1C057F28699EFE86590BC444B92C</Checksum></File><File><Path>boot/initrd</Path><Checksum>546DABA108936C05DCA7ABD7177FC476</Checksum></File><File><Path>memdisk</Path><Checksum>77C29F0168D4C72668FB1BF0BC973A9A</Checksum></File><File><Path>z_auto.cfg</Path><Checksum>FA1D7470034D834DD31C81539ABBEC39</Checksum></File><File><Path>z_zpdis.cfg</Path><Checksum>160D8241DEC688DB5C7D8BC594769543</Checksum></File><File><Path>dell-dtk.cfg</Path><Checksum>F9AE60688D617D29BB4E5DDC27D03007</Checksum></File><File><Path>pxemenu.txt</Path><Checksum>5BF131791FC088961D2CC1EA7581CEE0</Checksum></File><File><Path>nvlnbp.sys</Path><Checksum>F19D888A8EACEBE703012488545593D4</Checksum></File><File><Path>dell-dtk_maint.cfg</Path><Checksum>49E82511BACBBD67804F5EA643580BA3</Checksum></File></Filelist></TftpReplicationRequest>] [] []
[TFTPQuicktaskHandler::httpRequestSender] [response data: true;3705aa0855108c136a55ead4db082619] [] []
[Action handler com.novell.zenworks.agent.imaging.imagingserver.ISSTFTPQuicktaskHandler finished processing TFTP Replication successfully.] [] []
[QuickTask] [Processed action "TFTP Replication", success = true] [] []
 
zmd-message (debug) logs showing the replication:
 
[ISSTFTPContentHandler::handleEvent] [Received Tess event for content replication in TFTP Content Replication Module] [] []
[ISSTFTPContentHandler::handleEvent] [event topic here : CDP/ContentDownloaded] [] []
[ISSRoleHandler::isDevicePromoted] [Device is promoted] [] []
[ISSTFTPContentHandler::getContentLocation] [contentDirLoc : /var/opt/novell/zenworks/content-repo] [] []
[ISSRoleHandler::isDevicePromoted] [Device is promoted] [] []
[ISSTFTPContentHandler::UpdateTFTPFolder] [executing module UpdateTFTPFolder] [] []
[ISSTFTPContentHandler::UpdateTFTPFolder] [ISSdeviceguid : e860e25c86c7e111a6ab00163e19081b] [] []
[ISSTFTPContentHandler::unZip] [/var/opt/novell/zenworks/content-repo/tmp/imaging/tftp-e860e25c86c7e111a6ab00163e19081b-1342810501069.zip : deleted] [] []
[ISSTFTPContentHandler::handleEvent] [TFTP folder replicated successfully.] [] []
[ISSTFTPContentHandler::handleEvent] [The TFTP folder has been successfully replicated.] [] []