[ovirt-users] Re: After importing the ovirt-engine 4.3.5 backup file into ovirt-engine 4.3.6, will the information of the ovirt-engine 4.3.6 management interface be the same as ovirt-engine 4.3.5?

2019-11-10 Thread Yedidyah Bar David
On Tue, Oct 29, 2019 at 11:55 AM  wrote:
>
> The current version of ovirt-engine in production environment is 4.3.5.5.
> In order to prevent the ovirt-engine machine from being down, the management 
> interface cannot be used, according to the relevant link:
> https://ovirt.org/documentation/admin-guide/chap-Backups_and_Migration.html
>
> I backed it up using the command:
> engine-backup --scope=all --mode=backup --file=file_name --log=log_file_name
>
> I have prepared another machine as a spare machine. Once the ovirt-engine is 
> down in the production environment, the standby machine can be UP and the 
> standby machine can manage the ovirt-nodes.
>
> According to the relevant links:
> https://ovirt.org/documentation/install-guide/chap-Installing_oVirt.html
>
> The ovirt-engine is installed on the standby machine.
>
> After I have executed these three commands:
> 1. yum install http://resources.ovirt.org/pub/yum-repo/ovirt-release43.rpm
>
> 2. yum update
>
> 3. yum install ovirt-engine
>
> I found that the ovirt-engine version of the standby machine is 4.3.6
>
> So my question is:
>
> 1. The ovirt-engine version of the standby machine is 4.3.6, and the 
> production environment ovirt-engine version is 4.3.5.5, which command is used 
> on the production environment ovirt-engine machine:
> engine-backup --scope=all --mode=backup --file=file_name --log=log_file_name
>
> Files obtained after using the backup command on the ovirt-engine in the 
> production environment are restored using these two files under the standby 
> computer. Will the information on the ovirt-engine management interface of 
> the standby computer be consistent with the ovirt-engine of the production 
> environment (eg data center, host, virtual machine, etc.)?

In principle it should be ok. After you restore with above command,
you should run 'engine-setup', and this will update your restored
database schema to 4.3.6.
This is not routinely tested explicitly, though, but I expect that
people often do this, perhaps even unknowingly, when they restore from
a backup taken with a somewhat-old version.

>
> 2. Can the ovirt-engine of the standby machine be installed with version 
> 4.3.5.5? How do I need to modify the following three commands to get the 
> backup machine to install the version 4.3.5.5?
> 1. yum install http://resources.ovirt.org/pub/yum-repo/ovirt-release43.rpm
> 2. yum update
> 3. yum install ovirt-engine

In theory you can change last one to 'yum install
ovirt-engine-4.3.5.5'. I didn't try that, and you are quite likely to
run into complex dependencies you'll have to satisfy by yourself.

I think the best solution for you, if you care about active and
standby to be identical, is to upgrade your active one as well, and
keep them same version going forward.

I'd also like to note that maintaining a standby engine and using it
the way you intend to, is not in the scope of oVirt. People do similar
things, but have to manually work around this and be careful. One very
important issue is that if for any reason you allow both of them to be
up at the same time, and manage the same hosts, they will not know
about each other, and you'll see lots of confusion and errors.

You might also want to check:

1. Hosted-engine setup with more than one host as hosted-engine host.
There, you only have a single engine vm, but it can run on any of your
hosts. You still have a single VM disk/image, and if that's corrupted,
you have no HA and have to somehow reinstall/restore/etc.

2. https://www.ovirt.org/documentation/disaster-recovery-guide/

Best regards,
-- 
Didi
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/5M275EHTCFOXEED3BXLJKT5HC7WJIZFX/


[ovirt-users] Re: I want to configure an web server

2019-11-10 Thread Jayme
The same as you would network a bare metal server.

If you want to access a web server from anywhere you need a public ip. The
vm itself doesn’t necessary have to have the public ip bound you could do
nat with an internal up address then have a public ip forwarded to it.

On Sun, Nov 10, 2019 at 10:29 AM Istiaque Islam  wrote:

