<html><body><div style="font-family: times new roman, new york, times, serif; font-size: 12pt; color: #000000"><div>Hi Filipe, <br></div><div><br></div><div>there is currently no easy way to clean the metadata section. We used to hide hosts that were not active in the past day or so, but I think we had to disable that as part of our time-shift recovery bugs.<br></div><div><br></div><div>There is a patch that will add the metadata clean capability (https://gerrit.ovirt.org/#/c/38289/), but it has not been merged yet. So please stay tuned, we will add a way to remove a host from the hosted engine cluster very soon.<br></div><div><br></div><div>Best regards <br></div><div><br></div><div><span name="x"></span>--<br>Martin Sivák<br>msivak@redhat.com<br>Red Hat Czech<br>RHEV-M SLA / Brno, CZ<span name="x"></span><br></div><div><br></div><hr id="zwchr"><blockquote style="border-left:2px solid #1010FF;margin-left:5px;padding-left:5px;color:#000;font-weight:normal;font-style:normal;text-decoration:none;font-family:Helvetica,Arial,sans-serif;font-size:12pt;"><div dir="ltr"><div style="font-size:12.8000001907349px"><div>Hello guys</div><div>I installed ovirt using hosted-engine procedure with six fisical hosts, with more than 60 vms, and until now, everythings ok and my environment works fine.</div><div>I decided to use some of my hosts for other tasks, so have been removed four of my six hosts and put it way from my environment.</div><div>After few days, my second host (hosted_engine_2) start to fail. It's hardware issue. My 10GbE interface stoped. I decide to put my host "4" as a second hosted_engine_2.</div><div>It's works fine. but when I use command "hosted-engine --vm-status", its still returns all of the old members of hosted-engines (1 to 6)</div><div>how can i fix it leave only just active active nodes?</div><div>See below the output for my hosted-engine --vm-status</div></div><div style="font-size:12.8000001907349px"><br></div><div style="font-size:12.8000001907349px"><br></div><div style="font-size:12.8000001907349px"><div><br></div><div>[root@bmh0001 ~]# hosted-engine --vm-status</div><div><br></div><div>--== Host 1 status ==--</div><div><br></div><div>Status up-to-date : True</div><div>Hostname : bmh0001.place.brazil</div><div>Host ID : 1</div><div>Engine status : {"reason": "vm not running on this host", "health": "bad", "vm": "down", "detail": "unknown"}</div><div>Score : 2400</div><div>Local maintenance : False</div><div>Host timestamp : 68830</div><div>Extra metadata (valid at timestamp):</div><div><span style="white-space:pre-wrap">        </span>metadata_parse_version=1</div><div><span style="white-space:pre-wrap">        </span>metadata_feature_version=1</div><div><span style="white-space:pre-wrap">        </span>timestamp=68830 (Sun Mar 8 17:38:05 2015)</div><div><span style="white-space:pre-wrap">        </span>host-id=1</div><div><span style="white-space:pre-wrap">        </span>score=2400</div><div><span style="white-space:pre-wrap">        </span>maintenance=False</div><div><span style="white-space:pre-wrap">        </span>state=EngineDown</div><div><br></div><div><br></div><div>--== Host 2 status ==--</div><div><br></div><div>Status up-to-date : True</div><div>Hostname : bmh0004.place.brazil</div><div>Host ID : 2</div><div>Engine status : {"health": "good", "vm": "up", "detail": "up"}</div><div>Score : 2400</div><div>Local maintenance : False</div><div>Host timestamp : 2427</div><div>Extra metadata (valid at timestamp):</div><div><span style="white-space:pre-wrap">        </span>metadata_parse_version=1</div><div><span style="white-space:pre-wrap">        </span>metadata_feature_version=1</div><div><span style="white-space:pre-wrap">        </span>timestamp=2427 (Sun Mar 8 17:38:09 2015)</div><div><span style="white-space:pre-wrap">        </span>host-id=2</div><div><span style="white-space:pre-wrap">        </span>score=2400</div><div><span style="white-space:pre-wrap">        </span>maintenance=False</div><div><span style="white-space:pre-wrap">        </span>state=EngineUp</div><div><br></div><div><br></div><div>--== Host 3 status ==--</div><div><br></div><div>Status up-to-date : False</div><div>Hostname : bmh0003.place.brazil</div><div>Host ID : 3</div><div>Engine status : unknown stale-data</div><div>Score : 0</div><div>Local maintenance : True</div><div>Host timestamp : 331389</div><div>Extra metadata (valid at timestamp):</div><div><span style="white-space:pre-wrap">        </span>metadata_parse_version=1</div><div><span style="white-space:pre-wrap">        </span>metadata_feature_version=1</div><div><span style="white-space:pre-wrap">        </span>timestamp=331389 (Tue Mar 3 14:48:25 2015)</div><div><span style="white-space:pre-wrap">        </span>host-id=3</div><div><span style="white-space:pre-wrap">        </span>score=0</div><div><span style="white-space:pre-wrap">        </span>maintenance=True</div><div><span style="white-space:pre-wrap">        </span>state=LocalMaintenance</div><div><br></div><div><br></div><div>--== Host 4 status ==--</div><div><br></div><div>Status up-to-date : False</div><div>Hostname : bmh0004.place.brazil</div><div>Host ID : 4</div><div>Engine status : unknown stale-data</div><div>Score : 0</div><div>Local maintenance : True</div><div>Host timestamp : 364358</div><div>Extra metadata (valid at timestamp):</div><div><span style="white-space:pre-wrap">        </span>metadata_parse_version=1</div><div><span style="white-space:pre-wrap">        </span>metadata_feature_version=1</div><div><span style="white-space:pre-wrap">        </span>timestamp=364358 (Tue Mar 3 16:10:36 2015)</div><div><span style="white-space:pre-wrap">        </span>host-id=4</div><div><span style="white-space:pre-wrap">        </span>score=0</div><div><span style="white-space:pre-wrap">        </span>maintenance=True</div><div><span style="white-space:pre-wrap">        </span>state=LocalMaintenance</div><div><br></div><div><br></div><div>--== Host 5 status ==--</div><div><br></div><div>Status up-to-date : False</div><div>Hostname : bmh0005.place.brazil</div><div>Host ID : 5</div><div>Engine status : unknown stale-data</div><div>Score : 0</div><div>Local maintenance : True</div><div>Host timestamp : 241930</div><div>Extra metadata (valid at timestamp):</div><div><span style="white-space:pre-wrap">        </span>metadata_parse_version=1</div><div><span style="white-space:pre-wrap">        </span>metadata_feature_version=1</div><div><span style="white-space:pre-wrap">        </span>timestamp=241930 (Fri Mar 6 09:40:31 2015)</div><div><span style="white-space:pre-wrap">        </span>host-id=5</div><div><span style="white-space:pre-wrap">        </span>score=0</div><div><span style="white-space:pre-wrap">        </span>maintenance=True</div><div><span style="white-space:pre-wrap">        </span>state=LocalMaintenance</div><div><br></div><div><br></div><div>--== Host 6 status ==--</div><div><br></div><div>Status up-to-date : False</div><div>Hostname : bmh0006.place.brazil</div><div>Host ID : 6</div><div>Engine status : unknown stale-data</div><div>Score : 0</div><div>Local maintenance : True</div><div>Host timestamp : 77376</div><div>Extra metadata (valid at timestamp):</div><div><span style="white-space:pre-wrap">        </span>metadata_parse_version=1</div><div><span style="white-space:pre-wrap">        </span>metadata_feature_version=1</div><div><span style="white-space:pre-wrap">        </span>timestamp=77376 (Wed Mar 4 09:11:17 2015)</div><div><span style="white-space:pre-wrap">        </span>host-id=6</div><div><span style="white-space:pre-wrap">        </span>score=0</div><div><span style="white-space:pre-wrap">        </span>maintenance=True</div><div><span style="white-space:pre-wrap">        </span>state=LocalMaintenance</div><div>[root@bmh0001 ~]#</div></div><div style="font-size:12.8000001907349px">thank you very much.</div><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr"><div>Regards</div><b>Filipe Guarino</b></div></div>
</div>
<br>_______________________________________________<br>Users mailing list<br>Users@ovirt.org<br>http://lists.ovirt.org/mailman/listinfo/users<br></blockquote><div><br></div></div></body></html>