5 Replies Latest reply on Jul 1, 2004 11:35 AM by anil.saldhana

    jboss clustering of two nodes on different m/cs

    praveenkushwaha

      i had done jboss clustering of two nodes on different m/cs and session sharing .it is running fine on linux and windows

      but now i want to run schudler in clusterd mode

      how any body help me out

      praveenkushwaha@yahoo.co.in

        • 1. Re: jboss clustering of two nodes on different m/cs

          Hello,

          I need to create JBoss clusters on multiple (different) machines. Can you give info on how you did this (and where you got your information)? Have you used HTTPLoadbalancer as part of the config process?


          Thanks

          • 2. Re: jboss clustering of two nodes on different m/cs
            jdenly

            Hi,

            I suggest you buy the documentation, it should cover everything you need to know.

            Good luck!

            Jon

            • 3. Re: jboss clustering of two nodes on different m/cs

              Thanks for the tip. I did buy the JBoss Clustering book, and yes indeed it did solve my clustering issues. However, now I am stuck trying to integrate Apache 2.0 with JBoss 3.2.4RC2. I have Apache installed on WinXP and I have downloaded the Mod_JK2 connector ( the module is mod_jk2.so NOT mod_jk2.dll is this correct???) and installed it in the modules directory of Apache2. I have added the line to the end of the httpd.conf file: LoadModule jk2_module modules/mod_jk2.so

              BUT

              my problem begins with the creation of the workers2.properties file. In my case I have a JBoss cluster with instances on 2 separate computers (Box 1 IP = 192.168.100.33:8109, Box 2 IP = 192.168.100.34:8209) and jboss cluster-server.xml has entry of jvmRoute=jboss1 and jvmRoute=jboss2 respectively for each box above).

              I am confused as to how to configure the workers2.properties file (see below):

              [logger]
              level=DEBUG

              [uriMap:]
              info=Maps the requests. Options: debug
              debug=0

              [lb:lb2]
              debug=6
              timeout=30
              attempts=3
              stickySession=1

              # Define the communication channel
              [channel.socket:192.168.100.33:8109]
              info=Ajp13 forwarding over socket
              debug=6
              tomcatId=jboss1
              lb_factor=100
              group=lb2
              disabled=0

              [channel.socket:192.168.100.34:8209]
              debug=6
              tomcatId=jboss2
              lb_factor=100
              group=lb2
              disabled=0

              [ajp13:192.168.100.33:8109]
              channel=channel.socket:192.168.100.33:8109

              [ajp13:192.168.100.34:8209]
              channel=channel.socket:192.168.100.34:8209


              # Map the Tomcat examples webapp to the web server uri space
              [uri:/jsf-guessNumber/*]
              info=Map the whole webapp
              group=lb2

              [uri:/jkstatus/*]
              info=Display status information and checks the config file for changes.
              group=lb2


              [shm:]
              info=Scoreboard. Required for reconfiguration and status with multiprocess servers
              file=C:/appServer/Apache/Apache2/logs/shm.file
              size=1000000
              debug=0
              disabled=0


              The more threads I follow the more confusing it becomes; can someone please tell me what's wrong with my workers2.properties file?

              Thanks

              • 4. Re: jboss clustering of two nodes on different m/cs
                pwnell

                 

                "eusdart" wrote:
                I have Apache installed on WinXP and I have downloaded the Mod_JK2 connector ( the module is mod_jk2.so NOT mod_jk2.dll is this correct???)


                A DLL is a Dynamic Linked Library (Win16/32 technology).

                An .so is a shard object - a Unix technology.

                My guess is you should look for mod_jk2.dll.