> Hi there,
>
> I have installed oVirt on a server and related ISO and Data domains.
> I can create Virtual Machines and that machine get access to internet to
> download things.
> What I want to do now :
> 1.  create an web server using centos and access that webserver from
> anywhere with internet connection
> 2. Then I shall configure a domain name for that webserver hosted in oVirt
> Virtual Machine.
>
> My Question :
> How to configure the virtual machine in oVirt so that when I enter my
> specified domain name/IP it will hit that particular virtual machine?
> As it is a virtual machine, it will not get any public IP, so how should i
> configure the virtual machine set up so that it can be used as an web
> server.
>
> Thanks in advance.
>
>
> --
> With Regards,
> *Mohammed Istiaque Islam*
> *Contact no   *:  *+8801745723593*
> Email :  jisan6...@gmail.com
> LinkedIn Profile : Profile_Linkedin_Istiaque
> 
> ___
> Users mailing list -- users@ovirt.org
> To unsubscribe send an email to users-le...@ovirt.org
> Privacy Statement: https://www.ovirt.org/site/privacy-policy/
> oVirt Code of Conduct:
> https://www.ovirt.org/community/about/community-guidelines/
> List Archives:
> https://lists.ovirt.org/archives/list/users@ovirt.org/message/Y3H2HC3THM7WHNNMLDCR5VRZ76YQVHLN/
>
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/IRC5IXYBG5LWKN5VZANB5Y6SAZKHJ3A5/


[ovirt-users] Re: oVirt and Netapp question

2019-11-10 Thread Ladislav Humenik
Hi, basically the aggregate free space is relevant, as you mentioned you 
are having thin volumes, right?


On 08.11.19 07:18, Vrgotic, Marko wrote:

Hi Ladislav,

Not sure if you sam my reply, so i give it another shot.

I just want to he clear on understanding what you wrote in your 
recommendation.


Please check my previous reply.

Thank you.

Sent from my iPhone

On 6 Nov 2019, at 11:52, Vrgotic, Marko  
wrote:




Hi Ladislav,

Thank you for the reply.

On the matter of your Recommendation, when you mention free space, 
were you referring to:


  * Space that is free/unallocated on the Aggregate, allowing the
AutoGrow
  * Or all that is allocated to the volume but not actual Data Space

Kindly awaiting your reply.

-

kind regards/met vrindelijke groet

Marko Vrgotic
ActiveVideo

*From: *Ladislav Humenik 
*Date: *Tuesday, 5 November 2019 at 20:45
*To: *"Vrgotic, Marko" 
*Cc: *"users@ovirt.org" 
*Subject: *Re: [ovirt-users] Re: oVirt and Netapp question

Hi,

for the NetApp part, here is copy-paste from the netapp kb:

Answer

The volume "Over Provisioned Space" value provided in OnCommand 
System Manager (OCSM) is the "Over Provisioned Size" field provided 
by the |volume show| 
 
at the cluster shell.


This value is determined by the following formula:

(volume size) - (volume used) - (volume space available) - (snapshot used 
space) == storage that can't be provided by the aggregate if written to the 
volume

for the ovirt part:

Ovirt will see the volume size available within thin-volume without 
any knowledge of the aggregate space (available/or not) in behind.


Recommendation:

on netapp side do volume auto-grow and you are safe as long as you 
have free space inside aggregate.


HTH

On 05.11.19 14:54, Vrgotic, Marko wrote:

Second attempt 

*From: *"Vrgotic, Marko" 

*Date: *Monday, 4 November 2019 at 14:01
*To: *"users@ovirt.org" 
 
*Subject: *oVirt and Netapp question

Dear oVirt,

Few months ago our production environment oVirt with main Shared
storage via NFS Netapp is live.

We have been deploying VMs with thin provisioned HDD 40GB based
template, CentOS 7.

The Netapp NFS v4  storage volume is 7TB in size, also Thin
Provisioned.

First attached screenshot shows the space allocation of the
production volume from Netapp side.

Is there anyone in oVirt community who would be able to tell me
the meaning of the 5.31 TB Over Provisioned Space?



Second attached is the info  of the production volume from oVirt
side:



What I want to understand is the way how is oVirt reading the
volume usage and Netapp and where is the difference.

Is the Over Allocated Space something that is just logically
used/reserved and will be intelligently re-allocated/re-used as
the actual Data Space Used grows or am I looking at oVIrt
actually hitting Critical Space Action Blocker and will have to
resize the volume?

If there is anyone from Netapp or with good Netapp experience
that is able to help understanding the data above better, thank
you in advance?

Kindly awaiting your reply.

-

kind regards/met vrindelijke groet

Marko Vrgotic
ActiveVideo



___

Users mailing list --users@ovirt.org  

To unsubscribe send an email tousers-le...@ovirt.org  


Privacy Statement:https://www.ovirt.org/site/privacy-policy/

oVirt Code of 
Conduct:https://www.ovirt.org/community/about/community-guidelines/

