Hi All,
How to clean stale hosted engine from the database. I want to remove host
id=3
Ovirt - 4.4.9
[root@iondelsvr14 vdsm]# hosted-engine --vm-status
--== Host
iondelsvr10.iontrading.com (id: 1) status ==--
Host ID : 1
Host timestamp : 2632783
Score : 3400
Engine status : {"vm": "down",
"health": "bad",
"detail": "unknown", "reason": "vm not running on this
host"}
Hostname :
iondelsvr10.iontrading.com
Local maintenance : False
stopped : False
crc32 : 882bb390
conf_on_shared_storage : True
local_conf_timestamp : 2632783
Status up-to-date : True
Extra metadata (valid at timestamp):
metadata_parse_version=1
metadata_feature_version=1
timestamp=2632783 (Thu Feb 3 09:00:14 2022)
host-id=1
score=3400
vm_conf_refresh_time=2632783 (Thu Feb 3 09:00:14 2022)
conf_on_shared_storage=True
maintenance=False
state=EngineDown
stopped=False
--== Host
iondelsvr11.iontrading.com (id: 2) status ==--
Host ID : 2
Host timestamp : 6215454
Score : 3400
Engine status : {"vm": "up", "health":
"good",
"detail": "Up"}
Hostname :
iondelsvr11.iontrading.com
Local maintenance : False
stopped : False
crc32 : 30153e90
conf_on_shared_storage : True
local_conf_timestamp : 6215454
Status up-to-date : True
Extra metadata (valid at timestamp):
metadata_parse_version=1
metadata_feature_version=1
timestamp=6215454 (Thu Feb 3 09:00:16 2022)
host-id=2
score=3400
vm_conf_refresh_time=6215454 (Thu Feb 3 09:00:16 2022)
conf_on_shared_storage=True
maintenance=False
state=EngineUp
stopped=False
--== Host
iondelsvr12.iontrading.com (id: 3) status ==--
Host ID : 3
Host timestamp : 734
Score : 1800
Engine status : unknown stale-data
Hostname :
iondelsvr12.iontrading.com
Local maintenance : False
stopped : False
crc32 : 062e92e9
conf_on_shared_storage : True
local_conf_timestamp : 734
Status up-to-date : False
Extra metadata (valid at timestamp):
metadata_parse_version=1
metadata_feature_version=1
timestamp=734 (Fri Jan 28 17:35:18 2022)
host-id=3
score=1800
vm_conf_refresh_time=734 (Fri Jan 28 17:35:18 2022)
conf_on_shared_storage=True
maintenance=False
state=EngineDown
stopped=False