Page History
Sv translation | ||
---|---|---|
| ||
To set up BellaDati in cluster mode using Tomcat containers is a bit different compared to doing it in Glassfish (documented at Scaling BellaDati). Set upEven though Tomcat supports running in a cluster mode, we can't do it with BellaDati as it requires HTTP session objects to be serialisable which is currently not possible. Because of that the BD cluster must be set up as following:
It may be neccessary to add another JVM property to direct Akka to run under remote IP address of the host and not local (127.0.0.1), otherwise nodes wouldn't be able to talk to each other. The JVM property is -Dapplication.actor.server.host=<remote IP of the host> BellaDati (re-)deploymentAs each server in the BD cluster is running as a separate Tomcat installation, the (re-)deployment of BellaDati can't be done from a single central place as it is in case of Glassfish set up (see Scaling BellaDati). To (re-)deploy a new version of BellaDati:
|
Sv translation | ||||
---|---|---|---|---|
| ||||
Tomcat上でBellaDatiをクラスターモードで利用するためにはGlassfishとは異なる方法で行います(Glassfish上での設定方法はBELLADATIのスケーリングを参照)。 セットアップTomcatはクラスターモードをサポートするものの、BellaDatiはHTTPセッションオブジェクトのシリアル化を要するためこれを利用することができません。そのため、BellaDatiのクラスタ化は次の手順を行います:
ノード同士が通信しない場合、ローカル(127.0.0.1)ではなくホストのリモートIPアドレスでAkkaを動作させるために、JVMパラメーターに次の値を設定する必要がある場合がございます。
BellaDati (再)デプロイ手順各BDクラスタは独立したTomcatのインスタンスで稼働しているため、BellaDatiの(再)デプロイはGlassfishと異なり一括で行うことができません。(BELLADATIのスケーリングを参照). 新しいバージョンのBellaDatiを(再)デプロイするためには次の手順を行います。:
|