mysql - JBOSS connectivity with mulltiple database (sql cluster) -
i want connect jboss multiple databases (with failover recovery , loadbalancing) i.e. connection switches 1 db other in case of failure of first db connection.
also each db connection has seperate set of userid , password.
i have done 1st part still stuck in second part.
how do ?
any appreciated. thanks.
that's not how should done. should done there 1 frontend instance server (here jboss) connects to, , sends actual connection whichever db instance sees fit.
the details on how implement depend on server used. since tagged question mysql, might interested in this tutorial on how set such thing that.
if insist on doing way, don't see how example load balancing work. how jboss know server has more load? how know when should activate failover?
if have answers questions already, indicated in question, there's nothing preventing creating regular datasources different userids , passwords pointing different databases. think that's inherently wrong way go this.
Comments
Post a Comment