Re: [ovirt-users] Using 10gb vNIC/vbridge into VM is possible? (Darrell Budic)

------=_Part_235182_797090940.1419163706720 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit https://bugzilla.redhat.com/show_bug.cgi?id=1168478 SR-IOV target release 3.6 and you'll need appropriate NIC on your Host, supporting this functionality http://wiki.ovirt.org/Feature/SR-IOV Thanks in advance. Best regards, Nikolai ____________________ Nikolai Sednev Senior Quality Engineer at Compute team Red Hat Israel 34 Jerusalem Road, Ra'anana, Israel 43501 Tel: +972 9 7692043 Mobile: +972 52 7342734 Email: nsednev@redhat.com IRC: nsednev ----- Original Message ----- From: users-request@ovirt.org To: users@ovirt.org Sent: Friday, December 19, 2014 8:22:17 PM Subject: Users Digest, Vol 39, Issue 135 Send Users mailing list submissions to users@ovirt.org To subscribe or unsubscribe via the World Wide Web, visit http://lists.ovirt.org/mailman/listinfo/users or, via email, send a message with subject or body 'help' to users-request@ovirt.org You can reach the person managing the list at users-owner@ovirt.org When replying, please edit your Subject line so it is more specific than "Re: Contents of Users digest..." Today's Topics: 1. Re: console viewer for ovrit engine (Yue, Cong) 2. Re: Using 10gb vNIC/vbridge into VM is possible? (Darrell Budic) 3. Re: VM failover with ovirt3.5 (Yue, Cong) ---------------------------------------------------------------------- Message: 1 Date: Fri, 19 Dec 2014 09:03:11 -0800 From: "Yue, Cong" <Cong_Yue@alliedtelesis.com> To: Simone Tiraboschi <stirabos@redhat.com> Cc: "users@ovirt.org" <users@ovirt.org> Subject: Re: [ovirt-users] console viewer for ovrit engine Message-ID: <ED08B56256B38842A463A2A0804C5AC0326AEEF291@svr-ca-exch1.atg.lc> Content-Type: text/plain; charset="utf-8" So. It means the web-proxy should be installed into the engine inside the virt nodes where host the VM. The ovirt engine is with centos 6.6. I will have a try for this later. Thanks, Cong -----Original Message----- From: Simone Tiraboschi [mailto:stirabos@redhat.com] Sent: Friday, December 19, 2014 12:31 AM To: Yue, Cong Cc: Gianluca Cecchi; users@ovirt.org Subject: Re: [ovirt-users] console viewer for ovrit engine ----- Original Message -----
The physical host or VM witch runs the engine.
This e-mail message is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message. If you are the intended recipient, please be advised that the content of this message is subject to access, review and disclosure by the sender's e-mail System Administrator. ------------------------------ Message: 2 Date: Fri, 19 Dec 2014 11:08:03 -0600 From: Darrell Budic <budic@onholyground.com> To: "Kalil de A. Carvalho" <kalilac@gmail.com> Cc: Amador Segundo <asegundo@redhat.com>, users@ovirt.org Subject: Re: [ovirt-users] Using 10gb vNIC/vbridge into VM is possible? Message-ID: <B6ECAED5-7CE3-44D2-A4E8-90EF46B3203D@onholyground.com> Content-Type: text/plain; charset="utf-8" I tried a quick iperf test a while back and got 3-4Gb/sec between a pair of VMs on separate hosts with a 10G infrastructure, no real tuning and no SRIOV. That met my needs so I didn?t try anything further. If you were aiming for 10G for all, you?d want to work on SRIOV I imagine, but they get pretty good performance even without it.
------------------------------ Message: 3 Date: Fri, 19 Dec 2014 10:22:10 -0800 From: "Yue, Cong" <Cong_Yue@alliedtelesis.com> To: Simone Tiraboschi <stirabos@redhat.com> Cc: "users@ovirt.org" <users@ovirt.org> Subject: Re: [ovirt-users] VM failover with ovirt3.5 Message-ID: <ED08B56256B38842A463A2A0804C5AC0326AEEF2F1@svr-ca-exch1.atg.lc> Content-Type: text/plain; charset="utf-8" Thanks for the information. This is the log for my three ovirt nodes.
Status up-to-date : True Hostname : 10.0.0.94 Host ID : 1 Engine status : {"health": "good", "vm": "up", "detail": "up"} Score : 2400 Local maintenance : False Host timestamp : 150475 Extra metadata (valid at timestamp): metadata_parse_version=1 metadata_feature_version=1 timestamp=150475 (Fri Dec 19 13:12:18 2014) host-id=1 score=2400 maintenance=False state=EngineUp --== Host 2 status ==-- Status up-to-date : True Hostname : 10.0.0.93 Host ID : 2 Engine status : {"reason": "vm not running on this host", "health": "bad", "vm": "down", "detail": "unknown"} Score : 2400 Local maintenance : False Host timestamp : 1572 Extra metadata (valid at timestamp): metadata_parse_version=1 metadata_feature_version=1 timestamp=1572 (Fri Dec 19 10:12:18 2014) host-id=2 score=2400 maintenance=False state=EngineDown --== Host 3 status ==-- Status up-to-date : False Hostname : 10.0.0.92 Host ID : 3 Engine status : unknown stale-data Score : 2400 Local maintenance : False Host timestamp : 987 Extra metadata (valid at timestamp): metadata_parse_version=1 metadata_feature_version=1 timestamp=987 (Fri Dec 19 10:09:58 2014) host-id=3 score=2400 maintenance=False state=EngineDown -- And the /var/log/ovirt-hosted-engine-ha/agent.log for three ovirt nodes are as follows: -- 10.0.0.94(hosted-engine-1) --- MainThread::INFO::2014-12-19 13:09:33,716::hosted_engine::327::ovirt_hosted_engine_ha.agent.hosted_engine.HostedEngine::(start_monitoring) Current state EngineUp (score: 2400) MainThread::INFO::2014-12-19 13:09:33,716::hosted_engine::332::ovirt_hosted_engine_ha.agent.hosted_engine.HostedEngine::(start_monitoring) Best remote host 10.0.0.93 (id: 2, score: 2400) MainThread::INFO::2014-12-19 13:09:44,017::hosted_engine::327::ovirt_hosted_engine_ha.agent.hosted_engine.HostedEngine::(start_monitoring) Current state EngineUp (score: 2400) MainThread::INFO::2014-12-19 13:09:44,017::hosted_engine::332::ovirt_hosted_engine_ha.agent.hosted_engine.HostedEngine::(start_monitoring) Best remote host 10.0.0.93 (id: 2, score: 2400) MainThread::INFO::2014-12-19 13:09:54,303::hosted_engine::327::ovirt_hosted_engine_ha.agent.hosted_engine.HostedEngine::(start_monitoring) Current state EngineUp (score: 2400) MainThread::INFO::2014-12-19 13:09:54,303::hosted_engine::332::ovirt_hosted_engine_ha.agent.hosted_engine.HostedEngine::(start_monitoring) Best remote host 10.0.0.93 (id: 2, score: 2400) MainThread::INFO::2014-12-19 13:10:04,342::states::394::ovirt_hosted_engine_ha.agent.hosted_engine.HostedEngine::(consume) Engine vm running on localhost MainThread::INFO::2014-12-19 13:10:04,617::hosted_engine::327::ovirt_hosted_engine_ha.agent.hosted_engine.HostedEngine::(start_monitoring) Current state EngineUp (score: 2400) MainThread::INFO::2014-12-19 13:10:04,617::hosted_engine::332::ovirt_hosted_engine_ha.agent.hosted_engine.HostedEngine::(start_monitoring) Best remote host 10.0.0.93 (id: 2, score: 2400) MainThread::INFO::2014-12-19 13:10:14,657::state_machine::160::ovirt_hosted_engine_ha.agent.hosted_engine.HostedEngine::(refresh) Global metadata: {'maintenance': False} MainThread::INFO::2014-12-19 13:10:14,657::state_machine::165::ovirt_hosted_engine_ha.agent.hosted_engine.HostedEngine::(refresh) Host 10.0.0.93 (id 2): {'extra': 'metadata_parse_version=1\nmetadata_feature_version=1\ntimestamp=1448 (Fri Dec 19 10:10:14 2014)\nhost-id=2\nscore=2400\nmaintenance=False\nstate=EngineDown\n', 'hostname': '10.0.0.93', 'alive': True, 'host-id': 2, 'engine-status': {'reason': 'vm not running on this host', 'health': 'bad', 'vm': 'down', 'detail': 'unknown'}, 'score': 2400, 'maintenance': False, 'host-ts': 1448} MainThread::INFO::2014-12-19 13:10:14,657::state_machine::165::ovirt_hosted_engine_ha.agent.hosted_engine.HostedEngine::(refresh) Host 10.0.0.92 (id 3): {'extra': 'metadata_parse_version=1\nmetadata_feature_version=1\ntimestamp=987 (Fri Dec 19 10:09:58 2014)\nhost-id=3\nscore=2400\nmaintenance=False\nstate=EngineDown\n', 'hostname': '10.0.0.92', 'alive': True, 'host-id': 3, 'engine-status': {'reason': 'vm not running on this host', 'health': 'bad', 'vm': 'down', 'detail': 'unknown'}, 'score': 2400, 'maintenance': False, 'host-ts': 987} MainThread::INFO::2014-12-19 13:10:14,658::state_machine::168::ovirt_hosted_engine_ha.agent.hosted_engine.HostedEngine::(refresh) Local (id 1): {'engine-health': {'health': 'good', 'vm': 'up', 'detail': 'up'}, 'bridge': True, 'mem-free': 1079.0, 'maintenance': False, 'cpu-load': 0.0269, 'gateway': True} MainThread::INFO::2014-12-19 13:10:14,904::hosted_engine::327::ovirt_hosted_engine_ha.agent.hosted_engine.HostedEngine::(start_monitoring) Current state EngineUp (score: 2400) MainThread::INFO::2014-12-19 13:10:14,904::hosted_engine::332::ovirt_hosted_engine_ha.agent.hosted_engine.HostedEngine::(start_monitoring) Best remote host 10.0.0.93 (id: 2, score: 2400) MainThread::INFO::2014-12-19 13:10:25,210::hosted_engine::327::ovirt_hosted_engine_ha.agent.hosted_engine.HostedEngine::(start_monitoring) Current state EngineUp (score: 2400) MainThread::INFO::2014-12-19 13:10:25,210::hosted_engine::332::ovirt_hosted_engine_ha.agent.hosted_engine.HostedEngine::(start_monitoring) Best remote host 10.0.0.93 (id: 2, score: 2400) MainThread::INFO::2014-12-19 13:10:35,499::hosted_engine::327::ovirt_hosted_engine_ha.agent.hosted_engine.HostedEngine::(start_monitoring) Current state EngineUp (score: 2400) MainThread::INFO::2014-12-19 13:10:35,499::hosted_engine::332::ovirt_hosted_engine_ha.agent.hosted_engine.HostedEngine::(start_monitoring) Best remote host 10.0.0.93 (id: 2, score: 2400) MainThread::INFO::2014-12-19 13:10:45,784::hosted_engine::327::ovirt_hosted_engine_ha.agent.hosted_engine.HostedEngine::(start_monitoring) Current state EngineUp (score: 2400) MainThread::INFO::2014-12-19 13:10:45,785::hosted_engine::332::ovirt_hosted_engine_ha.agent.hosted_engine.HostedEngine::(start_monitoring) Best remote host 10.0.0.93 (id: 2, score: 2400) MainThread::INFO::2014-12-19 13:10:56,070::hosted_engine::327::ovirt_hosted_engine_ha.agent.hosted_engine.HostedEngine::(start_monitoring) Current state EngineUp (score: 2400) MainThread::INFO::2014-12-19 13:10:56,070::hosted_engine::332::ovirt_hosted_engine_ha.agent.hosted_engine.HostedEngine::(start_monitoring) Best remote host 10.0.0.93 (id: 2, score: 2400) MainThread::INFO::2014-12-19 13:11:06,109::states::394::ovirt_hosted_engine_ha.agent.hosted_engine.HostedEngine::(consume) Engine vm running on localhost MainThread::INFO::2014-12-19 13:11:06,359::hosted_engine::327::ovirt_hosted_engine_ha.agent.hosted_engine.HostedEngine::(start_monitoring) Current state EngineUp (score: 2400) MainThread::INFO::2014-12-19 13:11:06,359::hosted_engine::332::ovirt_hosted_engine_ha.agent.hosted_engine.HostedEngine::(start_monitoring) Best remote host 10.0.0.93 (id: 2, score: 2400) MainThread::INFO::2014-12-19 13:11:16,658::hosted_engine::327::ovirt_hosted_engine_ha.agent.hosted_engine.HostedEngine::(start_monitoring) Current state EngineUp (score: 2400) MainThread::INFO::2014-12-19 13:11:16,658::hosted_engine::332::ovirt_hosted_engine_ha.agent.hosted_engine.HostedEngine::(start_monitoring) Best remote host 10.0.0.93 (id: 2, score: 2400) MainThread::INFO::2014-12-19 13:11:26,991::hosted_engine::327::ovirt_hosted_engine_ha.agent.hosted_engine.HostedEngine::(start_monitoring) Current state EngineUp (score: 2400) MainThread::INFO::2014-12-19 13:11:26,991::hosted_engine::332::ovirt_hosted_engine_ha.agent.hosted_engine.HostedEngine::(start_monitoring) Best remote host 10.0.0.93 (id: 2, score: 2400) MainThread::INFO::2014-12-19 13:11:37,341::hosted_engine::327::ovirt_hosted_engine_ha.agent.hosted_engine.HostedEngine::(start_monitoring) Current state EngineUp (score: 2400) MainThread::INFO::2014-12-19 13:11:37,341::hosted_engine::332::ovirt_hosted_engine_ha.agent.hosted_engine.HostedEngine::(start_monitoring) Best remote host 10.0.0.93 (id: 2, score: 2400) ---- 10.0.0.93 (hosted-engine-2) MainThread::INFO::2014-12-19 10:12:18,339::hosted_engine::327::ovirt_hosted_engine_ha.agent.hosted_engine.HostedEngine::(start_monitoring) Current state EngineDown (score: 2400) MainThread::INFO::2014-12-19 10:12:18,339::hosted_engine::332::ovirt_hosted_engine_ha.agent.hosted_engine.HostedEngine::(start_monitoring) Best remote host 10.0.0.94 (id: 1, score: 2400) MainThread::INFO::2014-12-19 10:12:28,651::hosted_engine::327::ovirt_hosted_engine_ha.agent.hosted_engine.HostedEngine::(start_monitoring) Current state EngineDown (score: 2400) MainThread::INFO::2014-12-19 10:12:28,652::hosted_engine::332::ovirt_hosted_engine_ha.agent.hosted_engine.HostedEngine::(start_monitoring) Best remote host 10.0.0.94 (id: 1, score: 2400) MainThread::INFO::2014-12-19 10:12:39,010::hosted_engine::327::ovirt_hosted_engine_ha.agent.hosted_engine.HostedEngine::(start_monitoring) Current state EngineDown (score: 2400) MainThread::INFO::2014-12-19 10:12:39,010::hosted_engine::332::ovirt_hosted_engine_ha.agent.hosted_engine.HostedEngine::(start_monitoring) Best remote host 10.0.0.94 (id: 1, score: 2400) MainThread::INFO::2014-12-19 10:12:49,338::hosted_engine::327::ovirt_hosted_engine_ha.agent.hosted_engine.HostedEngine::(start_monitoring) Current state EngineDown (score: 2400) MainThread::INFO::2014-12-19 10:12:49,338::hosted_engine::332::ovirt_hosted_engine_ha.agent.hosted_engine.HostedEngine::(start_monitoring) Best remote host 10.0.0.94 (id: 1, score: 2400) MainThread::INFO::2014-12-19 10:12:59,642::hosted_engine::327::ovirt_hosted_engine_ha.agent.hosted_engine.HostedEngine::(start_monitoring) Current state EngineDown (score: 2400) MainThread::INFO::2014-12-19 10:12:59,642::hosted_engine::332::ovirt_hosted_engine_ha.agent.hosted_engine.HostedEngine::(start_monitoring) Best remote host 10.0.0.94 (id: 1, score: 2400) MainThread::INFO::2014-12-19 10:13:10,010::hosted_engine::327::ovirt_hosted_engine_ha.agent.hosted_engine.HostedEngine::(start_monitoring) Current state EngineDown (score: 2400) MainThread::INFO::2014-12-19 10:13:10,010::hosted_engine::332::ovirt_hosted_engine_ha.agent.hosted_engine.HostedEngine::(start_monitoring) Best remote host 10.0.0.94 (id: 1, score: 2400) 10.0.0.92(hosted-engine-3) same as 10.0.0.93 -- -----Original Message----- From: Simone Tiraboschi [mailto:stirabos@redhat.com] Sent: Friday, December 19, 2014 12:28 AM To: Yue, Cong Cc: users@ovirt.org Subject: Re: [ovirt-users] VM failover with ovirt3.5 ----- Original Message -----
Can you please check or share the logs under /var/log/ovirt-hosted-engine-ha/ ?
Is there some documentation to explain how VM failover is working? And is there some bugs reported related with this?
http://www.ovirt.org/Features/Self_Hosted_Engine#Agent_State_Diagram
Content-Type: text/plain; charset=3D"utf-8"<br><div><br></div>So. It means=
This e-mail message is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message. If you are the intended recipient, please be advised that the content of this message is subject to access, review and disclosure by the sender's e-mail System Administrator. ------------------------------ _______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users End of Users Digest, Vol 39, Issue 135 ************************************** ------=_Part_235182_797090940.1419163706720 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable <html><body><div style=3D"font-family: georgia,serif; font-size: 12pt; colo= r: #000000"><div><a href=3D"https://bugzilla.redhat.com/show_bug.cgi?id=3D1= 168478" data-mce-href=3D"https://bugzilla.redhat.com/show_bug.cgi?id=3D1168= 478">https://bugzilla.redhat.com/show_bug.cgi?id=3D1168478</a></div><div><b= r></div><div>SR-IOV target release 3.6 and you'll need appropriate NIC on y= our Host, supporting this functionality <a href=3D"http://wiki.ovirt.o= rg/Feature/SR-IOV" data-mce-href=3D"http://wiki.ovirt.org/Feature/SR-IOV">h= ttp://wiki.ovirt.org/Feature/SR-IOV</a></div><div><br></div><div><span name= =3D"x"></span><br>Thanks in advance.<br><div><br></div>Best regards,<br>Nik= olai<br>____________________<br>Nikolai Sednev<br>Senior Quality Engineer a= t Compute team<br>Red Hat Israel<br>34 Jerusalem Road,<br>Ra'anana, Israel = 43501<br><div><br></div>Tel: +972 9 7692043<br>= Mobile: +972 52 7342734<br>Email: nsednev@redhat.com<br>IRC: nsednev<span n= ame=3D"x"></span><br></div><div><br></div><hr id=3D"zwchr"><div style=3D"co= lor:#000;font-weight:normal;font-style:normal;text-decoration:none;font-fam= ily:Helvetica,Arial,sans-serif;font-size:12pt;"><b>From: </b>users-request@= ovirt.org<br><b>To: </b>users@ovirt.org<br><b>Sent: </b>Friday, December 19= , 2014 8:22:17 PM<br><b>Subject: </b>Users Digest, Vol 39, Issue 135<br><di= v><br></div>Send Users mailing list submissions to<br> &nb= sp; users@ovirt.org<br><div><br></div>To subscribe o= r unsubscribe via the World Wide Web, visit<br> &nbs= p; http://lists.ovirt.org/mailman/listinfo/users<br>or, vi= a email, send a message with subject or body 'help' to<br> = ; users-request@ovirt.org<br><div><br></div>Yo= u can reach the person managing the list at<br> &nbs= p; users-owner@ovirt.org<br><div><br></div>When replying, = please edit your Subject line so it is more specific<br>than "Re: Contents = of Users digest..."<br><div><br></div><br>Today's Topics:<br><div><br></div= p;<ED08B56256B38842A463A2A0804C5AC0326AEEF291@svr-ca-exch1.atg.lc><br= the web-proxy should be installed into the engine inside the virt nodes wh= ere host the VM.<br>The ovirt engine is with centos 6.6.<br><div><br></div>= I will have a try for this later.<br><div><br></div>Thanks,<br>Cong<br><div= the intended recipient, please contact the sender by reply<br>> e-mail = and destroy all copies of the original message. If you are the<br>> inte= nded recipient, please be advised that the content of this message<br>> = is subject to access, review and disclosure by the sender's e-mail System A= dministrator.<br>><br><div><br></div>This e-mail message is for the sole= use of the intended recipient(s) and may contain confidential and privileg= ed information. Any unauthorized review, use, disclosure or distribution is= prohibited. If you are not the intended recipient, please contact the send= er by reply e-mail and destroy all copies of the original message. If you a= re the intended recipient, please be advised that the content of this messa= ge is subject to access, review and disclosure by the sender's e-mail Syste= m Administrator.<br><div><br></div>------------------------------<br><div><= br></div>Message: 2<br>Date: Fri, 19 Dec 2014 11:08:03 -0600<br>From: Darre= ll Budic <budic@onholyground.com><br>To: "Kalil de A. Carvalho" <k= alilac@gmail.com><br>Cc: Amador Segundo <asegundo@redhat.com>, use= rs@ovirt.org<br>Subject: Re: [ovirt-users] Using 10gb vNIC/vbridge into VM = is<br> possible?<br>Message-= ID: <B6ECAED5-7CE3-44D2-A4E8-90EF46B3203D@onholyground.com><br>Conten= t-Type: text/plain; charset=3D"utf-8"<br><div><br></div>I tried a quick ipe= rf test a while back and got 3-4Gb/sec between a pair of VMs on separate ho= sts with a 10G infrastructure, no real tuning and no SRIOV. That met my nee= ds so I didn?t try anything further. If you were aiming for 10G for all, yo= u?d want to work on SRIOV I imagine, but they get pretty good performance e= ven without it.<br><div><br></div><br>> On Dec 19, 2014, at 4:49 AM, Kal= il de A. Carvalho <kalilac@gmail.com> wrote:<br>> <br>> Dear Am= ador.<br>> <br>> No, unfortunately not.<br>> <br>> This was jus= t a friend question, because he need VM with 10GB NIC's.<br>> <br>> T= oday he is using Xenserver, this solution does not attend his expedition an= d he is research another solution.<br>> <br>> I told him about oVirt/= KVM but this is a prerequisite to use.<br>> <br>> I will plan with hi= m to try make a project to test a take the resolts.<br>> <br>> Best r= egards. <br>> <br>> On Fri, Dec 19, 2014 at 1:18 AM, Amador Segundo &= lt;asegundo@redhat.com <mailto:asegundo@redhat.com>> wrote:<br>>= ; Virtio devices does not support speed, so we fake their speeds showing "1= 000mbps" in Admin. Portal. If your boxes have 10gbps devices then your vms = are already taking advantage of that. Did you test it? Could you share some= results? <br>> <br>> <br>> -----Original Message----- <br>> Fr= om: Kalil de A. Carvalho [kalilac@gmail.com <mailto:kalilac@gmail.com>= ;] <br>> Received: Thursday, 18 Dec 2014, 22:59 <br>> To: users@ovirt= .org <mailto:users@ovirt.org> <br>> Subject: [ovirt-users] Using 1= 0gb vNIC/vbridge into VM is possible? <br>> <br>> <br>> Hello all.= <br>> <br>> Today a follow work ask me if is possible to use vNIC or = vbridge in a VM managed by ovirt.<br>> <br>> What he wants is to have= a virtual 10gb network to some machines.<br>> <br>> All hosts NIC's = are 10gb.<br>> <br>> Is this possible?<br>> <br>> If yes how ca= n I do it?<br>> <br>> Best regards.<br>> <br>> <br>> <br>>= ; <br>> -- <br>> Atenciosamente,<br>> Kalil de A. Carvalho<br>>= <br>> _______________________________________________<br>> Users mai= ling list<br>> Users@ovirt.org <mailto:Users@ovirt.org><br>> ht= tp://lists.ovirt.org/mailman/listinfo/users <http://lists.ovirt.org/mail= man/listinfo/users><br>-------------- next part --------------<br>An HTM= L attachment was scrubbed...<br>URL: <http://lists.ovirt.org/pipermail/u= sers/attachments/20141219/e2a27490/attachment-0001.html><br><div><br></d= iv>------------------------------<br><div><br></div>Message: 3<br>Date: Fri= , 19 Dec 2014 10:22:10 -0800<br>From: "Yue, Cong" <Cong_Yue@alliedtelesi= s.com><br>To: Simone Tiraboschi <stirabos@redhat.com><br>Cc: "user= s@ovirt.org" <users@ovirt.org><br>Subject: Re: [ovirt-users] VM failo= ver with ovirt3.5<br>Message-ID:<br> &nb= sp; <ED08B56256B38842A463A2A0804C5AC0326AEEF2F1@svr-ca-exch1.atg.lc= ><br>Content-Type: text/plain; charset=3D"utf-8"<br><div><br></div>Thank= s for the information. This is the log for my three ovirt nodes.<br>From th= e output of hosted-engine --vm-status, it shows the engine state for my 2nd= and 3rd ovirt node is DOWN.<br>Is this the reason why VM failover not work= in my environment? How can I make also engine works for my 2nd and 3rd ovi= t nodes?<br>--<br>--=3D=3D Host 1 status =3D=3D--<br><div><br></div>Status = up-to-date : = True<br>Hostname &n= bsp; : 10.0.0.94<br>Host ID = ; &nb= sp;: 1<br>Engine status &n= bsp; : {"health": "good", "vm": "up",<br>"detail": "up"= }<br>Score &= nbsp; : 2400<br>Local maintenance = : False<br>Host time= stamp = : 150475<br>Extra metadata (valid at timestamp):<br>metadata_parse_version= =3D1<br>metadata_feature_version=3D1<br>timestamp=3D150475 (Fri Dec 19 13:1= 2:18 2014)<br>host-id=3D1<br>score=3D2400<br>maintenance=3DFalse<br>state= =3DEngineUp<br><div><br></div><br>--=3D=3D Host 2 status =3D=3D--<br><div><= br></div>Status up-to-date = : True<br>Hostname = : 10.0.0.93<br>Host ID &nb= sp; &= nbsp; : 2<br>Engine status = : {"reason": "vm not running on<br= div><br></div><br>--=3D=3D Host 3 status =3D=3D--<br><div><br></div>Status = up-to-date : = False<br>Hostname &= nbsp; : 10.0.0.92<br>Host ID &nbs= p; &n= bsp;: 3<br>Engine status &= nbsp; : unknown stale-data<br>Score = ; &nb= sp; : 2400<br>Local maintenance &n= bsp; : False<br>Host timestamp &nb= sp; : 987<br>Extra metadata (vali= d at timestamp):<br>metadata_parse_version=3D1<br>metadata_feature_version= =3D1<br>timestamp=3D987 (Fri Dec 19 10:09:58 2014)<br>host-id=3D3<br>score= =3D2400<br>maintenance=3DFalse<br>state=3DEngineDown<br><div><br></div>--<b= r>And the /var/log/ovirt-hosted-engine-ha/agent.log for three ovirt nodes a= re as follows:<br>--<br>10.0.0.94(hosted-engine-1)<br>---<br>MainThread::IN= FO::2014-12-19<br>13:09:33,716::hosted_engine::327::ovirt_hosted_engine_ha.= agent.hosted_engine.HostedEngine::(start_monitoring)<br>Current state Engin= eUp (score: 2400)<br>MainThread::INFO::2014-12-19<br>13:09:33,716::hosted_e= ngine::332::ovirt_hosted_engine_ha.agent.hosted_engine.HostedEngine::(start= _monitoring)<br>Best remote host 10.0.0.93 (id: 2, score: 2400)<br>MainThre= ad::INFO::2014-12-19<br>13:09:44,017::hosted_engine::327::ovirt_hosted_engi= ne_ha.agent.hosted_engine.HostedEngine::(start_monitoring)<br>Current state= EngineUp (score: 2400)<br>MainThread::INFO::2014-12-19<br>13:09:44,017::ho= sted_engine::332::ovirt_hosted_engine_ha.agent.hosted_engine.HostedEngine::= (start_monitoring)<br>Best remote host 10.0.0.93 (id: 2, score: 2400)<br>Ma= inThread::INFO::2014-12-19<br>13:09:54,303::hosted_engine::327::ovirt_hoste= d_engine_ha.agent.hosted_engine.HostedEngine::(start_monitoring)<br>Current= state EngineUp (score: 2400)<br>MainThread::INFO::2014-12-19<br>13:09:54,3= 03::hosted_engine::332::ovirt_hosted_engine_ha.agent.hosted_engine.HostedEn= gine::(start_monitoring)<br>Best remote host 10.0.0.93 (id: 2, score: 2400)= <br>MainThread::INFO::2014-12-19<br>13:10:04,342::states::394::ovirt_hosted= _engine_ha.agent.hosted_engine.HostedEngine::(consume)<br>Engine vm running= on localhost<br>MainThread::INFO::2014-12-19<br>13:10:04,617::hosted_engin= e::327::ovirt_hosted_engine_ha.agent.hosted_engine.HostedEngine::(start_mon= itoring)<br>Current state EngineUp (score: 2400)<br>MainThread::INFO::2014-= 12-19<br>13:10:04,617::hosted_engine::332::ovirt_hosted_engine_ha.agent.hos= ted_engine.HostedEngine::(start_monitoring)<br>Best remote host 10.0.0.93 (= id: 2, score: 2400)<br>MainThread::INFO::2014-12-19<br>13:10:14,657::state_= machine::160::ovirt_hosted_engine_ha.agent.hosted_engine.HostedEngine::(ref= resh)<br>Global metadata: {'maintenance': False}<br>MainThread::INFO::2014-= 12-19<br>13:10:14,657::state_machine::165::ovirt_hosted_engine_ha.agent.hos= ted_engine.HostedEngine::(refresh)<br>Host 10.0.0.93 (id 2): {'extra':<br>'= metadata_parse_version=3D1\nmetadata_feature_version=3D1\ntimestamp=3D1448<= br>(Fri Dec 19 10:10:14<br>2014)\nhost-id=3D2\nscore=3D2400\nmaintenance=3D= False\nstate=3DEngineDown\n',<br>'hostname': '10.0.0.93', 'alive': True, 'h= ost-id': 2, 'engine-status':<br>{'reason': 'vm not running on this host', '= health': 'bad', 'vm':<br>'down', 'detail': 'unknown'}, 'score': 2400, 'main= tenance': False,<br>'host-ts': 1448}<br>MainThread::INFO::2014-12-19<br>13:= 10:14,657::state_machine::165::ovirt_hosted_engine_ha.agent.hosted_engine.H= ostedEngine::(refresh)<br>Host 10.0.0.92 (id 3): {'extra':<br>'metadata_par= se_version=3D1\nmetadata_feature_version=3D1\ntimestamp=3D987<br>(Fri Dec 1= 9 10:09:58<br>2014)\nhost-id=3D3\nscore=3D2400\nmaintenance=3DFalse\nstate= =3DEngineDown\n',<br>'hostname': '10.0.0.92', 'alive': True, 'host-id': 3, = 'engine-status':<br>{'reason': 'vm not running on this host', 'health': 'ba= d', 'vm':<br>'down', 'detail': 'unknown'}, 'score': 2400, 'maintenance': Fa= lse,<br>'host-ts': 987}<br>MainThread::INFO::2014-12-19<br>13:10:14,658::st= ate_machine::168::ovirt_hosted_engine_ha.agent.hosted_engine.HostedEngine::= (refresh)<br>Local (id 1): {'engine-health': {'health': 'good', 'vm': 'up',= <br>'detail': 'up'}, 'bridge': True, 'mem-free': 1079.0, 'maintenance':<br>= False, 'cpu-load': 0.0269, 'gateway': True}<br>MainThread::INFO::2014-12-19= <br>13:10:14,904::hosted_engine::327::ovirt_hosted_engine_ha.agent.hosted_e= ngine.HostedEngine::(start_monitoring)<br>Current state EngineUp (score: 24= 00)<br>MainThread::INFO::2014-12-19<br>13:10:14,904::hosted_engine::332::ov= irt_hosted_engine_ha.agent.hosted_engine.HostedEngine::(start_monitoring)<b= r>Best remote host 10.0.0.93 (id: 2, score: 2400)<br>MainThread::INFO::2014= -12-19<br>13:10:25,210::hosted_engine::327::ovirt_hosted_engine_ha.agent.ho= sted_engine.HostedEngine::(start_monitoring)<br>Current state EngineUp (sco= re: 2400)<br>MainThread::INFO::2014-12-19<br>13:10:25,210::hosted_engine::3= 32::ovirt_hosted_engine_ha.agent.hosted_engine.HostedEngine::(start_monitor= ing)<br>Best remote host 10.0.0.93 (id: 2, score: 2400)<br>MainThread::INFO= ::2014-12-19<br>13:10:35,499::hosted_engine::327::ovirt_hosted_engine_ha.ag= ent.hosted_engine.HostedEngine::(start_monitoring)<br>Current state EngineU= p (score: 2400)<br>MainThread::INFO::2014-12-19<br>13:10:35,499::hosted_eng= ine::332::ovirt_hosted_engine_ha.agent.hosted_engine.HostedEngine::(start_m= onitoring)<br>Best remote host 10.0.0.93 (id: 2, score: 2400)<br>MainThread= ::INFO::2014-12-19<br>13:10:45,784::hosted_engine::327::ovirt_hosted_engine= _ha.agent.hosted_engine.HostedEngine::(start_monitoring)<br>Current state E= ngineUp (score: 2400)<br>MainThread::INFO::2014-12-19<br>13:10:45,785::host= ed_engine::332::ovirt_hosted_engine_ha.agent.hosted_engine.HostedEngine::(s= tart_monitoring)<br>Best remote host 10.0.0.93 (id: 2, score: 2400)<br>Main= Thread::INFO::2014-12-19<br>13:10:56,070::hosted_engine::327::ovirt_hosted_= engine_ha.agent.hosted_engine.HostedEngine::(start_monitoring)<br>Current s= tate EngineUp (score: 2400)<br>MainThread::INFO::2014-12-19<br>13:10:56,070= ::hosted_engine::332::ovirt_hosted_engine_ha.agent.hosted_engine.HostedEngi= ne::(start_monitoring)<br>Best remote host 10.0.0.93 (id: 2, score: 2400)<b= r>MainThread::INFO::2014-12-19<br>13:11:06,109::states::394::ovirt_hosted_e= ngine_ha.agent.hosted_engine.HostedEngine::(consume)<br>Engine vm running o= n localhost<br>MainThread::INFO::2014-12-19<br>13:11:06,359::hosted_engine:= :327::ovirt_hosted_engine_ha.agent.hosted_engine.HostedEngine::(start_monit= oring)<br>Current state EngineUp (score: 2400)<br>MainThread::INFO::2014-12= -19<br>13:11:06,359::hosted_engine::332::ovirt_hosted_engine_ha.agent.hoste= d_engine.HostedEngine::(start_monitoring)<br>Best remote host 10.0.0.93 (id= : 2, score: 2400)<br>MainThread::INFO::2014-12-19<br>13:11:16,658::hosted_e= ngine::327::ovirt_hosted_engine_ha.agent.hosted_engine.HostedEngine::(start= _monitoring)<br>Current state EngineUp (score: 2400)<br>MainThread::INFO::2= 014-12-19<br>13:11:16,658::hosted_engine::332::ovirt_hosted_engine_ha.agent= .hosted_engine.HostedEngine::(start_monitoring)<br>Best remote host 10.0.0.= 93 (id: 2, score: 2400)<br>MainThread::INFO::2014-12-19<br>13:11:26,991::ho= sted_engine::327::ovirt_hosted_engine_ha.agent.hosted_engine.HostedEngine::= (start_monitoring)<br>Current state EngineUp (score: 2400)<br>MainThread::I= NFO::2014-12-19<br>13:11:26,991::hosted_engine::332::ovirt_hosted_engine_ha= .agent.hosted_engine.HostedEngine::(start_monitoring)<br>Best remote host 1= 0.0.0.93 (id: 2, score: 2400)<br>MainThread::INFO::2014-12-19<br>13:11:37,3= 41::hosted_engine::327::ovirt_hosted_engine_ha.agent.hosted_engine.HostedEn= gine::(start_monitoring)<br>Current state EngineUp (score: 2400)<br>MainThr= ead::INFO::2014-12-19<br>13:11:37,341::hosted_engine::332::ovirt_hosted_eng= ine_ha.agent.hosted_engine.HostedEngine::(start_monitoring)<br>Best remote = host 10.0.0.93 (id: 2, score: 2400)<br>----<br><div><br></div>10.0.0.93 (ho= sted-engine-2)<br>MainThread::INFO::2014-12-19<br>10:12:18,339::hosted_engi= ne::327::ovirt_hosted_engine_ha.agent.hosted_engine.HostedEngine::(start_mo= nitoring)<br>Current state EngineDown (score: 2400)<br>MainThread::INFO::20= 14-12-19<br>10:12:18,339::hosted_engine::332::ovirt_hosted_engine_ha.agent.= hosted_engine.HostedEngine::(start_monitoring)<br>Best remote host 10.0.0.9= 4 (id: 1, score: 2400)<br>MainThread::INFO::2014-12-19<br>10:12:28,651::hos= ted_engine::327::ovirt_hosted_engine_ha.agent.hosted_engine.HostedEngine::(= start_monitoring)<br>Current state EngineDown (score: 2400)<br>MainThread::= INFO::2014-12-19<br>10:12:28,652::hosted_engine::332::ovirt_hosted_engine_h= a.agent.hosted_engine.HostedEngine::(start_monitoring)<br>Best remote host = 10.0.0.94 (id: 1, score: 2400)<br>MainThread::INFO::2014-12-19<br>10:12:39,= 010::hosted_engine::327::ovirt_hosted_engine_ha.agent.hosted_engine.HostedE= ngine::(start_monitoring)<br>Current state EngineDown (score: 2400)<br>Main= Thread::INFO::2014-12-19<br>10:12:39,010::hosted_engine::332::ovirt_hosted_= engine_ha.agent.hosted_engine.HostedEngine::(start_monitoring)<br>Best remo= te host 10.0.0.94 (id: 1, score: 2400)<br>MainThread::INFO::2014-12-19<br>1= 0:12:49,338::hosted_engine::327::ovirt_hosted_engine_ha.agent.hosted_engine= .HostedEngine::(start_monitoring)<br>Current state EngineDown (score: 2400)= <br>MainThread::INFO::2014-12-19<br>10:12:49,338::hosted_engine::332::ovirt= _hosted_engine_ha.agent.hosted_engine.HostedEngine::(start_monitoring)<br>B= est remote host 10.0.0.94 (id: 1, score: 2400)<br>MainThread::INFO::2014-12= -19<br>10:12:59,642::hosted_engine::327::ovirt_hosted_engine_ha.agent.hoste= d_engine.HostedEngine::(start_monitoring)<br>Current state EngineDown (scor= e: 2400)<br>MainThread::INFO::2014-12-19<br>10:12:59,642::hosted_engine::33= 2::ovirt_hosted_engine_ha.agent.hosted_engine.HostedEngine::(start_monitori= ng)<br>Best remote host 10.0.0.94 (id: 1, score: 2400)<br>MainThread::INFO:= :2014-12-19<br>10:13:10,010::hosted_engine::327::ovirt_hosted_engine_ha.age= nt.hosted_engine.HostedEngine::(start_monitoring)<br>Current state EngineDo= wn (score: 2400)<br>MainThread::INFO::2014-12-19<br>10:13:10,010::hosted_en= gine::332::ovirt_hosted_engine_ha.agent.hosted_engine.HostedEngine::(start_= monitoring)<br>Best remote host 10.0.0.94 (id: 1, score: 2400)<br><div><br>= </div><br>10.0.0.92(hosted-engine-3)<br>same as 10.0.0.93<br>--<br><div><br= live migration works well in my environment.<br>><br>> But it seems = very buggy for VM failover if I try to force to shut down<br>> one ovirt= node. Sometimes the VM in the node which is shutdown can<br>> migrate t= o other host, but it take more than several minutes.<br>><br>> Someti= mes, it can not migrate at all. Sometimes, only when the host is<br>> ba= ck, the VM is beginning to move.<br><div><br></div>Can you please check or = share the logs under /var/log/ovirt-hosted-engine-ha/ ?<br><div><br></div>&= gt; Is there some documentation to explain how VM failover is working? And<= br>> is there some bugs reported related with this?<br><div><br></div>ht= tp://www.ovirt.org/Features/Self_Hosted_Engine#Agent_State_Diagram<br><div>= <br></div>> Thanks in advance,<br>><br>> Cong<br>><br>><br>&= gt;<br>><br>> This e-mail message is for the sole use of the intended= recipient(s)<br>> and may contain confidential and privileged informati= on. Any<br>> unauthorized review, use, disclosure or distribution is pro= hibited. If<br>> you are not the intended recipient, please contact the = sender by reply<br>> e-mail and destroy all copies of the original messa= ge. If you are the<br>> intended recipient, please be advised that the c= ontent of this message<br>> is subject to access, review and disclosure = by the sender's e-mail System Administrator.<br>><br>> ______________= _________________________________<br>> Users mailing list<br>> Users@= ovirt.org<br>> http://lists.ovirt.org/mailman/listinfo/users<br>><br>= <div><br></div>This e-mail message is for the sole use of the intended reci= pient(s) and may contain confidential and privileged information. Any unaut= horized review, use, disclosure or distribution is prohibited. If you are n= ot the intended recipient, please contact the sender by reply e-mail and de= stroy all copies of the original message. If you are the intended recipient= , please be advised that the content of this message is subject to access, = review and disclosure by the sender's e-mail System Administrator.<br><div>= <br></div>------------------------------<br><div><br></div>________________= _______________________________<br>Users mailing list<br>Users@ovirt.org<br=
participants (1)
-
Nikolai Sednev