Hi, You will need to open the OpenNebula xml-rpc port (or access it through a tunnel), and install the CLI and Ruby OCA files in your Host (those located in /usr/lib/one/ruby/OpenNebula).
Some distros package the opennebula client tools separately [1]. Or you can download the code and use the '-c' option of the install.sh file [2]. Skip the compilation step, everything you will install are ruby scripts. If you are going to use only the Ruby OCA, then the only gem you need is nokogiri, but you can execute the install_gems scripts to be on the safe side. Regards [1] http://packages.ubuntu.com/precise/opennebula-tools [2] http://opennebula.org/documentation:rel3.4:compile -- Carlos Martín, MSc Project Engineer OpenNebula - The Open-source Solution for Data Center Virtualization www.OpenNebula.org | cmar...@opennebula.org | @OpenNebula<http://twitter.com/opennebula><cmar...@opennebula.org> On Tue, May 29, 2012 at 4:41 PM, Antonio Carlos Salzvedel Furtado Junior < acsf...@inf.ufpr.br> wrote: > Hello OpenNebula users, > > Is it possible to retrieve pool elements in remote hooks? > I made a script that uses some ruby classes like VirtualMachine, > VirtualMachinePool, Host, HostPool, etc. It works fine, but this hook is > not run on the host. > > I'm going to develop another hook to be used remotely. I want to be able > to include the module OpenNebula in an easy way. Although "one.db" is > located in a NFS shared folder, I don't know about the support OpenNebula > offers for these kind of operations. > > > Cordially, > > > Antonio Carlos Furtado > > _______________________________________________ > Users mailing list > Users@lists.opennebula.org > http://lists.opennebula.org/listinfo.cgi/users-opennebula.org > >
_______________________________________________ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org