oVirt Self Hosted Engine question

--=_alternative 0015B01048257CF2_= Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="US-ASCII" Dear all, Dear Sean Cohen & Sandro Bonazzola, I found your toturial about oVirt Self Hosted Engine from here, I have a=20 question about it. Would you help me? http://www.ovirt.org/Features/Self=5FHosted=5FEngine My problem is: First, I am Following the tutorial, In machine 'Srv1', type these two=20 command to install oVirt Host & Engine: # yum install ovirt-hosted-engine-setup # hosted-engine --deploy Then I success create a Engine, and I can use web browser to access the=20 Engine in other PC. Then, in second machine 'Srv2', type these two command to install second=20 oVirt Host. # yum install ovirt-hosted-engine-setup # hosted-engine --deploy My first problem is: in second machine 'Srv2', after issue command 'hosted-engine --deploy',=20 and it prompt '[ INFO ] Waiting for VDSM hardware info'. System will ask=20 me and wait my input for (1. Setup finish, 2. Restart VM, 3. Exit). I=20 don't know what should I do now. My second problem is: I use another PC web browser connect to my oVirt Engine, and ask Engine to = add Host 'Srv2' into Cluster. It is done and successful. But when I try to = keep 'Srv2' is running, and make 'Srv1' to reboot. I found that I cannot=20 connect to oVirt Engine anymore. I try to type 'hosted-engine --vm-start'=20 in first machine 'Srv1', but it has error and cannot start my Engine=20 virtual machine. Therefore, I cannot connect to my Engine anymore. How=20 should I do now? My three question is: How to make my Engine become HA? Since when 'Srv1' reboot, the Engine=20 cannot jump to 'Srv2' automatically. Thank you very much. Best Regards, Kevin Tang ---------------------------------------------------------------------------= ----------------------------------------- AMSV - STATE KEY LABORATORY OF ANALOG AND MIXED-SIGNAL VLSI University of Macau Tel: (+853) 8397-8035 --=_alternative 0015B01048257CF2_= Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset="US-ASCII" <font size=3D2 face=3D"Verdana">Dear all,</font><br><br><font size=3D2 face= =3D"Verdana">Dear </font><font size=3D2 color=3D#2f2f2f face=3D"sans-s= erif">Sean Cohen & Sandro Bonazzola,</font><br><br><font size=3D2 face=3D"Ver= dana">I found your toturial about oVirt Self Hosted Engine from here, I have a question about it. Would you help me?</fo= nt><br><a href=3Dhttp://www.ovirt.org/Features/Self=5FHosted=5FEngine><font= size=3D2 color=3Dblue face=3D"Verdana"><u>http://www.ovirt.org/Features/Se= lf=5FHosted=5FEngine</u></font></a><font size=3D2 face=3D"sans-serif"><br><= br>My problem is:</font><br><font size=3D2 face=3D"sans-serif"><br>First, I= am Following the tutorial, In machine 'Srv1', type these two command to install oVirt Host & Engine:</font><br><font size=3D2 face=3D"sans-s= erif"># yum install ovirt-hosted-engine-setup</font><br><font size=3D2 face= =3D"sans-serif"># hosted-engine --deploy</font><br><font size=3D2 face=3D"s= ans-serif">Then I success create a Engine, and I can use web browser to access the Engine in other PC.</font><br><br><font= size=3D2 face=3D"sans-serif">Then, in second machine 'Srv2', type these two command to install second oVirt Host.</font><br><font size=3D2 fa= ce=3D"sans-serif"># yum install ovirt-hosted-engine-setup</font><br><font s= ize=3D2 face=3D"sans-serif"># hosted-engine --deploy</font><br><br><font si= ze=3D2 face=3D"sans-serif">My first problem is:</font><br><font size=3D2 fa= ce=3D"sans-serif">in second machine 'Srv2', after issue command 'hosted-engine --deploy', and it prompt '[ INFO ] Waiting for VDSM hardware info'. System will ask me and wait my input for (1. Setup finish, 2. Restart VM, 3. Exit). I don't know what should I do now.</font><= br><br><font size=3D2 face=3D"sans-serif">My second problem is:</font><br><= font size=3D2 face=3D"sans-serif">I use another PC web browser connect to my oVirt Engine, and ask Engine to add Host 'Srv2' into Cluster. It is done and successful. But when I try to keep 'Srv2' is running, and make 'Srv1' to reboot. I found that I cannot connect to oVirt Engine anymore. I try to type 'hosted-engine --vm-start' in first machine 'Srv1', but it has error and cannot start my Engine virtual machine. Therefore, I cannot connect to my Engine anymore. How should I do now?</font><br><br><font size= =3D2 face=3D"sans-serif">My three question is:</font><br><font size=3D2 fac= e=3D"sans-serif">How to make my Engine become HA? Since when 'Srv1' reboot, the Engine cannot jump to 'Srv2' automatically.<br><br>= Thank you very much.</font><br><font size=3D2 face=3D"sans-serif"><br><br>B= est Regards,<br>Kevin Tang<br>---------------------------------------------= -----------------------------------------------------------------------<br>= AMSV - STATE KEY LABORATORY OF ANALOG AND MIXED-SIGNAL VLSI<br>University o= f Macau<br>Tel: (+853) 8397-8035</font><BR> --=_alternative 0015B01048257CF2_=--

