CN113900625A - Method, system, management method and equipment for generating cloud computing resource management platform - Google Patents

Method, system, management method and equipment for generating cloud computing resource management platform Download PDF

Info

Publication number
CN113900625A
CN113900625A CN202010571831.XA CN202010571831A CN113900625A CN 113900625 A CN113900625 A CN 113900625A CN 202010571831 A CN202010571831 A CN 202010571831A CN 113900625 A CN113900625 A CN 113900625A
Authority
CN
China
Prior art keywords
packaging
resource scheduling
installing
compiling
service component
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202010571831.XA
Other languages
Chinese (zh)
Inventor
王鹏达
黄飞龙
王竞争
杜磊
花志强
秦凯乾
穆启鹏
侯海翔
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Diankeyun Beijing Technology Co ltd
Original Assignee
Diankeyun Beijing Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Diankeyun Beijing Technology Co ltd filed Critical Diankeyun Beijing Technology Co ltd
Priority to CN202010571831.XA priority Critical patent/CN113900625A/en
Publication of CN113900625A publication Critical patent/CN113900625A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/20Software design
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/40Transformation of program code
    • G06F8/41Compilation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/61Installation
    • G06F8/63Image based installation; Cloning; Build to order
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/455Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
    • G06F9/45533Hypervisors; Virtual machine monitors
    • G06F9/45558Hypervisor-specific management and integration aspects
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/48Program initiating; Program switching, e.g. by interrupt
    • G06F9/4806Task transfer initiation or dispatching
    • G06F9/4843Task transfer initiation or dispatching by program, e.g. task dispatcher, supervisor, operating system
    • G06F9/4881Scheduling strategies for dispatcher, e.g. round robin, multi-level priority queues
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/455Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
    • G06F9/45533Hypervisors; Virtual machine monitors
    • G06F9/45558Hypervisor-specific management and integration aspects
    • G06F2009/45562Creating, deleting, cloning virtual machine instances
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/455Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
    • G06F9/45533Hypervisors; Virtual machine monitors
    • G06F9/45558Hypervisor-specific management and integration aspects
    • G06F2009/45583Memory management, e.g. access or allocation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/455Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
    • G06F9/45533Hypervisors; Virtual machine monitors
    • G06F9/45558Hypervisor-specific management and integration aspects
    • G06F2009/45595Network integration; Enabling network access in virtual machine instances

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Stored Programmes (AREA)

Abstract

The invention provides a generation method, a system, a management method and equipment of a cloud computing resource management platform, wherein the generation method comprises the following steps: respectively aiming at each service component on the Shenwei processor, packaging and packaging an installation file, registering a database, creating a configuration file and compiling, installing and operating to obtain error reporting information and receive optimization operation according to the error reporting information so that the components are compiled, installed and operated after the optimization operation is carried out; the optimization operation comprises one or more of adjusting a dependency package related to packaging and packaging, adjusting a dependency version related to packaging and packaging, and modifying the created configuration file, or further comprises a kernel module for adding a driver in the created configuration file, a kernel module for adding a network part and a storage part on the Shenwei processor; and adjusting the configuration file of the component according to the error reporting information corresponding to the resource scheduling information in the optimized component service logic. By the scheme, the cloud computing resource management platform can be operated on the Shenwei processor.

Description

