当前位置:网站首页>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/
边栏推荐
- Speech signal processing - Fundamentals (V): Fourier transform
- 1175. 质数排列 : 乘法原理运用题
- Boost study: boost log
- ModelAtrs声音检测,基于声学特征的异响检测
- Yolov5 export the pit encountered by onnx
- Lucene全文检索工具包学习笔记总结
- 光谱共焦位移传感器的原理是什么?能应用那些领域?
- MySQL 表的内连和外连
- If it is not listed again, Kuangshi technology will not be able to endure
- Shutter start from zero 006 radio switches and checkboxes
猜你喜欢
随机推荐
How can c write an SQL parser
go-zero微服务实战系列(八、如何处理每秒上万次的下单请求)
[cf] 803 div2 B. Rising Sand
重新理解oauth2.0协议进行联合登录
shell第一个命令结果传入第二个命令删除
R语言ggplot2可视化:使用ggplot2可视化散点图、使用scale_color_viridis_d函数指定数据点的配色方案
Another miserable day by kotlin grammar
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)
Webview,ScrollView滑动冲突咋整
3D视觉检测在生产流水的应用有哪些
STM32F407ZGT6使用SDIO方式驱动SD卡
Boost研究:Boost Log
1175. prime permutation
The first batch in China! Alibaba cloud native data Lake products have passed the evaluation and certification of the ICT Institute
R language ggplot2 visualization: use ggplot2 to visualize the scatter diagram and use scale_ color_ viridis_ D function specifies the color scheme of data points
lvgl 小部件样式篇
Quel est le rôle du rétroéclairage LED?
对象映射 - Mapping.Mapster
There are so many kinds of coupons. First distinguish them clearly and then collect the wool!
AUTOCAD——LEN命令








