cloudstack-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ahmad Emneina <aemne...@gmail.com>
Subject Re: Reseting cloudstack
Date Sat, 16 Mar 2013 17:14:37 GMT
cloudmonkey i believe used to leverage marvin for this. Marvin is another
great tool to roll out a deployment based on a configuration file.

Here's an excellent resource created by the author of the tool:

http://wiki.cloudstack.org/display/QA/Testing+with+python


On Sat, Mar 16, 2013 at 1:04 AM, Geoff Higginbottom <
geoff.higginbottom@shapeblue.com> wrote:

> 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.
>
> Regards
>
> 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>
>
> geoff.higginbottom@shapeblue.com<mailto:geoff.higginbottom@shapeblue.com>
> | www.shapeblue.com
>
> ShapeBlue Ltd, 53 Chandos Place, Covent Garden, London, WC2N 4HS
>
>
>
> On 15 Mar 2013, at 23:21, "Carlos Reategui" <carlos@reategui.com<mailto:
> carlos@reategui.com>> wrote:
>
> Hi,
> As I am experimenting with different host configurations I am reseting
> cloudstack with the following script:
>
> DBPWD=mypassword
> /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
> cloud-setup-management
> /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?
>
> thanks
> Carlos
> 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.
>

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