Re: Cellar for karaf 3.0.1 active/active and failover clustering

2014-07-22 Thread asookazian2
Thanks for replying. There is only one reference to configadmin in the cellar docs: http://karaf.apache.org/manual/cellar/latest/user-guide/index.html How would I modify the etc/config.properties to be able to sync etc/a/b/c/foo.properties? Also, it would be nice if the Cellar docs was in one

Re: Cellar for karaf 3.0.1 active/active and failover clustering

2014-07-22 Thread asookazian2
Where is the documentation on how the ConfigAdmin works??? -- View this message in context: http://karaf.922171.n3.nabble.com/Cellar-for-karaf-3-0-1-active-active-and-failover-clustering-tp4033204p4034378.html Sent from the Karaf - User mailing list archive at Nabble.com.

Re: Cellar for karaf 3.0.1 active/active and failover clustering

2014-07-22 Thread Achim Nierbeck
A quick google gave me this result [1], and the first entry is for configuration admin service [2]. As the Fileinstaller does take care of parsing the cfg files and therefore transfering those to the config admin service, find the documentation for the FileInstaller at [3] regards, Achim [1] -

Re: Cellar for karaf 3.0.1 active/active and failover clustering

2014-07-22 Thread chris . gray
Don't let's forget http://www.osgi.org/Download/HomePage where you can download the original service specifications, which are both very clear about how the service has to behave and completely abstract concerning the means employed. And as Achim points out, there are a lot of tutorials etc. about

Re: Cellar for karaf 3.0.1 active/active and failover clustering

2014-07-21 Thread asookazian2
I just tried to setup a brand new 2 node horz cluster on 2 windows VMs. Both nodes are joining the default group/cluster. However, when I run our installer script with both karaf nodes (3.0.1) running, the bundles install successfully on node A but not on node B. These are the actual bundles

Re: Cellar for karaf 3.0.1 active/active and failover clustering

2014-07-21 Thread Jean-Baptiste Onofré
Hi the nodes share the same repository ? Regards JB On 07/21/2014 09:54 PM, asookazian2 wrote: I just tried to setup a brand new 2 node horz cluster on 2 windows VMs. Both nodes are joining the default group/cluster. However, when I run our installer script with both karaf nodes (3.0.1)

Re: Cellar for karaf 3.0.1 active/active and failover clustering

2014-07-21 Thread asookazian2
No, they are using data/repo. http://karaf.apache.org/index/subprojects/cave/download/karaf-cave-3.0.0-release.html Do I need to use Karaf Cave? We probably cannot setup/install/config Artifactory at the client sites. Please advise link to the Cave docs. thx. -- View this message in

Re: Cellar for karaf 3.0.1 active/active and failover clustering

2014-07-21 Thread asookazian2
Populate from an external repository If you have a bunch of artifacts to upload, it’s not very efficient to use the cave:upload-artifact command. The cave:populate-repository command allows you to upload a set of artifacts from an “external” repository: karaf@root cave:populate-repository

Re: Cellar for karaf 3.0.1 active/active and failover clustering

2014-07-21 Thread Jean-Baptiste Onofré
No, it's not what I meant. Cellar just broadcast the instructions to do. So, feature:repo-add on one node will be done on the other node. To do that, the nodes have to share a repository (Cave is not necessary). So, all nodes have to share the same Maven repository (as defined in

Re: Cellar for karaf 3.0.1 active/active and failover clustering

2014-07-21 Thread asookazian2
On Windows, I can't write this cmd properly for it to work: cave:repository-create cave-repo -l C:/sw/ngs/current/ngs/data/repo data Error executing command cave:repository-create: too many arguments specified Example from blog: cave:create-repository -l /home/jbonofre/.m2/repository m2 --

Re: Cellar for karaf 3.0.1 active/active and failover clustering

2014-07-21 Thread asookazian2
I don't believe so, here is our config: org.ops4j.pax.url.mvn.repositories = http://repo1.maven.org/maven2@id=central, http://repository.springsource.com/maven/bundles/release@id=spring.ebr.release, http://repository.springsource.com/maven/bundles/external@id=spring.ebr.external,

Re: Cellar for karaf 3.0.1 active/active and failover clustering

2014-07-21 Thread asookazian2
Is it possible to replicate data/repo? We are considering running feature:repo-add and install bundles on each node which defeats the purpose of Cellar which replicates bundles, features and configs... -- View this message in context:

Re: Cellar for karaf 3.0.1 active/active and failover clustering

