-
Notifications
You must be signed in to change notification settings - Fork 188
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'origin/master' into feature/merge
- Loading branch information
Showing
44 changed files
with
1,097 additions
and
418 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
= Import audit | ||
|
||
#TODO# | ||
//TODO |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,26 @@ | ||
= Upgrade distribution | ||
|
||
#TODO# | ||
Upgrade distribution command a composite command that will do multiple steps at once: | ||
|
||
* xref:./pre-upgrade-check.adoc[Pre-upgrade check | ||
* xref:./verify.adoc[Verification] | ||
* xref:./download-distribution.adoc[Download distribution] | ||
* Upgrade DB schema | ||
* xref:./upgrade-installation.adoc[Upgrade installation] | ||
MidPoint has to be down before this command is executed. | ||
|
||
Pre-upgrade check can be skipped if necessary using `--skip-pre-check` option. | ||
This might be useful for custom builds with DB schema version that doesn't match proper version of relevant midPoint release. | ||
|
||
Verification in step two will check for items with _critical_ priority and stops upgrade if there are any. | ||
Although not recommended, verification step can be skipped by using `--skip-verification` option. | ||
|
||
Download distribution step can be customized with option `--distribution-version` to download specific version of midPoint. | ||
To skip download altogether, ninja can be pointed to already downloaded archive using `--distribution-archive` option. | ||
|
||
Upgrade DB schema will use xref:../command/run-sql.adoc[run-sql] command to upgrade DB schema using SQL scripts downloaded in previous steps. | ||
|
||
Final step is upgrade installation that will update midPoint installation directory with new distribution. | ||
Backup of files can be created using `--backup-midpoint-directory` option. | ||
`midpoint.home` directory is not changed during this step. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,25 @@ | ||
= Upgrade objects | ||
|
||
Command `upgrade-objects` can be used to _upgrade_ objects to get rid deprecated or obsolete items and configuration. | ||
This operation can use CSV output file of `verify` command. | ||
Command `upgrade-objects` can be used to _upgrade_ objects to get rid of deprecated or obsolete data and configuration. | ||
This operation should be used with CSV output file from `verify` command. | ||
For more information about verification, see xref:./verify.adoc[]. | ||
|
||
Verification report should be reviewed before running upgrade command. | ||
It is important to understand what will be changed and how can it affect the system. | ||
|
||
Only verification items with _type = seamless_ will be updated. | ||
Scope of upgrade-objects command can be set in several ways: | ||
|
||
* by oid (`--oid`) | ||
* by type (`-t, --type`) and filter (`-f, --filter`) | ||
This way it is possible to upgrade only specific objects. | ||
Verification items can be skipped also using last column in CSV file. | ||
Any of `true`, `t`, `yes`, `y` will tell ninja to skip the item. | ||
|
||
.Example of command that upgrades objects, also with | ||
[source,bash] | ||
---- | ||
./bin/ninja.sh upgrade-objects \ | ||
--verification-file verify-output.csv | ||
---- | ||
|
||
#TODO# |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.