[ovirt-users] 1. FQDN for vm creating with hosted-engine (Yue, Cong)

Nikolai Sednev nsednev at redhat.com
Wed Dec 17 09:16:33 UTC 2014


FQDN or fully qualified domain name means that you have to reserve in your DNS a name corresponding to IP received by HE VM from DHCP. 
IP address should be reserved for the VM at DHCP. 

I advise not to use manual IP to FQDN at your host, as this will lead to many confusions, especially when you'll have more than a single host machine, but you always can configure at your /etc/hosts file the FQDN corresponding to IP address given to HE VM. 





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 at redhat.com 
IRC: nsednev 

----- Original Message -----

From: users-request at ovirt.org 
To: users at ovirt.org 
Sent: Wednesday, December 17, 2014 1:19:12 AM 
Subject: Users Digest, Vol 39, Issue 104 

Send Users mailing list submissions to 
users at 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 at ovirt.org 

You can reach the person managing the list at 
users-owner at ovirt.org 

When replying, please edit your Subject line so it is more specific 
than "Re: Contents of Users digest..." 


Today's Topics: 

1. FQDN for vm creating with hosted-engine (Yue, Cong) 
2. Server 2012 R2 + Intel Conroe Cluster (Nathan Llaneza) 
3. alternate method of fencing (Brent Hartzell) 
4. Re: Don't start vm (Roman Nikolayevich Drovalev) 


---------------------------------------------------------------------- 

Message: 1 
Date: Tue, 16 Dec 2014 14:44:44 -0800 
From: "Yue, Cong" <Cong_Yue at alliedtelesis.com> 
To: "users at ovirt.org" <users at ovirt.org> 
Subject: [ovirt-users] FQDN for vm creating with hosted-engine 
Message-ID: 
<ED08B56256B38842A463A2A0804C5AC0326ACA3F65 at svr-ca-exch1.atg.lc> 
Content-Type: text/plain; charset="us-ascii" 

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. 

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 at 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 

---- 

Also how I can remove the VM I installed, as for when I try to do hosted-engine --deploy, it shows 



--- 

