Comments (1)
Using the portal UI, it is not possible to add another data node to an existing Elasticsearch cluster. You used to be able to deploy to an existing resource group from within the portal UI but this feature was removed by Microsoft, so the portal UI only allows deployments into a new resource group.
The deployment template itself however does allow you to deploy into an existing resource group, so using the Azure CLI command line tools, it is possible to scale up (or down) an existing Elasticsearch cluster. This scaling mechanism however is not intended to be a foolhardy solution but can be an easy way to add additional nodes to an existing cluster, and tends to work best when you have dedicated master nodes and simply wish to add additional data nodes. For a cluster in production, I would recommend developing automation with something like puppet to suit your organisational requirements.
Some important points to highlight for how scaling with the template works:
The ARM template deploys in incremental mode meaning that it
- leaves unchanged resources that exist in the resource group but are not specified in the template
- adds resources that are specified in the template but do not exist in the resource group
- does not re-provision resources that exist in the resource group in the same condition defined in the template
- re-provisions existing resources that have updated settings in the template
so when you use the deployment template to add an additional data node, be sure to specify all of the same settings as you did when you originally deployed the template, changing only the number of data nodes.
If you are not using dedicated master nodes i.e. you have master eligible data nodes only, the template should update the elasticsearch yaml configuration file on each existing and new data node to set discovery.zen.minimum_master_nodes
to a quorum of the number of master eligible nodes. I would recommend checking that this is the case after deployment has finished by running
sudo grep discovery.zen.minimum_master_nodes /etc/elasticsearch/elasticsearch.yml
The number assigned to discovery.zen.minimum_master_nodes
should be the same across all nodes and be equal to (number of master eligible nodes / 2) + 1
so for 3 master eligible nodes, discovery.zen.minimum_master_nodes
should be 2
.
Similarly, discovery.zen.ping.unicast.hosts
should also be updated on each node and be seeded with the host names of either the master nodes if using dedicated master nodes, or the host names of all master eligible nodes.
from azure-marketplace.
Related Issues (20)
- Add support for Elastic Stack 7.10.0
- Resizing VMs breaks the cluster? HOT 5
- Add support for Availability Zones to increase high availability HOT 4
- Problem deploying with self-managed - "Could not update the built-in elastic user" HOT 2
- version 6.8.14 can not be installed HOT 5
- "Transport SSL must be enabled if security is enabled on a [basic] license" - how to disable correctly? HOT 3
- Add Support for Kibana to _not_ have a public IP address but still be deployed HOT 1
- Support for other versions of Ubuntu? HOT 2
- Azure extension for Elasticsearch install is failing HOT 10
- Change ARM template to use a supported Ubuntu LTS version HOT 8
- Add support for Elastic Stack 7.13.1 HOT 1
- Use existing Storage account while deploying Elastic
- kibana get 401 Unauthorized HOT 1
- any plans to provide a bicep template? HOT 1
- Deploying Version 7.16.2 HOT 2
- Can't Connect to Node HOT 1
- Unable to retrieve prices and legal terms HOT 1
- Any plan to add support to Azure Canada region?
- Choose hardware profile while Creating Elastic Resource from Azure Marketplace HOT 2
- virtualNetwork requirement
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from azure-marketplace.