Now I have some questions about the xen's xmlrpc-tcp
server and XenMan's remote management.
Q1. I have modified the /etc/xen/xend-config.sxp as
follows:
So I have open the xmlrpc-tcp
server, and I can get correct result with "netstat -a|grep 8006".
If I use "telnet localhost
8006", it is ok. It gives me the information as follows:
Try 127.0.0.1...
But if I want to use "telnet
172.19.11.14 8006" (assumed my machine's IP is 172.19.11.14 ), it is
error:
Trying 172.19.11.14...
telnet: Unable to connect to
remote host: Connection refused
Why? Because of authentication?
Or else?
Q2. In /etc/xen/xend-config.sxp, there are
#(xend-tcp-xmlrpc-server-ssl-key-file
/etc/xen/xmlrpc.key)
#(xend-tcp-xmlrpc-server-ssl-cert-file /etc/xen/xmlrpc.crt)
Is it implies that xend use ssh
as its xmlrpc server's connection protocol?
Can change it to traditional
telnet protocol, though telnet is not security?
Q3: I am trying XenMan v0.6 to manage remote xen hosts, but I meet
some problems.
When I use xenman to connect
remote host, it always tell me that
no element fount: line 1, column
0
I try to debug the source code,
exception are
File
"/usr/lib/python2.4/xmlrpclib.py", line 527, in feed
self._parse.Parse(data,0)
I debug XenNode.py
separately
......
if __name__ == "__main__":
host = "172.19.11.14"
username = 'root'
passwd =
'XXX'
managed_node =
XenNode(hostname=host,
username =
username,
password =
passwd,
isRemote=remote)
managed_node.refresh()
And it can get the correct result.
Moreover, I have added some debug code in remote host's xend
source code,
remote xend always can give the ecorrect domains'
information.
But why I cannot get correct one?
I use CentOS 5, Python 2.4, Xen 3.1 Paramiko 1.7.1,
pycrypto-2.0.1
Q4: Can I use normal telnet while not ssh as XenMan's connection protocol?
If Xen allow that.
How can I solve the problems?
Thanks a lot.