Product:
Search Type:

[FIX] Migration fails due to closed connection

Article ID: 2165 
Last Review: Sep,11 2007
APPLIES TO:
  • Virtuozzo for Windows 3.5.1 SP1

SYMPTOMS

Migration of VE between nodes fails with close connection error:


vzmigrate 9999 -A 192.168.45.71 -P vzagent_password
connection adjust...
migrate 9999->9999
migration startedconnect
get SSH keys
set SSH keys
prepare migration
close connection

CAUSE

Most likely the reason of the problem is corrupted or misconfigured vzagent.conf file.

RESOLUTION

Please do the following actions on both nodes to fix the issue:

1. Please backup original C:\Program Files\SWsoft\Virtuozzo\Vzagent\etc\vzagent.conf

2. Copy this file from another working(test) node replacing the existing one.

3. Check the following parameters in new vzagent.conf and correct them according to old ones:

-       <address>192.168.45.71</address>
-       <backup_node>local</backup_node>

where 192.168.45.71 is IP address of the node and local is default backup node address  which can be represented as remote IP address as well

4. Run the following command to propagate new vzagent.conf file to Service VE: 

vzsveinstall –u

5.Try to migrate VE again.

Please provide feedback on this article

Did this article help you solve your issue?
Yes
No
Partially
I do not know yet
 
Strongly Agree   Strongly Disagree
  9 8 7 6 5 4 3 2 1
The article is easy to understand
The article is accurate
Additional Comments:
*Please provide us with your email address in case we need to contact you.
*Please type the code you can see.
* - required fields