Migrating the NiFi flow.xml.gz file

This section provides a step-by-step process to migrate the NiFi flow.xml.gz file.

Before you begin

  • When you migrate the flow.xml.gz from the source cluster to the destination cluster, ensure that the file ownership and permission are consistent.

  • Copy the flow.xml.gz file from any node in the source cluster to all nodes on the destination cluster. The default CFM 2.0.1 location is the var/lib/nifi directory.

  • Before you copy the flow.xml.gz file to the destination cluster, you must edit it to remove any references to the source cluster. The content of the flow.xml.gz file is different, based on source cluster activities. Here are some examples of common edits you must make.