You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@karaf.apache.org by Fernando Ribeiro <fe...@upic.com.br> on 2013/12/19 17:24:57 UTC

Clustered Web Console Installation

All,

After some investigation, I've managed to install the web console in a
Cellar installation using a dedicated instance in a different cluster group.

I understand that I could use a shared instance in a single cluster group
if I blacklisted some features and bundles, but don't have that list yet -
do you?

Regards,

-- 
Fernando

Re: Clustered Web Console Installation

Posted by Fernando Ribeiro <fe...@upic.com.br>.
Still about the bundle repl: using two cluster groups also gives me the
expected output while keeping sync enabled for the regular deployments.

If you look at how JBoss AS handles the same issue, for example, the bits
are also repl'ed and the console is disabled by tampering with the HTTP
connector, unless you also set up a separate server group.

Regards,
On Dec 21, 2013 9:11 AM, "Fernando Ribeiro" <fe...@upic.com.br>
wrote:

> Allright, but the list should be the same in the two nodes, right?
> On Dec 21, 2013 3:22 AM, "Jean-Baptiste Onofré" <jb...@nanthrax.net> wrote:
>
>> Hi Fernando,
>>
>> If you blacklist the webconsole feature, Cellar will block the
>> feature:install and cluster:feature-install webconsole events.
>> If you install locally feature:install and use bundle sync, the bundles
>> will be sync. It's normal.
>> By default, I disable the bundle sync (blacklist=* whitelist=none for the
>> bundles).
>>
>> Regards
>> JB
>>
>> On 12/21/2013 03:54 AM, Fernando Ribeiro wrote:
>>
>>> Hi Jean-Baptiste,
>>>
>>> I am still thinking if the replication of the bundles to the second node
>>> is really an issue, and also that the fact that the bundle list in the
>>> two nodes isn't the same should be reported separately.
>>>
>>> Let me know when you find the time to look into this with me.
>>>
>>> Regards,
>>>
>>>
>>> On Thu, Dec 19, 2013 at 11:54 PM, Fernando Ribeiro
>>> <fernando.ribeiro@upic.com.br <ma...@upic.com.br>>
>>> wrote:
>>>
>>>     Hi Jean-Baptiste,
>>>
>>>     I am getting an exception from Jetty when following these steps:
>>>
>>>     1- Create node1
>>>     2- Install Cellar on node1
>>>     3- Edit org.apache.karaf.cellar.groups.cfg to blacklist the
>>>     webconsole feature
>>>     4- Create node2
>>>     5- Install Cellar on node2
>>>
>>>     The reason why I did mentioned "a list" in my previous e-mail is
>>>     because I understand the issue could be worked around blacklisting
>>>     the Jetty bundles, for example.
>>>
>>>     The log files are attached for your review, as well as the list of
>>>     bundles in node2, which is very different than the empty list in
>>> node1.
>>>
>>>     Please advise me whether I should open a ticket.
>>>
>>>     Regards,
>>>
>>>
>>>     On Thu, Dec 19, 2013 at 3:16 PM, Fernando Ribeiro
>>>     <fernando.ribeiro@upic.com.br <ma...@upic.com.br>>
>>>     wrote:
>>>
>>>         Hi Jean-Baptiste,
>>>
>>>         I have the impression that you actually need to blacklist some
>>>         bundles as well, will re-do the installation and come back with
>>>         more detailed information.
>>>
>>>         Regards,
>>>
>>>
>>>         On Thu, Dec 19, 2013 at 2:50 PM, Jean-Baptiste Onofré
>>>         <jb@nanthrax.net <ma...@nanthrax.net>> wrote:
>>>
>>>             Hi Fernando,
>>>
>>>             you mean install the WebConsole only on one node ?
>>>
>>>             If so, you can blacklist webconsole feature inbound and
>>>             outbound and install on the target node.
>>>
>>>             Regards
>>>             JB
>>>
>>>
>>>             On 12/19/2013 05:24 PM, Fernando Ribeiro wrote:
>>>
>>>                 All,
>>>
>>>                 After some investigation, I've managed to install the
>>>                 web console in a
>>>                 Cellar installation using a dedicated instance in a
>>>                 different cluster group.
>>>
>>>                 I understand that I could use a shared instance in a
>>>                 single cluster
>>>                 group if I blacklisted some features and bundles, but
>>>                 don't have that
>>>                 list yet - do you?
>>>
>>>                 Regards,
>>>
>>>                 --
>>>                 Fernando
>>>
>>>
>>>             --
>>>             Jean-Baptiste Onofré
>>>             jbonofre@apache.org <ma...@apache.org>
>>>             http://blog.nanthrax.net
>>>             Talend - http://www.talend.com
>>>
>>>
>>>
>>>
>>>         --
>>>         Fernando Ribeiro
>>>         Upic
>>>         +55 11 9 8111 4078 <tel:%2B55%2011%209%208111%204078>
>>>
>>>
>>>
>>>
>>>     --
>>>     Fernando Ribeiro
>>>     Upic
>>>     +55 11 9 8111 4078 <tel:%2B55%2011%209%208111%204078>
>>>
>>>
>>>
>>>
>>> --
>>> Fernando Ribeiro
>>>
>>
>> --
>> Jean-Baptiste Onofré
>> jbonofre@apache.org
>> http://blog.nanthrax.net
>> Talend - http://www.talend.com
>>
>

Re: Fwd: Clustered Web Console Installation

Posted by Jean-Baptiste Onofré <jb...@nanthrax.net>.
Thanks, I gonna take a look.

Regards
JB

On 12/23/2013 04:20 PM, Fernando Ribeiro wrote:
> As discussed in private, the issue is reported at
> https://issues.apache.org/jira/browse/KARAF-2653. Regards.
>
>
> On Mon, Dec 23, 2013 at 10:49 AM, Fernando Ribeiro <
> fernando.ribeiro@upic.com.br> wrote:
>
>> Of course, sending you an email right now. Thanks.
>>
>>
>> On Mon, Dec 23, 2013 at 4:26 AM, Jean-Baptiste Onofré <jb...@nanthrax.net>wrote:
>>
>>> Hi Fernando,
>>>
>>> I'm not sure I follow you.
>>>
>>> In Cellar, if sync is enabled, at startup, a Synchronizer is called.
>>> The synchronizer:
>>> 1/ gets the resources (bundles for instance) from the cluster, compare
>>> the state on the cluster with the state on the node, and update the state
>>> on the node.
>>> 2/ push the local resources states to the bundles.
>>>
>>> You have a synchronizer for bundle, one for features, one for config, etc.
>>>
>>> After that that, Cellar have a set of listener that listen for local
>>> events (bundle install, features install, etc) and broadcast this local
>>> event as cluster event.
>>>
>>> You have a listener for bundle, one for features, one for config, etc.
>>>
>>> Bundles and features are completely isolated: if you blacklist all
>>> bundles, you can still install features on the cluster, the bundles list
>>> will remain empty.
>>>
>>> Could you share (directly with me in private e-mail) your scenario ?
>>>
>>> Regards
>>> JB
>>>
>>>
>>> On 12/23/2013 02:34 AM, Fernando Ribeiro wrote:
>>>
>>>> Any thoughts? Regards.
>>>>
>>>> ---------- Forwarded message ----------
>>>> From: Fernando Ribeiro <fe...@upic.com.br>
>>>> Date: Sun, Dec 22, 2013 at 10:18 AM
>>>> Subject: Re: Clustered Web Console Installation
>>>> To: user@karaf.apache.org
>>>>
>>>>
>>>> I'd think that the list to change is that of the first node, which
>>>> shouldn't be unexpectedly empty after the feature is installed. Regards.
>>>> On Dec 22, 2013 1:54 AM, "Fernando Ribeiro" <
>>>> fernando.ribeiro@upic.com.br>
>>>> wrote:
>>>>
>>>>   Hi Jean-Baptiste,
>>>>>
>>>>> I have successfully completed an installation of the web console in a
>>>>> shared instance and cluster group blacklisting the webconsole feature
>>>>> and
>>>>> disabling bundle sync (as advised) in both nodes.
>>>>>
>>>>> Regarding the bundle lists, I have verified that the list in the other
>>>>> nodes is different than the empty list in the node where the feature is
>>>>> installed (when bundle sync is enabled, of course), can you double
>>>>> check if
>>>>> that is the expected behavior?
>>>>>
>>>>> Regards,
>>>>>
>>>>>
>>>>> On Sat, Dec 21, 2013 at 10:56 AM, Fernando Ribeiro <
>>>>> fernando.ribeiro@upic.com.br> wrote:
>>>>>
>>>>>   Humm, I guess the blacklists/whitelists are the same, but I will check
>>>>>> again and get back to you. Regards.
>>>>>>    On Dec 21, 2013 9:59 AM, "Jean-Baptiste Onofré" <jb...@nanthrax.net>
>>>>>> wrote:
>>>>>>
>>>>>>   Not necessary: cluster:bundle-list should be the same, bundle:list
>>>>>>> depends of the blacklist/whitelist.
>>>>>>>
>>>>>>> Regards
>>>>>>> JB
>>>>>>>
>>>>>>> On 12/21/2013 12:11 PM, Fernando Ribeiro wrote:
>>>>>>>
>>>>>>>   Allright, but the list should be the same in the two nodes, right?
>>>>>>>>
>>>>>>>> On Dec 21, 2013 3:22 AM, "Jean-Baptiste Onofré" <jb@nanthrax.net
>>>>>>>> <ma...@nanthrax.net>> wrote:
>>>>>>>>
>>>>>>>>       Hi Fernando,
>>>>>>>>
>>>>>>>>       If you blacklist the webconsole feature, Cellar will block the
>>>>>>>>       feature:install and cluster:feature-install webconsole events.
>>>>>>>>       If you install locally feature:install and use bundle sync, the
>>>>>>>>       bundles will be sync. It's normal.
>>>>>>>>       By default, I disable the bundle sync (blacklist=*
>>>>>>>> whitelist=none
>>>>>>>>       for the bundles).
>>>>>>>>
>>>>>>>>       Regards
>>>>>>>>       JB
>>>>>>>>
>>>>>>>>       On 12/21/2013 03:54 AM, Fernando Ribeiro wrote:
>>>>>>>>
>>>>>>>>           Hi Jean-Baptiste,
>>>>>>>>
>>>>>>>>           I am still thinking if the replication of the bundles to the
>>>>>>>>           second node
>>>>>>>>           is really an issue, and also that the fact that the bundle
>>>>>>>> list
>>>>>>>>           in the
>>>>>>>>           two nodes isn't the same should be reported separately.
>>>>>>>>
>>>>>>>>           Let me know when you find the time to look into this with
>>>>>>>> me.
>>>>>>>>
>>>>>>>>           Regards,
>>>>>>>>
>>>>>>>>
>>>>>>>>           On Thu, Dec 19, 2013 at 11:54 PM, Fernando Ribeiro
>>>>>>>>           <fernando.ribeiro@upic.com.br
>>>>>>>>           <ma...@upic.com.br>
>>>>>>>>           <mailto:fernando.ribeiro@upic.__com.br
>>>>>>>>           <ma...@upic.com.br>>> wrote:
>>>>>>>>
>>>>>>>>                Hi Jean-Baptiste,
>>>>>>>>
>>>>>>>>                I am getting an exception from Jetty when following
>>>>>>>> these
>>>>>>>>           steps:
>>>>>>>>
>>>>>>>>                1- Create node1
>>>>>>>>                2- Install Cellar on node1
>>>>>>>>                3- Edit org.apache.karaf.cellar.__groups.cfg to
>>>>>>>> blacklist
>>>>>>>> the
>>>>>>>>                webconsole feature
>>>>>>>>                4- Create node2
>>>>>>>>                5- Install Cellar on node2
>>>>>>>>
>>>>>>>>                The reason why I did mentioned "a list" in my previous
>>>>>>>>           e-mail is
>>>>>>>>                because I understand the issue could be worked around
>>>>>>>>           blacklisting
>>>>>>>>                the Jetty bundles, for example.
>>>>>>>>
>>>>>>>>                The log files are attached for your review, as well as
>>>>>>>> the
>>>>>>>>           list of
>>>>>>>>                bundles in node2, which is very different than the
>>>>>>>> empty
>>>>>>>>           list in node1.
>>>>>>>>
>>>>>>>>                Please advise me whether I should open a ticket.
>>>>>>>>
>>>>>>>>                Regards,
>>>>>>>>
>>>>>>>>
>>>>>>>>                On Thu, Dec 19, 2013 at 3:16 PM, Fernando Ribeiro
>>>>>>>>                <fernando.ribeiro@upic.com.br
>>>>>>>>           <ma...@upic.com.br>
>>>>>>>>           <mailto:fernando.ribeiro@upic.__com.br
>>>>>>>>           <ma...@upic.com.br>>>
>>>>>>>>                wrote:
>>>>>>>>
>>>>>>>>                    Hi Jean-Baptiste,
>>>>>>>>
>>>>>>>>                    I have the impression that you actually need to
>>>>>>>>           blacklist some
>>>>>>>>                    bundles as well, will re-do the installation and
>>>>>>>> come
>>>>>>>>           back with
>>>>>>>>                    more detailed information.
>>>>>>>>
>>>>>>>>                    Regards,
>>>>>>>>
>>>>>>>>
>>>>>>>>                    On Thu, Dec 19, 2013 at 2:50 PM, Jean-Baptiste
>>>>>>>> Onofré
>>>>>>>>                    <jb@nanthrax.net <ma...@nanthrax.net>
>>>>>>>>           <mailto:jb@nanthrax.net <ma...@nanthrax.net>>> wrote:
>>>>>>>>
>>>>>>>>                        Hi Fernando,
>>>>>>>>
>>>>>>>>                        you mean install the WebConsole only on one
>>>>>>>> node ?
>>>>>>>>
>>>>>>>>                        If so, you can blacklist webconsole feature
>>>>>>>> inbound and
>>>>>>>>                        outbound and install on the target node.
>>>>>>>>
>>>>>>>>                        Regards
>>>>>>>>                        JB
>>>>>>>>
>>>>>>>>
>>>>>>>>                        On 12/19/2013 05:24 PM, Fernando Ribeiro wrote:
>>>>>>>>
>>>>>>>>                            All,
>>>>>>>>
>>>>>>>>                            After some investigation, I've managed to
>>>>>>>>           install the
>>>>>>>>                            web console in a
>>>>>>>>                            Cellar installation using a dedicated
>>>>>>>> instance
>>>>>>>> in a
>>>>>>>>                            different cluster group.
>>>>>>>>
>>>>>>>>                            I understand that I could use a shared
>>>>>>>> instance
>>>>>>>>           in a
>>>>>>>>                            single cluster
>>>>>>>>                            group if I blacklisted some features and
>>>>>>>>           bundles, but
>>>>>>>>                            don't have that
>>>>>>>>                            list yet - do you?
>>>>>>>>
>>>>>>>>                            Regards,
>>>>>>>>
>>>>>>>>                            --
>>>>>>>>                            Fernando
>>>>>>>>
>>>>>>>>
>>>>>>>>                        --
>>>>>>>>                        Jean-Baptiste Onofré
>>>>>>>>           jbonofre@apache.org <ma...@apache.org>
>>>>>>>>           <mailto:jbonofre@apache.org <ma...@apache.org>>
>>>>>>>>           http://blog.nanthrax.net
>>>>>>>>                        Talend - http://www.talend.com
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>                    --
>>>>>>>>                    Fernando Ribeiro
>>>>>>>>                    Upic
>>>>>>>>           +55 11 9 8111 4078 <tel:%2B55%2011%209%208111%204078>
>>>>>>>>           <tel:%2B55%2011%209%208111%__204078>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>                --
>>>>>>>>                Fernando Ribeiro
>>>>>>>>                Upic
>>>>>>>>           +55 11 9 8111 4078 <tel:%2B55%2011%209%208111%204078>
>>>>>>>>           <tel:%2B55%2011%209%208111%__204078>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>           --
>>>>>>>>           Fernando Ribeiro
>>>>>>>>
>>>>>>>>
>>>>>>>>       --
>>>>>>>>       Jean-Baptiste Onofré
>>>>>>>>       jbonofre@apache.org <ma...@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
>>>>>>>
>>>>>>>
>>>>>>
>>>>>
>>>>> --
>>>>> Fernando Ribeiro
>>>>>
>>>>>
>>>>
>>>>
>>>>
>>> --
>>> Jean-Baptiste Onofré
>>> jbonofre@apache.org
>>> http://blog.nanthrax.net
>>> Talend - http://www.talend.com
>>>
>>
>>
>>
>> --
>> Fernando Ribeiro
>>
>
>
>

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

