GridBuilder management screen

AjaXenterm is a modified version of ajaxterm, a web-based terminal implemented using AJAX. AjaXenTerm adds command-line options for automatically attaching to the consoles of Xen virtual machines. Either the name or ID of the Xen domain can be used:

  -xDOMID, --xenid=DOMID
                        ID of the Xen domain to connect to
  -nDOMNAME, --domname=DOMNAME
                        Name of Xen domain to connect to

Download

First get ajaxterm and install it. Then download AjaXenTerm to the same directory. On a properly-configured Xen system you should be able to connect AjaXenTerm to the console of a running Xen domain and then access it via a web browser.

Starting an AjaXenTerm

[root@tg26 ~]# xm list
Name                              ID Mem(MiB) VCPUs State  Time(s)
Domain-0                           0      386     4 r----- 451659.5
tg33test                          12      512     1 ------  3336.3
 
[root@tg26 ajaxterm]# python /usr/local/ajaxterm/ajaxenterm.py -n tg33test -d -p 9012
AjaxTerm at http://localhost:9012/ pid: 20386
You should then be able to view the console at
http://hostname:9012
To embed it within a web page you could use an iframe like this:
<iframe="http://hostname:port">

Further info

In order to integrate AjaXenTerm into a Xen management portal, you will need a system for controlling the creation and shutdown of AjaXenTerm servers for the various virtual machines. A simple XML-RPC server is included in the GridBuilder source. If you would like further details please contact me at childss AT cs dot tcd dot ie.

Developed by researchers from the Computer Architecture Group, Department of Computer Science, Trinity College Dublin based on software by Anthony Le Suisse.

Hosted by SourceForge: SourceForge.net Logo