Operating system transformation method and device, equipment, storage medium and program product

Through virtual machine migration and operating system reinstallation, combined with elastic computing and software-defined network deployment, the problems of poor compatibility and low efficiency of operating system transformation are solved, and an efficient and automated transformation process is realized, ensuring system stability and compatibility .

CN118939370APending Publication Date: 2024-11-12CHINA MOBILE (SUZHOU) SOFTWARE TECH CO LTD +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410987292.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-23
Publication Date
2024-11-12

AI Technical Summary

Technical Problem

The existing operating system transformation methods have poor compatibility, low transformation efficiency, and lack of automated transformation tools, resulting in low transformation efficiency and difficult business continuity guarantee.

Method used

By migrating the virtual machine to another computing node and reinstalling the preset operating system after the migration, deploying elastic computing EC and software-defined network SDN components, we realize automated transformation processes and ensure system stability and compatibility.

Benefits of technology

It improves the efficiency of operating system transformation, achieves compatibility at the EC and SDN levels, ensures the stability of the system, reduces manual intervention, and improves the transformation efficiency and automation level.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118939370A_ABST
    Figure CN118939370A_ABST
Patent Text Reader

Abstract

The invention provides an operating system transformation method and device, equipment, a storage medium and a program product, and relates to the technical field of communication, the operating system transformation method comprises the following steps: migrating a virtual machine in a first computing node to a second computing node; under the condition that the virtual machine is successfully migrated, reinstalling the operating system running on the first computing node into a preset operating system; and under the condition that the preset operating system is successfully reinstalled, deploying related components of an EC (Elastic Computing) and related components of an SDN (Software Defined Network) on the first computing node. According to the operating system transformation method, the process is automatically carried out, manual intervention is not needed, the transformation efficiency is high, compatibility of EC and SDN layers is achieved, and the stability of the system is guaranteed.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of communication technology, and in particular to an operating system transformation method, device, equipment, storage medium and program product. Background Art

[0002] In order to cope with the supply chain risks and network security risks brought about by the shutdown of server operating systems and to enhance the company's independent and controllable capabilities over server operating systems, it is necessary to replace or transform existing server operating systems.

[0003] However, in the process of transforming the server operating system, there are a large number of various compatibility issues from the bottom layer to the application layer. In terms of transformation efficiency, the transformation efficiency is low due to the large amount of transformation, complex business logic, and a large number of components. In addition, the business continuity of customers must be guaranteed during the transformation process, and the automation requirements for the transformation are relatively high. Currently, there is a lack of mature automated transformation tools. Summary of the invention

[0004] The technical solution of the present invention aims to provide an operating system modification method, device, equipment, storage medium and program product to solve the problems of poor compatibility and low modification efficiency of existing operating system modification methods.

[0005] In order to solve the above technical problems, the embodiments of the present invention provide the following technical solutions:

[0006] An embodiment of the present invention provides an operating system modification method, comprising:

[0007] Migrate the virtual machine in the first computing node to the second computing node;

[0008] If the virtual machine migration is successful, reinstalling the operating system running on the first computing node as a preset operating system;

[0009] When the preset operating system is reinstalled successfully, the relevant components of elastic computing EC and the relevant components of software defined network SDN are deployed on the first computing node.

[0010] Optionally, before migrating the virtual machine in the first computing node to the second computing node, the method further includes:

[0011] Performing environment initialization processing on the first computing node;

[0012] When the environment initialization is completed, performing a first operation on the first computing node, the first operation comprising: at least one of an environment check, an isolation process, and an alarm shielding process;

[0013] If the first operation is successful, determine to migrate the virtual machine in the first computing node to the second computing node.

[0014] Optionally, migrating the virtual machine in the first computing node to the second computing node includes:

[0015] Obtaining migration pre-information for migrating the virtual machine in the first computing node to the second computing node;

[0016] In the case where the pre-migration information is successfully obtained, repairing the central processing unit (CPU) characteristics of the first computing node;

[0017] If the CPU characteristic repair is successful, checking the status of the virtual machine on the first computing node;

[0018] If the status check is successful, the virtual machine in the first computing node is migrated to the second computing node.

[0019] Optionally, before migrating the virtual machine in the first computing node to the second computing node, the method further includes:

[0020] Performing flow detection on the virtual network interface of the virtual machine in the first computing node to obtain a first flow detection result;

[0021] Migrating the virtual machine in the first computing node to the second computing node includes:

[0022] Migrate the virtual machine in the first computing node to the second computing node, perform flow detection on the virtual network interface of the migrated virtual machine, and obtain a second flow detection result;

[0023] When the first flow detection result and the second flow detection result are consistent, it is determined that the virtual machine migration is successful.

[0024] Optionally, before reinstalling the operating system running on the first computing node as a preset operating system, the method further includes:

[0025] Stopping EC services on the operating system running on the first computing node;

[0026] If the EC service outage is successful, the first computing node is released from management;

[0027] In the case where the management is successfully released, backing up the environment configuration running on the first computing node;

[0028] In the case where the environment configuration backup is successful, it is determined to reinstall the operating system running on the first computing node as the preset operating system.

[0029] Optionally, reinstalling the operating system running on the first computing node to a preset operating system includes:

[0030] Performing hardware detection and firmware upgrade on the first computing node;

[0031] If the hardware detection is successful and the firmware upgrade is successful, reinstalling the operating system as the preset operating system;

[0032] When the system reinstallation is completed, initializing the preset operating system;

[0033] When the preset operating system is initialized, reinstalling the agent on the first computing node;

[0034] In the case where the agent is reinstalled successfully, a second operation is performed on the preset operating system, wherein the second operation includes at least one of the following: antivirus installation, environment configuration recovery, cloud security center installation, and account hosting;

[0035] When the second operation is successful, the preset operating system is accepted.

[0036] Optionally, performing a second operation on the preset operating system includes:

[0037] Get environment configuration backup;

[0038] Initializing the virtualization service of the preset operating system;

[0039] When the virtualization service is successfully initialized, the environment configuration of the preset operating system is restored.

[0040] Optionally, the components related to the elastic computing EC deployed on the first computing node include:

[0041] Performing Kubernetes K8S management on the first computing node and performing core binding processing on the first computing node;

