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 <mailto: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 <tel:5088011794>
    fx...@lenovo.com <mailto:fx...@lenovo.com>

    Lenovo.com
    Twitter | Facebook | Instagram | Blogs | Forums


-- Juju mailing list
    Juju@lists.ubuntu.com <mailto:Juju@lists.ubuntu.com>
    Modify settings or unsubscribe at:
    https://lists.ubuntu.com/mailman/listinfo/juju
    <https://lists.ubuntu.com/mailman/listinfo/juju>




--
Tom Barber
CTO Spicule LTD
t...@spicule.co.uk <mailto: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>

--
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/mailman/listinfo/juju

Reply via email to