[ovirt-users] Move hosted engine to another storage

Cristian Mammoli c.mammoli at apra.it
Fri Jul 8 10:46:00 UTC 2016


I started from scratch, deployed the appliance without configuring the 
engine, imported the backup, and run engine-setup.

In the engine admin portal I deleted the old hosted_storage the shutdown 
to make the vm managed by ha

Now the engine cannot import itself :p


Jul 8, 2016 12:32:18 PM

Failed to import the Hosted Engine Storage Domain

Jul 8, 2016 12:32:18 PM

Failed to attach Storage Domain hosted_storage to Data Center Default. 
(User: SYSTEM)

Jul 8, 2016 12:27:31 PM

The Hosted Engine Storage Domain isn't Active.

Jul 8, 2016 12:27:29 PM

VDSM command failed: Cannot acquire host id: 
('d5e1243d-a085-406c-813d-e9db7677f329', SanlockException(22, 'Sanlock 
lockspace add failure', 'Invalid argument'))


How do I clean up the db from the old data?


Thanks!

Il 07/07/2016 21:47, Simone Tiraboschi ha scritto:
> On Thu, Jul 7, 2016 at 6:24 PM, Cristian Mammoli <c.mammoli at apra.it> wrote:
>> Hi list, need to move the hosted engine from a storage to another. Both the
>> source and the destination are iSCSI LUN.
>> What is correct procedure (if any)?
>> I didn't find anything in the docs
> Ciao Christian,
> theoretically you could run engine-backup on the current engine VM,
> redeploy from scratch on the new storage domain and before running
> engine setup, inject there the backup.
>
> Unfortunately we know that is not that simple:
> https://bugzilla.redhat.com/show_bug.cgi?id=1240466#c21
> and you have to manually remove any reference to the previous
> hosted-engine storage domain and hosted-engine VM from your restored
> DB since they are locked in the engine and so you couldn't remove from
> there.
>
> Improving engine-backup to automatically filter hosted-engine
> references is an RFE for 4.1.
>
>
>> Thanks
>> _______________________________________________
>> Users mailing list
>> Users at ovirt.org
>> http://lists.ovirt.org/mailman/listinfo/users

-- 
Mammoli Cristian
System administrator
T. +39 0731 22911
Via Brodolini 6 | 60035 Jesi (an)




More information about the Users mailing list