All of lore.kernel.org
 help / color / mirror / Atom feed
* Web based front end
@ 2005-09-04  5:38 David Isaac Wolinsky
  2005-09-04  7:20 ` Tom Wilkie
  0 siblings, 1 reply; 5+ messages in thread
From: David Isaac Wolinsky @ 2005-09-04  5:38 UTC (permalink / raw)
  To: xen-devel

Hello all,

I was curious if there is a web based front end (or one in the works) 
for xen-unstable.  Last I checked, the built-in one for 2.x was being 
tossed out.  Secondly assuming that there isn't one, would the preferred 
language be python?  Finally, would it be better to be a front end for 
xm or would it be better to more tightly integrate it (or of course the 
mix)?

Thanks,
David

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Web based front end
  2005-09-04  5:38 Web based front end David Isaac Wolinsky
@ 2005-09-04  7:20 ` Tom Wilkie
  2005-09-04 16:37   ` David Isaac Wolinsky
  0 siblings, 1 reply; 5+ messages in thread
From: Tom Wilkie @ 2005-09-04  7:20 UTC (permalink / raw)
  To: David Isaac Wolinsky; +Cc: Tom Wilkie, xen-devel

Dear David

The web based front end, XenSV, is still alive and kicking in the  
latest unstable.  I did some work on it a few weeks ago, removed its  
dependancy on twisted, and made it run using mod_python, and apache.   
I'm planing on doing some more work on it in the coming weeks, and  
doing a howto for installation.

SV works by calling into the XendClient.py file, the same file xm  
uses to communicate with Xend.  Its is written entirely in python,  
which probably isn't the best choice for a web app, but makes it  
easier to interface with xend.

Cheers

Tom

On 4 Sep 2005, at 06:38, David Isaac Wolinsky wrote:

> Hello all,
>
> I was curious if there is a web based front end (or one in the  
> works) for xen-unstable.  Last I checked, the built-in one for 2.x  
> was being tossed out.  Secondly assuming that there isn't one,  
> would the preferred language be python?  Finally, would it be  
> better to be a front end for xm or would it be better to more  
> tightly integrate it (or of course the mix)?
>
> Thanks,
> David
>
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@lists.xensource.com
> http://lists.xensource.com/xen-devel
>

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Web based front end
  2005-09-04  7:20 ` Tom Wilkie
@ 2005-09-04 16:37   ` David Isaac Wolinsky
  2005-09-04 17:19     ` Tom Wilkie
  0 siblings, 1 reply; 5+ messages in thread
From: David Isaac Wolinsky @ 2005-09-04 16:37 UTC (permalink / raw)
  To: Tom Wilkie; +Cc: xen-devel

Thanks Tom for the info, I had remembered twisted being removed but 
hadn't realized that XenSV had been since updated.  A couple questions 
though...

    Why not decouple the interface from Apache (as to require only 
python be installed)?  I am not sure of the performance advantage, but 
it should reduce the memory requirements for dom0, allow for a slightly 
smaller disk (negligible), and make installation easier.

    Similarly have you looked into writing XenSV in C?

    Finally, is there any distributed computing tools for Xen, ie, a 
controller software?  This is where my interest really lies, as I am 
working for a group that could use a tool like this and am also looking 
for a way to get involved.

I haven't had an oppurtunity yet to install apache, but will be doing so 
soon enough.

Regards,
David

Tom Wilkie wrote:

