FQDN for vm creating with hosted-engine

--_000_ED08B56256B38842A463A2A0804C5AC0326ACA3F65svrcaexch1atg_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hi Now I am trying to confirm KVM's HA with ovirt, and doing the walk through = as the following guide. http://community.redhat.com/blog/2014/10/up-and-running-with-ovirt-3-5/ During the VM setting, FQDN is asked, what FQDN means about? Does it mean t= he hostname of VM host? In my case, it is compute2-2. The following is my hosts file, my VM host and storage is 10.0.0.92. And I am trying to assign 10.0.0.95 to the hosted VM. --- [root@compute2-2 ~]# cat /etc/hosts 10.0.0.93 compute2-2 nfs2-2 10.0.0.95 ovrit-test 127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdoma= in4 ::1 localhost localhost.localdomain localhost6 localhost6.localdoma= in6 ---- Also how I can remove the VM I installed, as for when I try to do hosted-en= gine --deploy, it shows --- [root@compute2-2 ~]# hosted-engine --deploy [ INFO ] Stage: Initializing Continuing will configure this host for serving as hypervisor and= create a VM where you have to install oVirt Engine afterwards. Are you sure you want to continue? (Yes, No)[Yes]: Yes [ INFO ] = Generating a temporary VNC password. [ INFO ] Stage: Environment setup Configuration files: [] Log file: /var/log/ovirt-hosted-engine-setup/ovirt-hosted-engine-setup-20141216144036= -30j0wk.log Version: otopi-1.3.0 (otopi-1.3.0-1.el7) [ INFO ] Hardware suppo= rts virtualization [ INFO ] Bridge ovirtmgmt already created [ INFO ] Sta= ge: Environment packages setup [ INFO ] Stage: Programs detection [ INFO = ] Stage: Environment setup [ ERROR ] The following VMs has been found: ac4c= 8d35-ca47-4394-afa8-1180c768128c [ ERROR ] Failed to execute stage 'Environment setup': Cannot setup Hosted = Engine with other VMs running [ INFO ] Stage: Clean up [ INFO ] Generatin= g answer file '/etc/ovirt-hosted-engine/answers.conf' [ INFO ] Answer file '/etc/ovirt-hosted-engine/answers.conf' has been upda= ted [ INFO ] Stage: Pre-termination [ INFO ] Stage: Termination -- Thanks, Cong ________________________________ This e-mail message is for the sole use of the intended recipient(s) and ma= y 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 copie= s of the original message. If you are the intended recipient, please be adv= ised that the content of this message is subject to access, review and disc= losure by the sender's e-mail System Administrator. --_000_ED08B56256B38842A463A2A0804C5AC0326ACA3F65svrcaexch1atg_ Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable <html xmlns:v=3D"urn:schemas-microsoft-com:vml" xmlns:o=3D"urn:schemas-micr= osoft-com:office:office" xmlns:w=3D"urn:schemas-microsoft-com:office:word" = xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" xmlns=3D"http:= //www.w3.org/TR/REC-html40"> <head> <meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dus-ascii"=
<meta name=3D"Generator" content=3D"Microsoft Word 14 (filtered medium)"> <style><!-- /* Font Definitions */ @font-face {font-family:SimSun; panose-1:2 1 6 0 3 1 1 1 1 1;} @font-face {font-family:"Cambria Math"; panose-1:2 4 5 3 5 4 6 3 2 4;} @font-face {font-family:Calibri; panose-1:2 15 5 2 2 2 4 3 2 4;} @font-face {font-family:Tahoma; panose-1:2 11 6 4 3 5 4 4 2 4;} @font-face {font-family:"\@SimSun"; panose-1:2 1 6 0 3 1 1 1 1 1;} /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal {margin:0in; margin-bottom:.0001pt; font-size:11.0pt; font-family:"Calibri","sans-serif";} a:link, span.MsoHyperlink {mso-style-priority:99; color:blue; text-decoration:underline;} a:visited, span.MsoHyperlinkFollowed {mso-style-priority:99; color:purple; text-decoration:underline;} p.MsoPlainText, li.MsoPlainText, div.MsoPlainText {mso-style-priority:99; mso-style-link:"Plain Text Char"; margin:0in; margin-bottom:.0001pt; font-size:11.0pt; font-family:"Calibri","sans-serif";} p.MsoAcetate, li.MsoAcetate, div.MsoAcetate {mso-style-priority:99; mso-style-link:"Balloon Text Char"; margin:0in; margin-bottom:.0001pt; font-size:8.0pt; font-family:"Tahoma","sans-serif";} span.EmailStyle17 {mso-style-type:personal-compose; font-family:"Calibri","sans-serif"; color:windowtext;} span.BalloonTextChar {mso-style-name:"Balloon Text Char"; mso-style-priority:99; mso-style-link:"Balloon Text"; font-family:"Tahoma","sans-serif";} span.PlainTextChar {mso-style-name:"Plain Text Char"; mso-style-priority:99; mso-style-link:"Plain Text"; font-family:"Calibri","sans-serif";} .MsoChpDefault {mso-style-type:export-only; font-family:"Calibri","sans-serif";} @page WordSection1 {size:8.5in 11.0in; margin:1.0in 1.0in 1.0in 1.0in;} div.WordSection1 {page:WordSection1;} --></style><!--[if gte mso 9]><xml> <o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" /> </xml><![endif]--><!--[if gte mso 9]><xml> <o:shapelayout v:ext=3D"edit"> <o:idmap v:ext=3D"edit" data=3D"1" /> </o:shapelayout></xml><![endif]--> </head> <body lang=3D"EN-US" link=3D"blue" vlink=3D"purple"> <div class=3D"WordSection1"> <p class=3D"MsoPlainText">Hi<o:p></o:p></p> <p class=3D"MsoPlainText"><o:p> </o:p></p> <p class=3D"MsoPlainText">Now I am trying to confirm KVM's HA with ovirt, a= nd doing the walk through as the following guide.<o:p></o:p></p> <p class=3D"MsoPlainText"><a href=3D"http://community.redhat.com/blog/2014/= 10/up-and-running-with-ovirt-3-5/">http://community.redhat.com/blog/2014/10= /up-and-running-with-ovirt-3-5/</a><o:p></o:p></p> <p class=3D"MsoPlainText"><o:p> </o:p></p> <p class=3D"MsoPlainText">During the VM setting, FQDN is asked, what FQDN m= eans about? Does it mean the hostname of VM host? In my case, it is compute= 2-2.<o:p></o:p></p> <p class=3D"MsoPlainText">The following is my hosts file, my VM host and st= orage is 10.0.0.92.<o:p></o:p></p> <p class=3D"MsoPlainText">And I am trying to assign 10.0.0.95 to the hosted= VM.<o:p></o:p></p> <p class=3D"MsoPlainText">---<o:p></o:p></p> <p class=3D"MsoPlainText">[root@compute2-2 ~]# cat /etc/hosts<o:p></o:p></p=
<p class=3D"MsoPlainText">10.0.0.93 compute2-2 nfs2-2<o:p></o:p></p> <p class=3D"MsoPlainText">10.0.0.95 ovrit-test<o:p></o:p></p> <p class=3D"MsoPlainText">127.0.0.1 localhost localhost.localdo= main localhost4 localhost4.localdomain4<o:p></o:p></p> <p class=3D"MsoPlainText">::1 &nbs= p; localhost localhost.localdomain localhost6 localhost6.localdomain6<o:p><= /o:p></p> <p class=3D"MsoPlainText">----<o:p></o:p></p> <p class=3D"MsoPlainText">Also how I can remove the VM I installed, as for = when I try to do hosted-engine --deploy, it shows<o:p></o:p></p> <p class=3D"MsoPlainText"><o:p> </o:p></p> <p class=3D"MsoPlainText">---<o:p></o:p></p> <p class=3D"MsoPlainText">[root@compute2-2 ~]# hosted-engine --deploy [ INF= O ] Stage: Initializing<o:p></o:p></p> <p class=3D"MsoPlainText"> &= nbsp; Continuing will configure this host for serving as hypervisor and cre= ate a VM where you have to install oVirt Engine afterwards.<o:p></o:p></p> <p class=3D"MsoPlainText"> &= nbsp; Are you sure you want to continue? (Yes, No)[Yes]: Yes [ INFO ]= Generating a temporary VNC password.<o:p></o:p></p> <p class=3D"MsoPlainText">[ INFO ] Stage: Environment setup<o:p></o:p=
</p> <p class=3D"MsoPlainText"> &= nbsp; Configuration files: []<o:p></o:p></p> <p class=3D"MsoPlainText"> &= nbsp; Log file:<o:p></o:p></p> <p class=3D"MsoPlainText">/var/log/ovirt-hosted-engine-setup/ovirt-hosted-e= ngine-setup-20141216144036-30j0wk.log<o:p></o:p></p> <p class=3D"MsoPlainText"> &= nbsp; Version: otopi-1.3.0 (otopi-1.3.0-1.el7) [ INFO ] Hardware supp= orts virtualization [ INFO ] Bridge ovirtmgmt already created [ INFO&= nbsp; ] Stage: Environment packages setup [ INFO ] Stage: Programs de= tection [ INFO ] Stage: Environment setup [ ERROR ] The following VMs has been found: ac4c8d35-ca4= 7-4394-afa8-1180c768128c<o:p></o:p></p> <p class=3D"MsoPlainText">[ ERROR ] Failed to execute stage 'Environment se= tup': Cannot setup Hosted Engine with other VMs running [ INFO ] Stag= e: Clean up [ INFO ] Generating answer file '/etc/ovirt-hosted-engine= /answers.conf'<o:p></o:p></p> <p class=3D"MsoPlainText">[ INFO ] Answer file '/etc/ovirt-hosted-eng= ine/answers.conf' has been updated [ INFO ] Stage: Pre-termination [ = INFO ] Stage: Termination<o:p></o:p></p> <p class=3D"MsoPlainText">--<o:p></o:p></p> <p class=3D"MsoPlainText">Thanks,<o:p></o:p></p> <p class=3D"MsoPlainText">Cong<o:p></o:p></p> <p class=3D"MsoNormal"><o:p> </o:p></p> </div> <br> <hr> <font face=3D"Arial" color=3D"Gray" size=3D"1">This e-mail message is for t= he sole use of the intended recipient(s) and may contain confidential and p= rivileged information. Any unauthorized review, use, disclosure or distribu= tion 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, plea= se be advised that the content of this message is subject to access, review= and disclosure by the sender's e-mail System Administrator.<br> </font> </body> </html>
--_000_ED08B56256B38842A463A2A0804C5AC0326ACA3F65svrcaexch1atg_--

