cloudstack-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Geoff Higginbottom <>
Subject Re: Reseting cloudstack
Date Sat, 16 Mar 2013 08:04:08 GMT
Hi Carlos,

You can use cloudmonkey to script the creation of a new Zone, we actually use cloudmonkey
to complete all of the CloudStack configuration, not just zones.

If you do create a new zone, you have to clear down secondary storage and re-seed the system
VM template as I believe there are ssh keys (or some other security features) that are randomly
generated when you use the API generate the template.


Geoff Higginbottom
CTO / Cloud Architect

D: +44(0)20 3603 0542<tel:+442036030542> | S: +44(0)20 3603 0540<tel:+442036030540>
| M: +44(0)7968161581<tel:+447968161581><> |

ShapeBlue Ltd, 53 Chandos Place, Covent Garden, London, WC2N 4HS

On 15 Mar 2013, at 23:21, "Carlos Reategui" <<>>

As I am experimenting with different host configurations I am reseting
cloudstack with the following script:

/etc/init.d/cloud-management stop

mysql -p$DBPWD -e 'drop database cloud'
mysql -p$DBPWD -e 'drop database cloud_usage'

rm -rf /var/log/cloud/management/*
rm -rf /export/primary/*

cloud-setup-databases cloud:$DBPWD@localhost --deploy-as=root:$DBPWD
/etc/init.d/cloud-management start

Is this good enough?  Should I be doing something else?  I am assuming it
is ok to leave the templates in the secondary storage as is.

Also is there a means to script the adding of a zone?

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 or related companies.
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. ShapeBlue Services India LLP is operated under license from Shape Blue Ltd. ShapeBlue
is a registered trademark.

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message