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-api

Re: [Xen-API] how to use credit scheduler in xcp

To: George Shuklin <george.shuklin@xxxxxxxxx>
Subject: Re: [Xen-API] how to use credit scheduler in xcp
From: Vincent Hanquez <vincent.hanquez@xxxxxxxxxxxxx>
Date: Tue, 24 May 2011 11:28:00 +0100
Cc: "xen-api@xxxxxxxxxxxxxxxxxxx" <xen-api@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Tue, 24 May 2011 03:28:15 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <1306231538.10554.10.camel@mabase>
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: <4DDA57FB.5060305@xxxxxxxxx> <1306155312.6844.2.camel@mabase> <4DDB6257.6070200@xxxxxxxxxx> <1306231538.10554.10.camel@mabase>
Sender: xen-api-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.8) Gecko/20100821 Icedove/3.1.2
On 05/24/2011 11:05 AM, George Shuklin wrote:
No, you can use xl/xc with xapi.

They are not *advised* as Mike said.

It's always better to use the proper xe api commands, for portability on XCP. Even some of the command you mentioned as "safe" might have bad side effects for xapi (console, and pause actually) or weird unexpected result in a pool.

Python binding for xc is installed for python in XCP (import
xen.lowlevel.xc), and xl is avaible.

XCP provides /opt/xensource/debug/xenops too.
xl might or might not be available related to different XCP flavors..

I think, after XCP was published under free license, we can say it
starts to loosing it 'closed appliance' appearance: you can hack it any
comfortable way until you know what you do.

You're absolutely right, however you'll be on your own support-wise if you start messing with stuff behind xapi's back.

--
Vincent

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

<Prev in Thread] Current Thread [Next in Thread>