[root at 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 

[ ERROR ] Failed to execute stage 'Environment setup': Cannot setup Hosted Engine with other VMs running [ INFO ] Stage: Clean up [ INFO ] Generating answer file '/etc/ovirt-hosted-engine/answers.conf' 

[ INFO ] Answer file '/etc/ovirt-hosted-engine/answers.conf' has been updated [ INFO ] Stage: Pre-termination [ INFO ] Stage: Termination 

-- 

Thanks, 

Cong 


________________________________ 
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. 
-------------- next part -------------- 
An HTML attachment was scrubbed... 
URL: <http://lists.ovirt.org/pipermail/users/attachments/20141216/34bdb2c2/attachment-0001.html> 

------------------------------ 

Message: 2 
Date: Tue, 16 Dec 2014 18:16:03 -0500 
From: Nathan Llaneza <ntllaneza573 at gmail.com> 
To: users <users at ovirt.org> 
Subject: [ovirt-users] Server 2012 R2 + Intel Conroe Cluster 
Message-ID: 
<CAMkYohUBA_QVeRHo+yKYm5XTe8JYBemUfTbK4gwzS1WYzpbdCw at mail.gmail.com> 
Content-Type: text/plain; charset="utf-8" 

Hey All, 

I think I have found a bug in oVirt 3.4.4. We just bought a new server that 
supports the Conroe CPU model, and I am trying to install Server 2012 R2 
without luck. I keep getting error code 0x000000C4. The problem is while 
Windows is still to load into its pre-installation environment it cashes 
and then immediately resets. This is a continuous loop. I have found a way 
to install Server 2012 R2. Move the cluster away from the Conroe Family (in 
my case Penryn). Thanks for all you do. 
-------------- next part -------------- 
An HTML attachment was scrubbed... 
URL: <http://lists.ovirt.org/pipermail/users/attachments/20141216/48265917/attachment-0001.html> 

------------------------------ 

Message: 3 
Date: Fri, 12 Dec 2014 11:14:40 -0500 
From: Brent Hartzell <brent.hartzell at outlook.com> 
To: <users at ovirt.org> 
Subject: [ovirt-users] alternate method of fencing 
Message-ID: <BLU406-EAS4159135A9D7BC80AB172E758D600 at phx.gbl> 
Content-Type: text/plain; charset="us-ascii" 

Is there a way to force oVirt to place a host into maintenance mode 
automatically when a problem occurs? The problem we have is separate 
networks for everything: 



2 public nics which are bonded active/backup for internet access 

4 bonded gigabit nics for our Gluster network 

1 IPMI 



The ipmi is on a completely different network, not attached to anything else 
other than a VPN. 



/// 



Our cluster servers shared Gluster & hypervisor on the same hosts, which 
works great however, all are 1U servers so we don't have room for another 
NIC to dedicate to just an ipmi network connection in addition to the ipmi 
card itself. Even if the PSU on a host fails, then the ipmi power management 
is useless anyhow and the VM's on that host will not be moved. 



I've tested putting a host into maintenance mode with running VM's and it 
will auto-migrate the VM's without issue. Is there a way to make oVirt just 
force a host into maintenance mode if there's some sort of problem or some 
other fencing mechanism that will allow the VM's to be migrated to another 
host? 





-------------- next part -------------- 
An HTML attachment was scrubbed... 
URL: <http://lists.ovirt.org/pipermail/users/attachments/20141212/9db1e791/attachment.html> 

------------------------------ 

Message: 4 
Date: Tue, 16 Dec 2014 13:44:22 +0300 
From: Roman Nikolayevich Drovalev <drovalev at kaluga-gov.ru> 
To: Nir Soffer <nsoffer at redhat.com>, "users at ovirt.org"@kaluga-gov.ru 
Subject: Re: [ovirt-users] Don't start vm 
Message-ID: 
<OF0CF7416C.ABB8F3CC-ON43257DB0.003E3C0E-43257DB0.00406F2F at kaluga-gov.ru> 

Content-Type: text/plain; charset="us-ascii" 

Hi, 


> > 
> > Hi, 
> > answer below 
> > 
> > > > Nir Soffer <nsoffer at redhat.com> 
> > > > 
> > > > > > Hi, 
> > > > > > 
> > > > > > I attach the file. Below log in the vdsm.log.62.xz 
> > > > > > 
> > > > > > The given nonexistent disk has probably appeared after 
template 
> > > > removal 
> > > > > > from which it has been created. 
> > > > > > BUT it was independent and before problems was not, after 
template 
> > > > > > removal! 
> > > > > > The disk exists, but at it has changed ID! 
> > > > > 
> > > > > I don't understand this description. 
> > > > > 
> > > > > Can you describe to steps to reproduce this issue? 
> > > > > 
> > > > > Guessing from your description: 
> > > > > 1. Create vm with x disks 
> > > > > 2. Create template 
> > > > > 3. Create vm from template 
> > > > > 4. Remove template 
> > > > > ? 
> > > > 
> > > > Yes. 
> > > > 1. Create vm with x disks on the DS 3524 through FC (multipathd on 
> > vdsm) 
> > > > 2. Create template 
> > > > 3. Create vm (independent) from template 
> > > > 4. Start vm and job in the vm 
> > > > 5. Remove template 
> > > > 6. Stop vm 
> > > > 7. Don`t start vm with error 
> > > 
> > > Do you mean - start vm fail with error about missing lv? 
> 

Yes 



> 
> > > 
> > > > 8. seek it disk - #lsblk 
> > > 
> > > Can you share the output of lsblk both before and after you stop the 
vm? 

No, since vm does not start! 


> 
> > > 
> > > > 9. many command with block 253:20 
> > > 
> > > Not sure what do you mean by that 
> 
> You did not explain what you mean 

Hm, ?? vgchange .... 

> 
> > > Note: do *not* activate all lvs using "vgchange -a y" 
> > > Only vdsm should activate its volumes. 
> > 
> > OK! If vm don`t start, how to take data from vm? 
> 
> Of course if you need to troubshoot the system, and the vm is not 
> running, there is no problem to access the lv directly. 
> 
> Even then, you should *not* activate all lvs in a vg using 
> 
> vgchange -a y 
> 
> But activate only the lv you want to access using 
> 
> lvchange -a y 

Thank you, did not know 

> 
> > 
> > > 
> > > > 10. mount finded lvm in lvm volume and save data 
> > > 
> > > Mount? how mount is related to lvm? 
> > 
> > VM disk is lv on vdsm. I mounted lv, inside lvm on lv vdsm! 
> 
> You mean you activate the lv on the host? 

Yes, intro LVM vdsm 


> 
> > > > 12. reboot all vdsm host 
> > > > 13. dont't find ID it disk! ID it disk changed! 
> > > 
> > > Please share output of lvs both before and after the vm is stopped. 
> > 
> > Before 
> > -/dev/9d53ecef-8bfc-470b-8867-836bfa7df137/ 
> fb8466c9-0867-4e73-8362-2c95eea89a83 
> > After - 
> > /dev/9d53ecef-8bfc-470b-8867-836bfa7df137/33b905e2-23df-49a9- 
> b772-4ebda3b0cd22 
> 
> This not the output of lvs, these are the symlinks to the active lvs. 
> 
> Can you share the lvs output before and after the vm is stopped? 


No, since the vm does not start! 

> 
> > 
> > Now the problem disk has again received old ID(lvdisplay), BUT I have 
> > already removed it! 
> 
> I'm not sure what you mean. Can you share the output of lvdisplay before 
> and after the operation? 
> 

Already is not present, I have removed this problem disk 


> > 
> > The Mysticism! 
> > 
> > At me 3 disks on 9 GB, 5 days ago I have removed them. Now I them see 
till 
> > now (lvdisplay on the vdsm host) Why? 
> 
> Did you update lvm cache using "pvscan --cache"? 

No. I should after each operation with disks, do in the console "pvscan - 
cache"? 


> 
> > 
> > In general my problem has begun that on Windows 2008 Vm the empty seat 
has 
> > come to an end. 
> 
> What do you mean by that? 

This is first problem! Second problem - don't start the vm. 

> 
> > I have expanded volume in web gui. When I began to expand 
> > a disk in VM - error. 
> 
> > lvdisplay on the vdsm host has shown the old size of 
> > a disk! 
> 
> Is the volume preallocated or thin provisioned? 

All my disks - prelocated. 

> 
> Preallocated volumes are extended when you modify the volume size in 
> engine ui (as you described). Thin provisioned volumes are extended 
> only when the available space is bellow a threshold, so the lv 
> size will not change after you modify the volume size. 
> 
> > 
> > Sometimes normally all works! 
> 
> Do you mean that now everything works? 


The VM it has been removed, since for a week I could not start it! 

Now all works on others VM. But there were 2 problems! My problem to 
understand, that I have made not so or it is a problem oVirt. 
I wish to use oVirt, but is not assured of it because of these problems! 

> 
> > 
> > How I understand, probably, "all ok" when you work with VM which are 
on 
> > SPM host??! 
> 
> Lost you here. 

It agree, a head around )) 


Thanks 

Roma 
-------------- next part -------------- 
An HTML attachment was scrubbed... 
URL: <http://lists.ovirt.org/pipermail/users/attachments/20141216/78dbbd5d/attachment.html> 

------------------------------ 

_______________________________________________ 
Users mailing list 
Users at ovirt.org 
http://lists.ovirt.org/mailman/listinfo/users 


End of Users Digest, Vol 39, Issue 104 
************************************** 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ovirt.org/pipermail/users/attachments/20141217/527d76e5/attachment-0001.html>


More information about the Users mailing list