List 
Archives:https://lists.ovirt.org/archives/list/users@ovirt.org/message/BVGZMJHNNM3LO3OIA65KEY64Z5BIHZ7R/


--
Ladislav Humenik

System administrator / VI
IT Operations Hosting Infrastructure

1&1 IONOS SE | Ernst-Frey-Str. 5 | 76135 Karlsruhe | Germany
Phone: +49 721 91374-8361
E-mail: ladislav.hume...@ionos.com | Web: www.ionos.de

Hauptsitz Montabaur, Amtsgericht Montabaur, HRB 24498

Vorstand: Dr. Christian Böing, Hüseyin Dogan, Hans-Henning Kettler, Matthias 
Steinberg, Achim Weiß
Aufsichtsratsvorsitzender: Markus Kadelke


Member of United Internet

Diese E-Mail kann vertrauliche und/oder gesetzlich geschützte Informationen 
enthalten. Wenn Sie nicht der bestimmungsgemäße Adressat sind oder diese E-Mail 
irrtümlich erhalten haben, unterrichten Sie bitte den Absender und vernichten 
Sie diese E-Mail. Anderen als dem bestimmungsgemäßen Adressaten ist untersagt, 
diese E-Mail zu speichern, weiterzuleiten oder ihren Inhalt auf welche Weise 
auch immer zu verwenden.

This e-mail may contain confidential and/or privileged information. If you are 
not the intended recipient of this e-mail, you are hereby notified that saving, 
distribution or use of the content of this 

[ovirt-users] I want to configure an web server

2019-11-10 Thread Istiaque Islam
Hi there,

I have installed oVirt on a server and related ISO and Data domains.
I can create Virtual Machines and that machine get access to internet to
download things.
What I want to do now :
1.  create an web server using centos and access that webserver from
anywhere with internet connection
2. Then I shall configure a domain name for that webserver hosted in oVirt
Virtual Machine.

My Question :
How to configure the virtual machine in oVirt so that when I enter my
specified domain name/IP it will hit that particular virtual machine?
As it is a virtual machine, it will not get any public IP, so how should i
configure the virtual machine set up so that it can be used as an web
server.

Thanks in advance.

-- 
With Regards,
*Mohammed Istiaque Islam*
*Contact no   *:  *+8801745723593*
Email :  jisan6...@gmail.com
LinkedIn Profile : Profile_Linkedin_Istiaque

___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/Y3H2HC3THM7WHNNMLDCR5VRZ76YQVHLN/


[ovirt-users] Long post about gluster issue after 6.5 to 6.6 upgrade and recovery steps

2019-11-10 Thread Strahil Nikolov
Hello Colleagues,
I want to share my experience and especially how I have recovered after a 
situation where gluster refuses to heal several files of my oVirt Lab.
Most probably the situation was caused by the fact that I didn't check if all 
files were healed before I started the upgrade on the next node , which in a 
'replica 2 arbiter1' setup has caused multiple files missing/conflicting and 
heal fails to happen.
Background:1. I have powered off my HostedEngine VM and made a snapshot of the 
gluster volume2. Started the update , but without screen - I messed it up and 
decided to revert from the snapshot3. Powered off the volume , restored from 
snapshot and then started (and again snapshoted the volume)4. Upgrade of the 
HostedEngine was successfull5. Upgraded the arbiter (ovirt3)6. I forgot to 
check the heal status on the arbiter and upgraded ovirt1/gluster1 (which maybe 
was the reason for the issue)7. After gluster1 was healed I saw that some files 
are left for healing , but expected it will finish till ovirt2/gluster2 is 
patched8. Sadly my assumption was not right and after the reboot of 
ovirt2/gluster2 I noticed that some files never heal.
Symptoms:2 files per volume never heal (used 'full' mode) even after I 
'stat'-ed every file/dir in the volume.Ovirt Dashboard reported multiple errors 
(50+) that it cannot update the OVF metadata for volume/VM.
Here are my notes while I was recovering from the situation. As this is my LAB, 
I shutdown all VMs (including the HostedEngine) as downtime was not an issue:
Heals never complete:

# gluster volume heal data_fast4 info
Brick gluster1:/gluster_bricks/data_fast4/data_fast4
Status: Connected
Number of entries: 0

Brick gluster2:/gluster_bricks/data_fast4/data_fast4
  
  
Status: Connected
Number of entries: 2

Brick ovirt3:/gluster_bricks/data_fast4/data_fast4
  
  
Status: Connected
Number of entries: 2


