
------=_Part_1768264_1852102722.1425991712852 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hi Filipe,=20 there is currently no easy way to clean the metadata section. We used to hi= de 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.=20 There is a patch that will add the metadata clean capability (https://gerri= t.ovirt.org/#/c/38289/), but it has not been merged yet. So please stay tun= ed, we will add a way to remove a host from the hosted engine cluster very = soon.=20 Best regards=20 --=20 Martin Siv=C3=A1k=20 msivak@redhat.com=20 Red Hat Czech=20 RHEV-M SLA / Brno, CZ=20 ----- Original Message -----
Hello guys I installed ovirt using hosted-engine procedure with six fisical hosts, w= ith 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 f= our 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 hard= ware 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
--=3D=3D Host 1 status =3D=3D--
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=3D1 metadata_feature_version=3D1 timestamp=3D68830 (Sun Mar 8 17:38:05 2015) host-id=3D1 score=3D2400 maintenance=3DFalse state=3DEngineDown
--=3D=3D Host 2 status =3D=3D--
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=3D1 metadata_feature_version=3D1 timestamp=3D2427 (Sun Mar 8 17:38:09 2015) host-id=3D2 score=3D2400 maintenance=3DFalse state=3DEngineUp
--=3D=3D Host 3 status =3D=3D--
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=3D1 metadata_feature_version=3D1 timestamp=3D331389 (Tue Mar 3 14:48:25 2015) host-id=3D3 score=3D0 maintenance=3DTrue state=3DLocalMaintenance
--=3D=3D Host 4 status =3D=3D--
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=3D1 metadata_feature_version=3D1 timestamp=3D364358 (Tue Mar 3 16:10:36 2015) host-id=3D4 score=3D0 maintenance=3DTrue state=3DLocalMaintenance
--=3D=3D Host 5 status =3D=3D--
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=3D1 metadata_feature_version=3D1 timestamp=3D241930 (Fri Mar 6 09:40:31 2015) host-id=3D5 score=3D0 maintenance=3DTrue state=3DLocalMaintenance
--=3D=3D Host 6 status =3D=3D--
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=3D1 metadata_feature_version=3D1 timestamp=3D77376 (Wed Mar 4 09:11:17 2015) host-id=3D6 score=3D0 maintenance=3DTrue state=3DLocalMaintenance [root@bmh0001 ~]# thank you very much.
-- Regards Filipe Guarino
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
It's works fine. but when I use command "hosted-engine --vm-status", its s= till returns all of the old members of hosted-engines (1 to 6)</div><=
Score  = ; : 2400</div><div>Local maintenance &nbs=
Host timestamp &nb= sp; : 68830</div><div>Extra metadata (valid at timestamp):</div><div= <span style=3D"white-space:pre-wrap">=09</span>metadata_parse_version=3D1<= /div><div><span style=3D"white-space:pre-wrap">=09</span>metadata_feature_v= ersion=3D1</div><div><span style=3D"white-space:pre-wrap">=09</span>timesta= mp=3D68830 (Sun Mar 8 17:38:05 2015)</div><div><span style=3D"white-s=
metadata_parse_version=3D1</div><div><span style=3D"white-space:pre-wrap">= =09</span>metadata_feature_version=3D1</div><div><span style=3D"white-space= :pre-wrap">=09</span>timestamp=3D2427 (Sun Mar 8 17:38:09 2015)</div>= <div><span style=3D"white-space:pre-wrap">=09</span>host-id=3D2</div><div><= span style=3D"white-space:pre-wrap">=09</span>score=3D2400</div><div><span =
</div><div><br></div><div>--=3D=3D Host 4 status =3D=3D--</div><div><br></=
<span style=3D"white-space:pre-wrap">=09</span>score=3D0</div><div><span s= tyle=3D"white-space:pre-wrap">=09</span>maintenance=3DTrue</div><div><span =
<br></div><div><br></div><div>--=3D=3D Host 5 status =3D=3D--</div><div><b= r></div><div>Status up-to-date &n= bsp; : False</div><div>Hostname &n= bsp; : bmh0005.plac= e.brazil</div><div>Host ID = : 5</div><div>Engine statu= s &nb= sp;: unknown stale-data</div><div>Score = : 0</d= iv><div>Local maintenance = : True</div><div>Host timestamp &n= bsp; : 241930</div><div>Extra metadata (= valid at timestamp):</div><div><span style=3D"white-space:pre-wrap">=09</sp= an>metadata_parse_version=3D1</div><div><span style=3D"white-space:pre-wrap= ">=09</span>metadata_feature_version=3D1</div><div><span style=3D"white-spa= ce:pre-wrap">=09</span>timestamp=3D241930 (Fri Mar 6 09:40:31 2015)</=
------=_Part_1768264_1852102722.1425991712852 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable <html><body><div style=3D"font-family: times new roman, new york, times, se= rif; 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 u= sed to hide hosts that were not active in the past day or so, but I think w= e had to disable that as part of our time-shift recovery bugs.<br></div><di= v><br></div><div>There is a patch that will add the metadata clean capabili= ty (https://gerrit.ovirt.org/#/c/38289/), but it has not been merged yet. S= o please stay tuned, we will add a way to remove a host from the hosted eng= ine cluster very soon.<br></div><div><br></div><div>Best regards <br></div>= <div><br></div><div><span name=3D"x"></span>--<br>Martin Siv=C3=A1k<br>msiv= ak@redhat.com<br>Red Hat Czech<br>RHEV-M SLA / Brno, CZ<span name=3D"x"></s= pan><br></div><div><br></div><hr id=3D"zwchr"><blockquote style=3D"border-l= eft:2px solid #1010FF;margin-left:5px;padding-left:5px;color:#000;font-weig= ht:normal;font-style:normal;text-decoration:none;font-family:Helvetica,Aria= l,sans-serif;font-size:12pt;"><div dir=3D"ltr"><div style=3D"font-size:12.8= 000001907349px"><div>Hello guys</div><div>I installed ovirt using hosted-en= gine 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 ho= st (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= div>how can i fix it leave only just active active nodes?</div><div>See bel= ow the output for my hosted-engine --vm-status</div></div><div style=3D"fon= t-size:12.8000001907349px"><br></div><div style=3D"font-size:12.80000019073= 49px"><br></div><div style=3D"font-size:12.8000001907349px"><div><br></div>= <div>[root@bmh0001 ~]# hosted-engine --vm-status</div><div><br></div><div>-= -=3D=3D Host 1 status =3D=3D--</div><div><br></div><div>Status up-to-date &= nbsp; : True</div><d= iv>Hostname = : bmh0001.place.brazil</div><div>Host ID = &nbs= p; : 1</div><div>Engine status &nb= sp; : {"reason": "vm not running o= n this host", "health": "bad", "vm": "down", "detail": "unknown"}</div><div= p; : False</div><div= pace:pre-wrap">=09</span>host-id=3D1</div><div><span style=3D"white-space:p= re-wrap">=09</span>score=3D2400</div><div><span style=3D"white-space:pre-wr= ap">=09</span>maintenance=3DFalse</div><div><span style=3D"white-space:pre-= wrap">=09</span>state=3DEngineDown</div><div><br></div><div><br></div><div>= --=3D=3D Host 2 status =3D=3D--</div><div><br></div><div>Status up-to-date = : True</div><= div>Hostname = : bmh0004.place.brazil</div><div>Host ID  = ; &nb= sp; : 2</div><div>Engine status &n= bsp; : {"health": "good", "vm": "u= p", "detail": "up"}</div><div>Score &nbs= p; : 2400</di= v><div>Local maintenance &= nbsp; : False</div><div>Host timestamp &n= bsp; : 2427</div><div>Extra metadata (va= lid at timestamp):</div><div><span style=3D"white-space:pre-wrap">=09</span= style=3D"white-space:pre-wrap">=09</span>maintenance=3DFalse</div><div><spa= n style=3D"white-space:pre-wrap">=09</span>state=3DEngineUp</div><div><br><= /div><div><br></div><div>--=3D=3D Host 3 status =3D=3D--</div><div><br></di= v><div>Status up-to-date &= nbsp; : False</div><div>Hostname &= nbsp; : bmh0003.place.braz= il</div><div>Host ID  = ; : 3</div><div>Engine status &nbs= p; : u= nknown stale-data</div><div>Score = : 0</div><di= v>Local maintenance = : True</div><div>Host timestamp &= nbsp; : 331389</div><div>Extra metadata (valid = at timestamp):</div><div><span style=3D"white-space:pre-wrap">=09</span>met= adata_parse_version=3D1</div><div><span style=3D"white-space:pre-wrap">=09<= /span>metadata_feature_version=3D1</div><div><span style=3D"white-space:pre= -wrap">=09</span>timestamp=3D331389 (Tue Mar 3 14:48:25 2015)</div><d= iv><span style=3D"white-space:pre-wrap">=09</span>host-id=3D3</div><div><sp= an style=3D"white-space:pre-wrap">=09</span>score=3D0</div><div><span style= =3D"white-space:pre-wrap">=09</span>maintenance=3DTrue</div><div><span styl= e=3D"white-space:pre-wrap">=09</span>state=3DLocalMaintenance</div><div><br= div><div>Status up-to-date = : False</div><div>Hostname = : bmh0004.place.br= azil</div><div>Host ID &nb= sp; : 4</div><div>Engine status &n= bsp; := unknown stale-data</div><div>Score &nbs= p; : 0</div><= div>Local maintenance &nbs= p; : True</div><div>Host timestamp = : 364358</div><div>Extra metadata (vali= d at timestamp):</div><div><span style=3D"white-space:pre-wrap">=09</span>m= etadata_parse_version=3D1</div><div><span style=3D"white-space:pre-wrap">= =09</span>metadata_feature_version=3D1</div><div><span style=3D"white-space= :pre-wrap">=09</span>timestamp=3D364358 (Tue Mar 3 16:10:36 2015)</di= v><div><span style=3D"white-space:pre-wrap">=09</span>host-id=3D4</div><div= style=3D"white-space:pre-wrap">=09</span>state=3DLocalMaintenance</div><div= div><div><span style=3D"white-space:pre-wrap">=09</span>host-id=3D5</div><d= iv><span style=3D"white-space:pre-wrap">=09</span>score=3D0</div><div><span= style=3D"white-space:pre-wrap">=09</span>maintenance=3DTrue</div><div><spa= n style=3D"white-space:pre-wrap">=09</span>state=3DLocalMaintenance</div><d= iv><br></div><div><br></div><div>--=3D=3D Host 6 status =3D=3D--</div><div>= <br></div><div>Status up-to-date = : False</div><div>Hostname = : bmh0006.pl= ace.brazil</div><div>Host ID &nbs= p; : 6</div><div>Engine sta= tus &= nbsp;: 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=3D"white-space:pre-wrap">=09</s= pan>metadata_parse_version=3D1</div><div><span style=3D"white-space:pre-wra= p">=09</span>metadata_feature_version=3D1</div><div><span style=3D"white-sp= ace:pre-wrap">=09</span>timestamp=3D77376 (Wed Mar 4 09:11:17 2015)</= div><div><span style=3D"white-space:pre-wrap">=09</span>host-id=3D6</div><d= iv><span style=3D"white-space:pre-wrap">=09</span>score=3D0</div><div><span= style=3D"white-space:pre-wrap">=09</span>maintenance=3DTrue</div><div><spa= n style=3D"white-space:pre-wrap">=09</span>state=3DLocalMaintenance</div><d= iv>[root@bmh0001 ~]#</div></div><div style=3D"font-size:12.8000001907349px"=
thank you very much.</div><div><br></div>-- <br><div class=3D"gmail_signat= ure"><div dir=3D"ltr"><div>Regards</div><b>Filipe Guarino</b></div></div> </div> <br>_______________________________________________<br>Users mailing list<b= r>Users@ovirt.org<br>http://lists.ovirt.org/mailman/listinfo/users<br></blo= ckquote><div><br></div></div></body></html> ------=_Part_1768264_1852102722.1425991712852--