You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@karaf.apache.org by Gareth <ga...@gmail.com> on 2012/03/31 00:09:36 UTC

Karaf Cellar - Site Vs. Instance Configuration

Hello Jean-Baptiste (or anyone else on the Karaf team),

>From my understanding, cellar will automatically sync configuration between
machines. Is my understanding correct? I also see the configuration files I
added to the etc directory (these are all config files for declarative
service apps) are owned by bundle "Apache Karaf :: Cellar :: Config". Is
that correct?

If my understanding is correct, if I use Cellar what is the right way to do
instance specific information (like IP addresses, instance ids etc.)? Should
I be using files outside of configuration admin or is there another
recommended way?

While I am here, will Karaf 3 be coming out soon? No rush, just curious...:)

thanks in advance,
Gareth Collins

--
View this message in context: http://karaf.922171.n3.nabble.com/Karaf-Cellar-Site-Vs-Instance-Configuration-tp3872157p3872157.html
Sent from the Karaf - User mailing list archive at Nabble.com.

Re: Karaf Cellar - Site Vs. Instance Configuration

Posted by Jean-Baptiste Onofré <jb...@nanthrax.net>.
Hi Gareth,

Yes, Cellar is able to sync config and store config in the data grid map.

You can "blacklist" some configuration local to your instance.

We are working on Karaf 2.2.6 (and Cellar 2.2.4), Karaf 3.0.0 RC1 should 
be available soon.

Regards
JB

On 03/31/2012 12:09 AM, Gareth wrote:
> Hello Jean-Baptiste (or anyone else on the Karaf team),
>
>  From my understanding, cellar will automatically sync configuration between
> machines. Is my understanding correct? I also see the configuration files I
> added to the etc directory (these are all config files for declarative
> service apps) are owned by bundle "Apache Karaf :: Cellar :: Config". Is
> that correct?
>
> If my understanding is correct, if I use Cellar what is the right way to do
> instance specific information (like IP addresses, instance ids etc.)? Should
> I be using files outside of configuration admin or is there another
> recommended way?
>
> While I am here, will Karaf 3 be coming out soon? No rush, just curious...:)
>
> thanks in advance,
> Gareth Collins
>
> --
> View this message in context: http://karaf.922171.n3.nabble.com/Karaf-Cellar-Site-Vs-Instance-Configuration-tp3872157p3872157.html
> Sent from the Karaf - User mailing list archive at Nabble.com.

-- 
Jean-Baptiste Onofré
jbonofre@apache.org
http://blog.nanthrax.net
Talend - http://www.talend.com

Re: Karaf Cellar - Site Vs. Instance Configuration

Posted by Jean-Baptiste Onofré <jb...@nanthrax.net>.
Ioannis is right. I understood the "Cellar configuration" files (which 
is correct).

I will take a look.

Regards
JB

On 04/02/2012 11:13 AM, Ioannis Canellos wrote:
>       I also see the configuration files I
>     added to the etc directory (these are all config files for declarative
>     service apps) are owned by bundle "Apache Karaf :: Cellar :: Config". Is
>     that correct?
>
>
> No, this is not correct! Cellar should not do that, as it can cause
> issues. Cellar should use /listConfigurations/ instead of *getConfiguration*
> --
> *Ioannis Canellos*
> /
> *FuseSource* <http://fusesource.com>
>
> /*/
> /Blog: http://iocanel.blogspot.com <http://iocanel.blogspot.com/>/
> /*/
> Twitter: iocanel
> /
>
>

-- 
Jean-Baptiste Onofré
jbonofre@apache.org
http://blog.nanthrax.net
Talend - http://www.talend.com

Re: Karaf Cellar - Site Vs. Instance Configuration

Posted by Ioannis Canellos <io...@gmail.com>.
>
>  I also see the configuration files I
> added to the etc directory (these are all config files for declarative
> service apps) are owned by bundle "Apache Karaf :: Cellar :: Config". Is
> that correct?
>

No, this is not correct! Cellar should not do that, as it can cause issues.
Cellar should use *listConfigurations* instead of *getConfiguration*

-- 
*Ioannis Canellos*
*
FuseSource <http://fusesource.com>

**
Blog: http://iocanel.blogspot.com
**
Twitter: iocanel
*