Skip to contentSkip to conversation

Status of "management port" in 3.0?

DISCUSSION Jerry Gulla 3 participants 4 messages Oct 3, 2005

lore
Share & tools
lore
#0 lore raw

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

Quoted 24 lines · Jerry Gulla
Quoted 23 lines
Quoted 7 lines

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.

Quoted 7 lines

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.

#1 lore raw
Quoted 9 lines · Jerry Gulla

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.

Quoted 3 lines

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

Quoted 43 lines

Thanks,

Jerry

Quoted 24 lines · Jerry Gulla
Quoted 23 lines
Quoted 8 lines

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.

Quoted 9 lines

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.

Quoted 4 lines
Quoted 4 lines

Ewan.

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

#2 lore raw

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

Quoted 75 lines · Anthony Liguori
Quoted 9 lines · Jerry Gulla

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.

Quoted 3 lines

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

Quoted 43 lines

Thanks,

Jerry

Quoted 24 lines · Jerry Gulla
Quoted 23 lines
Quoted 8 lines

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.

Quoted 9 lines

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.

Quoted 4 lines
Quoted 4 lines

Ewan.

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

#3 lore raw
In reply to Jerry Gulla

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

Quoted 45 lines · Jerry Gulla

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

Quoted 16 lines · Jerry Gulla
Quoted 15 lines
Quoted 14 lines

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 :-)?

Quoted 8 lines
Quoted 8 lines

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
[email protected]
http://lists.xensource.com/xen-devel