CN109684033B - Cloud platform bare metal management method, storage medium, electronic device and system - Google Patents

Cloud platform bare metal management method, storage medium, electronic device and system Download PDF

Info

Publication number
CN109684033B
CN109684033B CN201811511000.2A CN201811511000A CN109684033B CN 109684033 B CN109684033 B CN 109684033B CN 201811511000 A CN201811511000 A CN 201811511000A CN 109684033 B CN109684033 B CN 109684033B
Authority
CN
China
Prior art keywords
bare
managed
bare metal
computer
information
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.)
Active
Application number
CN201811511000.2A
Other languages
Chinese (zh)
Other versions
CN109684033A (en
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.)
Wuhan Fiberhome Integration Technologies Co ltd
Original Assignee
Wuhan Fiberhome Integration Technologies 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 Wuhan Fiberhome Integration Technologies Co ltd filed Critical Wuhan Fiberhome Integration Technologies Co ltd
Priority to CN201811511000.2A priority Critical patent/CN109684033B/en
Publication of CN109684033A publication Critical patent/CN109684033A/en
Application granted granted Critical
Publication of CN109684033B publication Critical patent/CN109684033B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • 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
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q30/00Commerce
    • G06Q30/06Buying, selling or leasing transactions
    • G06Q30/0645Rental transactions; Leasing transactions
    • 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)
  • Business, Economics & Management (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • Accounting & Taxation (AREA)
  • Finance (AREA)
  • General Physics & Mathematics (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • Development Economics (AREA)
  • Economics (AREA)
  • Marketing (AREA)
  • Strategic Management (AREA)
  • General Business, Economics & Management (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention discloses a cloud platform bare metal management method, a storage medium, electronic equipment and a system, and relates to the technical field of cloud computing, wherein the method comprises the following steps: bare metal equipment information and leasing user information of a target bare metal needing to be managed are obtained; marking the target bare machine which is successfully simulated to log in as a bare machine to be managed; creating a custom port corresponding to the bare computer to be managed, wherein the custom port comprises an IP address and an MAC address of the bare computer to be managed; creating a mirror image system file corresponding to the bare computer to be managed according to the system of the bare computer to be managed; creating specification reference information corresponding to the bare metal to be managed according to the bare metal equipment information of the bare metal to be managed; and managing the bare computers to be managed according to the leasing user information, the user-defined port, the mirror image system file and the specification reference information of the bare computers to be managed. According to the invention, on the premise of providing guarantee for normal work of the bare computer, the bare computer is accessed to the cloud platform and managed, so that help is provided for daily monitoring and management work of workers.

Description

Cloud platform bare metal management method, storage medium, electronic device and system
Technical Field
The invention relates to the technical field of cloud computing, in particular to a cloud platform bare metal management method, a storage medium, electronic equipment and a system.
Background
With the development of cloud computing, the management of a cloud platform on a virtual machine is relatively mature;
due to the need of using a scene, a certain demand is also provided for bare computers, and the bare computers need to be managed in a cloud platform, but at present, the problem that the physical machines or the operating systems of the bare computers are added to the cloud platform management by reinstalling and deploying the physical machines or the operating systems of the bare computers in the traditional management mode is mainly solved, and the traditional mode has the following problems: on the premise that the service of the bare machine is not influenced, the bare machine cannot be configured, and the management work of the bare machine cannot be carried out;
therefore, a new method for managing bare computers on a cloud platform is urgently needed to solve the above problems.
Disclosure of Invention
Aiming at the defects in the prior art, the invention aims to provide a cloud platform bare metal management method, a storage medium, electronic equipment and a system, which are used for accessing bare metal into a cloud platform and managing the bare metal on the premise of providing guarantee for normal work of the bare metal in the cloud platform, and providing help for daily monitoring and management work of workers.
In order to achieve the above purposes, the technical scheme adopted by the invention is as follows:
in a first aspect, the present invention provides a method for managing bare computers on a cloud platform, which includes the following steps:
bare metal equipment information and leasing user information of a target bare metal needing to be managed are obtained;
marking the target bare machine which is successfully simulated to log in as a bare machine to be managed;
creating a custom port corresponding to the bare computer to be managed, wherein the custom port comprises an IP address and an MAC address of the bare computer to be managed;
creating a mirror image system file corresponding to the bare computer to be managed according to the system of the bare computer to be managed;
creating specification reference information corresponding to the bare metal to be managed according to the bare metal equipment information of the bare metal to be managed;
and managing the bare computers to be managed according to the leasing user information, the custom port, the mirror image system file and the specification reference information of the bare computers to be managed.
On the basis of the technical scheme, the managing the bare computer to be managed according to the leasing user information, the custom port, the mirror image system file and the specification reference information of the bare computer to be managed at least comprises the following steps:
distributing the bare computers to be managed according to the leasing user information of the bare computers to be managed;
and correspondingly storing the leasing user information, the user-defined port, the mirror image system file and the specification reference information of the bare computer to be managed.
On the basis of the technical scheme, the bare metal equipment information at least comprises:
the number of CPUs, the size of an operating memory, the size of a storage space, IPMI addresses and passwords, network card information, root user names in an operating system, root user passwords in the operating system and IP addresses of the operating system.
On the basis of the technical scheme, the method further comprises the following steps:
and distributing a communication route to the bare computer to be managed according to the leasing user information and the user-defined port of the bare computer to be managed.
In a second aspect, the present invention further provides a storage medium, where a computer program is stored, and when executed by a processor, the computer program implements the cloud platform bare metal management method according to the first aspect.
In a third aspect, the present invention further provides an electronic device, including a memory and a processor, where the memory stores a computer program running on the processor, and the processor implements the cloud platform bare metal management method according to the first aspect when executing the computer program.
In a fourth aspect, the present invention further provides a cloud platform bare metal management system, which includes:
the bare metal data acquisition module is used for acquiring bare metal equipment information and leasing user information of a target bare metal needing to be managed;
the bare metal simulation login module is used for performing simulation login on the target bare metal and marking the target bare metal which is successfully simulated and logged as a bare metal to be managed;
the bare metal network management module is used for creating a custom port corresponding to the bare metal to be managed, and the custom port comprises an IP address and an MAC address of the bare metal to be managed;
the bare computer mirror image management module is used for creating a mirror image system file corresponding to the bare computer to be managed according to the system of the bare computer to be managed;
the bare metal specification management module is used for creating specification reference information corresponding to the bare metal to be managed according to the bare metal equipment information of the bare metal to be managed;
and the bare metal equipment management module is used for managing the bare metal to be managed according to the leasing user information, the custom port, the mirror image system file and the specification reference information of the bare metal to be managed.
On the basis of the above technical solution, the bare metal specification management module specifically includes:
the bare machine distribution submodule is used for distributing the bare machines to be managed according to the leasing user information of the bare machines to be managed;
and the bare computer sorting submodule is used for correspondingly storing the leasing user information, the user-defined port, the mirror image system file and the specification reference information of the bare computer to be managed.
On the basis of the technical scheme, the bare metal equipment information at least comprises:
the number of CPUs, the size of an operating memory, the size of a storage space, IPMI addresses and passwords, network card information, root user names in an operating system, root user passwords in the operating system and IP addresses of the operating system.
On the basis of the above technical solution, the system further includes:
and the route distribution module is used for distributing communication routes to the bare computers to be managed according to the leasing user information and the custom ports of the bare computers to be managed.
Compared with the prior art, the invention has the advantages that:
the method and the system access the bare computers to the cloud platform for management on the premise of providing guarantee for normal work of the bare computers in the cloud platform, and help is provided for daily monitoring and management work of workers.
Drawings
Fig. 1 is a flowchart illustrating steps of a method for managing bare metal on a cloud platform according to an embodiment of the present invention;
fig. 2 is a block diagram illustrating a cloud platform bare metal management system according to an embodiment of the present invention;
fig. 3 is a block diagram of an electronic device according to a cloud platform bare metal management method provided in an embodiment of the present invention;
in the figure: 1. a bare metal data acquisition module; 2. a bare metal simulation login module; 3. a bare metal network management module; 4. a bare metal mirror image management module; 5. a bare metal specification management module; 6. a bare metal device management module; 7. a bare machine distribution submodule; 8. a bare machine arrangement submodule; 9. and a route distribution module.
Detailed Description
Embodiments of the present invention will be described in further detail below with reference to the accompanying drawings.
The embodiment of the invention provides a cloud platform bare computer management method, a storage medium, electronic equipment and a system, which are used for accessing bare computers to a cloud platform and managing the bare computers on the premise of providing guarantee for normal work of the bare computers in the cloud platform, and providing help for daily monitoring and management work of workers.
In order to achieve the technical effects, the general idea of the application is as follows:
a cloud platform bare metal management method comprises the following steps:
s1, bare metal equipment information and leasing user information of a target bare metal needing to be managed are obtained;
s2, marking the target bare machine which is successfully simulated and logged as a bare machine to be managed;
s3, creating a custom port corresponding to the bare metal to be managed, wherein the custom port comprises an IP address and an MAC address of the bare metal to be managed;
s4, creating a mirror image system file corresponding to the bare metal to be managed according to the system of the bare metal to be managed;
s5, creating specification reference information corresponding to the bare metal to be managed according to the bare metal equipment information of the bare metal to be managed;
and S6, managing the bare computer to be managed according to the leasing user information, the user-defined port, the mirror image system file and the specification reference information of the bare computer to be managed.
Referring to fig. 1, an embodiment of the present invention provides a cloud platform bare metal management method, including the following steps:
s1, bare metal equipment information and leasing user information of a target bare metal needing to be managed are obtained;
s2, marking the target bare machine which is successfully simulated and logged as a bare machine to be managed;
s3, creating a custom port corresponding to the bare metal to be managed, wherein the custom port comprises an IP address and an MAC address of the bare metal to be managed;
s4, creating a mirror image system file corresponding to the bare metal to be managed according to the system of the bare metal to be managed;
s5, creating specification reference information corresponding to the bare metal to be managed according to the bare metal equipment information of the bare metal to be managed;
and S6, managing the bare computer to be managed according to the leasing user information, the user-defined port, the mirror image system file and the specification reference information of the bare computer to be managed.
In the embodiment of the invention, bare metal equipment information and leasing user information of a managed target bare metal are firstly obtained, the bare metal equipment information mainly comprises equipment parameters of the target bare metal, and the leasing user information is user information of a user needing service of the target bare metal;
the bare computer can be a physical computer, and is provided with an operating system and an entity for business operation;
then, carrying out simulated login on the target bare machine, marking the target bare machine which is successfully simulated and logged in as a bare machine to be managed, and if the target bare machine fails to be simulated and logged in, terminating the management work on the target bare machine;
when the simulated login is performed, specifically, the IPMI information of the bare computer to be managed is obtained, the login is performed, if the login is successful, the follow-up management work can be proved, and if the login is failed, the IPMI information is proved to be wrong, and the follow-up management work cannot be performed;
further, a custom port corresponding to the bare metal to be managed is created, the custom port comprises the IP address and the MAC address of the bare metal to be managed, the IP address and the MAC address are the real IP address and the MAC address of the bare metal to be managed,
the steps are specifically to obtain data information needed by subsequent management of bare computers and distribution of communication routes of the bare computers;
subsequently, creating a mirror image system file corresponding to the bare computer to be managed according to the system of the bare computer to be managed, wherein the mirror image system file can be a basic mirror image file or a customized mirror image file, and is particularly convenient for rebuilding the bare computer system at the later stage when the bare computer system is crashed;
then, according to bare machine equipment information of bare machines to be managed, creating specification reference information corresponding to the bare machines to be managed, wherein the specification reference information is prepared for subsequent management work, and when a certain bare machine fails and cannot be repaired at a later stage, the cloud platform can call other bare machines with the specifications consistent with those of the current bare machine to be distributed to the leasing users, so that the normal use of the users is ensured;
finally, based on the above procedures, managing the bare computer to be managed according to the leasing user information, the self-defined port, the mirror image system file and the specification reference information of the bare computer to be managed,
it should be noted that, here, managing bare metal to be managed specifically includes the following management operations:
when a communication route needs to be allocated to the bare computer, namely the bare computer to be managed, the bare computer to be managed can be managed according to the acquired user-defined port and the bare computer to be managed therein, and the port can be used as a working basis;
when the bare computer, namely the system of the bare computer to be managed crashes, the bare computer system is rebuilt according to the obtained mirror image system file;
when the bare machine fails and needs to be redistributed to the renting user, redistributing another bare machine with the same equipment specification as the current bare machine according to the specification reference information of the current bare machine, and providing guarantee for the normal use of the user;
in the embodiment of the invention, on the premise of providing guarantee for normal work of bare computers in the cloud platform, the bare computers are accessed to the cloud platform and managed, so that help is provided for daily monitoring and management work of workers.
In the embodiment of the invention, according to the leasing user information, the user-defined port, the mirror image system file and the specification reference information of the bare computer to be managed, the bare computer to be managed at least comprises the following steps:
distributing bare computers to be managed according to the leasing user information of the bare computers to be managed;
and correspondingly storing the leasing user information, the user-defined port, the mirror image system file and the specification reference information of the bare computer to be managed.
In the embodiment of the present invention, the bare metal device information at least includes:
the number of CPUs, the size of an operating memory, the size of a storage space, IPMI addresses and passwords, network card information, root user names in an operating system, root user passwords in the operating system and IP addresses of the operating system.
In the embodiment of the invention, the method further comprises the following steps:
and distributing a communication route to the bare computer to be managed according to the leasing user information and the user-defined port of the bare computer to be managed.
It should be noted that the embodiment of the present invention may be implemented on an Openstack platform, and the management work of the bare engine may specifically utilize an Ironic module to perform management work, where the module can provide management based on the life cycle of the bare engine;
network information can be constructed by means of a Neutron module, namely a custom port corresponding to the bare engine to be managed is created, and the custom port comprises an IP address and an MAC address of the bare engine to be managed;
constructing mirror image information by using a Glance module, namely creating a mirror image system file corresponding to the bare computer to be managed according to a system of the bare computer to be managed;
creating an instance based on the bare metal by using a Nova module, namely creating specification reference information corresponding to the bare metal to be managed according to bare metal equipment information of the bare metal to be managed;
finally, the specific management work is carried out by utilizing the Ironic module, namely, the bare computers to be managed are managed according to the leasing user information, the user-defined port, the mirror image system file and the specification reference information of the bare computers to be managed;
it should be noted that API interfaces corresponding to Openstack components, that is, an Ironic module, a Neutron module, a liance module, and a Nova module, should also be configured.
Based on the same inventive concept, the application provides an embodiment of a cloud platform bare metal management system corresponding to the method embodiment, which specifically comprises the following steps:
as shown in fig. 2, an embodiment of the present invention provides a cloud platform bare metal management system, which includes:
the bare metal data acquisition module 1 is used for acquiring bare metal equipment information and leasing user information of a target bare metal needing to be managed;
the bare metal simulation login module 2 is used for performing simulation login on a target bare metal, and marking the target bare metal which is successfully simulated and logged as a bare metal to be managed;
the bare metal network management module 3 is used for creating a custom port corresponding to a bare metal to be managed, and the custom port comprises an IP address and an MAC address of the bare metal to be managed;
a bare computer mirror image management module 4, which is used for creating a mirror image system file corresponding to the bare computer to be managed according to the system of the bare computer to be managed;
a bare metal specification management module 5, configured to create specification reference information corresponding to a bare metal to be managed according to bare metal equipment information of the bare metal to be managed;
and the bare metal equipment management module 6 is used for managing the bare metal to be managed according to the leasing user information, the user-defined port, the mirror image system file and the specification reference information of the bare metal to be managed.
In the embodiment of the invention, bare metal equipment information and leasing user information of a managed target bare metal are firstly obtained, the bare metal equipment information mainly comprises equipment parameters of the target bare metal, and the leasing user information is user information of a user needing service of the target bare metal;
the bare computer can be a physical computer, and is provided with an operating system and an entity for business operation;
then, carrying out simulated login on the target bare machine, marking the target bare machine which is successfully simulated and logged in as a bare machine to be managed, and if the target bare machine fails to be simulated and logged in, terminating the management work on the target bare machine;
when the simulated login is performed, specifically, the IPMI information of the bare computer to be managed is obtained, the login is performed, if the login is successful, the follow-up management work can be proved, and if the login is failed, the IPMI information is proved to be wrong, and the follow-up management work cannot be performed;
further, a custom port corresponding to the bare metal to be managed is created, the custom port comprises the IP address and the MAC address of the bare metal to be managed, the IP address and the MAC address are the real IP address and the MAC address of the bare metal to be managed,
the steps are specifically to obtain data information needed by subsequent management of bare computers and distribution of communication routes of the bare computers;
subsequently, creating a mirror image system file corresponding to the bare computer to be managed according to the system of the bare computer to be managed, wherein the mirror image system file can be a basic mirror image file or a customized mirror image file, and is particularly convenient for rebuilding the bare computer system at the later stage when the bare computer system is crashed;
then, according to bare machine equipment information of bare machines to be managed, creating specification reference information corresponding to the bare machines to be managed, wherein the specification reference information is prepared for subsequent management work, and when a certain bare machine fails and cannot be repaired at a later stage, the cloud platform can call other bare machines with the specifications consistent with those of the current bare machine to be distributed to the leasing users, so that the normal use of the users is ensured;
finally, based on the above procedures, managing the bare computer to be managed according to the leasing user information, the self-defined port, the mirror image system file and the specification reference information of the bare computer to be managed,
it should be noted that, here, managing bare metal to be managed specifically includes the following management operations:
when a communication route needs to be allocated to the bare computer, namely the bare computer to be managed, the bare computer to be managed can be managed according to the acquired user-defined port and the bare computer to be managed therein, and the port can be used as a working basis;
when the bare computer, namely the system of the bare computer to be managed crashes, the bare computer system is rebuilt according to the obtained mirror image system file;
when the bare machine fails and needs to be redistributed to the renting user, redistributing another bare machine with the same equipment specification as the current bare machine according to the specification reference information of the current bare machine, and providing guarantee for the normal use of the user;
in the embodiment of the invention, on the premise of providing guarantee for normal work of bare computers in the cloud platform, the bare computers are accessed to the cloud platform and managed, so that help is provided for daily monitoring and management work of workers.
In the embodiment of the present invention, the bare metal specification management module specifically includes:
the bare machine distribution submodule 7 is used for distributing the bare machines to be managed according to the leasing user information of the bare machines to be managed;
and the bare computer sorting submodule 8 is used for correspondingly storing the leasing user information, the user-defined port, the mirror image system file and the specification reference information of the bare computer to be managed.
In the embodiment of the present invention, the bare metal device information at least includes:
the number of CPUs, the size of an operating memory, the size of a storage space, IPMI addresses and passwords, network card information, root user names in an operating system, root user passwords in the operating system and IP addresses of the operating system.
In the embodiment of the present invention, the system further includes:
and the route distribution module 9 is used for distributing communication routes to the bare computers to be managed according to the leasing user information and the user-defined ports of the bare computers to be managed.
It should be noted that the embodiment of the present invention may be implemented on an Openstack platform, and the management work of the bare engine may specifically utilize an Ironic module to perform management work, where the module can provide management based on the life cycle of the bare engine;
network information can be constructed by means of a Neutron module, namely a custom port corresponding to the bare engine to be managed is created, and the custom port comprises an IP address and an MAC address of the bare engine to be managed;
constructing mirror image information by using a Glance module, namely creating a mirror image system file corresponding to the bare computer to be managed according to a system of the bare computer to be managed;
creating an instance based on the bare metal by using a Nova module, namely creating specification reference information corresponding to the bare metal to be managed according to bare metal equipment information of the bare metal to be managed;
finally, the specific management work is carried out by utilizing the Ironic module, namely, the bare computers to be managed are managed according to the leasing user information, the user-defined port, the mirror image system file and the specification reference information of the bare computers to be managed;
it should be noted that API interfaces corresponding to Openstack components, that is, an Ironic module, a Neutron module, a liance module, and a Nova module, should also be configured.
Based on the same inventive concept, the present application provides an embodiment of a storage medium corresponding to the method embodiment, which is specifically as follows:
embodiments of the present invention provide a computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out all or part of the method steps in a method embodiment.
The present invention can implement all or part of the processes in the above method embodiments, and can also be implemented by using a computer program to instruct related hardware, where the computer program can be stored in a computer-readable storage medium, and when the computer program is executed by a processor, the steps of the above method embodiments can be implemented. Wherein the computer program comprises computer program code, which may be in the form of source code, object code, an executable file or some intermediate form, etc. The computer readable medium may include: any entity or device capable of carrying computer program code, recording medium, U.S. disk, removable hard disk, magnetic disk, optical disk, computer Memory, Read-Only Memory (ROM), random-Access Memory (RAM), electrical carrier wave signals, telecommunications signals, software distribution media, and the like. It should be noted that the computer readable medium may contain other components which may be suitably increased or decreased as required by legislation and patent practice in jurisdictions, for example, in some jurisdictions, in accordance with legislation and patent practice, the computer readable medium does not include electrical carrier signals and telecommunications signals.
Based on the same inventive concept, the application provides an embodiment of an electronic device corresponding to the method embodiment, which specifically comprises the following steps:
as shown in fig. 3, an electronic device according to an embodiment of the present invention further includes a memory and a processor, where the memory stores a computer program running on the processor, and the processor executes the computer program to implement all or part of the method steps in the method embodiment.
The Processor may be a Central Processing Unit (CPU), other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic, discrete hardware components, etc. The general purpose processor may be a microprocessor or the processor may be any conventional processor or the like, the processor being the control center of the computer device and the various interfaces and lines connecting the various parts of the overall computer device.
The memory may be used to store computer programs and/or modules, and the processor may implement various functions of the computer device by executing or executing the computer programs and/or modules stored in the memory, as well as by invoking data stored in the memory. The memory may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, video data, etc.) created according to the use of the cellular phone, etc. In addition, the memory may include high speed random access memory, and may also include non-volatile memory, such as a hard disk, a memory, a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), at least one magnetic disk storage device, a Flash memory device, or other volatile solid state storage device.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, server, 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, optical storage, and the like) having computer-usable program code embodied therein.
The present invention has been described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), servers 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.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present invention without departing from the spirit and scope of the invention. Thus, if such modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include such modifications and variations.

