You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@karaf.apache.org by ba...@wellsfargo.com on 2016/01/07 13:35:44 UTC
Cellar and ServiceMix
If I have an instance of ServiceMix on 1 node, and another instance on a remote node, and Cellar installed on each:
* If I deploy some Camel routes on one ServiceMix node in the deploy directory (xml files), shouldn't these appear on the second ServiceMix node if its in the same group/cluster?
o If so, what setting is required to allow this to happen?
Regards,
Barry
Re: Cellar and ServiceMix
Posted by Jean-Baptiste Onofré <jb...@nanthrax.net>.
Be careful, all nodes have to share the features.xml.
So, if you use file:/tmp/features.xml, I assume that /tmp is a NFS share
available on all nodes.
Cellar doesn't transport the file, just the location.
Regarding the blocked, it's due to the default configuration in
etc/org.apache.karaf.cellar.groups.cfg:
default.bundle.whitelist.inbound = *
default.bundle.whitelist.outbound = *
default.bundle.blacklist.inbound = *.xml
default.bundle.blacklist.outbound = *.xml
So, any URL ending with xml is blocked.
You can change this to:
default.bundle.whitelist.inbound = *
default.bundle.whitelist.outbound = *
default.bundle.blacklist.inbound = none
default.bundle.blacklist.outbound = none
Regards
JB
On 01/07/2016 02:16 PM, barry.barnett@wellsfargo.com wrote:
> cluster:bundle-install dev file:///tmp/features.xml
> Bundle location file:///tmp/features.xml is blocked outbound in cluster group dev
>
> Regards,
>
> Barry
>
>
> -----Original Message-----
> From: Jean-Baptiste Onofré [mailto:jb@nanthrax.net]
> Sent: Thursday, January 07, 2016 7:55 AM
> To: user@karaf.apache.org
> Subject: Re: Cellar and ServiceMix
>
> If you do:
>
> cluster:bundle-install mygroup <url>
>
> the bundle will be installed on all members of mygroup cluster group.
>
> Regards
> JB
>
> On 01/07/2016 01:47 PM, barry.barnett@wellsfargo.com wrote:
>> Ok, so when I do the bundle install, it will appear on both instances?
>>
>> Regards,
>>
>> Barry
>>
>>
>> -----Original Message-----
>> From: Jean-Baptiste Onofré [mailto:jb@nanthrax.net]
>> Sent: Thursday, January 07, 2016 7:42 AM
>> To: user@karaf.apache.org
>> Subject: Re: Cellar and ServiceMix
>>
>> Hi,
>>
>> Cellar doesn't sync the deploy folder. So do so, you have to package your route in a bundle or deploy the XML on Maven (or share resource) and use cluster:bundle-install.
>>
>> Regards
>> JB
>>
>> On 01/07/2016 01:35 PM, barry.barnett@wellsfargo.com wrote:
>>> If I have an instance of ServiceMix on 1 node, and another instance
>>> on a remote node, and Cellar installed on each:
>>>
>>> * If I deploy some Camel routes on one ServiceMix node in the deploy
>>> directory (xml files), shouldn't these appear on the second
>>> ServiceMix node if its in the same group/cluster?
>>>
>>> * If so, what setting is required to allow this to happen?
>>>
>>> Regards,
>>> Barry
>>
>> --
>> Jean-Baptiste Onofré
>> jbonofre@apache.org
>> http://blog.nanthrax.net
>> Talend - http://www.talend.com
>>
>
> --
> Jean-Baptiste Onofré
> jbonofre@apache.org
> http://blog.nanthrax.net
> Talend - http://www.talend.com
>
--
Jean-Baptiste Onofré
jbonofre@apache.org
http://blog.nanthrax.net
Talend - http://www.talend.com
RE: Cellar and ServiceMix
Posted by ba...@wellsfargo.com.
cluster:bundle-install dev file:///tmp/features.xml
Bundle location file:///tmp/features.xml is blocked outbound in cluster group dev
Regards,
Barry
-----Original Message-----
From: Jean-Baptiste Onofré [mailto:jb@nanthrax.net]
Sent: Thursday, January 07, 2016 7:55 AM
To: user@karaf.apache.org
Subject: Re: Cellar and ServiceMix
If you do:
cluster:bundle-install mygroup <url>
the bundle will be installed on all members of mygroup cluster group.
Regards
JB
On 01/07/2016 01:47 PM, barry.barnett@wellsfargo.com wrote:
> Ok, so when I do the bundle install, it will appear on both instances?
>
> Regards,
>
> Barry
>
>
> -----Original Message-----
> From: Jean-Baptiste Onofré [mailto:jb@nanthrax.net]
> Sent: Thursday, January 07, 2016 7:42 AM
> To: user@karaf.apache.org
> Subject: Re: Cellar and ServiceMix
>
> Hi,
>
> Cellar doesn't sync the deploy folder. So do so, you have to package your route in a bundle or deploy the XML on Maven (or share resource) and use cluster:bundle-install.
>
> Regards
> JB
>
> On 01/07/2016 01:35 PM, barry.barnett@wellsfargo.com wrote:
>> If I have an instance of ServiceMix on 1 node, and another instance
>> on a remote node, and Cellar installed on each:
>>
>> * If I deploy some Camel routes on one ServiceMix node in the deploy
>> directory (xml files), shouldn't these appear on the second
>> ServiceMix node if its in the same group/cluster?
>>
>> * If so, what setting is required to allow this to happen?
>>
>> Regards,
>> Barry
>
> --
> Jean-Baptiste Onofré
> jbonofre@apache.org
> http://blog.nanthrax.net
> Talend - http://www.talend.com
>
--
Jean-Baptiste Onofré
jbonofre@apache.org
http://blog.nanthrax.net
Talend - http://www.talend.com
Re: Cellar and ServiceMix
Posted by Jean-Baptiste Onofré <jb...@nanthrax.net>.
If you do:
cluster:bundle-install mygroup <url>
the bundle will be installed on all members of mygroup cluster group.
Regards
JB
On 01/07/2016 01:47 PM, barry.barnett@wellsfargo.com wrote:
> Ok, so when I do the bundle install, it will appear on both instances?
>
> Regards,
>
> Barry
>
>
> -----Original Message-----
> From: Jean-Baptiste Onofré [mailto:jb@nanthrax.net]
> Sent: Thursday, January 07, 2016 7:42 AM
> To: user@karaf.apache.org
> Subject: Re: Cellar and ServiceMix
>
> Hi,
>
> Cellar doesn't sync the deploy folder. So do so, you have to package your route in a bundle or deploy the XML on Maven (or share resource) and use cluster:bundle-install.
>
> Regards
> JB
>
> On 01/07/2016 01:35 PM, barry.barnett@wellsfargo.com wrote:
>> If I have an instance of ServiceMix on 1 node, and another instance on
>> a remote node, and Cellar installed on each:
>>
>> * If I deploy some Camel routes on one ServiceMix node in the deploy
>> directory (xml files), shouldn't these appear on the second
>> ServiceMix node if its in the same group/cluster?
>>
>> * If so, what setting is required to allow this to happen?
>>
>> Regards,
>> Barry
>
> --
> Jean-Baptiste Onofré
> jbonofre@apache.org
> http://blog.nanthrax.net
> Talend - http://www.talend.com
>
--
Jean-Baptiste Onofré
jbonofre@apache.org
http://blog.nanthrax.net
Talend - http://www.talend.com
RE: Cellar and ServiceMix
Posted by ba...@wellsfargo.com.
Ok, so when I do the bundle install, it will appear on both instances?
Regards,
Barry
-----Original Message-----
From: Jean-Baptiste Onofré [mailto:jb@nanthrax.net]
Sent: Thursday, January 07, 2016 7:42 AM
To: user@karaf.apache.org
Subject: Re: Cellar and ServiceMix
Hi,
Cellar doesn't sync the deploy folder. So do so, you have to package your route in a bundle or deploy the XML on Maven (or share resource) and use cluster:bundle-install.
Regards
JB
On 01/07/2016 01:35 PM, barry.barnett@wellsfargo.com wrote:
> If I have an instance of ServiceMix on 1 node, and another instance on
> a remote node, and Cellar installed on each:
>
> * If I deploy some Camel routes on one ServiceMix node in the deploy
> directory (xml files), shouldn't these appear on the second
> ServiceMix node if its in the same group/cluster?
>
> * If so, what setting is required to allow this to happen?
>
> Regards,
> Barry
--
Jean-Baptiste Onofré
jbonofre@apache.org
http://blog.nanthrax.net
Talend - http://www.talend.com
Re: Cellar and ServiceMix
Posted by Jean-Baptiste Onofré <jb...@nanthrax.net>.
Hi,
Cellar doesn't sync the deploy folder. So do so, you have to package
your route in a bundle or deploy the XML on Maven (or share resource)
and use cluster:bundle-install.
Regards
JB
On 01/07/2016 01:35 PM, barry.barnett@wellsfargo.com wrote:
> If I have an instance of ServiceMix on 1 node, and another instance on a
> remote node, and Cellar installed on each:
>
> * If I deploy some Camel routes on one ServiceMix node in the deploy
> directory (xml files), shouldn’t these appear on the second
> ServiceMix node if its in the same group/cluster?
>
> * If so, what setting is required to allow this to happen?
>
> Regards,
> Barry
--
Jean-Baptiste Onofré
jbonofre@apache.org
http://blog.nanthrax.net
Talend - http://www.talend.com