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

2011-08-30 Thread knawnd
Hi Tino, Tino Vazquez wrote on 29/08/11 17:17: Hi Nikolay, Ok, if not on system-wide, please copy them to $ONE_LOCATION/var/remotes, and see how it goes. A hook script copied into $ONE_LOCATION/var/remotes on front-end node appears on CNs in $SCRIPTS_REMOTE_DIR. But it's written the following

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

2011-08-29 Thread Tino Vazquez
Hi Nikolay, Ok, if not on system-wide, please copy them to $ONE_LOCATION/var/remotes, and see how it goes. Regards, -Tino -- Constantino Vázquez Blanco, MSc OpenNebula Major Contributor www.OpenNebula.org | @tinova79 On Mon, Aug 29, 2011 at 9:19 AM, kna...@gmail.com wrote: any news/help

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

2011-08-23 Thread knawnd
Tino Vazquez wrote on 23/08/11 13:54: Hi Nikolay, Hi Tino, The following are the location of the scripts for the FE * System wide = /usr/share/one/hooks * Self contained = $ONE_LOCATION/share/hooks The following the location in the CNs SCRIPTS_REMOTE_DIR=/var/tmp/one I set

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

2011-08-23 Thread Tino Vazquez
Hi, Let's try this, since this seems like a bug. Could you please copy the hook into /var/lib/one/remotes and onehost sync again? Regards, -Tino -- Constantino Vázquez Blanco, MSc OpenNebula Major Contributor www.OpenNebula.org | @tinova79 On Tue, Aug 23, 2011 at 1:26 PM, kna...@gmail.com

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

2011-08-23 Thread knawnd
Tino Vazquez wrote on 23/08/11 14:45: Hi, Let's try this, since this seems like a bug. Could you please copy the hook into /var/lib/one/remotes and onehost sync again? Since in my deployment scenario OpenNebula is installed in self-contained mode there was no such dir as /var/lib/one/. So I

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

2011-08-22 Thread Tino Vazquez
Hi Nikolay, Apologies, I was referring to OpenNebula 3.0 (sort of a chaotic dance of versions in my head right now). For OpenNebula 2.2, the location of the remotes are * System wide = /usr/share/one/hooks * Self contained = $ONE_LOCATION/share/hooks Regards, -Tino -- Constantino Vázquez

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

2011-08-19 Thread Tino Vazquez
Hi, Sorry, the default for SCRIPTS_REMOTE_DIR is /var/tmp/one. This should be writable by oneadmin in the CNs, that is probably why ONE is failing to copy the scripts in your deployment. Regards, -Tino -- Constantino Vázquez Blanco, MSc OpenNebula Major Contributor www.OpenNebula.org | 

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

2011-08-19 Thread knawnd
Tino Vazquez wrote on 19/08/11 20:01: Hi, Hi, Sorry, the default for SCRIPTS_REMOTE_DIR is /var/tmp/one. In my setup the $SCRIPTS_REMOTE_DIR is set to /tmp/one. The driver scripts appear there on CNs but hooks scripts don't. And that causes a problem when hook can not be found on CNs and

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

2011-08-18 Thread Tino Vazquez
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

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

2011-08-18 Thread knawnd
Tino Vazquez wrote on 18/08/11 19:27: Hi there, Hi Tino, The scripts are copied to /var/lib/one/remotes in the CNs, no shared directories are needed. For some reason the hooks scripts are not copied to CNs in /var/lib/one/remotes in my OpenNebula setup. The 'onehost sync' command was

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

2011-08-11 Thread Carlos Martín Sánchez
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. Regards. -- Carlos Martín, MSc Project Major Contributor OpenNebula - The

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

2011-08-11 Thread knawnd
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

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

2011-08-04 Thread knawnd
forgot to mention that I could not find any info in [1] too about a necessity to share $ONE_LOCATION/share/hooks dir across CNs in case if hooks has to be executed on remote node. So I wonder if $ONE_LOCATION/share/hooks needs to be available across CNs if there is hook to be executed on CNs