[0042] When K8S is successfully managed and the core binding process is successful, the EC service and the Dynamic Host Configuration Protocol DHCP service are enabled on the first computing node.

[0043] Optionally, when the relevant components of elastic computing EC and relevant components of software defined network SDN deployed on the first computing node are successful, the method further includes at least one of the following:

[0044] Detecting a preset operating system on the first computing node;

[0045] Performing a service network access detection on the first computing node;

[0046] Perform a network connectivity check on the first computing node.

[0047] The embodiment of the present invention further provides an operating system transformation device, comprising:

[0048] A first processing module, configured to migrate a virtual machine in a first computing node to a second computing node;

[0049] A second processing module is used to reinstall the operating system running on the first computing node as a preset operating system if the virtual machine migration is successful;

[0050] The third processing module is used to deploy relevant components of elastic computing EC and relevant components of software defined network SDN on the first computing node when the preset operating system is reinstalled successfully.

[0051] An embodiment of the present invention further provides an operating system transformation device, comprising: a processor, a memory, and a program stored in the memory and executable on the processor, wherein the program implements the operating system transformation method described above when executed by the processor.

[0052] An embodiment of the present invention further provides a readable storage medium, on which a program is stored. When the program is executed by a processor, the steps in the operating system transformation method described in any one of the above are implemented.

[0053] An embodiment of the present invention further provides a computer program product, comprising computer instructions, which, when executed by a processor, implement the steps in any one of the operating system transformation methods described above.

[0054] At least one of the above technical solutions of the present invention has the following beneficial effects:

[0055] The operating system transformation method provided by the solution of the present invention migrates the virtual machine in the first computing node to the second computing node. When the virtual machine migration is successful, the operating system running on the first computing node is reinstalled as a preset operating system. When the preset operating system is reinstalled successfully, the relevant components of the elastic computing EC and the relevant components of the software defined network SDN deployed on the first computing node. The above process is automatically performed without manual intervention, the transformation efficiency is high, and the compatibility at the EC and SDN levels is achieved, thereby ensuring the stability of the system. BRIEF DESCRIPTION OF THE DRAWINGS

[0056] Figure 1 A flowchart of an operating system transformation method provided by an embodiment of the present invention;

[0057] Figure 2A flow chart of SDN detection of virtual machine migration provided by an embodiment of the present invention;

[0058] Figure 3 An overall flow chart of batch migration of virtual machines provided by an embodiment of the present invention;

[0059] Figure 4 A flowchart of operating system reinstallation provided by an embodiment of the present invention;

[0060] Figure 5 A schematic diagram of the structure of an operating system transformation device provided by an embodiment of the present invention;

[0061] Figure 6 A schematic diagram of the structure of an operating system transformation device provided in an embodiment of the present invention. DETAILED DESCRIPTION

[0062] In order to make the technical problems, technical solutions and advantages to be solved by the present invention more clear, a detailed description will be given below with reference to the accompanying drawings and specific embodiments.

[0063] In order to solve the problems of poor compatibility and low transformation efficiency of existing operating system transformation methods, embodiments of the present invention provide an operating system transformation method, apparatus, device, storage medium and program product.

[0064] like Figure 1 As shown, an embodiment of the present invention provides an operating system transformation method, including:

[0065] Step 101: Migrate a virtual machine in a first computing node to a second computing node.

[0066] Based on the mobile cloud elastic computing (Elastic Compute, EC) product, the virtual machine has the ability to flexibly migrate, supporting migration from one computing node to another. The migration method can be divided into live migration and cold migration. Live migration does not require the virtual machine to be shut down, and in theory, the customer is unaware of the migration process.

[0067] This step is performed by the control node. In this step, the virtual machine in the first computing node (also called the source node) is migrated to the second computing node (also called the target node or destination node) through the control node. After the migration operation is completed, the source node will notify the target node to start taking over the execution of the virtual machine to ensure that the virtual machine runs normally on the target node. After ensuring that the service is not interrupted, the control node will delete the virtual machine on the source node and run the virtual machine on the target node instead. This is the official end of the complete migration operation of the virtual machine.

[0068] It should also be noted that if the virtual machine migration is unsuccessful, stop the transformation process and continue after troubleshooting the problem.

[0069] Step 102: When the virtual machine migration is successful, the operating system running on the first computing node is reinstalled as a preset operating system.

[0070] The preset operating system can be set or selected according to requirements and can be any type of operating system, for example, the preset operating system is the Euler system.

[0071] This step can realize automatic reinstallation of the preset operating system on the host machine (ie, the first computing node).

[0072] It should also be noted that if the preset operating system reinstallation fails, stop the transformation process and continue after troubleshooting the problem.

[0073] Step 103: When the preset operating system is reinstalled successfully, the elastic computing EC related components and the software defined network (SDN) related components are deployed on the first computing node.

[0074] In this step, the relevant components of EC and the relevant components of SDN are redeployed on the first computing node after the operating system is reinstalled, thereby achieving compatibility at the EC and SDN levels.

[0075] In an optional embodiment, before migrating the virtual machine in the first computing node to the second computing node, the method further includes:

[0076] The environment of the first computing node is initialized. Specifically, initializing the execution environment of the first computing node is the first step of the entire operating system transformation method. This step realizes automatic acquisition of basic environment information required for the resource pool to perform the transformation according to the different resource pools to which the first computing node belongs, including backup node Internet Protocol (Internet Protocol, IP), nova control node IP, masakari control node IP, Kubernetes (Kubernetes, K8S) master node IP, K8S deployment node IP, Advanced Message Queuing Protocol (Advanced Message Queuing Protocol, AMQP) node IP, AMQP username and password, database username and password, and then querying the Configuration Management Database (Configuration Management Database, CMDB) according to these IPs to obtain the business identity (Identity, ID) and cloud area ID of the corresponding node, and outputting the obtained IP, business ID, cloud area ID, account password information, etc. to the global environment variables for use in subsequent transformation steps. Among them, the backup node, nova control node, masakari control node, K8S master node, K8S deployment node, and AMQP node are all computing nodes different from the first computing node and the second computing node, but belong to the same cloud computing management platform (openstack) system as the first computing node and the second computing node. The backup node is of the same type as the first computing node and the second computing node.

