OpenVZ Forum


Home » General » Support » Live Virtual Machine Migration - Service Unavailable..
Live Virtual Machine Migration - Service Unavailable.. [message #34199] Sat, 13 December 2008 04:43 Go to next message
gnome is currently offline  gnome
Messages: 4
Registered: November 2008
Junior Member
Hi

I am facing a few issues in 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(mysql server). 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 unavailable which is not desirable...

Can you please suggest what can be done in this case so that the service continues to remain accessible after live migration without any changes (transparent migration)...

Please let me know if more inputs are required from my side..

Thanks in advance


Neeraj

[Updated on: Sat, 13 December 2008 04:43]

Report message to a moderator

Re: Live Virtual Machine Migration - Service Unavailable.. [message #34214 is a reply to message #34199] Mon, 15 December 2008 07:38 Go to previous message
maratrus is currently offline  maratrus
Messages: 1495
Registered: August 2007
Location: Moscow
Senior Member
Hello,

Quote:


All the machines are on private LAN and the ve have private IP.
without the above command no one can access the mysql server.



Nobody could access your VE from the private network...
I'm inclined to think that the reason is firewall (iptables).

And if you add similar rule as you've shown on the destination node? Does your VE is able to handle queries?

So, does your question related to ability to migrate VE with appropriate rules from HN?


Previous Topic: bonded vlan interfaces
Next Topic: Kernel OOPS reconfiguring physical network device
Goto Forum:
  


Current Time: Thu Jul 11 00:38:57 GMT 2024

Total time taken to generate the page: 0.02445 seconds