[Users] Remove host from hosted-engine setup

Frank Wall fw at moov.de
Tue Feb 11 09:51:14 EST 2014


Hi,

I've retired a host that was part of a hosted-engine setup. How do I
remove this host from my hosted-engine HA setup?

I have retired "host01" and would like to remove it completely:

[root at host03 ~]# hosted-engine --vm-status

--== Host 1 status ==--

Status up-to-date                  : False
Hostname                           : host01.example.com
Host ID                            : 1
Engine status                      : unknown stale-data
Score                              : 2400
Local maintenance                  : False
Host timestamp                     : 1390840600
Extra metadata (valid at timestamp):
	metadata_parse_version=1
	metadata_feature_version=1
	timestamp=1390840600 (Mon Jan 27 17:36:40 2014)
	host-id=1
	score=2400
	maintenance=False
	bridge=True
	cpu-load=0.0034
	engine-health={"reason": "vm not running on this host", "health": "bad", "vm": "down", "detail": "unknown"}
	gateway=True
	mem-free=127844


--== Host 2 status ==--

Status up-to-date                  : True
Hostname                           : host02.example.com
Host ID                            : 2
Engine status                      : {"health": "good", "vm": "up", "detail": "up"}
Score                              : 2400
Local maintenance                  : False
Host timestamp                     : 1392129793
Extra metadata (valid at timestamp):
	metadata_parse_version=1
	metadata_feature_version=1
	timestamp=1392129793 (Tue Feb 11 15:43:13 2014)
	host-id=2
	score=2400
	maintenance=False
	bridge=True
	cpu-load=0.0057
	engine-health={"health": "good", "vm": "up", "detail": "up"}
	gateway=True
	mem-free=107251


--== Host 3 status ==--

Status up-to-date                  : True
Hostname                           : host03.example.com
Host ID                            : 3
Engine status                      : {"reason": "vm not running on this host", "health": "bad", "vm": "down", "detail": "unknown"}
Score                              : 2400
Local maintenance                  : False
Host timestamp                     : 1392129796
Extra metadata (valid at timestamp):
	metadata_parse_version=1
	metadata_feature_version=1
	timestamp=1392129796 (Tue Feb 11 15:43:16 2014)
	host-id=3
	score=2400
	maintenance=False
	bridge=True
	cpu-load=0.0134
	engine-health={"reason": "vm not running on this host", "health": "bad", "vm": "down", "detail": "unknown"}
	gateway=True
	mem-free=127838


Thanks
- Frank


More information about the Users mailing list