[0077] When the environment initialization is completed, performing a first operation on the first computing node, the first operation comprising: at least one of an environment check, an isolation process, and an alarm shielding process;

[0078] If the first operation is successful, determine to migrate the virtual machine in the first computing node to the second computing node.

[0079] Among them, when the first operation includes an environment check, the success of the first operation includes a successful environment check, when the first operation includes isolation processing, the success of the first operation includes a successful isolation processing, when the first operation includes alarm shielding processing, the success of the first operation includes a successful alarm shielding processing, when the first operation includes an environment check and isolation processing, the success of the first operation includes both successful environment check and isolation processing, when the first operation includes an environment check and alarm shielding processing, the success of the first operation includes both successful environment check and alarm shielding processing, when the first operation includes isolation processing and alarm shielding processing, the success of the first operation includes both successful isolation processing and alarm shielding processing, when the first operation includes environment check, isolation processing and alarm shielding processing, the success of the first operation includes successful environment check, isolation processing and alarm shielding processing.

[0080] As a preferred implementation, when the environment initialization is completed, performing a first operation on the first computing node includes:

[0081] Performing an environmental check on the first computing node;

[0082] If the link check is successful, isolating the first computing node;

[0083] If the isolation process is successful, performing alarm shielding process on the first computing node;

[0084] The first operation is successful including successful environmental inspection, isolation processing, and alarm shielding processing.

[0085] Specifically, the environmental check on the first computing node mainly automatically checks the bond1 network card model of the first computing node, whether the first computing node is a high-performance virtual switch (i.e., avrs), whether the non-uniform memory access (NUMA) architecture of the central processing unit (CPU) meets the transformation requirements, whether the backup nodes of the corresponding type of the first computing node are sufficient, and automatically determines that the transformation of the first computing node that does not meet the transformation requirements will be automatically stopped, and the operating system environment check will continue for the first computing node that meets the transformation requirements. The environmental check includes the persistence of the routing configuration and the gateway connectivity check. If there is a problem, the pipeline will be paused and continued after the problem is eliminated.

[0086] After the above environment check step succeeds (or is called passing), the first computing node is disabled and isolated to prevent newly created virtual machines from falling on the first computing node. If the isolation process is unsuccessful, the pipeline is paused and continued after the problem is eliminated.

[0087] After the isolation process is successful, the aggregate name of the first computing node and the second computing node to which the virtual machine is migrated is obtained and the variable is output, the second computing node is transferred to the aggregate where the first computing node is located, and the first computing node is removed from the current aggregate, the alarm shielding process is completed, and then the transformation is continued, that is, after the alarm shielding process is successful, it is determined that the virtual machine in the first computing node can be migrated to the second computing node. If the alarm shielding process is unsuccessful, the pipeline is paused and the problem is eliminated before continuing.

[0088] In an optional embodiment, migrating a virtual machine in a first computing node to a second computing node includes:

[0089] Obtain migration pre-information for migrating the virtual machine in the first computing node to the second computing node. Specifically, the virtual machine migration operation is performed by the control node of each resource pool. The migration pre-information includes at least one of the following: the control node IP, the second computing node IP to which the virtual machine is migrated, the cloud region ID where the second computing node is located, and the service ID where the second computing node is located. The above migration pre-information can ensure that the subsequent transformation pipeline can be automatically executed without human supervision. If the above migration pre-information fails to be obtained, the transformation pipeline is suspended and continued after the problem is eliminated.

[0090] When the pre-migration information is successfully obtained, the central processing unit CPU characteristics of the first computing node are repaired. Specifically, after the pre-migration information is successfully obtained, the CPU characteristics of the first computing node are repaired. This step is to modify the arch-capabilities in the CPU characteristics of the first computing node to arch-facilities. Otherwise, the virtual machine cannot be migrated smoothly. In some special scenarios, the host mode (host_model) of the virtual machine also needs to be modified.

[0091] In the case where the CPU characteristic repair is successful, the status of the virtual machine on the first computing node is checked, wherein the status check of the virtual machine on the first computing node is mainly to check the status of the virtual machine before migration, and the status check of the virtual machine on the first computing node includes at least one of the following: checking whether the open source system virtualization module (qemu guest agent, qga) of the virtual machine is connected, whether the qga command prompt (command prompt, cmd) of the virtual machine is supported, whether the running status of the virtual machine is running (running), whether the virtual machine file system has an error (error), whether the virtual machine disk status has an error, whether the virtual machine network card status has an error, and whether the virtual machine disk has an error. Correspondingly, the success of the virtual machine status check on the first computing node includes at least one of the following: checking the qga connection of the virtual machine, the qga cmd support of the virtual machine, the successful running status check of the virtual machine, the virtual machine file system has no error, the virtual machine disk status has no error, the virtual machine network card status has no error, and the virtual machine disk has no error. After the virtual machine status check on the first computing node is successful, the next step is carried out: the virtual machine batch migration stage. If the virtual machine status check on the first computing node is not successful, the transformation pipeline is suspended and continued after the problem is eliminated.

[0092] If the virtual machine status check on the first computing node succeeds, the virtual machine in the first computing node is migrated to the second computing node, wherein the migration mode is batch migration.

[0093] Optionally, migrating the virtual machine in the first computing node to the second computing node includes three migration methods, and the migration method can be selected independently according to the state of the virtual machine. The three migration methods include hot migration of a designated destination node, cold migration of a designated destination node, and random migration. Among them, hot migration of a designated destination node is applicable when the state of the virtual machine is running (running) and the memory, CPU and other resources of the migration destination node are sufficient, while cold migration of a designated destination node is applicable when the memory, CPU and other resources of the migration destination node are sufficient but the state of the virtual machine is shut down (shut off). When resources are insufficient, a random migration operation will be triggered, and the control node will autonomously select a destination node that meets the migration conditions based on the load conditions of all computing nodes of the same type in the existing network.