Method, system, management method and equipment for generating cloud computing resource management platform
Technical Field
The invention relates to the technical field of computers, in particular to a generation method of a Shenwei-processor-based cloud computing resource management platform, a Shenwei-processor-based cloud computing resource management platform system, a Shenwei-processor-based cloud computing resource management method, an electronic device and a computer-readable storage medium.
Background
Resources such as computation, storage, network and the like can be abstracted into a computation resource pool, a network resource pool and a storage resource pool through a virtualization technology, and the resource pools can be uniformly divided and managed to provide virtual resources and virtual service capability for users.
The cloud computing resource management technology can realize unified scheduling management on basic virtual resources through components such as authentication management, computing resource management, network resource management, mirror image management, storage resource management and the like. Through the cloud computing resource management technology, the physical resource virtualization and virtual resource scheduling management capacity can be realized.
The rapid expansion of cluster resource scale makes the scheduling management of virtual resources by a cloud platform very important, the cloud platform is popular in an X86 system architecture, but no cloud computing resource management technology based on a Shenwei architecture exists at present, and due to the particularity of the architecture system, the existing cloud computing resource management platform cannot be directly operated on the Shenwei processor.
Disclosure of Invention
In view of this, the present invention provides a method, a system, a method and a device for generating a cloud computing resource management platform, so as to implement running the cloud computing resource management platform on a Shenwei processor.
In order to achieve the purpose, the invention is realized by adopting the following scheme:
according to an aspect of the embodiment of the invention, a generation method of a cloud computing resource management platform based on an Shenwei processor is provided, and comprises the following steps:
on a Shenwei processor, packaging and installing files, registering a database, creating configuration files and compiling and installing operation aiming at an authentication management service component, and receiving first optimization operation carried out according to first error information under the condition that the first error information is obtained after the compiling and installing operation so that the authentication management service component is compiled, installed and operated after the first optimization operation; wherein the first optimization operation comprises one or more of adjusting a dependent package related to packaging, adjusting a dependent version related to packaging, and modifying the created configuration file;
on a Shenwei processor, aiming at a cloud computing resource management control service assembly, packaging and installing a file, registering a database, creating a configuration file, compiling, installing and running, and receiving second optimization operation performed according to second error information under the condition that the second error information is obtained after compiling, installing and running so that the cloud computing resource management control service assembly performs compiling, installing and running after the second optimization operation; wherein the second optimization operation comprises one or more of adjusting a dependent package related to packaging, adjusting a dependent version related to packaging, and modifying the created configuration file;
on a Shenwei processor, packaging and installing a file, registering a database, creating a configuration file and compiling and installing operation aiming at a computing resource scheduling service component, and receiving third optimization operation performed according to third error information under the condition that the third error information is obtained after the compiling and installing operation so that the computing resource scheduling service component is compiled, installed and operated after the third optimization operation is performed; wherein the third optimization operation includes adding a kernel module for a driver in the created configuration file, or further includes one or more of encapsulating a dependent package related to packaging, adjusting a dependent version related to packaging, and modifying the created configuration file;
on a Shenwei processor, aiming at a mirror image resource scheduling service component, packaging and installing a file, registering a database, creating a configuration file, compiling, installing and running, and receiving fourth optimization operation performed according to fourth error information under the condition that the fourth error information is obtained after compiling, installing and running so that the mirror image resource scheduling service component is compiled, installed and run after the fourth optimization operation is performed; wherein the fourth optimization operation comprises one or more of adjusting a dependent package related to packaging, adjusting a dependent version related to packaging, and modifying the created configuration file;
on a Shenwei processor, packaging and installing files, registering a database, creating a configuration file and compiling and installing operation aiming at a network resource scheduling service component, and receiving fifth optimization operation performed according to fifth error information under the condition that the fifth error information is obtained after the compiling and installing operation so that the network resource scheduling service component is compiled, installed and operated after the fifth optimization operation; wherein the fifth optimization operation includes adding a kernel module of a network part on the Shenwei processor, or further includes one or more of adjusting a dependent package related to packaging and packaging, adjusting a dependent version related to packaging and packaging, and modifying the created configuration file;
on a Shenwei processor, packaging and installing files, registering a database, creating a configuration file and compiling and installing operation aiming at a storage resource scheduling service component, and receiving sixth optimization operation performed according to sixth error information under the condition that sixth error information is obtained after compiling and installing operation so that the storage resource scheduling service component is compiled, installed and operated after the sixth optimization operation; wherein the sixth optimization operation comprises adding a kernel module of a storage part on the Shenwei processor, or further comprises one or more of adjusting a dependent package related to packaging and packaging, adjusting a dependent version related to packaging and packaging, and modifying the created configuration file;
under the condition that the authentication management service component after the first optimization operation, the cloud computing resource management control service component after the second optimization operation, the computing resource scheduling service component after the third optimization operation, the mirror image resource scheduling service component after the fourth optimization operation, the network resource scheduling service component after the fifth optimization operation and the storage resource scheduling service component after the sixth optimization operation are compiled, installed and operated, the computing resource scheduling service component after the third optimization operation is subjected to seventh optimization operation according to seventh error reporting information generated when the cloud computing resource management control service component after the second optimization operation sends resource scheduling information to the computing resource scheduling service component after the third optimization operation, so that the computing resource scheduling service component after the seventh optimization operation successfully receives the resource of the cloud computing resource management control service component after the second optimization operation Scheduling information; wherein the seventh optimization operation comprises modifying the configuration file of the computing resource scheduling service component after the third optimization operation.
In some embodiments, on the Shenwei processor, encapsulating the package installation file, registering the database, creating the configuration file, and compiling the installation run for the authentication management service component includes: on the Shenwei processor, aiming at the authentication management service component, packaging and installing files under the condition that a kernel module related to the architecture of the Shenwei processor is placed in an independent kernel directory, registering a database, creating a configuration file, and compiling, installing and running. On a Shenwei processor, aiming at a cloud computing resource management control service component, packaging and installing files, registering a database, creating configuration files, compiling, installing and running comprise the following steps: on the Shenwei processor, aiming at the cloud computing resource management control service component, a packaging installation file is packaged under the condition that a kernel module related to the architecture of the Shenwei processor is placed in an independent kernel directory, and a database is registered, a configuration file is created, and compiling, installing and running are carried out. On a Shenwei processor, aiming at a computing resource scheduling service component, packaging a packaging installation file, registering a database, creating a configuration file and compiling, installing and running, wherein the steps of: on the Shenwei processor, aiming at the computing resource scheduling service component, packaging and installing files under the condition that a kernel module related to the architecture of the Shenwei processor is placed in an independent kernel directory, registering a database, creating a configuration file, and compiling, installing and running. On a Shenwei processor, aiming at a mirror image resource scheduling service component, packaging a mounting file, registering a database, creating a configuration file, and compiling, mounting and running, wherein the method comprises the following steps: on the Shenwei processor, aiming at the mirror image resource scheduling service component, packaging and installing files under the condition that a kernel module related to the architecture of the Shenwei processor is placed in an independent kernel directory, registering a database, creating a configuration file, and compiling, installing and running. On a Shenwei processor, aiming at a network resource scheduling service component, packaging a packaging installation file, registering a database, creating a configuration file, and compiling, installing and operating, wherein the method comprises the following steps: on the Shenwei processor, aiming at the network resource scheduling service component, packaging and installing files under the condition that a kernel module related to the architecture of the Shenwei processor is placed in an independent kernel directory, registering a database, creating a configuration file, and compiling, installing and running. On a Shenwei processor, aiming at a storage resource scheduling service component, packaging a packaging installation file, registering a database, creating a configuration file and compiling, installing and operating, wherein the steps of: on the Shenwei processor, aiming at the storage resource scheduling service component, packaging and installing files under the condition that a kernel module related to the architecture of the Shenwei processor is placed in an independent kernel directory, registering a database, creating a configuration file, and compiling, installing and running.
In some embodiments, on the Shenwei processor, encapsulating the package installation file, registering the database, creating the configuration file, and compiling the installation run for the authentication management service component includes: on the Shenwei processor, compiling and preprocessing a processor architecture code irrelevant to a kernel module of the Shenwei processor aiming at an authentication management service component, packaging and installing a file, registering a database, creating a configuration file, and compiling, installing and running. On a Shenwei processor, aiming at a cloud computing resource management control service component, packaging and installing files, registering a database, creating configuration files, compiling, installing and running comprise the following steps: on the Shenwei processor, for a cloud computing resource management control service component, after compiling and preprocessing a processor architecture code irrelevant to a kernel module of the Shenwei processor, packaging and installing a file, registering a database, creating a configuration file, and compiling, installing and running. On a Shenwei processor, aiming at a computing resource scheduling service component, packaging a packaging installation file, registering a database, creating a configuration file and compiling, installing and running, wherein the steps of: on the Shenwei processor, aiming at a computing resource scheduling service component, after compiling and preprocessing a processor architecture code irrelevant to a kernel module of the Shenwei processor, packaging and installing a file, registering a database, creating a configuration file, and compiling, installing and running. On a Shenwei processor, aiming at a mirror image resource scheduling service component, packaging a mounting file, registering a database, creating a configuration file, and compiling, mounting and running, wherein the method comprises the following steps: on the Shenwei processor, aiming at a mirror image resource scheduling service component, after compiling and preprocessing a processor architecture code irrelevant to a kernel module of the Shenwei processor, packaging and installing a file, registering a database, creating a configuration file, and compiling, installing and running. On a Shenwei processor, aiming at a network resource scheduling service component, packaging a packaging installation file, registering a database, creating a configuration file, and compiling, installing and operating, wherein the method comprises the following steps: on the Shenwei processor, aiming at a network resource scheduling service component, after compiling and preprocessing a processor architecture code irrelevant to a kernel module of the Shenwei processor, packaging and installing a file, registering a database, creating a configuration file, and compiling, installing and running. On a Shenwei processor, aiming at a storage resource scheduling service component, packaging a packaging installation file, registering a database, creating a configuration file and compiling, installing and operating, wherein the steps of: on the Shenwei processor, aiming at a storage resource scheduling service component, after compiling and preprocessing a processor architecture code irrelevant to a kernel module of the Shenwei processor, packaging and installing a file, registering a database, creating a configuration file, and compiling, installing and running.
In some embodiments, the seventh optimization operation includes modifying one or more of PCI interface information, formats, and parameters in a configuration file in the computing resource scheduling service component after performing the third optimization operation.
According to an aspect of the embodiments of the present invention, there is provided a cloud computing resource management platform system based on a explain-saint-wei processor, including:
the generation method of the authentication management service module comprises the steps of packaging, packaging and installing files, registering a database, creating configuration files and compiling, installing and running aiming at an authentication management service component on a Shenwei processor, and receiving first optimization operation performed according to first error information under the condition that the first error information is obtained after compiling, installing and running so that the authentication management service component is compiled, installed and run after the first optimization operation is performed; wherein the first optimization operation comprises one or more of adjusting a dependent package related to packaging, adjusting a dependent version related to packaging, and modifying the created configuration file;
the generation method of the cloud computing resource management control service module comprises the steps of packaging and packaging an installation file, registering a database, creating a configuration file and compiling, installing and operating a cloud computing resource management control service component on a Shenwei processor, and receiving second optimization operation performed according to second error information under the condition that the second error information is obtained after the compiling, installing and operating, so that the cloud computing resource management control service component is compiled, installed and operated after the second optimization operation is performed; wherein the second optimization operation comprises one or more of adjusting a dependent package related to packaging, adjusting a dependent version related to packaging, and modifying the created configuration file;
the generation method of the computing resource scheduling service module comprises the steps of packaging and packaging installation files, registering a database, creating configuration files and compiling, installing and running aiming at a computing resource scheduling service component on a Shenwei processor, and receiving third optimization operation performed according to third error information under the condition that the third error information is obtained after compiling, installing and running so that the computing resource scheduling service component is compiled, installed and run after the third optimization operation is performed; wherein the third optimization operation includes adding a kernel module for a driver in the created configuration file, or further includes one or more of encapsulating a dependent package related to packaging, adjusting a dependent version related to packaging, and modifying the created configuration file;
the generation method of the mirror image resource scheduling service module comprises the steps of packaging and packaging installation files, registering a database, creating configuration files and compiling, installing and running aiming at a mirror image resource scheduling service component on a Shenwei processor, and receiving fourth optimization operation performed according to fourth error information under the condition that the fourth error information is obtained after compiling, installing and running so that the mirror image resource scheduling service component is compiled, installed and run after the fourth optimization operation is performed; wherein the fourth optimization operation comprises one or more of adjusting a dependent package related to packaging, adjusting a dependent version related to packaging, and modifying the created configuration file;
the generation method of the network resource scheduling service module comprises the steps of packaging and packaging installation files, registering a database, creating configuration files and compiling, installing and running aiming at a network resource scheduling service component on a Shenwei processor, and receiving fifth optimization operation performed according to fifth error information under the condition that the fifth error information is obtained after compiling, installing and running so that the network resource scheduling service component is compiled, installed and run after the fifth optimization operation; wherein the fifth optimization operation includes adding a kernel module of a network part on the Shenwei processor, or further includes one or more of adjusting a dependent package related to packaging and packaging, adjusting a dependent version related to packaging and packaging, and modifying the created configuration file;
the generation method of the storage resource scheduling service module comprises the steps of packaging, packaging and installing files, registering a database, creating configuration files and compiling, installing and running storage resource scheduling service components on a Shenwei processor, and receiving sixth optimization operation performed according to sixth error information under the condition that the sixth error information is obtained after compiling, installing and running are performed, so that the storage resource scheduling service components are compiled, installed and run after the sixth optimization operation is performed; wherein the sixth optimization operation comprises adding a kernel module of a storage part on the Shenwei processor, or further comprises one or more of adjusting a dependent package related to packaging and packaging, adjusting a dependent version related to packaging and packaging, and modifying the created configuration file;
the generation method of the computing resource scheduling service module further comprises the steps of carrying out a seventh optimization operation on the computing resource scheduling service component after the third optimization operation according to seventh error reporting information generated when the cloud computing resource management control service component after the second optimization operation sends the resource scheduling information to the computing resource scheduling service component after the third optimization operation under the condition that the authentication management service component after the first optimization operation, the cloud computing resource management control service component after the second optimization operation, the computing resource scheduling service component after the third optimization operation, the mirror image resource scheduling service component after the fourth optimization operation, the network resource scheduling service component after the fifth optimization operation and the storage resource scheduling service component after the sixth optimization operation are compiled, installed and operated, the resource scheduling information of the cloud computing resource management control service component after the second optimization operation is successfully received by the computing resource scheduling service component after the seventh optimization operation is performed; wherein the seventh optimization operation comprises modifying the configuration file of the computing resource scheduling service component after the third optimization operation.
In some embodiments, the authentication management service module is configured to provide an authentication service for the resource application request and the token; the cloud computing resource management control service module is used for processing resource scheduling requests, generating resource scheduling tasks and providing control services for resources of computing, storage, networks and images; the computing resource scheduling service module is used for providing the life cycle management and bare metal server management capabilities of the virtual machine; the mirror image resource scheduling service module is used for providing virtual machine mirror image management capacity; the network resource scheduling service module is used for providing the full life cycle management capability of the virtual resource network; and the storage resource scheduling service module is used for providing the full life cycle management capability of the cloud hard disk.
According to an aspect of the embodiments of the present invention, there is provided a method for managing cloud computing resources based on a explain majestic processor, which is implemented by using the cloud computing resource management platform system based on the explain majestic processor described in any of the above embodiments, the method includes:
receiving a resource application authentication request from a user by using an authentication management service module, generating a token and returning the token to the user under the condition that the resource application authentication request passes the authentication;
based on a KVM virtualization monitor applicable to a Shenwei processor, a cloud computing resource management control service module is utilized to receive a resource scheduling request carrying the token, and the token carried by the resource scheduling request is sent to an authentication management service module;
verifying the validity of the token carried by the resource scheduling request by using the authentication management service module, and if the token is valid, returning a token verification valid result to the cloud computing resource management control service module;
based on a KVM virtualization monitor applicable to the Shenwei processor, the cloud computing resource management control service module is utilized to send a token which is verified to be valid and resource scheduling information in the resource scheduling request to a computing resource scheduling service module;
calling a KVM virtual machine suitable for a Shenwei processor through a libvirt library function to realize virtualization, and respectively sending a mirror resource scheduling request, a network resource scheduling request and a storage resource scheduling request to a mirror resource scheduling service module, a network resource scheduling service module and a storage resource scheduling service module by using the computing resource scheduling service module according to the computing resource scheduling information;
calling a KVM virtual machine suitable for a Shenwei processor through a libvirt library function to realize virtualization, receiving schedulable mirror resource information returned by the mirror resource scheduling service module, schedulable network resource information returned by the network resource scheduling service module and schedulable storage resource information returned by the storage resource scheduling service module by using the computing resource scheduling service module, creating resources according to the schedulable mirror resource information, the schedulable network resource information and the schedulable storage resource information, and returning the created resources to a user.
In some embodiments, the method for managing cloud computing resources based on an applicant processor further includes:
calling a KVM virtual machine suitable for a Shenwei processor through a libvirt library function to realize virtualization, and utilizing the computing resource scheduling service module to perform one or more virtual machine life cycle management and bare metal server management operations, wherein the bare metal server management operations comprise bare metal server creation, deletion, starting, closing and restarting, and the virtual machine life cycle management comprises virtual machine creation, editing, snapshot creation, starting, closing, suspension, recovery, suspension, resumption, restart, public network IP binding, public network IP unbinding, network connection, network disconnection, safe group editing and monitoring;
utilizing the mirror image resource scheduling service module to perform one or more virtual machine mirror image management operations, wherein the virtual machine mirror image management operations comprise creation, deletion and editing of mirror images;
utilizing the network resource scheduling service module to perform one or more virtual resource network full-life cycle management operations, wherein the virtual resource network full-life cycle management comprises the steps of creating, deleting, editing, creating a subnet, editing the subnet and deleting the subnet of the virtual resource network;
and performing one or more cloud hard disk full-life-cycle management operations by using the storage resource scheduling service module, wherein the cloud hard disk full-life-cycle management operations comprise creation, deletion and editing, and creation, deletion and editing of a mirror image.
According to an aspect of the embodiments of the present invention, there is provided an electronic device, including a memory, a processor, and a computer program stored on the memory and executable on the processor, the processor implementing the steps of the method according to any of the above embodiments when executing the program.
According to an aspect of the embodiments of the present invention, there is provided a computer-readable storage medium, on which a computer program is stored, wherein the program is configured to implement the steps of the method according to any of the above embodiments when executed by a processor.
The generation method, the system, the management method and the equipment of the cloud computing resource management platform can realize that the cloud computing resource management platform runs on the Shenwei processor.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts. In the drawings:
fig. 1 is a flowchart illustrating a method for generating a cloud computing resource management platform based on a explain processor according to an embodiment of the present invention;
FIG. 2 is a schematic structural diagram of a cloud computing resource management platform system based on Shenwei processors according to an embodiment of the present invention;
FIG. 3 is a flowchart illustrating a cloud computing resource management method based on Shenwei processors according to an embodiment of the present invention;
fig. 4 is a flowchart illustrating a cloud computing resource management method based on a explain case processor according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention more apparent, the embodiments of the present invention are further described in detail below with reference to the accompanying drawings. The exemplary embodiments and descriptions of the present invention are provided to explain the present invention, but not to limit the present invention.
Because the cloud computing resource management technology cannot run on the Shenwei processor, the cloud platform technology is in bottleneck in the development of the domestic platform, and the ecological construction and the autonomous controllable realization of the domestic cloud platform are seriously influenced. Therefore, the invention provides a generation method of a cloud computing resource management platform based on an Shenwei processor.
Fig. 1 is a flowchart illustrating a method for generating a cloud computing resource management platform based on a explain case processor according to an embodiment of the present invention. Referring to fig. 1, the generation method of the cloud computing resource management platform based on the Shenwei processor of the embodiments may include the following steps S110 to S170.
Specific embodiments of steps S110 to S170 will be described in detail below.
It should be noted in advance that the authentication management service component, the cloud computing resource management control service component, the computing resource scheduling service component, the mirror resource scheduling service component, the network resource scheduling service component, and the storage resource scheduling service component may be existing components or modified components. The authentication management service component can provide authentication services for other components to guarantee the authentication management function of the cluster; the computing resource scheduling service component can provide deployment and computing capability for the virtual machine, so that the virtual machine can be conveniently managed in a full life cycle; the network resource scheduling service component can provide network service for the virtual machine and guarantee network functions in the cloud platform; the mirror image resource scheduling service component can provide mirror image service for the virtual machine and support a mirror image environment deployed in the application in the platform; the storage resource service component can provide a cloud hard disk storage function for the virtual machine and guarantee the cloud platform storage function. For this reason, the method for generating the cloud computing resource management platform based on the Shenwei processor provided by the invention can be used for obtaining the cloud computing resource management platform capable of operating on the Shenwei processor based on the components.
Step S110: on a Shenwei processor, packaging and installing files, registering a database, creating configuration files and compiling and installing operation aiming at an authentication management service component, and receiving first optimization operation carried out according to first error information under the condition that the first error information is obtained after the compiling and installing operation so that the authentication management service component is compiled, installed and operated after the first optimization operation; wherein the first optimization operation comprises one or more of adjusting a dependent package related to the package, adjusting a dependent version related to the package, and modifying the created configuration file.
Step S120: on a Shenwei processor, aiming at a cloud computing resource management control service assembly, packaging and installing a file, registering a database, creating a configuration file, compiling, installing and running, and receiving second optimization operation performed according to second error information under the condition that the second error information is obtained after compiling, installing and running so that the cloud computing resource management control service assembly performs compiling, installing and running after the second optimization operation; wherein the second optimization operation includes one or more of adjusting a dependent package related to the package, adjusting a dependent version related to the package, and modifying the created configuration file.
Step S130: on a Shenwei processor, packaging and installing a file, registering a database, creating a configuration file and compiling and installing operation aiming at a computing resource scheduling service component, and receiving third optimization operation performed according to third error information under the condition that the third error information is obtained after the compiling and installing operation so that the computing resource scheduling service component is compiled, installed and operated after the third optimization operation is performed; wherein the third optimization operation includes adding a kernel module for a driver in the created configuration file, or further includes one or more of encapsulating a dependent package related to packaging, adjusting a dependent version related to packaging, and modifying the created configuration file.
Step S140: on a Shenwei processor, aiming at a mirror image resource scheduling service component, packaging and installing a file, registering a database, creating a configuration file, compiling, installing and running, and receiving fourth optimization operation performed according to fourth error information under the condition that the fourth error information is obtained after compiling, installing and running so that the mirror image resource scheduling service component is compiled, installed and run after the fourth optimization operation is performed; wherein the fourth optimization operation includes one or more of adjusting a dependent package related to the package, adjusting a dependent version related to the package, and modifying the created configuration file.
Step S150: on a Shenwei processor, packaging and installing files, registering a database, creating a configuration file and compiling and installing operation aiming at a network resource scheduling service component, and receiving fifth optimization operation performed according to fifth error information under the condition that the fifth error information is obtained after the compiling and installing operation so that the network resource scheduling service component is compiled, installed and operated after the fifth optimization operation; wherein the fifth optimization operation comprises adding a kernel module of a network part on the Shenwei processor, or further comprises one or more of adjusting a dependent package related to the packaging, adjusting a dependent version related to the packaging, and modifying the created configuration file.
Step S160: on a Shenwei processor, packaging and installing files, registering a database, creating a configuration file and compiling and installing operation aiming at a storage resource scheduling service component, and receiving sixth optimization operation performed according to sixth error information under the condition that sixth error information is obtained after compiling and installing operation so that the storage resource scheduling service component is compiled, installed and operated after the sixth optimization operation; wherein the sixth optimization operation comprises adding a kernel module of a storage part on the Shenwei processor, or further comprises one or more of adjusting a dependent package related to packaging, adjusting a dependent version related to packaging, and modifying the created configuration file.
Step S170: under the condition that the authentication management service component after the first optimization operation, the cloud computing resource management control service component after the second optimization operation, the computing resource scheduling service component after the third optimization operation, the mirror image resource scheduling service component after the fourth optimization operation, the network resource scheduling service component after the fifth optimization operation and the storage resource scheduling service component after the sixth optimization operation are compiled, installed and operated, the computing resource scheduling service component after the third optimization operation is subjected to seventh optimization operation according to seventh error reporting information generated when the cloud computing resource management control service component after the second optimization operation sends resource scheduling information to the computing resource scheduling service component after the third optimization operation, so that the computing resource scheduling service component after the seventh optimization operation successfully receives the resource of the cloud computing resource management control service component after the second optimization operation Scheduling information; wherein the seventh optimization operation comprises modifying the configuration file of the computing resource scheduling service component after the third optimization operation.
In the above steps S110 to S160, the authentication management service component, the cloud computing resource management control service component, the computing resource scheduling service component, the mirror resource scheduling service component, the network resource scheduling service component, and the storage resource scheduling service component are respectively packaged and installed with files, a database is registered, a configuration file is created, and then compiling, installing, and running are performed. The error reporting information often cannot give all error reporting reasons or the given error reporting reasons are unclear, and different error reporting may be caused by problems existing in different stages in packaging, registering a database and creating a configuration file, so that the inventor creatively analyzes the error reporting reasons from different angles according to the error reporting information and adjusts the error reporting reasons accordingly, and each optimized component can be normally installed and operated in the application processor.
The error reporting reason can be analyzed from the perspective of the dependency package, the dependency version and the configuration file for each component. The order of compiling, installing and running of each component is different, and the corresponding error reporting information may be different. For example, two different components may be mistaken for the same dependency package or dependency version, and if the dependency package or the dependency version is adjusted after the installation runtime is compiled for one component, the dependency package or the dependency version is also adjusted for the other component, so the installation runtime is compiled for the other component may not be mistaken for the dependency package or the dependency version. Further, whether a configuration file created for each component is error-reported may vary from component to component.
In addition, the inventor analyzes the error information corresponding to some of the components from the perspective of the kernel module. For example, in step S130, since the driver exists in the configuration file created for the computing resource scheduling service component and may be related to the architecture specific to the schanwei processor, the schanwei processor core module is added to enable the schanwei processor to identify and install the computing resource scheduling service component. In the step S150, for the network resource scheduling service component, a kernel module lacking in the network part is added to the Shenwei processor, so that the Shenwei processor can identify and install the network resource scheduling service component. In the step S160, for the storage resource scheduling service component, a kernel module lacking in a storage portion is added to the Shenwei processor, so that the Shenwei processor can identify and install the storage resource scheduling service component.
Through the steps S110 to S160, each component can be operated independently and successfully. However, the normal operation of the cloud computing resource management platform requires that the components are matched with each other, so that the components cannot always operate normally when the service logic is realized together, and therefore, the inventor further optimizes the components from the perspective of the service logic to adapt to the operation in the Shenwei processor.
After each component is individually optimized, at least a portion of the components may be further optimized by business logic conditions with each optimized component operating. For example, in step S170, the computing resource scheduling service component may be further optimized according to the information interaction between the optimized cloud computing resource management control service component and the optimized computing resource scheduling service component. When the cloud computing resource management platform is used for scheduling the cloud computing resources, the resource scheduling information sent by the optimized cloud computing resource management control service component to the optimized computing resource scheduling service component may be obtained according to the token passing the verification and the resource scheduling information in the resource scheduling request and converted into a corresponding command. The resource scheduling information may include PCI interface information, format, and parameters, so in step S170, the seventh optimization operation may include modifying one or more of the PCI interface information, format, and parameters in the configuration file in the computing resource scheduling service component after the third optimization operation. The optimized computing resource scheduling service component obtains PCI interface information, formats, parameters and the like in the resource scheduling information, and if the information is inconsistent with the corresponding information retained by the information, errors can be reported, so that when the errors are reported, the configuration file of the component can be adjusted according to the error reporting information, and the component is further optimized from the perspective of the part of business logic.
In some further embodiments, when the package installation file is encapsulated, the kernel module related to the architecture of the Shenwei processor can be placed in an independent kernel directory, in this case, no code of other processor architectures exists in the kernel directory, and the kernel of other processor architectures cannot compile the module code in the directory when compiling, so that special processing of the kernel module of the Shenwei CPU architecture can be conveniently realized, and convenience is provided for unifying kernels of different processor architectures.
In step S110, the encapsulating, packaging, installing, registering, creating a configuration file, and compiling and installing the installation operation for the authentication management service component on the claimant processor may specifically include the steps of: and S1111, on the Shenwei processor, aiming at the authentication management service component, packaging and packaging an installation file under the condition that a kernel module related to the architecture of the Shenwei processor is placed in an independent kernel directory, registering a database, creating a configuration file, and compiling, installing and running.
In the step S120, on the Shenwei processor, for the cloud computing resource management control service component, encapsulating and packaging the installation file, registering the database, creating the configuration file, and compiling, installing and running may specifically include the steps of: s1112, on the shenwei processor, for the cloud computing resource management control service component, encapsulating the package installation file when the kernel module related to the architecture of the shenwei processor is placed in the independent kernel directory, and registering the database, creating the configuration file, and compiling, installing, and running.
In the step S130, on the Shenwei processor, for the computing resource scheduling service component, encapsulating the package installation file, registering the database, creating the configuration file, and compiling the installation operation, specifically, the method includes the steps of: s1113, on the Shenwei processor, aiming at the computing resource scheduling service component, packaging and installing files under the condition that a kernel module related to the architecture of the Shenwei processor is placed in an independent kernel directory, registering a database, creating a configuration file, and compiling, installing and operating.
In the step S140, on the Shenwei processor, for the mirror resource scheduling service component, encapsulating the package installation file, registering the database, creating the configuration file, and compiling, installing and running, the method specifically includes the steps of: s1114, on the shenwei processor, for the mirror resource scheduling service component, encapsulate the package installation file under the condition that the kernel module related to the architecture of the shenwei processor is placed in the independent kernel directory, register the database, create the configuration file, and compile the installation operation.
In the step S150, on the Shenwei processor, for the network resource scheduling service component, encapsulating the package installation file, registering the database, creating the configuration file, and compiling, installing and running may specifically include the steps of: s1115, on the Shenwei processor, aiming at the network resource scheduling service component, packaging and installing files under the condition that a kernel module related to the architecture of the Shenwei processor is placed in an independent kernel directory, registering a database, creating a configuration file, compiling, installing and running,
in the step S160, on the Shenwei processor, for the storage resource scheduling service component, encapsulating the package installation file, registering the database, creating the configuration file, and compiling the installation operation, specifically, the method includes the steps of: s1116, on the shenwei processor, for the storage resource scheduling service component, encapsulating the package installation file under the condition that the kernel module related to the architecture of the shenwei processor is placed in the independent kernel directory, and registering the database, creating the configuration file, and compiling, installing and running.
In each of the above embodiments of step S1111 to step S1116, when the installation file is packaged, the core module related to the architecture of the Shenwei processor is placed in the independent core directory for the core module code related to the CPU architecture, so that the influence of other processor architectures on the Shenwei processor architecture code can be reduced.
In still other embodiments, when the packed installation file is packed, the code of the processor architecture unrelated to the kernel module of the Shenwei processor can be compiled for preprocessing, and in this case, when the code of other processor architectures is compiled, the specific code of the Shenwei CPU architecture cannot be compiled, so that the special processing of the kernel module processing of the Shenwei CPU architecture can be realized, and convenience can be provided for unifying kernels of different processor architectures.
In step S110, the encapsulating, packaging, installing, registering, creating a configuration file, and compiling and installing the installation operation for the authentication management service component on the claimant processor may specifically include the steps of: and S1121, compiling and preprocessing a processor architecture code irrelevant to a kernel module of the Shenwei processor on the Shenwei processor aiming at the authentication management service component, packaging and installing a file, registering a database, creating a configuration file, and compiling, installing and running.
In the step S120, on the Shenwei processor, for the cloud computing resource management control service component, encapsulating and packaging the installation file, registering the database, creating the configuration file, and compiling, installing and running may specifically include the steps of: and S1122, compiling and preprocessing a processor architecture code irrelevant to a kernel module of the Shenwei processor on the Shenwei processor aiming at the cloud computing resource management control service component, packaging and installing a file, registering a database, creating a configuration file, and compiling, installing and running.
In the step S130, on the Shenwei processor, for the computing resource scheduling service component, encapsulating the package installation file, registering the database, creating the configuration file, and compiling the installation operation, specifically, the method includes the steps of: s1123, compiling and preprocessing a processor architecture code irrelevant to a kernel module of the Shenwei processor on the Shenwei processor aiming at the computing resource scheduling service component, packaging and packaging an installation file, registering a database, creating a configuration file, and compiling, installing and running.
In the step S140, on the Shenwei processor, for the mirror resource scheduling service component, encapsulating the package installation file, registering the database, creating the configuration file, and compiling, installing and running, the method specifically includes the steps of: and S1124, compiling and preprocessing a processor architecture code irrelevant to a kernel module of the Shenwei processor on the Shenwei processor aiming at the mirror image resource scheduling service component, packaging and installing the file, registering a database, creating a configuration file, and compiling, installing and running.
In the step S150, on the Shenwei processor, for the network resource scheduling service component, encapsulating the package installation file, registering the database, creating the configuration file, and compiling, installing and running may specifically include the steps of: s1125, on the Shenwei processor, compiling and preprocessing a processor architecture code unrelated to the kernel module of the Shenwei processor with respect to the network resource scheduling service component, and then packaging and packaging the installation file, registering the database, creating the configuration file, and compiling, installing and running.
In the step S160, on the Shenwei processor, for the storage resource scheduling service component, encapsulating the package installation file, registering the database, creating the configuration file, and compiling the installation operation, specifically, the method includes the steps of: s1126, on the Shenwei processor, compiling and preprocessing a processor architecture code irrelevant to a kernel module of the Shenwei processor aiming at the storage resource scheduling service component, packaging and installing a file, registering a database, creating a configuration file, and compiling, installing and running.
In each of the above embodiments of step S1121 through step S1126, when packaging and packaging the installation file, for the CPU architecture related code of the CPU architecture unrelated kernel module (some of the codes may have different implementations due to different CPU architectures), the code of the related CPU architecture may be compiled and preprocessed by using a kernel compiling option specific to the CPU architecture, so that the specific code of the CPU architecture is not compiled when compiling the codes of other architectures, thereby implementing special processing of the miwei CPU architecture kernel module processing, and providing convenience for unifying kernels of different architectures in the future.
According to the method for generating the cloud computing resource management platform based on the Shenwei processor, disclosed by the invention, the cloud computing resource management platform capable of running in the Shenwei processor can be successfully obtained by analyzing and optimizing each component of the cloud computing resource management platform from the aspects of the dependency package, the dependency version, the kernel module and the service logic.
Based on the same inventive concept as the generation method of the cloud computing resource management platform based on the Shenwei processor shown in FIG. 1, the embodiment of the invention also provides a cloud computing resource management platform system based on the Shenwei processor. The cloud computing resource management platform system based on the Shenwei processor can be obtained by utilizing the generation method of the cloud computing resource management platform based on the Shenwei processor in each embodiment.
Fig. 2 is a schematic structural diagram of a cloud computing resource management platform system based on a explain processor according to an embodiment of the present invention, and referring to fig. 2, the cloud computing resource management platform system based on a explain processor according to the embodiments may include: the system comprises an authentication management service module 210, a cloud computing resource management control service module 220, a computing resource scheduling service module 230, a mirror resource scheduling service module 240, a network resource scheduling service module 250 and a storage resource scheduling service module 260.
The authentication management service module 210 may be connected to the cloud computing resource management control service module 220, the cloud computing resource management control service module 220 may be connected to the computing resource scheduling service module 230, and the computing resource scheduling service module 230 may be connected to the mirror resource scheduling service module 240, the network resource scheduling service module 250, and the storage resource scheduling service module 260.
The authentication management service module 210 may be obtained by optimizing an authentication management service component, the cloud computing resource management control service module 220 may be obtained by optimizing a cloud computing resource management control service component, the computing resource scheduling service module 230 may be obtained by optimizing a computing resource scheduling service component, the mirror resource scheduling service module 240 may be obtained by optimizing a mirror resource scheduling service component, the network resource scheduling service module 250 may be obtained by optimizing a network resource scheduling service component, and the storage resource scheduling service module 260 may be obtained by optimizing a storage resource scheduling service component. The computing resource scheduling service module 230 may be optimized by two processes.
Specifically, the generation method of the authentication management service module 210 includes, on the application processor, encapsulating and packaging an installation file, registering a database, creating a configuration file, and compiling, installing, and running the authentication management service component, and receiving a first optimization operation performed according to first error information under the condition that the first error information is obtained after the compiling, installing, and running the authentication management service component through compiling, installing, and running the authentication management service component after the first optimization operation; wherein the first optimization operation comprises one or more of adjusting a dependent package related to the package, adjusting a dependent version related to the package, and modifying the created configuration file.
The cloud computing resource management control service module 220 is generated by packaging, packaging and installing files, registering a database, creating a configuration file, compiling, installing and running aiming at a cloud computing resource management control service component on a Shenwei processor, and receiving second optimization operation performed according to second error information under the condition that the second error information is obtained after the compiling, installing and running so that the cloud computing resource management control service component performs the compiling, installing and running after the second optimization operation; wherein the second optimization operation includes one or more of adjusting a dependent package related to the package, adjusting a dependent version related to the package, and modifying the created configuration file.
The generation method of the computing resource scheduling service module 230 includes that on the Shenwei processor, aiming at the computing resource scheduling service component, packaging and packaging installation files, registering a database, creating configuration files, compiling and installing operation, and receiving third optimization operation performed according to third error information under the condition that the third error information is obtained after the compiling and installing operation, so that the computing resource scheduling service component is compiled, installed and operated after the third optimization operation is performed; wherein the third optimization operation includes adding a kernel module for a driver in the created configuration file, or further includes one or more of encapsulating a dependent package related to packaging, adjusting a dependent version related to packaging, and modifying the created configuration file.
The generation method of the mirror image resource scheduling service module 240 comprises the steps of packaging and packaging installation files, registering a database, creating configuration files and compiling, installing and running the mirror image resource scheduling service components on the Shenwei processor, and receiving fourth optimization operation performed according to fourth error information under the condition that the fourth error information is obtained after compiling, installing and running so that the mirror image resource scheduling service components are installed and run through compiling after the fourth optimization operation is performed; wherein the fourth optimization operation includes one or more of adjusting a dependent package related to the package, adjusting a dependent version related to the package, and modifying the created configuration file.
The network resource scheduling service module 250 is generated by encapsulating, packaging and installing a file, registering a database, creating a configuration file, compiling, installing and running aiming at a network resource scheduling service component on a Shenwei processor, and receiving a fifth optimization operation performed according to fifth error information under the condition that the fifth error information is obtained after compiling, installing and running so that the network resource scheduling service component is compiled, installed and run after the fifth optimization operation; wherein the fifth optimization operation comprises adding a kernel module of a network part on the Shenwei processor, or further comprises one or more of adjusting a dependent package related to the packaging, adjusting a dependent version related to the packaging, and modifying the created configuration file.
The storage resource scheduling service module 260 is generated by encapsulating, packaging and installing files, registering a database, creating configuration files, compiling, installing and running a storage resource scheduling service component on a Shenwei processor, and receiving a sixth optimization operation performed according to sixth error information under the condition that the sixth error information is obtained after compiling, installing and running the storage resource scheduling service component after the sixth optimization operation by compiling; wherein the sixth optimization operation comprises adding a kernel module of a storage part on the Shenwei processor, or further comprises one or more of adjusting a dependent package related to packaging, adjusting a dependent version related to packaging, and modifying the created configuration file.
The generation method of the computing resource scheduling service module 230 further includes performing a seventh optimization operation on the computing resource scheduling service component after the third optimization operation according to seventh error information generated when the cloud computing resource management control service component after the second optimization operation sends the resource scheduling information to the computing resource scheduling service component after the third optimization operation under the condition that the authentication management service component after the first optimization operation, the cloud computing resource management control service component after the second optimization operation, the computing resource scheduling service component after the third optimization operation, the mirror image resource scheduling service component after the fourth optimization operation, the network resource scheduling service component after the fifth optimization operation, and the storage resource scheduling service component after the sixth optimization operation are compiled, installed and operated, the resource scheduling information of the cloud computing resource management control service component after the second optimization operation is successfully received by the computing resource scheduling service component after the seventh optimization operation is performed; wherein the seventh optimization operation comprises modifying the configuration file of the computing resource scheduling service component after the third optimization operation.
The modules are optimized through respective methods and can run on a Shenwei processor. In a further embodiment, the generation method of each module (modules 210 to 260) may be that, on the clairvoyer processor, for each corresponding component, the package installation file is encapsulated under the condition that the kernel module related to the architecture of the clairvoyer processor is placed in an independent kernel directory, and the database is registered, the configuration file is created, and the installation operation is compiled. In addition, in the generation method of each module (modules 210 to 260), after compiling and preprocessing the processor architecture code unrelated to the kernel module of the Shenwei processor on the Shenwei processor for each corresponding component, packaging and installing files, registering a database, creating a configuration file, and compiling, installing and running can be performed.
Further, the authentication management service module 210 may be used to provide authentication services for resource request requests and tokens. Specifically, the method and the device can be used for authenticating the resource application request according to the set access measurement, and can verify whether the token is valid after receiving the validity of the verification token sent by the cloud computing resource management control service module 220.
The cloud computing resource management control service module 220 may be configured to process the resource scheduling request and generate a resource scheduling task, and provide control services for resources of computing, storage, network, and mirroring. Specifically, the resource scheduling module may be configured to receive a resource scheduling request sent by a user, send a token to the authentication management service module 210 for verification according to the resource scheduling request, and send the token and resource scheduling information to the computing resource scheduling service module 230 for performing a resource scheduling task after the token verification is passed.
The computing resource scheduling service module 230 may be used to provide virtual machine lifecycle management and bare metal server management capabilities. The bare metal server management operation can comprise bare metal server creation, deletion, starting, closing and restarting, and the virtual machine life cycle management can comprise virtual machine creation, editing, snapshot creation, starting, closing, suspension, recovery, pause recovery, restart, public network IP binding, public network IP unbinding, network connection, network disconnection, security group editing, monitoring and the like.
The image resource scheduling service module 240 may be used to provide virtual machine image management capabilities. The virtual machine image management can include creation, deletion and editing of images.
The network resource scheduling service module 250 may be used to provide virtual resource network full lifecycle management capabilities. The virtual resource network full life cycle management can comprise creation, deletion, editing, subnet creation, subnet editing and subnet deletion of the virtual resource network.
The storage resource scheduling service module 260 may be used to provide cloud hard disk full lifecycle management capabilities. The cloud hard disk (block storage) full life cycle management operation comprises creation, deletion and editing, and creation, deletion and editing of a mirror image. And may also be used to provide resource scheduling capabilities for file storage, object storage, and the like.
In addition, the embodiment of the invention also provides a cloud computing resource management method based on the Shenwei processor, which can be realized by using the cloud computing resource management platform system based on the Shenwei processor in any embodiment. Fig. 3 is a flowchart illustrating a method for managing cloud computing resources based on a clairvoyer processor according to an embodiment of the present invention, and referring to fig. 3, the method for managing cloud computing resources based on a clairvoyer processor may include:
step S310: receiving a resource application authentication request from a user by using an authentication management service module, generating a token and returning the token to the user under the condition that the resource application authentication request passes the authentication;
step S320: based on a KVM virtualization monitor applicable to a Shenwei processor, a cloud computing resource management control service module is utilized to receive a resource scheduling request carrying the token, and the token carried by the resource scheduling request is sent to an authentication management service module;
step S330: verifying the validity of the token carried by the resource scheduling request by using the authentication management service module, and if the token is valid, returning a token verification valid result to the cloud computing resource management control service module;
step S340: based on a KVM virtualization monitor applicable to the Shenwei processor, the cloud computing resource management control service module is utilized to send a token which is verified to be valid and resource scheduling information in the resource scheduling request to a computing resource scheduling service module;
step S350: calling a KVM virtual machine suitable for a Shenwei processor through a libvirt library function to realize virtualization, and respectively sending a mirror resource scheduling request, a network resource scheduling request and a storage resource scheduling request to a mirror resource scheduling service module, a network resource scheduling service module and a storage resource scheduling service module by using the computing resource scheduling service module according to the computing resource scheduling information;
step S360: calling a KVM virtual machine suitable for a Shenwei processor through a libvirt library function to realize virtualization, receiving schedulable mirror resource information returned by the mirror resource scheduling service module, schedulable network resource information returned by the network resource scheduling service module and schedulable storage resource information returned by the storage resource scheduling service module by using the computing resource scheduling service module, creating resources according to the schedulable mirror resource information, the schedulable network resource information and the schedulable storage resource information, and returning the created resources to a user.
In the step S310, the authentication management service module may store a preset access policy, such as an access right, an access range, and the like, and may authenticate the corresponding access policy according to the resource application authentication request. In the above steps S320 and S330, the cloud computing resource management control service module and the authentication management service module complete message authentication together. In step S340, the cloud computing resource management control service module completes the resource scheduling task. In the above steps S350 and S360, the computing resource scheduling service module completes resource creation and scheduling.
In this embodiment, when the computing resource scheduling service module is run on the Shenwei processor, the libvirt component on the bottom kernel can be docked, and then the KVM is called by the libvirt to implement virtualization. The cloud computing resource management control service module runs on the Shenwei processor and can be managed and controlled by the KVM virtualization monitor.
Further, the method shown in fig. 3 may further include one or more of the following steps S370 to S3100:
step S370: calling a KVM virtual machine suitable for a Shenwei processor through a libvirt library function to realize virtualization, and utilizing the computing resource scheduling service module to perform one or more virtual machine life cycle management and bare metal server management operations, wherein the bare metal server management operations comprise bare metal server creation, deletion, starting, closing and restarting, and the virtual machine life cycle management comprises virtual machine creation, editing, snapshot creation, starting, closing, suspension, recovery, suspension, resumption, restart, public network IP binding, public network IP unbinding, network connection, network disconnection, safe group editing and monitoring;
step S380: utilizing the mirror image resource scheduling service module to perform one or more virtual machine mirror image management operations, wherein the virtual machine mirror image management operations comprise creation, deletion and editing of mirror images;
step S390: utilizing the network resource scheduling service module to perform one or more virtual resource network full-life cycle management operations, wherein the virtual resource network full-life cycle management comprises the steps of creating, deleting, editing, creating a subnet, editing the subnet and deleting the subnet of the virtual resource network;
step S3100: and performing one or more cloud hard disk full-life-cycle management operations by using the storage resource scheduling service module, wherein the cloud hard disk full-life-cycle management operations comprise creation, deletion and editing, and creation, deletion and editing of a mirror image.
In step S370, virtual machine lifecycle management and bare metal server management are performed. In step S380, virtual machine image management is performed. In step S390, the virtual resource network full life cycle management is performed. In step S3100, cloud disk full lifecycle management is performed.
In addition, an embodiment of the present invention further provides an electronic device, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor, where the processor implements the method for generating a cloud computing resource management platform based on a nwr processor according to any of the above embodiments, and the steps of the method for managing cloud computing resources based on a nwr processor according to any of the above embodiments when executing the program. The electronic device may be a computer, server, or the like.
The embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the method for generating a cloud computing resource management platform based on a Shenwei processor according to any of the above embodiments, and the steps of the cloud computing resource management method based on a Shenwei processor according to any of the above embodiments.
In order that those skilled in the art will better understand the present invention, embodiments of the present invention will be described below with reference to specific examples.
In order to provide a cloud computing resource management platform based on a domestic Shenwei architecture processor and realize the scheduling management of virtual resources on the Shenwei architecture platform, the Source code of the cloud computing resource management platform based on the Shenwei architecture is analyzed and judged, the Source code and the compiling work of the dependence of the Source code are executed, so that components and dependence software packages can be normally installed on the Shenwei processor, a cloud computing resource management platform component configuration file suitable for the Shenwei architecture processor is researched and can normally run on the Shenwei processor, and the scheduling management of basic virtual resources is realized through the cloud computing resource management platform on the Shenwei processor.
The Shenwei server adopts an Alpha architecture, and an instruction set architecture, an internal register, an address space layout, an interrupt and exception handling mechanism and the like are greatly different from X86. For the embodiment, a cloud platform standardization protocol can be adopted, the direct interface relation between the operating system and the server and between the operating system and the cloud platform is opened, and the instruction calling scene is deeply optimized, so that the kernel supports the Shenwei CPU architecture, the difference of the CPU architectures is shielded at the bottom layer of the operating system, other parts of the kernel and application programs can be successfully executed on the CPU of the Shenwei architecture, the hardware irrelevant parts in the operating system can access resources and services provided by different hardware platforms through a uniform interface, and the use transparency of a user is ensured. The kernel optimization refers to a Windows operating system hardware abstraction layer and a Linux operating system kernel/arch technical route, develops a Shenwei CPU architecture support subsystem, supports the design and implementation of the Shenwei CPU, and provides common functions of system guidance, process scheduling and context switching, interruption and exception processing, interprocess synchronization and communication, memory management, multi-core support and the like, as well as characteristic functions of different CPUs such as floating point simulation, virtualization and the like.
In the embodiment, for the core module code related to the CPU architecture, the core module independent to the Shenwei architecture is placed in the independent core directory, and no code of other architecture exists in the directory, and the code module in the directory cannot be compiled when the cores of other architecture are compiled. For the CPU architecture related code of the CPU architecture independent kernel module (some codes may have different implementation modes due to different CPU architectures), the code of the related CPU architecture must be compiled and preprocessed by using a kernel compiling option specific to the CPU architecture, so that the specific code of the CPU architecture cannot be compiled when the codes of other architectures are compiled, thereby realizing special processing of the charpy CPU architecture kernel module processing, and providing convenience for unifying kernels of different architectures in the future.
Aiming at the particularity of the Shenwei architecture processor, the contents of several categories such as a dependence package, a kernel module, business logic, a dependence software version and the like are reasonably and effectively obtained through repeated experimental verification and are compiled and passed through by analyzing the dependence package, the kernel module, the business logic, the dependence software version and the like, so that all component services of the cloud computing resource management platform can normally run on the Shenwei architecture processor.
The cloud computing resource management platform realized on the domestic Shenwei processor comprises an authentication management service, a cloud computing resource management control service, a computing resource scheduling service, a network resource scheduling service, a storage resource scheduling service, a mirror image resource scheduling service and the like. The authentication management service provides authentication and access strategy service for the components of the cloud computing resource management platform; the cloud computing resource management control service is a scheduling control role of a cloud computing resource management platform, mainly processes message authentication and resource scheduling tasks, and provides control services for resources such as computing, storage, networks, mirror images and the like; the computing resource scheduling service provides the capacities of virtual machine life cycle management, bare metal server management and the like; the network resource scheduling service provides the full life cycle management capability of the virtual resource network; the storage resource scheduling service provides resource scheduling capabilities such as block storage, file storage and object storage, and provides full life cycle management capability of a cloud hard disk (block storage); the image resource scheduling service provides virtual machine image management services.
The modules of the management platform of the embodiment are obtained by optimizing the components.
Specifically, the process of optimizing the authentication management service component includes: on the Shenwei CPU, packaging installation files of the existing authentication management service components, registering a database, creating configuration files, compiling, installing and operating; when the package is packaged and the error is reported, adjusting the dependent version used for packaging according to the error reporting information, and adding the missing module; when the compiling, installing and running are wrong, adjusting a dependent package and a dependent version (influenced by the architecture of the Shenwei CPU or the operating system running on the Shenwei CPU) for packaging and packing, and modifying the configuration file until the compiling, installing and running are carried out.
The process of optimizing the cloud computing resource management control service component comprises the following steps: on a Shenwei CPU, packaging and packaging installation files of the existing cloud computing resource management control service assembly, registering a database, creating a configuration file, compiling, installing and operating; when the compiling, installing and running are wrong, adjusting a dependence package used for packaging and packing, and modifying the kernel of the network part on the Shenwei CPU (replacing the original kernel by the modified kernel of the network part) until the compiling, installing and running are carried out; after the cloud computing resource management and control service component is installed, the KVM virtualization monitor may be used to enable the cloud computing resource management and control service component to interface with the weighing control component in the shenwei CPU to perform management and control of the virtual resources.
The process of optimizing a computing resource scheduling service component comprises: on a Shenwei CPU, packaging and packaging installation files of the existing computing resource scheduling service assembly, registering a database, creating a configuration file, and compiling, installing and operating; when the compiling, installing and running are reported to be wrong, a missing kernel module is added on the Shenwei CPU aiming at a driver in the configuration file (the kernel module is modified to replace the original kernel module), if the kernel module exists, a dependency package and a dependency version used for packaging and packaging are adjusted, and the configuration file is modified until the compiling, installing and running are carried out.
The process of optimizing the mirroring resource scheduling service component comprises the following steps: on a Shenwei CPU, packaging and packaging installation files of the existing mirror image resource scheduling service assembly, registering a database, creating a configuration file, and compiling, installing and operating; when the package is packaged and the error is reported, adjusting the dependent version used for packaging according to the error reporting information, and adding the missing module; when the compiling, installing and running report is wrong, the dependency package and the dependency version used for packaging are adjusted, and the configuration file is modified until the compiling, installing and running are carried out.
The process of optimizing the network resource scheduling service component comprises the following steps: packaging and packaging installation files of the existing network resource scheduling service assembly, registering a database, creating a configuration file, compiling, installing and operating; when the compiling, installing and running report errors, a missing kernel module is added to the network part on the Shenwei CPU according to the error report information so as to carry out the compiling, installing and running.
The process of optimizing the storage resource scheduling service component comprises the following steps: packaging and packaging installation files of the existing storage resource scheduling service assembly, registering a database, creating a configuration file, and compiling, installing and operating; when the compiling installation operation reports errors, a missing kernel module is added to a storage part on the Shenwei CPU according to error reporting information so as to install the operation through compiling.
Further, the process of optimizing from the perspective of business logic includes: the cloud computing resource management control service component sends resource scheduling information to the computing resource scheduling service component, the computing resource scheduling service component judges whether the resource scheduling information (such as PCI interface information, formats, parameters and the like) is consistent with the resource information which can be created by the computing resource management control service component, if not, an error is reported, and the configuration file of the computing resource scheduling service component is adjusted according to the error reporting information.
Referring to fig. 4, the method for managing the cloud computing resource management platform based on the domestic Shenwei processor includes the following steps:
a) resource authentication
The method comprises the steps that a user sends a resource request to an authentication management service through an interface to obtain authentication information, the authentication management service requests the authentication information through the user and generates a token to be returned to a corresponding authentication request, the user can send a resource scheduling request to a cloud computing resource management control service by carrying the token, the cloud computing resource management control service receives the request and then sends the authentication request to the authentication management service, the validity of the token is verified, database communication is carried out on the cloud computing resource management control service after authentication is carried out, resources are inquired, scheduling resource information is obtained and sent to a message queue to carry out resource scheduling work on a power-on processor.
b) Resource scheduling
When the computing resource scheduling service takes the token and the resource scheduling information through the message queue, the computing resource scheduling service sends a resource scheduling request to parts such as a mirror resource scheduling service, a storage resource scheduling service, a network resource scheduling service and the like, and the mirror resource scheduling service, the storage resource scheduling service and the network resource scheduling service respectively schedule available resources to return to the computing resource scheduling service. The resource scheduling service source code originally does not support the Shenwei architecture, and aims at researching the source code of the service component by the Shenwei CPU, developing a driver, packaging and packaging an installation file, registering a database and creating a configuration file so as to identify the Shenwei architecture information, and executing operations such as compiling, installing and running to use resource scheduling services such as calculation, storage, network, mirror image and the like. In the process, a special processing needs to be performed on a bottom-layer computing resource scheduling service component aiming at a Shenwei processor, a Shenwei CPU providing hardware auxiliary virtualization capability is managed and controlled by virtue of a KVM virtualization monitor, the KVM virtualization monitor is the core of a kernel-level virtual machine technology, runs in an operating system kernel layer and has the highest privilege level. On a domestic CPU platform providing hardware auxiliary virtualization capability, a virtual machine monitor controls, manages and isolates a virtual machine process running in an operating system user space by modifying and multiplexing modules of task scheduling, memory management, interrupt management, clock management and the like of an operating system kernel.
c) Resource creation
And each resource scheduling service creates resources through a virtualization driver according to the resource configuration information called by the user request, a libvirt component on a bottom kernel needs to be connected to the created resources of the computing service on the domestic Shenwei processor, and KVM is called again through libvirt to realize virtualization. The KVM virtual machine libvirt component is a series of library functions that are provided to other technical framework calls to help manage the virtual machines on the machine. Liebvirt adopts a drive-oriented architecture design, and develops and designs a drive relative to the technology for any virtual machine technology. Therefore, different drives can be used by different virtual machine technologies, and the drives can not be influenced directly with each other, so that the expansion is facilitated. Moreover, libvirt provides programming interfaces of multiple languages, and the external interfaces provided by libvirt can be called directly through programming to realize the operation of the virtual machine. The Shenwei KVM virtual machine is a domestic full-function virtual machine, can run an independent operating system under the support of a host, and has the capabilities of a virtual disk, a virtual network, a virtual display and direct connection of partial PCI equipment, but because the KVM implementation mode based on Shenwei and corresponding components have special parameter configuration aiming at a CPU framework, the parameter configuration of drive calling commands such as networks, disks and the like related to the virtual machine in a computing resource management component needs to be matched, the kernel of the host needs to be added with the relevant function of KVM, and simultaneously, the KVM module is matched aiming at the Shenwei series CPU, and mainly matched with relevant hardware codes, so as to configure the PCI-E interface component and the centralized control component in the Shenwei processor. Therefore, a KVM virtual running environment is realized on the Shenwei platform, virtual management programs libvirt and qemu, virtual operation commands, a virtual machine file system and a virtual network system are realized, and the resource scheduling service can successfully create virtual resources. In addition, the Shenwei KVM virtual machine has the defect of partial virtualization capability in a cloud computing resource management platform component, and the invention provides a solution for enhancing and optimizing the kernel module aiming at relevant kernel modules involved in computing, storage and network scheduling services through repeated test verification so as to customize a virtualization kernel based on the Shenwei CPU and support the cloud computing service capability of the cloud computing resource management platform.
d) Resource management
The cloud computing resource management on the Shenwei processor is used for identifying the Shenwei architecture by adapting contents such as a dependency package, a kernel module, business logic and the like aiming at a virtualization driving component on the Shenwei processor, so that services such as computing resource scheduling service, storage resource scheduling service, network resource scheduling service, mirror image resource scheduling service and the like can normally run. The method supports the creation, deletion, startup, shutdown, restart and the like of bare metal servers, supports the creation, editing, snapshot creation, startup, shutdown, suspension, recovery, pause recovery, restart, public network IP binding, public network IP unbinding, network connection, network disconnection, editing security groups, monitoring and the like of virtual machines, supports the creation, deletion, editing, subnet creation, subnet editing, subnet deleting and the like of virtual resource networks, supports the creation, deletion, editing and the like of cloud hard disks, and supports the creation, deletion, editing and the like of images.
In the embodiment, the technical breakthrough of virtualization of the Shenwei processor is realized by key technologies such as source code customization, configuration optimization and virtualization instruction adaptation aiming at the particularity of the Shenwei architecture, and the application of the cloud computing resource management technology on a domestic Shenwei platform is realized by successfully connecting bottom layer virtualization core components such as privileged instruction firmware, kvm virtualization kernel, a virtual machine management tool and a client management interface. Based on national software and hardware basic environments such as a national Shenwei architecture processor and a national operating system, the cloud computing resource management platform can stably operate, and the development of the cloud platform technology in the national architecture can be promoted.
In summary, the generation method of the cloud computing resource management platform based on the Shenwei processor, the cloud computing resource management platform system based on the Shenwei processor, the cloud computing resource management method based on the Shenwei processor, the electronic device and the computer readable storage medium of the embodiments of the present invention can implement the cloud computing resource management platform running on the Shenwei processor.
In the description herein, reference to the description of the terms "one embodiment," "a particular embodiment," "some embodiments," "for example," "an example," "a particular example," or "some examples," etc., means that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the invention. In this specification, the schematic representations of the terms used above do not necessarily refer to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples. The sequence of steps involved in the various embodiments is provided to schematically illustrate the practice of the invention, and the sequence of steps is not limited and can be suitably adjusted as desired.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
The above-mentioned embodiments are intended to illustrate the objects, technical solutions and advantages of the present invention in further detail, and it should be understood that the above-mentioned embodiments are only exemplary embodiments of the present invention, and are not intended to limit the scope of the present invention, and any modifications, equivalent substitutions, improvements and the like made within the spirit and principle of the present invention should be included in the scope of the present invention.

