| Regarding live virtual migration [message #34198] | 
			Sat, 13 December 2008 04:39  | 
		 
		
			
				
				
				
					
						  
						gnome
						 Messages: 4 Registered: November 2008 
						
					 | 
					Junior Member  | 
					 | 
		 
		 
	 | 
 
	
		Hi 
 
I had a few queries about live migration which i am currently doing using command 
 
vzmigrate --online -v dest_IP veid 
 
After migration the service hosted by veid becomes unavailable. I had hosted a mysql server on the veid and from another machine i am running queries on this veid. The outside world is able to access the mysql service as i have configured the iptable of hostnode using this command -  
 
iptables -t nat -A PREROUTING -p tcp -d 192.168.52.102 --dport 3306 \-i eth1 -j DNAT --to-destination 192.168.53.101:3306 
192.168.52.102 - host node hosting ve - 192.168.53.101 
 
All the machines are on private LAN and the ve have private IP. 
without the above command no one can access the mysql server. 
 
After doing live migration the service becomes unavalable which is not desirable... 
 
Can you please suggest what can be done in this case so that the service continues to remain accessible after migration... 
 
Thanks in advance 
Please let me know if more inputs are required from my side.. 
 
Neeraj
		
		
		[Updated on: Sat, 13 December 2008 04:39] Report message to a moderator  
 |  
	| 
		
	 | 
 
 
 |