Skip to content

Commit 6d889f7

Browse files
authored
Simplify azure discovery installation docs (#88404) (#88529)
The installation docs for azure discovery suggest installing Elasticsearch, and then verifying it is running. However, installation packages do not generally automatically start an installed service. For example, with systemd, once a package is installed it must be enabled and/or started explicitly. This commit removes wording about verifying Elasticsearch is running, as well as adjusts later docs about restarting it.
1 parent c211984 commit 6d889f7

File tree

1 file changed

+2
-44
lines changed

1 file changed

+2
-44
lines changed

docs/plugins/discovery-azure-classic.asciidoc

Lines changed: 2 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -333,53 +333,11 @@ ssh azure-elasticsearch-cluster.cloudapp.net
333333

334334
Once connected, {ref}/install-elasticsearch.html[install {es}].
335335

336-
Check that Elasticsearch is running:
337-
338-
[source,console]
339-
----
340-
GET /
341-
----
342-
343-
This command should give you a JSON result:
344-
345-
["source","js",subs="attributes,callouts"]
346-
--------------------------------------------
347-
{
348-
"name" : "Cp8oag6",
349-
"cluster_name" : "elasticsearch",
350-
"cluster_uuid" : "AT69_T_DTp-1qgIJlatQqA",
351-
"version" : {
352-
"number" : "{version_qualified}",
353-
"build_type" : "{build_type}",
354-
"build_hash" : "f27399d",
355-
"build_flavor": "default",
356-
"build_date" : "2016-03-30T09:51:41.449Z",
357-
"build_snapshot" : false,
358-
"lucene_version" : "{lucene_version}",
359-
"minimum_wire_compatibility_version" : "1.2.3",
360-
"minimum_index_compatibility_version" : "1.2.3"
361-
},
362-
"tagline" : "You Know, for Search"
363-
}
364-
--------------------------------------------
365-
// TESTRESPONSE[s/"name" : "Cp8oag6",/"name" : "$body.name",/]
366-
// TESTRESPONSE[s/"cluster_name" : "elasticsearch",/"cluster_name" : "$body.cluster_name",/]
367-
// TESTRESPONSE[s/"cluster_uuid" : "AT69_T_DTp-1qgIJlatQqA",/"cluster_uuid" : "$body.cluster_uuid",/]
368-
// TESTRESPONSE[s/"build_hash" : "f27399d",/"build_hash" : "$body.version.build_hash",/]
369-
// TESTRESPONSE[s/"build_date" : "2016-03-30T09:51:41.449Z",/"build_date" : $body.version.build_date,/]
370-
// TESTRESPONSE[s/"build_snapshot" : false,/"build_snapshot" : $body.version.build_snapshot,/]
371-
// TESTRESPONSE[s/"minimum_wire_compatibility_version" : "1.2.3"/"minimum_wire_compatibility_version" : $body.version.minimum_wire_compatibility_version/]
372-
// TESTRESPONSE[s/"minimum_index_compatibility_version" : "1.2.3"/"minimum_index_compatibility_version" : $body.version.minimum_index_compatibility_version/]
373-
// So much s/// but at least we test that the layout is close to matching....
374-
375336
[[discovery-azure-classic-long-plugin]]
376337
===== Install Elasticsearch cloud azure plugin
377338

378339
[source,sh]
379340
----
380-
# Stop Elasticsearch
381-
sudo service elasticsearch stop
382-
383341
# Install the plugin
384342
sudo /usr/share/elasticsearch/bin/elasticsearch-plugin install discovery-azure-classic
385343
@@ -408,11 +366,11 @@ discovery:
408366
# path.data: /mnt/resource/elasticsearch/data
409367
----
410368

411-
Restart Elasticsearch:
369+
Start Elasticsearch:
412370

413371
[source,sh]
414372
----
415-
sudo service elasticsearch start
373+
sudo systemctl start elasticsearch
416374
----
417375

418376
If anything goes wrong, check your logs in `/var/log/elasticsearch`.

0 commit comments

Comments
 (0)