[0094] Furthermore, after selecting the migration destination node (i.e., the second computing node), there will be some inspection steps for the destination node, which is embedded in the migration process and is called the pre-migration inspection link. Before starting the migration, the virtualization platform will first check the resource status of the source node (i.e., the first computing node) and the destination node (i.e., the second computing node) of the virtual machine migration. The resource status check includes at least one of the following: checking the CPU usage, checking the memory usage, and checking the network connection status. Ensure that the target host on the destination node has sufficient available resources to host the virtual machine to be migrated. Next is the memory migration link, in which the memory of the virtual machine is the main content of the migration, that is, migrating the virtual machine in the first computing node to the second computing node includes migrating the memory of the virtual machine to the second computing node. During the memory migration, the memory state of the virtual machine will be transferred from the source node to the destination node to ensure that the memory content of the virtual machine remains consistent. This link transmits traffic through the management network, so the virtual machine migration requires the management network between the source node and the destination node to be interconnected. If the storage used by the virtual machine is shared storage or a storage area network (SAN), the disk files of the virtual machine may also be migrated, that is, migrating the virtual machine in the first computing node to the second computing node also includes migrating the disk files of the virtual machine to the second computing node. This step will be performed after the memory migration is completed.

[0095] It should also be noted that, in the automatic migration process, detecting the status before and after the migration is one of the key steps to ensure the success of the migration. Specifically, before migrating the virtual machine in the first computing node to the second computing node, the method further includes:

[0096] A flow detection is performed on the virtual network interface (such as an SDN tap port) of the virtual machine in the first computing node to obtain a first flow detection result, that is, a flow detection is performed on the SDN tap port of the virtual machine before migration.

[0097] Migrating the virtual machine in the first computing node to the second computing node includes:

[0098] Migrate the virtual machine in the first computing node to the second computing node, perform traffic detection on the virtual network interface (such as the SDN tap port) of the migrated virtual machine, and obtain a second traffic detection result, that is, perform traffic detection on the virtual network interface (such as the SDN tap port) of the virtual machine after migration.

[0099] When the first flow detection result and the second flow detection result are consistent, it is determined that the virtual machine migration is successful. The consistency of the first flow detection result and the second flow detection result can be understood as the flow of the virtual network interface (such as the SDN tap port) of the virtual machine indicated by the first flow detection result is consistent with the flow of the virtual network interface (such as the SDN tap port) of the migrated virtual machine indicated by the second flow detection result, or the flow difference is less than the preset flow value or the tap port is missing. That is, after the virtual machine migration is completed, there is a phenomenon that the virtual machine traffic drops sharply or the tap port is missing after the migration. The transformation process will provide timely feedback to minimize the business impact of the virtual machine migration operation on the customer. After the virtual machine migration is completed, it is determined whether the first computing node is a dedicated host machine. If not, a post-migration status check is performed. If so, due to the particularity of the product, the dedicated host machine also needs to synchronize the console to modify the available zone (available_zone) of the first computing node after the virtual machine migration is completed.

[0100] It should also be noted that after the VM migration is completed, a series of tests will be performed to ensure that all VMs on the source node have been successfully migrated to the destination node. These tests include checking the number of VMs on the source node, which should be 0 at this time; checking that the number of VMs on the destination node should be consistent with that before the migration; and checking that the status of the VMs after migration should be consistent with the status recorded before the migration.

[0101] The above is the entire process of host migration during the autonomous and controllable transformation of the public cloud operating system.

[0102] Combine the following Figure 2 , describing the SDN detection process for virtual machine migration:

[0103] If there are running virtual machines on the first computing node to be transformed, the virtual machine migration process will be executed. In the virtual machine migration process, the SDN tap port traffic of the virtual machine on the first computing node will be checked first (i.e., tap port traffic detection before migration). The tap port information and current traffic information of the virtual machine before migration (i.e., the first traffic detection result) will be output, and the virtual machines will be migrated in batches to determine whether the migration is successful. If the migration is not successful, the migration failure check will be performed, and the step of performing batch migration of virtual machines will be returned. If the migration is successful, the tap port of the virtual machine will be tested again after the migration to obtain the tap port information and current traffic information of the migrated virtual machine (i.e., the second traffic detection result). If the information before and after is consistent, there is no loss, and the traffic has not dropped sharply, it is determined that there is no SDN network problem after the virtual machine migration.

[0104] Combine the following Figure 3 , which describes the overall process of batch migration of virtual machines:

[0105] Obtain pre-migration information for migrating the virtual machines in the first computing node to the second computing node. If the pre-migration information is successfully obtained, repair the CPU characteristics of the first computing node. If the CPU characteristics are repaired successfully, check the status of the virtual machines to be migrated on the first computing node and record the virtual machine status. If the virtual machine status check is successful, migrate the virtual machines in the first computing node to the second computing node in batches. After the migration, determine whether the first computing node is a dedicated host. If not, check the status of the virtual machines after migration. If so, modify the available_zone of the first computing node through the synchronization console and then check the status of the virtual machines after migration.

[0106] In an optional embodiment, before reinstalling the operating system running on the first computing node as a preset operating system, the method further includes:

[0107] The operating system running on the first computing node is shut down for EC service. Since the first computing node is in the current network management state, it is first necessary to shield the alarm of the first computing node, which is achieved by calling the plug-in "Alarm Center-Alarm Shielding" of the operation platform. Afterwards, the EC service is shut down before the preset operating system is reinstalled. In the event that the EC service shutdown fails, the transformation pipeline is suspended and the process continues after the problem is eliminated. It should be noted that it may also include shutdown processing for fault detection and fault recovery of the operating system running on the first computing node. In the event that the shutdown processing for fault detection and fault recovery fails, the transformation pipeline is suspended and the process continues after the problem is eliminated.

[0108] If the EC service shutdown is successful, the management of the first computing node is removed. If the management removal fails, the transformation pipeline is suspended and continued after the problem is eliminated.

[0109] When the removal of management is successful, the environment configuration backup process is performed on the first computing node to obtain an environment configuration backup file. Specifically, the environment configuration backup includes at least one of the following: monitoring alarm configuration backup, system log configuration backup, system general environment configuration backup, virtualization environment configuration backup, EC business environment configuration backup, SDN business environment configuration backup. After the backup is completed, the backup file is packaged by means of the Secure Copy Protocol (SCP) and then uploaded to the backup node.

[0110] In the case where the environment configuration backup is successful, it is determined to reinstall the operating system running on the first computing node as the preset operating system. That is, after the above alarm shielding and backup are successful, the operating system (Operating System, OS) reinstallation sub-process is executed to reinstall the operating system running on the first computing node as the preset operating system.

