relations on unit level

Tudor Rogoz rogoz at adobe.com
Mon May 19 09:40:13 UTC 2014


Hi all,


I just started writing on a new juju charm and I'm not sure how can i solve a specific problem.


The charm that I'm implementing depends on the mongodb charm.What i want to achieve is to link each unit from my service to a different unit from the mongodb service.For as i understood juju supports relations on the service level, and this means that all the units from my service will connect to each unit from the mongodb service.As an use case for my needs, if i deploy my service with 5 units and a mongodb service with 3 units and link them, i want that 3 (random) units from my service to connect to separate 3 mongodb units.

I can deploy separate service instances using my charm and link to separate mongo database services and probably will work, but i want to accomplish this on units level.

Any ideas, suggestions?



Thanks a lot,

Tudor
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/juju/attachments/20140519/5d386700/attachment.html>


More information about the Juju mailing list