Skip to content

Commit c89e112

Browse files
authored
[DOCS] Deprecates migration assistance and upgrade APIs (#247)
1 parent 2950129 commit c89e112

File tree

1 file changed

+15
-20
lines changed

1 file changed

+15
-20
lines changed

docs/en/install-upgrade/upgrading-stack.asciidoc

Lines changed: 15 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -199,12 +199,15 @@ need to be migrated or deleted, and upgrade the internal indices to the
199199
+
200200
You can also call the Elasticsearch migration APIs directly:
201201
+
202-
`/_xpack/migration/assistance`:: Runs a series of checks on your cluster,
203-
nodes, and indices and returns a list of issues that need to be
204-
fixed before you can upgrade to {version}.
202+
`/_xpack/migration/deprecations`:: Retrieves information about cluster-, node-,
203+
and index-level settings that use deprecated features.
205204
+
206-
`/_xpack/migration/upgrade`:: Upgrades the indices for the {watcher} and
207-
{security-features} to a single-type format compatible with Elasticsearch 6.x.
205+
`/_xpack/migration/assistance`:: deprecated[6.7.0] Returns a list of indices
206+
that need to be reindexed before you can upgrade to {version}.
207+
+
208+
`/_xpack/migration/upgrade`:: deprecated[6.7.0] Upgrades the indices for the
209+
{watcher} and {security-features} to a single-type format compatible with
210+
Elasticsearch 6.x.
208211

209212
. Once you've resolved all of the migration issues, perform
210213
a {ref}/rolling-upgrades.html[rolling upgrade] from Elasticsearch 5.6 to {version}.
@@ -239,34 +242,26 @@ these indices must be upgraded to the new format. If you are upgrading from a
239242
version prior to 5.6, you must upgrade them after after installing
240243
Elasticsearch {version}.
241244

242-
To get a list of the indices that need to be upgraded, install {xpack} and use
243-
the {ref}/migration-api-assistance.html[`_xpack/migration/assistance` API]:
245+
To get a list of the indices that need to be upgraded, use the
246+
{ref}/migration-api-deprecation.html[deprecation info API]:
244247

245248
[source,json]
246249
----------------------------------------------------------
247-
GET /_xpack/migration/assistance
250+
GET /_xpack/migration/deprecations
248251
----------------------------------------------------------
249252
// CONSOLE
250253

251254
To upgrade the `.security` index:
252255

253256
. On a single node, add a temporary superuser account to the `file` realm.
254-
. Use the {ref}/migration-api-upgrade.html[`_xpack/migration/upgrade`]
255-
API to upgrade the security index, submitting the request with the credentials
256-
for the temporary superuser:
257-
+
258-
--
259-
[source,json]
260-
----------------------------------------------------------
261-
POST /_xpack/migration/upgrade/.security
262-
----------------------------------------------------------
263-
// CONSOLE
264-
--
257+
. Use the {kib} Upgrade Assistant to upgrade the security index, submitting the
258+
request with the credentials for the temporary superuser. Alternatively, you can
259+
{ref}/reindex-upgrade.html[reindex manually].
265260

266261
. Delete the temporary superuser account from the file realm.
267262

268263
You can use your regular administration credentials to upgrade the other
269-
internal indices using the `_xpack/migration/upgrade` API.
264+
internal indices.
270265

271266
TIP: Once you upgrade the `.kibana` index, you can run Kibana and use the
272267
{xpack} Reindex Helper UI to upgrade the other indices.

0 commit comments

Comments
 (0)