I haven't tried it but doesn't  engine-setup --offline stop it upgrading minor releases.

Regards,
                 Paul S.

From: Yedidyah Bar David <didi@redhat.com>
Sent: 11 November 2019 07:57
To: wangyu13476969128@126.com <wangyu13476969128@126.com>
Cc: users <users@ovirt.org>
Subject: [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?
 
On Tue, Oct 29, 2019 at 11:55 AM <wangyu13476969128@126.com> 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://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fovirt.org%2Fdocumentation%2Fadmin-guide%2Fchap-Backups_and_Migration.html&amp;data=02%7C01%7Cp.staniforth%40leedsbeckett.ac.uk%7Cff1cb99060f44373217a08d7667d576c%7Cd79a81124fbe417aa112cd0fb490d85c%7C0%7C0%7C637090560836190958&amp;sdata=38F2LfBcDYVTv724D89RjLZ5gtb9BBE9Fvo4tDad8i4%3D&amp;reserved=0
>
> 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://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fovirt.org%2Fdocumentation%2Finstall-guide%2Fchap-Installing_oVirt.html&amp;data=02%7C01%7Cp.staniforth%40leedsbeckett.ac.uk%7Cff1cb99060f44373217a08d7667d576c%7Cd79a81124fbe417aa112cd0fb490d85c%7C0%7C0%7C637090560836190958&amp;sdata=CNZVxkGwDnd6HRfRUTy%2FwqhnOL6m1lDefx%2FnX0AoqWw%3D&amp;reserved=0
>
> The ovirt-engine is installed on the standby machine.
>
> After I have executed these three commands:
> 1. yum install https://eur02.safelinks.protection.outlook.com/?url=http%3A%2F%2Fresources.ovirt.org%2Fpub%2Fyum-repo%2Fovirt-release43.rpm&amp;data=02%7C01%7Cp.staniforth%40leedsbeckett.ac.uk%7Cff1cb99060f44373217a08d7667d576c%7Cd79a81124fbe417aa112cd0fb490d85c%7C0%7C0%7C637090560836190958&amp;sdata=BVhnw77mMuFITkN2tl8CXGprXX404%2BRmX4lxaguoGw4%3D&amp;reserved=0
>
> 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 https://eur02.safelinks.protection.outlook.com/?url=http%3A%2F%2Fresources.ovirt.org%2Fpub%2Fyum-repo%2Fovirt-release43.rpm&amp;data=02%7C01%7Cp.staniforth%40leedsbeckett.ac.uk%7Cff1cb99060f44373217a08d7667d576c%7Cd79a81124fbe417aa112cd0fb490d85c%7C0%7C0%7C637090560836190958&amp;sdata=BVhnw77mMuFITkN2tl8CXGprXX404%2BRmX4lxaguoGw4%3D&amp;reserved=0
> 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://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.ovirt.org%2Fdocumentation%2Fdisaster-recovery-guide%2F&amp;data=02%7C01%7Cp.staniforth%40leedsbeckett.ac.uk%7Cff1cb99060f44373217a08d7667d576c%7Cd79a81124fbe417aa112cd0fb490d85c%7C0%7C0%7C637090560836190958&amp;sdata=vZezzgSm8%2FIB9uoFGB1zgtlWOpDIbQI4cK1sAtmOgYg%3D&amp;reserved=0

Best regards,
--
Didi
_______________________________________________
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-leave@ovirt.org
Privacy Statement: https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.ovirt.org%2Fsite%2Fprivacy-policy%2F&amp;data=02%7C01%7Cp.staniforth%40leedsbeckett.ac.uk%7Cff1cb99060f44373217a08d7667d576c%7Cd79a81124fbe417aa112cd0fb490d85c%7C0%7C0%7C637090560836190958&amp;sdata=RerbgTosKRtYrW7V3vZKwJIaAth5htk5%2B4L%2B0CnF2lw%3D&amp;reserved=0
oVirt Code of Conduct: https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.ovirt.org%2Fcommunity%2Fabout%2Fcommunity-guidelines%2F&amp;data=02%7C01%7Cp.staniforth%40leedsbeckett.ac.uk%7Cff1cb99060f44373217a08d7667d576c%7Cd79a81124fbe417aa112cd0fb490d85c%7C0%7C0%7C637090560836190958&amp;sdata=l944n08e8N5%2BeDVjk0rCcxCta7np7hhw4TMc0UVbHxs%3D&amp;reserved=0
List Archives: https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.ovirt.org%2Farchives%2Flist%2Fusers%40ovirt.org%2Fmessage%2F5M275EHTCFOXEED3BXLJKT5HC7WJIZFX%2F&amp;data=02%7C01%7Cp.staniforth%40leedsbeckett.ac.uk%7Cff1cb99060f44373217a08d7667d576c%7Cd79a81124fbe417aa112cd0fb490d85c%7C0%7C0%7C637090560836190958&amp;sdata=%2FChleACCYHBEo%2B0u0DxSjlboJBhuU66TAzqfuaJN%2F44%3D&amp;reserved=0
To view the terms under which this email is distributed, please go to:-
http://leedsbeckett.ac.uk/disclaimer/email/