Software AG Products 10.7 | Configuring API Gateway | API Gateway Configuration with Command Central | Manage Inter-component and Cluster configurations | Configuring API Gateway Cluster | Configuring Cluster using Template
 
Configuring Cluster using Template
You can configure Cluster using the following Command Central template:
sagcc exec templates composite import -i cc-clustering.yaml

sagcc exec templates composite apply commandcentral-clustering-alias nodes=local tchost=terracotta_host tcport=terracotta_port
Sample clustering configuration template
alias: cc-clustering-alias
description: cluster config

layers:
runtime:
templates:
- cc-clustering

templates:
cc-clustering:
products:
integrationServer:
default:
configuration:
OSGI-IS_apigateway-WmAPIGateway:
COMMON-CLUSTER:
COMMON-CLUSTER:
Enabled: 'true'
Name: APIGatewayTSAcluster
Servers:
Server:
URL: daeirnd33974:9510
ExtendedProperties:
Property:
- '@name': SessionTimeout
$: '60'
- '@name': ActionOnStartupError
$: standalone

provision:
default:
runtime: ${nodes}