I''ve attached a python script that collects stats from DomUs (HVM and PVM). I hope this would be useful for somebody else. See comments for more info. regards, Diego -- -------------- Diego Woitasen XTECH _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Diego Woitasen wrote on Thu, 1 May 2008 22:26:34 -0300:> I''ve attached a python script that collects stats from DomUs (HVM and > PVM). I hope this would be useful for somebody else.Thanks for sharing the script. I tried it on my CentoS 5.1 with Xen 3.2 and it fails with Traceback (most recent call last): File "/root/bin/xen-stats.py", line 97, in ? domains = xend.domains_with_state(True, ''all'', True) File "/usr/lib/python2.4/xmlrpclib.py", line 1096, in __call__ return self.__send(self.__name, args) File "/usr/lib/python2.4/site-packages/xen/util/xmlrpcclient.py", line 118, in __request response = xmlrpclib.ServerProxy.__request(self, methodname, params) File "/usr/lib/python2.4/xmlrpclib.py", line 1383, in __request verbose=self.__verbose File "/usr/lib/python2.4/xmlrpclib.py", line 1129, in request self.send_content(h, request_body) File "/usr/lib/python2.4/xmlrpclib.py", line 1243, in send_content connection.endheaders() File "/usr/lib/python2.4/httplib.py", line 798, in endheaders self._send_output() File "/usr/lib/python2.4/httplib.py", line 679, in _send_output self.send(msg) File "/usr/lib/python2.4/httplib.py", line 646, in send self.connect() File "/usr/lib/python2.4/httplib.py", line 630, in connect raise socket.error, msg socket.error: (111, ''Connection refused'') You write it''s for 3.1.*, so that might be the reason. However, the refused rpc connection looks more like a portmap/tcpwrapper configuration problem. portmap is on and running and nfs is working for instance. What would I need to allow to accept that specific connection? Kai -- Kai Schätzl, Berlin, Germany Get your web at Conactive Internet Services: http://www.conactive.com _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Is there a "xenified" version of Windows 2008 Server? If not, are there any special drivers to make it run fast? I intend to use either Suse or Red Hat 5.1, 64 Bits. But I run SQL Server and I am afraid of the performance hit. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Venefax schrieb:> Is there a "xenified" version of Windows 2008 Server? If not, are there any > special drivers to make it run fast? I intend to use either Suse or Red Hat > 5.1, 64 Bits. But I run SQL Server and I am afraid of the performance hit.Search for "GPL PV drivers" on this and xen-devel lists. -- Tomasz Chmielewski http://wpkg.org _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
> > Is there a "xenified" version of Windows 2008 Server? If not, are there > > any special drivers to make it run fast? I intend to use either Suse or > > Red Hat 5.1, 64 Bits. But I run SQL Server and I am afraid of the > > performance hit. > > Search for "GPL PV drivers" on this and xen-devel lists.Have they been tried on Win 2k8 yet? I don''t know, just curious. Venefax: remember the GPL PV drivers are still beta software, although developing rapidly, so you should be cautious with them. It''s advisable to search through the mailing list a little to acquaint yourselves with the issues around them. Patches to support the MS hypercall interface used by Win 2k8 Server have been posted to the mailing list. There''s ongoing investigation into which of the hypercalls are most beneficial to implement in Xen. Cheers, Mark -- Push Me Pull You - Distributed SCM tool (http://www.cl.cam.ac.uk/~maw48/pmpu/) _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Fri, May 2, 2008 11:16 am, Kai Schaetzl wrote:> Diego Woitasen wrote on Thu, 1 May 2008 22:26:34 -0300: > >> I''ve attached a python script that collects stats from DomUs (HVM and >> PVM). I hope this would be useful for somebody else. > > Thanks for sharing the script. I tried it on my CentoS 5.1 with Xen 3.2 > and it fails with > Traceback (most recent call last): > File "/root/bin/xen-stats.py", line 97, in ? > domains = xend.domains_with_state(True, ''all'', True) > File "/usr/lib/python2.4/xmlrpclib.py", line 1096, in __call__ > return self.__send(self.__name, args) > File "/usr/lib/python2.4/site-packages/xen/util/xmlrpcclient.py", line > 118, in __request > response = xmlrpclib.ServerProxy.__request(self, methodname, params) > File "/usr/lib/python2.4/xmlrpclib.py", line 1383, in __request > verbose=self.__verbose > File "/usr/lib/python2.4/xmlrpclib.py", line 1129, in request > self.send_content(h, request_body) > File "/usr/lib/python2.4/xmlrpclib.py", line 1243, in send_content > connection.endheaders() > File "/usr/lib/python2.4/httplib.py", line 798, in endheaders > self._send_output() > File "/usr/lib/python2.4/httplib.py", line 679, in _send_output > self.send(msg) > File "/usr/lib/python2.4/httplib.py", line 646, in send > self.connect() > File "/usr/lib/python2.4/httplib.py", line 630, in connect > raise socket.error, msg > socket.error: (111, ''Connection refused'') > > You write it''s for 3.1.*, so that might be the reason. However, the > refused rpc connection looks more like a portmap/tcpwrapper configuration > problem. portmap is on and running and nfs is working for instance. What > would I need to allow to accept that specific connection? > > Kai > > -- > Kai Schätzl, Berlin, Germany > Get your web at Conactive Internet Services: http://www.conactive.com > > > > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users >Ups, I forgot a detail. You need to uncomment these two lines in xend-config.sxp: (xend-tcp-xmlrpc-server yes) (xen-tcp-xmlrpc-server-port 8006) -- Diego Woitasen XTECH - Soluciones Linux para empresas (54) 011 5219-0678 _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Diego Woitasen wrote on Sun, 4 May 2008 19:22:49 -0300 (ART):> (xend-tcp-xmlrpc-server yes) > (xen-tcp-xmlrpc-server-port 8006)Makes sense, thanks. I''m getting results now. Kai -- Kai Schätzl, Berlin, Germany Get your web at Conactive Internet Services: http://www.conactive.com _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users