Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade Infinispan to JDG and JGroups XML configuration #1

Open
lincolnthree opened this issue Oct 2, 2013 · 1 comment
Open

Upgrade Infinispan to JDG and JGroups XML configuration #1

lincolnthree opened this issue Oct 2, 2013 · 1 comment

Comments

@lincolnthree
Copy link
Member

ttarrant
4:19 lincolnthree1, you can have a clustered cache by embedding Infinispan in your deployment
lincolnthree1
4:19 ttarrant: how will the nodes find each other?
ttarrant
4:20 lincolnthree1, as usual: with a jgroups configuration
lincolnthree1
4:20 ttarrant: hm.. any docs I can look at?
4:20 crobson left the room (quit: Quit: Computer has gone to sleep.).
ttarrant
4:21 lincolnthree1, http://www.jboss.org/jdf/quickstarts/jboss-as-quickstart/jdg-quickstarts/helloworld-jdg/
lincolnthree1
4:22 hmmm
4:22 bbrowning is now known as bbrowning_away
lincolnthree1
4:23 ttarrant: "The library usage mode only allows local access to a single node in a distributed cluster. This usage mode gives the application access to data grid functionality within a virtual machine in the container being used."
ttarrant
4:24 lincolnthree1, that does sound confusing, but trust me
lincolnthree1
4:24 hmmm..
4:25 okay ..
ttarrant
4:25 lincolnthree1, you need to tune the jgroups-udp.xml
4:25 lincolnthree1, where will you be running the cluster ?
lincolnthree1
4:25 openshift
ttarrant
4:26 lincolnthree1, ah, so maybe udp multicast discovery is not ideal
4:26 lincolnthree1, can I see the default standalone.xml used by a clustered EAP in openshift ?
lincolnthree1
4:26 yeah, one moment
4:27 ttarrant: this is the config i've been using
lincolnthree1
4:27 https://gist.github.com/lincolnthree/6800029#file-gistfile1-txt-L215
lincolnthree1
4:28 ttarrant: it's a slightly modified openshift config to support the cache modes i want for specific things
ttarrant
4:28 lincolnthree1, ok, so the jgroups subsystem configuration needs to be changed into a jgroups.xml file
4:28 lincolnthree1, for embedded usage
4:29 lincolnthree1, as I thought, you are using TCPPING
ttarrant
4:29 and TCP
lincolnthree1
4:29 hmm
4:30 is that a 1:1 conversion?
ttarrant
4:32 lincolnthree1, of course it isn't
lincolnthree1
4:32 wishful thinking
ttarrant
4:32 but it's pretty easy: https://github.com/infinispan/jdg-quickstart/blob/master/helloworld-jdg/src/main/resources/jgroups-udp.xml
lincolnthree1
4:33 holy hell. okay
4:33 ill give it a shot
4:33 now i know why we charge for support
ttarrant
4:33 lincolnthree1, if you do this, you will be able to use whichever version of Infinispan you want
lincolnthree1
4:33 (and why people buy it)
ttarrant
4:33 laughs evilly
lincolnthree1
4:34 hehe
sannegrinovero
4:34 hey lincolnthree1, running it on openshift is not a piece of cake
lincolnthree1
4:34 sannegrinovero: it seems not
sannegrinovero
4:35 lincolnthree1: luckily we had a GSOC student which could bash his head against it for the whole summer, his output should be a good example + better docs.
lincolnthree1
4:35 sannegrinovero: his output is the openshift standalone.xml, yes?
sannegrinovero
4:35 lincolnthree1: so I would suggest you check that out first.
4:35 lincolnthree1: I'm afraid I don't know, I didn't follow this student, but Manik did.
lincolnthree1
4:36 traitor!
sannegrinovero
4:36 lincolnthree1: right, I couldn't handle 2 students so I had to get some help
4:37 lincolnthree1: would be great if you could ask manik for the basic pointers and be our guinea pig as reader.
lincolnthree1
4:37 sannegrinovero: i'll see what i can do
sannegrinovero
4:37 lincolnthree1: thanks
lincolnthree1
4:37 might take me a few days to get around to it

@lincolnthree
Copy link
Member Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant