<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7652.24">
<TITLE>Could not Monitor the VMs on Remote Machine</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/plain format -->
<BR>

<P><FONT SIZE=2>Hi All,<BR>
<BR>
I have installed using Xen and XenMan 0.6 for Managing the Virtual Machines.<BR>
I am able to monitor the VMs on the local host , but it fails for the remote machine.<BR>
XenMan.<BR>
<BR>
Using netsat -tan , I monitored that managed system listens on 8006 ,<BR>
but XenMan by default connects at 8005 on system XenMan is used to manage other remote machine VMs<BR>
<BR>
I tested it also changing the the managing system Port from 8005 to 8006<BR>
<BR>
Following log is generated in the XenMan side<BR>
When Managed Server Port 8006<BR>
Client (Managing Xen Port) 8005<BR>
<BR>
setting last_error [Error 0], [open_channel]Connect failed<BR>
setting last_error [Error 0], [open_channel]Connect failed<BR>
setting last_error [Error 0], [open_channel]Connect failed<BR>
Traceback (most recent call last):<BR>
&nbsp; File &quot;src/xenman.py&quot;, line 2493, in wrapper<BR>
&nbsp;&nbsp;&nbsp; funct(widget, *args, **cargs)<BR>
&nbsp; File &quot;src/xenman.py&quot;, line 2385, in start_all_domains<BR>
&nbsp;&nbsp;&nbsp; domains = managed_node.get_dom_names()<BR>
&nbsp; File &quot;/root/XenMan_Installs/xenman-0.6/src/XenNode.py&quot;, line 125, in get_dom_names<BR>
&nbsp;&nbsp;&nbsp; return self.dom_list.iterkeys()<BR>
&nbsp; File &quot;/root/XenMan_Installs/xenman-0.6/src/XenNode.py&quot;, line 378, in iterkeys<BR>
&nbsp;&nbsp;&nbsp; return self.dom_dict.keys()<BR>
&nbsp; File &quot;/root/XenMan_Installs/xenman-0.6/src/XenNode.py&quot;, line 311, in __getattr__<BR>
&nbsp;&nbsp;&nbsp; return self._init_dom_list()<BR>
&nbsp; File &quot;/root/XenMan_Installs/xenman-0.6/src/XenNode.py&quot;, line 306, in _init_dom_list<BR>
&nbsp;&nbsp;&nbsp; self.refresh()<BR>
&nbsp; File &quot;/root/XenMan_Installs/xenman-0.6/src/XenNode.py&quot;, line 317, in refresh<BR>
&nbsp;&nbsp;&nbsp; dom_list_info = self.node.node_proxy.xend.domains(1)<BR>
&nbsp; File &quot;/root/XenMan_Installs/xenman-0.6/src/XenServerProxy.py&quot;, line 165, in __call__<BR>
&nbsp;&nbsp;&nbsp; ret = self.__send(self.__name, args)<BR>
&nbsp; File &quot;/usr/lib/python2.4/site-packages/xen/util/xmlrpclib2.py&quot;, line 122, in __request<BR>
&nbsp;&nbsp;&nbsp; response = xmlrpclib.ServerProxy.__request(self, methodname, params)<BR>
&nbsp; File &quot;/usr/lib/python2.4/xmlrpclib.py&quot;, line 1383, in __request<BR>
&nbsp;&nbsp;&nbsp; verbose=self.__verbose<BR>
&nbsp; File &quot;/root/XenMan_Installs/xenman-0.6/src/XenServerProxy.py&quot;, line 133, in request<BR>
&nbsp;&nbsp;&nbsp; return Transport.request(self, host, '/RPC2', request_body, verbose)<BR>
&nbsp; File &quot;/usr/lib/python2.4/xmlrpclib.py&quot;, line 1129, in request<BR>
&nbsp;&nbsp;&nbsp; self.send_content(h, request_body)<BR>
&nbsp; File &quot;/usr/lib/python2.4/xmlrpclib.py&quot;, line 1243, in send_content<BR>
&nbsp;&nbsp;&nbsp; connection.endheaders()<BR>
&nbsp; File &quot;/usr/lib/python2.4/httplib.py&quot;, line 798, in endheaders<BR>
&nbsp;&nbsp;&nbsp; self._send_output()<BR>
&nbsp; File &quot;/usr/lib/python2.4/httplib.py&quot;, line 679, in _send_output<BR>
&nbsp;&nbsp;&nbsp; self.send(msg)<BR>
&nbsp; File &quot;/usr/lib/python2.4/httplib.py&quot;, line 646, in send<BR>
&nbsp;&nbsp;&nbsp; self.connect()<BR>
&nbsp; File &quot;/root/XenMan_Installs/xenman-0.6/src/XenServerProxy.py&quot;, line 84, in connect<BR>
&nbsp;&nbsp;&nbsp; (&quot;localhost&quot;,self.localport))<BR>
&nbsp; File &quot;/root/XenMan_Installs/xenman-0.6/src/phelper.py&quot;, line 326, in open_channel<BR>
&nbsp;&nbsp;&nbsp; raise CommunicationException(0, &quot;[open_channel]&quot; +str(ex))<BR>
CommunicationException: [Error 0], [open_channel]Connect fail<BR>
<BR>
The below fragment is generated when<BR>
I changed the Xen port to 8006 on the managing system side.<BR>
<BR>
<BR>
got expat error&nbsp; no element found: line 1, column 0<BR>
Traceback (most recent call last):<BR>
&nbsp; File &quot;src/xenman.py&quot;, line 2493, in wrapper<BR>
&nbsp;&nbsp;&nbsp; funct(widget, *args, **cargs)<BR>
&nbsp; File &quot;src/xenman.py&quot;, line 2469, in connect_node<BR>
&nbsp;&nbsp;&nbsp; names = managed_node.get_dom_names()<BR>
&nbsp; File &quot;/root/XenMan_Installs/xenman-0.6/src/XenNode.py&quot;, line 125, in get_dom_names<BR>
&nbsp;&nbsp;&nbsp; return self.dom_list.iterkeys()<BR>
&nbsp; File &quot;/root/XenMan_Installs/xenman-0.6/src/XenNode.py&quot;, line 378, in iterkeys<BR>
&nbsp;&nbsp;&nbsp; return self.dom_dict.keys()<BR>
&nbsp; File &quot;/root/XenMan_Installs/xenman-0.6/src/XenNode.py&quot;, line 311, in __getattr__<BR>
&nbsp;&nbsp;&nbsp; return self._init_dom_list()<BR>
&nbsp; File &quot;/root/XenMan_Installs/xenman-0.6/src/XenNode.py&quot;, line 306, in _init_dom_list<BR>
&nbsp;&nbsp;&nbsp; self.refresh()<BR>
&nbsp; File &quot;/root/XenMan_Installs/xenman-0.6/src/XenNode.py&quot;, line 317, in refresh<BR>
&nbsp;&nbsp;&nbsp; dom_list_info = self.node.node_proxy.xend.domains(1)<BR>
&nbsp; File &quot;/root/XenMan_Installs/xenman-0.6/src/XenServerProxy.py&quot;, line 165, in __call__<BR>
&nbsp;&nbsp;&nbsp; ret = self.__send(self.__name, args)<BR>
&nbsp; File &quot;/usr/lib/python2.4/site-packages/xen/util/xmlrpclib2.py&quot;, line 122, in __request<BR>
&nbsp;&nbsp;&nbsp; response = xmlrpclib.ServerProxy.__request(self, methodname, params)<BR>
&nbsp; File &quot;/usr/lib/python2.4/xmlrpclib.py&quot;, line 1383, in __request<BR>
&nbsp;&nbsp;&nbsp; verbose=self.__verbose<BR>
&nbsp; File &quot;/root/XenMan_Installs/xenman-0.6/src/XenServerProxy.py&quot;, line 133, in request<BR>
&nbsp;&nbsp;&nbsp; return Transport.request(self, host, '/RPC2', request_body, verbose)<BR>
&nbsp; File &quot;/usr/lib/python2.4/xmlrpclib.py&quot;, line 1147, in request<BR>
&nbsp;&nbsp;&nbsp; return self._parse_response(h.getfile(), sock)<BR>
&nbsp; File &quot;/usr/lib/python2.4/xmlrpclib.py&quot;, line 1284, in _parse_response<BR>
&nbsp;&nbsp;&nbsp; p.close()<BR>
&nbsp; File &quot;/usr/lib/python2.4/xmlrpclib.py&quot;, line 530, in close<BR>
&nbsp;&nbsp;&nbsp; self._parser.Parse(&quot;&quot;, 1) # end of data<BR>
ExpatError: no element found: line 1, column 0<BR>
Valid, writable configuration found, using /etc/xenman.conf<BR>
got expat error&nbsp; no element found: line 1, column 0<BR>
Traceback (most recent call last):<BR>
&nbsp; File &quot;src/xenman.py&quot;, line 584, in handle_timer_callback<BR>
&nbsp;&nbsp;&nbsp; cls.notebook.showSummaryTab()<BR>
&nbsp; File &quot;src/xenman.py&quot;, line 835, in showSummaryTab<BR>
&nbsp;&nbsp;&nbsp; self.summary_tab.refresh()<BR>
&nbsp; File &quot;src/xenman.py&quot;, line 1788, in refresh<BR>
&nbsp;&nbsp;&nbsp; self._populate_pool_summary()<BR>
&nbsp; File &quot;src/xenman.py&quot;, line 1825, in _populate_pool_summary<BR>
&nbsp;&nbsp;&nbsp; node_snapshot[&quot;TOTAL_VMs&quot;] = len(m_node.get_dom_names())-1<BR>
&nbsp; File &quot;/root/XenMan_Installs/xenman-0.6/src/XenNode.py&quot;, line 125, in get_dom_names<BR>
&nbsp;&nbsp;&nbsp; return self.dom_list.iterkeys()<BR>
&nbsp; File &quot;/root/XenMan_Installs/xenman-0.6/src/XenNode.py&quot;, line 378, in iterkeys<BR>
&nbsp;&nbsp;&nbsp; return self.dom_dict.keys()<BR>
&nbsp; File &quot;/root/XenMan_Installs/xenman-0.6/src/XenNode.py&quot;, line 311, in __getattr__<BR>
&nbsp;&nbsp;&nbsp; return self._init_dom_list()<BR>
&nbsp; File &quot;/root/XenMan_Installs/xenman-0.6/src/XenNode.py&quot;, line 306, in _init_dom_list<BR>
&nbsp;&nbsp;&nbsp; self.refresh()<BR>
&nbsp; File &quot;/root/XenMan_Installs/xenman-0.6/src/XenNode.py&quot;, line 317, in refresh<BR>
&nbsp;&nbsp;&nbsp; dom_list_info = self.node.node_proxy.xend.domains(1)<BR>
&nbsp; File &quot;/root/XenMan_Installs/xenman-0.6/src/XenServerProxy.py&quot;, line 165, in __call__<BR>
&nbsp;&nbsp;&nbsp; ret = self.__send(self.__name, args)<BR>
&nbsp; File &quot;/usr/lib/python2.4/site-packages/xen/util/xmlrpclib2.py&quot;, line 122, in __request<BR>
&nbsp;&nbsp;&nbsp; response = xmlrpclib.ServerProxy.__request(self, methodname, params)<BR>
&nbsp; File &quot;/usr/lib/python2.4/xmlrpclib.py&quot;, line 1383, in __request<BR>
&nbsp;&nbsp;&nbsp; verbose=self.__verbose<BR>
&nbsp; File &quot;/root/XenMan_Installs/xenman-0.6/src/XenServerProxy.py&quot;, line 133, in request<BR>
&nbsp;&nbsp;&nbsp; return Transport.request(self, host, '/RPC2', request_body, verbose)<BR>
&nbsp; File &quot;/usr/lib/python2.4/xmlrpclib.py&quot;, line 1147, in request<BR>
&nbsp;&nbsp;&nbsp; return self._parse_response(h.getfile(), sock)<BR>
&nbsp; File &quot;/usr/lib/python2.4/xmlrpclib.py&quot;, line 1284, in _parse_response<BR>
&nbsp;&nbsp;&nbsp; p.close()<BR>
&nbsp; File &quot;/usr/lib/python2.4/xmlrpclib.py&quot;, line 530, in close<BR>
&nbsp;&nbsp;&nbsp; self._parser.Parse(&quot;&quot;, 1) # end of data<BR>
ExpatError: no element found: line 1, column 0<BR>
Exception in callback...ignoring&nbsp; None<BR>
got expat error&nbsp; no element found: line 1, column 0<BR>
Traceback (most recent call last):<BR>
&nbsp; File &quot;src/xenman.py&quot;, line 584, in handle_timer_callback<BR>
&nbsp;&nbsp;&nbsp; cls.notebook.showSummaryTab()<BR>
&nbsp; File &quot;src/xenman.py&quot;, line 835, in showSummaryTab<BR>
&nbsp;&nbsp;&nbsp; self.summary_tab.refresh()<BR>
&nbsp; File &quot;src/xenman.py&quot;, line 1788, in refresh<BR>
&nbsp;&nbsp;&nbsp; self._populate_pool_summary()<BR>
&nbsp; File &quot;src/xenman.py&quot;, line 1825, in _populate_pool_summary<BR>
&nbsp;&nbsp;&nbsp; node_snapshot[&quot;TOTAL_VMs&quot;] = len(m_node.get_dom_names())-1<BR>
&nbsp; File &quot;/root/XenMan_Installs/xenman-0.6/src/XenNode.py&quot;, line 125, in get_dom_names<BR>
&nbsp;&nbsp;&nbsp; return self.dom_list.iterkeys()<BR>
&nbsp; File &quot;/root/XenMan_Installs/xenman-0.6/src/XenNode.py&quot;, line 378, in iterkeys<BR>
&nbsp;&nbsp;&nbsp; return self.dom_dict.keys()<BR>
&nbsp; File &quot;/root/XenMan_Installs/xenman-0.6/src/XenNode.py&quot;, line 311, in __getattr__<BR>
&nbsp;&nbsp;&nbsp; return self._init_dom_list()<BR>
&nbsp; File &quot;/root/XenMan_Installs/xenman-0.6/src/XenNode.py&quot;, line 306, in _init_dom_list<BR>
&nbsp;&nbsp;&nbsp; self.refresh()<BR>
&nbsp; File &quot;/root/XenMan_Installs/xenman-0.6/src/XenNode.py&quot;, line 317, in refresh<BR>
&nbsp;&nbsp;&nbsp; dom_list_info = self.node.node_proxy.xend.domains(1)<BR>
&nbsp; File &quot;/root/XenMan_Installs/xenman-0.6/src/XenServerProxy.py&quot;, line 165, in __call__<BR>
&nbsp;&nbsp;&nbsp; ret = self.__send(self.__name, args)<BR>
&nbsp; File &quot;/usr/lib/python2.4/site-packages/xen/util/xmlrpclib2.py&quot;, line 122, in __request<BR>
&nbsp;&nbsp;&nbsp; response = xmlrpclib.ServerProxy.__request(self, methodname, params)<BR>
&nbsp; File &quot;/usr/lib/python2.4/xmlrpclib.py&quot;, line 1383, in __request<BR>
&nbsp;&nbsp;&nbsp; verbose=self.__verbose<BR>
&nbsp; File &quot;/root/XenMan_Installs/xenman-0.6/src/XenServerProxy.py&quot;, line 133, in request<BR>
&nbsp;&nbsp;&nbsp; return Transport.request(self, host, '/RPC2', request_body, verbose)<BR>
&nbsp; File &quot;/usr/lib/python2.4/xmlrpclib.py&quot;, line 1147, in request<BR>
&nbsp;&nbsp;&nbsp; return self._parse_response(h.getfile(), sock)<BR>
&nbsp; File &quot;/usr/lib/python2.4/xmlrpclib.py&quot;, line 1284, in _parse_response<BR>
&nbsp;&nbsp;&nbsp; p.close()<BR>
&nbsp; File &quot;/usr/lib/python2.4/xmlrpclib.py&quot;, line 530, in close<BR>
&nbsp;&nbsp;&nbsp; self._parser.Parse(&quot;&quot;, 1) # end of data<BR>
ExpatError: no element found: line 1, column 0<BR>
Exception in callback...ignoring&nbsp; None<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
</FONT>
</P>

</BODY>
</HTML>