[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-API] Xen API with Java on Xen 4.1.2
Hello all, I am running Xen 4.1.2 on installed on Fedora 16. I would like to program a monitoring tool for my configuration with Java. I tried the Java examples for XenServer SDK 6.0 [1], but my Dom0 cannot answer requests from the client:
Failed to create input stream: Unexpected end of file from server. (error message on client after running the RunTests.java with parameters java RunTests localhost:5555 username passwd)
I have configured xen-api-server value on /etc/xen/xend-config.sxp to: (xen-api-server) ((5555 none ^localhost$') (unix none))) Now I strongly think that I cannot use the API [1] for my configuration, although on previous versions it might have been working [2].
Is there any ways to use the API with my configuration or what other solutions I might have for programming the Xen monitoring tool? With the tool, I would like to notice, for example, whether a virtual machine has been crashed or the vm is using too much memory. A dummy solution would be to run command line commands, such as "xm list" and read lines with a Java program.
[2] http://old-list-archives.xen.org/archives/html/xen-users/2008-09/msg00122.html and http://old-list-archives.xen.org/archives/html/xen-users/2008-09/msg00125.html
Gratefully yours, Esko Mattila
_______________________________________________ Xen-api mailing list Xen-api@xxxxxxxxxxxxx http://lists.xen.org/cgi-bin/mailman/listinfo/xen-api
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |