OpenVZ Forum


Home » General » Support » Need Help Benchmarking vzmigrate
Need Help Benchmarking vzmigrate [message #31581] Thu, 03 July 2008 22:47
ubcrockstar is currently offline  ubcrockstar
Messages: 2
Registered: July 2008
Junior Member
Hi, I'm currently running a benchmarking program called Webbench to measure the number of pages/minute access to a VE when it migrates from one HW to another. The source code is written in Posix C and can be found here:
http://home.tiscali.cz:8080/~cz210552/webbench.html

I can ping the VE, and when I tried an online migration (vzmigrate) of a VE to another HW, I can ping the VE once migration is complete. However, Webbench becomes unresponsive because it's still trying to get a socket connection, despite being able to ping via Terminal. The problem has most likely to do with the i=read(s,buf,1500); command in the "benchcore" function of webbench.c or maybe Webbench doesn't know that the IP address has move to another HW. Is there a way to make the migration more transparent to the client side that has Webbench installed? Do I need to modify the VEs, the socket library or just modify webbench.c?

The VE is connected in the local network via venet0. It has IP address 192.168.0.153 and I added 192.168.0.0 in the routing table of eth0 for both HW. Both HW as well as the HW with webbench installed are connected via a router (D-Link DGS-1005D).

Using ovzkernel - 2.6.18-53.1.19.el5.028stab053.14.i686 on Fedora Core 6. VEs are running on Fedora Core 5 template.

Thanks in advanced!
Previous Topic: vzctl questions about hooking
Next Topic: VE not rebooting
Goto Forum:
  


Current Time: Mon Jul 21 12:33:12 GMT 2025

Total time taken to generate the page: 0.08184 seconds