Re: Fwd: Clustered Web Console Installation

Posted by Fernando Ribeiro <fe...@upic.com.br>.
As discussed in private, the issue is reported at
https://issues.apache.org/jira/browse/KARAF-2653. Regards.


On Mon, Dec 23, 2013 at 10:49 AM, Fernando Ribeiro <
fernando.ribeiro@upic.com.br> wrote:

> Of course, sending you an email right now. Thanks.
>
>
> On Mon, Dec 23, 2013 at 4:26 AM, Jean-Baptiste Onofré <jb...@nanthrax.net>wrote:
>
>> Hi Fernando,
>>
>> I'm not sure I follow you.
>>
>> In Cellar, if sync is enabled, at startup, a Synchronizer is called.
>> The synchronizer:
>> 1/ gets the resources (bundles for instance) from the cluster, compare
>> the state on the cluster with the state on the node, and update the state
>> on the node.
>> 2/ push the local resources states to the bundles.
>>
>> You have a synchronizer for bundle, one for features, one for config, etc.
>>
>> After that that, Cellar have a set of listener that listen for local
>> events (bundle install, features install, etc) and broadcast this local
>> event as cluster event.
>>
>> You have a listener for bundle, one for features, one for config, etc.
>>
>> Bundles and features are completely isolated: if you blacklist all
>> bundles, you can still install features on the cluster, the bundles list
>> will remain empty.
>>
>> Could you share (directly with me in private e-mail) your scenario ?
>>
>> Regards
>> JB
>>
>>
>> On 12/23/2013 02:34 AM, Fernando Ribeiro wrote:
>>
>>> Any thoughts? Regards.
>>>
>>> ---------- Forwarded message ----------
>>> From: Fernando Ribeiro <fe...@upic.com.br>
>>> Date: Sun, Dec 22, 2013 at 10:18 AM
>>> Subject: Re: Clustered Web Console Installation
>>> To: user@karaf.apache.org
>>>
>>>
>>> I'd think that the list to change is that of the first node, which
>>> shouldn't be unexpectedly empty after the feature is installed. Regards.
>>> On Dec 22, 2013 1:54 AM, "Fernando Ribeiro" <
>>> fernando.ribeiro@upic.com.br>
>>> wrote:
>>>
>>>  Hi Jean-Baptiste,
>>>>
>>>> I have successfully completed an installation of the web console in a
>>>> shared instance and cluster group blacklisting the webconsole feature
>>>> and
>>>> disabling bundle sync (as advised) in both nodes.
>>>>
>>>> Regarding the bundle lists, I have verified that the list in the other
>>>> nodes is different than the empty list in the node where the feature is
>>>> installed (when bundle sync is enabled, of course), can you double
>>>> check if
>>>> that is the expected behavior?
>>>>
>>>> Regards,
>>>>
>>>>
>>>> On Sat, Dec 21, 2013 at 10:56 AM, Fernando Ribeiro <
>>>> fernando.ribeiro@upic.com.br> wrote:
>>>>
>>>>  Humm, I guess the blacklists/whitelists are the same, but I will check
>>>>> again and get back to you. Regards.
>>>>>   On Dec 21, 2013 9:59 AM, "Jean-Baptiste Onofré" <jb...@nanthrax.net>
>>>>> wrote:
>>>>>
>>>>>  Not necessary: cluster:bundle-list should be the same, bundle:list
>>>>>> depends of the blacklist/whitelist.
>>>>>>
>>>>>> Regards
>>>>>> JB
>>>>>>
>>>>>> On 12/21/2013 12:11 PM, Fernando Ribeiro wrote:
>>>>>>
>>>>>>  Allright, but the list should be the same in the two nodes, right?
>>>>>>>
>>>>>>> On Dec 21, 2013 3:22 AM, "Jean-Baptiste Onofré" <jb@nanthrax.net
>>>>>>> <ma...@nanthrax.net>> wrote:
>>>>>>>
>>>>>>>      Hi Fernando,
>>>>>>>
>>>>>>>      If you blacklist the webconsole feature, Cellar will block the
>>>>>>>      feature:install and cluster:feature-install webconsole events.
>>>>>>>      If you install locally feature:install and use bundle sync, the
>>>>>>>      bundles will be sync. It's normal.
>>>>>>>      By default, I disable the bundle sync (blacklist=*
>>>>>>> whitelist=none
>>>>>>>      for the bundles).
>>>>>>>
>>>>>>>      Regards
>>>>>>>      JB
>>>>>>>
>>>>>>>      On 12/21/2013 03:54 AM, Fernando Ribeiro wrote:
>>>>>>>
>>>>>>>          Hi Jean-Baptiste,
>>>>>>>
>>>>>>>          I am still thinking if the replication of the bundles to the
>>>>>>>          second node
>>>>>>>          is really an issue, and also that the fact that the bundle
>>>>>>> list
>>>>>>>          in the
>>>>>>>          two nodes isn't the same should be reported separately.
>>>>>>>
>>>>>>>          Let me know when you find the time to look into this with
>>>>>>> me.
>>>>>>>
>>>>>>>          Regards,
>>>>>>>
>>>>>>>
>>>>>>>          On Thu, Dec 19, 2013 at 11:54 PM, Fernando Ribeiro
>>>>>>>          <fernando.ribeiro@upic.com.br
>>>>>>>          <ma...@upic.com.br>
>>>>>>>          <mailto:fernando.ribeiro@upic.__com.br
>>>>>>>          <ma...@upic.com.br>>> wrote:
>>>>>>>
>>>>>>>               Hi Jean-Baptiste,
>>>>>>>
>>>>>>>               I am getting an exception from Jetty when following
>>>>>>> these
>>>>>>>          steps:
>>>>>>>
>>>>>>>               1- Create node1
>>>>>>>               2- Install Cellar on node1
>>>>>>>               3- Edit org.apache.karaf.cellar.__groups.cfg to
>>>>>>> blacklist
>>>>>>> the
>>>>>>>               webconsole feature
>>>>>>>               4- Create node2
>>>>>>>               5- Install Cellar on node2
>>>>>>>
>>>>>>>               The reason why I did mentioned "a list" in my previous
>>>>>>>          e-mail is
>>>>>>>               because I understand the issue could be worked around
>>>>>>>          blacklisting
>>>>>>>               the Jetty bundles, for example.
>>>>>>>
>>>>>>>               The log files are attached for your review, as well as
>>>>>>> the
>>>>>>>          list of
>>>>>>>               bundles in node2, which is very different than the
>>>>>>> empty
>>>>>>>          list in node1.
>>>>>>>
>>>>>>>               Please advise me whether I should open a ticket.
>>>>>>>
>>>>>>>               Regards,
>>>>>>>
>>>>>>>
>>>>>>>               On Thu, Dec 19, 2013 at 3:16 PM, Fernando Ribeiro
>>>>>>>               <fernando.ribeiro@upic.com.br
>>>>>>>          <ma...@upic.com.br>
>>>>>>>          <mailto:fernando.ribeiro@upic.__com.br
>>>>>>>          <ma...@upic.com.br>>>
>>>>>>>               wrote:
>>>>>>>
>>>>>>>                   Hi Jean-Baptiste,
>>>>>>>
>>>>>>>                   I have the impression that you actually need to
>>>>>>>          blacklist some
>>>>>>>                   bundles as well, will re-do the installation and
>>>>>>> come
>>>>>>>          back with
>>>>>>>                   more detailed information.
>>>>>>>
>>>>>>>                   Regards,
>>>>>>>
>>>>>>>
>>>>>>>                   On Thu, Dec 19, 2013 at 2:50 PM, Jean-Baptiste
>>>>>>> Onofré
>>>>>>>                   <jb@nanthrax.net <ma...@nanthrax.net>
>>>>>>>          <mailto:jb@nanthrax.net <ma...@nanthrax.net>>> wrote:
>>>>>>>
>>>>>>>                       Hi Fernando,
>>>>>>>
>>>>>>>                       you mean install the WebConsole only on one
>>>>>>> node ?
>>>>>>>
>>>>>>>                       If so, you can blacklist webconsole feature
>>>>>>> inbound and
>>>>>>>                       outbound and install on the target node.
>>>>>>>
>>>>>>>                       Regards
>>>>>>>                       JB
>>>>>>>
>>>>>>>
>>>>>>>                       On 12/19/2013 05:24 PM, Fernando Ribeiro wrote:
>>>>>>>
>>>>>>>                           All,
>>>>>>>
>>>>>>>                           After some investigation, I've managed to
>>>>>>>          install the
>>>>>>>                           web console in a
>>>>>>>                           Cellar installation using a dedicated
>>>>>>> instance
>>>>>>> in a
>>>>>>>                           different cluster group.
>>>>>>>
>>>>>>>                           I understand that I could use a shared
>>>>>>> instance
>>>>>>>          in a
>>>>>>>                           single cluster
>>>>>>>                           group if I blacklisted some features and
>>>>>>>          bundles, but
>>>>>>>                           don't have that
>>>>>>>                           list yet - do you?
>>>>>>>
>>>>>>>                           Regards,
>>>>>>>
>>>>>>>                           --
>>>>>>>                           Fernando
>>>>>>>
>>>>>>>
>>>>>>>                       --
>>>>>>>                       Jean-Baptiste Onofré
>>>>>>>          jbonofre@apache.org <ma...@apache.org>
>>>>>>>          <mailto:jbonofre@apache.org <ma...@apache.org>>
>>>>>>>          http://blog.nanthrax.net
>>>>>>>                       Talend - http://www.talend.com
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>                   --
>>>>>>>                   Fernando Ribeiro
>>>>>>>                   Upic
>>>>>>>          +55 11 9 8111 4078 <tel:%2B55%2011%209%208111%204078>
>>>>>>>          <tel:%2B55%2011%209%208111%__204078>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>               --
>>>>>>>               Fernando Ribeiro
>>>>>>>               Upic
>>>>>>>          +55 11 9 8111 4078 <tel:%2B55%2011%209%208111%204078>
>>>>>>>          <tel:%2B55%2011%209%208111%__204078>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>          --
>>>>>>>          Fernando Ribeiro
>>>>>>>
>>>>>>>
>>>>>>>      --
>>>>>>>      Jean-Baptiste Onofré
>>>>>>>      jbonofre@apache.org <ma...@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
>>>>>>
>>>>>>
>>>>>
>>>>
>>>> --
>>>> Fernando Ribeiro
>>>>
>>>>
>>>
>>>
>>>
>> --
>> Jean-Baptiste Onofré
>> jbonofre@apache.org
>> http://blog.nanthrax.net
>> Talend - http://www.talend.com
>>
>
>
>
> --
> Fernando Ribeiro
>



