当前位置:网站首页>Talk about how to do hardware compatibility testing and quickly migrate to openeuler?
Talk about how to do hardware compatibility testing and quickly migrate to openeuler?
2022-06-30 12:06:00 【openEuler】
As a free enterprise Linux operating system , since CentOS 8 Since the announcement of the end of maintenance (2021 end of the year ), It has aroused widespread concern in the industry . The reason is , It's not just about CentOS Huge user base , And migration CentOS It is not a simple system reinstallation , Instead, it needs to replace the operating system and the application software and business system on it 、 adapter 、 Migration and refactoring . therefore , How to implement application migration efficiently, safely and with low risk , Become the core issue concerned by users .
There are many domestic operating system migration schemes , Open source operating system openEuler It is also one of the hot topics .
openEuler The kernel comes from Linux, It supports Kunpeng 、X86 And so on , It can fully release the potential of computing chips , It is widely used in database 、 big data 、 Cloud computing 、 Artificial intelligence and other application scenarios .openEuler It is also compatible CentOS One of the domestic mainstream open source operating systems , Comparison CentOS ,openEuler For key functions in the core, such as process scheduling 、 memory management 、IO Read / write is deeply optimized , At the same time, a container is built outside the core iSula、 virtualization StraitVirt、 Confidential computing SecGear、 Bi Sheng JDK Other characteristics .
openEuler Rich ecological .2021 year 11 month 9 Japan ,openEuler The community donated to the open atom open source foundation . For more than half a year , The community has more than 300+ Partners join , contain Intel、Marvel、 Xinhua third class well-known enterprises , Converging slave processors 、 The whole machine 、 Basic software 、 Application software 、 Industry customers and other partners in the whole industry chain . At present, there are domestic and foreign 14 Home mainstream OSV( kirin 、 Tongxin 、 Kirin Shinan 、SUSE、 Puhua et al ) Have been released based on openEuler Commercial distribution of the operating system ; And the products have been widely distributed to the government 、 Operator, 、 Finance 、 The core system of many industries such as electric power .
today , We use X86 Take hardware compatibility as an example , Let's talk about how to migrate the operating system to openEuler( The version of this case is openEuler 20.03 LTS SP1).
One Environmental statement
The hardware is shown in the following table :
| project | explain |
|---|---|
| The server | 2288H V5 |
| CPU | Inter(R) Xeon(R) Gold 6266C CPU @ 3.00GHz |
| NIC card | CX5(CX5 Network card is mellanox A network card produced by the company ) |
| RIAD card | LTS SAS 3108(3108raid The card is produced by Huawei raid card ) |
The operating system is as follows :
| project | explain |
|---|---|
| Centos Linux | 7.9.2009(Core) |
| Kernel | 3.10.0 x86_64 |
Check the current system version information cat /etc/os-release

