This is an automated email from the ASF dual-hosted git repository.
oleewere pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/ambari.git
The following commit(s) were added to refs/heads/trunk by this push:
new 2d925a4 AMBARI-23945. Embed backup/migration/restore collection steps
to README.md
2d925a4 is described below
commit 2d925a47011283d25bb31fd7c16dce21defb7356
Author: Olivér Szabó <[email protected]>
AuthorDate: Thu Jun 14 16:06:16 2018 +0200
AMBARI-23945. Embed backup/migration/restore collection steps to README.md
---
ambari-infra/ambari-infra-solr-client/README.md | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/ambari-infra/ambari-infra-solr-client/README.md
b/ambari-infra/ambari-infra-solr-client/README.md
index 5ba76e5..901573a 100644
--- a/ambari-infra/ambari-infra-solr-client/README.md
+++ b/ambari-infra/ambari-infra-solr-client/README.md
@@ -158,6 +158,8 @@ These tasks can be done with 1
[migrationHelper.py](#solr-migration-helper-scrip
If the script finished successfully and everything looks green on Ambari UI as
well, you can go ahead with [Infra Solr package
upgrade](#iii.-upgrade-infra-solr-packages). Otherwise (or if you want to go
step by step instead of the command above) you have to option to run tasks step
by step (or manually as well). Those tasks are found in the next sections.
+[](https://asciinema.org/a/187124?speed=2)
+
#### <a id="ii/1.-backup-ranger-collection">III/1. Backup Ranger collection</a>
The [migrationHelper.py](#solr-migration-helper-script) script can be used to
backup only Ranger collection (use `-s` option to filter on services)
@@ -373,6 +375,8 @@ The whole migration can be done with execuing 1 command;
```
If the script finished successfully and everything looks green on Ambari UI as
well, you can go ahead with [Restore collections](#vi.-restore-collections).
Otherwise (or if you want to go step by step instead of the command above) you
have to option to run tasks step by step (or manually as well). Those tasks are
found in the next sections.
+[](https://asciinema.org/a/187125?speed=2)
+
#### <a id="v/1.-migrate-ranger-collections">VI/1. Migrate Ranger
collections</a>
Migration for `ranger_audits` collection (cores):
@@ -430,6 +434,8 @@ The collection creation and restore part can be done with 1
command:
If the script finished successfully and everything looks green on Ambari UI as
well, you can go ahead with [Restart Solr
Instances](#viii.-restart-infra-solr-instances). Otherwise (or if you want to
go step by step instead of the command above) you have to option to run tasks
step by step (or manually as well). Those tasks are found in the next sections.
+[](https://asciinema.org/a/187126?speed=2)
+
#### <a id="vi/1.-restore-old-ranger-collection">VII/1. Restore Old Ranger
collection</a>
After lucene data migration is finished, you can restore your replicas on
every hosts where you have the backups. But we need to restore the old data to
a new collection, so first you will need to create that: (on a host where you
have an installed Infra Solr component). For Ranger, use old_ranger_audits
config set that you backup up during Solr schema config upgrade step. (set this
as CONFIG_NAME), to make that collection to work with Solr 7, you need to copy
your solrconfig.xml as well.
--
To stop receiving notification emails like this one, please contact
[email protected].