As I stated in a previous blog post, I have a new server running XCP 0.1.1 and intend to share all my experiences with the community to help new users learn how to install and run open source Xen. In this post, I will describe my experiences with creating a new Debian Lenny VM image and installing it on my XCP server.
As I like to keep things simple and not use command lines, I decided to try one of the open source management solutions for XCP (listed here) and have selected Open XenCenter.
STEP 1 – Installing Open XenCenter
The download for Open XenCenter is available here and I have installed it on my Linux laptop running Fedora 11. The instructions were simple and only required me to have pygtk installed on my machine. After that, simply enter: python window.py in a terminal window.
STEP 2 – Connect Open XenCenter to XCP Server
When the GUI launches, select Add a New Server which allows you to enter the Hostname (IP address) and root password to the XCP server.
STEP 3 – Creating VM Image
To create a VM image do the following steps:
- Select VM – New from the toolbar and choose the Operating System template
- Enter the address for a network install of the Operating System; I decided to launch Debian Lenny and used the following ftp address – ftp://ftp.debian.org/debian/. NOTE – all of my problems involved this step as I was not selecting the correct http:// address. I plan to try a CD install of an ISO image for my next VM attempt – Windows but don’t have the CD yet so I will be doing this in the future.
- After completing this stage, I started the new VM but was not able to see it on the left hand navigation bar. The solution was to quit Open XenCenter and restart which allowed me to see the new VM I had created. The Open XenCenter developers are now aware of this issue.
- After running thru the Debian install I now have the following VM running on my XCP box;
Finally, I would like to point out that Alberto González Rodríguez who runs Open XenCenter provided exceptional support for me on getting Open XenCenter started with the few issues that I had. Also, this product is still in Alpha state and all people interested in providing development or testing support should contact Alberto.





when I try to add new server error
[******@****** ~]$ python /opt/openxenmanager/window.py
/opt/openxenmanager/window.py:190: GtkWarning: Ignoring the separator setting
self.builder.add_from_file(self.gladefile)
/opt/openxenmanager/window.py:190: GtkWarning: GtkSpinButton: setting an adjustment with non-zero page size is deprecated
self.builder.add_from_file(self.gladefile)
Unexpected error: (, ResponseNotReady(), )
Traceback (most recent call last):
File “/opt/openxenmanager/oxcSERVER.py”, line 1820, in event_next
Exception in thread Thread-3:
Traceback (most recent call last):
File “/usr/lib64/python2.7/threading.py”, line 530, in __bootstrap_inner
self.run()
File “/usr/lib64/python2.7/threading.py”, line 483, in run
self.__target(*self.__args, **self.__kwargs)
File “/opt/openxenmanager/oxcSERVER_addserver.py”, line 279, in fill_tree_with_vms
self.wine.finish_progressconnect()
File “/opt/openxenmanager/window_addserver.py”, line 85, in finish_progressconnect
self.xc_servers[self.selected_host].fill_alerts(self.listalerts)
File “/opt/openxenmanager/oxcSERVER_addserver.py”, line 46, in fill_alerts
self.session_uuid)['Value']
File “/usr/lib64/python2.7/xmlrpclib.py”, line 1224, in __call__
return self.__send(self.__name, args)
File “/usr/lib64/python2.7/xmlrpclib.py”, line 1570, in __request
verbose=self.__verbose
File “/usr/lib64/python2.7/xmlrpclib.py”, line 1264, in request
return self.single_request(host, handler, request_body, verbose)
File “/usr/lib64/python2.7/xmlrpclib.py”, line 1289, in single_request
self.send_request(h, handler, request_body)
File “/usr/lib64/python2.7/xmlrpclib.py”, line 1391, in send_request
connection.putrequest(“POST”, handler, skip_accept_encoding=True)
File “/usr/lib64/python2.7/httplib.py”, line 839, in putrequest
raise CannotSendRequest()
CannotSendRequest
eventn = self.connection.event.next(self.session_uuid)
File “/usr/lib64/python2.7/xmlrpclib.py”, line 1224, in __call__
return self.__send(self.__name, args)
File “/usr/lib64/python2.7/xmlrpclib.py”, line 1570, in __request
verbose=self.__verbose
File “/usr/lib64/python2.7/xmlrpclib.py”, line 1264, in request
return self.single_request(host, handler, request_body, verbose)
File “/usr/lib64/python2.7/xmlrpclib.py”, line 1294, in single_request
response = h.getresponse(buffering=True)
File “/usr/lib64/python2.7/httplib.py”, line 1001, in getresponse
raise ResponseNotReady()
ResponseNotReady
None
Is there a way to launch the Windows HVM from XCP. Like be able to turn on the system, hit the command line, and launch a console that has windows in there. And then be able to use Xen Center from the Windows HVM?