2 Replies Latest reply on Feb 8, 2012 8:39 AM by kowshikns

    Jboss 7.1.0 CR1b Cluster caching /domain mode. running on two different machines

    kowshikns

      Hi All,

       

      I am working on Jboss7 domain mode clustering of cache.

       

      Here is my server setup

       

      1) Jboss 7.1.0 CR1b on 10.0.50.32 ( Acts as a domain controller)

           Host Name: DLC01

           Servers running dlc01-one,dlc01-two,dlc01-three

      2) Jboss 7.1.0 CR1b on 10.0.50.33 ( Acts as a domain controller)

           Host Name: DLC02

           Servers running dlc02-one,dlc02-two,dlc02-three

       

      I want a Clustered cache running in distributed sync mode , where DLC01 and DLC02 have access. I am programatically configuring cache.

       

      Here is the code snippet

       

       

      GlobalConfiguration gc = gcb.transport().defaultTransport().clusterName("DLC").machineId("DLC01").rackId("r1").nodeName("dlc01-one").addProperty("configurationFile", "jgroups-tcp.xml")

                                                        .build();

       

      My Requirements :

       

      1) I want to have a cache EDATA with key "BUY" shared across all the servers ( dlc01-one,dlc01-two,dlc01-three,dlc02-one,dlc02-two,dlc02-three)

      2) What is the configuration that I need to do .

       

      I am referring the "JBoss AS 7 Configuration, Deployment, and Administration"  Chapter 8 on clustering . I cannot find the Domain controller clustering running on two different machines. I would be helpful , what are the configuration and setup that I need to do.

       

      Other Info :

      1) Using infinispan-core-5.1.0.CR1

      2) Jgroups jgroups-3.0.1.Final.jar.

       

       

      Best Regards,

      Kowshik NS