API Gateway 11.1 | Administering API Gateway | Performance Tuning and Scaling | Scaling | Scaling up External Elasticsearch
 
Scaling up External Elasticsearch
*To scale up external Elasticsearch
1. Install external Elasticsearch in a new node.
2. Configure the required heap size. For information on increasing heap size, see Changing the JVM Heap Size to Tune API Gateway Performance.
3. In the Elasticsearch.yml file of the new node, modify the following:
*Set the value of the node.roles to [ data ] if the node is not a master node; and set it to [ master, data ], if the node is a master node.
*Specify the value of the path.repo variable same as the value in other nodes.
*Specify the names of the nodes in the discovery.seed.hosts variable, in the following format:
host_name:port
For example,
discovery.seed_hosts: ["node1:9340","node2:9340","noden":"9340"]
The node names must be same as the list of nodes provided in the cluster.initial_master_nodes variable.
*Save the configurations.
*Start the external Elasticsearch.
Scale up Elasticsearch
The external Elasticsearch node is added and scaled up.