IN a cluster management setup: ON Master MS you will install master db with deploy option Cloudstack-setup-databases cloud@10.1.1.2 --deploy-as=root
On slave MS : you will point to master db Cloudstack-setup-databases cloud@10.1.1.2 ( here don't mention --deploy-as option on slave if you mention then it will overwrite the master db content) Once you ran the above command on slave you can see "db.cloud.host" point to master IP in db.properties file Note: always take a baclkup of your DB before doing cluster management setup .Due to any mistake if master db got overwritten and you can safely revert back using ur backup copy Regards Sadhu -----Original Message----- From: Tejas Gadaria [mailto:refond.g...@gmail.com] Sent: 24 June 2014 17:04 To: dev@cloudstack.apache.org Cc: us...@cloudstack.apache.org Subject: Re: Management Server HA & DB Replication Hi abhi, My 1st MS & DB Master running on : 10.1.1.2 2nd MS & DB Slave running on : 10.1.1.3 MS will be in cluster so Both MS will be pointed to : 10.1.1.2 Is it correct ? If so, Which parameter should I change in db.properties to point MS cluster to db master? Regards, Tejas On Tue, Jun 24, 2014 at 3:54 PM, Abhinandan Prateek < abhinandan.prat...@citrix.com> wrote: > MS will work in a cluster pointing to same DB. The DB can be > configured as master-slave. > > https://cwiki.apache.org/confluence/pages/viewpage.action?pageId=34838 > 207 > > -abhi > > On 24/06/14 9:53 am, "Tejas Gadaria" <refond.g...@gmail.com> wrote: > > >Hi, > > > >I want to make MS on high availability, with automatic failover. > >I have MS & DB on same server. & planning to create slave DB on > >separate server. > > > >but if I create separate Slave MS for HA, how can point it to DB so > >command issued from any of MS will trigger to same infrastructure. > > > >Regards, > >Tejas > >