[one-users] hooks execution on remote nodes without shared ONE installation dir

Tino Vazquez tinova at opennebula.org
Thu Aug 18 09:27:32 PDT 2011


Hi there,

The scripts are copied to /var/lib/one/remotes in the CNs, no shared
directories are needed.

They are copied when the host is first monitored, and with onehost sync.

Hope it helps,

-Tino

--
Constantino Vázquez Blanco, MSc
OpenNebula Major Contributor
www.OpenNebula.org | @tinova79



2011/8/11  <knawnd at gmail.com>:
> Carlos Martín Sánchez wrote on 11/08/11 12:55:
>>
>> Hi,
>
> Hi,
>
>> The mechanism you are referring to is the 'onehost sync', it has to be
>> executed as oneadmin in the front-end.
>> This will force the hooks and drivers scripts to be copied to the hosts
>> in the next monitorization cycle.
>
> if 'onehost sync' has to copy hooks scripts from FN to CNs in case if
> OpenNebula is installed in self-contained mode and $ONE_LOCATION dir in not
> shared  over remote nodes then I wonder in what dir on CNs those hooks will
> be copied? There are no any hook scripts in $SCRIPTS_REMOTE_DIR. There were
> no errors in oned.log that hooks couldn't be copied. I need to debug that
> issue to make ONE works in my deployment scenario.
> I wonder when hooks and drivers scripts are copied to CNs? When starting one
> (one start)? When adding new host? During each monitoring cycle? Before
> performing a corresponding action on remote node?
> Is there any link to documentation to read about that?
>
> Thanks!
> Nikolay.
>>
>> Regards.
>> --
>> Carlos Martín
>
> _______________________________________________
> Users mailing list
> Users at lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>



More information about the Users mailing list