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

Re: [Xen-API] Memory problem Dom0


  • To: <xen-api@xxxxxxxxxxxxx>
  • From: <djz88@xxxxxxxxxx>
  • Date: Sun, 27 Oct 2013 22:29:18 +0100
  • Delivery-date: Sun, 27 Oct 2013 21:29:31 +0000
  • List-id: User and development list for XCP and XAPI <xen-api.lists.xen.org>

Hi Hector, I have had the same problem. For me worked set it in grub but 
without max (eg. GRUB_CMDLINE_XEN="dom0_mem=4G") , update-grub2 and after run 
/usr/lib/xcp/bin/xe-toolstack-restart when if finish normaly reboot machine 
with xe host-disable host=XXXX and xe host-reboot host=XXXX.

Hope it helps.

Zdenek k

______________________________________________________________
> Od: Hector Alejandro Goncalves Pita <hectoragoncalvesp@xxxxxxxxx>
> Komu: "xen-api@xxxxxxxxxxxxx" <xen-api@xxxxxxxxxxxxx>
> Datum: 21.10.2013 21:07
> PÅedmÄt: Re: [Xen-API] Memory problem Dom0
>
>Thanks for your answer, I think I am close to solve my problem but I
>having this issue:
>
>What's the way of getting dom0 uuid? I tried with xe vm-list and this
>is the output:
>
>uuid ( RO)           : ade312ba-6b59-97ea-bxe vm-param-set
>uuid=fda030aa-e22d-48ac-9685-73b6bfb64534 memory-static-min=5368709120
>memory-dynamic-min=5368709120
>memory-dynamic-max=5368709120dd0-ce9a5759c80d
>     name-label ( RW): Control domain on host: archector
>    power-state ( RO): running
>
>So I tried with this command:
>xe vm-param-set uuid=ade312ba-6b59-97ea-bdd0-ce9a5759c80d
>memory-static-min=5368709120 memory-dynamic-min=5368709120
>memory-dynamic-max=5368709120
>
>Getting this output:
>You attempted an operation on a VM that was not in an appropriate
>power state at the time; for example, you attempted to start a VM that
>was already running.  The parameters returned are the VM's handle, and
>the expected and actual VM state at the time of the call.
>vm: ade312ba-6b59-97ea-bdd0-ce9a5759c80d (Control domain on host: archector)
>expected: halted
>actual: running
>
>This is what I get with "xe host-list":
>uuid ( RO)                : fda030aa-e22d-48ac-9685-73b6bfb64534
>          name-label ( RW): archector
>    name-description ( RW): Default install of XenServer
>
>And with "xe vm-param-set uuid=fda030aa-e22d-48ac-9685-73b6bfb64534
>memory-static-min=5368709120 memory-dynamic-min=5368709120
>memory-dynamic-max=5368709120" I get:
>
>The uuid you supplied was invalid.
>type: VM
>uuid: fda030aa-e22d-48ac-9685-73b6bfb64534 (archector)
>
>When I try to do a "xe vm-pause
>uuid=ade312ba-6b59-97ea-bdd0-ce9a5759c80d" I get:
>Error: No matching VMs found
>
>So I'm stuck again. What else you suggest?
>
>Thanks in advance for your answer.
>
>2013/10/21 Brian Menges <bmenges@xxxxxxxxxx>:
>> http://support.citrix.com/article/CTX134951
>>
>> If you do not have xen-cmdline, then I believe the last time I did this was 
>> an xe command increasing the memory assigned to dom0's memory domain in the 
>> xapi. Here's an example command:
>>
>> xe vm-param-set uuid=<dom0 UUID> memory-static-min=8589934592 
>> memory-dynamic-min=8589934592 memory-dynamic-max=8589934592
>>
>> That's the number for 8gb by the way.
>>
>>
>> ---------------------------------------------------------
>> Brian S. Menges
>> Principal Engineer, DevOps
>> 2 Harrison, Suite 200|San Francisco, CA|94105
>> D 415.869.7000|F 415.869.7001
>> ________________________________________
>> From: xen-api-bounces@xxxxxxxxxxxxx [xen-api-bounces@xxxxxxxxxxxxx] on 
>> behalf of Hector Alejandro Goncalves Pita [hectoragoncalvesp@xxxxxxxxx]
>> Sent: Sunday, October 20, 2013 18:38
>> To: xen-api@xxxxxxxxxxxxx
>> Subject: [Xen-API] Memory problem Dom0
>>
>> Hi everyone, I'm a complete newb using Xen-XCP-XenServer, I'll
>> describe my setup:
>>
>>  - Debian Wheezy on a Phenom II X4 machine, 8gb of RAM, installed on a 
>> logical
>>    volume of LVM, Ati Radeon 5770 Graphics.
>>  - Installed xcp-xapi on that machine.
>>
>> The first problem I had was the fglrx module not working well with the kernel
>> provided by xen (blank screen after loading up), I solved it by adding this 
>> two
>> lines in "/etc/default/grub":
>>  GRUB_CMDLINE_LINUX_DEFAULT="radeon.blacklist=1"
>>  GRUB_CMDLINE_LINUX="apparmor=0 nopat"
>>
>> I went with xcp-xapi solution instead of going straight with XenServer 
>> because i
>> could use the my computer normally like there isn't a type 1 hypervisor
>> running, but i can't reallocate more memory for my Dom0 host, right now I'm
>> just using 1GB of my total 8GB, I want a minimum of 4GB if that could be
>> possible, this is what I already done trying to solve this problem:
>>
>>  - Added this line in "/etc/default/grub" (Of course I ran update-grub
>> after that):
>>       GRUB_CMDLINE_XEN="dom0_mem=4G,max:4G"
>>
>>  - Edited "/etc/xen/xend-config.sxp" with this values:
>>       (dom0-min-mem 4096)
>>       (enable-dom0-ballooning no)
>>       (total_available_memory 0)
>>
>>  - Uncommented autoballoon=0 on "/etc/xen/xl.conf"
>>
>>  - Tried to modify
>> "/sys/devices/system/xen_memory/xen_memory0/target_kb" with the value
>> I want but it keeps changing itself to 1297408.
>>
>> I run out of ideas, what else I can do?
>>
>> Thanks in advance for your time, have a nice day.
>>
>> _______________________________________________
>> Xen-api mailing list
>> Xen-api@xxxxxxxxxxxxx
>> http://lists.xen.org/cgi-bin/mailman/listinfo/xen-api
>>
>> ________________________________
>>
>> The information contained in this message, and any attachments, may contain 
>> confidential and legally privileged material. It is solely for the use of 
>> the person or entity to which it is addressed. Any review, retransmission, 
>> dissemination, or action taken in reliance upon this information by persons 
>> or entities other than the intended recipient is prohibited. If you receive 
>> this in error, please contact the sender and delete the material from any 
>> computer.
>>
>> _______________________________________________
>> Xen-api mailing list
>> Xen-api@xxxxxxxxxxxxx
>> http://lists.xen.org/cgi-bin/mailman/listinfo/xen-api
>
>_______________________________________________
>Xen-api mailing list
>Xen-api@xxxxxxxxxxxxx
>http://lists.xen.org/cgi-bin/mailman/listinfo/xen-api
>

_______________________________________________
Xen-api mailing list
Xen-api@xxxxxxxxxxxxx
http://lists.xen.org/cgi-bin/mailman/listinfo/xen-api

 


Rackspace

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