-- 
Fernando Ribeiro

Re: Fwd: Clustered Web Console Installation

Posted by Fernando Ribeiro <fe...@upic.com.br>.
Of course, sending you an email right now. Thanks.


On Mon, Dec 23, 2013 at 4:26 AM, Jean-Baptiste Onofré <jb...@nanthrax.net>wrote:

> Hi Fernando,
>
> I'm not sure I follow you.
>
> In Cellar, if sync is enabled, at startup, a Synchronizer is called.
> The synchronizer:
> 1/ gets the resources (bundles for instance) from the cluster, compare the
> state on the cluster with the state on the node, and update the state on
> the node.
> 2/ push the local resources states to the bundles.
>
> You have a synchronizer for bundle, one for features, one for config, etc.
>
> After that that, Cellar have a set of listener that listen for local
> events (bundle install, features install, etc) and broadcast this local
> event as cluster event.
>
> You have a listener for bundle, one for features, one for config, etc.
>
> Bundles and features are completely isolated: if you blacklist all
> bundles, you can still install features on the cluster, the bundles list
> will remain empty.
>
> Could you share (directly with me in private e-mail) your scenario ?
>
> Regards
> JB
>
>
> On 12/23/2013 02:34 AM, Fernando Ribeiro wrote:
>
>> Any thoughts? Regards.
>>
>> ---------- Forwarded message ----------
>> From: Fernando Ribeiro <fe...@upic.com.br>
>> Date: Sun, Dec 22, 2013 at 10:18 AM
>> Subject: Re: Clustered Web Console Installation
>> To: user@karaf.apache.org
>>
>>
>> I'd think that the list to change is that of the first node, which
>> shouldn't be unexpectedly empty after the feature is installed. Regards.
>> On Dec 22, 2013 1:54 AM, "Fernando Ribeiro" <fernando.ribeiro@upic.com.br
>> >
>> wrote:
>>
>>  Hi Jean-Baptiste,
>>>
>>> I have successfully completed an installation of the web console in a
>>> shared instance and cluster group blacklisting the webconsole feature and
>>> disabling bundle sync (as advised) in both nodes.
>>>
>>> Regarding the bundle lists, I have verified that the list in the other
>>> nodes is different than the empty list in the node where the feature is
>>> installed (when bundle sync is enabled, of course), can you double check
>>> if
>>> that is the expected behavior?
>>>
>>> Regards,
>>>
>>>
>>> On Sat, Dec 21, 2013 at 10:56 AM, Fernando Ribeiro <
>>> fernando.ribeiro@upic.com.br> wrote:
>>>
>>>  Humm, I guess the blacklists/whitelists are the same, but I will check
>>>> again and get back to you. Regards.
>>>>   On Dec 21, 2013 9:59 AM, "Jean-Baptiste Onofré" <jb...@nanthrax.net>
>>>> wrote:
>>>>
>>>>  Not necessary: cluster:bundle-list should be the same, bundle:list
>>>>> depends of the blacklist/whitelist.
>>>>>
>>>>> Regards
>>>>> JB
>>>>>
>>>>> On 12/21/2013 12:11 PM, Fernando Ribeiro wrote:
>>>>>
>>>>>  Allright, but the list should be the same in the two nodes, right?
>>>>>>
>>>>>> On Dec 21, 2013 3:22 AM, "Jean-Baptiste Onofré" <jb@nanthrax.net
>>>>>> <ma...@nanthrax.net>> wrote:
>>>>>>
>>>>>>      Hi Fernando,
>>>>>>
>>>>>>      If you blacklist the webconsole feature, Cellar will block the
>>>>>>      feature:install and cluster:feature-install webconsole events.
>>>>>>      If you install locally feature:install and use bundle sync, the
>>>>>>      bundles will be sync. It's normal.
>>>>>>      By default, I disable the bundle sync (blacklist=* whitelist=none
>>>>>>      for the bundles).
>>>>>>
>>>>>>      Regards
>>>>>>      JB
>>>>>>
>>>>>>      On 12/21/2013 03:54 AM, Fernando Ribeiro wrote:
>>>>>>
>>>>>>          Hi Jean-Baptiste,
>>>>>>
>>>>>>          I am still thinking if the replication of the bundles to the
>>>>>>          second node
>>>>>>          is really an issue, and also that the fact that the bundle
>>>>>> list
>>>>>>          in the
>>>>>>          two nodes isn't the same should be reported separately.
>>>>>>
>>>>>>          Let me know when you find the time to look into this with me.
>>>>>>
>>>>>>          Regards,
>>>>>>
>>>>>>
>>>>>>          On Thu, Dec 19, 2013 at 11:54 PM, Fernando Ribeiro
>>>>>>          <fernando.ribeiro@upic.com.br
>>>>>>          <ma...@upic.com.br>
>>>>>>          <mailto:fernando.ribeiro@upic.__com.br
>>>>>>          <ma...@upic.com.br>>> wrote:
>>>>>>
>>>>>>               Hi Jean-Baptiste,
>>>>>>
>>>>>>               I am getting an exception from Jetty when following
>>>>>> these
>>>>>>          steps:
>>>>>>
>>>>>>               1- Create node1
>>>>>>               2- Install Cellar on node1
>>>>>>               3- Edit org.apache.karaf.cellar.__groups.cfg to
>>>>>> blacklist
>>>>>> the
>>>>>>               webconsole feature
>>>>>>               4- Create node2
>>>>>>               5- Install Cellar on node2
>>>>>>
>>>>>>               The reason why I did mentioned "a list" in my previous
>>>>>>          e-mail is
>>>>>>               because I understand the issue could be worked around
>>>>>>          blacklisting
>>>>>>               the Jetty bundles, for example.
>>>>>>
>>>>>>               The log files are attached for your review, as well as
>>>>>> the
>>>>>>          list of
>>>>>>               bundles in node2, which is very different than the empty
>>>>>>          list in node1.
>>>>>>
>>>>>>               Please advise me whether I should open a ticket.
>>>>>>
>>>>>>               Regards,
>>>>>>
>>>>>>
>>>>>>               On Thu, Dec 19, 2013 at 3:16 PM, Fernando Ribeiro
>>>>>>               <fernando.ribeiro@upic.com.br
>>>>>>          <ma...@upic.com.br>
>>>>>>          <mailto:fernando.ribeiro@upic.__com.br
>>>>>>          <ma...@upic.com.br>>>
>>>>>>               wrote:
>>>>>>
>>>>>>                   Hi Jean-Baptiste,
>>>>>>
>>>>>>                   I have the impression that you actually need to
>>>>>>          blacklist some
>>>>>>                   bundles as well, will re-do the installation and
>>>>>> come
>>>>>>          back with
>>>>>>                   more detailed information.
>>>>>>
>>>>>>                   Regards,
>>>>>>
>>>>>>
>>>>>>                   On Thu, Dec 19, 2013 at 2:50 PM, Jean-Baptiste
>>>>>> Onofré
>>>>>>                   <jb@nanthrax.net <ma...@nanthrax.net>
>>>>>>          <mailto:jb@nanthrax.net <ma...@nanthrax.net>>> wrote:
>>>>>>
>>>>>>                       Hi Fernando,
>>>>>>
>>>>>>                       you mean install the WebConsole only on one
>>>>>> node ?
>>>>>>
>>>>>>                       If so, you can blacklist webconsole feature
>>>>>> inbound and
>>>>>>                       outbound and install on the target node.
>>>>>>
>>>>>>                       Regards
>>>>>>                       JB
>>>>>>
>>>>>>
>>>>>>                       On 12/19/2013 05:24 PM, Fernando Ribeiro wrote:
>>>>>>
>>>>>>                           All,
>>>>>>
>>>>>>                           After some investigation, I've managed to
>>>>>>          install the
>>>>>>                           web console in a
>>>>>>                           Cellar installation using a dedicated
>>>>>> instance
>>>>>> in a
>>>>>>                           different cluster group.
>>>>>>
>>>>>>                           I understand that I could use a shared
>>>>>> instance
>>>>>>          in a
>>>>>>                           single cluster
>>>>>>                           group if I blacklisted some features and
>>>>>>          bundles, but
>>>>>>                           don't have that
>>>>>>                           list yet - do you?
>>>>>>
>>>>>>                           Regards,
>>>>>>
>>>>>>                           --
>>>>>>                           Fernando
>>>>>>
>>>>>>
>>>>>>                       --
>>>>>>                       Jean-Baptiste Onofré
>>>>>>          jbonofre@apache.org <ma...@apache.org>
>>>>>>          <mailto:jbonofre@apache.org <ma...@apache.org>>
>>>>>>          http://blog.nanthrax.net
>>>>>>                       Talend - http://www.talend.com
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>                   --
>>>>>>                   Fernando Ribeiro
>>>>>>                   Upic
>>>>>>          +55 11 9 8111 4078 <tel:%2B55%2011%209%208111%204078>
>>>>>>          <tel:%2B55%2011%209%208111%__204078>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>               --
>>>>>>               Fernando Ribeiro
>>>>>>               Upic
>>>>>>          +55 11 9 8111 4078 <tel:%2B55%2011%209%208111%204078>
>>>>>>          <tel:%2B55%2011%209%208111%__204078>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>          --
>>>>>>          Fernando Ribeiro
>>>>>>
>>>>>>
>>>>>>      --
>>>>>>      Jean-Baptiste Onofré
>>>>>>      jbonofre@apache.org <ma...@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
>>>>>
>>>>>
>>>>
>>>
>>> --
>>> Fernando Ribeiro
>>>
>>>
>>
>>
>>
> --
> Jean-Baptiste Onofré
> jbonofre@apache.org
> http://blog.nanthrax.net
> Talend - http://www.talend.com
>



