|
|
|
|
|
|
|
|
|
|
xen-users
Re: [Xen-users] RAM size problem
Thanks for your reply.
I have another problem, now after assigning the values to my VM I tried to start it up but I received the following error: There are no suitable hosts to start this VM on.
now I added more hosts to the pool and I already have free memory on some of them (in the pool ) but I don't have shared storage, when I created the VM I used:
xe vm-install template="$VM_OS_UUID"
new-name-label="$VM_NAME" $XCP_ID
sr-uuid=”sr-uuid of targeted Xen Host”)
so now my xen server is trying to start this VM on the same host who has the sr of this VM and giving me cannot start here [ Not enough free memory]
why it is not taking the memory from the pool I already have other hosts with enough free memory??
Thanks again. Inas --- On Mon, 3/7/11, George Shuklin <george.shuklin@xxxxxxxxx> wrote: From: George Shuklin <george.shuklin@xxxxxxxxx> Subject: Re: [Xen-users] RAM size problem To:
xen-users@xxxxxxxxxxxxxxxxxxx Date: Monday, March 7, 2011, 5:37 PM
1) There is an ugly problem for pv_kernels: thay can not raise memory
above value at start time.
2) XCP use dynamic memory technology, intended for -xen kernels (not
PV), so they use dynamic-min, dynamic-max values to regulate domain
memory automatically.
Quick and dirty solution:
shutdown VM and set memory-static-min to same value as memory static
max (all 4 values can be changed by 'xe vm-memory-limits-set')
On 07.03.2011 14:24, inas mohamed wrote:
Hi,
I have 5 XCP
servers joining a pool.
I have more
than 16G physical RAM free and when I tried to allocate 16G RAM for my
CentOS VM using:
xe vm-param-set
uuid=my-vm-uuid memory-static-max=17179869184
xe vm-param-set
uuid=my-vm-uuid
memory-dynamic-max=17179869184
and when:
# free -m
//on my VM
the total was: 6130
and if:
# free -m -t
Total 11698
why it is not 16G?
Thanks for you help
|
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
-----Inline Attachment Follows-----
|
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
|
|
|
|
|