Claims (4)

1. A cloud platform bare metal management method is characterized by comprising the following steps:
bare metal equipment information and leasing user information of a target bare metal needing to be managed are obtained;
marking the target bare machine which is successfully simulated to log in as a bare machine to be managed;
creating a custom port corresponding to the bare computer to be managed, wherein the custom port comprises an IP address and an MAC address of the bare computer to be managed;
creating a mirror image system file corresponding to the bare computer to be managed according to the system of the bare computer to be managed;
creating specification reference information corresponding to the bare metal to be managed according to the bare metal equipment information of the bare metal to be managed;
managing the bare computer to be managed according to the leasing user information, the user-defined port, the mirror image system file and the specification reference information of the bare computer to be managed;
distributing the bare computers to be managed according to the leasing user information of the bare computers to be managed;
correspondingly storing the leasing user information, the user-defined port, the mirror image system file and the specification reference information of the bare computer to be managed;
the bare metal device information at least comprises:
the number of CPUs, the size of an operating memory, the size of a storage space, IPMI addresses and passwords, network card information, root user names in an operating system, root user passwords in the operating system and IP addresses of the operating system;
the method further comprises the following steps:
and distributing a communication route to the bare computer to be managed according to the leasing user information and the user-defined port of the bare computer to be managed.
2. A storage medium having a computer program stored thereon, characterized in that: which computer program, when being executed by a processor, carries out the method of claim 1.
3. An electronic device comprising a memory and a processor, the memory having stored thereon a computer program that runs on the processor, characterized in that: the processor, when executing the computer program, implements the method of claim 1.
4. A cloud platform bare metal management system, comprising:
the bare metal data acquisition module is used for acquiring bare metal equipment information and leasing user information of a target bare metal needing to be managed;
the bare metal simulation login module is used for performing simulation login on the target bare metal and marking the target bare metal which is successfully simulated and logged as a bare metal to be managed;
the bare metal network management module is used for creating a custom port corresponding to the bare metal to be managed, and the custom port comprises an IP address and an MAC address of the bare metal to be managed;
the bare computer mirror image management module is used for creating a mirror image system file corresponding to the bare computer to be managed according to the system of the bare computer to be managed;
the bare metal specification management module is used for creating specification reference information corresponding to the bare metal to be managed according to the bare metal equipment information of the bare metal to be managed;
the bare metal equipment management module is used for managing the bare metal to be managed according to the leasing user information, the self-defined port, the mirror image system file and the specification reference information of the bare metal to be managed;
the bare machine distribution submodule is used for distributing the bare machines to be managed according to the leasing user information of the bare machines to be managed;
bare metal arrangement submodule, it is used for said lease user information, said self-defining port to the bare metal of said awaiting management;
the bare metal device information at least comprises:
the number of CPUs, the size of an operating memory, the size of a storage space, IPMI addresses and passwords, network card information, root user names in an operating system, root user passwords in the operating system and IP addresses of the operating system;
the system further comprises:
and the route distribution module is used for distributing communication routes to the bare computers to be managed according to the leasing user information and the custom ports of the bare computers to be managed.
CN201811511000.2A 2018-12-11 2018-12-11 Cloud platform bare metal management method, storage medium, electronic device and system Active CN109684033B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811511000.2A CN109684033B (en) 2018-12-11 2018-12-11 Cloud platform bare metal management method, storage medium, electronic device and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811511000.2A CN109684033B (en) 2018-12-11 2018-12-11 Cloud platform bare metal management method, storage medium, electronic device and system

