Sorry, yeah didn't hit reply all! :) Yeah, deploy a service once, add unit for more capacity or HA generally.
On Thu, Apr 20, 2017 at 1:36 PM, fengxia <fx...@lenovo.com> wrote: > I c. So I should have used add-unit command instead of "deploy". Is that > right? > > On 04/20/2017 08:34 AM, Tom Barber wrote: > > You add new "units" so you can run n units of a charm which then can use > the internal peer relation to deal with inter-app communications. > > Tom > > On Thu, Apr 20, 2017 at 1:32 PM, fengxia <fx...@lenovo.com> wrote: > >> Hi, >> >> I have developed a charm called "test". Using command line to deploy from >> local repo: >> >> $ juju deploy $JUJU_REPOSITORY/trusty/test >> >> First one went well. Issuing this command again will give error: >> >> 08:28:49 ERROR cmd supercommand.go:460 cannot add application "test": >> application already exists >> >> Must be missing something. How do you achieve HA then if one cant install >> multiple instances of a charm? >> >> -- >> Feng xia >> Engineer >> Lenovo USA >> >> Phone: 5088011794 >> fx...@lenovo.com >> >> Lenovo.com >> Twitter | Facebook | Instagram | Blogs | Forums >> >> >> -- >> Juju mailing list >> Juju@lists.ubuntu.com >> Modify settings or unsubscribe at: https://lists.ubuntu.com/mailm >> an/listinfo/juju >> > > > > -- > Tom Barber > CTO Spicule LTD > t...@spicule.co.uk > > http://spicule.co.uk > > @spiculeim <http://twitter.com/spiculeim> > > Schedule a meeting with me <http://meetme.so/spicule> > > GB: +44(0)5603641316 <+44%2056%200364%201316> > US: +18448141689 <(844)%20814-1689> > > <https://leanpub.com/juju-cookbook> > > > -- > Feng xia > Engineer > Lenovo USA > > Phone: 5088011794 <(508)%20801-1794>fx...@lenovo.com > > Lenovo.com > Twitter | Facebook | Instagram | Blogs | Forums > > -- Tom Barber CTO Spicule LTD t...@spicule.co.uk http://spicule.co.uk @spiculeim <http://twitter.com/spiculeim> Schedule a meeting with me <http://meetme.so/spicule> GB: +44(0)5603641316 US: +18448141689 <https://leanpub.com/juju-cookbook>
-- Juju mailing list Juju@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/juju