Skip to content

Commit 0dd4282

Browse files
committed
CLDEPLOY-285: Describe the cldeploy step-down conversion option
1 parent aa08fc7 commit 0dd4282

File tree

2 files changed

+33
-6
lines changed

2 files changed

+33
-6
lines changed

docs/cloudlinux_installation/README.md

Lines changed: 26 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ You can check the entire list here: [Hardware enablement considerations in adopt
3838

3939
## Getting license
4040

41-
You will need a trial or payed activation key to be able to use your CloudLinux OS Solo server.
41+
You will need a valid activation key - trial or paid - to be able to use your CloudLinux OS Solo server.
4242

4343
### Getting trial license
4444

@@ -70,7 +70,7 @@ It is easy to convert your existing installation by cldeploy script. The process
7070

7171
:::warning
7272
Unlike [Fresh installation](#installing-new-servers), converting immediately requires CloudLinux OS license.
73-
Please refer to the [guide](#license-activation) to get activation key.
73+
Please refer to the [guide](#license-activation) to get an activation key.
7474
:::
7575

7676
### Requirements
@@ -102,7 +102,7 @@ We cannot guarantee the stability or correct operation of CloudLinux components
102102
:::
103103

104104
:::warning Warning:
105-
Some CloudLinux components may not be supported by the control panel itself or the control panel has its own analog of such a component.
105+
Some CloudLinux components may not be supported by the control panel itself or the control panel can have its own analog of such a component.
106106
You can verify this information when reviewing the system requirements for installing a particular CloudLinux component.
107107
:::
108108

@@ -133,7 +133,7 @@ Your CloudLinux OS edition will be detected automatically based on the `ACTIVATI
133133

134134
#### IP-based activation
135135

136-
If your reseller provides you ip-based license, run the following commands:
136+
If your reseller provides you with an IP-based license, run the following commands:
137137

138138
To convert server into the CloudLinux OS Shared edition:
139139
```
@@ -184,6 +184,28 @@ Automatic hybridization will be performed for the AMD processors with the follow
184184
Automatic hybridization may be skipped by passing extra option '--no-force-hybridize'.
185185
See also [advanced options for cldeploy](/command-line_tools/#cldeploy).
186186

187+
### Minor version step-down
188+
189+
If you are attempting to convert an AlmaLinux machine of a minor version higher than the most recent CloudLinux minor version, you won't be able to perform a standard conversion, since the required packages will be missing.
190+
191+
If you cannot wait until the corresponding CloudLinux release, you have an option of performing a step-down conversion, in which cldeploy will install the previous CloudLinux OS minor version on your system.
192+
193+
For instance, AlmaLinux 8.8 can be converted to CloudLinux 8.7 in such a scenario.
194+
195+
To allow for a conversion like this, pass `--allow-lower-version` to cldeploy's list of arguments.
196+
197+
#### Updating systems from a step-down conversion
198+
199+
Once the previously missing minor CloudLinux release becomes available, you will likely want to upgrade to it from a step-down conversion.
200+
201+
To do so, you need to do the following:
202+
203+
* Remove the automatically created excludes for MySQL and MariaDB packages from `/etc/yum.conf`
204+
* Specifically, the line `exclude=mysql* mariadb*`
205+
* Install the newest available cloudlinux-release package over the previous one.
206+
* Make sure the new files replace the old ones - check for presence of `.rpmnew` files.
207+
* Update the system normally.
208+
187209
### Troubleshooting
188210

189211
If you receive any troubles during the conversion process,

docs/command-line_tools/README.md

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2755,12 +2755,17 @@ Usage:
27552755
|<span class="notranslate">`--skip-registration`</span>|Don't register on CLN if already have access to CL repository|
27562756
|<span class="notranslate">`--force-hybridize`</span>|Option allows to convert CloudLinux OS Shared 7 to CloudLinux OS Shared 7 Hybrid which has a newer kernel (from v1.61)|
27572757
|<span class="notranslate">`--no-force-hybridize `</span>|Don't hybridize machine from CloudLinux 7 to CloudLinux 7 Hybrid automatically, even though machine has a new hardware|
2758+
|<span class="notranslate">`--to-solo-edition `</span>|Convert to CloudLinux Solo edition (only allowed with --skip-registration option)|
2759+
|<span class="notranslate">`--to-admin-edition `</span>|Convert to CloudLinux Admin edition (only allowed with --skip-registration option)|
2760+
|<span class="notranslate">`--to-container-environment `</span>|Convert to CloudLinux which supports working inside containers|
2761+
|<span class="notranslate">`--force-packages-installation `</span>|Automatically resolve dependencies and remove conflicting packages|
2762+
|<span class="notranslate">`--allow-lower-version `</span>|Convert to lower minor version (Almalinux x.y to CL x.y-1) if current version (CL x.y) is not available|
27582763
2759-
The script will install the following to the server:
2764+
The script will perform the following actions:
27602765
27612766
1. Register server with CLN.
27622767
2. Install CloudLinux OS Shared kernel, lve libraries, lve-utils, lve-stats and pam_lve packages.
2763-
3. It will attempt to detect control panel and do the following actions:
2768+
3. Attempt to detect control panel and do the following actions:
27642769
* _For cPanel_:
27652770
* install mod_hostinglimits;
27662771
* install LVE Manager.

0 commit comments

Comments
 (0)