Mount to get the gfid to path relationship:
mount -t glusterfs -o aux-gfid-mount gluster1:/data_fast4 /mnt

# getfattr -n trusted.glusterfs.pathinfo -e text 
/mnt/.gfid/d21a6512-eaf6-4859-90cf-eeef2cc0cab8
getfattr: Removing leading '/' from absolute path names
# file: mnt/.gfid/d21a6512-eaf6-4859-90cf-eeef2cc0cab8
 trusted.glusterfs.pathinfo="( 
 
)"

The local brick (that is supposed to be healed) is missing some data:

# ls -l 
/gluster_bricks/data_fast4/data_fast4/.glusterfs/d2/1a/d21a6512-eaf6-4859-90cf-eeef2cc0cab8
ls: няма достъп до 
/gluster_bricks/data_fast4/data_fast4/.glusterfs/d2/1a/d21a6512-eaf6-4859-90cf-eeef2cc0cab8:
 Няма такъв файл или директория

Remote is OK:
# ssh gluster2 'ls -l 
/gluster_bricks/data_fast4/data_fast4/.glusterfs/d2/1a/d21a6512-eaf6-4859-90cf-eeef2cc0cab8'
-rw-r--r--. 2 vdsm kvm 436  9 ное 19,34 
/gluster_bricks/data_fast4/data_fast4/.glusterfs/d2/1a/d21a6512-eaf6-4859-90cf-eeef2cc0cab8

Arbiter is also OK:
# ssh ovirt3 'ls -l 
/gluster_bricks/data_fast4/data_fast4/.glusterfs/d2/1a/d21a6512-eaf6-4859-90cf-eeef2cc0cab8'
-rw-r--r--. 2 vdsm kvm 0  9 ное 19,34 
/gluster_bricks/data_fast4/data_fast4/.glusterfs/d2/1a/d21a6512-eaf6-4859-90cf-eeef2cc0cab8


Rsync the file/directory from a good brick to broken one:

# rsync -avP gluster2:/gluster_bricks/data_fast4/data_fast4/.glusterfs/d2/1a/ 
/gluster_bricks/data_fast4/data_fast4/.glusterfs/d2/1a/
# ls -l 
/gluster_bricks/data_fast4/data_fast4/.glusterfs/d2/1a/d21a6512-eaf6-4859-90cf-eeef2cc0cab8
-rw-r--r--. 1 vdsm kvm 436  9 ное 19,34 
/gluster_bricks/data_fast4/data_fast4/.glusterfs/d2/1a/d21a6512-eaf6-4859-90cf-eeef2cc0cab8

After a full heal we see our problematic file:

# gluster volume heal data_fast4 full
Launching heal operation to perform full self heal on volume data_fast4 has 
been successful  
Use heal info commands to check status.

# gluster volume heal data_fast4 info
Brick gluster1:/gluster_bricks/data_fast4/data_fast4
Status: Connected
Number of entries: 0

Brick gluster2:/gluster_bricks/data_fast4/data_fast4
/578bca3d-6540-41cd-8e0e-9e3047026484/images/58e197a6-12df-4432-a643-298d40e44130/535ec7f7-f4d1-4d1e-a988-c1e95b4a38ca.meta
  
Status: Connected
Number of entries: 1

Brick ovirt3:/gluster_bricks/data_fast4/data_fast4
/578bca3d-6540-41cd-8e0e-9e3047026484/images/58e197a6-12df-4432-a643-298d40e44130/535ec7f7-f4d1-4d1e-a988-c1e95b4a38ca.meta
  
Status: Connected
Number of entries: 1


This time the file is missing on both gluster1 (older version) and arbiter:

# cat 
/gluster_bricks/data_fast4/data_fast4/578bca3d-6540-41cd-8e0e-9e3047026484/images/58e197a6-12df-4432-a643-298d40e44130/535ec7f7-f4d1-4d1e-a988-c1e95b4a38ca.meta
CTIME=1558265783
DESCRIPTION={"Updated":true,"Size":256000,"Last Updated":"Sat Nov 09 19:24:08 
EET 2019","Storage 
Domains":[{"uuid":"578bca3d-6540-41cd-8e0e-9e3047026484"}],"Disk 
Description":"OVF_STORE"}
DISKTYPE=OVFS
DOMAIN=578bca3d-6540-41cd-8e0e-9e3047026484
FORMAT=RAW
GEN=0
IMAGE=58e197a6-12df-4432-a643-298d40e44130
LEGALITY=LEGAL
MTIME=0
PUUID=----
SIZE=262144
TYPE=PREALLOCATED