[0111] The following is a specific embodiment to illustrate the operating system reinstallation process, that is, reinstalling the operating system running on the first computing node to a preset operating system, including:

[0112] Perform hardware detection and firmware upgrade on the first computing node. If at least one of the hardware detection and firmware upgrade fails, suspend the transformation pipeline and continue after the problem is eliminated.

[0113] If the hardware detection is successful and the firmware upgrade is successful, the operating system is reinstalled as the preset operating system, specifically, the operating system is reinstalled as the preset operating system by means of an out-of-band installation. If the operating system fails to be reinstalled as the preset operating system, the transformation pipeline is suspended and continued after the problem is eliminated.

[0114] When the system is reinstalled, the preset operating system is initialized. If the initialization fails, the transformation pipeline is suspended and continued after the problem is eliminated.

[0115] When the preset operating system is initialized, the agent is reinstalled on the first computing node. When the agent reinstallation fails, the transformation pipeline is suspended and continued after the problem is eliminated.

[0116] In the case where the agent is reinstalled successfully, a second operation is performed on the preset operating system, wherein the second operation includes at least one of the following: antivirus installation, environment configuration recovery, cloud security center installation, and account hosting;

[0117] When the second operation is successful, the preset operating system is accepted.

[0118] Specifically, when the second operation includes antivirus installation, the success of the second operation includes successful antivirus installation; when the second operation includes environment configuration recovery, the success of the second operation includes successful environment configuration recovery; when the second operation includes cloud security center installation, the success of the second operation includes successful cloud security center installation; when the second operation includes account hosting, the success of the second operation includes successful account hosting; when the second operation includes antivirus installation and environment configuration recovery, the success of the second operation includes both successful antivirus installation and successful environment configuration recovery; when the second operation includes antivirus installation and cloud security center installation, the success of the second operation includes both successful antivirus installation and successful cloud security center installation; when the second operation includes antivirus installation and account hosting, the success of the second operation includes both successful antivirus installation and successful account hosting; when the second operation includes environment configuration recovery and cloud security center installation, the success of the second operation includes environment configuration recovery and cloud security center installation. The installation of the entire center is successful. When the second operation includes environment configuration recovery and account hosting, the success of the second operation includes both environment configuration recovery and account hosting. When the second operation includes cloud security center installation and account hosting, the success of the second operation includes both cloud security center installation and account hosting. The success of the second operation includes both environment configuration recovery and account hosting. When the second operation includes antivirus installation, environment configuration recovery and cloud security center installation, the success of the second operation includes both antivirus installation, environment configuration recovery and cloud security center installation. When the second operation includes environment configuration recovery, cloud security center installation and account hosting, the success of the second operation includes both environment configuration recovery, cloud security center installation and account hosting. When the second operation includes antivirus installation, environment configuration recovery, cloud security center installation and account hosting, the success of the second operation includes both antivirus installation, environment configuration recovery, cloud security center installation and account hosting.

[0119] As a preferred implementation, performing a second operation on the preset operating system includes:

[0120] Performing anti-virus installation on the preset operating system;

[0121] In case the antivirus is successfully installed, backing up the environment configuration of the preset operating system;

[0122] When the environment configuration backup is successful, the preset operating system is installed in the cloud security center and the account is hosted. The account hosting includes authentication, authorization, account, and audit account hosting, referred to as 4A account hosting.

[0123] When the second operation is successful, the preset operating system is accepted, wherein the success of the second operation includes the success of antivirus installation, environment configuration recovery, cloud security center installation and account hosting.

[0124] Further, performing a second operation on the preset operating system includes:

[0125] Obtain the environment configuration backup. Specifically, when restoring the preset operating system environment configuration, first restore the non-confidential configuration of the second calculation result, and use SCP to pull the environment configuration backup before the transformation from the backup node.

[0126] The virtualization service of the preset operating system is initialized. If the virtualization service initialization fails, the transformation pipeline is suspended and continued after the problem is eliminated.

[0127] When the virtualization service is successfully initialized, the environment configuration of the preset operating system is restored. Specifically, the environment configuration restoration includes: creating an EC log directory, creating a fault detection and fault recovery log directory, creating a nova user and a / var / lib / nova / instances directory, modifying the / var / lib / nova user group, decompressing the environment configuration backup and restoring, standardizing network card configuration, checking the number of subnet cards, restoring the node host (hosts) without secrets, restoring the GRand unified boot loader (Grand Unified Bootloader, grub), CPU affinity and large page service configuration. Then, after curing the routing and firewall (iptable), restart the node to make the large page service configuration effective.

[0128] Combine the following Figure 4 , specifically describes the process of reinstalling the operating system:

[0129] Perform an environment configuration backup of the operating system. If the environment configuration backup is successful, perform hardware detection and firmware upgrade on the first computing node. If the hardware detection and firmware upgrade are successful, determine to reinstall the operating system to the preset operating system through out-of-band installation. Specifically, initialize the preset operating system. If the initialization is successful, reinstall the node agent. If the agent is successfully reinstalled, perform antivirus installation. If the antivirus installation is successful, perform environment configuration recovery. If the environment configuration is restored, perform cloud security center installation and 4A account hosting. If the cloud security center installation and 4A account hosting are successful, perform acceptance of the preset operating system.

[0130] In an optional embodiment, the components related to the elastic computing EC deployed on the first computing node include:

[0131] Performing Kubernetes K8S management on the first computing node and performing core binding processing on the first computing node;

[0132] When K8S is successfully managed and the core binding process is successful, the EC service and the Dynamic Host Configuration Protocol DHCP service are enabled on the first computing node.

[0133] In this optional embodiment, the deployment process of EC related components is mainly introduced. The deployment process of SDN related components is basically the same as the deployment process of EC related components, which will not be repeated here.

[0134] Specifically, in this optional embodiment, K8S management and core binding operations are first performed, and the container management tool (containerd) installation package is distributed to the deployment node (i.e., the first computing node) and installed. After the installation is complete, swap is disabled, and the kernel parameters, kernel version and default route are checked to see if they meet the requirements. Then, the key and certificate are generated on the K8S masater node and copied to the transformed node (the first computing node). After the key is generated, the transformed node is managed by K8S, and the transformed node is added to the K8S cluster, labeled and bound to the core.

