Thanks for the tip Yedidyah, the will no doubt be useful.


On 14 September 2016 at 07:03, Yedidyah Bar David <didi@redhat.com> wrote:
On Tue, Sep 13, 2016 at 7:53 PM, Simone Tiraboschi <stirabos@redhat.com> wrote:
>
>
> On Tue, Sep 13, 2016 at 6:43 PM, Maton, Brett <matonb@ltresources.co.uk>
> wrote:
>>
>> I did try that, but it stopped because the database was already populated.
>
>
> It shouldn't be an issue: you are supposed to be able to migrate also or
> especially if you used the system in the past.

If you want to use same existing remote database, you can simply skip restore
(and backup) of the database. Try:

engine-backup --mode=restore --scope=files ...

>
>>
>>
>> I'll give it another go...
>>
>> On 13 September 2016 at 17:23, Simone Tiraboschi <stirabos@redhat.com>
>> wrote:
>>>
>>>
>>>
>>> On Tue, Sep 13, 2016 at 6:07 PM, Maton, Brett <matonb@ltresources.co.uk>
>>> wrote:
>>>>
>>>> Hi,
>>>>
>>>>   I had installed ovirt-engine on a physical host, but want to move it
>>>> to a hosted vm instead,
>>>>   I created a VM and installed ovirt-engine.
>>>>
>>>>   Stopped the engine on the physical host and ran engine-setup on the
>>>> VM, connecting it to the existing remote database.
>>>>   Started ovirt-engine and ovirt-engine-dwhd
>>>>
>>>>   DNS adjusted to point at the new VM instead of physical machine.
>>>>
>>>>   I can get the the web-ui but when I try to login I get:
>>>>
>>>>   Invalid request, parameter 'client_secret' not found or contains
>>>> invalid value.
>>>>
>>>>   Can I generate a new client_secret or is there another trick ?
>>>
>>>
>>> Please follow this:
>>>
>>> http://www.ovirt.org/develop/developer-guide/engine/migrate-to-hosted-engine/
>>>
>>> The migration path is based on backup/restore which also takes care of
>>> certs, secrets and so on.
>>>
>>>>
>>>>
>>>> Thanks in advance
>>>>
>>>> _______________________________________________
>>>> Users mailing list
>>>> Users@ovirt.org
>>>> http://lists.ovirt.org/mailman/listinfo/users
>>>>
>>>
>>
>
>
> _______________________________________________
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
>



--
Didi