iSoftStone Helps a Campus Complete CentOS Migration

viikei2022-12-07campus migration casereinstallation and migration

Background

Since the CentOS 7 and 8 open source community OSs are going end of life, the OS security patches will no longer be updated, posing great security risks to the upper-layer applications and making it difficult to support services. Hence, the pressing need of the hour is to replace base software, encompassing both the OS and the applications that reside on top of it.

Migration Description

iSoftStone helped a campus replace all server hardware, OSs, and upper-layer service software.

This project involved server hardware, OS, and open-source component replacement, and service software adaptation. With the help of the DevKit migration tool and service experience provided by openEuler, iSoftStone successfully migrated the campus' service system to the new server hardware. The service system runs stably and the performance of the original OS is improved by 3%.

Migration Assurance

Before service system migration, iSoftStone set up an internal migration assurance team with two managers, five R&D engineers, five testing engineers, two operation engineers, and ISV vendors (peripheral systems) to provide technical support and manpower assurance for quick migration of operating and service systems.

Migration Survey

Before the migration, iSoftStone surveyed the campus' existing service systems from the following aspects.

ItemDescription
RequirementsDetailed requirements and pain points.
HardwareServer model, CPU, memory, storage, and network.
SoftwareMain software packages, third-party commercial software, and open source software.
Deployment scenarioDeployment modes, such as single-node system, cluster, and distributed deployment.
Service formStateful and stateless services, and service process.
System configurationOS and security configuration.

Migration Policy

Start with the service system, progress from simple to complex, pilot to verification to large-scale rollout, while considering various aspects like development language, deployment, and service status. Service migration priorities and policies are determined based on the service impact scope and technical complexity from the survey. The overall migration roadmap is customized based on the service deployment mode, possibility of concurrent replacement, and service continuity.

By OS

  • Upgrade CentOS 7 series in-place.

  • Reinstall and replace CentOS 6 series.

By Deployment Mode

  • Preferentially migrate active/standby and cluster service systems without interrupting services.

  • Then migrate single-device system while services are stopped.

By Development Language

  • First, interpreted languages, such as Java and Python.

  • Then, compiled languages, such as C and C++.

Note: According to the compatibility evaluation, in the case of compatibility, migration is performed with a high priority, while migration is performed with a low priority if adaptation is required.

By Service Status

  • First, stateless services

​ Stateless services don't store data locally, hence service migration is prioritized.

  • Then, stateful services

​ Stateful services store data locally, and data migration is prioritized over service migration.

Migration Solution

The migration solution reinstalls and replaces services based on long-term requirements and survey data, adapting them to the new system while preserving the original service data.

image-20220914111347393

Evaluation Tool

Migration ToolDescriptionDownload URL
DevKitProvides a series of tools covering code porting, development and debugging, compilation, testing, tuning, and diagnosis, enabling you to quickly build high-performance Kunpeng-compatible software.DevKit

Migration Adaptation

Software List

Software NameOriginal VersionNew VersionRemarks
mysql5.7.255.7.38System replacement
kafka2.11-2.1.12.6.0System replacement
jdk1.8openjdk-1.8.0.342System replacement
zookeeper3.4.113.6.2System replacement
tomcat8.0.39.0.10System replacement
redis4.0.64.0.14System replacement
nginx1.9.91.21.5System replacement
ruby2.4.33.0.3System replacement
mongodb3.4.25.0.5System replacement
zlib1.2.41.2.11System replacement
FastDFS5.055.05Recompilation and adaptation
mapserver7.0.87.0.8Recompilation and adaptation
gcc4.8.510.3.1Built-in in the system
glibc2.172.34Built-in in the system
.........

Compatibility Scan Report

park-migrate-5

park-migrate-6

park-migrate-7

Migration Implementation

Note: Before the migration, you are advised to perform multiple pre-migration drills to ensure that all operations and data are normal.

No.ItemDescription
1Migration plan tablePrepare a detailed migration plan, including the time and operation items.
2Migration personnel assurance tableOutput the list of migration implementation personnel (customers, third-party vendors, and service software R&D, operation, and testing personnel).
3Check before the migrationCheck the configuration of the existing service system and output a list or document.
4Migration procedurePlan a series of operations step-by-step, such as full database backup, OS installation and inspection, service software installation, full database data restoration, backup of incremental service data when system is shutdown, recovery of incremental data, and service rollout, are planned, and rollback solutions.
5Data check after migrationCheck the function and data consistency of the service system on the new system.
6Testing after migrationPerform function tests based on the OS and service system test cases to ensure that all services are running properly and stably.
7Service rollout after migrationBring the service system online after the testing is complete.
8Acceptance after migrationCollect project acceptance materials based on the project acceptance report and ensure that the acceptance report is signed.
9Service assuranceProvide 24/7 online service assurance for customers' service systems through online, offline, and onsite services.

Service Rollout

park-migrate-3

image-20221205190231472

Highlights

After the successful migration, while the stability of the service system remains unchanged, the performance is improved and deployment duration is reduced, fully meeting customer requirements. iSoftStone has gained valuable experience in core service migration from the success of this migration.

image-20220914161956197

In the future, iSoftStone will prioritize customer service and deliver quality-focused digital infrastructure services to empower enterprises in their digital transformation and business expansion.


[Disclaimer] This article only represents the author's opinions, and is irrelevant to this website. This website is neutral in terms of the statements and opinions in this article, and does not provide any express or implied warranty of accuracy, reliability, or completeness of the contents contained therein. This article is for readers' reference only, and all legal responsibilities arising therefrom are borne by the reader himself.