cloudstack-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Geoff Higginbottom <geoff.higginbot...@shapeblue.com>
Subject RE: Can't delete Zone, system VMs in error state
Date Fri, 18 Jan 2013 18:07:33 GMT
If you really want to delete a Zone, you need a bit of patience and a few tricks

1. Disable the Zone
2. Put Primary Storage in Maintenance Mode
3. Put all Hosts in Maintenance Mode (we are trying to stop ALL VMs, including the System
VMs
4. Make sure all the Expunge Global Settings are very short, say 60 Secs
5. Delete all VMs (if you can delete the Accounts as it will take all the resources with it)
6. Delete all Virtual Routers
7. Delete  the System VMs
8. WAIT for what seems like a long time and monitor the Resources Tab, it should show Zero
for everything.
9. Delete Networks, Hosts, Clusters, PODs etc
10. WAIT again
11.. Delete the Zone

If any items refuse to delete, sometime I drop to the DB and mark them as deleted

Remember if you are using XenServer Hosts, you will need to re-install the OS, you will not
be able to simply add them back into a new Zone

If you are going to resuse storage, I suggest you also clear it down first.

Regards

Geoff Higginbottom

D: +44 20 3603 0542 | S: +44 20 3603 0540 | M: +447968161581

geoff.higginbottom@shapeblue.com


-----Original Message-----
From: Nux! [mailto:nux@li.nux.ro]
Sent: 18 January 2013 18:00
To: cloudstack-users@incubator.apache.org
Subject: RE: Can't delete Zone, system VMs in error state

On 18.01.2013 17:51, Geoff Higginbottom wrote:
> I've been round this many many times, if you want to completely start
> again, just drop the DB Schema and redeploy the Management Data Bases,
> you will then have a Virgin CloudStack install
>
> Regards
>
> Geoff Higginbottom

Hi Geoff,

Thanks for the tip. I was this close to reinstalling anyway, but I like to imagine this is
a production setup and wiping out the DB would make some customers angry.
Anyway, I might have just shot myself in the foot by pushing all the shiny buttons. :-)

Lucian

--
Sent from the Delta quadrant using Borg technology!

Nux!
www.nux.ro

ShapeBlue provides a range of strategic and technical consulting and implementation services
to help IT Service Providers and Enterprises to build a true IaaS compute cloud. ShapeBlue’s
expertise, combined with CloudStack technology, allows IT Service Providers and Enterprises
to deliver true, utility based, IaaS to the customer or end-user.

________________________________

This email and any attachments to it may be confidential and are intended solely for the use
of the individual to whom it is addressed. Any views or opinions expressed are solely those
of the author and do not necessarily represent those of Shape Blue Ltd. If you are not the
intended recipient of this email, you must neither take any action based upon its contents,
nor copy or show it to anyone. Please contact the sender if you believe you have received
this email in error. Shape Blue Ltd is a company incorporated in England & Wales.
Mime
View raw message