Re: web interface?

Paul J R
2007-07-31T17:26:57Z

Wow, those are both pretty informative. Given both those replies, i'm
wondering if i should continue?

The kind of thing I had in mind was relatively simple, it'd be a
miniture OS that would boot up (over pxe/usb/cdrom) into ram (its about
90mb of ram so far with kvm and a full kernel + kudzu and few small
components such as a httpd+php). it searches for a configuration
partition and away you go managing the rest via the web interface. I had
clustering/multi-node sitting at the back of my head as well.

But im no guru at such things, and the reason I ask is that it sounds
like it may be someone is already thinking along those lines anyway
(someone much better at such things than me!).

Thanks for the replies everyone.

Jorge Lucángeli Obes wrote:
> On 7/31/07, ron minnich <rminnich-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
>
>> Take a look at Lucho's kvmfs before you go too far.
>>
>> See his OLS talk and papers.
>>
>
> https://ols2006.108.redhat.com/2007/Reprints/mirtchovski-Reprint.pdf
>
> Seems pretty cool.
>
>

Daniel P. Berrange wrote:
> On Wed, Aug 01, 2007 at 01:52:39AM +1000, Paul J R wrote:
>
>> Hi guys, I had a quick question.
>>
>> I was playing around writing a php-based web interface for KVM.
>> Basically something that would allow you to use a tiny distro and let
>> you manage disk/net etc via php (atm its crude to say the least).
>>
>> It all seems relatively straight forward except for one component - the
>> console bits. I wanted to make it so you could click on your new vm,
>> then click on a "console" link and *poof* your console appears on your
>> web browser via an embedded java applet. The problem is security,
>> Authenticating users on the page is simple enough, but i cant see a
>> method by which i could put a password on the vnc port in qemu?
>>
>
> Watch this space. I will be submitting patches to upstream QEMU either
> today or tomorrow which will enable password support in VNC. It will
> also provide for optional TLS encryption, and x509 certificates for both
> client and server validation & authentication.
>
>
>> Ideally, what i would like to be able to do is when someone accesses the
>> console it sets the password randomly, then embed's it into the request.
>> Once everyone disconnects it resets the password (but thats not quite so
>> important at this point).
>>
>
> My patches will cope with that scenario. They provide a monitor command
> to let you change the password on the fly.
>
> Regards,
> Dan.