[one-users] Pool elements in remote hooks

Antonio Carlos Salzvedel Furtado Junior acsfj08 at inf.ufpr.br
Wed May 30 06:36:01 PDT 2012


Hello,

Thanks for the information. I'll try to install it on my host.

Cordially,

Antonio Carlos Furtado

On Wed, May 30, 2012 at 10:19 AM, Carlos Martín Sánchez <
cmartin at opennebula.org> wrote:

> 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 | cmartin at opennebula.org | @OpenNebula<http://twitter.com/opennebula><cmartin at opennebula.org>
>
>
>
> On Tue, May 29, 2012 at 4:41 PM, Antonio Carlos Salzvedel Furtado Junior <
> acsfj08 at 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 at lists.opennebula.org
>> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20120530/1e2ac146/attachment-0003.htm>


More information about the Users mailing list