cloudstack-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Carlos Reategui <car...@reategui.com>
Subject Reseting cloudstack
Date Fri, 15 Mar 2013 23:21:08 GMT
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

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