<div dir="ltr">Hi Steven,<div><br><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
In several occasions in the past I have forgotten to<br>
tell my tmpwatch utility not to delete files out of /var/tmp/one<br>
and thus I have seen most of the remotes get deleted off of<br>
my cloud hosts, but opennebula 4.8 doesn't report any problems.</blockquote><div><br></div><div>You are right, when we decided to set /var/tmp/one as the default remotes directory we weren't aware of the tmpwatch utility. </div><div><br></div><div>However, in our case, when we remove /var/tmp/one the driver resends the probes automatically:</div><div><br></div><div><div>Mon Nov 17 11:07:04 2014 [Z0][InM][D]: Monitoring host localhost (0)</div><div>Mon Nov 17 11:07:05 2014 [Z0][InM][I]: Command execution fail: 'if [ -x "/var/tmp/one/im/run_probes" ]; then /var/tmp/one/im/run_probes kvm /var/lib/one//datastores 4124 20 0 localhost; else exit 42; fi'</div><div>Mon Nov 17 11:07:05 2014 [Z0][InM][I]: ExitCode: 42</div><div>Mon Nov 17 11:07:05 2014 [Z0][InM][I]: Remote worker node files not found</div><div>Mon Nov 17 11:07:05 2014 [Z0][InM][I]: Updating remotes</div><div>Mon Nov 17 11:07:10 2014 [Z0][InM][D]: Host localhost (0) successfully monitored.<br></div></div><div><br></div><div>Can you find something similar to that in your log file? If you are not seeing something like that there might be a bug somewhere or a configuration problem. It would be great to narrow it down.</div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"> <br></blockquote><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
I try to fix the remotes by doing "onehost sync" and nothing happens.<br>
I try to disable/enable the host and nothing happens there either.<br>
The only thing that seems to revive it is if I actually<br>
onehost delete/ onehost create.<br></blockquote><div><br></div><div>Right, you should do "onehost sync --force"</div><div><br>Take a look at this section:</div><div><a href="http://docs.opennebula.org/4.10/administration/hosts_and_clusters/host_guide.html#sync">http://docs.opennebula.org/4.10/administration/hosts_and_clusters/host_guide.html#sync</a></div><div><br></div><div>In a nutshell you can version the probes and update specific nodes/cluster. If there is no version change onehost sync will not do anything unless --force is used.<br></div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
IS it possible for the remotes to add an integrity check?<br>
They should not be reporting the host is "on" if the datastores<br>
directory of remotes has been totally deleted.<br></blockquote><div><br></div><div>The automatic redeployment of probes is our way to deal with this. Let's see if we can see why it's no working for you.</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
Also is it possible to configure the directory other than the<br>
default /var/tmp/one? </blockquote><div><br></div><div>Yes:</div><div><br></div><div>/etc/one/oned.conf:71:SCRIPTS_REMOTE_DIR=/var/tmp/one<br></div><div> <br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">Finally is it possible to<br>
redistribute the remotes short of a onehost delete / onehost create?<br></blockquote><div><br></div><div>With the --force flag.</div><div><br></div><div>Cheers,<br>Jaime </div></div></div></div><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr"><div>Jaime Melis<br>Project Engineer<br>OpenNebula - Flexible Enterprise Cloud Made Simple<br><a href="http://www.OpenNebula.org" target="_blank">www.OpenNebula.org</a> | <a href="mailto:jmelis@opennebula.org" target="_blank">jmelis@opennebula.org</a></div></div></div></div>