Verify version and platform before upgrade or ipactl start|restart
Upgrade:
* do not allow upgrade on different platforms
* do not allow upgrade data with higher version than build has
Start:
* do not start services if platform mismatch
* do not start services if upgrade is needed
* do not start services if data with higher version than build has
New ipactl options:
--skip-version-check: do not validate IPA version
--ignore-service-failures (was --force): ignore if a service start fail
and continue with starting other services
--force: combine --skip-version-check and --ignore-service-failures
https://fedorahosted.org/freeipa/ticket/4904
Reviewed-By: Jan Cholasta <jcholast@redhat.com>
Reviewed-By: David Kupka <dkupka@redhat.com>
47 lines
1.1 KiB
Groff
47 lines
1.1 KiB
Groff
.\"
|
|
.\" Copyright (C) 2015 FreeIPA Contributors see COPYING for license
|
|
.\"
|
|
|
|
.TH "ipa-server-upgrade" "1" "April 02 2015" "FreeIPA" "FreeIPA Manual Pages"
|
|
.SH "NAME"
|
|
ipa\-server\-upgrade \- upgrade IPA server
|
|
.SH "SYNOPSIS"
|
|
ipa\-server\-upgrade [options]
|
|
.SH "DESCRIPTION"
|
|
ipa\-server\-upgrade is used to upgrade IPA server when the IPA packages are being updated. It is not intended to be executed by end\-users.
|
|
|
|
ipa\-server\-upgrade will:
|
|
|
|
* update LDAP schema
|
|
* process all files with the extension .update in /usr/share/ipa/updates (including update plugins).
|
|
* upgrade local configurations of IPA services
|
|
|
|
.SH "OPTIONS"
|
|
.TP
|
|
\fB\-\-skip\-version-\check\fR
|
|
Skip version check. WARNING: this option may break your system
|
|
.TP
|
|
\fB\-\-force\fR
|
|
Force upgrade (alias for --skip-version-check)
|
|
.TP
|
|
\fB\-\-version\fR
|
|
Show IPA version
|
|
.TP
|
|
\fB\-h\fR, \fB\-\-help\fR
|
|
Show help message and exit
|
|
.TP
|
|
\fB\-v\fR, \fB\-\-verbose\fR
|
|
Print debugging information
|
|
.TP
|
|
\fB\-q\fR, \fB\-\-quiet\fR
|
|
Output only errors
|
|
.TP
|
|
\fB-\-log-file=FILE\fR
|
|
Log to given file
|
|
.TP
|
|
|
|
.SH "EXIT STATUS"
|
|
0 if the command was successful
|
|
|
|
1 if an error occurred
|