----- Original Message -----
From: "Cong Yue" <Cong_Yue@alliedtelesis.com> To: users@ovirt.org Sent: Wednesday, December 17, 2014 12:44:44 AM Subject: [ovirt-users] FQDN for vm creating with hosted-engine
Hi
Now I am trying to confirm KVM's HA with ovirt, and doing the walk through as the following guide.
http://community.redhat.com/blog/2014/10/up-and-running-with-ovirt-3-5/
During the VM setting, FQDN is asked, what FQDN means about? Does it mean the hostname of VM host? In my case, it is compute2-2.
Do you refer to the following: Please provide the FQDN for the engine you would like to use. This needs to match the FQDN that you will use for the engine installation within the VM. Note: This will be the FQDN of the VM you are now going to create, it should not point to the base host or to any other existing machine. Engine FQDN: ? We recently changed this text to be so, due to [3]. If you still do not find it easy to understand, please suggest better wording. Thanks! The "Engine FQDN" is the name that is used by others to refer to the machine on which the engine runs. In this context it's the name of the VM. This does not have to be the hostname of that machine - the output of the command 'hostname' there. E.g. you might want to have a hostname 'purple.example.com' but connect to it as 'my-engine.example.com'. You'd probably add to the dns an A and a PTR record for 'purple', and a CNAME record for 'my-engine'. You should then input at this prompt, as well as the one during engine-setup inside this vm, 'my-engine.example.com'. See [1] [2] as examples for naming conventions. [1] https://tools.ietf.org/html/rfc1178 - an rfc from 1990, still mostly relevant today [2] http://mnx.io/blog/a-proper-server-naming-scheme/ - some random document found by searching for 'hostname conventions' [3] https://bugzilla.redhat.com/show_bug.cgi?id=1069945 : [TEXT] Add a note explaining better how FQDN will be used
The following is my hosts file, my VM host and storage is 10.0.0.92.
And I am trying to assign 10.0.0.95 to the hosted VM.
---
[root@compute2-2 ~]# cat /etc/hosts
10.0.0.93 compute2-2 nfs2-2
10.0.0.95 ovrit-test
127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4
::1 localhost localhost.localdomain localhost6 localhost6.localdomain6
Seems like you intend to use ovirt-test for the engine, so enter that.
----
Also how I can remove the VM I installed, as for when I try to do hosted-engine --deploy, it shows
---
[root@compute2-2 ~]# hosted-engine --deploy [ INFO ] Stage: Initializing
Continuing will configure this host for serving as hypervisor and create a VM where you have to install oVirt Engine afterwards.
Are you sure you want to continue? (Yes, No)[Yes]: Yes [ INFO ] Generating a temporary VNC password.
[ INFO ] Stage: Environment setup
Configuration files: []
Log file:
/var/log/ovirt-hosted-engine-setup/ovirt-hosted-engine-setup-20141216144036-30j0wk.log
Version: otopi-1.3.0 (otopi-1.3.0-1.el7) [ INFO ] Hardware supports virtualization [ INFO ] Bridge ovirtmgmt already created [ INFO ] Stage: Environment packages setup [ INFO ] Stage: Programs detection [ INFO ] Stage: Environment setup [ ERROR ] The following VMs has been found: ac4c8d35-ca47-4394-afa8-1180c768128c
If you set it up with a previous 'hosted-engine --deploy', you can kill it with 'hosted-engine --vm-poweroff'. If you created it yourself, best use the same tool - e.g. if with virsh, use that to kill it. You can always use ps to find the qemu process of it and kill it with 'kill'. Best, -- Didi
participants (2)
-
Yedidyah Bar David
-
Yue, Cong