> Dear David
>
> The web based front end, XenSV, is still alive and kicking in the  
> latest unstable.  I did some work on it a few weeks ago, removed its  
> dependancy on twisted, and made it run using mod_python, and apache.   
> I'm planing on doing some more work on it in the coming weeks, and  
> doing a howto for installation.
>
> SV works by calling into the XendClient.py file, the same file xm  
> uses to communicate with Xend.  Its is written entirely in python,  
> which probably isn't the best choice for a web app, but makes it  
> easier to interface with xend.
>
> Cheers
>
> Tom
>
> On 4 Sep 2005, at 06:38, David Isaac Wolinsky wrote:
>
>> Hello all,
>>
>> I was curious if there is a web based front end (or one in the  
>> works) for xen-unstable.  Last I checked, the built-in one for 2.x  
>> was being tossed out.  Secondly assuming that there isn't one,  would 
>> the preferred language be python?  Finally, would it be  better to be 
>> a front end for xm or would it be better to more  tightly integrate 
>> it (or of course the mix)?
>>
>> Thanks,
>> David
>>
>> _______________________________________________
>> Xen-devel mailing list
>> Xen-devel@lists.xensource.com
>> http://lists.xensource.com/xen-devel
>>
>
>

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Web based front end
  2005-09-04 16:37   ` David Isaac Wolinsky
@ 2005-09-04 17:19     ` Tom Wilkie
  2005-09-06 16:28       ` Anthony Liguori
  0 siblings, 1 reply; 5+ messages in thread
From: Tom Wilkie @ 2005-09-04 17:19 UTC (permalink / raw)
  To: David Isaac Wolinsky; +Cc: Tom Wilkie, xen-devel

David

On 4 Sep 2005, at 17:37, David Isaac Wolinsky wrote:

> Thanks Tom for the info, I had remembered twisted being removed but  
> hadn't realized that XenSV had been since updated.  A couple  
> questions though...
>
>    Why not decouple the interface from Apache (as to require only  
> python be installed)?  I am not sure of the performance advantage,  
> but it should reduce the memory requirements for dom0, allow for a  
> slightly smaller disk (negligible), and make installation easier.

Well, I didn't want to completely re-implement a HTTP server  
(although I suppose its not tough) so I looked at using another one.   
The bit that depends on apache/mod_python is minimal, about a 20 line  
adapter between mod_python and what twisted used to provide.  So if  
you wrote your own http server it would be a reasonably straight  
forward task to do.

I might actually do this, the dependance on apache is a pain, and I  
think xend has its own http server in it atm.

>    Similarly have you looked into writing XenSV in C?

The primary reason I choose python is because thats what we use in  
cambridge, and its what all the other tools and written in ;-)  Also  
it lets me call straight into the XendClient.py stuff, which  
simplifies it greatly.

>    Finally, is there any distributed computing tools for Xen, ie, a  
> controller software?  This is where my interest really lies, as I  
> am working for a group that could use a tool like this and am also  
> looking for a way to get involved.

I seem to remember somebody talking about one, I'm sure somebody else  
on the list will be able to respond to that. If not I'll ask about on  
monday.

> I haven't had an oppurtunity yet to install apache, but will be  
> doing so soon enough.

The mod_python website has all the info on getting psp up and running  
quickly, just three lines in a config file worked for me.

> Regards,
> David
>
> Tom Wilkie wrote:
>
>
>> Dear David
>>
>> The web based front end, XenSV, is still alive and kicking in the   
>> latest unstable.  I did some work on it a few weeks ago, removed  
>> its  dependancy on twisted, and made it run using mod_python, and  
>> apache.   I'm planing on doing some more work on it in the coming  
>> weeks, and  doing a howto for installation.
>>
>> SV works by calling into the XendClient.py file, the same file xm   
>> uses to communicate with Xend.  Its is written entirely in  
>> python,  which probably isn't the best choice for a web app, but  
>> makes it  easier to interface with xend.
>>
>> Cheers
>>
>> Tom
>>
>> On 4 Sep 2005, at 06:38, David Isaac Wolinsky wrote:
>>
>>
>>> Hello all,
>>>
>>> I was curious if there is a web based front end (or one in the   
>>> works) for xen-unstable.  Last I checked, the built-in one for  
>>> 2.x  was being tossed out.  Secondly assuming that there isn't  
>>> one,  would the preferred language be python?  Finally, would it  
>>> be  better to be a front end for xm or would it be better to  
>>> more  tightly integrate it (or of course the mix)?
>>>
>>> Thanks,
>>> David
>>>
>>> _______________________________________________
>>> Xen-devel mailing list
>>> Xen-devel@lists.xensource.com
>>> http://lists.xensource.com/xen-devel
>>>
>>>
>>
>>
>>
>
>

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Web based front end
  2005-09-04 17:19     ` Tom Wilkie
@ 2005-09-06 16:28       ` Anthony Liguori
  0 siblings, 0 replies; 5+ messages in thread
From: Anthony Liguori @ 2005-09-06 16:28 UTC (permalink / raw)
  To: Tom Wilkie; +Cc: David Isaac Wolinsky, xen-devel

Tom Wilkie wrote:

> David
>
> On 4 Sep 2005, at 17:37, David Isaac Wolinsky wrote:
>
>> Thanks Tom for the info, I had remembered twisted being removed but  
>> hadn't realized that XenSV had been since updated.  A couple  
>> questions though...
>>
>>    Why not decouple the interface from Apache (as to require only  
>> python be installed)?  I am not sure of the performance advantage,  
>> but it should reduce the memory requirements for dom0, allow for a  
>> slightly smaller disk (negligible), and make installation easier.
>
>
> Well, I didn't want to completely re-implement a HTTP server  
> (although I suppose its not tough) so I looked at using another one.   
> The bit that depends on apache/mod_python is minimal, about a 20 line  
> adapter between mod_python and what twisted used to provide.  So if  
> you wrote your own http server it would be a reasonably straight  
> forward task to do.

I think this is what you want:

http://docs.python.org/lib/module-CGIHTTPServer.html

At some point, I'd like to remove the HTTP server Xend is using and 
replace it with SimpleHTTPServer.

> I might actually do this, the dependance on apache is a pain, and I  
> think xend has its own http server in it atm.
>
>>    Similarly have you looked into writing XenSV in C?
>
>
> The primary reason I choose python is because thats what we use in  
> cambridge, and its what all the other tools and written in ;-)  Also  
> it lets me call straight into the XendClient.py stuff, which  
> simplifies it greatly.

Yeah, until the store is more complete, tools pretty much have to be in 
python.

Regards,

Anthony Liguori

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2005-09-06 16:28 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-09-04  5:38 Web based front end David Isaac Wolinsky
2005-09-04  7:20 ` Tom Wilkie
2005-09-04 16:37   ` David Isaac Wolinsky
2005-09-04 17:19     ` Tom Wilkie
2005-09-06 16:28       ` Anthony Liguori

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.