6 Replies Latest reply on Aug 12, 2004 5:17 PM by bisla

    Co-ordinator

    bisla

      what setting should one make in the .xml in order to start one of the caches in the cluster as the co-ordinator.
      I know by default the first cache in the cluster would start as the co-ordinator.
      Is there a way one could enforce this through the .xml file that the cache starts as the co-ordinator.
      My last question about cacheloaders was not answered, hope i get lucky this time :)
      any pointers would be appreciated.
      thanks..

        • 1. Re: Co-ordinator
          belaban

          You can't. But you can prevent a member from ever becoming coordinator by setting GMS.disable_initial_coord=true.

          Bela

          • 2. Re: Co-ordinator
            bisla

            Thank You Bela,
            where and how would you specify this setting. I would appreciate if you could give an example. thx

            • 3. Re: Co-ordinator
              belaban

              cluster-service.xml, look for and add the tag to the GMS protocol

              Bela

              • 4. Re: Co-ordinator
                tcherel

                I am not very familiar with JGroups, but is there any particular advantages in choosing which node of the cluster is the coordinator?

                • 5. Re: Co-ordinator
                  belaban

                  Normally it is automatic. This tag is only useful if you want to exclude certain nodes from ever becoming coordinator.

                  Bela

                  • 6. Re: Co-ordinator
                    bisla

                    Adding the following line in the replSyn-service.xml causes the client not to load correctly. I Treecache cannot connect to the others in the same cluster. Is there something i'm missing or is this a bug...
                    any help will appreciated. Thx.

                    <!-- disable from being the co-ordinator -->
                     <pbcast.GMS disable_initial_coord="true"/>