<!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>
  File "src/xenman.py", line 2493, in wrapper<BR>
    funct(widget, *args, **cargs)<BR>
  File "src/xenman.py", line 2385, in start_all_domains<BR>
    domains = managed_node.get_dom_names()<BR>
  File "/root/XenMan_Installs/xenman-0.6/src/XenNode.py", line 125, in get_dom_names<BR>
    return self.dom_list.iterkeys()<BR>
  File "/root/XenMan_Installs/xenman-0.6/src/XenNode.py", line 378, in iterkeys<BR>
    return self.dom_dict.keys()<BR>
  File "/root/XenMan_Installs/xenman-0.6/src/XenNode.py", line 311, in __getattr__<BR>
    return self._init_dom_list()<BR>
  File "/root/XenMan_Installs/xenman-0.6/src/XenNode.py", line 306, in _init_dom_list<BR>
    self.refresh()<BR>
  File "/root/XenMan_Installs/xenman-0.6/src/XenNode.py", line 317, in refresh<BR>
    dom_list_info = self.node.node_proxy.xend.domains(1)<BR>
  File "/root/XenMan_Installs/xenman-0.6/src/XenServerProxy.py", line 165, in __call__<BR>
    ret = self.__send(self.__name, args)<BR>
  File "/usr/lib/python2.4/site-packages/xen/util/xmlrpclib2.py", line 122, in __request<BR>
    response = xmlrpclib.ServerProxy.__request(self, methodname, params)<BR>
  File "/usr/lib/python2.4/xmlrpclib.py", line 1383, in __request<BR>
    verbose=self.__verbose<BR>
  File "/root/XenMan_Installs/xenman-0.6/src/XenServerProxy.py", line 133, in request<BR>
    return Transport.request(self, host, '/RPC2', request_body, verbose)<BR>
  File "/usr/lib/python2.4/xmlrpclib.py", line 1129, in request<BR>
    self.send_content(h, request_body)<BR>
  File "/usr/lib/python2.4/xmlrpclib.py", line 1243, in send_content<BR>
    connection.endheaders()<BR>
  File "/usr/lib/python2.4/httplib.py", line 798, in endheaders<BR>
    self._send_output()<BR>
  File "/usr/lib/python2.4/httplib.py", line 679, in _send_output<BR>
    self.send(msg)<BR>
  File "/usr/lib/python2.4/httplib.py", line 646, in send<BR>
    self.connect()<BR>
  File "/root/XenMan_Installs/xenman-0.6/src/XenServerProxy.py", line 84, in connect<BR>
    ("localhost",self.localport))<BR>
  File "/root/XenMan_Installs/xenman-0.6/src/phelper.py", line 326, in open_channel<BR>
    raise CommunicationException(0, "[open_channel]" +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  no element found: line 1, column 0<BR>
Traceback (most recent call last):<BR>
  File "src/xenman.py", line 2493, in wrapper<BR>
    funct(widget, *args, **cargs)<BR>
  File "src/xenman.py", line 2469, in connect_node<BR>
    names = managed_node.get_dom_names()<BR>
  File "/root/XenMan_Installs/xenman-0.6/src/XenNode.py", line 125, in get_dom_names<BR>
    return self.dom_list.iterkeys()<BR>
  File "/root/XenMan_Installs/xenman-0.6/src/XenNode.py", line 378, in iterkeys<BR>
    return self.dom_dict.keys()<BR>
  File "/root/XenMan_Installs/xenman-0.6/src/XenNode.py", line 311, in __getattr__<BR>
    return self._init_dom_list()<BR>
  File "/root/XenMan_Installs/xenman-0.6/src/XenNode.py", line 306, in _init_dom_list<BR>
    self.refresh()<BR>
  File "/root/XenMan_Installs/xenman-0.6/src/XenNode.py", line 317, in refresh<BR>
    dom_list_info = self.node.node_proxy.xend.domains(1)<BR>
  File "/root/XenMan_Installs/xenman-0.6/src/XenServerProxy.py", line 165, in __call__<BR>
    ret = self.__send(self.__name, args)<BR>
  File "/usr/lib/python2.4/site-packages/xen/util/xmlrpclib2.py", line 122, in __request<BR>
    response = xmlrpclib.ServerProxy.__request(self, methodname, params)<BR>
  File "/usr/lib/python2.4/xmlrpclib.py", line 1383, in __request<BR>
    verbose=self.__verbose<BR>
  File "/root/XenMan_Installs/xenman-0.6/src/XenServerProxy.py", line 133, in request<BR>
    return Transport.request(self, host, '/RPC2', request_body, verbose)<BR>
  File "/usr/lib/python2.4/xmlrpclib.py", line 1147, in request<BR>
    return self._parse_response(h.getfile(), sock)<BR>
  File "/usr/lib/python2.4/xmlrpclib.py", line 1284, in _parse_response<BR>
    p.close()<BR>
  File "/usr/lib/python2.4/xmlrpclib.py", line 530, in close<BR>
    self._parser.Parse("", 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  no element found: line 1, column 0<BR>
Traceback (most recent call last):<BR>
  File "src/xenman.py", line 584, in handle_timer_callback<BR>
    cls.notebook.showSummaryTab()<BR>
  File "src/xenman.py", line 835, in showSummaryTab<BR>
    self.summary_tab.refresh()<BR>
  File "src/xenman.py", line 1788, in refresh<BR>
    self._populate_pool_summary()<BR>
  File "src/xenman.py", line 1825, in _populate_pool_summary<BR>
    node_snapshot["TOTAL_VMs"] = len(m_node.get_dom_names())-1<BR>
  File "/root/XenMan_Installs/xenman-0.6/src/XenNode.py", line 125, in get_dom_names<BR>
    return self.dom_list.iterkeys()<BR>
  File "/root/XenMan_Installs/xenman-0.6/src/XenNode.py", line 378, in iterkeys<BR>
    return self.dom_dict.keys()<BR>
  File "/root/XenMan_Installs/xenman-0.6/src/XenNode.py", line 311, in __getattr__<BR>
    return self._init_dom_list()<BR>
  File "/root/XenMan_Installs/xenman-0.6/src/XenNode.py", line 306, in _init_dom_list<BR>
    self.refresh()<BR>
  File "/root/XenMan_Installs/xenman-0.6/src/XenNode.py", line 317, in refresh<BR>
    dom_list_info = self.node.node_proxy.xend.domains(1)<BR>
  File "/root/XenMan_Installs/xenman-0.6/src/XenServerProxy.py", line 165, in __call__<BR>
    ret = self.__send(self.__name, args)<BR>
  File "/usr/lib/python2.4/site-packages/xen/util/xmlrpclib2.py", line 122, in __request<BR>
    response = xmlrpclib.ServerProxy.__request(self, methodname, params)<BR>
  File "/usr/lib/python2.4/xmlrpclib.py", line 1383, in __request<BR>
    verbose=self.__verbose<BR>
  File "/root/XenMan_Installs/xenman-0.6/src/XenServerProxy.py", line 133, in request<BR>
    return Transport.request(self, host, '/RPC2', request_body, verbose)<BR>
  File "/usr/lib/python2.4/xmlrpclib.py", line 1147, in request<BR>
    return self._parse_response(h.getfile(), sock)<BR>
  File "/usr/lib/python2.4/xmlrpclib.py", line 1284, in _parse_response<BR>
    p.close()<BR>
  File "/usr/lib/python2.4/xmlrpclib.py", line 530, in close<BR>
    self._parser.Parse("", 1) # end of data<BR>
ExpatError: no element found: line 1, column 0<BR>
Exception in callback...ignoring  None<BR>
got expat error  no element found: line 1, column 0<BR>
Traceback (most recent call last):<BR>
  File "src/xenman.py", line 584, in handle_timer_callback<BR>
    cls.notebook.showSummaryTab()<BR>
  File "src/xenman.py", line 835, in showSummaryTab<BR>
    self.summary_tab.refresh()<BR>
  File "src/xenman.py", line 1788, in refresh<BR>
    self._populate_pool_summary()<BR>
  File "src/xenman.py", line 1825, in _populate_pool_summary<BR>
    node_snapshot["TOTAL_VMs"] = len(m_node.get_dom_names())-1<BR>
  File "/root/XenMan_Installs/xenman-0.6/src/XenNode.py", line 125, in get_dom_names<BR>
    return self.dom_list.iterkeys()<BR>
  File "/root/XenMan_Installs/xenman-0.6/src/XenNode.py", line 378, in iterkeys<BR>
    return self.dom_dict.keys()<BR>
  File "/root/XenMan_Installs/xenman-0.6/src/XenNode.py", line 311, in __getattr__<BR>
    return self._init_dom_list()<BR>
  File "/root/XenMan_Installs/xenman-0.6/src/XenNode.py", line 306, in _init_dom_list<BR>
    self.refresh()<BR>
  File "/root/XenMan_Installs/xenman-0.6/src/XenNode.py", line 317, in refresh<BR>
    dom_list_info = self.node.node_proxy.xend.domains(1)<BR>
  File "/root/XenMan_Installs/xenman-0.6/src/XenServerProxy.py", line 165, in __call__<BR>
    ret = self.__send(self.__name, args)<BR>
  File "/usr/lib/python2.4/site-packages/xen/util/xmlrpclib2.py", line 122, in __request<BR>
    response = xmlrpclib.ServerProxy.__request(self, methodname, params)<BR>
  File "/usr/lib/python2.4/xmlrpclib.py", line 1383, in __request<BR>
    verbose=self.__verbose<BR>
  File "/root/XenMan_Installs/xenman-0.6/src/XenServerProxy.py", line 133, in request<BR>
    return Transport.request(self, host, '/RPC2', request_body, verbose)<BR>
  File "/usr/lib/python2.4/xmlrpclib.py", line 1147, in request<BR>
    return self._parse_response(h.getfile(), sock)<BR>
  File "/usr/lib/python2.4/xmlrpclib.py", line 1284, in _parse_response<BR>
    p.close()<BR>
  File "/usr/lib/python2.4/xmlrpclib.py", line 530, in close<BR>
    self._parser.Parse("", 1) # end of data<BR>
ExpatError: no element found: line 1, column 0<BR>
Exception in callback...ignoring  None<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
</FONT>
</P>

</BODY>
</HTML>