-- 
Fernando Ribeiro

Re: Fwd: Clustered Web Console Installation

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

I'm not sure I follow you.

In Cellar, if sync is enabled, at startup, a Synchronizer is called.
The synchronizer:
1/ gets the resources (bundles for instance) from the cluster, compare 
the state on the cluster with the state on the node, and update the 
state on the node.
2/ push the local resources states to the bundles.

You have a synchronizer for bundle, one for features, one for config, etc.

After that that, Cellar have a set of listener that listen for local 
events (bundle install, features install, etc) and broadcast this local 
event as cluster event.

You have a listener for bundle, one for features, one for config, etc.

Bundles and features are completely isolated: if you blacklist all 
bundles, you can still install features on the cluster, the bundles list 
will remain empty.

Could you share (directly with me in private e-mail) your scenario ?

Regards
JB

On 12/23/2013 02:34 AM, Fernando Ribeiro wrote:
> Any thoughts? Regards.
>
> ---------- Forwarded message ----------
> From: Fernando Ribeiro <fe...@upic.com.br>
> Date: Sun, Dec 22, 2013 at 10:18 AM
> Subject: Re: Clustered Web Console Installation
> To: user@karaf.apache.org
>
>
> I'd think that the list to change is that of the first node, which
> shouldn't be unexpectedly empty after the feature is installed. Regards.
> On Dec 22, 2013 1:54 AM, "Fernando Ribeiro" <fe...@upic.com.br>
> wrote:
>
>> Hi Jean-Baptiste,
>>
>> I have successfully completed an installation of the web console in a
>> shared instance and cluster group blacklisting the webconsole feature and
>> disabling bundle sync (as advised) in both nodes.
>>
>> Regarding the bundle lists, I have verified that the list in the other
>> nodes is different than the empty list in the node where the feature is
>> installed (when bundle sync is enabled, of course), can you double check if
>> that is the expected behavior?
>>
>> Regards,
>>
>>
>> On Sat, Dec 21, 2013 at 10:56 AM, Fernando Ribeiro <
>> fernando.ribeiro@upic.com.br> wrote:
>>
>>> Humm, I guess the blacklists/whitelists are the same, but I will check
>>> again and get back to you. Regards.
>>>   On Dec 21, 2013 9:59 AM, "Jean-Baptiste Onofré" <jb...@nanthrax.net> wrote:
>>>
>>>> Not necessary: cluster:bundle-list should be the same, bundle:list
>>>> depends of the blacklist/whitelist.
>>>>
>>>> Regards
>>>> JB
>>>>
>>>> On 12/21/2013 12:11 PM, Fernando Ribeiro wrote:
>>>>
>>>>> Allright, but the list should be the same in the two nodes, right?
>>>>>
>>>>> On Dec 21, 2013 3:22 AM, "Jean-Baptiste Onofré" <jb@nanthrax.net
>>>>> <ma...@nanthrax.net>> wrote:
>>>>>
>>>>>      Hi Fernando,
>>>>>
>>>>>      If you blacklist the webconsole feature, Cellar will block the
>>>>>      feature:install and cluster:feature-install webconsole events.
>>>>>      If you install locally feature:install and use bundle sync, the
>>>>>      bundles will be sync. It's normal.
>>>>>      By default, I disable the bundle sync (blacklist=* whitelist=none
>>>>>      for the bundles).
>>>>>
>>>>>      Regards
>>>>>      JB
>>>>>
>>>>>      On 12/21/2013 03:54 AM, Fernando Ribeiro wrote:
>>>>>
>>>>>          Hi Jean-Baptiste,
>>>>>
>>>>>          I am still thinking if the replication of the bundles to the
>>>>>          second node
>>>>>          is really an issue, and also that the fact that the bundle list
>>>>>          in the
>>>>>          two nodes isn't the same should be reported separately.
>>>>>
>>>>>          Let me know when you find the time to look into this with me.
>>>>>
>>>>>          Regards,
>>>>>
>>>>>
>>>>>          On Thu, Dec 19, 2013 at 11:54 PM, Fernando Ribeiro
>>>>>          <fernando.ribeiro@upic.com.br
>>>>>          <ma...@upic.com.br>
>>>>>          <mailto:fernando.ribeiro@upic.__com.br
>>>>>          <ma...@upic.com.br>>> wrote:
>>>>>
>>>>>               Hi Jean-Baptiste,
>>>>>
>>>>>               I am getting an exception from Jetty when following these
>>>>>          steps:
>>>>>
>>>>>               1- Create node1
>>>>>               2- Install Cellar on node1
>>>>>               3- Edit org.apache.karaf.cellar.__groups.cfg to blacklist
>>>>> the
>>>>>               webconsole feature
>>>>>               4- Create node2
>>>>>               5- Install Cellar on node2
>>>>>
>>>>>               The reason why I did mentioned "a list" in my previous
>>>>>          e-mail is
>>>>>               because I understand the issue could be worked around
>>>>>          blacklisting
>>>>>               the Jetty bundles, for example.
>>>>>
>>>>>               The log files are attached for your review, as well as the
>>>>>          list of
>>>>>               bundles in node2, which is very different than the empty
>>>>>          list in node1.
>>>>>
>>>>>               Please advise me whether I should open a ticket.
>>>>>
>>>>>               Regards,
>>>>>
>>>>>
>>>>>               On Thu, Dec 19, 2013 at 3:16 PM, Fernando Ribeiro
>>>>>               <fernando.ribeiro@upic.com.br
>>>>>          <ma...@upic.com.br>
>>>>>          <mailto:fernando.ribeiro@upic.__com.br
>>>>>          <ma...@upic.com.br>>>
>>>>>               wrote:
>>>>>
>>>>>                   Hi Jean-Baptiste,
>>>>>
>>>>>                   I have the impression that you actually need to
>>>>>          blacklist some
>>>>>                   bundles as well, will re-do the installation and come
>>>>>          back with
>>>>>                   more detailed information.
>>>>>
>>>>>                   Regards,
>>>>>
>>>>>
>>>>>                   On Thu, Dec 19, 2013 at 2:50 PM, Jean-Baptiste Onofré
>>>>>                   <jb@nanthrax.net <ma...@nanthrax.net>
>>>>>          <mailto:jb@nanthrax.net <ma...@nanthrax.net>>> wrote:
>>>>>
>>>>>                       Hi Fernando,
>>>>>
>>>>>                       you mean install the WebConsole only on one node ?
>>>>>
>>>>>                       If so, you can blacklist webconsole feature
>>>>> inbound and
>>>>>                       outbound and install on the target node.
>>>>>
>>>>>                       Regards
>>>>>                       JB
>>>>>
>>>>>
>>>>>                       On 12/19/2013 05:24 PM, Fernando Ribeiro wrote:
>>>>>
>>>>>                           All,
>>>>>
>>>>>                           After some investigation, I've managed to
>>>>>          install the
>>>>>                           web console in a
>>>>>                           Cellar installation using a dedicated instance
>>>>> in a
>>>>>                           different cluster group.
>>>>>
>>>>>                           I understand that I could use a shared instance
>>>>>          in a
>>>>>                           single cluster
>>>>>                           group if I blacklisted some features and
>>>>>          bundles, but
>>>>>                           don't have that
>>>>>                           list yet - do you?
>>>>>
>>>>>                           Regards,
>>>>>
>>>>>                           --
>>>>>                           Fernando
>>>>>
>>>>>
>>>>>                       --
>>>>>                       Jean-Baptiste Onofré
>>>>>          jbonofre@apache.org <ma...@apache.org>
>>>>>          <mailto:jbonofre@apache.org <ma...@apache.org>>
>>>>>          http://blog.nanthrax.net
>>>>>                       Talend - http://www.talend.com
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>                   --
>>>>>                   Fernando Ribeiro
>>>>>                   Upic
>>>>>          +55 11 9 8111 4078 <tel:%2B55%2011%209%208111%204078>
>>>>>          <tel:%2B55%2011%209%208111%__204078>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>               --
>>>>>               Fernando Ribeiro
>>>>>               Upic
>>>>>          +55 11 9 8111 4078 <tel:%2B55%2011%209%208111%204078>
>>>>>          <tel:%2B55%2011%209%208111%__204078>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>          --
>>>>>          Fernando Ribeiro
>>>>>
>>>>>
>>>>>      --
>>>>>      Jean-Baptiste Onofré
>>>>>      jbonofre@apache.org <ma...@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
>>>>
>>>
>>
>>
>> --
>> Fernando Ribeiro
>>
>
>
>

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

