Hi, If someone could help me with my trailed query, then it would be really helpful. I eagerly await for your response.
Regards, Sanjeet On Thu, Mar 26, 2020 at 3:20 PM sanjeet rath <[email protected]> wrote: > > Hi Team, > > I am trying to achieve Nifi migration to a different cluster using > zookeeper state migration (in case of failure of cluster) > > Steps i am doing. > > zk-migrator.sh -r -z > sourceHostname:sourceClientPort/sourceRootPath/components -f > /path/to/export/zk-source-data.json > > zk-migrator.sh -s -z > destinationHostname:destinationClientPort/destinationRootPath/components -f > /path/to/export/zk-source-data.json > also moved the flow.xml.gz, users.xml, authorization.xml from source > cluster to the destination cluster. > > Then its working fine, means its capturing the processor state id from the > old cluster. > > But my question is: > > Is the above approach is correct for moving to new cluster with state > when there is failure in old cluster. > And one more thing, as per zk migration doc the flow need be stoped before > running the zk migration export script. > Is it mandatory ? > > Is there any other approach is there to achieve this, then please suggest, > > Thanks, > Sanjeet > > > > > > > > > > > -- > Sanjeet Kumar Rath, > mob- +91 8777577470 > > -- Sanjeet Kumar Rath, mob- +91 8777577470
