[ovirt-users] moving db

Martin Perina mperina at redhat.com
Mon Jan 25 19:34:23 UTC 2016



----- Original Message -----
> From: "Giorgio Bart" <giorgiobart300 at gmail.com>
> To: "Yedidyah Bar David" <didi at redhat.com>
> Cc: "users" <Users at ovirt.org>
> Sent: Monday, January 25, 2016 7:51:05 PM
> Subject: Re: [ovirt-users] moving db
> 
> Thanks!
> I'll try !
> 
> 2016-01-25 18:54 GMT+01:00 Yedidyah Bar David < didi at redhat.com > :
> 
> 
> On Mon, Jan 25, 2016 at 6:27 PM, Giorgio Bart < giorgiobart300 at gmail.com >
> wrote:
> > Ok, so if i modify any of the config under /etc/ovirt-engine, for example
> > the db parameters,
> > and restart the engine service it should just work, right ?
> 
> In principle, yes.
> 
> > 
> > 
> > 2016-01-25 16:11 GMT+01:00 Yedidyah Bar David < didi at redhat.com >:
> >> 
> >> On Mon, Jan 25, 2016 at 5:08 PM, Giorgio Bart < giorgiobart300 at gmail.com >
> >> wrote:
> >> > The problem should be only the encrypted password?
> >> > I'd like to know if engine-setup will read and apply the new
> >> > configurations
> >> > from the file
> >> 
> >> Sorry, I missed that. I think that 'service ovirt-engine start' will
> >> be enough - no engine-setup will be needed, and that if you do run it
> >> (e.g. to upgrade), that too will work correctly.
> >> 
> >> > 
> >> > 2016-01-25 16:02 GMT+01:00 Marcelo Leandro < marceloltmm at gmail.com >:
> >> >> 
> >> >> check this out:
> >> >> 
> >> >> 
> >> >> http://www.ovirt.org/User:Adrian15/oVirt_engine_migration#engine-setup_Database
> >> >> 
> >> >> 2016-01-25 11:59 GMT-03:00 Giorgio Bart < giorgiobart300 at gmail.com >:
> >> >> > Hi all,
> >> >> > is this the correct way to move engine db from one server to another?
> >> >> > 
> >> >> > 1) service engine stop
> >> >> > 2) dump db
> >> >> > 3) restore dump on new db server
> >> >> > 4) modify /etc/ovirt-engine/engine.conf.d/10-setup-database.conf

If you want to move oVirt 3.6 database please don't forget on aaa-jdbc database
for 'internal' domain configured in

  /etc/ovirt-engine/aaa/internal.properties

By default it's contained in engine database but in different schema name (
'aaa-jdbc' for internal domain, 'public' for engine).

> >> >> > 5) run engine-setup
> >> >> > 
> >> >> > Thanks,
> >> >> > Giorgio
> >> >> > 
> >> >> > 
> >> >> > 
> >> >> > _______________________________________________
> >> >> > Users mailing list
> >> >> > Users at ovirt.org
> >> >> > http://lists.ovirt.org/mailman/listinfo/users
> >> >> > 
> >> > 
> >> > 
> >> > 
> >> > _______________________________________________
> >> > Users mailing list
> >> > Users at ovirt.org
> >> > http://lists.ovirt.org/mailman/listinfo/users
> >> > 
> >> 
> >> 
> >> 
> >> --
> >> Didi
> > 
> > 
> 
> 
> 
> --
> Didi
> 
> 
> _______________________________________________
> Users mailing list
> Users at ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
> 



More information about the Users mailing list