----- Original Message -----
From: KevinTang@umac.mo To: users@ovirt.org Sent: Monday, June 9, 2014 6:56:53 AM Subject: [ovirt-users] oVirt Self Hosted Engine question
Dear all,
Dear Sean Cohen & Sandro Bonazzola,
I found your toturial about oVirt Self Hosted Engine from here, I have a question about it. Would you help me? http://www.ovirt.org/Features/Self_Hosted_Engine
My problem is:
First, I am Following the tutorial, In machine 'Srv1', type these two command to install oVirt Host & Engine: # yum install ovirt-hosted-engine-setup # hosted-engine --deploy Then I success create a Engine, and I can use web browser to access the Engine in other PC.
Then, in second machine 'Srv2', type these two command to install second oVirt Host. # yum install ovirt-hosted-engine-setup # hosted-engine --deploy
Did you supply there the same storage domain path used for the hosted engine on first host? Because you should, if you want HA. It will then notice that this path already has a VM image and will behave differently. See section 3.3 in that page - it should ask something like: The specified storage location already contains a data domain. Is this an additional host setup (Yes, No)[Yes]? yes').
My first problem is: in second machine 'Srv2', after issue command 'hosted-engine --deploy', and it prompt '[ INFO ] Waiting for VDSM hardware info'. System will ask me and wait my input for (1. Setup finish, 2. Restart VM, 3. Exit). I don't know what should I do now.
My second problem is: I use another PC web browser connect to my oVirt Engine, and ask Engine to add Host 'Srv2' into Cluster.
This should not be needed, deploy should have done that for you.
It is done and successful. But when I try to keep 'Srv2' is running, and make 'Srv1' to reboot.
How do you reboot it? Did you move to global/local maintenance?
I found that I cannot connect to oVirt Engine anymore. I try to type 'hosted-engine --vm-start' in first machine 'Srv1', but it has error and cannot start my Engine virtual machine. Therefore, I cannot connect to my Engine anymore. How should I do now?
If you still do not have data there, I think it will be easiest to just reinstall everything from the beginning. Make sure to supply the same path when running deploy on the second host. If you do have, or just feel like trying to fix this anyway: 1. Please supply relevant logs from both hosts (/var/log/ovirt*, /var/log/vdsm*) 2. After you fix the problem with the engine not starting, I think you can run again deploy on the second host and supply the same path. Not sure it will work without cleaning a bit (removing configuration of hosted-engine and/or vdsm).
My three question is: How to make my Engine become HA? Since when 'Srv1' reboot, the Engine cannot jump to 'Srv2' automatically.
It should have happened automatically. Best, -- Didi
participants (2)
-
KevinTang@umac.mo
-
Yedidyah Bar David