[0135] After the K8S management and core binding operations are successful, start EC-related services, fault detection and fault recovery-related services, and virtual network (neutron) dynamic host protocol configuration (Dynamic Host Configuration Protocol, DCHP), that is, neutron-dchp-related services on the first computing node and check the service status.

[0136] Furthermore, when the relevant components of elastic computing EC and relevant components of software defined network SDN deployed on the first computing node are successful, the method further includes at least one of the following:

[0137] Detecting a preset operating system on the first computing node;

[0138] Performing a service network access detection on the first computing node;

[0139] Perform a network connectivity check on the first computing node.

[0140] Specifically, after the operating system is replaced (modified), in order to verify whether it meets the network access standards and whether it can provide service bearing, an automated network access detection method is provided, which mainly carries out detection from three aspects: OS operating system (preset operating system for detection), service (service network access detection), and connectivity (network connectivity detection).

[0141] In terms of OS: focus on network access inspections in terms of OS software version, environment configuration, resource isolation, basic services, platform tools, security integration, etc., with an emphasis on ensuring the standardization of the basic environment;

[0142] In terms of business: focus on network access inspections in containerization, computing services, network services, virtualization services, etc., with an emphasis on ensuring business stability;

[0143] In terms of connectivity, the focus is on conducting network access checks on basic component network connectivity, security network connectivity, storage network connectivity and network isolation, with an emphasis on ensuring business availability.

[0144] The operating system transformation method provided by the embodiment of the present invention only needs to input the host name (hostname) of the node with the transformation during the transformation, and the command can be executed on various types of nodes in each resource pool according to the hostname information, which simplifies the process; the node is automatically isolated before the transformation to prevent the virtual machine newly ordered by the customer from being dropped during the transformation process to avoid affecting the customer's business; the alarm is automatically shielded before the transformation to ensure the normal progress of daily operation and maintenance work. The pipeline realizes the automatic migration of the virtual machine before the transformation, and the state of the virtual machine is detected before and after the transformation to detect abnormalities in time. The automatic reinstallation of the Euler operating system is realized in the pipeline, and some configuration files before the transformation are automatically restored to the node to be transformed, ensuring the accuracy of the configuration. Multiple components of EC and SDN need to be deployed on the node to be transformed, and the logic is complex. One-click deployment is realized without manual intervention, which greatly improves the efficiency of the transformation. And the automatic acceptance after the transformation is realized to ensure the accuracy and standardization of the transformation results; after the transformation is completed, the node is automatically de-isolated and placed in the existing network zone for customer ordering.

[0145] The operating system transformation method provided by the embodiment of the present invention only needs to input the hostname of the node to be transformed to perform environmental detection, virtual machine migration, reinstallation of the operating system, automatic acceptance, automatic alarm shielding / unshielding and other functions, without the need for manual intervention, which greatly improves the transformation efficiency. During the transformation process, the transformation results will be verified many times, and abnormalities will be thrown out in time to facilitate manual resolution; after the transformation is completed, the acceptance will be automatically carried out according to the acceptance checklist, ensuring the accuracy of the transformation results and the stability of the existing network environment. It has strong automation capabilities, and realizes the capabilities of environmental inspection before change, automatic hot migration of virtual machines, automatic deployment of components, automatic reinstallation of the operating system, and automatic acceptance, and all the above capabilities are concentrated in the pipeline. During the node transformation process, only the hostname information of the node needs to be input, and it can be executed with one click in the pipeline, which unprecedentedly improves the efficiency of the transformation; cross-OS hot migration without service interruption is realized. The existing mobile cloud network has a large scale of machines, a large number of customers, and a wide range of impacts. In this pipeline, the virtual machines on the physical machines are hot migrated to the modified nodes before the transformation, and the status of the virtual machines is checked before and after the transformation. There is no impact on customer business, ensuring the continuity of customer business; compatibility at the EC, SDN, OS and other levels is achieved, and all EC services are deployed in containers. K8S is used for containerized management of EC, which reduces the dependency between components and ensures the stability of the system.

[0146] like Figure 5 As shown, the embodiment of the present invention also provides an operating system transformation device, including:

[0147] A first processing module 501 is used to migrate a virtual machine in a first computing node to a second computing node;

[0148] The second processing module 502 is used to reinstall the operating system running on the first computing node as a preset operating system if the virtual machine migration is successful;

[0149] The third processing module 503 is used to deploy the relevant components of elastic computing EC and the relevant components of software defined network SDN on the first computing node when the preset operating system is reinstalled successfully.

[0150] Optionally, the device further comprises:

[0151] A fourth processing module, used to perform environment initialization processing on the first computing node;

[0152] A fifth processing module, configured to perform a first operation on the first computing node when the environment initialization is completed, wherein the first operation includes at least one of: environment inspection, isolation processing, and alarm shielding processing;

[0153] The first determining module is used to determine to migrate the virtual machine in the first computing node to the second computing node when the first operation is successful.

[0154] Optionally, the first processing module 501 includes:

[0155] A first acquisition unit, configured to acquire pre-migration information for migrating a virtual machine in the first computing node to a second computing node;

[0156] A first processing unit is configured to repair the central processing unit (CPU) characteristics of the first computing node if the pre-migration information is successfully obtained;

[0157] A second processing unit is used to check the status of the virtual machine on the first computing node when the CPU characteristic repair is successful;

[0158] The third processing unit is used to migrate the virtual machine in the first computing node to the second computing node when the status check is successful.

[0159] Optionally, the first processing module 501 further includes:

[0160] a fourth processing unit, configured to perform flow detection on the virtual network interface of the virtual machine in the first computing node to obtain a first flow detection result;

[0161] The third processing unit is specifically configured to:

[0162] Migrate the virtual machine in the first computing node to the second computing node, perform flow detection on the virtual network interface of the migrated virtual machine, and obtain a second flow detection result;

[0163] When the first flow detection result and the second flow detection result are consistent, it is determined that the virtual machine migration is successful.

[0164] Optionally, the device further comprises:

[0165] A sixth processing module, configured to perform EC service suspension processing on the operating system running on the first computing node;

[0166] A seventh processing module, configured to release the management of the first computing node when the EC service outage is successfully processed;

[0167] An eighth processing module is used to perform environment configuration backup processing on the first computing node when the management is successfully released;

