Cluster

ノード間通信:JGroupsサブシステム、

セッションレプリケーション:Infinispanサブシステム

★コネクタの比較

★Standalone mode cluster

http://localhost:8080 (nodeA)

http://localhost:8180 (nodeB)

bin/standalone.sh -c standalone-ha.xml -Djboss.node.name=nodeA > log/nodeA.log

bin/standalone.sh -c standalone-ha.xml -Djboss.node.name=nodeB -Djboss.socket.binding.port-offset=100 -Dpreferred.node.name=nodeB > log/nodeB.log

※preferred.node.name:カスタムシステムプロパティ

★Domain mode cluster

bin/jboss-cli.sh

connect

:restart-servers ドメイン内の全てのサーバを再起動

:start-servers ドメイン内の全てのサーバを起動

:stop-servers ドメイン内の全てのサーバを停止

※予めdomain.shが実行済

★JBossによるクラスタ設計

※他サイトを引用

※他サイトを引用