Publications (2)

Publication Number Publication Date
CN109684033A CN109684033A (en) 2019-04-26
CN109684033B true CN109684033B (en) 2021-04-27

Family

ID=66187554

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811511000.2A Active CN109684033B (en) 2018-12-11 2018-12-11 Cloud platform bare metal management method, storage medium, electronic device and system

Country Status (1)

Country Link
CN (1) CN109684033B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113760610A (en) * 2020-06-01 2021-12-07 富泰华工业(深圳)有限公司 OpenStack-based bare computer high-availability realization method and device and electronic equipment
CN112491630B (en) * 2020-12-07 2023-08-04 北京华胜天成科技股份有限公司 Bare metal automatic deployment method and device and cloud environment platform
CN116225624B (en) * 2023-05-09 2023-06-30 江苏博云科技股份有限公司 Bare metal management method, system and device based on kubernets

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2013015942A1 (en) * 2011-07-28 2013-01-31 Yahoo! Inc. Method and system for distributed application stack deployment
CN107193605A (en) * 2017-05-26 2017-09-22 上海斐讯数据通信技术有限公司 The installation method and system of a kind of operating system
CN108259305A (en) * 2018-01-29 2018-07-06 郑州云海信息技术有限公司 A kind of physical machine remote dummy lan handover method and device based on openstack
CN108282369A (en) * 2018-01-29 2018-07-13 郑州云海信息技术有限公司 A kind of physical machine remote deployment method and device based on openstack

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104657215A (en) * 2013-11-19 2015-05-27 南京鼎盟科技有限公司 Virtualization energy-saving system in Cloud computing
CN105426243A (en) * 2015-11-19 2016-03-23 国云科技股份有限公司 Openstack based physical machine remote maintenance method
CN106789327A (en) * 2017-01-10 2017-05-31 携程旅游信息技术(上海)有限公司 The automatic method and system that host is added for cloud platform

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2013015942A1 (en) * 2011-07-28 2013-01-31 Yahoo! Inc. Method and system for distributed application stack deployment
CN107193605A (en) * 2017-05-26 2017-09-22 上海斐讯数据通信技术有限公司 The installation method and system of a kind of operating system
CN108259305A (en) * 2018-01-29 2018-07-06 郑州云海信息技术有限公司 A kind of physical machine remote dummy lan handover method and device based on openstack
CN108282369A (en) * 2018-01-29 2018-07-13 郑州云海信息技术有限公司 A kind of physical machine remote deployment method and device based on openstack

