You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/common/de/update.asciidoc
+29-20Lines changed: 29 additions & 20 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -19,7 +19,7 @@ Das Update von {CMK} auf eine neue Version läuft etwas anders als bei anderer S
19
19
Warum?
20
20
21
21
Grund ist, dass {CMK} nicht nur mehrere unabhängige *Instanzen* (_sites_) auf einem Server erlaubt,
22
-
sondern auch mehrere gleichzeitig installierte xref:cmk_versions#[Software-Versionen.]
22
+
sondern auch mehrere gleichzeitig installierte xref:cmk_versions#[Software-Versionen.]
23
23
Dabei ist jede Instanz einer installierten Version zugeordnet.
24
24
Nehmen Sie als Beispiel folgende Situation auf einem fiktiven Server:
25
25
@@ -87,17 +87,17 @@ Daher raten wir von diesem Vorgehen dringend ab – und können auch bei einem U
87
87
[#incompatible_mkps]
88
88
=== Inkompatible und obsolete MKPs
89
89
90
-
Über die xref:glossar#mkp[{CMK}-Erweiterungspakete (MKPs)] lässt sich Ihr Monitoring-System recht einfach und bequem erweitern.
91
-
Auf der einen Seite kommt es dabei vor, dass solche MKPs nicht weiter gepflegt werden und dann ggf. mit neuen Versionen von {CMK} nicht mehr kompatibel sind.
92
-
Auf der anderen Seite nehmen wir immer wieder neue Plugins und Funktionserweiterungen in {CMK} auf, weshalb MKPs mitunter obsolet werden.
90
+
Über die xref:glossar#mkp[{CMK}-Erweiterungspakete (MKPs)] lässt sich Ihr Monitoring-System recht einfach und bequem erweitern.
91
+
Auf der einen Seite kommt es dabei vor, dass solche MKPs nicht weiter gepflegt werden und dann ggf. mit neuen Versionen von {CMK} nicht mehr kompatibel sind.
92
+
Auf der anderen Seite nehmen wir immer wieder neue Plugins und Funktionserweiterungen in {CMK} auf, weshalb MKPs mitunter obsolet werden.
93
93
Ihre Funktionalität wird schlicht von {CMK} selbst sichergestellt.
94
94
95
-
Falls Sie MKPs installiert haben, ist aus diesem Grund eine Prüfung dieser MKPs dringend geboten.
95
+
Falls Sie MKPs installiert haben, ist aus diesem Grund eine Prüfung dieser MKPs dringend geboten.
96
96
So verhindern Sie, dass inkompatible Pakete das Update behindern oder im Anschluss an das Update doppelte oder zumindest sehr ähnliche Services entstehen.
97
97
98
-
Prüfen Sie hierzu Ihre installierten MKPs gegen unseren link:https://checkmk.com/de/integrations[Katalog der Check-Plugins^] und entfernen Sie Pakete, welche inzwischen nativ von {CMK} bereitgestellt werden.
99
-
Bei dieser Gelegenheit können Sie auch MKPs entfernen, die eventuell nur mal für einen Probelauf installiert worden sind.
100
-
Eine Auflistung finden Sie im [.guihint]#Setup#-Menü unter [.guihint]#Maintenance > Extension packages#.
98
+
Prüfen Sie hierzu Ihre installierten MKPs gegen unseren link:https://checkmk.com/de/integrations[Katalog der Check-Plugins^] und entfernen Sie Pakete, welche inzwischen nativ von {CMK} bereitgestellt werden.
99
+
Bei dieser Gelegenheit können Sie auch MKPs entfernen, die eventuell nur mal für einen Probelauf installiert worden sind.
100
+
Eine Auflistung finden Sie im [.guihint]#Setup#-Menü unter [.guihint]#Maintenance > Extension packages#.
101
101
Auf der Kommandozeile können Sie sich installierte Erweiterungen mit dem Befehl `mkp list` anzeigen lassen.
102
102
Überprüfen Sie die Ausgabe dieses Befehls auf Erweiterungen, die nicht mehr benötigt werden oder die Sie gar nicht mehr zuordnen können.
103
103
@@ -107,16 +107,16 @@ Details erklärt der xref:mkps#[Artikel zur Verwendung von MKPs].
107
107
108
108
*Achtung:*
109
109
Wenn Sie an Dateien, die ursprünglich MKPs entstammen, lokal Änderungen vorgenommen haben, packen Sie das MKP nach Erhöhung der Versionsnummer neu.
110
-
Während des Updates werden sonst geänderte Dateien durch die im MKP enthaltenen überschrieben.
110
+
Während des Updates werden sonst geänderte Dateien durch die im MKP enthaltenen überschrieben.
111
111
112
112
// MFS: Sollte hier nicht besser der Verweis auf mkp find und die Empfehlung, vor dem Update MKPs zu erstellen, hin?
113
113
//SP: Nein, das wird ja im folgenden Abschnitt aufgeführt.
114
114
115
115
[#local_files]
116
116
=== Lokale Dateien
117
117
118
-
Mit lokalen Dateien können Sie die von {CMK} bereitgestellte Funktionalität anpassen und erweitern.
119
-
Diese Dateien befinden sich im lokalen Teil der Instanzverzeichnisstruktur, d. h. in `~/local`.
118
+
Mit lokalen Dateien können Sie die von {CMK} bereitgestellte Funktionalität anpassen und erweitern.
119
+
Diese Dateien befinden sich im lokalen Teil der Instanzverzeichnisstruktur, d. h. in `~/local`.
120
120
Lokale Dateien können bei einem Update Probleme bereiten, da sie eventuell nicht mehr zur neuen {CMK}-Version passen.
121
121
122
122
Da es für {CMK} bei einem Update nicht möglich ist, die lokalen Anpassungen und jede von einem Drittanbieter hergestellte Erweiterung abzufangen und zu behandeln, sollten Sie Ihre {CMK}-Instanz vor einem Update daraufhin überprüfen, ob lokale Dateien bei Ihnen verwendet werden und gegebenenfalls welche.
@@ -135,11 +135,11 @@ Im Idealfall sind lokale Dateien bereits vollständig in xref:#incompatible_mkps
135
135
Verwenden Sie `mkp find` um unpaketierte Dateien zu identifizieren.
136
136
Die weitere Vorgehensweise der Erstellung von Paketen zeigt unser xref:mkps#developers[Artikel zu {CMK}-Erweiterungspaketen.]
137
137
Einmal zu einem Paket zusammengefasst, kann eine Erweiterung als ganzes deaktiviert oder erneut aktiviert werden.
138
-
138
+
139
139
[#backup]
140
140
=== Backup und Probelauf
141
141
142
-
Die Selbstverständlichkeit, ein Backup unmittelbar vor dem Update zu erstellen, um im Falle eines Fehlschlags nicht allzu viel Ihrer Monitoring-Historie zu verlieren, müssen wir Ihnen nicht erklären.
142
+
Die Selbstverständlichkeit, ein Backup unmittelbar vor dem Update zu erstellen, um im Falle eines Fehlschlags nicht allzu viel Ihrer Monitoring-Historie zu verlieren, müssen wir Ihnen nicht erklären.
143
143
An dieser Stelle relevant ist, dass ein reguläres Backup auch gute Dienste für den Probelauf eines Updates leisten kann.
144
144
So können Sie das Backup unter einem anderen Namen wiederherstellen – und anschließend mit der Instanz `newsite` das Update testen:
Es gibt zwei unterschiedliche Vorgehensweisen, um das Update aller in einem xref:distributed_monitoring#[verteilten Monitoring] beteiligten Instanzen – d.h. der Zentralinstanz und der Remote-Instanzen – durchzuführen.
499
499
500
-
*Wichtig:*
500
+
*Wichtig:*
501
501
Für welches Vorgehen Sie sich auch entscheiden:
502
502
Sie sollten auch in diesem Szenario vorher xref:backup#[Backups] aller Instanzen anlegen.
503
503
@@ -511,7 +511,7 @@ Ist dies nicht möglich – beispielsweise, weil die Umgebung auf Instanzen in v
511
511
Der Versionsunterschied darf bei Major-Updates exakt eine Version betragen und setzt immer ein bestimmtes Patchlevel der Ausgangsversion voraus.
512
512
513
513
Diese Reihenfolge muss dafür unbedingt eingehalten werden: Zunächst nehmen Sie die Aktualisierung aller Remote-Instanzen vor, erst als letztes führen Sie das Update der Zentralinstanz durch.
514
-
So ist sichergestellt, dass zu keinem Zeitpunkt eine von einer neueren {CMK}-Version erzeugte Konfiguration bei einer älteren {CMK}-Version landet.
514
+
So ist sichergestellt, dass zu keinem Zeitpunkt eine von einer neueren {CMK}-Version erzeugte Konfiguration bei einer älteren {CMK}-Version landet.
515
515
516
516
Die folgende Tabelle zeigt die möglichen Kombinationen beim Update von {v21} zur {v22}:
517
517
@@ -719,17 +719,26 @@ Daraus resultiert folgende Reihenfolge für das Upgrade:
719
719
. Hinterlegen Sie in der Zentralinstanz noch unter der {SE} die Subskriptionsdaten für die {CE}
720
720
. Führen Sie als letztes das Upgrade der Zentralinstanz auf {CE} durch.
721
721
722
-
Soll ein Upgrade direkt von der {RE} auf {CE} erfolgen, müssen Sie auf der Zentralinstanz als Zwischenschritt auf die {SE} hieven: Zuerst führen Sie das Upgrade der
723
-
Zentralinstanz von {RE} nach {SE} durch, es folgt das Upgrade der Remote-Instanzen direkt von {RE} nach {CE}. Zuletzt führen Sie noch das Upgrader der Zentralinstanz von {SE} nach {CE} durch.
722
+
Soll ein Upgrade direkt von der {RE} auf {CE} erfolgen, müssen Sie auf der Zentralinstanz als Zwischenschritt auf die {SE} hieven: Zuerst führen Sie das Upgrade der
723
+
Zentralinstanz von {RE} nach {SE} durch, es folgt das Upgrade der Remote-Instanzen direkt von {RE} nach {CE}. Zuletzt führen Sie noch das Upgrade der Zentralinstanz von {SE} nach {CE} durch.
724
724
725
725
[#down2cee]
726
-
== Downgrades
726
+
== Downgrades
727
727
728
728
=== Einleitung
729
729
730
730
Auch Downgrades zwischen den Editionen sind vorgesehen.
731
-
Ein Downgrade ist eine komplexere und damit zeitaufwändigere Aktion, da einige Funktionen in der Zielversion möglicherweise nicht funktionieren
732
-
und manuell deaktiviert und durch eine möglicherweise weniger effiziente oder weniger komfortable Alternative ersetzt werden müssen.
731
+
Ein Downgrade ist eine komplexere und damit zeitaufwändigere Aktion, da einige Funktionen in der Zielversion möglicherweise nicht funktionieren und manuell deaktiviert und durch eine möglicherweise weniger effiziente oder weniger komfortable Alternative ersetzt werden müssen.
732
+
733
+
Das eigentliche Downgrade *muss* - genau wie beim Update oder Upgrade - mit dem Befehl `omd update` durchgeführt werden.
734
+
Die Details dazu finden Sie im im Abschnitt xref:update#execute[Durchführen des Updates.]
735
+
736
+
Wenn Sie nun beispielsweise von der {CE} auf die {SE} downgraden wollen, überzeugt sich {CMK}, ob das tatsächlich Ihre Intention ist:
737
+
738
+
image::update_downgrade_ce_se.png[width=30%]
739
+
740
+
Sobald Sie diese Abfrage mit [.guihint]#yes# bestätigen, geht das Downgrade unmittelbar los.
741
+
Informieren Sie sich im Folgenden unbedingt, was *vor* diesem Downgrade zu erledigen ist.
Copy file name to clipboardExpand all lines: src/common/en/update.asciidoc
+24-14Lines changed: 24 additions & 14 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -18,7 +18,7 @@ xref:cmc_migration#[Migration to the CMC]
18
18
Updating {CMK} is a bit different than most other software packages that you may be familiar with.
19
19
Why is that?
20
20
21
-
The reason is that {CMK} not only allows multiple independent *sites* to run on a single server,
21
+
The reason is that {CMK} not only allows multiple independent *sites* to run on a single server,
22
22
but it also allows multiple xref:cmk_versions#[software versions] to be installed simultaneously.
23
23
With this system each site is assigned to an installed version of the software.
24
24
To illustrate, we can take the following situation on a fictional server:
@@ -73,17 +73,17 @@ We therefore strongly advise against such a procedure -- and will also no longer
73
73
[#incompatible_mkps]
74
74
=== Incompatible and obsolete MKPs
75
75
76
-
Your monitoring system can be extended quite easily and conveniently using the xref:glossar#mkp[{CMK} extension packages (MKPs)].
77
-
On the one hand, it is possible that some older MKPs are no longer being maintained and thus may no longer be compatible with newer versions of {CMK}.
78
-
On the other hand, we keep adding new plug-ins and functional extensions to {CMK}, which is why MKPs sometimes become obsolete.
76
+
Your monitoring system can be extended quite easily and conveniently using the xref:glossar#mkp[{CMK} extension packages (MKPs)].
77
+
On the one hand, it is possible that some older MKPs are no longer being maintained and thus may no longer be compatible with newer versions of {CMK}.
78
+
On the other hand, we keep adding new plug-ins and functional extensions to {CMK}, which is why MKPs sometimes become obsolete.
79
79
The functionality of those plug-ins and extensions is simply provided by {CMK} itself as standard.
80
80
81
-
If you have any MKPs installed, a check of these MKPs is strongly recommended for this reason.
81
+
If you have any MKPs installed, a check of these MKPs is strongly recommended for this reason.
82
82
This will prevent incompatible packages from interfering with the update, or resulting in duplicate or at least very similar services following the update.
83
83
84
-
To do this, check your installed MKPs against our link:https://checkmk.com/integrations[Catalog of Check Plug-ins^] and remove any packages containing functions that are now provided natively by {CMK}.
85
-
You can also use this opportunity to remove MKPs that may have only been installed for a test run.
86
-
A list can be found in the [.guihint]#Setup# menu under [.guihint]#Maintenance > Extension packages#.
84
+
To do this, check your installed MKPs against our link:https://checkmk.com/integrations[Catalog of Check Plug-ins^] and remove any packages containing functions that are now provided natively by {CMK}.
85
+
You can also use this opportunity to remove MKPs that may have only been installed for a test run.
86
+
A list can be found in the [.guihint]#Setup# menu under [.guihint]#Maintenance > Extension packages#.
87
87
On the command line, you can display the installed extensions with the `mkp list` command.
88
88
Check the output of this command for extensions that are no longer needed or that you cannot even identify.
89
89
@@ -99,8 +99,8 @@ During the update, otherwise modified files will be overwritten by those contain
99
99
[#local_files]
100
100
=== Local files
101
101
102
-
Local files allow you to customize and extend the functionality provided by {CMK}.
103
-
These files are located in the local part of the site directory structure, i.e. in `~/local`.
102
+
Local files allow you to customize and extend the functionality provided by {CMK}.
103
+
These files are located in the local part of the site directory structure, i.e. in `~/local`.
104
104
Local files can cause problems when updating, as they may no longer match the new {CMK} version.
105
105
106
106
Since it is not possible for {CMK} to intercept and handle local customizations and any third-party extension during an update, you should check your {CMK} site before an update to see if and which local files you are using.
@@ -124,7 +124,7 @@ Once packaged, each extension can be deactivated or reactivated as a complete el
124
124
[#backup]
125
125
=== Backup and test run
126
126
127
-
We don't need to remind you of the importance of creating a backup immediately before any update, so that you don't risk losing too much of your monitoring history in the event of a failure.
127
+
We don't need to remind you of the importance of creating a backup immediately before any update, so that you don't risk losing too much of your monitoring history in the event of a failure.
128
128
What is relevant at this point is that a regular backup can also serve you well for test runs of a pending update.
129
129
This practice enables you to restore the backup under an alternative name -- and then use the `newsite` site to test the update before it goes live:
There are two different procedures for performing the update of all sites included in a xref:distributed_monitoring#[distributed monitoring] -- i.e. the central site and any remote sites controlled by it.
479
479
480
-
*Important:*
480
+
*Important:*
481
481
Whichever approach you choose, as the very first step you should create xref:backup#[backups] of all sites in the environment.
482
482
483
483
The preferred, safest procedure is to _update in one go_, in which you perform the following steps:
@@ -697,14 +697,24 @@ If you want to upgrade directly from {RE} to {CE}, you must upgrade the central
697
697
698
698
699
699
[#down2cee]
700
-
== Downgrades
700
+
== Downgrades
701
701
702
702
=== Introduction
703
703
704
704
Downgrades between editions are also possible.
705
705
A downgrade is a more complex and thus time-consuming action, since some features may not work in the target edition,
706
706
and will need to be manually deactivated and replaced by a possibly less efficient or less convenient alternative.
707
707
708
+
The actual downgrade *must* be carried out with the command `omd update` - just like an update or upgrade.
709
+
The details can be found in the section xref:update#execute[Performing the update].
710
+
711
+
If you try to downgrade from {CE} to {SE}, for example, {CMK} will verify whether this is actually your intention:
712
+
713
+
image::update_downgrade_ce_se.png[width=30%]
714
+
715
+
As soon as you confirm this dialog with [.guihint]#yes#, the downgrade starts immediately.
716
+
Please find out below what you need to do *before* this downgrade.
717
+
708
718
709
719
[#cce2cee]
710
720
=== Downgrading from the {CE} to the {SE}
@@ -834,7 +844,7 @@ As always, paths that do not begin with `/` apply after the site's home director
834
844
835
845
[cols="25,~"]
836
846
|===
837
-
|File path |Function
847
+
|File path |Function
838
848
839
849
|`~/version` |Symbolic link to the installation of the {CMK} version used by this site.
840
850
|`/omd/versions` |In this directory a subdirectory exists for every installed {CMK} version. The files belonging to `root` and are never changed.
0 commit comments