Fwd: Clustered Web Console Installation

Posted by Fernando Ribeiro <fe...@upic.com.br>.
Any thoughts? Regards.

---------- Forwarded message ----------
From: Fernando Ribeiro <fe...@upic.com.br>
Date: Sun, Dec 22, 2013 at 10:18 AM
Subject: Re: Clustered Web Console Installation
To: user@karaf.apache.org


I'd think that the list to change is that of the first node, which
shouldn't be unexpectedly empty after the feature is installed. Regards.
On Dec 22, 2013 1:54 AM, "Fernando Ribeiro" <fe...@upic.com.br>
wrote:

> Hi Jean-Baptiste,
>
> I have successfully completed an installation of the web console in a
> shared instance and cluster group blacklisting the webconsole feature and
> disabling bundle sync (as advised) in both nodes.
>
> Regarding the bundle lists, I have verified that the list in the other
> nodes is different than the empty list in the node where the feature is
> installed (when bundle sync is enabled, of course), can you double check if
> that is the expected behavior?
>
> Regards,
>
>
> On Sat, Dec 21, 2013 at 10:56 AM, Fernando Ribeiro <
> fernando.ribeiro@upic.com.br> wrote:
>
>> Humm, I guess the blacklists/whitelists are the same, but I will check
>> again and get back to you. Regards.
>>  On Dec 21, 2013 9:59 AM, "Jean-Baptiste Onofré" <jb...@nanthrax.net> wrote:
>>
>>> Not necessary: cluster:bundle-list should be the same, bundle:list
>>> depends of the blacklist/whitelist.
>>>
>>> Regards
>>> JB
>>>
>>> On 12/21/2013 12:11 PM, Fernando Ribeiro wrote:
>>>
>>>> Allright, but the list should be the same in the two nodes, right?
>>>>
>>>> On Dec 21, 2013 3:22 AM, "Jean-Baptiste Onofré" <jb@nanthrax.net
>>>> <ma...@nanthrax.net>> wrote:
>>>>
>>>>     Hi Fernando,
>>>>
>>>>     If you blacklist the webconsole feature, Cellar will block the
>>>>     feature:install and cluster:feature-install webconsole events.
>>>>     If you install locally feature:install and use bundle sync, the
>>>>     bundles will be sync. It's normal.
>>>>     By default, I disable the bundle sync (blacklist=* whitelist=none
>>>>     for the bundles).
>>>>
>>>>     Regards
>>>>     JB
>>>>
>>>>     On 12/21/2013 03:54 AM, Fernando Ribeiro wrote:
>>>>
>>>>         Hi Jean-Baptiste,
>>>>
>>>>         I am still thinking if the replication of the bundles to the
>>>>         second node
>>>>         is really an issue, and also that the fact that the bundle list
>>>>         in the
>>>>         two nodes isn't the same should be reported separately.
>>>>
>>>>         Let me know when you find the time to look into this with me.
>>>>
>>>>         Regards,
>>>>
>>>>
>>>>         On Thu, Dec 19, 2013 at 11:54 PM, Fernando Ribeiro
>>>>         <fernando.ribeiro@upic.com.br
>>>>         <ma...@upic.com.br>
>>>>         <mailto:fernando.ribeiro@upic.__com.br
>>>>         <ma...@upic.com.br>>> wrote:
>>>>
>>>>              Hi Jean-Baptiste,
>>>>
>>>>              I am getting an exception from Jetty when following these
>>>>         steps:
>>>>
>>>>              1- Create node1
>>>>              2- Install Cellar on node1
>>>>              3- Edit org.apache.karaf.cellar.__groups.cfg to blacklist
>>>> the
>>>>              webconsole feature
>>>>              4- Create node2
>>>>              5- Install Cellar on node2
>>>>
>>>>              The reason why I did mentioned "a list" in my previous
>>>>         e-mail is
>>>>              because I understand the issue could be worked around
>>>>         blacklisting
>>>>              the Jetty bundles, for example.
>>>>
>>>>              The log files are attached for your review, as well as the
>>>>         list of
>>>>              bundles in node2, which is very different than the empty
>>>>         list in node1.
>>>>
>>>>              Please advise me whether I should open a ticket.
>>>>
>>>>              Regards,
>>>>
>>>>
>>>>              On Thu, Dec 19, 2013 at 3:16 PM, Fernando Ribeiro
>>>>              <fernando.ribeiro@upic.com.br
>>>>         <ma...@upic.com.br>
>>>>         <mailto:fernando.ribeiro@upic.__com.br
>>>>         <ma...@upic.com.br>>>
>>>>              wrote:
>>>>
>>>>                  Hi Jean-Baptiste,
>>>>
>>>>                  I have the impression that you actually need to
>>>>         blacklist some
>>>>                  bundles as well, will re-do the installation and come
>>>>         back with
>>>>                  more detailed information.
>>>>
>>>>                  Regards,
>>>>
>>>>
>>>>                  On Thu, Dec 19, 2013 at 2:50 PM, Jean-Baptiste Onofré
>>>>                  <jb@nanthrax.net <ma...@nanthrax.net>
>>>>         <mailto:jb@nanthrax.net <ma...@nanthrax.net>>> wrote:
>>>>
>>>>                      Hi Fernando,
>>>>
>>>>                      you mean install the WebConsole only on one node ?
>>>>
>>>>                      If so, you can blacklist webconsole feature
>>>> inbound and
>>>>                      outbound and install on the target node.
>>>>
>>>>                      Regards
>>>>                      JB
>>>>
>>>>
>>>>                      On 12/19/2013 05:24 PM, Fernando Ribeiro wrote:
>>>>
>>>>                          All,
>>>>
>>>>                          After some investigation, I've managed to
>>>>         install the
>>>>                          web console in a
>>>>                          Cellar installation using a dedicated instance
>>>> in a
>>>>                          different cluster group.
>>>>
>>>>                          I understand that I could use a shared instance
>>>>         in a
>>>>                          single cluster
>>>>                          group if I blacklisted some features and
>>>>         bundles, but
>>>>                          don't have that
>>>>                          list yet - do you?
>>>>
>>>>                          Regards,
>>>>
>>>>                          --
>>>>                          Fernando
>>>>
>>>>
>>>>                      --
>>>>                      Jean-Baptiste Onofré
>>>>         jbonofre@apache.org <ma...@apache.org>
>>>>         <mailto:jbonofre@apache.org <ma...@apache.org>>
>>>>         http://blog.nanthrax.net
>>>>                      Talend - http://www.talend.com
>>>>
>>>>
>>>>
>>>>
>>>>                  --
>>>>                  Fernando Ribeiro
>>>>                  Upic
>>>>         +55 11 9 8111 4078 <tel:%2B55%2011%209%208111%204078>
>>>>         <tel:%2B55%2011%209%208111%__204078>
>>>>
>>>>
>>>>
>>>>
>>>>              --
>>>>              Fernando Ribeiro
>>>>              Upic
>>>>         +55 11 9 8111 4078 <tel:%2B55%2011%209%208111%204078>
>>>>         <tel:%2B55%2011%209%208111%__204078>
>>>>
>>>>
>>>>
>>>>
>>>>         --
>>>>         Fernando Ribeiro
>>>>
>>>>
>>>>     --
>>>>     Jean-Baptiste Onofré
>>>>     jbonofre@apache.org <ma...@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
>>>
>>
>
>
> --
> Fernando Ribeiro
>



-- 
Fernando Ribeiro

Re: Clustered Web Console Installation

Posted by Fernando Ribeiro <fe...@upic.com.br>.
I'd think that the list to change is that of the first node, which
shouldn't be unexpectedly empty after the feature is installed. Regards.
On Dec 22, 2013 1:54 AM, "Fernando Ribeiro" <fe...@upic.com.br>
wrote:

> Hi Jean-Baptiste,
>
> I have successfully completed an installation of the web console in a
> shared instance and cluster group blacklisting the webconsole feature and
> disabling bundle sync (as advised) in both nodes.
>
> Regarding the bundle lists, I have verified that the list in the other
> nodes is different than the empty list in the node where the feature is
> installed (when bundle sync is enabled, of course), can you double check if
> that is the expected behavior?
>
> Regards,
>
>
> On Sat, Dec 21, 2013 at 10:56 AM, Fernando Ribeiro <
> fernando.ribeiro@upic.com.br> wrote:
>
>> Humm, I guess the blacklists/whitelists are the same, but I will check
>> again and get back to you. Regards.
>>  On Dec 21, 2013 9:59 AM, "Jean-Baptiste Onofré" <jb...@nanthrax.net> wrote:
>>
>>> Not necessary: cluster:bundle-list should be the same, bundle:list
>>> depends of the blacklist/whitelist.
>>>
>>> Regards
>>> JB
>>>
>>> On 12/21/2013 12:11 PM, Fernando Ribeiro wrote:
>>>
>>>> Allright, but the list should be the same in the two nodes, right?
>>>>
>>>> On Dec 21, 2013 3:22 AM, "Jean-Baptiste Onofré" <jb@nanthrax.net
>>>> <ma...@nanthrax.net>> wrote:
>>>>
>>>>     Hi Fernando,
>>>>
>>>>     If you blacklist the webconsole feature, Cellar will block the
>>>>     feature:install and cluster:feature-install webconsole events.
>>>>     If you install locally feature:install and use bundle sync, the
>>>>     bundles will be sync. It's normal.
>>>>     By default, I disable the bundle sync (blacklist=* whitelist=none
>>>>     for the bundles).
>>>>
>>>>     Regards
>>>>     JB
>>>>
>>>>     On 12/21/2013 03:54 AM, Fernando Ribeiro wrote:
>>>>
>>>>         Hi Jean-Baptiste,
>>>>
>>>>         I am still thinking if the replication of the bundles to the
>>>>         second node
>>>>         is really an issue, and also that the fact that the bundle list
>>>>         in the
>>>>         two nodes isn't the same should be reported separately.
>>>>
>>>>         Let me know when you find the time to look into this with me.
>>>>
>>>>         Regards,
>>>>
>>>>
>>>>         On Thu, Dec 19, 2013 at 11:54 PM, Fernando Ribeiro
>>>>         <fernando.ribeiro@upic.com.br
>>>>         <ma...@upic.com.br>
>>>>         <mailto:fernando.ribeiro@upic.__com.br
>>>>         <ma...@upic.com.br>>> wrote:
>>>>
>>>>              Hi Jean-Baptiste,
>>>>
>>>>              I am getting an exception from Jetty when following these
>>>>         steps:
>>>>
>>>>              1- Create node1
>>>>              2- Install Cellar on node1
>>>>              3- Edit org.apache.karaf.cellar.__groups.cfg to blacklist
>>>> the
>>>>              webconsole feature
>>>>              4- Create node2
>>>>              5- Install Cellar on node2
>>>>
>>>>              The reason why I did mentioned "a list" in my previous
>>>>         e-mail is
>>>>              because I understand the issue could be worked around
>>>>         blacklisting
>>>>              the Jetty bundles, for example.
>>>>
>>>>              The log files are attached for your review, as well as the
>>>>         list of
>>>>              bundles in node2, which is very different than the empty
>>>>         list in node1.
>>>>
>>>>              Please advise me whether I should open a ticket.
>>>>
>>>>              Regards,
>>>>
>>>>
>>>>              On Thu, Dec 19, 2013 at 3:16 PM, Fernando Ribeiro
>>>>              <fernando.ribeiro@upic.com.br
>>>>         <ma...@upic.com.br>
>>>>         <mailto:fernando.ribeiro@upic.__com.br
>>>>         <ma...@upic.com.br>>>
>>>>              wrote:
>>>>
>>>>                  Hi Jean-Baptiste,
>>>>
>>>>                  I have the impression that you actually need to
>>>>         blacklist some
>>>>                  bundles as well, will re-do the installation and come
>>>>         back with
>>>>                  more detailed information.
>>>>
>>>>                  Regards,
>>>>
>>>>
>>>>                  On Thu, Dec 19, 2013 at 2:50 PM, Jean-Baptiste Onofré
>>>>                  <jb@nanthrax.net <ma...@nanthrax.net>
>>>>         <mailto:jb@nanthrax.net <ma...@nanthrax.net>>> wrote:
>>>>
>>>>                      Hi Fernando,
>>>>
>>>>                      you mean install the WebConsole only on one node ?
>>>>
>>>>                      If so, you can blacklist webconsole feature
>>>> inbound and
>>>>                      outbound and install on the target node.
>>>>
>>>>                      Regards
>>>>                      JB
>>>>
>>>>
>>>>                      On 12/19/2013 05:24 PM, Fernando Ribeiro wrote:
>>>>
>>>>                          All,
>>>>
>>>>                          After some investigation, I've managed to
>>>>         install the
>>>>                          web console in a
>>>>                          Cellar installation using a dedicated instance
>>>> in a
>>>>                          different cluster group.
>>>>
>>>>                          I understand that I could use a shared instance
>>>>         in a
>>>>                          single cluster
>>>>                          group if I blacklisted some features and
>>>>         bundles, but
>>>>                          don't have that
>>>>                          list yet - do you?
>>>>
>>>>                          Regards,
>>>>
>>>>                          --
>>>>                          Fernando
>>>>
>>>>
>>>>                      --
>>>>                      Jean-Baptiste Onofré
>>>>         jbonofre@apache.org <ma...@apache.org>
>>>>         <mailto:jbonofre@apache.org <ma...@apache.org>>
>>>>         http://blog.nanthrax.net
>>>>                      Talend - http://www.talend.com
>>>>
>>>>
>>>>
>>>>
>>>>                  --
>>>>                  Fernando Ribeiro
>>>>                  Upic
>>>>         +55 11 9 8111 4078 <tel:%2B55%2011%209%208111%204078>
>>>>         <tel:%2B55%2011%209%208111%__204078>
>>>>
>>>>
>>>>
>>>>
>>>>              --
>>>>              Fernando Ribeiro
>>>>              Upic
>>>>         +55 11 9 8111 4078 <tel:%2B55%2011%209%208111%204078>
>>>>         <tel:%2B55%2011%209%208111%__204078>
>>>>
>>>>
>>>>
>>>>
>>>>         --
>>>>         Fernando Ribeiro
>>>>
>>>>
>>>>     --
>>>>     Jean-Baptiste Onofré
>>>>     jbonofre@apache.org <ma...@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
>>>
>>
>
>
> --
> Fernando Ribeiro
>