Also Published As

Publication number Publication date
CN109684033A (en) 2019-04-26

Similar Documents

Publication Publication Date Title
US10037220B2 (en) Facilitating software-defined networking communications in a container-based networked computing environment
US10885378B2 (en) Container image management
CN109684033B (en) Cloud platform bare metal management method, storage medium, electronic device and system
CN109995814B (en) Cloud host resource migration method and device, communication equipment and storage medium
US10785133B2 (en) Virtual desktop operation and data continuity preservation
CN110879712A (en) Cloud data center physical host installation method and related device
US20150331763A1 (en) Host swap hypervisor that provides high availability for a host of virtual machines
CN110784515A (en) Data storage method based on distributed cluster and related equipment thereof
CN108073423A (en) A kind of accelerator loading method, system and accelerator loading device
CN105095103A (en) Storage device management method and device used for cloud environment
CN110851307A (en) Method, system, terminal and storage medium for testing performance of hard disk in vibration environment
CN108234551B (en) Data processing method and device
CN112131196A (en) Distributed log processing method and device, terminal equipment and storage medium
CN110798341A (en) Service opening method, device and system
CN106888264A (en) A kind of method for interchanging data and device
CN104536926B (en) The control method and device of serial equipment
CN108696559B (en) Stream processing method and device
CN111124890B (en) Distributed database performance test method, system, terminal and storage medium
US11210156B1 (en) Intelligent distributed tracing
CN114726909A (en) Cloud service migration information processing method, device, equipment, medium and product
CN113590033A (en) Information synchronization method and device of super-fusion system
CN110971923B (en) Bullet screen connection method, storage medium, system and client
CN113268252A (en) Mirror image manufacturing method and system based on virtual chemical industry control equipment and storage medium
CN108551484B (en) User information synchronization method, device, computer device and storage medium
US10606714B2 (en) Stopping central processing units for data collection based on event categories of events

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
GR01 Patent grant
GR01 Patent grant