What I have done so far
1.) Setup 2 servers (webname, host1 and host2 ) with local.app.properties
2.) Configure Jgroup
3.) start both server and login each application
I see the users session exists 2 at user sessions screen. Is it correct behavior? I’m expecting both nodes are sharing the same session. It means 1 record in user sessions screen
Hi,
There will be one session when you will introduce a load balancer that distributes sessions (with sticky session or ip-hash strategy) and hides two servers behind one domain name.
Even, we set this to TRUE but we are using different URL. The user sessions would have 2 because the user session is generated at web client block, right?
No, this parameter is to turn on synchronous replication of user session, instead of asynchronous which is the default. If you are using single war, then this parameter is not applicable to your configuration at all.
You will get two user sessions if you login two times.
You will have to login two times if you access web servers through different URLs.
You need a load balancer to hide cluster nodes between one URL.
Scheduling engine uses Server ID for tasks coordination and as an identifier in the logging (“Server” attribute in the Scheduled Task → Execution History screen).
No, this parameter is to turn on synchronous replication of user session, instead of asynchronous which is the default. If you are using single war, then this parameter is not applicable to your configuration at all.
How about this flag? Do I need to set if single war
The user token will replicate in both states. The replication will be synchronous or asynchronous, depending in the flag.
The flag may be essential to enable if you plan to use REST API with round-robin balancing (such balancing strategy can be used by REST clients, not for Web UI).