2014-07-21 Thread asookazian2
If I make a change to a file in /etc/a/b/c dir, will it replicate to the same dir structure in the other nodes? I just tried that with both nodes running and it doesn't seem to do anything... -- View this message in context:

Re: Cellar for karaf 3.0.1 active/active and failover clustering

2014-07-21 Thread asookazian2
In fact I made a change to etc/org.ops4j.pax.url.mvn.cfg and it did not replicate either (only a comment I tried). -- View this message in context: http://karaf.922171.n3.nabble.com/Cellar-for-karaf-3-0-1-active-active-and-failover-clustering-tp4033204p4034356.html Sent from the Karaf - User

Re: Cellar for karaf 3.0.1 active/active and failover clustering

2014-07-21 Thread Jean-Baptiste Onofré
Ouah, too much question in a row ;) It's the file which are replicated, it's the ConfigAdmin: so a comment won't be replicated, just a key/value change. Regards JB On 07/21/2014 11:40 PM, asookazian2 wrote: In fact I made a change to etc/org.ops4j.pax.url.mvn.cfg and it did not replicate

Re: Cellar for karaf 3.0.1 active/active and failover clustering

2014-07-21 Thread Jean-Baptiste Onofré
If the bundles/features are in those repositories, it will work. Regards JB On 07/21/2014 10:36 PM, asookazian2 wrote: I don't believe so, here is our config: org.ops4j.pax.url.mvn.repositories = http://repo1.maven.org/maven2@id=central,

Re: Cellar for karaf 3.0.1 active/active and failover clustering

2014-07-21 Thread Jean-Baptiste Onofré
I think you misunderstood me. It's replicate repo (if you talk about features:repo-add). Again, did you read the Cellar user guide ? Regards JB On 07/21/2014 10:51 PM, asookazian2 wrote: Is it possible to replicate data/repo? We are considering running feature:repo-add and install bundles

Re: Cellar for karaf 3.0.1 active/active and failover clustering

2014-07-21 Thread Jean-Baptiste Onofré
No, again Cellar doesn't mind about the files and folders, it replicated ConfigAdmin. etc/a/b/c won't be pulled to ConfigAdmin (or you have to modify etc/config.properties). Regards JB On 07/21/2014 11:37 PM, asookazian2 wrote: If I make a change to a file in /etc/a/b/c dir, will it

Re: Cellar for karaf 3.0.1 active/active and failover clustering

2014-06-27 Thread asookazian2
I'm installing custom features for our product which is built on top of Karaf 3.0.1. How can i send the logs (I assume you are referring to karaf.log files?) Do you have an email address? -- View this message in context:

Re: Cellar for karaf 3.0.1 active/active and failover clustering

2014-06-27 Thread asookazian2
What version of Cave do we need to use with Karaf 3.0.1? -- View this message in context: http://karaf.922171.n3.nabble.com/Cellar-for-karaf-3-0-1-active-active-and-failover-clustering-tp4033204p4033848.html Sent from the Karaf - User mailing list archive at Nabble.com.

Re: Cellar for karaf 3.0.1 active/active and failover clustering

2014-06-27 Thread Jean-Baptiste Onofré
jbono...@apache.org Regards JB On 06/27/2014 06:03 PM, asookazian2 wrote: I'm installing custom features for our product which is built on top of Karaf 3.0.1. How can i send the logs (I assume you are referring to karaf.log files?) Do you have an email address? -- View this message in

Re: Cellar for karaf 3.0.1 active/active and failover clustering

2014-06-27 Thread Jean-Baptiste Onofré
Hi, You will need Cave 3.0.0 (that will be in vote during the week end). But Cave is one solution, any Maven repository works (a basic one could be a Maven directory structure on a shared filesystem, or a Maven directory structure exposed using Apache httpd). Regards JB On 06/27/2014 07:56

Re: Cellar for karaf 3.0.1 active/active and failover clustering

2014-06-26 Thread asookazian2
I installed successfully: feature:install cellar-webconsole admin@NextGate () list START LEVEL 33 , List Threshold: 50 ID | State| Lvl | Version | Name - 376 | Resolved | 80 | 3.0.0 |

Re: Cellar for karaf 3.0.1 active/active and failover clustering

2014-06-26 Thread asookazian2
Now I have two Win7 VMs. I was able to feature:install two feature sets on node A but the bundle:list on node A B were different. One had more bundles installed after the feature:install runs. There are no helpful exceptions in the karaf log related to cellar/hazelcast. Any idea why this

