Re: [ovirt-users] Migrate to Hosted Engine - problem with doc/web page
Am 20.05.2014 11:20, schrieb Yedidyah Bar David: > You are right that it is written for a case in which both old and new > engines use the same remote database. This was done to simplify the howto, > as dealing with the database is unrelated to hosted-engine, which is the > subject of this howto. Well I fail to see why this is unrelated. As you can see, you need a database. In my opinion every tutorial, no matter what it's about, has to state what prerequisites are needed to achieve the goal of the tutorial. In the case for hosted engine, you clearly _need_ a database. I guess the real reason was to "simplify" the howto. Indeed it was so much simplified that it doesn't work if you just follow the tutorial, as was proven by Bob. -- Mit freundlichen Grüßen / Regards Sven Kieske Systemadministrator Mittwald CM Service GmbH & Co. KG Königsberger Straße 6 32339 Espelkamp T: +49-5772-293-100 F: +49-5772-293-333 https://www.mittwald.de Geschäftsführer: Robert Meyer St.Nr.: 331/5721/1033, USt-IdNr.: DE814773217, HRA 6640, AG Bad Oeynhausen Komplementärin: Robert Meyer Verwaltungs GmbH, HRB 13260, AG Bad Oeynhausen ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [ovirt-users] Migrate to Hosted Engine - problem with doc/web page
Hi, Migrating an engine between machines using engine-backup is unrelated to hosted-engine. For details about that, please see [1], especially the howto section. In general, if you want to use a local database, you have to prepare it yourself prior to restore - engine-backup will not do that for you. [1] http://www.ovirt.org/Ovirt-engine-backup - Original Message - > From: "Bob Doolittle" > To: "users" > Sent: Tuesday, May 20, 2014 4:13:49 AM > Subject: Re: [ovirt-users] Migrate to Hosted Engine - problem with doc/web > page > > For the record, I'm pretty sure the How-To at > http://www.ovirt.org/Migrate_to_Hosted_Engine actually requires an > external database, although it never states so. You are right that it is written for a case in which both old and new engines use the same remote database. This was done to simplify the howto, as dealing with the database is unrelated to hosted-engine, which is the subject of this howto. > The instructions as written will not work otherwise, because it presumes > a pre-existing database before running engine-backup restore. > > If somebody can confirm I can open a bug on the page. You are welcome to do that, or better yet, document your own process and post that somewhere :-) > > In any case I have started over with a fresh engine-setup in a fresh VM. > > Having some issues I'll state in a different thread for clarity. > > -Bob Best regards, -- Didi ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [ovirt-users] Migrate to Hosted Engine - problem with doc/web page
For the record, I'm pretty sure the How-To at http://www.ovirt.org/Migrate_to_Hosted_Engine actually requires an external database, although it never states so. The instructions as written will not work otherwise, because it presumes a pre-existing database before running engine-backup restore. If somebody can confirm I can open a bug on the page. In any case I have started over with a fresh engine-setup in a fresh VM. Having some issues I'll state in a different thread for clarity. -Bob On 05/19/2014 12:25 PM, Bob Doolittle wrote: Hi, I'm trying to follow the instructions here: http://www.ovirt.org/Migrate_to_Hosted_Engine I've shut down my original engine and completed engine-backup. I've completed hosted-engine --deploy to the point where my new engine VM is up and running, and I've installed the 3.4-stable version of engine-install on it. Now I want to restore the backup on my new engine. However, at this point the instructions/how-to suddenly introduces a new host name "didi-lap" which was not mentioned previously: engine-backup --mode=restore --file=backup1 --log=backup1-restore.log --change-db-credentials --db-host=didi-lap --db-user=engine --db-password --db-name=engine The only entities introduced in this How-To are: ovirttest.home.localThe DNS CNAME record of the Engine (before and after migration) my-engine.home.localThe underlying hostname of the original engine didi-box1.home.localThe new machine which will run self-hosted engine I am not sure what (if anything) I should supply for db-host. In my original setup, my engine had the db locally (I presume - whatever the default was). In my new setup, my engine will have the same name as it did in the old setup (it was a VM previously, I took it down). Do I even need to specify the db-host or change-db-credentials arguments? Do these instructions require that the database was originally stored on an external entity (didi-lap) and that the database still resides there? Or does it backup/restore the database entirely? Thanks, Bob ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
[ovirt-users] Migrate to Hosted Engine - problem with doc/web page
Hi, I'm trying to follow the instructions here: http://www.ovirt.org/Migrate_to_Hosted_Engine I've shut down my original engine and completed engine-backup. I've completed hosted-engine --deploy to the point where my new engine VM is up and running, and I've installed the 3.4-stable version of engine-install on it. Now I want to restore the backup on my new engine. However, at this point the instructions/how-to suddenly introduces a new host name "didi-lap" which was not mentioned previously: engine-backup --mode=restore --file=backup1 --log=backup1-restore.log --change-db-credentials --db-host=didi-lap --db-user=engine --db-password --db-name=engine The only entities introduced in this How-To are: ovirttest.home.localThe DNS CNAME record of the Engine (before and after migration) my-engine.home.localThe underlying hostname of the original engine didi-box1.home.localThe new machine which will run self-hosted engine I am not sure what (if anything) I should supply for db-host. In my original setup, my engine had the db locally (I presume - whatever the default was). In my new setup, my engine will have the same name as it did in the old setup (it was a VM previously, I took it down). Do I even need to specify the db-host or change-db-credentials arguments? Do these instructions require that the database was originally stored on an external entity (didi-lap) and that the database still resides there? Or does it backup/restore the database entirely? Thanks, Bob ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users