Skip to contentSkip to conversation

XCP1.0 API usage

DISCUSSION ljxblessyou 2 participants 2 messages May 10, 2011 – May 18, 2011

lore
Share & tools
lore
#0 lore raw

Dear xen-devel

Sorry to ask you two questions about XCP. I would be appreciated if you can reply.

Do you know where I can freee download the XCP SDK VM ?

If I want to realtimely chage cpu and memeory share of one VM according to its workload, how I can implement this function? Has there CLI commands or API to support this implemention in XCP1.0, or should I rewirte the
scheduler based on XCP source code and rebuild it? Of course the latter
method is diffcult, I would rather use the former method. I remembered that
Xen Hypervisor 3.0 have the following commands:
"xm sched-credit -d <domain> -w <weight> sets the weight
xm sched-credit -d <domain> -c <cap> sets the cap"
if XCP have not API to support this function, may I use the Xen Hypervisor
commands or API in XCP and how to make it ready to use?

Thank you!
Sinserely,

Li Jianxiang

--

李建祥
Li Jianxiang

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

#1 lore raw

2011/5/9 ljxblessyou <[email protected]>:

Quoted 7 lines

Dear xen-devel

Sorry to ask you two questions about XCP. I would be  appreciated if you can reply.

Do you know where I can freee download the XCP SDK VM ?

You can use the XenServer 5.6 FP1 DDK

Quoted 33 lines

 If I want to realtimely chage cpu and memeory share of one VM according to its workload,  how I can implement this function?  Has there CLI commands  or API to support this implemention in XCP1.0,  or  should I rewirte the scheduler based on XCP source code and rebuild it? Of course the latter method is diffcult, I would rather use the former method. I remembered that Xen Hypervisor 3.0 have the following commands:
       "xm sched-credit -d <domain> -w <weight> sets the  weight xm sched-credit -d <domain> -c <cap> sets the cap"
 if XCP have not API to support this function, may I use the Xen Hypervisor
commands or API in XCP and how to make it ready to use?

Thank you!
 Sinserely,

 Li Jianxiang

--
李建祥
Li Jianxiang

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

Signature · 4 lines
Todd Deshane
http://www.linkedin.com/in/deshantm
http://www.xen.org/products/cloudxen.html
http://runningxen.com/

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel