[ovirt-users] HostedEngine with HA
Carlos Rodrigues
cmar at eurotux.com
Thu Aug 18 08:24:54 UTC 2016
On Thu, 2016-08-18 at 08:55 +0200, Simone Tiraboschi wrote:
> On Wed, Aug 17, 2016 at 11:06 AM, Carlos Rodrigues <cmar at eurotux.com>
> wrote:
> >
> > Anyone can help me to build HA on HostedEngine VM?
> >
> > How can i guarantee that if host with HostedEngine VM goes down,
> > the
> > HostedEngine VM moves to another host?
>
> it's in charge of ovirt-ha-agent running on your hosts.
>
> Can you please post the output of
> hosted-engine --vm-status
> ?
There is the output of both hosts:
[root at ied-blade11 ~]# hosted-engine --vm-status
/usr/lib/python2.7/site-
packages/ovirt_hosted_engine_ha/lib/storage_backends.py:15:
DeprecationWarning: vdscli uses xmlrpc. since ovirt 3.6 xmlrpc is
deprecated, please use vdsm.jsonrpcvdscli
import vdsm.vdscli
--== Host 1 status ==--
Status up-to-date : True
Hostname : ied-blade13.install.eurotux.local
Host ID : 1
Engine status : {"health": "good", "vm": "up",
"detail": "up"}
Score : 3400
stopped : False
Local maintenance : False
crc32 : a941698e
Host timestamp : 153049
Extra metadata (valid at timestamp):
metadata_parse_version=1
metadata_feature_version=1
timestamp=153049 (Thu Aug 18 09:22:02 2016)
host-id=1
score=3400
maintenance=False
state=EngineUp
stopped=False
--== Host 2 status ==--
Status up-to-date : True
Hostname : ied-blade11.install.eurotux.local
Host ID : 2
Engine status : {"reason": "vm not running on this
host", "health": "bad", "vm": "down", "detail": "unknown"}
Score : 3400
stopped : False
Local maintenance : False
crc32 : 8f79e0e7
Host timestamp : 143139
Extra metadata (valid at timestamp):
metadata_parse_version=1
metadata_feature_version=1
timestamp=143139 (Thu Aug 18 09:22:12 2016)
host-id=2
score=3400
maintenance=False
state=EngineDown
stopped=False
[root at ied-blade13 ~]# hosted-engine --vm-status
/usr/lib/python2.7/site-
packages/ovirt_hosted_engine_ha/lib/storage_backends.py:15:
DeprecationWarning: vdscli uses xmlrpc. since ovirt 3.6 xmlrpc is
deprecated, please use vdsm.jsonrpcvdscli
import vdsm.vdscli
--== Host 1 status ==--
Status up-to-date : True
Hostname : ied-blade13.install.eurotux.local
Host ID : 1
Engine status : {"health": "good", "vm": "up",
"detail": "up"}
Score : 3400
stopped : False
Local maintenance : False
crc32 : cdd022a2
Host timestamp : 153085
Extra metadata (valid at timestamp):
metadata_parse_version=1
metadata_feature_version=1
timestamp=153085 (Thu Aug 18 09:22:38 2016)
host-id=1
score=3400
maintenance=False
state=EngineUp
stopped=False
--== Host 2 status ==--
Status up-to-date : True
Hostname : ied-blade11.install.eurotux.local
Host ID : 2
Engine status : {"reason": "vm not running on this
host", "health": "bad", "vm": "down", "detail": "unknown"}
Score : 3400
stopped : False
Local maintenance : False
crc32 : fbbad961
Host timestamp : 143175
Extra metadata (valid at timestamp):
metadata_parse_version=1
metadata_feature_version=1
timestamp=143175 (Thu Aug 18 09:22:48 2016)
host-id=2
score=3400
maintenance=False
state=EngineDown
stopped=False
>
> >
> > Regards,
> > Carlos Rodrigues
> >
> > On Tue, 2016-08-16 at 11:53 +0100, Carlos Rodrigues wrote:
> > >
> > > On Sun, 2016-08-14 at 14:22 +0300, Roy Golan wrote:
> > > >
> > > >
> > > >
> > > >
> > > > On 12 August 2016 at 20:23, Carlos Rodrigues <cmar at eurotux.com>
> > > > wrote:
> > > > >
> > > > >
> > > > > Hello,
> > > > >
> > > > > I have one cluster with two hosts with power management
> > > > > correctly
> > > > > configured and one virtual machine with HostedEngine over
> > > > > shared
> > > > > storage with FiberChannel.
> > > > >
> > > > > When i shutdown the network of host with HostedEngine VM, it
> > > > > should be
> > > > > possible the HostedEngine VM migrate automatically to another
> > > > > host?
> > > > >
> > > > migrate on which network?
> > > >
> > > > >
> > > > >
> > > > > What is the expected behaviour on this HA scenario?
> > > >
> > > > After a few minutes your vm will be shutdown by the High
> > > > Availability
> > > > agent, as it can't see network, and started on another host.
> > >
> > >
> > > I'm testing this scenario and after shutdown network, it should
> > > be
> > > expected that agent shutdown ha and started on another host, but
> > > after
> > > couple minutes nothing happens and on host with network we
> > > getting
> > > the
> > > following messages:
> > >
> > > Aug 16 11:44:08 ied-blade11.install.eurotux.local ovirt-ha-
> > > agent[2779]:
> > > ovirt-ha-agent
> > > ovirt_hosted_engine_ha.agent.hosted_engine.HostedEngine.config
> > > ERROR
> > > Unable to get vm.conf from OVF_STORE, falling back to initial
> > > vm.conf
> > >
> > > I think the HA agent its trying to get vm configuration but some
> > > how
> > > it
> > > can't get vm.conf to start VM.
> > >
> > > Regards,
> > > Carlos Rodrigues
> > >
> > >
> > > >
> > > >
> > > > >
> > > > >
> > > > >
> > > > > Regards,
> > > > >
> > > > > --
> > > > > Carlos Rodrigues
> > > > >
> > > > > Engenheiro de Software Sénior
> > > > >
> > > > > Eurotux Informática, S.A. | www.eurotux.com
> > > > > (t) +351 253 680 300 (m) +351 911 926 110
> > > > >
> > > > > _______________________________________________
> > > > > Users mailing list
> > > > > Users at ovirt.org
> > > > > http://lists.ovirt.org/mailman/listinfo/users
> > > > >
> > > >
> > --
> > Carlos Rodrigues
> >
> > Engenheiro de Software Sénior
> >
> > Eurotux Informática, S.A. | www.eurotux.com
> > (t) +351 253 680 300 (m) +351 911 926 110
> >
> > _______________________________________________
> > Users mailing list
> > Users at ovirt.org
> > http://lists.ovirt.org/mailman/listinfo/users
--
Carlos Rodrigues
Engenheiro de Software Sénior
Eurotux Informática, S.A. | www.eurotux.com
(t) +351 253 680 300 (m) +351 911 926 110
More information about the Users
mailing list