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

Reply via email to