Sharing a DB user password among units of the app

Gustavo Niemeyer gustavo at niemeyer.net
Wed Oct 30 14:47:34 UTC 2013


On Wed, Oct 30, 2013 at 7:35 AM, Kapil Thangavelu
<kapil.thangavelu at canonical.com> wrote:
> Just thinking outloud, but In the active-active db scenario, there's an
> available db for the charm to store this info. ie. the charm could keep some
> bookeeping tables/db instead of using files on disk (a shared key via peer
> relation used for storing the credentials in db).

So you share the credentials for the credentials? :-)

Just share the credentials over the peer relation. Unit 0 creates them.

We can do better, but this should be good enough of a start.


gustavo @ http://niemeyer.net



More information about the Juju mailing list