Actually to remove the the last domain in a DC the following steps will do it in and clean
up everything without resorting to manual steps:
1. Deactivate and then detach all domains in the DC except last one
2. Deactivate last domain
3. Remove the datacenter (this takes a while since actually the host has to contend for
SPM again, like reactivating the domain, in order to remove the DC)
4. DC should be removed and domain should remain unattached -> now domain can be
removed
5. Move host to maintenance and switch it's cluster to proper dc (should now be
possible since it's DC has been removed and is now blank) or move the host directly to
proper cluster
One thing to note when using force remove for DC is that it does *not* clean up the actual
storage - only references to it from the DB (and that is why it disappears from the UI).
You have to manually go to the host and clean the storage itself to free up that space
Gadi Ickowicz
----- Original Message -----
From: "Giorgio Bersano" <giorgio.bersano(a)gmail.com>
To: dron(a)redhat.com
Cc: "users(a)ovirt.org" <Users(a)ovirt.org>
Sent: Thursday, February 27, 2014 3:04:25 PM
Subject: Re: [Users] How do you move an host with local-storage into "regular"
Data Center?
2014-02-26 17:35 GMT+01:00 Dafna Ron <dron(a)redhat.com>:
you did not remove the storage before moving the host.
Well, I tried but then there was always something impossible to do,
i.e. the Local Storage Domain was the only SD so, beeng it the Master
SD, it wasn't possible to remove it...
something like "the chicken or the egg" dilemma.
If you select the force remove DC option it should clean all object
under
that DC (just make sure you are selecting the one you want to remove ;))
That worked. I was just trying to avoid that "forced" option, but you
confirmed me it was the only one.
Thank you,
Giorgio.
_______________________________________________
Users mailing list
Users(a)ovirt.org
http://lists.ovirt.org/mailman/listinfo/users