+

Search Tips | Advanced Search

MFT recovery and restart

If your agent or queue manager are unavailable for any reason, for example because of a power or network failure, Managed File Transfer recovers as follows in these scenarios:

  • Typically, if there is a problem while a file is being transferred, Managed File Transfer recovers and restarts that file transfer after the problem is repaired.
  • If a file that was in the process of being transferred is deleted or changed while the agent or queue manager are unavailable, the transfer fails and you get a message in the transfer log that provides details about the failure.
  • If an agent process fails during a file transfer, the transfer continues when you restart the agent.
  • If an agent loses the connection to its agent queue manager, the agent waits while trying to reconnect to the queue manager. When the agent successfully reconnects to its queue manager, the current transfer continues.
  • If the agent is stopped for any reason, any resource monitors associated with an agent stop polling. When the agent recovers, the monitors are also restarted, and resource polling resumes.
  • For a file transfer with a source disposition of delete, if a recovery occurs after all the data is sent from a source agent to a destination agent, the source file is unlocked before deletion. This unlocking means that the source file could possibly be modified before the file is deleted. Therefore, it is considered to be unsafe to delete the source file and the following warning is displayed:
    BFGTR0075W: The source file has not been deleted because it is possible that the source file 
    was modified after the source file was transferred.

    In this case, verify that the content of the source file is unmodified and then manually delete the source file.

We can check the status of our transfers in the IBM MQ Explorer. If any transfers appear as Stalled, you might need to take corrective action because the stalled status denotes an issue either with the agent or between the two agents involved in the transfer.

Parent topic: Administer Managed File Transfer


Related tasks

Last updated: 2020-10-04