[0168] The ninth processing module is used to determine to reinstall the operating system running on the first computing node as the preset operating system when the environment configuration backup is successful.

[0169] Optionally, the second processing module 502 includes:

[0170] a fifth processing unit, configured to perform hardware detection and firmware upgrade on the first computing node;

[0171] A sixth processing unit, configured to reinstall the operating system as the preset operating system if the hardware detection is successful and the firmware upgrade is successful;

[0172] a seventh processing unit, configured to initialize the preset operating system when the system reinstallation is completed;

[0173] An eighth processing unit, configured to perform agent reinstallation on the first computing node when the preset operating system is initialized;

[0174] A ninth processing unit, configured to perform a second operation on the preset operating system when the agent is successfully reinstalled, wherein the second operation includes at least one of the following: antivirus installation, environment configuration recovery, cloud security center installation, and account hosting;

[0175] The tenth processing unit is used to accept the preset operating system when the second operation is successful.

[0176] Optionally, the ninth processing unit is specifically configured to:

[0177] Get environment configuration backup;

[0178] Initializing the virtualization service of the preset operating system;

[0179] When the virtualization service is successfully initialized, the environment configuration of the preset operating system is restored.

[0180] Optionally, the third processing module 503 includes:

[0181] An eleventh processing unit is used to manage the first computing node in Kubernetes K8S and perform core binding processing on the first computing node;

[0182] The twelfth processing unit is used to enable the EC service and the Dynamic Host Configuration Protocol DHCP service on the first computing node when the K8S management is successful and the core binding process is successful.

[0183] Optionally, the device further includes: a tenth processing module, the tenth processing module being configured to perform at least one of the following:

[0184] Detecting a preset operating system on the first computing node;

[0185] Performing a service network access detection on the first computing node;

[0186] Perform a network connectivity check on the first computing node.

[0187] It should be noted that the operating system transformation device described in the embodiment of the present invention is a device that can execute the above-mentioned operating system transformation method, so all embodiments of the above-mentioned operating system transformation method are applicable to the device and can achieve the same or similar technical effects.

[0188] like Figure 6 As shown, an embodiment of the present invention also provides an operating system transformation device, including: a processor 601; and a memory 603 connected to the processor 601 through a bus interface 602, the memory 603 is used to store programs and data used by the processor 601 when performing operations, and the processor 601 calls and executes the programs and data stored in the memory 603.

[0189] The transceiver 604 is connected to the bus interface 602 and is used to receive and send data under the control of the processor 601. Specifically, the processor 601 is used to read the program in the memory 603. The processor 601 performs the following process:

[0190] Migrate the virtual machine in the first computing node to the second computing node;

[0191] If the virtual machine migration is successful, reinstalling the operating system running on the first computing node as a preset operating system;

[0192] When the preset operating system is reinstalled successfully, the relevant components of elastic computing EC and the relevant components of software defined network SDN are deployed on the first computing node.

[0193] Optionally, the processor 601 is further configured to:

[0194] Performing environment initialization processing on the first computing node;

[0195] When the environment initialization is completed, performing a first operation on the first computing node, the first operation comprising: at least one of an environment check, an isolation process, and an alarm shielding process;

[0196] If the first operation is successful, determine to migrate the virtual machine in the first computing node to the second computing node.

[0197] Optionally, the processor 601 is specifically configured to:

[0198] Obtaining migration pre-information for migrating the virtual machine in the first computing node to the second computing node;

[0199] In the case where the pre-migration information is successfully obtained, repairing the central processing unit (CPU) characteristics of the first computing node;

[0200] If the CPU characteristic repair is successful, checking the status of the virtual machine on the first computing node;

[0201] If the status check is successful, the virtual machine in the first computing node is migrated to the second computing node.

[0202] Optionally, the processor 601 is further configured to:

[0203] Performing flow detection on the virtual network interface of the virtual machine in the first computing node to obtain a first flow detection result;

[0204] The processor 601 is further configured to:

[0205] Migrate the virtual machine in the first computing node to the second computing node, perform flow detection on the virtual network interface of the migrated virtual machine, and obtain a second flow detection result;

[0206] When the first flow detection result and the second flow detection result are consistent, it is determined that the virtual machine migration is successful.

[0207] Optionally, the processor 601 is further configured to:

[0208] Stopping EC services for the operating system running on the first computing node;

[0209] If the EC service outage is successful, the first computing node is released from management;

[0210] In the case where the management is successfully released, backing up the environment configuration running on the first computing node;

[0211] In the case where the environment configuration backup is successful, it is determined to reinstall the operating system running on the first computing node as the preset operating system.

[0212] Optionally, the processor 601 is specifically configured to:

[0213] Performing hardware detection and firmware upgrade on the first computing node;

[0214] If the hardware detection is successful and the firmware upgrade is successful, reinstalling the operating system as the preset operating system;

[0215] When the system reinstallation is completed, initializing the preset operating system;

[0216] When the preset operating system is initialized, reinstalling the agent on the first computing node;

[0217] In the case where the agent is reinstalled successfully, a second operation is performed on the preset operating system, wherein the second operation includes at least one of the following: antivirus installation, environment configuration recovery, cloud security center installation, and account hosting;

[0218] When the second operation is successful, the preset operating system is accepted.

[0219] Optionally, the processor 601 is specifically configured to:

[0220] Get environment configuration backup;

[0221] Initializing the virtualization service of the preset operating system;

[0222] When the virtualization service is successfully initialized, the environment configuration of the preset operating system is restored.

[0223] Optionally, the processor 601 is specifically configured to:

[0224] Performing Kubernetes K8S management on the first computing node and performing core binding processing on the first computing node;

[0225] When K8S is successfully managed and the core binding process is successful, the EC service and the Dynamic Host Configuration Protocol DHCP service are enabled on the first computing node.

[0226] Optionally, the processor 601 is further configured to perform at least one of the following:

[0227] Detecting a preset operating system on the first computing node;

[0228] Performing a service network access detection on the first computing node;

[0229] Perform a network connectivity check on the first computing node.

