Huawei Cloud EulerOS
Huawei Cloud EulerOS
- Product Bulletin
- Service Overview
-
User Guide
- Usage Overview
- Selecting HCE as the Public Image When Creating an ECS
- Changing an OS to HCE
- Migrating an OS
- Upgrading HCE and RPM Packages
- Security Updates for HCE
- Obtaining the openEuler Extended Software Packages
- Creating a Docker Image and Starting a Container
- Tools
- Kernel Functions and Interfaces
- xGPU
- Configuring the Repositories and Installing Software for HCE
-
FAQs
- What Do I Do If CentOS Linux Is No Longer Maintained?
- Does Huawei Cloud Have a Migration Solution for CentOS?
- How Do I Install the MLNX Driver?
- How Do I Enable SELinux on an ECS Running HCE?
- How Do I Change the OS Name on the Console After the OS Is Migrated?
- How Are Huawei Cloud EulerOS, EulerOS, and openEuler Different from One Another?
- How Do I Enable WireGuard in Kernel and Install wireguard-tools?
- How Do I Save the User Credential Information for Logging In to Docker Like What Docker CE Does?
- What Is OOM? Why Does OOM Occur?
- How Do I Handle IPVS Errors?
- Why Can't HCE Obtain an IPv6 Address After IPv6 Is Enabled for an ECS?
- How Do I Set Auto Log Using TMOUT?
- Best Practices
- General Reference
On this page
Show all
Help Center/
Huawei Cloud EulerOS/
User Guide/
Upgrading HCE and RPM Packages/
Upgrade Using OSMT/
Constraints
Copied.
Constraints
- An upgrade or a rollback takes no more than 30 minutes, depending on the number and size of RPM packages to be updated and the download speed of RPM packages from the repository. Reserve sufficient time based on your environment.
- OSMT can only be used to update the RPM packages in the base and updates official source repositories. Ensure that these two repositories are correctly configured. You must run systemctl restart osmt-agent to restart the osmt-agent service after modifying the source repository.
- Modifying the OSMT configuration file using a method other than the osmt config command may lead to abnormal OSMT functions, so you are advised to run osmt config to modify the file.
- Upgrades must be performed as user root.
- Upgrading or rolling back the OS or RPM packages has the following requirements:
- Memory: 512 MB
- Root partition: 1.5 GB
- Backup storage path (store_path): 8 GB
- /boot partition in the OS: 100 MB
NOTE:
- The required storage space varies depending on the upgrade scope and target version. During the upgrade, OSMT automatically estimates the space required for the upgrade. If the available space is insufficient, an error message is displayed.
- The upgrade and rollback impacts on the SELinux status are as follows:
- An upgrade has no impact on the SELinux status. The SELinux status before and after the upgrade is the same.
- If the SELinux status before a rollback is enforcing, after the rollback, its status automatically changes to permissive.
- To enable SELinux, manually change the SELinux status to enforcing and restart the OS.
- If the SELinux status before a rollback is disabled, the rollback has no impact on the SELinux status. The SELinux status before and after the rollback is the same.
- To enable SELinux, set the SELinux status to permissive, create the .autorelabel file in the root directory, restart the OS, change the SELinux status to enforcing, and restart the OS.
- OSMT checks the OS health status before the upgrade. If the check fails, resolve the issue based on the information provided. You can also manually perform the check by referring to OSMT Command Help Information.
- The upgrade using OSMT depends on the DNF tool. To ensure the stability of the upgrade, OSMT will update the DNF tool and its dependent RPM packages to the latest version. For details about how to roll back the RPM packages, see Rollback Procedure.
- If the system configuration (you can run sysctl -a to query system configuration) is modified after the RPM packages are updated, the upgrade cannot be performed using OSMT. You can run sysctl -p to update the system configuration. You can run sysctl -p <file> to specify the configuration file that takes effect. The sysctl --system command can be run on the configuration files in all system directories. Before running this command, confirm the kernel configuration files in all system directories.
- The kernel or kernel hot patch cannot have more than five versions. If the kernel or kernel hot patch has more than five versions, the OSMT check will fail. If this happens, uninstall unnecessary versions and perform the check again.
- If chrony and NTP coexist and chrony is in the active state, the OSMT check will fail. If this happens, stop the chrony service or uninstall either chrony or the NTP service and perform the upgrade again.
Parent topic: Upgrade Using OSMT
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
The system is busy. Please try again later.
For any further questions, feel free to contact us through the chatbot.
Chatbot