Claims (10)

1. A generation method of a cloud computing resource management platform based on an Shenwei processor is characterized by comprising the following steps:
on a Shenwei processor, packaging and installing files, registering a database, creating configuration files and compiling and installing operation aiming at an authentication management service component, and receiving first optimization operation carried out according to first error information under the condition that the first error information is obtained after the compiling and installing operation so that the authentication management service component is compiled, installed and operated after the first optimization operation; wherein the first optimization operation comprises one or more of adjusting a dependent package related to packaging, adjusting a dependent version related to packaging, and modifying the created configuration file;
on a Shenwei processor, aiming at a cloud computing resource management control service assembly, packaging and installing a file, registering a database, creating a configuration file, compiling, installing and running, and receiving second optimization operation performed according to second error information under the condition that the second error information is obtained after compiling, installing and running so that the cloud computing resource management control service assembly performs compiling, installing and running after the second optimization operation; wherein the second optimization operation comprises one or more of adjusting a dependent package related to packaging, adjusting a dependent version related to packaging, and modifying the created configuration file;
on a Shenwei processor, packaging and installing a file, registering a database, creating a configuration file and compiling and installing operation aiming at a computing resource scheduling service component, and receiving third optimization operation performed according to third error information under the condition that the third error information is obtained after the compiling and installing operation so that the computing resource scheduling service component is compiled, installed and operated after the third optimization operation is performed; wherein the third optimization operation includes adding a kernel module for a driver in the created configuration file, or further includes one or more of encapsulating a dependent package related to packaging, adjusting a dependent version related to packaging, and modifying the created configuration file;
on a Shenwei processor, aiming at a mirror image resource scheduling service component, packaging and installing a file, registering a database, creating a configuration file, compiling, installing and running, and receiving fourth optimization operation performed according to fourth error information under the condition that the fourth error information is obtained after compiling, installing and running so that the mirror image resource scheduling service component is compiled, installed and run after the fourth optimization operation is performed; wherein the fourth optimization operation comprises one or more of adjusting a dependent package related to packaging, adjusting a dependent version related to packaging, and modifying the created configuration file;
on a Shenwei processor, packaging and installing files, registering a database, creating a configuration file and compiling and installing operation aiming at a network resource scheduling service component, and receiving fifth optimization operation performed according to fifth error information under the condition that the fifth error information is obtained after the compiling and installing operation so that the network resource scheduling service component is compiled, installed and operated after the fifth optimization operation; wherein the fifth optimization operation includes adding a kernel module of a network part on the Shenwei processor, or further includes one or more of adjusting a dependent package related to packaging and packaging, adjusting a dependent version related to packaging and packaging, and modifying the created configuration file;
on a Shenwei processor, packaging and installing files, registering a database, creating a configuration file and compiling and installing operation aiming at a storage resource scheduling service component, and receiving sixth optimization operation performed according to sixth error information under the condition that sixth error information is obtained after compiling and installing operation so that the storage resource scheduling service component is compiled, installed and operated after the sixth optimization operation; wherein the sixth optimization operation comprises adding a kernel module of a storage part on the Shenwei processor, or further comprises one or more of adjusting a dependent package related to packaging and packaging, adjusting a dependent version related to packaging and packaging, and modifying the created configuration file;
under the condition that the authentication management service component after the first optimization operation, the cloud computing resource management control service component after the second optimization operation, the computing resource scheduling service component after the third optimization operation, the mirror image resource scheduling service component after the fourth optimization operation, the network resource scheduling service component after the fifth optimization operation and the storage resource scheduling service component after the sixth optimization operation are compiled, installed and operated, the computing resource scheduling service component after the third optimization operation is subjected to seventh optimization operation according to seventh error reporting information generated when the cloud computing resource management control service component after the second optimization operation sends resource scheduling information to the computing resource scheduling service component after the third optimization operation, so that the computing resource scheduling service component after the seventh optimization operation successfully receives the resource of the cloud computing resource management control service component after the second optimization operation Scheduling information; wherein the seventh optimization operation comprises modifying the configuration file of the computing resource scheduling service component after the third optimization operation.
2. The generation method of a Shenwei processor-based cloud computing resource management platform of claim 1,
on the Shenwei processor, aiming at the authentication management service component, packaging and installing files, registering a database, creating configuration files and compiling, installing and running comprise the following steps:
on the Shenwei processor, aiming at the authentication management service component, packaging and installing files under the condition that a kernel module related to the architecture of the Shenwei processor is placed in an independent kernel directory, registering a database, creating a configuration file, and compiling, installing and operating;
on a Shenwei processor, aiming at a cloud computing resource management control service component, packaging and installing files, registering a database, creating configuration files, compiling, installing and running comprise the following steps:
on a Shenwei processor, aiming at a cloud computing resource management control service component, packaging and installing files under the condition that a kernel module related to the architecture of the Shenwei processor is placed in an independent kernel directory, registering a database, creating a configuration file, and compiling, installing and operating;
on a Shenwei processor, aiming at a computing resource scheduling service component, packaging a packaging installation file, registering a database, creating a configuration file and compiling, installing and running, wherein the steps of:
on a Shenwei processor, aiming at a computing resource scheduling service component, packaging and installing files under the condition that a kernel module related to the architecture of the Shenwei processor is placed in an independent kernel directory, registering a database, creating a configuration file, and compiling, installing and operating;
on a Shenwei processor, aiming at a mirror image resource scheduling service component, packaging a mounting file, registering a database, creating a configuration file, and compiling, mounting and running, wherein the method comprises the following steps:
on a Shenwei processor, aiming at a mirror image resource scheduling service component, packaging and installing files under the condition that a kernel module related to the architecture of the Shenwei processor is placed in an independent kernel directory, registering a database, creating a configuration file, and compiling, installing and operating;
on a Shenwei processor, aiming at a network resource scheduling service component, packaging a packaging installation file, registering a database, creating a configuration file, and compiling, installing and operating, wherein the method comprises the following steps:
on a Shenwei processor, aiming at a network resource scheduling service component, packaging and installing files under the condition that a kernel module related to the architecture of the Shenwei processor is placed in an independent kernel directory, registering a database, creating a configuration file, and compiling, installing and operating;
on a Shenwei processor, aiming at a storage resource scheduling service component, packaging a packaging installation file, registering a database, creating a configuration file and compiling, installing and operating, wherein the steps of:
on the Shenwei processor, aiming at the storage resource scheduling service component, packaging and installing files under the condition that a kernel module related to the architecture of the Shenwei processor is placed in an independent kernel directory, registering a database, creating a configuration file, and compiling, installing and running.
3. The generation method of an Shenwei processor-based cloud computing resource management platform as claimed in claim 1 or 2,
on the Shenwei processor, aiming at the authentication management service component, packaging and installing files, registering a database, creating configuration files and compiling, installing and running comprise the following steps:
on the Shenwei processor, compiling and preprocessing a processor architecture code irrelevant to a kernel module of the Shenwei processor aiming at an authentication management service component, packaging and installing a file, registering a database, creating a configuration file, and compiling, installing and running;
on a Shenwei processor, aiming at a cloud computing resource management control service component, packaging and installing files, registering a database, creating configuration files, compiling, installing and running comprise the following steps:
on a Shenwei processor, compiling and preprocessing a processor architecture code irrelevant to a kernel module of the Shenwei processor aiming at a cloud computing resource management control service component, packaging and installing a file, registering a database, creating a configuration file, and compiling, installing and running;
on a Shenwei processor, aiming at a computing resource scheduling service component, packaging a packaging installation file, registering a database, creating a configuration file and compiling, installing and running, wherein the steps of:
on a Shenwei processor, compiling and preprocessing a processor architecture code irrelevant to a kernel module of the Shenwei processor aiming at a computing resource scheduling service component, packaging and installing a file, registering a database, creating a configuration file, and compiling, installing and running;
on a Shenwei processor, aiming at a mirror image resource scheduling service component, packaging a mounting file, registering a database, creating a configuration file, and compiling, mounting and running, wherein the method comprises the following steps:
on a Shenwei processor, compiling and preprocessing a processor architecture code irrelevant to a kernel module of the Shenwei processor aiming at a mirror image resource scheduling service component, packaging and installing a file, registering a database, creating a configuration file, and compiling, installing and running;
on a Shenwei processor, aiming at a network resource scheduling service component, packaging a packaging installation file, registering a database, creating a configuration file, and compiling, installing and operating, wherein the method comprises the following steps:
on a Shenwei processor, compiling and preprocessing a processor architecture code irrelevant to a kernel module of the Shenwei processor aiming at a network resource scheduling service component, packaging and installing a file, registering a database, creating a configuration file, and compiling, installing and running;
on a Shenwei processor, aiming at a storage resource scheduling service component, packaging a packaging installation file, registering a database, creating a configuration file and compiling, installing and operating, wherein the steps of:
on the Shenwei processor, aiming at a storage resource scheduling service component, after compiling and preprocessing a processor architecture code irrelevant to a kernel module of the Shenwei processor, packaging and installing a file, registering a database, creating a configuration file, and compiling, installing and running.
4. The method of claim 1, wherein the seventh optimization operation comprises modifying one or more of PCI interface information, format, and parameters in a configuration file in the computing resource scheduling service component after the third optimization operation.
5. A cloud computing resource management platform system based on an Shenwei processor, comprising:
the generation method of the authentication management service module comprises the steps of packaging, packaging and installing files, registering a database, creating configuration files and compiling, installing and running aiming at an authentication management service component on a Shenwei processor, and receiving first optimization operation performed according to first error information under the condition that the first error information is obtained after compiling, installing and running so that the authentication management service component is compiled, installed and run after the first optimization operation is performed; wherein the first optimization operation comprises one or more of adjusting a dependent package related to packaging, adjusting a dependent version related to packaging, and modifying the created configuration file;
the generation method of the cloud computing resource management control service module comprises the steps of packaging and packaging an installation file, registering a database, creating a configuration file and compiling, installing and operating a cloud computing resource management control service component on a Shenwei processor, and receiving second optimization operation performed according to second error information under the condition that the second error information is obtained after the compiling, installing and operating, so that the cloud computing resource management control service component is compiled, installed and operated after the second optimization operation is performed; wherein the second optimization operation comprises one or more of adjusting a dependent package related to packaging, adjusting a dependent version related to packaging, and modifying the created configuration file;
the generation method of the computing resource scheduling service module comprises the steps of packaging and packaging installation files, registering a database, creating configuration files and compiling, installing and running aiming at a computing resource scheduling service component on a Shenwei processor, and receiving third optimization operation performed according to third error information under the condition that the third error information is obtained after compiling, installing and running so that the computing resource scheduling service component is compiled, installed and run after the third optimization operation is performed; wherein the third optimization operation includes adding a kernel module for a driver in the created configuration file, or further includes one or more of encapsulating a dependent package related to packaging, adjusting a dependent version related to packaging, and modifying the created configuration file;
the generation method of the mirror image resource scheduling service module comprises the steps of packaging and packaging installation files, registering a database, creating configuration files and compiling, installing and running aiming at a mirror image resource scheduling service component on a Shenwei processor, and receiving fourth optimization operation performed according to fourth error information under the condition that the fourth error information is obtained after compiling, installing and running so that the mirror image resource scheduling service component is compiled, installed and run after the fourth optimization operation is performed; wherein the fourth optimization operation comprises one or more of adjusting a dependent package related to packaging, adjusting a dependent version related to packaging, and modifying the created configuration file;
the generation method of the network resource scheduling service module comprises the steps of packaging and packaging installation files, registering a database, creating configuration files and compiling, installing and running aiming at a network resource scheduling service component on a Shenwei processor, and receiving fifth optimization operation performed according to fifth error information under the condition that the fifth error information is obtained after compiling, installing and running so that the network resource scheduling service component is compiled, installed and run after the fifth optimization operation; wherein the fifth optimization operation includes adding a kernel module of a network part on the Shenwei processor, or further includes one or more of adjusting a dependent package related to packaging and packaging, adjusting a dependent version related to packaging and packaging, and modifying the created configuration file;
the generation method of the storage resource scheduling service module comprises the steps of packaging, packaging and installing files, registering a database, creating configuration files and compiling, installing and running storage resource scheduling service components on a Shenwei processor, and receiving sixth optimization operation performed according to sixth error information under the condition that the sixth error information is obtained after compiling, installing and running are performed, so that the storage resource scheduling service components are compiled, installed and run after the sixth optimization operation is performed; wherein the sixth optimization operation comprises adding a kernel module of a storage part on the Shenwei processor, or further comprises one or more of adjusting a dependent package related to packaging and packaging, adjusting a dependent version related to packaging and packaging, and modifying the created configuration file;
the generation method of the computing resource scheduling service module further comprises the steps of carrying out a seventh optimization operation on the computing resource scheduling service component after the third optimization operation according to seventh error reporting information generated when the cloud computing resource management control service component after the second optimization operation sends the resource scheduling information to the computing resource scheduling service component after the third optimization operation under the condition that the authentication management service component after the first optimization operation, the cloud computing resource management control service component after the second optimization operation, the computing resource scheduling service component after the third optimization operation, the mirror image resource scheduling service component after the fourth optimization operation, the network resource scheduling service component after the fifth optimization operation and the storage resource scheduling service component after the sixth optimization operation are compiled, installed and operated, the resource scheduling information of the cloud computing resource management control service component after the second optimization operation is successfully received by the computing resource scheduling service component after the seventh optimization operation is performed; wherein the seventh optimization operation comprises modifying the configuration file of the computing resource scheduling service component after the third optimization operation.
6. The Shenwei processor-based cloud computing resource management platform system of claim 5,
the authentication management service module is used for providing authentication service for the resource application request and the token;
the cloud computing resource management control service module is used for processing resource scheduling requests, generating resource scheduling tasks and providing control services for resources of computing, storage, networks and images;
the computing resource scheduling service module is used for providing the life cycle management and bare metal server management capabilities of the virtual machine;
the mirror image resource scheduling service module is used for providing virtual machine mirror image management capacity;
the network resource scheduling service module is used for providing the full life cycle management capability of the virtual resource network;
and the storage resource scheduling service module is used for providing the full life cycle management capability of the cloud hard disk.
7. A method for managing Shenwei-processor-based cloud computing resources, which is implemented by the Shenwei-processor-based cloud computing resource management platform system according to claim 5 or 6, and comprises the following steps:
receiving a resource application authentication request from a user by using an authentication management service module, generating a token and returning the token to the user under the condition that the resource application authentication request passes the authentication;
based on a KVM virtualization monitor applicable to a Shenwei processor, a cloud computing resource management control service module is utilized to receive a resource scheduling request carrying the token, and the token carried by the resource scheduling request is sent to an authentication management service module;
verifying the validity of the token carried by the resource scheduling request by using the authentication management service module, and if the token is valid, returning a token verification valid result to the cloud computing resource management control service module;
based on a KVM virtualization monitor applicable to the Shenwei processor, the cloud computing resource management control service module is utilized to send a token which is verified to be valid and resource scheduling information in the resource scheduling request to a computing resource scheduling service module;
calling a KVM virtual machine suitable for a Shenwei processor through a libvirt library function to realize virtualization, and respectively sending a mirror resource scheduling request, a network resource scheduling request and a storage resource scheduling request to a mirror resource scheduling service module, a network resource scheduling service module and a storage resource scheduling service module by using the computing resource scheduling service module according to the computing resource scheduling information;
calling a KVM virtual machine suitable for a Shenwei processor through a libvirt library function to realize virtualization, receiving schedulable mirror resource information returned by the mirror resource scheduling service module, schedulable network resource information returned by the network resource scheduling service module and schedulable storage resource information returned by the storage resource scheduling service module by using the computing resource scheduling service module, creating resources according to the schedulable mirror resource information, the schedulable network resource information and the schedulable storage resource information, and returning the created resources to a user.
8. The method for clairvoyer-based cloud computing resource management as recited in claim 7, further comprising:
calling a KVM virtual machine suitable for a Shenwei processor through a libvirt library function to realize virtualization, and utilizing the computing resource scheduling service module to perform one or more virtual machine life cycle management and bare metal server management operations, wherein the bare metal server management operations comprise bare metal server creation, deletion, starting, closing and restarting, and the virtual machine life cycle management comprises virtual machine creation, editing, snapshot creation, starting, closing, suspension, recovery, suspension, resumption, restart, public network IP binding, public network IP unbinding, network connection, network disconnection, safe group editing and monitoring;
utilizing the mirror image resource scheduling service module to perform one or more virtual machine mirror image management operations, wherein the virtual machine mirror image management operations comprise creation, deletion and editing of mirror images;
utilizing the network resource scheduling service module to perform one or more virtual resource network full-life cycle management operations, wherein the virtual resource network full-life cycle management comprises the steps of creating, deleting, editing, creating a subnet, editing the subnet and deleting the subnet of the virtual resource network;
and performing one or more cloud hard disk full-life-cycle management operations by using the storage resource scheduling service module, wherein the cloud hard disk full-life-cycle management operations comprise creation, deletion and editing, and creation, deletion and editing of a mirror image.
9. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor implements the steps of the method according to any one of claims 1 to 4, 7 and 8 when executing the program.
10. A computer-readable storage medium, on which a computer program is stored, which program, when being executed by a processor, carries out the steps of the method according to any one of claims 1 to 4, 7 and 8.
CN202010571831.XA 2020-06-22 2020-06-22 Method, system, management method and equipment for generating cloud computing resource management platform Pending CN113900625A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010571831.XA CN113900625A (en) 2020-06-22 2020-06-22 Method, system, management method and equipment for generating cloud computing resource management platform

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010571831.XA CN113900625A (en) 2020-06-22 2020-06-22 Method, system, management method and equipment for generating cloud computing resource management platform