[0230] Among them, Figure 6In the embodiment, the bus architecture may include any number of interconnected buses and bridges, specifically linking together various circuits of one or more processors represented by processor 601 and memory represented by memory 603. The bus architecture may also link together various other circuits such as peripherals, voltage regulators, and power management circuits, which are well known in the art and are therefore not further described herein. The bus interface 602 provides a user interface 605. The transceiver 604 may be a plurality of components, i.e., including a transmitter and a receiver, providing a unit for communicating with various other devices on a transmission medium. The processor 601 is responsible for managing the bus architecture and general processing, and the memory 603 may store data used by the processor 601 when performing operations.

[0231] In addition, a specific embodiment of the present invention further provides a computer-readable storage medium on which a computer program is stored, wherein when the program is executed by a processor, the steps in the operating system transformation method described in any one of the above are implemented.

[0232] In the several embodiments provided in the present application, it should be understood that the disclosed methods and devices can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.

[0233] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may be physically included separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of hardware plus software functional units.

[0234] The above-mentioned integrated unit implemented in the form of a software functional unit can be stored in a computer-readable storage medium. The above-mentioned software functional unit is stored in a storage medium, including a number of instructions for enabling a computer device (which can be a personal computer, a server, or a network device, etc.) to perform some steps of the sending and receiving methods described in various embodiments of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (Read-Only Memory, referred to as ROM), random access memory (Random Access Memory, referred to as RAM), disk or optical disk and other media that can store program codes.

[0235] A specific embodiment of the present invention further provides a computer program product, including computer instructions, which, when executed by a processor, implement the above Figure 1 The various processes of the method embodiment shown can achieve the same technical effect, and will not be described again here to avoid repetition.

[0236] The above is a preferred embodiment of the present invention. It should be pointed out that for ordinary personnel in this technical field, several improvements and modifications can be made without departing from the principles of the present invention. These improvements and modifications should also be regarded as the scope of protection of the present invention.

Claims

1. A method for modifying an operating system, characterized in that: include: Migrate the virtual machine in the first computing node to the second computing node; If the virtual machine migration is successful, reinstalling the operating system running on the first computing node as a preset operating system; When the preset operating system is reinstalled successfully, the relevant components of elastic computing EC and the relevant components of software defined network SDN are deployed on the first computing node.

2. The method according to claim 1, characterized in that Before migrating the virtual machine in the first computing node to the second computing node, the method further includes: Performing environment initialization processing on the first computing node; When the environment initialization is completed, performing a first operation on the first computing node, the first operation comprising: at least one of an environment check, an isolation process, and an alarm shielding process; If the first operation is successful, determine to migrate the virtual machine in the first computing node to the second computing node.

3. The method according to claim 1, characterized in that Migrating a virtual machine from a first computing node to a second computing node includes: Obtaining migration pre-information for migrating the virtual machine in the first computing node to the second computing node; In the case where the pre-migration information is successfully obtained, repairing the central processing unit (CPU) characteristics of the first computing node; If the CPU characteristic repair is successful, checking the status of the virtual machine on the first computing node; If the status check is successful, the virtual machine in the first computing node is migrated to the second computing node.

4. The method according to claim 3, characterized in that Before migrating the virtual machine in the first computing node to the second computing node, the method further includes: Performing flow detection on the virtual network interface of the virtual machine in the first computing node to obtain a first flow detection result; Migrating the virtual machine in the first computing node to the second computing node includes: Migrate the virtual machine in the first computing node to the second computing node, perform flow detection on the virtual network interface of the migrated virtual machine, and obtain a second flow detection result; When the first flow detection result and the second flow detection result are consistent, it is determined that the virtual machine migration is successful.

5. The method according to claim 1, characterized in that Before reinstalling the operating system running on the first computing node as a preset operating system, the method further includes: Stopping EC services on the operating system running on the first computing node; If the EC service outage is successful, the first computing node is released from management; In the case where the management is successfully released, performing environment configuration backup processing on the operating system running on the first computing node; In the case where the environment configuration backup is successful, it is determined to reinstall the operating system running on the first computing node as the preset operating system.

6. The method according to claim 1, characterized in that Reinstalling the operating system running on the first computing node to a preset operating system includes: Performing hardware detection and firmware upgrade on the first computing node; If the hardware detection is successful and the firmware upgrade is successful, reinstalling the operating system as the preset operating system; When the system reinstallation is completed, initializing the preset operating system; When the preset operating system is initialized, reinstalling the agent on the first computing node; In the case where the agent is reinstalled successfully, a second operation is performed on the preset operating system, wherein the second operation includes at least one of the following: antivirus installation, environment configuration recovery, cloud security center installation, and account hosting; When the second operation is successful, the preset operating system is accepted.

7. The method according to claim 6, characterized in that Performing a second operation on the preset operating system includes: Get environment configuration backup; Initializing the virtualization service of the preset operating system; When the virtualization service is successfully initialized, the environment configuration of the preset operating system is restored.

8. The method according to claim 1, characterized in that The components related to the elastic computing EC deployed on the first computing node include: Performing Kubernetes K8S management on the first computing node and performing core binding processing on the first computing node; When K8S is successfully managed and the core binding process is successful, the EC service and the Dynamic Host Configuration Protocol DHCP service are enabled on the first computing node.

9. The method according to claim 1, characterized in that: In the case where the relevant components of elastic computing EC and the relevant components of software defined network SDN deployed on the first computing node are successful, the method further includes at least one of the following: Detecting a preset operating system on the first computing node; Performing a service network access detection on the first computing node; Perform a network connectivity check on the first computing node.

10. An operating system modification device, characterized in that: include: A first processing module, configured to migrate a virtual machine in a first computing node to a second computing node; A second processing module is used to reinstall the operating system running on the first computing node as a preset operating system if the virtual machine migration is successful; The third processing module is used to deploy relevant components of elastic computing EC and relevant components of software defined network SDN on the first computing node when the preset operating system is reinstalled successfully.

11. An operating system transformation device, characterized in that: include: A processor, a memory, and a program stored in the memory and executable on the processor, wherein the program, when executed by the processor, implements the operating system transformation method as claimed in any one of claims 1 to 9.

12. A readable storage medium, characterized in that: The readable storage medium stores a program, and when the program is executed by a processor, the steps in the operating system transformation method according to any one of claims 1 to 9 are implemented.

13. A computer program product, characterized in that The method comprises computer instructions, which, when executed by a processor, implement the steps in the operating system transformation method as claimed in any one of claims 1 to 9.