Hi somesh, First directly change the DataBase side or Host side. cloud you please tell me the process. Because its production environment.
Thank you, Venkatesh.k On Thu, Jul 16, 2015 at 4:39 AM, Somesh Naidu <somesh.na...@citrix.com> wrote: > You'd have to make changes to the host_details table. > > You could use the following query: > update host_details set password=<encrypted_password> where host_id in > (comma_separated_list_of_host_ids); > > Look at the contents of this table to get a better understanding of the > above query. > > For encrypting the password you could use the following: > java -classpath /usr/share/cloudstack-common/lib/jasypt-1.9.0.jar > org.jasypt.intf.cli.JasyptPBEStringEncryptionCLI encrypt.sh > input=<new_password> password=<key> > > key = content of file "/etc/cloudstack/management/key" (this is assuming > your encryption type is file) > > Regards, > Somesh > > > -----Original Message----- > From: kotipalli venkatesh [mailto:venkateshcloudt...@gmail.com] > Sent: Wednesday, July 15, 2015 2:31 PM > To: users@cloudstack.apache.org > Subject: Re: How to know database master or slave > > Thank you Erik. I have one more doubt please help me. > > I am using Cloudstack 4.3.2 and hyper visor is xenserver 6.2. > > Under this some vms running. some security problems change the HOST > password after changing the password host level. automatically management > and host communication is mismatch. Because host password is changed. > I think there should be a changes in database? please provide the path > make changes. > > Thank you, > Venkatesh.k > > > On Wed, Jul 15, 2015 at 11:44 PM, Erik Weber <terbol...@gmail.com> wrote: > > > Setting up mysql clustering is outside the scope of cloudstack. > > > > To automatically set up master failover you might want to look at galera > or > > similar technologies. > > > > Erik > > > > Den onsdag 15. juli 2015 skrev kotipalli venkatesh < > > venkateshcloudt...@gmail.com> følgende: > > > > > Guys please help me, it's urgent guys > > > > > > I am using cloud stack 4.3.1 and hyper visor is xen-server 6.2. > > > > > > The databases are continuously replicated master to slave. If master > is > > > down that means (sql service ) is not running. Then automatically slave > > act > > > as a master. > > > So slave is master now. So here my doubt is how do you know the master > is > > > down and slave will act as a master? > > > Note: I observed there is no alert in dashboard. > > > > > > Is there any one face this scenario please help me guys. > > > > > > > > > Thank you, > > > Venkatesh.k > > > > > >