<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Configuration Management on </title>
    <link>http://51.159.138.137:8082/devel/software/upgrade_process/configuration_management_ee/</link>
    <description>Recent content in Configuration Management on </description>
    <generator>Hugo</generator>
    <language>en</language>
    <lastBuildDate>Mon, 17 Feb 2025 00:00:00 +0000</lastBuildDate>
    <atom:link href="http://51.159.138.137:8082/devel/software/upgrade_process/configuration_management_ee/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Overview</title>
      <link>http://51.159.138.137:8082/devel/software/upgrade_process/configuration_management_ee/overview/</link>
      <pubDate>Mon, 17 Feb 2025 00:00:00 +0000</pubDate>
      <guid>http://51.159.138.137:8082/devel/software/upgrade_process/configuration_management_ee/overview/</guid>
      <description>&lt;p&gt;&lt;a id=&#34;cfg-overview&#34;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&lt;!--# Overview --&gt;&#xA;&lt;p&gt;OpenNebula has tens of configuration files, where cloud administrators can fine-tune the behavior of their cloud environment. When carrying out an upgrade to a newer minor OpenNebula version (&lt;code&gt;X.Y&lt;/code&gt;), unfortunately all custom changes in configuration files must be migrated to new configuration files. OpenNebula includes a dedicated tool (&lt;code&gt;onecfg&lt;/code&gt;) which automates and simplifies the upgrade of configuration files.&lt;/p&gt;&#xA;&lt;p&gt;This Chapter describes how to use the configuration management tool to:&lt;/p&gt;</description>
    </item>
    <item>
      <title>Basic Usage</title>
      <link>http://51.159.138.137:8082/devel/software/upgrade_process/configuration_management_ee/usage/</link>
      <pubDate>Mon, 17 Feb 2025 00:00:00 +0000</pubDate>
      <guid>http://51.159.138.137:8082/devel/software/upgrade_process/configuration_management_ee/usage/</guid>
      <description>&lt;p&gt;&lt;a id=&#34;cfg-usage&#34;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&lt;!--# Basic Usage --&gt;&#xA;&lt;p&gt;This section covers &lt;code&gt;onecfg&lt;/code&gt; tool subcommands:&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&#34;http://51.159.138.137:8082/devel/software/upgrade_process/configuration_management_ee/usage/#cfg-status&#34;&gt;status&lt;/a&gt; - Version status&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;http://51.159.138.137:8082/devel/software/upgrade_process/configuration_management_ee/usage/#cfg-init&#34;&gt;init&lt;/a&gt; - Initialize version management state&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;http://51.159.138.137:8082/devel/software/upgrade_process/configuration_management_ee/usage/#cfg-validate&#34;&gt;validate&lt;/a&gt; - Validate current configuration files&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;http://51.159.138.137:8082/devel/software/upgrade_process/configuration_management_ee/usage/#cfg-diff&#34;&gt;diff&lt;/a&gt; - Identify changes in configuration files&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;http://51.159.138.137:8082/devel/software/upgrade_process/configuration_management_ee/usage/#cfg-patch&#34;&gt;patch&lt;/a&gt; - Apply ad-hoc changes (from diff) in configuration files&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;http://51.159.138.137:8082/devel/software/upgrade_process/configuration_management_ee/usage/#cfg-upgrade&#34;&gt;upgrade&lt;/a&gt; - Upgrade configuration files to a new version&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&#xA;&#xA;&#xA;&#xA;&#xA;&#xA;&#xA;&#xA;&lt;div class=&#34;alert alert-info&#34; role=&#34;alert&#34;&gt;&#xA;  &#xA;    &lt;div class=&#34;alert-heading&#34;&gt;&#xA;      &lt;i class=&#34;alert-icon fa-sharp fa-solid fa-circle-info&#34;&gt;&lt;/i&gt; Important&#xA;    &lt;/div&gt;&#xA;  &#xA;  &lt;div class=&#34;alert-body&#34;&gt;&#xA;    &lt;p&gt;This command must be always run under privileged user &lt;code&gt;root&lt;/code&gt; directly or via &lt;code&gt;sudo&lt;/code&gt;. For example:&lt;/p&gt;</description>
    </item>
    <item>
      <title>Diff Formats</title>
      <link>http://51.159.138.137:8082/devel/software/upgrade_process/configuration_management_ee/diff_formats/</link>
      <pubDate>Mon, 17 Feb 2025 00:00:00 +0000</pubDate>
      <guid>http://51.159.138.137:8082/devel/software/upgrade_process/configuration_management_ee/diff_formats/</guid>
      <description>&lt;p&gt;&lt;a id=&#34;cfg-diff-formats&#34;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&lt;!--# Diff Formats --&gt;&#xA;&lt;p&gt;The configuration management tool &lt;code&gt;onecfg&lt;/code&gt; allows us to compare the configuration files to identify user changes against the OpenNebula distributed files. The result of a comparison, the differential output, describes all the individual changes which were made and which can even be applied again later or on a different machine.&lt;/p&gt;&#xA;&lt;p&gt;The following table shows supported formats by each subcommand:&lt;/p&gt;&#xA;&lt;table&gt;&#xA;  &lt;thead&gt;&#xA;      &lt;tr&gt;&#xA;          &lt;th&gt;Format&lt;/th&gt;&#xA;          &lt;th&gt;Description&lt;/th&gt;&#xA;          &lt;th&gt;&lt;code&gt;onecfg diff&lt;/code&gt;&lt;/th&gt;&#xA;          &lt;th&gt;&lt;code&gt;onecfg patch&lt;/code&gt;&lt;/th&gt;&#xA;      &lt;/tr&gt;&#xA;  &lt;/thead&gt;&#xA;  &lt;tbody&gt;&#xA;      &lt;tr&gt;&#xA;          &lt;td&gt;&lt;code&gt;text&lt;/code&gt;&lt;/td&gt;&#xA;          &lt;td&gt;Easy human-readable text&lt;/td&gt;&#xA;          &lt;td&gt;YES (default)&lt;/td&gt;&#xA;          &lt;td&gt;NO&lt;/td&gt;&#xA;      &lt;/tr&gt;&#xA;      &lt;tr&gt;&#xA;          &lt;td&gt;&lt;code&gt;line&lt;/code&gt;&lt;/td&gt;&#xA;          &lt;td&gt;Single line for one change&lt;/td&gt;&#xA;          &lt;td&gt;YES&lt;/td&gt;&#xA;          &lt;td&gt;YES (default)&lt;/td&gt;&#xA;      &lt;/tr&gt;&#xA;      &lt;tr&gt;&#xA;          &lt;td&gt;&lt;code&gt;yaml&lt;/code&gt;&lt;/td&gt;&#xA;          &lt;td&gt;Complete change structure&lt;/td&gt;&#xA;          &lt;td&gt;YES&lt;/td&gt;&#xA;          &lt;td&gt;YES&lt;/td&gt;&#xA;      &lt;/tr&gt;&#xA;  &lt;/tbody&gt;&#xA;&lt;/table&gt;&#xA;&lt;p&gt;Only &lt;code&gt;line&lt;/code&gt; format will be described here in detail, as it’s powerful in achieving even complex changes and easy enough to read or write manually.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Troubleshooting</title>
      <link>http://51.159.138.137:8082/devel/software/upgrade_process/configuration_management_ee/conflicts/</link>
      <pubDate>Mon, 17 Feb 2025 00:00:00 +0000</pubDate>
      <guid>http://51.159.138.137:8082/devel/software/upgrade_process/configuration_management_ee/conflicts/</guid>
      <description>&lt;p&gt;&lt;a id=&#34;cfg-conflicts&#34;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&lt;!--# Troubleshooting --&gt;&#xA;&lt;p&gt;The configuration files upgrade is a complex process during which many problems may arise. The root cause of all problems are users’ customizations made in the configuration files in places that also change in a newer version. Because the upgrade process tries to apply changes from newer versions to existing files, the tool can be confused when it reaches the incompatibly modified part.&lt;/p&gt;&#xA;&lt;p&gt;In case of a problem, the upgrade process terminates and &lt;strong&gt;leaves the state of configuration files unchanged&lt;/strong&gt;. There is no automatic mechanism preconfigured, but the user has to instruct the tool on how to resolve the problem. This is done by specifying &lt;strong&gt;patch modes&lt;/strong&gt; globally for the whole process, for a particular file, or for a particular file and (intermediate) version the user is upgrading to.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Appendix - List of Configurations</title>
      <link>http://51.159.138.137:8082/devel/software/upgrade_process/configuration_management_ee/appendix/</link>
      <pubDate>Mon, 17 Feb 2025 00:00:00 +0000</pubDate>
      <guid>http://51.159.138.137:8082/devel/software/upgrade_process/configuration_management_ee/appendix/</guid>
      <description>&lt;!-- The table in this document is generated automatically using a Hugo shortcode from a &#xA;CSV file: /assets/tables/config_files.csv. Modify the CSV in order to update the table.&#xA;&#xA;A helper script /scripts/compare_config_files.py exists to compare the contents of the &#xA;CSV with the config files of an OpenNebula installation for audit purposes.  --&gt;&#xA;&lt;p&gt;The following table describes all configuration files and their type from the following directories:&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;code&gt;/etc/one/&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;/var/lib/one/remotes/&lt;/code&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;p&gt;These files can be managed using the &lt;code&gt;onecfg&lt;/code&gt; tool, refer to the &lt;a href=&#34;http://51.159.138.137:8082/devel/software/upgrade_process/configuration_management_ee/usage/&#34;&gt;onecfg documentation&lt;/a&gt; for more details:&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
