Werk #7088: omd update can now be performed without access to source version

Component Site management
Title omd update can now be performed without access to source version
Date Feb 18, 2019
Checkmk Edition Checkmk Raw (CRE)
Checkmk Version 1.6.0b1 2.0.0i1
Level Prominent Change
Class New Feature
Compatibility Compatible - no manual interaction needed

The "omd update" procedure, which is used to perform a version update for a site, always needed access to the previous version, the new version and the site.

Since this change it is now possible to perform an update without access to the old version. This is possible becase we copy the information that are needed to the Check_MK site during site creation.

This new mechanism can only be used when updating FROM a site that already implements this werk.

Technical detail:

  • The meta files are saved for the first time during "omd create"
  • The meta files are updated to the new version during each "omd update"
  • The files are copied to the sites .version_meta directory.
  • The directory /omd/versions/[version]/skel is copied.
  • The file /omd/versions/[version]/share/omd/skel.permissions is copied.
  • A file .version_meta/version is created.
  • When an update is performed, the meta files are used if they are available and up-to-date. In case they don't fit these conditiones, the previous version files need to be available as before this werk.

To the list of all Werks