Two Software operation and hardware compatibility evaluation tool :x2openEuler
openEuler The community provided x2openEuler Tools , With hardware evaluation 、 Software evaluation 、 Function of system configuration evaluation , The hardware evaluation is for centos The board running normally on the system is openEuler Upper compatibility , Tool acquisition board information generation html The report , Visually and quickly show the compatibility of hardware .
download x2openEuler Tools : https://www.openeuler.org/zh/other/migration/3、 ... and Deployment tools
cd /opt/rpm -ivh x2openEuler-2.0.0-1.x86_64.rpmBe careful : install rpm When needed root user , And now the network is needed ( Used to download installation dependencies ) Be careful : Follow the prompts to install dependent packages such as bzip2-devel etc. .
su x2openEulerx2openEuler redis-db -initEnter... In sequence redis Database ip:127.0.0.1 port :6379 Database index number (0-16):0 password ( The tool encrypts the password ): If redis When the password is not set or empty , Just go back .
x2openEuler init source_centos7.6-openEuler20.03-LTS-SP1.tar.gzremarks :x2openEuler Use rpm After the installation, it will be in /opt/x2openEuler The directory contains source_centos7.6-openEuler20.03-LTS-SP1.tar.gz This default resource bundle Need to support centos8.2 To openEuler20.03-LTS-SP1 The evaluation of , You need to get the corresponding static resource package import , If the corresponding resource package is source_centos8.2-openEuler20.03-LTS-SP1.tar.gz, Import this package command :x2openEuler init source_centos8.2-openEuler20.03-LTS-SP1.tar.gz, Select the corresponding resource package for instructions .
Four Hardware compatibility analysis
x2openEuler hardware-analyse The return message is as follows :2021-11-30 09:41:20,865 - INFO - Log save directory: /var/log/x2openEuler2021-11-30 09:41:20,887 - INFO - x2openEuler hardware-analyse2021-11-30 09:41:20,888 INFO manager/get_param_config/179: Parameter configuration file loaded.2021-11-30 09:41:20,905 INFO manager/get_regex_config/218: Regex pattern compiled.2021-11-30 09:41:20,905 INFO manager/load_parsers/233: All builtin parsers loaded.2021-11-30 09:41:20,905 INFO manager/load_parsers/236: All custom parsers loaded.2021-11-30 09:41:21,254 INFO time_utils/wrapper/21: 0.35s taken for running function [get_data]2021-11-30 09:41:21,269 WARNING list/parse_content/47: no data in ls_dev2021-11-30 09:41:21,377 INFO time_utils/wrapper/21: 0.12s taken for running function [get_parsed_content]2021-11-30 09:41:21,377 INFO manager/write_res/135: write to /opt/x2openEuler/_tmp_18ambppj_/run/9e81f536-517e-11ec-ae65-a01c8dfeddfa/sysconf/kernel_startup_param.json.2021-11-30 09:41:21,378 INFO manager/write_res/135: write to /opt/x2openEuler/_tmp_18ambppj_/run/9e81f536-517e-11ec-ae65-a01c8dfeddfa/sysconf/syscall_interface.json.2021-11-30 09:41:21,378 INFO manager/write_res/135: write to /opt/x2openEuler/_tmp_18ambppj_/run/9e81f536-517e-11ec-ae65-a01c8dfeddfa/sysconf/path.json.2021-11-30 09:41:21,379 INFO manager/write_res/135: write to /opt/x2openEuler/_tmp_18ambppj_/run/9e81f536-517e-11ec-ae65-a01c8dfeddfa/sysconf/port.json.2021-11-30 09:41:21,379 INFO manager/write_res/135: write to /opt/x2openEuler/_tmp_18ambppj_/run/9e81f536-517e-11ec-ae65-a01c8dfeddfa/sysconf/device_interface.json.2021-11-30 09:41:21,380 INFO manager/write_res/135: write to /opt/x2openEuler/_tmp_18ambppj_/run/9e81f536-517e-11ec-ae65-a01c8dfeddfa/sysconf/linux_command.json.2021-11-30 09:41:21,387 INFO manager/write_res/135: write to /opt/x2openEuler/_tmp_18ambppj_/run/9e81f536-517e-11ec-ae65-a01c8dfeddfa/sysconf/hardware_configure.json.2021-11-30 09:41:21,396 INFO manager/write_res/135: write to /opt/x2openEuler/_tmp_18ambppj_/run/9e81f536-517e-11ec-ae65-a01c8dfeddfa/sysconf/proc.json.2021-11-30 09:41:21,404 INFO manager/write_res/135: write to /opt/x2openEuler/_tmp_18ambppj_/run/9e81f536-517e-11ec-ae65-a01c8dfeddfa/sysconf/system_configure.json.2021-11-30 09:41:21,408 INFO manager/write_res/135: write to /opt/x2openEuler/_tmp_18ambppj_/run/9e81f536-517e-11ec-ae65-a01c8dfeddfa/sysconf/system_service.json.2021-11-30 09:41:21,412 INFO manager/write_res/135: write to /opt/x2openEuler/_tmp_18ambppj_/run/9e81f536-517e-11ec-ae65-a01c8dfeddfa/sysconf/kernel_configure.json.2021-11-30 09:41:21,426 - INFO - Producing report...2021-11-30 09:41:21,427 - INFO - Generate Success! The results are saved: /opt/x2openEuler/output/hw_compat_report-20211130094121.html Return to information ,“/opt/x2openEuler/output/hw_compat_report-20211130094121.html“ For the evaluation report document .Analysis of hardware evaluation results
The hardware compatibility evaluation report can directly show whether each board is compatible and whether the whole machine is compatible , If any item is not in the compatibility list, it needs to be adapted .
adopt VID、DID、SVID、SSID The quad value can determine the only board . You can see from the screenshot above , Each board can be found in the southbound compatibility list , Therefore, the hardware server is from centos Migrate to openEuler 20.03 LTS SP1 It can be implemented .
Link to the original text : https://www.openeuler.org/zh/blog/randy1568/X86%20hardware%20compatibility%20assessment%20migration%20guide.html
Reference material : https://www.openeuler.org/zh/other/migration/
边栏推荐
- Serial communication interface 8250
- 使用cookie技术实现历史浏览记录并控制显示的个数
- time 函数和 clock_gettime()函数的区别
- 基于视觉的机器人抓取:从物体定位、物体姿态估计到平行抓取器抓取估计
- Summer vacation study record
- If it is not listed again, Kuangshi technology will not be able to endure
- R language ggplot2 visualization: use ggplot2 visualization scatter diagram and the size parameter in AES function to specify the size of data points (point size)
- Beego development blog system learning (II)
- koa - 洋葱模型浅析
- TypeScript ReadonlyArray(只读数组类型) 详细介绍
猜你喜欢
随机推荐
1020. 飞地的数量
He was the first hero of Shanghai's two major industries, but died silently in regret
R语言ggplot2可视化:使用ggplot2可视化散点图、使用scale_size函数配置数据点的大小的(size)度量调整的范围
OpenMLDB Meetup No.4 会议纪要
Shutter start from zero 006 radio switches and checkboxes
Let's talk about how to do hardware compatibility testing and quickly migrate to openeuler?
如何使用插件化机制优雅的封装你的请求hook
R language ggplot2 visualization: use ggplot2 visualization scatter diagram and the color parameter in AES function to specify that data points in different groups are displayed in different colors
这些电影中的科幻构想,已经用AI实现了
Boost study: boost log
DMA控制器8237A
「运维有小邓」用户个人资料管理
MATLAB中polarplot函数使用
wallys/IPQ8074a/2x(4 × 4 or 8 × 8) 11AX MU-MIMO DUAL CONCURRENT EMBEDDEDBOARD
爱可可AI前沿推介(6.30)
A Generic Deep-Learning-Based Approach for Automated Surface Inspection-论文阅读笔记
R语言ggplot2可视化:使用ggplot2可视化散点图、使用scale_x_log10函数配置X轴的数值范围为对数坐标
限时预约|6 月 Apache Pulsar 中文开发者与用户组会议
深入解析 Apache BookKeeper 系列:第四篇—背压
3D线光谱共焦传感器在半导体如何检测