Re: Clustered Web Console Installation

Posted by Fernando Ribeiro <fe...@upic.com.br>.
Hi Jean-Baptiste,

I have successfully completed an installation of the web console in a
shared instance and cluster group blacklisting the webconsole feature and
disabling bundle sync (as advised) in both nodes.

Regarding the bundle lists, I have verified that the list in the other
nodes is different than the empty list in the node where the feature is
installed (when bundle sync is enabled, of course), can you double check if
that is the expected behavior?

Regards,


On Sat, Dec 21, 2013 at 10:56 AM, Fernando Ribeiro <
fernando.ribeiro@upic.com.br> wrote:

> Humm, I guess the blacklists/whitelists are the same, but I will check
> again and get back to you. Regards.
> On Dec 21, 2013 9:59 AM, "Jean-Baptiste Onofré" <jb...@nanthrax.net> wrote:
>
>> Not necessary: cluster:bundle-list should be the same, bundle:list
>> depends of the blacklist/whitelist.
>>
>> Regards
>> JB
>>
>> On 12/21/2013 12:11 PM, Fernando Ribeiro wrote:
>>
>>> Allright, but the list should be the same in the two nodes, right?
>>>
>>> On Dec 21, 2013 3:22 AM, "Jean-Baptiste Onofré" <jb@nanthrax.net
>>> <ma...@nanthrax.net>> wrote:
>>>
>>>     Hi Fernando,
>>>
>>>     If you blacklist the webconsole feature, Cellar will block the
>>>     feature:install and cluster:feature-install webconsole events.
>>>     If you install locally feature:install and use bundle sync, the
>>>     bundles will be sync. It's normal.
>>>     By default, I disable the bundle sync (blacklist=* whitelist=none
>>>     for the bundles).
>>>
>>>     Regards
>>>     JB
>>>
>>>     On 12/21/2013 03:54 AM, Fernando Ribeiro wrote:
>>>
>>>         Hi Jean-Baptiste,
>>>
>>>         I am still thinking if the replication of the bundles to the
>>>         second node
>>>         is really an issue, and also that the fact that the bundle list
>>>         in the
>>>         two nodes isn't the same should be reported separately.
>>>
>>>         Let me know when you find the time to look into this with me.
>>>
>>>         Regards,
>>>
>>>
>>>         On Thu, Dec 19, 2013 at 11:54 PM, Fernando Ribeiro
>>>         <fernando.ribeiro@upic.com.br
>>>         <ma...@upic.com.br>
>>>         <mailto:fernando.ribeiro@upic.__com.br
>>>         <ma...@upic.com.br>>> wrote:
>>>
>>>              Hi Jean-Baptiste,
>>>
>>>              I am getting an exception from Jetty when following these
>>>         steps:
>>>
>>>              1- Create node1
>>>              2- Install Cellar on node1
>>>              3- Edit org.apache.karaf.cellar.__groups.cfg to blacklist
>>> the
>>>              webconsole feature
>>>              4- Create node2
>>>              5- Install Cellar on node2
>>>
>>>              The reason why I did mentioned "a list" in my previous
>>>         e-mail is
>>>              because I understand the issue could be worked around
>>>         blacklisting
>>>              the Jetty bundles, for example.
>>>
>>>              The log files are attached for your review, as well as the
>>>         list of
>>>              bundles in node2, which is very different than the empty
>>>         list in node1.
>>>
>>>              Please advise me whether I should open a ticket.
>>>
>>>              Regards,
>>>
>>>
>>>              On Thu, Dec 19, 2013 at 3:16 PM, Fernando Ribeiro
>>>              <fernando.ribeiro@upic.com.br
>>>         <ma...@upic.com.br>
>>>         <mailto:fernando.ribeiro@upic.__com.br
>>>         <ma...@upic.com.br>>>
>>>              wrote:
>>>
>>>                  Hi Jean-Baptiste,
>>>
>>>                  I have the impression that you actually need to
>>>         blacklist some
>>>                  bundles as well, will re-do the installation and come
>>>         back with
>>>                  more detailed information.
>>>
>>>                  Regards,
>>>
>>>
>>>                  On Thu, Dec 19, 2013 at 2:50 PM, Jean-Baptiste Onofré
>>>                  <jb@nanthrax.net <ma...@nanthrax.net>
>>>         <mailto:jb@nanthrax.net <ma...@nanthrax.net>>> wrote:
>>>
>>>                      Hi Fernando,
>>>
>>>                      you mean install the WebConsole only on one node ?
>>>
>>>                      If so, you can blacklist webconsole feature inbound
>>> and
>>>                      outbound and install on the target node.
>>>
>>>                      Regards
>>>                      JB
>>>
>>>
>>>                      On 12/19/2013 05:24 PM, Fernando Ribeiro wrote:
>>>
>>>                          All,
>>>
>>>                          After some investigation, I've managed to
>>>         install the
>>>                          web console in a
>>>                          Cellar installation using a dedicated instance
>>> in a
>>>                          different cluster group.
>>>
>>>                          I understand that I could use a shared instance
>>>         in a
>>>                          single cluster
>>>                          group if I blacklisted some features and
>>>         bundles, but
>>>                          don't have that
>>>                          list yet - do you?
>>>
>>>                          Regards,
>>>
>>>                          --
>>>                          Fernando
>>>
>>>
>>>                      --
>>>                      Jean-Baptiste Onofré
>>>         jbonofre@apache.org <ma...@apache.org>
>>>         <mailto:jbonofre@apache.org <ma...@apache.org>>
>>>         http://blog.nanthrax.net
>>>                      Talend - http://www.talend.com
>>>
>>>
>>>
>>>
>>>                  --
>>>                  Fernando Ribeiro
>>>                  Upic
>>>         +55 11 9 8111 4078 <tel:%2B55%2011%209%208111%204078>
>>>         <tel:%2B55%2011%209%208111%__204078>
>>>
>>>
>>>
>>>
>>>              --
>>>              Fernando Ribeiro
>>>              Upic
>>>         +55 11 9 8111 4078 <tel:%2B55%2011%209%208111%204078>
>>>         <tel:%2B55%2011%209%208111%__204078>
>>>
>>>
>>>
>>>
>>>         --
>>>         Fernando Ribeiro
>>>
>>>
>>>     --
>>>     Jean-Baptiste Onofré
>>>     jbonofre@apache.org <ma...@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
>>
>


-- 
Fernando Ribeiro

Re: Clustered Web Console Installation

Posted by Fernando Ribeiro <fe...@upic.com.br>.
Humm, I guess the blacklists/whitelists are the same, but I will check
again and get back to you. Regards.
On Dec 21, 2013 9:59 AM, "Jean-Baptiste Onofré" <jb...@nanthrax.net> wrote:

