Scaling up API Data Store
About this task
To scale up API Data Store
Procedure
- Install API Data Store or Elasticsearch in a new node.
- Configure the required heap size. For information on increasing heap size, see Changing the JVM Heap Size to Tune API Gateway Performance.
-
In the
Elasticsearch.yml file of the new node, modify
the following:
- Set the value of the node.master to false if the node is not a master node; and set it to true, if the node is a master node.
- Set the value of the node.data to true
- 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:
For example,host_name:port
The node names must be same as the list of nodes provided in the cluster.initial_master_nodes variable.discovery.seed_hosts: ["node1:9340","node2:9340","noden":"9340"]
- Save the configurations.
- Start the API Data Store or Elasticsearch.
The API Data Store node is added and scaled up.