1 Reply Latest reply on Jun 4, 2004 10:00 AM by Peter Backx

    Turn on/off components in cluster

    thad Newbie

      Is it possible to manually disable a component from running on a particular server running in a clustered environment? For instance, if I have a MDB deployed on two machines, I want to be able to turn one of them off/disable it from receiving messages and let the other handle all of the work.

        • 1. Re: Turn on/off components in cluster
          Peter Backx Newbie

          If you disable farming you can manually decide which bean gets deployed where in your deployment descriptors. Or by simply deleting the correct archive in the deploy directory (this might remove other beans too of course, so be careful)

          If you don't want to give up the convenience of farming I think you'll have to implement your own load balancing policy (which is easier than you might think).