4 Replies Latest reply on Oct 12, 2011 10:05 AM by wdfink

    clustering setup

    cgkjboss

      Hi, I am setting up a clustered jboss server for ma dph.  I have installed jboss 5.1.0.ga, upgraded jdk to 1.6, set the messaging password, set a new DefaultPartion, installed the Oracle DataSource, and determined a valid run command as: run.sh -c all -u IP1 -b IP2 -ServerPeerID=X where IP1 is a multicast address (e.g. 238.10.10.100, 238.10.10.200, ...) IP2 is a server IP address for the URI (e.g. 111.10.101.241).  My question is simple:

       

      I am running rhel 5.2

      My question is how to I set up the multicast address starting from a stock rhel 5.2 install.

      Please provide the full command set for example is it something like

      on server 1: route add -net 238.10.10.100 netmask 240.0.0.0 dev eth0

      ??

      Also is there an rhel command to start the multicast services (e.g. mcastd) ??

       

      Bottom line, please provide a quick step by step that I can implement on each of my servers to set up a multinode jboss cluster to use the run.sh command above:

      e.g.: server 1: run.sh -c all -u 238.10.10.100 -b 111.10.101.241 -ServerPeerID=1

      and  server 2: run.sh -c all -u 238.10.10.200 -b 111.10.101.222 -ServerPeerID=2

      where -b is the bind adress.

      Also does it make sense to use the -u or is there a more appropriate run.sh command?

      Thanks in advance for you help..

      Chris Kennedy

       

      Does ifconfig play in somehow, or netstat -a ?

       

      Message was edited by:

      Chris Kennedy Please advise ...

      Still having problems running application on Jboss5.2.0.GA Oracle 10.2. 

      Wolf, per your request, I have included:

      1. Server,

      2. boot,

      3. hibernate and
      4. application logs. 

       

      Note the hibernate log shows "No JNDI Name configured".  Please tell me how to establish this connection.  I have copied  docs/examples/jca/oracle-ds.xml to jboss-5.1.0.GA/server/ChadsDev/deploy and set my IP/Port/SID/and User info.  ChadsDev is my application partition.

      Where you see maven in the logs this refers to the application, not apache maven. 

       

      Thank you, Chris Kennedy

       

      Message was edited by: Chris Kennedy

        • 1. Re: clustering setup
          wdfink

          I suppose you try to setup a cluster, in this case the multicast address fot -u must be equal!

          Otherwise the cluster will not find together.

          • 2. Re: clustering setup
            cgkjboss

            Hi Wolf fink so my startup on the two independent nodes is:

            server 1: run.sh -c all -u 238.10.10.100 -b 111.10.101.241 -ServerPeerID=1

            server 2: run.sh -c all -u 238.10.10.100 -b 111.10.101.222 -ServerPeerID=2

            is this right?

            If so then how do I config the rhel server to do the multicasting?  Or does jboss do this somehow?

            I think I need to set up a group management protocol file??  Can you provide any information on this?

            Also I think I need to add a route.  can you provide an rhel 5.2 command for this with parameters. 

            Is it something like: route add -net 238.10.10.100 netmask 240.0.0.0/4 eth1 ??

            Thanks Chris

            • 3. Re: clustering setup
              cgkjboss

              also do I need to run a daemon to accept the multicast packets?  I.e. is there a daemon to start?

              1 of 1 people found this helpful
              • 4. Re: clustering setup
                wdfink

                For me it works without change at OS level (if you in the same sub-network).

                I do not know about how to configure the network.

                You might check with http://community.jboss.org/wiki/TestingJBoss