Clustering on two different machine(Jboss 3.2.3)
gugusamchil Feb 23, 2004 1:09 AMHello,
I want to clustering on two different machines (it is called S1,S2)
on S1, The following file is corrected.
1. cluster-service.xml modified
2. farm-service.xml modified
Similarly S2 is corrected.
and JBOSS was started(S1,S2) and the screen which inputted http://localhost:8080 by the browser appears perfectly.
s1 is dropped and http://localhost:8080 is inputted by the browser once again.
But a screen does not look right.
Since the cluster was carried out to S2 even if S1 falls, I thought that a screen looked right.
Was my idea wrong?
on S1 of log
------------------------------------
2004-02-23 05:21:53,126 INFO [org.jboss.ha.framework.server.ClusterPartition] Set the JGroups logging to log4j with category:org.apache.log4j.Logger@a51027, priority: DEBUG, JGroupsLevel: 4
2004-02-23 05:21:53,296 INFO [org.jboss.ha.framework.interfaces.HAPartition.LocalPartition] Initializing
2004-02-23 05:21:53,346 DEBUG [LocalPartition:ReplicantManager] registerRPCHandler
2004-02-23 05:21:53,346 DEBUG [LocalPartition:ReplicantManager] subscribeToStateTransferEvents
2004-02-23 05:21:53,346 DEBUG [LocalPartition:ReplicantManager] registerMembershipListener
2004-02-23 05:21:53,767 INFO [STDOUT]
-------------------------------------------------------
GMS: address is pdskm-lee:2760 (additional data: 17 bytes)
-------------------------------------------------------
2004-02-23 05:21:55,900 INFO [org.jboss.ha.framework.server.ClusterPartition] Starting channel
2004-02-23 05:21:55,900 INFO [org.jboss.ha.framework.interfaces.HAPartition.LocalPartition] Number of cluster members: 1
2004-02-23 05:21:55,900 INFO [org.jboss.ha.framework.interfaces.HAPartition.LocalPartition] Other members: 0
........
2004-02-23 05:25:44,138 INFO [org.jboss.ha.framework.interfaces.HAPartition.lifecycle.LocalPartition] New cluster view (id: 1, delta: 1) : [192.168.1.59:1099, 192.168.1.63:1099]
2004-02-23 05:25:44,218 INFO [LocalPartition:ReplicantManager] Dead members: 0
2004-02-23 05:25:46,161 DEBUG [LocalPartition:ReplicantManager] _add(HAJNDI, 192.168.1.63:1099
------------------------------------
on S2 of log
------------------------------------
2004-02-23 05:25:34,633 INFO [org.jboss.ha.framework.interfaces.HAPartition.LocalPartition] Initializing
2004-02-23 05:25:34,713 DEBUG [LocalPartition:ReplicantManager] registerRPCHandler
2004-02-23 05:25:34,713 DEBUG [LocalPartition:ReplicantManager] subscribeToStateTransferEvents
2004-02-23 05:25:34,713 DEBUG [LocalPartition:ReplicantManager] registerMembershipListener
2004-02-23 05:25:35,304 INFO [STDOUT]
-------------------------------------------------------
GMS: address is jw-hong:3065 (additional data: 17 bytes)
-------------------------------------------------------
2004-02-23 05:25:37,687 INFO [org.jboss.ha.framework.server.ClusterPartition] Starting channel
2004-02-23 05:25:37,697 INFO [org.jboss.ha.framework.interfaces.HAPartition.LocalPartition] Number of cluster members: 2
2004-02-23 05:25:37,707 INFO [org.jboss.ha.framework.interfaces.HAPartition.LocalPartition] Other members: 1
.......
------------------------------------
please, help me!!!