Websphere Clusters and Scalability
Websphere Clusters and Scalability
scalability
• Dynamic cluster
– A dynamic cluster is a fundamental building block of the dynamic operations
environment
– You must configure dynamic clusters to get Intelligent Management functionality,
such as high availability and service policies
– The application placement controller starts and stops dynamic cluster members
when running in supervised or automatic mode
– Dynamic clusters are more scalable than static clusters
Host computer A
50
HTTP server Cluster member 1
threads
Web container
Host
computer C
Database
Plug-in
server
Host computer B
Cluster member 2
Cluster
Cluster member
HTTP server 1
Plug-in
Cluster member
2
Plug-in
configuration
Cluster
Cluster member
HTTP server 2
Cluster
Plug-in Host computer B
Cluster member
3
Plug-in
configuration
Cluster member
4
Node agent
• Vertical scaling
– Adding WebSphere instances and new physical CPUs in existing logical
partitions
– Does not scale linearly at high numbers of physical processors (over 8)
• Consider the use of helper threads for garbage collection if the number
of logical processors that are assigned to the host logical partition is
high (over 8)
– Use the generic JVM argument -gcthreads
– The optimal number of garbage collection threads is about six
App App
version version
1.0 2.0
Intelligent routing
Intelligent management
A B C Node 1
Request flow
management Node 2
services A B C
Resource management
services
• Makes sure that resources are
available when needed
• Starts and stops servers
automatically
• Key service Application placement
controller
Node 1
Detects a sick server
Health •Excessive response time Node 2
2
controller •Excessive memory usage
•Excessive garbage collection …
Node n
Node 1
Runs recovery actions
Health •Take thread dump Node 2 3
controller •Restart server
…
•…
Node n
© Copyright IBM Corporation 2016
Intelligent routing
• A routing tier that is aware of what is happening on the application
server tier
– Knows which cluster members are currently started
– Knows application server usage, performance, and other statistics
– Understands service policies
– Routes work to the application server that can do it best
– Can route to multiple application editions
– Provides preference for higher priority requests (some restrictions)
– Provides processor and memory overload protection (some restrictions)
Dynamic Dynamic
cluster cluster
A dynamic cluster member
Node 1 Node 1
is started dynamically
to meet demand
Node 2 Node 2
Node 3 Node 3
Node 4 Node 4
TradeCluster HostB
TradeServer1
DayTrader
HostA application
HTTP server
HostC
TradeServer2
DayTrader
application
Plug-in
configuration
DB2 server
tradedb