Hi Chris , Thank you very much. I got a very good information.
Sorry. I didn't understand one thing Clearly. For the Question, At a time, can I deploy two storages arrays to same cinder node? Can we add two storage arrays to cinder node using the single charm? description ========= Question -------------- For example, We have different storage arrays of same type with unique config parameter values.[Like San IP, SAN password, San user............]. Assume that our charm has been deployed with some configuration values and we added relation to cinder. Our charm will modify cinder.cong with the storage array driver. Next time we want to redeploy our charm to append only the new configuration changes. But we don't want to destroy already existing changes. Upto which extension, "juju set-config" and "juju upgrade-charm" will be used here. Please give me a simple example if it possible. For this Scenario, Which use-case will be generally used. Please let me know that in a detailed manner. Answer [by Marcoceppi] -------------------------------------- In Juju, and especially with Cinder plugins, you can deploy multiple copies of the Juju charm and relate them. Each application deployed is equivalent to the scope of a SAN cluster: juju deploy cinder juju deploy your-charm san1 juju deploy your-charm san2 juju add-relation cinder san1 juju add-relation cinder san2 Now, you can configure each of the new applications, which are the same copy of the charm deployed multiple times. This will add a unique backend per charm copy which seems to be your intended use case -> This use case worked for us. But here we are deploying But what I am asking here is, Can I do like, Instead of deploying san1 application and san2 application separately and adding relations separately juju deploy cinder juju deploy my-charm san1 san2 juju add-relation cinder san1 san1 Thanks, Siva. On Wed, Sep 14, 2016 at 2:17 AM, Chris MacNaughton < chris.macnaugh...@canonical.com> wrote: > Hey Siva, > > >> But I want to know about "How can we Scale Cinder nodes >> > To scale up Cinder, you should just have to deploy the Hacluster[1] charm > and relate it to the Cinder charm. Additionally, you will need a VIP to > assign to the hacluster charm. > >> as well as adding multiple storage arrays to the each scaled cinder unit >> horizontally". >> > Assuming that you have a Cinder driver for your storage array, you should > be able to associate it as a subordinate charm multiple times with > different configs. For example: > $ juju deploy cinder > $ juju deploy cinder_backend_array replicated --config=replicated.yaml > $ juju deploy cinder_backend_array non-replicated > --config=non-replicated.yaml > $ juju deploy cinder_backend_array dedup --config=dedup.yaml > $ juju add-relation cinder replicated > $ juju add-relation cinder non-replicated > $ juju add-relation dedup > > This will deploy the charm 'cinder_backend_array' with different names and > configurations, and then will add them as subordinates to the Cinder charm. > The Cinder charm merges backends in the configuration file by using > configuration provided through the relation with the various drivers' > subordinate relations. > >> >> Sub Question >> >> -------------------- >> >> At a time, can I deploy two storages arrays to same cinder node . >> > Yes, > >> >> Like, >> >> $juju deploy cinder >> >> $juju add-unit cinder -n 3 >> >> $juju deploy mystorageCharm san1 san2 >> >> $juju add relation cinder san1 san1 >> > but not like this, see the example above. > > [1]: https://jujucharms.com/hacluster/ >
-- Juju mailing list Juju@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/juju