OpenVZ Forum


Home » General » Support » load balancing and migration between hardware nodes.
load balancing and migration between hardware nodes. [message #4755] Tue, 25 July 2006 16:25 Go to next message
edbch is currently offline  edbch
Messages: 5
Registered: July 2006
Junior Member
How I can use load balancing to virtual environment migration between hardware nodes.
Re: load balancing and migration between hardware nodes. [message #4772 is a reply to message #4755] Wed, 26 July 2006 07:19 Go to previous messageGo to next message
wfischer is currently offline  wfischer
Messages: 38
Registered: November 2005
Location: Austria/Germany
Member
I'm afraid, I don't understand your question. Do you want to migrate a VE from one hardware node to another?

Werner Fischer, Developer of a Virtuozzo-out-of-the-box-cluster solution at Thomas-Krenn.AG
http://static.openvz.org/userbars/openvz-user.png
Re: load balancing and migration between hardware nodes. [message #4801 is a reply to message #4772] Wed, 26 July 2006 16:14 Go to previous messageGo to next message
edbch is currently offline  edbch
Messages: 5
Registered: July 2006
Junior Member
First, thanks a lot for answering so readily. Second, sorry my bad English.

Yea, I want to migrate a VE from one hardware node to another.

But it would like to make this in automatica way. I would like to use some load to balancer to distribute the VEs for mine we in my farm, thus to distribute better the load for them.

It assumes this scene: I have 30 VEs in three machines. Of these the 30 three first ones are runing applications that they demand much cpu or memory. I would like, then, to use some load to balancer so that these three first ones were distributed in the three machines, without I to have to make manually this.

Thanks a lot any help.

Eduardo

[Updated on: Wed, 26 July 2006 16:15]

Report message to a moderator

Re: load balancing and migration between hardware nodes. [message #4810 is a reply to message #4801] Wed, 26 July 2006 23:48 Go to previous messageGo to next message
kir is currently offline  kir
Messages: 1645
Registered: August 2005
Location: Moscow, Russia
Senior Member

There are a lot of factors to be considered to decide what, when and how to migrate, that's why an automatic solution would be too complex and therefore looks like a dream. You tell that CPU is a concern -- but other than CPU, there are other resources like memory, disk space, I/O load, network bandwidth etc. Note that the migration itself is also consuming some resources -- and that needs to be taken into account as well (or it might end up migrating VEs back and forth and keep the system busy with just that).

The best thing that could be done in that regard is to write some code which will analyze the situation on all the nodes (using vzcpucheck, vzmemcheck, probably iptables statistics, load average in all VEs, and tons of other statistics that could be gathered) and suggest some improvements to the human which can than decide what to do.

These are just some basic initial thoughts. If you are a programmer, you might want to try implementing some of that (or hire somebody to do that if you are not).


Kir Kolyshkin
http://static.openvz.org/userbars/openvz-developer.png
Re: load balancing and migration between hardware nodes. [message #4836 is a reply to message #4755] Thu, 27 July 2006 14:53 Go to previous messageGo to next message
aistis is currently offline  aistis
Messages: 77
Registered: September 2005
Location: Kaunas, Lithuania
Member

Eduardo, depends on what applications / data you are using. If data is mostly static, you could easily put two or more OVZ servers with identical VEs and put some loadbalancer in front of those machines. If the data is dynamic and stored in some kind of database - you could setup some kind of replication between them and use the same scenario with loadbalancer. In short - as Kir said - there are many factors and conciderations, each influencing the outcome Smile


Aistis Zenkevicius
http://static.openvz.org/userbars/openvz-user.png
Re: load balancing and migration between hardware nodes. [message #4840 is a reply to message #4810] Thu, 27 July 2006 17:38 Go to previous messageGo to next message
edbch is currently offline  edbch
Messages: 5
Registered: July 2006
Junior Member
First, thanks for answering so readily.
Sorry if I did not point out oproblema with details. I really have some situations whith a problem specify and distinct, but when I imagined the solution for my problem I thought about as to decide this in generica way. In fact thinking about the solution I presumed that as already had a tool to migrar itself thought that perhaps already an prototype of some species of loadbalancer existed, or one frontend for one that exist, with features of configuration for diverse scenes. Without a doubt something as this must take many factors as you yourselves it said, some minimum things for example minimum time to remigrar a VE. As it said I presumed that the development team could already have some and that I, I eat programmer, could contribute. I find that I presumed excessively.
Well, if this does not exist, finds I could think to start something to decide my problem of start, even because I find it is not so rare. My next step would be to ask for programs (beyond that you cited) to get necessary information so that “my” loadbalancer it decides correctly on when migrar a VE.
Thanks again for your time.
Re: load balancing and migration between hardware nodes. [message #4841 is a reply to message #4836] Thu, 27 July 2006 17:47 Go to previous message
edbch is currently offline  edbch
Messages: 5
Registered: July 2006
Junior Member
Tanks for answering. As I said for the Kir, I really did not specify my problem because he was thinking about a solution of generic form, exactly knowing that they are many variables. As I said I imagined that perhaps already an prototype existed for that it allowed to make configurations for specific situations. As seems that this does not exist I go to try to decide my problem with what I have available.
Tanks again for its time.
Previous Topic: connectivity again
Next Topic: *SOLVED* memory limit problem
Goto Forum:
  


Current Time: Wed Nov 06 12:06:03 GMT 2024

Total time taken to generate the page: 0.03411 seconds