当前位置:网站首页>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/
边栏推荐
- R语言ggplot2可视化:使用ggplot2可视化散点图、aes函数中的size参数指定数据点的大小(point size)
- Flutter 从零开始 007 输入框
- goto语句跳转未初始化变量:C2362
- “\“id\“ contains an invalid value“
- 论文解读(AGC)《Attributed Graph Clustering via Adaptive Graph Convolution》
- 缓存雪崩和缓存穿透解决方案
- 网络营销之四大误解
- nvm安装node后,在使用npm指令时候显示不是内部或外部指令
- Lucene全文检索工具包学习笔记总结
- In depth analysis of Apache bookkeeper series: Part 4 - back pressure
猜你喜欢

STM32 移植 RT-Thread 标准版的 FinSH 组件

Yolov5 export the pit encountered by onnx

The first batch in China! Alibaba cloud native data Lake products have passed the evaluation and certification of the ICT Institute

「运维有小邓」用户个人资料管理

网络营销之四大误解

3D线光谱共焦传感器在半导体如何检测

Another miserable day by kotlin grammar

Review the writing software with characteristics

Openmldb meetup No.4 meeting minutes

wallys/IPQ8074a/2x(4×4 or 8×8) 11AX MU-MIMO DUAL CONCURRENT EMBEDDEDBOARD
随机推荐
c# 怎样能写个sql的解析器
8253计数器介绍
nvm安装node后,在使用npm指令时候显示不是内部或外部指令
Analysis of KOA - onion model
Flutter 从零开始 006 单选开关和复选框
VScode选中多个单词
1175. 质数排列
Who still remembers "classmate Zhang"?
R语言ggplot2可视化:使用ggplot2可视化散点图、在geom_point参数中设置show_legend参数为FALSE配置不显示图例信息
Getting started with the go language is simple: go handles XML files
R语言ggplot2可视化:使用ggplot2可视化散点图、在geom_point参数中设置alpha参数指定数据点的透明度级别(points transparent、从0到1)
MySQL索引和优化的理解学习
限时预约|6 月 Apache Pulsar 中文开发者与用户组会议
麒麟软件韩乃平:数字中国建设需要自己的开源根社区
wallys/3×3 MIMO 802.11ac Mini PCIe Wi-Fi Module, QCA9880, 2,4GHz / 5GHzDesigned for Enterprise
Redis6学习笔记-第二章-Redis6的基本操作
R language ggplot2 visualization: use ggplot2 to visualize the scatter diagram, and_ Set show in the point parameter_ The legend parameter is false, and the legend information is not displayed
R语言ggplot2可视化:使用ggplot2可视化散点图、aes函数中的colour参数指定不同分组的数据点使用不同的颜色显示
21、wpf之绑定使用小记
Summer vacation study record