> Not necessary: cluster:bundle-list should be the same, bundle:list depends
> of the blacklist/whitelist.
>
> Regards
> JB
>
> On 12/21/2013 12:11 PM, Fernando Ribeiro wrote:
>
>> Allright, but the list should be the same in the two nodes, right?
>>
>> On Dec 21, 2013 3:22 AM, "Jean-Baptiste Onofré" <jb@nanthrax.net
>> <ma...@nanthrax.net>> wrote:
>>
>>     Hi Fernando,
>>
>>     If you blacklist the webconsole feature, Cellar will block the
>>     feature:install and cluster:feature-install webconsole events.
>>     If you install locally feature:install and use bundle sync, the
>>     bundles will be sync. It's normal.
>>     By default, I disable the bundle sync (blacklist=* whitelist=none
>>     for the bundles).
>>
>>     Regards
>>     JB
>>
>>     On 12/21/2013 03:54 AM, Fernando Ribeiro wrote:
>>
>>         Hi Jean-Baptiste,
>>
>>         I am still thinking if the replication of the bundles to the
>>         second node
>>         is really an issue, and also that the fact that the bundle list
>>         in the
>>         two nodes isn't the same should be reported separately.
>>
>>         Let me know when you find the time to look into this with me.
>>
>>         Regards,
>>
>>
>>         On Thu, Dec 19, 2013 at 11:54 PM, Fernando Ribeiro
>>         <fernando.ribeiro@upic.com.br
>>         <ma...@upic.com.br>
>>         <mailto:fernando.ribeiro@upic.__com.br
>>         <ma...@upic.com.br>>> wrote:
>>
>>              Hi Jean-Baptiste,
>>
>>              I am getting an exception from Jetty when following these
>>         steps:
>>
>>              1- Create node1
>>              2- Install Cellar on node1
>>              3- Edit org.apache.karaf.cellar.__groups.cfg to blacklist
>> the
>>              webconsole feature
>>              4- Create node2
>>              5- Install Cellar on node2
>>
>>              The reason why I did mentioned "a list" in my previous
>>         e-mail is
>>              because I understand the issue could be worked around
>>         blacklisting
>>              the Jetty bundles, for example.
>>
>>              The log files are attached for your review, as well as the
>>         list of
>>              bundles in node2, which is very different than the empty
>>         list in node1.
>>
>>              Please advise me whether I should open a ticket.
>>
>>              Regards,
>>
>>
>>              On Thu, Dec 19, 2013 at 3:16 PM, Fernando Ribeiro
>>              <fernando.ribeiro@upic.com.br
>>         <ma...@upic.com.br>
>>         <mailto:fernando.ribeiro@upic.__com.br
>>         <ma...@upic.com.br>>>
>>              wrote:
>>
>>                  Hi Jean-Baptiste,
>>
>>                  I have the impression that you actually need to
>>         blacklist some
>>                  bundles as well, will re-do the installation and come
>>         back with
>>                  more detailed information.
>>
>>                  Regards,
>>
>>
>>                  On Thu, Dec 19, 2013 at 2:50 PM, Jean-Baptiste Onofré
>>                  <jb@nanthrax.net <ma...@nanthrax.net>
>>         <mailto:jb@nanthrax.net <ma...@nanthrax.net>>> wrote:
>>
>>                      Hi Fernando,
>>
>>                      you mean install the WebConsole only on one node ?
>>
>>                      If so, you can blacklist webconsole feature inbound
>> and
>>                      outbound and install on the target node.
>>
>>                      Regards
>>                      JB
>>
>>
>>                      On 12/19/2013 05:24 PM, Fernando Ribeiro wrote:
>>
>>                          All,
>>
>>                          After some investigation, I've managed to
>>         install the
>>                          web console in a
>>                          Cellar installation using a dedicated instance
>> in a
>>                          different cluster group.
>>
>>                          I understand that I could use a shared instance
>>         in a
>>                          single cluster
>>                          group if I blacklisted some features and
>>         bundles, but
>>                          don't have that
>>                          list yet - do you?
>>
>>                          Regards,
>>
>>                          --
>>                          Fernando
>>
>>
>>                      --
>>                      Jean-Baptiste Onofré
>>         jbonofre@apache.org <ma...@apache.org>
>>         <mailto:jbonofre@apache.org <ma...@apache.org>>
>>         http://blog.nanthrax.net
>>                      Talend - http://www.talend.com
>>
>>
>>
>>
>>                  --
>>                  Fernando Ribeiro
>>                  Upic
>>         +55 11 9 8111 4078 <tel:%2B55%2011%209%208111%204078>
>>         <tel:%2B55%2011%209%208111%__204078>
>>
>>
>>
>>
>>              --
>>              Fernando Ribeiro
>>              Upic
>>         +55 11 9 8111 4078 <tel:%2B55%2011%209%208111%204078>
>>         <tel:%2B55%2011%209%208111%__204078>
>>
>>
>>
>>
>>         --
>>         Fernando Ribeiro
>>
>>
>>     --
>>     Jean-Baptiste Onofré
>>     jbonofre@apache.org <ma...@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: Clustered Web Console Installation

Posted by Jean-Baptiste Onofré <jb...@nanthrax.net>.
Not necessary: cluster:bundle-list should be the same, bundle:list 
depends of the blacklist/whitelist.

Regards
JB

On 12/21/2013 12:11 PM, Fernando Ribeiro wrote:
> Allright, but the list should be the same in the two nodes, right?
>
> On Dec 21, 2013 3:22 AM, "Jean-Baptiste Onofré" <jb@nanthrax.net
> <ma...@nanthrax.net>> wrote:
>
>     Hi Fernando,
>
>     If you blacklist the webconsole feature, Cellar will block the
>     feature:install and cluster:feature-install webconsole events.
>     If you install locally feature:install and use bundle sync, the
>     bundles will be sync. It's normal.
>     By default, I disable the bundle sync (blacklist=* whitelist=none
>     for the bundles).
>
>     Regards
>     JB
>
>     On 12/21/2013 03:54 AM, Fernando Ribeiro wrote:
>
>         Hi Jean-Baptiste,
>
>         I am still thinking if the replication of the bundles to the
>         second node
>         is really an issue, and also that the fact that the bundle list
>         in the
>         two nodes isn't the same should be reported separately.
>
>         Let me know when you find the time to look into this with me.
>
>         Regards,
>
>
>         On Thu, Dec 19, 2013 at 11:54 PM, Fernando Ribeiro
>         <fernando.ribeiro@upic.com.br
>         <ma...@upic.com.br>
>         <mailto:fernando.ribeiro@upic.__com.br
>         <ma...@upic.com.br>>> wrote:
>
>              Hi Jean-Baptiste,
>
>              I am getting an exception from Jetty when following these
>         steps:
>
>              1- Create node1
>              2- Install Cellar on node1
>              3- Edit org.apache.karaf.cellar.__groups.cfg to blacklist the
>              webconsole feature
>              4- Create node2
>              5- Install Cellar on node2
>
>              The reason why I did mentioned "a list" in my previous
>         e-mail is
>              because I understand the issue could be worked around
>         blacklisting
>              the Jetty bundles, for example.
>
>              The log files are attached for your review, as well as the
>         list of
>              bundles in node2, which is very different than the empty
>         list in node1.
>
>              Please advise me whether I should open a ticket.
>
>              Regards,
>
>
>              On Thu, Dec 19, 2013 at 3:16 PM, Fernando Ribeiro
>              <fernando.ribeiro@upic.com.br
>         <ma...@upic.com.br>
>         <mailto:fernando.ribeiro@upic.__com.br
>         <ma...@upic.com.br>>>
>              wrote:
>
>                  Hi Jean-Baptiste,
>
>                  I have the impression that you actually need to
>         blacklist some
>                  bundles as well, will re-do the installation and come
>         back with
>                  more detailed information.
>
>                  Regards,
>
>
>                  On Thu, Dec 19, 2013 at 2:50 PM, Jean-Baptiste Onofré
>                  <jb@nanthrax.net <ma...@nanthrax.net>
>         <mailto:jb@nanthrax.net <ma...@nanthrax.net>>> wrote:
>
>                      Hi Fernando,
>
>                      you mean install the WebConsole only on one node ?
>
>                      If so, you can blacklist webconsole feature inbound and
>                      outbound and install on the target node.
>
>                      Regards
>                      JB
>
>
>                      On 12/19/2013 05:24 PM, Fernando Ribeiro wrote:
>
>                          All,
>
>                          After some investigation, I've managed to
>         install the
>                          web console in a
>                          Cellar installation using a dedicated instance in a
>                          different cluster group.
>
>                          I understand that I could use a shared instance
>         in a
>                          single cluster
>                          group if I blacklisted some features and
>         bundles, but
>                          don't have that
>                          list yet - do you?
>
>                          Regards,
>
>                          --
>                          Fernando
>
>
>                      --
>                      Jean-Baptiste Onofré
>         jbonofre@apache.org <ma...@apache.org>
>         <mailto:jbonofre@apache.org <ma...@apache.org>>
>         http://blog.nanthrax.net
>                      Talend - http://www.talend.com
>
>
>
>
>                  --
>                  Fernando Ribeiro
>                  Upic
>         +55 11 9 8111 4078 <tel:%2B55%2011%209%208111%204078>
>         <tel:%2B55%2011%209%208111%__204078>
>
>
>
>
>              --
>              Fernando Ribeiro
>              Upic
>         +55 11 9 8111 4078 <tel:%2B55%2011%209%208111%204078>
>         <tel:%2B55%2011%209%208111%__204078>
>
>
>
>
>         --
>         Fernando Ribeiro
>
>
>     --
>     Jean-Baptiste Onofré
>     jbonofre@apache.org <ma...@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: Clustered Web Console Installation

Posted by Fernando Ribeiro <fe...@upic.com.br>.
Allright, but the list should be the same in the two nodes, right?
On Dec 21, 2013 3:22 AM, "Jean-Baptiste Onofré" <jb...@nanthrax.net> wrote:

> Hi Fernando,
>
> If you blacklist the webconsole feature, Cellar will block the
> feature:install and cluster:feature-install webconsole events.
> If you install locally feature:install and use bundle sync, the bundles
> will be sync. It's normal.
> By default, I disable the bundle sync (blacklist=* whitelist=none for the
> bundles).
>
> Regards
> JB
>
> On 12/21/2013 03:54 AM, Fernando Ribeiro wrote:
>
>> Hi Jean-Baptiste,
>>
>> I am still thinking if the replication of the bundles to the second node
>> is really an issue, and also that the fact that the bundle list in the
>> two nodes isn't the same should be reported separately.
>>
>> Let me know when you find the time to look into this with me.
>>
>> Regards,
>>
>>
>> On Thu, Dec 19, 2013 at 11:54 PM, Fernando Ribeiro
>> <fernando.ribeiro@upic.com.br <ma...@upic.com.br>>
>> wrote:
>>
>>     Hi Jean-Baptiste,
>>
>>     I am getting an exception from Jetty when following these steps:
>>
>>     1- Create node1
>>     2- Install Cellar on node1
>>     3- Edit org.apache.karaf.cellar.groups.cfg to blacklist the
>>     webconsole feature
>>     4- Create node2
>>     5- Install Cellar on node2
>>
>>     The reason why I did mentioned "a list" in my previous e-mail is
>>     because I understand the issue could be worked around blacklisting
>>     the Jetty bundles, for example.
>>
>>     The log files are attached for your review, as well as the list of
>>     bundles in node2, which is very different than the empty list in
>> node1.
>>
>>     Please advise me whether I should open a ticket.
>>
>>     Regards,
>>
>>
>>     On Thu, Dec 19, 2013 at 3:16 PM, Fernando Ribeiro
>>     <fernando.ribeiro@upic.com.br <ma...@upic.com.br>>
>>     wrote:
>>
>>         Hi Jean-Baptiste,
>>
>>         I have the impression that you actually need to blacklist some
>>         bundles as well, will re-do the installation and come back with
>>         more detailed information.
>>
>>         Regards,
>>
>>
>>         On Thu, Dec 19, 2013 at 2:50 PM, Jean-Baptiste Onofré
>>         <jb@nanthrax.net <ma...@nanthrax.net>> wrote:
>>
>>             Hi Fernando,
>>
>>             you mean install the WebConsole only on one node ?
>>
>>             If so, you can blacklist webconsole feature inbound and
>>             outbound and install on the target node.
>>
>>             Regards
>>             JB
>>
>>
>>             On 12/19/2013 05:24 PM, Fernando Ribeiro wrote:
>>
>>                 All,
>>
>>                 After some investigation, I've managed to install the
>>                 web console in a
>>                 Cellar installation using a dedicated instance in a
>>                 different cluster group.
>>
>>                 I understand that I could use a shared instance in a
>>                 single cluster
>>                 group if I blacklisted some features and bundles, but
>>                 don't have that
>>                 list yet - do you?
>>
>>                 Regards,
>>
>>                 --
>>                 Fernando
>>
>>
>>             --
>>             Jean-Baptiste Onofré
>>             jbonofre@apache.org <ma...@apache.org>
>>             http://blog.nanthrax.net
>>             Talend - http://www.talend.com
>>
>>
>>
>>
>>         --
>>         Fernando Ribeiro
>>         Upic
>>         +55 11 9 8111 4078 <tel:%2B55%2011%209%208111%204078>
>>
>>
>>
>>
>>     --
>>     Fernando Ribeiro
>>     Upic
>>     +55 11 9 8111 4078 <tel:%2B55%2011%209%208111%204078>
>>
>>
>>
>>
>> --
>> Fernando Ribeiro
>>
>
> --
> Jean-Baptiste Onofré
> jbonofre@apache.org
> http://blog.nanthrax.net
> Talend - http://www.talend.com
>

