Re: [Linux-HA] Antw: Xen XL Resource Agent

2013-11-18 Thread Lars Marowsky-Bree
On 2013-11-15T09:05:53, Tom Parker tpar...@cbnco.com wrote:

 The XL tools are much faster and lighter weight.   I am not sure if they
 report proper codes (I will have to test) but the XM stack has been
 deprecated so at some point I assume it will go away completely.

The Xen RA already supports xen-list and xen-destroy in addition to
the xm tools. Patches to additionally support xl are welcome.

(Auto-detect what is available, and then choose xl - xen-* - xm.)

We can't yet drop xm, since not all environments have xl yet.


Regards,
Lars

-- 
Architect Storage/HA
SUSE LINUX Products GmbH, GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer, HRB 
21284 (AG Nürnberg)
Experience is the name everyone gives to their mistakes. -- Oscar Wilde

___
Linux-HA mailing list
Linux-HA@lists.linux-ha.org
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems


Re: [Linux-HA] Antw: Xen XL Resource Agent

2013-11-18 Thread Tom Parker
My thoughts were to create a new RA and let admins choose. If you would prefer 
to auto-detect that is an option as well.

Tom

From: Lars Marowsky-Bree
Sent: Monday, November 18, 2013 8:27 AM
To: General Linux-HA mailing list
Reply To: General Linux-HA mailing list
Subject: Re: [Linux-HA] Antw: Xen XL Resource Agent


On 2013-11-15T09:05:53, Tom Parker tpar...@cbnco.com wrote:

 The XL tools are much faster and lighter weight.   I am not sure if they
 report proper codes (I will have to test) but the XM stack has been
 deprecated so at some point I assume it will go away completely.

The Xen RA already supports xen-list and xen-destroy in addition to
the xm tools. Patches to additionally support xl are welcome.

(Auto-detect what is available, and then choose xl - xen-* - xm.)

We can't yet drop xm, since not all environments have xl yet.


Regards,
Lars

--
Architect Storage/HA
SUSE LINUX Products GmbH, GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer, HRB 
21284 (AG Nürnberg)
Experience is the name everyone gives to their mistakes. -- Oscar Wilde

___
Linux-HA mailing list
Linux-HA@lists.linux-ha.org
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems
___
Linux-HA mailing list
Linux-HA@lists.linux-ha.org
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems


Re: [Linux-HA] Antw: Xen XL Resource Agent

2013-11-15 Thread Tom Parker
The XL tools are much faster and lighter weight.   I am not sure if they
report proper codes (I will have to test) but the XM stack has been
deprecated so at some point I assume it will go away completely.

[LIVE] qaxen1:~ # time xl list
NameID   Mem VCPUs  State  
Time(s)
Domain-0 0 2534712 r- 
146383.6

Domain list removed

real0m0.053s
user0m0.000s
sys 0m0.008s


[LIVE] qaxen1:~ # time xm
list

  

NameID   Mem VCPUs  State  
Time(s) 


Domain-0 0 2534712 r-
146381.1
  


Domain list removed

real0m0.352s
user0m0.236s
sys 0m0.036s

On 11/15/2013 02:04 AM, Ulrich Windl wrote:
 Tom Parker tpar...@cbnco.com schrieb am 14.11.2013 um 19:23 in Nachricht
 5285150b.9050...@cbnco.com:
 Hello.

 Now that XM has been deprecated is anyone working on a Xen RA that uses
 the xl tool stack? 
 I woonder whether xl will (opposed to xm) report proper exit codes if 
 operations fail. Otherwise I don't see the reason to change tools. MHO...

 I am willing to do the work but I don't want to duplicate the effort if
 someone else is doing/has already done it.

 Tom
 ___
 Linux-HA mailing list
 Linux-HA@lists.linux-ha.org 
 http://lists.linux-ha.org/mailman/listinfo/linux-ha 
 See also: http://linux-ha.org/ReportingProblems 

 ___
 Linux-HA mailing list
 Linux-HA@lists.linux-ha.org
 http://lists.linux-ha.org/mailman/listinfo/linux-ha
 See also: http://linux-ha.org/ReportingProblems

___
Linux-HA mailing list
Linux-HA@lists.linux-ha.org
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems