Thank you Peter, that worked for me!

Sent from Samsung Mobile

-------- Original message --------
From: Erdősi Péter <[email protected]> 
Date: 25/04/2014  7:08 PM  (GMT-05:00) 
To: [email protected] 
Subject: Re: Deleting all in CS 4.2.1 
 
Hi!

I'm used this in a bash script at the end :)

/etc/init.d/cloudstack-management stop
/etc/init.d/cloudstack-usage stop

mysql -u root -pSECRET <<EOFMYSQL
drop database cloud_usage;
drop database cloud;
drop database cloudbridge;
EOFMYSQL

cloudstack-setup-databases cloud:SECRET@localhost --deploy-as=root:SECRET -m 
SECRETSTRING
cloudstack-setup-management



Regards:
  Peter

2014.04.26. 0:21 keltezéssel, Daan Hoogland írta:
> how about running the database install scripts? You may have to delete
> some items by hand, but for instance vms on hosts should dissappear as
> cloudstack takes control of them.
>
> On Sat, Apr 26, 2014 at 12:07 AM, José Egas López
> <[email protected]> wrote:
>> Hi, is there any way for deleting all in CS 4.2.1?
>> I have installed it, but I want to get back to its fresh installation, how
>> can I delete all and start again?
>> Please help.
>> --
>>
>> *
>> José
>>
>> *
>>
>>
>> ####################################################
>> FARMAENLACE ha procesado su mensaje y esta limpio
>> No imprima este mail a menos que sea necesario
>>
>
>


####################################################
FARMAENLACE ha procesado su mensaje y esta limpio
No imprima este mail a menos que sea necesario

####################################################
FARMAENLACE ha procesado su mensaje y esta limpio
No imprima este mail a menos que sea necesario

Reply via email to