I got the answer from forums
Yes, this can be somewhat daunting, but a lot less so once you understand what needs to be modified. If you folder structure is the same on both servers, it's really not all that bad. The following assumes a clean install on your production server (Server2) and all tasks set up on your development server (Server1). Unless you have separate license keys, don't license Server2 yet, because that will attempt to create a cluster and will corrupt your QVPR.
Step 1: Stop all services on Server2
Step 2: Rename the QVPR folder on Server2 to something else, and copy the QVPR folder from Server1 to Server2.
Step 3: Change all references to Server1 in the following files to Server2:
Step 4: Start all services on Server2 and stop all services on Server1.
Step 5: License Server2.
It's possible that I've missed a couple files, but that should do it I think. Test it out.
What version of QV did you do this on?
I attempted it on QV9 Server and None of those files had server references in them. There were 4-5 other xml files that did, which I changed.
After that, I started up the Services and none of my Tasks that were migrated showed in the QEMC and the Distribution Service would not Connect.