Scaling down API Gateway
About this task
To scale down API Gateway
Procedure
Remove a node from the cluster by performing the following steps:
- Enable the Quiesce mode in the node that you want to remove. The node will stop accepting transactions requests, and the Load balancer routes the requests to other nodes.
- Shutdown the node after a grace period to allow ongoing requests to complete. The period depends on the responsiveness of the native services and the timeout setting for outbound requests. The timeout for outbound requests is defined via watt.net.timeout configuration parameter
- Remove the node from the Load balancer.
The node is removed.
Scaling down API Gateway in a Reverse Invoke setup - DMZ Zone
About this task
Procedure
-
Remove a node from the DMZ zone by removing the node from the
Load balancer.
The node is removed.
- Shut down the node.
- After the grace period for the inflight transactions to complete, remove the internal port from the nodes in green zone, that is configured to connect to the removed API Gateway node from the DMZ zone.
Scaling down API Gateway in a Reverse Invoke setup - Green Zone
About this task
Procedure
Remove a node from the Green zone by performing the following
steps:
- Disable the internal ports of the node.
- Shut down the
instance in the node.
In-flight transactions would fail as the communication channel is closed.
The node is removed.