[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-users] RAM size problem


  • To: xen-users@xxxxxxxxxxxxxxxxxxx, George Shuklin <george.shuklin@xxxxxxxxx>
  • From: inas mohamed <inas_2003@xxxxxxxxx>
  • Date: Mon, 7 Mar 2011 22:42:01 -0800 (PST)
  • Cc:
  • Delivery-date: Mon, 07 Mar 2011 22:43:27 -0800
  • Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type; b=IOwIiQ7tTi/TUVvruI5x3GqJSkqIscomyeD598WZiK69Q+s5pmxALZxKjtGFzV97Av+vq6XamOLbDqBKZeH99x9ur6lIk9i8ZBT8hRpozyKhTEqv7sKTA+40o32SYc6xJpVhcD32gYpd323LN19FgzOUaZXUm7fSV28zIJXJTuo=;
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

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

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.