Re: Clustered Web Console Installation

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

If you blacklist the webconsole feature, Cellar will block the 
feature:install and cluster:feature-install webconsole events.
If you install locally feature:install and use bundle sync, the bundles 
will be sync. It's normal.
By default, I disable the bundle sync (blacklist=* whitelist=none for 
the bundles).

Regards
JB

On 12/21/2013 03:54 AM, Fernando Ribeiro wrote:
> Hi Jean-Baptiste,
>
> I am still thinking if the replication of the bundles to the second node
> is really an issue, and also that the fact that the bundle list in the
> two nodes isn't the same should be reported separately.
>
> Let me know when you find the time to look into this with me.
>
> Regards,
>
>
> On Thu, Dec 19, 2013 at 11:54 PM, Fernando Ribeiro
> <fernando.ribeiro@upic.com.br <ma...@upic.com.br>> wrote:
>
>     Hi Jean-Baptiste,
>
>     I am getting an exception from Jetty when following these steps:
>
>     1- Create node1
>     2- Install Cellar on node1
>     3- Edit org.apache.karaf.cellar.groups.cfg to blacklist the
>     webconsole feature
>     4- Create node2
>     5- Install Cellar on node2
>
>     The reason why I did mentioned "a list" in my previous e-mail is
>     because I understand the issue could be worked around blacklisting
>     the Jetty bundles, for example.
>
>     The log files are attached for your review, as well as the list of
>     bundles in node2, which is very different than the empty list in node1.
>
>     Please advise me whether I should open a ticket.
>
>     Regards,
>
>
>     On Thu, Dec 19, 2013 at 3:16 PM, Fernando Ribeiro
>     <fernando.ribeiro@upic.com.br <ma...@upic.com.br>>
>     wrote:
>
>         Hi Jean-Baptiste,
>
>         I have the impression that you actually need to blacklist some
>         bundles as well, will re-do the installation and come back with
>         more detailed information.
>
>         Regards,
>
>
>         On Thu, Dec 19, 2013 at 2:50 PM, Jean-Baptiste Onofré
>         <jb@nanthrax.net <ma...@nanthrax.net>> wrote:
>
>             Hi Fernando,
>
>             you mean install the WebConsole only on one node ?
>
>             If so, you can blacklist webconsole feature inbound and
>             outbound and install on the target node.
>
>             Regards
>             JB
>
>
>             On 12/19/2013 05:24 PM, Fernando Ribeiro wrote:
>
>                 All,
>
>                 After some investigation, I've managed to install the
>                 web console in a
>                 Cellar installation using a dedicated instance in a
>                 different cluster group.
>
>                 I understand that I could use a shared instance in a
>                 single cluster
>                 group if I blacklisted some features and bundles, but
>                 don't have that
>                 list yet - do you?
>
>                 Regards,
>
>                 --
>                 Fernando
>
>
>             --
>             Jean-Baptiste Onofré
>             jbonofre@apache.org <ma...@apache.org>
>             http://blog.nanthrax.net
>             Talend - http://www.talend.com
>
>
>
>
>         --
>         Fernando Ribeiro
>         Upic
>         +55 11 9 8111 4078 <tel:%2B55%2011%209%208111%204078>
>
>
>
>
>     --
>     Fernando Ribeiro
>     Upic
>     +55 11 9 8111 4078 <tel:%2B55%2011%209%208111%204078>
>
>
>
>
> --
> Fernando Ribeiro

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

Re: Clustered Web Console Installation

Posted by Fernando Ribeiro <fe...@upic.com.br>.
Hi Jean-Baptiste,

I am still thinking if the replication of the bundles to the second node is
really an issue, and also that the fact that the bundle list in the two
nodes isn't the same should be reported separately.

Let me know when you find the time to look into this with me.

Regards,


On Thu, Dec 19, 2013 at 11:54 PM, Fernando Ribeiro <
fernando.ribeiro@upic.com.br> wrote:

> Hi Jean-Baptiste,
>
> I am getting an exception from Jetty when following these steps:
>
> 1- Create node1
> 2- Install Cellar on node1
> 3- Edit org.apache.karaf.cellar.groups.cfg to blacklist the webconsole
> feature
> 4- Create node2
> 5- Install Cellar on node2
>
> The reason why I did mentioned "a list" in my previous e-mail is because I
> understand the issue could be worked around blacklisting the Jetty bundles,
> for example.
>
> The log files are attached for your review, as well as the list of bundles
> in node2, which is very different than the empty list in node1.
>
> Please advise me whether I should open a ticket.
>
> Regards,
>
>
> On Thu, Dec 19, 2013 at 3:16 PM, Fernando Ribeiro <
> fernando.ribeiro@upic.com.br> wrote:
>
>> Hi Jean-Baptiste,
>>
>> I have the impression that you actually need to blacklist some bundles as
>> well, will re-do the installation and come back with more detailed
>> information.
>>
>> Regards,
>>
>>
>> On Thu, Dec 19, 2013 at 2:50 PM, Jean-Baptiste Onofré <jb...@nanthrax.net>wrote:
>>
>>> Hi Fernando,
>>>
>>> you mean install the WebConsole only on one node ?
>>>
>>> If so, you can blacklist webconsole feature inbound and outbound and
>>> install on the target node.
>>>
>>> Regards
>>> JB
>>>
>>>
>>> On 12/19/2013 05:24 PM, Fernando Ribeiro wrote:
>>>
>>>> All,
>>>>
>>>> After some investigation, I've managed to install the web console in a
>>>> Cellar installation using a dedicated instance in a different cluster
>>>> group.
>>>>
>>>> I understand that I could use a shared instance in a single cluster
>>>> group if I blacklisted some features and bundles, but don't have that
>>>> list yet - do you?
>>>>
>>>> Regards,
>>>>
>>>> --
>>>> Fernando
>>>>
>>>
>>> --
>>> Jean-Baptiste Onofré
>>> jbonofre@apache.org
>>> http://blog.nanthrax.net
>>> Talend - http://www.talend.com
>>>
>>
>>
>>
>> --
>> Fernando Ribeiro
>> Upic
>> +55 11 9 8111 4078
>>
>
>
>
> --
> Fernando Ribeiro
> Upic
> +55 11 9 8111 4078
>



-- 
Fernando Ribeiro

Re: Clustered Web Console Installation

Posted by Fernando Ribeiro <fe...@upic.com.br>.
Hi Jean-Baptiste,

I am getting an exception from Jetty when following these steps:

1- Create node1
2- Install Cellar on node1
3- Edit org.apache.karaf.cellar.groups.cfg to blacklist the webconsole
feature
4- Create node2
5- Install Cellar on node2

The reason why I did mentioned "a list" in my previous e-mail is because I
understand the issue could be worked around blacklisting the Jetty bundles,
for example.

The log files are attached for your review, as well as the list of bundles
in node2, which is very different than the empty list in node1.

Please advise me whether I should open a ticket.

Regards,


On Thu, Dec 19, 2013 at 3:16 PM, Fernando Ribeiro <
fernando.ribeiro@upic.com.br> wrote:

> Hi Jean-Baptiste,
>
> I have the impression that you actually need to blacklist some bundles as
> well, will re-do the installation and come back with more detailed
> information.
>
> Regards,
>
>
> On Thu, Dec 19, 2013 at 2:50 PM, Jean-Baptiste Onofr� <jb...@nanthrax.net>wrote:
>
>> Hi Fernando,
>>
>> you mean install the WebConsole only on one node ?
>>
>> If so, you can blacklist webconsole feature inbound and outbound and
>> install on the target node.
>>
>> Regards
>> JB
>>
>>
>> On 12/19/2013 05:24 PM, Fernando Ribeiro wrote:
>>
>>> All,
>>>
>>> After some investigation, I've managed to install the web console in a
>>> Cellar installation using a dedicated instance in a different cluster
>>> group.
>>>
>>> I understand that I could use a shared instance in a single cluster
>>> group if I blacklisted some features and bundles, but don't have that
>>> list yet - do you?
>>>
>>> Regards,
>>>
>>> --
>>> Fernando
>>>
>>
>> --
>> Jean-Baptiste Onofr�
>> jbonofre@apache.org
>> http://blog.nanthrax.net
>> Talend - http://www.talend.com
>>
>
>
>
> --
> Fernando Ribeiro
> Upic
> +55 11 9 8111 4078
>



-- 
Fernando Ribeiro
Upic
+55 11 9 8111 4078

Re: Clustered Web Console Installation

Posted by Fernando Ribeiro <fe...@upic.com.br>.
Hi Jean-Baptiste,

I have the impression that you actually need to blacklist some bundles as
well, will re-do the installation and come back with more detailed
information.

Regards,


On Thu, Dec 19, 2013 at 2:50 PM, Jean-Baptiste Onofré <jb...@nanthrax.net>wrote:

> Hi Fernando,
>
> you mean install the WebConsole only on one node ?
>
> If so, you can blacklist webconsole feature inbound and outbound and
> install on the target node.
>
> Regards
> JB
>
>
> On 12/19/2013 05:24 PM, Fernando Ribeiro wrote:
>
>> All,
>>
>> After some investigation, I've managed to install the web console in a
>> Cellar installation using a dedicated instance in a different cluster
>> group.
>>
>> I understand that I could use a shared instance in a single cluster
>> group if I blacklisted some features and bundles, but don't have that
>> list yet - do you?
>>
>> Regards,
>>
>> --
>> Fernando
>>
>
> --
> Jean-Baptiste Onofré
> jbonofre@apache.org
> http://blog.nanthrax.net
> Talend - http://www.talend.com
>



-- 
Fernando Ribeiro
Upic
+55 11 9 8111 4078

Re: Clustered Web Console Installation

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

you mean install the WebConsole only on one node ?

If so, you can blacklist webconsole feature inbound and outbound and 
install on the target node.

Regards
JB

On 12/19/2013 05:24 PM, Fernando Ribeiro wrote:
> All,
>
> After some investigation, I've managed to install the web console in a
> Cellar installation using a dedicated instance in a different cluster group.
>
> I understand that I could use a shared instance in a single cluster
> group if I blacklisted some features and bundles, but don't have that
> list yet - do you?
>
> Regards,
>
> --
> Fernando

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