Publications (1)

Publication Number Publication Date
CN113900625A true CN113900625A (en) 2022-01-07

Family

ID=79186314

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010571831.XA Pending CN113900625A (en) 2020-06-22 2020-06-22 Method, system, management method and equipment for generating cloud computing resource management platform

Country Status (1)

Country Link
CN (1) CN113900625A (en)

Similar Documents

Publication Publication Date Title
US20230297364A1 (en) System And Method For Upgrading Kernels In Cloud Computing Environments
EP3518098B1 (en) Cross platform content management and distribution system
US9996374B2 (en) Deployment and installation of updates in a virtual environment
US10789381B2 (en) Containerized build steps
US9836354B1 (en) Automated error detection and recovery for GPU computations in a service environment
US11385993B2 (en) Dynamic integration of command line utilities
US20170322934A1 (en) Software version control without affecting a deployed container
US11556348B2 (en) Bootstrapping profile-guided compilation and verification
CN102279765A (en) Pre-compiling hosted managed code
US10042744B2 (en) Adopting an existing automation script to a new framework
JP2017146966A (en) Method and system for extending function to package file
Delange et al. POK, an ARINC653-compliant operating system released under the BSD license
CN113805882A (en) Method and device for developing application program, electronic equipment and storage medium
CN111984263B (en) Method, device, equipment and medium for running second system application on first system
CN113342323A (en) Method and device for software online development
US11550697B2 (en) Cross jobs failure dependency in CI/CD systems
CN113900625A (en) Method, system, management method and equipment for generating cloud computing resource management platform
CN115248680A (en) Software construction method, system, device, medium, and program product
CN108874509A (en) A kind of virtual device simplified generates and dispositions method
CN114174983B (en) Method and system for optimized automatic verification of advanced constructs
CN114816672A (en) Virtual machine creation method and device, electronic equipment and storage medium
CN113626307A (en) Data verification method and device based on K8S container platform
US20240119656A1 (en) Method of Operating Shared GPU Resource and a Shared GPU Device
CN111258910B (en) Static link library function verification method and device, electronic equipment and storage medium
Schwahn On the Efficient Design and Testing of Dependable Systems Software

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination