[one-users] Keeping the VM hosts scripts up to date

Daniel Molina Aranda danmolin at fdi.ucm.es
Thu Feb 3 11:10:48 PST 2011


There was a bug in OpenNebula 2.0 with the sync command that was fixed
in the 2.0.1 release.

On 3 February 2011 19:20, Steven Timm <timm at fnal.gov> wrote:
> On Thu, 3 Feb 2011, Daniel Molina Aranda wrote:
>
>> Hi Steven,
>>
>> In the OpenNebula 2.0.1 release we changed the default remote path.
>> Now the remotes are copied to /var/tmp/one by default. Also you can
>> change the SCRIPTS_REMOTE_DIR variable inside the oned.conf file if
>> you want to specify a different one.
>>
>> If you modify any script (remember that you have to modify the remotes
>> that are placed in $ONE_LOCATION/var that will be the ones copied to
>> the worker node [1]) you can use the "onehost sync" command to force
>> OpenNebula to update the remote files in the next Host monitoring
>> interval.
>
> We have tried several times to do onehost sync and it does not do anything.
>  Only way we have found is to copy manually from
> a good node to a bad node. (This is under opennebula 2.0).
>
> Steve
>
>
>
>
>>
>> Hope this helps.
>>
>> [1] http://www.opennebula.org/documentation:rel2.0:img
>>
>> On 3 February 2011 18:23, Steven Timm <timm at fnal.gov> wrote:
>>>
>>> We have been burned several times by the set of scripts
>>> in /tmp/one/vmm/kvm not being up to date.. a couple times
>>> a few of them have been missing, other times they have
>>> not had the right permissions.  Is there any command that can
>>> be run from the central host to install them in the first
>>> place and then keep them synced up?
>>>
>>> It is also a pain to have to remember to disable tmpwatch scripts
>>> so that redhat-like OS's don't go and delete them from time to time.
>>> Is there a way to have an alternative path besides /tmp/one?
>>>
>>> Steve Timm
>>>
>>>
>>> --
>>> ------------------------------------------------------------------
>>> Steven C. Timm, Ph.D  (630) 840-8525
>>> timm at fnal.gov  http://home.fnal.gov/~timm/
>>> Fermilab Computing Division, Scientific Computing Facilities,
>>> Grid Facilities Department, FermiGrid Services Group, Group Leader.
>>> Lead of FermiCloud project.
>>> _______________________________________________
>>> Users mailing list
>>> Users at lists.opennebula.org
>>> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>>
>>
>>
>> --
>> Daniel Molina, Cloud Technology Engineer/Researcher
>> DSA Research Group: web http://dsa-research.org and blog
>> http://blog.dsa-research.org
>> OpenNebula Open Source Toolkit for Cloud Computing:
>> http://www.OpenNebula.org
>>
>
> --
> ------------------------------------------------------------------
> Steven C. Timm, Ph.D  (630) 840-8525
> timm at fnal.gov  http://home.fnal.gov/~timm/
> Fermilab Computing Division, Scientific Computing Facilities,
> Grid Facilities Department, FermiGrid Services Group, Group Leader.
> Lead of FermiCloud project.
>
>



-- 
Daniel Molina, Cloud Technology Engineer/Researcher
DSA Research Group: web http://dsa-research.org and blog
http://blog.dsa-research.org
OpenNebula Open Source Toolkit for Cloud Computing: http://www.OpenNebula.org



More information about the Users mailing list