I (finally) got Apache->mod_python->xend working so I can use the (currently somewhat limited) web UI for Xen 3.0. In Xen 2.0, there was a process listening on port 8000 that allowed an application to query / change the configuration; I believe this is how gXenophilia worked. It seems as if in 3.0, however, nobody is listening on this port any more. I''ve modified /etc/xen/xend-config.sxp to specify a port (and open up more than ''localhost''), but this doesn''t seem to have an effect. Is this going to be working some time in the near future for Xen 3.0, or am I missing something (again :-)? Thanks, Jerry _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
On Fri, Sep 23, 2005 at 01:43:07PM -0400, Jerry Gulla wrote:> I (finally) got Apache->mod_python->xend working so I can use the > (currently somewhat limited) web UI for Xen 3.0. In Xen 2.0, there > was a process listening on port 8000 that allowed an application to > query / change the configuration; I believe this is how gXenophilia > worked. > > It seems as if in 3.0, however, nobody is listening on this port any > more. I''ve modified /etc/xen/xend-config.sxp to specify a port (and > open up more than ''localhost''), but this doesn''t seem to have an > effect. > > Is this going to be working some time in the near future for Xen 3.0, > or am I missing something (again :-)?You need to specify (xend-http-server true) in xend-config.sxp as well. I don''t know whether this is new. I also don''t know how well supported this interface is, and whether it will be in the future; looking at http://mymachine:8000/xend I see things that look almost like useful information, but that look a little bit broken too. Ewan. _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Thanks. I had to add that line to my config and then it opened up 8000/8001. I haven''t been able to get gXenophilia to work with it, though. I was really wondering what the "right" answer is for trying to talk to Xen remotely, however. I know that long term, there has been talk of a true "web services" way to do things, and in 2.x we had the http server ports open (and documented) by default, but it seems that currently there is no good indication of what to do. Any idea when there will be a solid direction on what do to for the 3.0 release? Thanks, Jerry> On Fri, Sep 23, 2005 at 01:43:07PM -0400, Jerry Gulla wrote: > > > > > I (finally) got Apache->mod_python->xend working so I can use the > > > (currently somewhat limited) web UI for Xen 3.0. In Xen 2.0, there > > > was a process listening on port 8000 that allowed an application to > > > query / change the configuration; I believe this is how gXenophilia > > > worked. > > > > > > It seems as if in 3.0, however, nobody is listening on this port any > > > more. I''ve modified /etc/xen/xend-config.sxp to specify a port (and > > > open up more than ''localhost''), but this doesn''t seem to have an > > > effect. > > > > > > Is this going to be working some time in the near future for Xen 3.0, > > > or am I missing something (again :-)? > > > > You need to specify (xend-http-server true) in xend-config.sxp as well. I > > don''t know whether this is new. I also don''t know how well supported this > > interface is, and whether it will be in the future; looking at > > http://mymachine:8000/xend I see things that look almost like useful > > information, but that look a little bit broken too. > > > > Ewan. > >_______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Anthony Liguori
2005-Oct-03 21:18 UTC
Re: [Xen-devel] Re: Status of "management port" in 3.0?
Jerry Gulla wrote:>Thanks. I had to add that line to my config and then it opened up >8000/8001. I haven''t been able to get gXenophilia to work with it, >though. I was really wondering what the "right" answer is for trying >to talk to Xen remotely, however. I know that long term, there has >been talk of a true "web services" way to do things, and in 2.x we had >the http server ports open (and documented) by default, but it seems >that currently there is no good indication of what to do. > >Just FYI, I''m pretty sure the HTTP transport is borked in 3.0 right now. I wrote a wrapper for it a few weeks ago and put a less stress on it and it crapped out very quickly. Since it''s off by default, I haven''t investigated it.>Any idea when there will be a solid direction on what do to for the 3.0 release? > >A good approach for management applications is remote ssh. xm list --long is your friend and will give you all of the information you need. Plus, you get authentication/authorization for free. If you use the -S option of SSH, you can multiplex many commands over a single connection efficiently (and only have to prompt for password once). Just catch me in #xen if you want more info about this. Regards, Anthony Liguori>Thanks, > >Jerry > > > > >>On Fri, Sep 23, 2005 at 01:43:07PM -0400, Jerry Gulla wrote: >> >> >>>>I (finally) got Apache->mod_python->xend working so I can use the >>>>(currently somewhat limited) web UI for Xen 3.0. In Xen 2.0, there >>>>was a process listening on port 8000 that allowed an application to >>>>query / change the configuration; I believe this is how gXenophilia >>>>worked. >>>> >>>>It seems as if in 3.0, however, nobody is listening on this port any >>>>more. I''ve modified /etc/xen/xend-config.sxp to specify a port (and >>>>open up more than ''localhost''), but this doesn''t seem to have an >>>>effect. >>>> >>>>Is this going to be working some time in the near future for Xen 3.0, >>>>or am I missing something (again :-)? >>>> >>>> >>>You need to specify (xend-http-server true) in xend-config.sxp as well. I >>>don''t know whether this is new. I also don''t know how well supported this >>>interface is, and whether it will be in the future; looking at >>>http://mymachine:8000/xend I see things that look almost like useful >>>information, but that look a little bit broken too. >>> >>>Ewan. >>> >>> >>> > >_______________________________________________ >Xen-devel mailing list >Xen-devel@lists.xensource.com >http://lists.xensource.com/xen-devel > > >_______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Thanks for the info. It certianly seems as if the http interface isn''t ready for much yet. Using ssh is probably a much safer approach. I appreciate the help; I''ll look for you on #xen if I get stuck. Thanks again, Jerry On 10/3/05, Anthony Liguori <aliguori@us.ibm.com> wrote:> Jerry Gulla wrote: > > >Thanks. I had to add that line to my config and then it opened up > >8000/8001. I haven''t been able to get gXenophilia to work with it, > >though. I was really wondering what the "right" answer is for trying > >to talk to Xen remotely, however. I know that long term, there has > >been talk of a true "web services" way to do things, and in 2.x we had > >the http server ports open (and documented) by default, but it seems > >that currently there is no good indication of what to do. > > > > > Just FYI, I''m pretty sure the HTTP transport is borked in 3.0 right > now. I wrote a wrapper for it a few weeks ago and put a less stress on > it and it crapped out very quickly. Since it''s off by default, I > haven''t investigated it. > > >Any idea when there will be a solid direction on what do to for the 3.0 release? > > > > > A good approach for management applications is remote ssh. xm list > --long is your friend and will give you all of the information you > need. Plus, you get authentication/authorization for free. If you use > the -S option of SSH, you can multiplex many commands over a single > connection efficiently (and only have to prompt for password once). > Just catch me in #xen if you want more info about this. > > Regards, > > Anthony Liguori > > >Thanks, > > > >Jerry > > > > > > > > > >>On Fri, Sep 23, 2005 at 01:43:07PM -0400, Jerry Gulla wrote: > >> > >> > >>>>I (finally) got Apache->mod_python->xend working so I can use the > >>>>(currently somewhat limited) web UI for Xen 3.0. In Xen 2.0, there > >>>>was a process listening on port 8000 that allowed an application to > >>>>query / change the configuration; I believe this is how gXenophilia > >>>>worked. > >>>> > >>>>It seems as if in 3.0, however, nobody is listening on this port any > >>>>more. I''ve modified /etc/xen/xend-config.sxp to specify a port (and > >>>>open up more than ''localhost''), but this doesn''t seem to have an > >>>>effect. > >>>> > >>>>Is this going to be working some time in the near future for Xen 3.0, > >>>>or am I missing something (again :-)? > >>>> > >>>> > >>>You need to specify (xend-http-server true) in xend-config.sxp as well. I > >>>don''t know whether this is new. I also don''t know how well supported this > >>>interface is, and whether it will be in the future; looking at > >>>http://mymachine:8000/xend I see things that look almost like useful > >>>information, but that look a little bit broken too. > >>> > >>>Ewan. > >>> > >>> > >>> > > > >_______________________________________________ > >Xen-devel mailing list > >Xen-devel@lists.xensource.com > >http://lists.xensource.com/xen-devel > > > > > > > >_______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
gXenophilia hasnt been looked at in a while... weve gotten lazy with maintaining the code. If you have issues with it though, feel free to email me and ill see if i can help you. It should also be noted that it was written against the stable branch, and im not sure if it will work with 3.0 right now. As to better web services, both me and mike mccabe are working on some preliminary XMLRPC servers built into Xend. Hopefully one of use will have somthing to show for it, or at least the basic infrastructure for it soon. Edward Despard On Oct 3, 2005, at 2:59 PM, Jerry Gulla wrote:> Thanks. I had to add that line to my config and then it opened up > 8000/8001. I haven''t been able to get gXenophilia to work with it, > though. I was really wondering what the "right" answer is for trying > to talk to Xen remotely, however. I know that long term, there has > been talk of a true "web services" way to do things, and in 2.x we had > the http server ports open (and documented) by default, but it seems > that currently there is no good indication of what to do. > > Any idea when there will be a solid direction on what do to for the > 3.0 release? > > Thanks, > > Jerry > > >> On Fri, Sep 23, 2005 at 01:43:07PM -0400, Jerry Gulla wrote: >>> >>>> I (finally) got Apache->mod_python->xend working so I can use the >>>> (currently somewhat limited) web UI for Xen 3.0. In Xen 2.0, there >>>> was a process listening on port 8000 that allowed an application to >>>> query / change the configuration; I believe this is how gXenophilia >>>> worked. >>>> >>>> It seems as if in 3.0, however, nobody is listening on this port any >>>> more. I''ve modified /etc/xen/xend-config.sxp to specify a port (and >>>> open up more than ''localhost''), but this doesn''t seem to have an >>>> effect. >>>> >>>> Is this going to be working some time in the near future for Xen >>>> 3.0, >>>> or am I missing something (again :-)? >>> >>> You need to specify (xend-http-server true) in xend-config.sxp as >>> well. I >>> don''t know whether this is new. I also don''t know how well >>> supported this >>> interface is, and whether it will be in the future; looking at >>> http://mymachine:8000/xend I see things that look almost like useful >>> information, but that look a little bit broken too. >>> >>> Ewan. >>> > > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xensource.com > http://lists.xensource.com/xen-devel >_______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel