Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Linux-HA: Users

Xen memory allocation in the cluster

 

 

Linux-HA users RSS feed   Index | Next | Previous | View Threaded


sebastia at l00-bugdead-prods

Nov 1, 2007, 3:00 AM

Post #1 of 2 (262 views)
Permalink
Xen memory allocation in the cluster

Hi,

when a virtual Xen machine is migrating from one node to an ohter, the
remaining virtual hosts on the original node, could potentially allocate
more memory, and on the new node, the virtual hosts already there have to
give up sth. of their Memory, to make room for the new one.

As far as I know, Xen is not able to handle this automatically, but it can
be manually set via xm mem-set command.

I am looking for a OCF resource script that would raise/lower memory usage
on virtual nodes automagically. Does there exist sth. like this already?


kind regards
Sebastian

_______________________________________________
Linux-HA mailing list
Linux-HA [at] lists
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems


hunvagyok at freemail

Nov 2, 2007, 12:01 PM

Post #2 of 2 (201 views)
Permalink
Re: Xen memory allocation in the cluster [In reply to]

Hi,

Sebastian Reitenbach wrote:
> As far as I know, Xen is not able to handle this automatically, but it can
> be manually set via xm mem-set command.

Not sure what you are really asking for. I think it's got nothing to do
with HA. I usually limit my dom0 memory with a grub parameter
dom0_mem=1024M on the same line where you specify the hypervisor.

Then the rest of your memory becomes free pool sort of thing. You move 1
VM from 1 node to the other it should really adjust the pool
accordingly. You also have to keep on eye on the memory usage, you don't
want to consume more than you have right? I'm sure there's something
built in Xen against it like the migration may not happen if you don't
have enough ram on the destination node. I have so much so I can't
really test it right now.

Ivan

_______________________________________________
Linux-HA mailing list
Linux-HA [at] lists
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems

Linux-HA users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.