Re: Cellar for karaf 3.0.1 active/active and failover clustering

2014-06-26 Thread Jean-Baptiste Onofré
Hi, which features are you installing ? Could you send to me the log files ? Regarding the commands, cluster:feature-install is the same as feature:install but it allows you to specify the cluster group (cluster:group-list). The feature:install will deploy to all local cluster groups (where

Re: Cellar for karaf 3.0.1 active/active and failover clustering

2014-06-26 Thread Jean-Baptiste Onofré
Cellar sync ConfigAdmin. If a new node join, it will sync the resources (it's the purpose of the Synchronizers), as long as it's not blacklisted (as describe in the etc/org.apache.karaf.cellar.groups.cfg). Did you read the Cellar user guide because it's explained there. Regards JB On

Re: Cellar for karaf 3.0.1 active/active and failover clustering

2014-06-25 Thread asookazian2
Does the book provide a tutorial on multi-node setup for active/active and failover support in a simple Karaf/Cellar cluster? Can I get an EAP digital or paper copy? Also, in terms of a simple test for a cross topology, is it best to install two Karaf instances/nodes on separate machines or on

Re: Cellar for karaf 3.0.1 active/active and failover clustering

2014-06-25 Thread asookazian2
So I installed our customized version of Karaf 3.0.1 on Win7 VM and Mac Mavericks host (on same machine). Win7 VM: admin@NextGate () cluster:node-list | Id | Host Name | Port - x | 127.0.0.1:5701 | 127.0.0.1 | 5701 Mac host: admin@NextGate ()

Re: Cellar for karaf 3.0.1 active/active and failover clustering

2014-06-25 Thread Jean-Baptiste Onofré
Hi, the Win VM and Mac Host are supposed to be in the same cluster ? If so, the network multicast doesn't work and so Cellar can't discover the nodes. To fix that, you can switch to static IP addresses definition. On each node, you modify etc/hazelcast.xml, and you add the IP addresses where

Re: Cellar for karaf 3.0.1 active/active and failover clustering

2014-06-25 Thread asookazian2
Mac host karaf.log: 20140625 10:16:39.475 [INFO ] FelixStartLevel | 109:com.hazelcast | com.hazelcast.config.XmlConfigBuilder | Using configuration file at /private/var/nextgate/current/ngs_install_v1.0.0-SNAPSHOT_20140623_rev12406/ngs/etc/hazelcast.xml 20140625 10:16:39.476 [INFO ]

Re: Cellar for karaf 3.0.1 active/active and failover clustering

2014-06-25 Thread Jean-Baptiste Onofré
Did you see my latest e-mail on the thread ? Regards JB On 06/25/2014 07:19 PM, asookazian2 wrote: Mac host karaf.log: 20140625 10:16:39.475 [INFO ] FelixStartLevel | 109:com.hazelcast | com.hazelcast.config.XmlConfigBuilder | Using configuration file at

Re: Cellar for karaf 3.0.1 active/active and failover clustering

2014-06-25 Thread asookazian2
Win VM karaf.log: 20140625 10:22:13.553 [INFO ] FelixStartLevel | 107:com.hazelcast | com.hazelcast.config.XmlConfigBuilder | Using configuration file at C:\sw\ngs\ngs_install_v1.0.0-SNAPSHOT_20140624_rev12409\ngs\etc\hazelcast.xml 20140625 10:22:13.553 [INFO ] FelixStartLevel | 107:com.hazelcast

Re: Cellar for karaf 3.0.1 active/active and failover clustering

2014-06-25 Thread asookazian2
Ok using that static IP method seems to have worked: admin@NextGate () cluster:node-list | Id | Host Name | Port - x | 192.168.169.13:5701 | 192.168.169.13 | 5701 | 192.168.172.219:5701 | 192.168.172.219 | 5701

Re: Cellar for karaf 3.0.1 active/active and failover clustering

2014-06-25 Thread asookazian2
20140625 13:39:12.300 [ERROR] pool-13-thread-37 | 112:org.apache.karaf.cellar.features | org.apache.karaf.cellar.features.RepositoryEventHandler | CELLAR FEATURES: failed to add/remove repository URL mvn:com.nextgate/ngs-features/1.0.0-SNAPSHOT/xml/features java.lang.NullPointerException

Re: Cellar for karaf 3.0.1 active/active and failover clustering

2014-06-25 Thread asookazian2
When/how does the .cfg file sync work? I just edited and saved org.ops4j.pax.url.mvn.cfg and did not see the update occur in the other node same file. Do you need to restart karaf to take effect? -- View this message in context:

Re: Cellar for karaf 3.0.1 active/active and failover clustering

2014-06-25 Thread Jean-Baptiste Onofré
If by install, you mean drop into the deploy folder or install from the local filesystem of a node, it won't work: the nodes has to share a location. For instance, the nodes have to use a shared Maven repository (Archiva, Nexus, Cave, ...). Please, read the user guide, it's explained.

Re: Cellar for karaf 3.0.1 active/active and failover clustering

2014-06-25 Thread Jean-Baptiste Onofré
Take a look in the etc/org.apache.karaf.cellar.groups.cfg, we will see the whitelist/backlist definition. Regards JB On 06/26/2014 01:12 AM, asookazian2 wrote: When/how does the .cfg file sync work? I just edited and saved org.ops4j.pax.url.mvn.cfg and did not see the update occur in the

Re: Cellar for karaf 3.0.1 active/active and failover clustering

2014-06-24 Thread asookazian2
Please advise status on this, we're investigating clustering Karaf 3.0.1 currently. thx. -- View this message in context: http://karaf.922171.n3.nabble.com/Cellar-for-karaf-3-0-1-active-active-and-failover-clustering-tp4033204p4033746.html Sent from the Karaf - User mailing list archive at

Re: Cellar for karaf 3.0.1 active/active and failover clustering

2014-06-24 Thread asookazian2
There are 3 branches currently: https://github.com/apache/karaf-cellar/branches https://github.com/apache/karaf-cellar/branches Is master = 3.0.x ??? -- View this message in context:

Re: Cellar for karaf 3.0.1 active/active and failover clustering

2014-06-24 Thread Achim Nierbeck
Yes, master is always the latest, and in this case it is 3.0.x regards, Achim 2014-06-24 23:35 GMT+02:00 asookazian2 asookaz...@gmail.com: There are 3 branches currently: https://github.com/apache/karaf-cellar/branches https://github.com/apache/karaf-cellar/branches Is master = 3.0.x

Re: Cellar for karaf 3.0.1 active/active and failover clustering

2014-06-24 Thread Achim Nierbeck
Hi, cellar 3.0 is under vote right now. [1] So you might want to try this version already and give feedback. regards, Achim [1] - http://karaf.922171.n3.nabble.com/VOTE-Apache-Karaf-Cellar-3-0-0-release-td4033718.html 2014-06-24 23:31 GMT+02:00 asookazian2 asookaz...@gmail.com: Please advise

Re: Cellar for karaf 3.0.1 active/active and failover clustering

2014-06-24 Thread asookazian2
Here: https://git-wip-us.apache.org/repos/asf?p=karaf-cellar.git https://git-wip-us.apache.org/repos/asf?p=karaf-cellar.git I see a cellar-3.0.0 tag. -- View this message in context:

Re: Cellar for karaf 3.0.1 active/active and failover clustering

2014-06-24 Thread asookazian2
This cmd seems to get head or 3.0.0 tag: git clone https://git-wip-us.apache.org/repos/asf/karaf-cellar.git cellar less RELEASE-NOTES Apache Karaf Cellar 3.0.0 is a major new release of Cellar designed to work with Karaf 3.0.x versions... -- View this message in context:

Re: Cellar for karaf 3.0.1 active/active and failover clustering

2014-06-24 Thread j...@nanthrax.net
: asookazian2 asookaz...@gmail.com To: user@karaf.apache.org Subject: Cellar for karaf 3.0.1 active/active and failover clustering Date: Tue, Jun 24, 2014 11:31 pm Please advise status on this, we're investigating clustering Karaf 3.0.1 currently. thx. -- View this message in context: http://karaf

Re: Cellar for karaf 3.0.1 active/active and failover clustering

2014-06-24 Thread j...@nanthrax.net
Yes Cellar master is Cellar 3.0.x. Regards JB -- Jean-Baptiste Onofré jbono...@apache.org http://blog.nanthrax.net Talend - http://wwx.talend.com - Reply message - From: asookazian2 asookaz...@gmail.com To: user@karaf.apache.org Subject: Cellar for karaf 3.0.1 active/active and failover

Re: Cellar for karaf 3.0.1 active/active and failover clustering

2014-06-24 Thread j...@nanthrax.net
Yes it's the release currently in vote. -- Jean-Baptiste Onofré jbono...@apache.org http://blog.nanthrax.net Talend - http://wwx.talend.com - Reply message - From: asookazian2 asookaz...@gmail.com To: user@karaf.apache.org Subject: Cellar for karaf 3.0.1 active/active and failover

Re: Cellar for karaf 3.0.1 active/active and failover clustering

2014-06-24 Thread asookazian2
The following command doesn't work (after 'mvn clean install' from source): feature:repo-add mvn:org.apache.karaf.cellar/apache-karaf-cellar/3.0.0/xml/features admin@NextGate () feature:repo-add mvn:org.apache.karaf.cellar/apache-karaf-cellar/3.0.0/xml/features Adding feature url

Re: Cellar for karaf 3.0.1 active/active and failover clustering

2014-06-24 Thread asookazian2
Also I saw a samples dir in the distro for the following: camel-hazelcast-app dosgi-greeter hazelcast-app which one would be a good starting app for testing a failover, for example? -- View this message in context:

Re: Cellar for karaf 3.0.1 active/active and failover clustering

2014-06-24 Thread asookazian2
what is the link for the cellar-3.0.0 user guide? -- View this message in context: http://karaf.922171.n3.nabble.com/Cellar-for-karaf-3-0-1-active-active-and-failover-clustering-tp4033204p4033760.html Sent from the Karaf - User mailing list archive at Nabble.com.

Re: Cellar for karaf 3.0.1 active/active and failover clustering

2014-06-24 Thread Jean-Baptiste Onofré
This example is more for dev, not user. From an user perspective (how to use/setup Cellar cluster), it's in the user guide. By the way, a book about Cellar Karaf will be available soon at Packt. Regards JB On 06/25/2014 01:10 AM, asookazian2 wrote: Also I saw a samples dir in the distro

Cellar for karaf 3.0.1 active/active and failover clustering

2014-05-20 Thread asookazian2
http://karaf.apache.org/index/subprojects/cellar/cellar-download.html http://karaf.apache.org/index/subprojects/cellar/cellar-download.html which version of cellar is compatible/recommended for clustering with karaf 3.0.x? where is the link to the user guide??? latest cellar seems to be

Re: Cellar for karaf 3.0.1 active/active and failover clustering

2014-05-20 Thread Achim Nierbeck
It is cellar 3.0 you'd need to build it from sources right now. It's on our list to get a working snapshot deployed soon, and a release 3. regards, Achim 2014-05-20 23:25 GMT+02:00 asookazian2 asookaz...@gmail.com: http://karaf.apache.org/index/subprojects/cellar/cellar-download.html

Re: Cellar for karaf 3.0.1 active/active and failover clustering

2014-05-20 Thread Ryan Moquin
did you guy look at my branch yet? I was able to simply the communications (switched it to hazelcast executors, but same cellar inface pretty much), fix the errant tests and fixed up the code so all the tests run and pass... there are I'm sure a few loose enfs still to tie up, but I think I made

Re: Cellar for karaf 3.0.1 active/active and failover clustering

2014-05-20 Thread asookazian2
This link: http://karaf.apache.org/sub-projects/cellar/download.html http://karaf.apache.org/sub-projects/cellar/download.html seems to be broken. It was found here: http://karaf.apache.org/manual/cellar/latest/user-guide/installation.html

Re: Cellar for karaf 3.0.1 active/active and failover clustering

2014-05-20 Thread asookazian2
Would the following git clone cmd get the 3.0.0-SNAPSHOT (head)? git clone https://git-wip-us.apache.org/repos/asf/karaf-cellar.git cave -- View this message in context: http://karaf.922171.n3.nabble.com/Cellar-for-karaf-3-0-1-active-active-and-failover-clustering-tp4033204p4033209.html Sent

Re: Cellar for karaf 3.0.1 active/active and failover clustering

2014-05-20 Thread Achim Nierbeck
If you use cellar instead of cave ;-) Yes. Regards, Achim sent from mobile device Am 21.05.2014 01:46 schrieb asookazian2 asookaz...@gmail.com: Would the following git clone cmd get the 3.0.0-SNAPSHOT (head)? git clone https://git-wip-us.apache.org/repos/asf/karaf-cellar.git cave --

Re: Cellar for karaf 3.0.1 active/active and failover clustering

2014-05-20 Thread Achim Nierbeck
Hi, I'd say I should have some free cycles next week. I'm gonna check then. Regards, Achim sent from mobile device Am 21.05.2014 00:54 schrieb Ryan Moquin fragility...@gmail.com: did you guy look at my branch yet? I was able to simply the communications (switched it to hazelcast executors,