WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-API] api calls to update nvcpus and memory

To: Seila Garcia <seila.garcia@xxxxxx>
Subject: Re: [Xen-API] api calls to update nvcpus and memory
From: Christopher Winslett <christopherwinslett@xxxxxxxxx>
Date: Fri, 30 Oct 2009 09:52:23 -0500
Cc: "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>, "xen-api@xxxxxxxxxxxxxxxxxxx" <xen-api@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Fri, 30 Oct 2009 08:39:55 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :from:date:message-id:subject:to:cc:content-type; bh=ihk72CpU7n78/e9G7x04cB+xsq/4dy6V1OEJfBYGvUA=; b=Z5CyLmWN+d10NfyGX6vuehowsph+YvObx1ZUpNK27EVvhUq29vYoVbuRWV4UrKXwx1 bgxmuUVMqd9xnoRaAgG+xEXyTGIS/dmJZSimBsZWQ66woFzCUOQrgZBoJgcIyiAFRGj4 xUp9w4EMcEyUqetHfsP0ZAEnbhoFNehgr8okQ=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; b=GuCputRY3N8I9sqweD4ToVXmyI+MjFG1WzGOR203Oq2AOUxgKFxj8ER1Rg29M3lu3j joBOQuAD8BC9dykgjrCLEtET7YctK5+QKlFTx9fXdl/hmznaA9Y+L/dNn49tt0IEik2n KvgvagZ3vPGcQDuiRWlfi1sXng0qA/aHsow6k=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <22C8FDE46E761F498ADAFC45D1C392E30371F52C4692@xxxxxxxxxxxxxxx>
List-help: <mailto:xen-api-request@lists.xensource.com?subject=help>
List-id: Discussion of API issues surrounding Xen <xen-api.lists.xensource.com>
List-post: <mailto:xen-api@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-api>, <mailto:xen-api-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-api>, <mailto:xen-api-request@lists.xensource.com?subject=unsubscribe>
References: <22C8FDE46E761F498ADAFC45D1C392E30371F52C4692@xxxxxxxxxxxxxxx>
Sender: xen-api-bounces@xxxxxxxxxxxxxxxxxxx
I've found you have to do the following:

For Memory:
set_memory_static_max
set_memory_dynamic_max

For CPU:
set_VCPUs_max
set_VCPUs_number

cw

On Fri, Oct 30, 2009 at 3:38 AM, Seila Garcia <seila.garcia@xxxxxx> wrote:
Hi,
 
i want to changes nvcpus number and memory amount form API, what functions shall i use?
 
i tried to call set_VCPUs_at_startup function, it returns success, but the VM vcpus number is not changed.
 
same problem to upgrade ram, i tried set_memory_dynamic_max_live, set_memory_dynamic_min_live, set_memory_static_max and set_memory_static_min without success.
 
how can i change this parameters  from API?
 
Tahnks very much.
 
Seila Garcia

_______________________________________________
xen-api mailing list
xen-api@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/mailman/listinfo/xen-api




--
Christopher Winslett
christopherwinslett@xxxxxxxxx
_______________________________________________
xen-api mailing list
xen-api@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/mailman/listinfo/xen-api
<Prev in Thread] Current Thread [Next in Thread>