Hi Filipe, 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.
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. Best regards -- Martin Sivák msi...@redhat.com Red Hat Czech RHEV-M SLA / Brno, CZ ----- Original Message ----- > Hello guys > 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. > 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. > 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. > 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) > how can i fix it leave only just active active nodes? > See below the output for my hosted-engine --vm-status > [root@bmh0001 ~]# hosted-engine --vm-status > --== Host 1 status ==-- > Status up-to-date : True > Hostname : bmh0001.place.brazil > Host ID : 1 > Engine status : {"reason": "vm not running on this host", "health": "bad", > "vm": "down", "detail": "unknown"} > Score : 2400 > Local maintenance : False > Host timestamp : 68830 > Extra metadata (valid at timestamp): > metadata_parse_version=1 > metadata_feature_version=1 > timestamp=68830 (Sun Mar 8 17:38:05 2015) > host-id=1 > score=2400 > maintenance=False > state=EngineDown > --== Host 2 status ==-- > Status up-to-date : True > Hostname : bmh0004.place.brazil > Host ID : 2 > Engine status : {"health": "good", "vm": "up", "detail": "up"} > Score : 2400 > Local maintenance : False > Host timestamp : 2427 > Extra metadata (valid at timestamp): > metadata_parse_version=1 > metadata_feature_version=1 > timestamp=2427 (Sun Mar 8 17:38:09 2015) > host-id=2 > score=2400 > maintenance=False > state=EngineUp > --== Host 3 status ==-- > Status up-to-date : False > Hostname : bmh0003.place.brazil > Host ID : 3 > Engine status : unknown stale-data > Score : 0 > Local maintenance : True > Host timestamp : 331389 > Extra metadata (valid at timestamp): > metadata_parse_version=1 > metadata_feature_version=1 > timestamp=331389 (Tue Mar 3 14:48:25 2015) > host-id=3 > score=0 > maintenance=True > state=LocalMaintenance > --== Host 4 status ==-- > Status up-to-date : False > Hostname : bmh0004.place.brazil > Host ID : 4 > Engine status : unknown stale-data > Score : 0 > Local maintenance : True > Host timestamp : 364358 > Extra metadata (valid at timestamp): > metadata_parse_version=1 > metadata_feature_version=1 > timestamp=364358 (Tue Mar 3 16:10:36 2015) > host-id=4 > score=0 > maintenance=True > state=LocalMaintenance > --== Host 5 status ==-- > Status up-to-date : False > Hostname : bmh0005.place.brazil > Host ID : 5 > Engine status : unknown stale-data > Score : 0 > Local maintenance : True > Host timestamp : 241930 > Extra metadata (valid at timestamp): > metadata_parse_version=1 > metadata_feature_version=1 > timestamp=241930 (Fri Mar 6 09:40:31 2015) > host-id=5 > score=0 > maintenance=True > state=LocalMaintenance > --== Host 6 status ==-- > Status up-to-date : False > Hostname : bmh0006.place.brazil > Host ID : 6 > Engine status : unknown stale-data > Score : 0 > Local maintenance : True > Host timestamp : 77376 > Extra metadata (valid at timestamp): > metadata_parse_version=1 > metadata_feature_version=1 > timestamp=77376 (Wed Mar 4 09:11:17 2015) > host-id=6 > score=0 > maintenance=True > state=LocalMaintenance > [root@bmh0001 ~]# > thank you very much. > -- > Regards > Filipe Guarino > _______________________________________________ > Users mailing list > Users@ovirt.org > http://lists.ovirt.org/mailman/listinfo/users
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users