CN109814981B - Physical machine rental service system, method, terminal and storage medium - Google Patents

Physical machine rental service system, method, terminal and storage medium Download PDF

Info

Publication number
CN109814981B
CN109814981B CN201910079386.2A CN201910079386A CN109814981B CN 109814981 B CN109814981 B CN 109814981B CN 201910079386 A CN201910079386 A CN 201910079386A CN 109814981 B CN109814981 B CN 109814981B
Authority
CN
China
Prior art keywords
physical machine
renting
service
volume
storage
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
CN201910079386.2A
Other languages
Chinese (zh)
Other versions
CN109814981A (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.)
Capitalonline Data Service Co ltd
Original Assignee
Capitalonline Data Service 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 Capitalonline Data Service Co ltd filed Critical Capitalonline Data Service Co ltd
Priority to CN201910079386.2A priority Critical patent/CN109814981B/en
Publication of CN109814981A publication Critical patent/CN109814981A/en
Application granted granted Critical
Publication of CN109814981B publication Critical patent/CN109814981B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention provides a physical machine rental service system, a method, a terminal and a storage medium. The physical machine renting service system comprises a resource scheduling module and a physical machine renting module, wherein the resource scheduling module is used for detecting a renting request of a renting physical machine and sending an instruction for executing a physical machine renting task; the physical machine renting module is respectively connected with the resource scheduling module and the physical machine, and is used for acquiring an instruction for executing a physical machine renting task sent by the resource scheduling module and executing the renting task of the renting physical machine according to the task instruction; the renting task sequentially comprises the functions of providing a storage volume of the physical machine, adjusting and controlling the network topology inside the data center of the physical machine in real time and controlling the working mode of the physical machine. The invention can quickly execute the service request by constructing a new service platform and a new service module, automatically finish the physical machine renting service and realize that the physical machine can be rented and delivered as a virtual machine.

Description

Physical machine rental service system, method, terminal and storage medium
Technical Field
The invention relates to the field of IT infrastructure, in particular to a physical machine renting service system, a method, a terminal and a storage medium.
Background
Cloud platforms have been in widespread use today in IT infrastructures for various industries of society. The core service of the cloud platform is elastic computing, and is usually delivered to a client in a mode of a virtual machine, a container, a rack hosting physical machine and the like at present, so that the client can enjoy on-demand use and on-volume use, and simultaneously, a rich external network docking scheme is provided, and the cloud platform can be connected to various services such as RDS (remote data base service) and object storage provided in cloud services.
However, as the application environment gets deeper, the deployment cost of the managed physical machine in the existing solution is relatively high, and it usually takes at least several hours to several weeks to complete the deployment. The physical machine is difficult to remotely maintain, particularly in the overseas and other difficult and easy environments with local manpower support at any time, and is inconvenient in case of system breakdown and replacement of hardware failure.
Disclosure of Invention
The invention provides a physical machine leasing service system, a physical machine leasing service method, a physical machine leasing terminal and a storage medium, which are used for solving one or more technical problems in the prior art.
The invention provides a physical machine renting service system in a first aspect, which comprises:
the resource scheduling module is used for detecting a leasing request of a leased physical machine and sending an instruction for executing a lease task of the physical machine; and
the physical machine renting module is respectively connected with the resource scheduling module and the physical machine, and is used for acquiring an instruction for executing a physical machine renting task sent by the resource scheduling module and executing the renting task of renting the physical machine according to the task instruction; the renting task sequentially comprises the steps of providing a storage volume function of the physical machine, adjusting and controlling the network topology inside the data center of the physical machine in real time and controlling the working mode of the physical machine.
In one embodiment, the physical machine leasing module includes:
the service control unit is connected with the physical machine and is used for controlling the working mode of the physical machine and acquiring and monitoring the sensor information of the physical machine;
the volume management unit is connected with a storage device, a storage area network is established between the storage device and the physical machine, and the volume management unit is used for providing remote storage service for the physical machine through the storage device and is used for copying, mounting and deleting a storage volume of the physical machine;
the system comprises a Software Defined Network (SND) unit, wherein the SND unit is used for being connected with a switch, an Ethernet is established between the switch and a physical machine, and the SND unit is used for adjusting and controlling the Network topology inside a data center of the physical machine in real time by adjusting the configuration and the speed limit of a port virtual local area Network corresponding to a server of the switch and the physical machine.
In one embodiment, the service control unit is connected to the physical machine through an Intelligent Platform Management Interface (IPMI);
the volume management unit is in transmission connection with the storage device through a representational state;
the software defined network unit is connected with a control management interface of the direct current internal switch.
In one embodiment, the volume management unit includes:
a preparation subunit for preparing the startup volume from the shared storage by a volume management tool in a manner including copying, cloning, presetting, and retrieving;
a mapping subunit, configured to map the Boot volume to a server of the physical machine through an Application Programming Interface (API) Interface of a storage service, so as to form a storage disk based on a SCSI (Small Computer System Interface) protocol, where the storage disk is used as a network storage management System (SAN Boot) Boot disk;
an acquisition subunit, configured to acquire a dynamic Elastic Block Storage (EBS) volume to be mounted via the logical volume allocated by the volume management tool.
In one embodiment, the service control unit comprises:
the access subunit is used for configuring a client access password and a network card IP of the starting volume prepared by the preparation subunit through cloud initialization;
a disk hanging subunit, configured to mount the elastic block storage volume acquired by the acquiring subunit to a server of the physical machine, and configure an access control list in the volume management unit;
the control subunit is used for controlling the physical machine host to be electrified through an intelligent platform management interface so as to control the working mode of the physical machine server;
the monitoring subunit is used for acquiring the sensor information of the server of the physical machine, registering a physical node corresponding to the sensor information in a monitoring system network, and monitoring the network and the power supply of the physical machine so as to give an alarm when the sensor information is abnormal;
the software-defined network unit is used for adjusting the configuration and the speed limit of a virtual local area network of a port corresponding to the server of the switch and the physical machine after the hanging-disk subunit configures the access control list in the volume management unit.
In one embodiment, the physical machine rental service system further includes:
the service management module is used for receiving a service request of a user;
the resource scheduling module comprises:
the renting unit is connected with the service management module and is used for acquiring all service requests in the service management module and selecting the renting request of the renting physical machine in the service requests;
the task scheduling unit is used for arranging the physical machine renting tasks according to the renting requests of the physical machines and sending out instructions for scheduling different renting units to execute the renting tasks according to the arranged sequence; wherein the ordering of the leasing units executing the leasing task is: the system comprises a volume management unit, a software defined network unit and a service control unit;
and the bare metal unit is used for virtualizing an operating platform and enabling the renting unit and the task scheduling unit to run concurrently.
The second aspect of the present invention provides a method for renting a service by a physical machine, including:
detecting a lease request for leasing a physical machine and issuing an instruction for executing a lease task of the physical machine;
acquiring an instruction for executing a physical machine renting task, and executing the renting task for renting the physical machine according to the task instruction; the physical machine renting task comprises the functions of providing a storage volume of the physical machine, adjusting and controlling the network topology inside the physical machine data center in real time and controlling the working mode of the physical machine.
In one embodiment, the step of providing the storage volume function of the physical machine comprises:
preparing, by a volume management tool, a startup volume from a shared storage; the preparation mode of the volume management tool comprises copying, cloning, presetting and obtaining;
configuring a client access password and a network card IP of the starting volume through cloud initialization;
mapping a boot volume to a server of the physical machine through an application program management interface of a storage service to form a storage disk based on a SCSI protocol to be used as a boot disk of a network storage management system;
acquiring a dynamic elastic block storage volume to be mounted through the logical volume distributed by the volume management tool;
and mounting the elastic block storage volume to a server of the physical machine, and configuring an Access Control List (ACL) in the volume management unit.
In one embodiment, the specific step of adjusting and controlling the network topology inside the physical machine data center in real time includes:
and controlling the configuration and speed limit of a Virtual Local Area Network (VLAN) of a corresponding port of the server of the physical machine so as to adjust and control the Network topology inside the data center of the physical machine in real time.
In one embodiment, the specific step of controlling the operation mode of the physical machine includes:
controlling the delivered physical machine host to be electrified so as to control the working mode of the physical machine;
and acquiring sensor information of a server of the physical machine, registering a physical node corresponding to the sensor information in a monitoring system network, and monitoring the network and a power supply of the physical machine so as to give an alarm when the sensor information is abnormal.
In one embodiment, the specific steps of detecting a lease request for a leased physical machine and issuing an instruction to perform a lease task for the physical machine include:
receiving all service requests of a user, and selecting a lease request for leasing the physical machine from all the service requests;
editing a physical machine renting task according to the renting request of the physical machine, and sending an instruction for scheduling different renting units to execute the renting task according to the editing sequence, wherein the execution sequence of the physical machine renting task is as follows: the method provides the storage volume function of the physical machine, adjusts and controls the network topology inside the data center of the physical machine in real time, and controls the working mode of the physical machine.
A third aspect of the present invention provides a physical machine rental service terminal, including:
one or more processors;
a storage device for storing one or more programs;
the one or more programs, when executed by the one or more processors, cause the one or more processors to implement the method for physical machine rental service as described in any of the above embodiments.
A fourth aspect of the present invention provides a computer-readable storage medium storing a computer program executed by a processor to implement the method for renting a physical machine service according to any one of the above embodiments.
By adopting the technical scheme, the invention has the following advantages: by constructing a new service platform and a new service module, the service request can be quickly executed, the physical machine renting service is automatically completed, and the physical machine can be quickly rented and delivered as a virtual machine.
The foregoing summary is provided for the purpose of description only and is not intended to be limiting in any way. In addition to the illustrative aspects, embodiments, and features described above, further aspects, embodiments, and features of the present invention will be readily apparent by reference to the drawings and following detailed description.
Drawings
In the drawings, like reference numerals refer to the same or similar parts or elements throughout the several views unless otherwise specified. The figures are not necessarily to scale. It is appreciated that these drawings depict only some embodiments in accordance with the disclosure and are therefore not to be considered limiting of its scope.
FIG. 1 is a schematic frame diagram of a physical machine rental service system according to an embodiment of the present invention;
FIG. 2 is a schematic block diagram of a physical machine leasing module according to an embodiment of the present invention;
FIG. 3 is a further schematic block diagram of a physical machine leasing module in accordance with an embodiment of the present invention;
FIG. 4 is a block diagram of an exemplary resource scheduling module according to an embodiment of the present invention;
FIG. 5 is a schematic flow chart diagram of a method for a physical machine rental service in an embodiment of the invention;
FIG. 6 is another schematic flow chart of a method for leasing a service for a physical machine according to an embodiment of the present invention.
Detailed Description
In the following, only certain exemplary embodiments are briefly described. As those skilled in the art will recognize, the described embodiments may be modified in various different ways, all without departing from the spirit or scope of the present invention. Accordingly, the drawings and description are to be regarded as illustrative in nature, and not as restrictive.
The first aspect of the embodiment provides a physical machine leasing service system.
Referring to fig. 1, the physical machine leasing service system includes a resource scheduling module 200 and a physical machine leasing module 100.
The resource scheduling module 200 is configured to detect a lease request for a leased physical machine and issue an instruction to perform a lease task for the physical machine. In this way, as soon as a lease request is detected, an instruction is issued immediately, so that rapid deployment of the physical machine can be achieved.
The physical machine leasing module 100 is respectively connected with the resource scheduling module 200 and the physical machine 300, and the physical machine leasing module 100 obtains an instruction for executing a physical machine leasing task sent by the resource scheduling module 200 and executes the leasing task of the leasing physical machine 300 according to the task instruction. The leasing task sequentially comprises the functions of providing a storage volume of the physical machine, adjusting and controlling the network topology inside the data center of the physical machine in real time and controlling the working mode of the physical machine. After the leasing tasks are sequentially completed by the physical machine leasing module 100, the deployment of the physical machines is completed, and the user can lease the physical machines after the execution of the leasing tasks is sequentially completed according to the process display of the physical machine leasing module.
Specifically, the resource scheduling module 200 immediately sends out a leasing instruction after detecting a leasing request of the physical machine 300, so as to control the physical machine leasing module to immediately perform a leasing task, when the physical machine is leased for the first time, the instruction sent out by the resource scheduling module 200 includes all the leasing tasks, and if the standby machine equipment needs to be switched or the leased physical machine needs to be updated or switched to be deployed, the instruction includes at least one leasing task; the physical machine leasing module 100 executes the leasing task immediately after acquiring the instruction according to the detected instruction content, and the process of the leasing task executed by the physical machine leasing module 100 is actually a process of deploying the physical machine, and when the leasing task is executed, the physical machine is also shown to be deployed and can be leased by the user.
The present embodiment can rapidly perform a user's lease request task by constructing the physical machine lease module 100, automatically complete a physical machine lease service, realize that a physical machine is leased and delivered as quickly as a virtual machine, and can rapidly switch standby equipment and switch services.
In one embodiment, referring to fig. 2, the physical machine leasing module 100 includes a service control unit 110, a volume management unit 120, and a software defined network unit 130.
The service control unit 110 is connected to the physical machine through an intelligent platform management interface, and the service control unit is configured to control an out-of-band management module included in the physical machine so as to control a working mode of the physical machine, where the working mode of the physical machine includes at least one of startup, shutdown, and restart, and the service control unit 110 further obtains and monitors sensor information of the physical machine while the service control unit 110 controls the working mode of the physical machine. The manner in which the service control unit 110 obtains and monitors the physical machine sensor information includes setting up sensors or sensor nodes. The sensor information of the physical machine includes a network and a power supply, and the service control unit performs an alarm upon detecting an abnormality of the sensor information, thereby preventing the rented physical machine from being damaged. The out-of-band management module is positioned in the physical machine and used for establishing contact with a service control unit in the physical machine renting service system so as to perform real-time monitoring and operation on the physical machine delivered to a user.
The volume management unit 120 is connected to the storage device through representational state transfer, a storage area network is established between the storage device and the physical machine, and the volume management unit is configured to provide a remote storage service for the physical machine through the storage device, so as to perform operations of copying, mounting, and deleting a storage volume of the physical machine. The storage devices include distributed storage and volume storage. The storage device has remote storage service with the storage device through a storage area network establishing a mesh channel, so that the delivered physical machine has the storage volume, and the storage volume is copied, mounted and deleted.
The software-defined network unit 130 is configured to interface with a control management interface of a switch, an ethernet network is established between the switch and the physical machine, and the software-defined network unit is configured to adjust and control a network topology inside a data center of the physical machine in real time by adjusting a configuration of the switch. The switch comprises a direct current internal switch; and adjusting the configuration of the switch comprises controlling the configuration and the speed limit of the virtual local area network of the corresponding port of the physical machine server.
In the implementation of the city, the three leasing units can execute the leasing tasks one by one according to the sequence, and can also independently execute the leasing tasks, quickly execute the request of the user for the leasing tasks, automatically complete the leasing service of the physical machine, and realize the quick leasing and delivery of the physical machine as a virtual machine.
In one embodiment, referring to FIG. 3, the volume management unit 120 includes a preparation subunit 121, a mapping subunit 122, and a fetching subunit 123.
The preparation subunit 121 is used to prepare the startup volume from the shared storage through a volume management tool, which is prepared in a manner including copying, cloning, presetting, and retrieving. Wherein the copy is to replicate the volume in the shared storage; cloning to a volume in the clone sharing storage, and presetting the volume as a volume set by a volume management unit; the volume is obtained as the user's volume. The manner in which volume storage is initiated includes at least one of distributed storage, centralized storage, and remote storage.
The mapping subunit 122 is configured to map the boot volume to a server of the physical machine through an application management interface of the storage service to form a storage disk based on the SCSI protocol, and then use the storage disk based on the SCSI protocol as a boot disk of the network storage management system, so that the physical machine is equipped with the storage disk based on the SCSI protocol.
The acquiring subunit 123 is configured to acquire a dynamic flexible block storage volume to be mounted, through the logical volume allocated by the volume management tool. A flexible block storage provides a data block level storage volume used by a virtual machine instance, and a high reliability storage volume may be attached to a running virtual machine instance as a device within the instance. The purpose of the EBS is to attach any instance of a storage volume. And the virtual machine instance fails to start, and the EBS volume is automatically separated, so that the data is intact. The volume can then be reloaded to a new instance and restored quickly.
In one embodiment, referring to fig. 3, the service control unit 110 includes an access subunit 111, a hanging tray subunit 112, a control subunit 113, and a monitoring subunit 114.
The access subunit 111 is configured to configure the client access password and the network card IP of the boot volume prepared by the cloud initialization configuration preparation subunit 121.
The disk mount unit 112 is configured to mount the elastic block storage volume acquired by the acquisition subunit 123 to a server of a physical machine, and configure an access control list in the volume management unit. The access control list includes a list of instructions set up at the router interface for the router to determine which packets can be accepted or rejected.
The control subunit 113 is configured to control, through the intelligent platform management interface, the physical machine host to power on to formally start the physical machine server. And starting the service of the physical machine, and mounting the elastic block storage volume on a server of the physical machine.
The monitoring subunit 114 is configured to acquire sensor information of a server of the physical machine, register a physical node corresponding to the sensor information in the monitoring system network, monitor the physical machine network and the power supply, and perform an alarm when the sensor information is abnormal, and control a working mode of the physical machine. The monitoring subunit constructs a sensor network with the physical machine, so that the physical machine delivered to the user is monitored in real time.
The software-defined network unit 130 is configured to adjust the configuration and the speed limit of the virtual lan at the port corresponding to the server of the switch and the physical machine after the hanging-disk subunit 112 configures the access control list in the volume management unit 120.
In one embodiment, the physical machine rental service system further includes a business management module. The service management module is used for receiving all service requests of the users.
Further, referring to fig. 4, the resource scheduling module 200 includes a leasing unit 210, a task scheduling unit 220, and a bare metal unit 230.
The leasing unit 210 is connected to the service management module, and the leasing unit 210 is configured to detect all service requests in the service management module and obtain a lease request for leasing a physical machine in the service request. The leasing unit detects and obtains a lease request for a leased physical machine among all service requests, while skipping other service requests.
The task scheduling unit 220, the task scheduling unit 220 is configured to schedule the rental tasks of the physical machines according to the rental requests of the physical machines 300, and issue instructions for scheduling the different rental units 210 to execute the rental tasks according to the scheduled sequence; wherein the order of the leasing units 210 performing the leasing task is: a volume management unit 120, a software defined network unit 130, and a service control unit 110. Different lease task requests of the physical machines correspond to different lease units 210, the task scheduling unit 220 performs sequencing according to the set sequence of the lease task requests, and then sequentially sends out instructions for the lease units 210 to execute the lease task requests according to the sequenced sequence.
In this embodiment, the resource scheduling module detects, obtains, and sequences the service lease request, so as to accelerate the execution speed of the lease unit 210 on the service lease request.
A second aspect of the present embodiments provides a method for leasing a service for a physical machine.
Referring to fig. 5, a method for renting a service by a physical machine includes:
step S110: a lease request to lease a physical machine is detected and an instruction to perform a lease task for the physical machine is issued.
Step S120: acquiring an instruction for executing a physical machine renting task, and executing the physical machine renting task according to the task instruction; the physical machine renting task sequentially comprises the steps of providing a storage volume function of the physical machine, adjusting and controlling the network topology inside the physical machine data center in real time and controlling the working mode of the physical machine.
The execution sequence of the renting tasks of the physical machine is as follows: the method provides the storage volume function of the physical machine, adjusts and controls the network topology inside the data center of the physical machine in real time, and controls the working mode of the physical machine. Referring to fig. 6, the execution sequence of the rental tasks of the physical machines is performed in the order of step S121 to step S128.
The embodiment automatically completes the physical machine leasing service by quickly executing the user request leasing task, realizes the quick leasing delivery of the physical machine as a virtual machine, and can quickly switch standby equipment and switch services.
Further, referring to fig. 6, the specific steps of providing the storage volume function of the physical machine include:
step S121: preparing, by a volume management tool, a startup volume from a shared storage; the preparation mode of the volume management tool comprises copying, cloning, setting and obtaining; copying to a volume in the replicated shared storage; cloning to a volume in the clone sharing storage, and presetting the volume as a volume set by a volume management unit; the volume is obtained as the user's volume.
Step S122: configuring a client access password and a network card IP of a starting volume through cloud initialization;
step S123: mapping the starting volume to a server of a physical machine through an application program management interface of a storage service to form a storage disk based on an SCSI protocol to be used as a starting disk of a network storage management system;
step S124: acquiring a dynamic elastic block storage volume to be mounted through the logical volume distributed by the volume management tool;
step S125: mount the elastic block storage volume to a server of the physical machine and configure an access control list in the volume management unit.
Further, referring to fig. 6, the specific step of adjusting and controlling the network topology inside the physical machine data center in real time includes:
step S126: and controlling the configuration and the speed limit of the virtual local area network of the corresponding port of the server of the physical machine so as to adjust and control the network topology inside the data center of the physical machine in real time.
Further, referring to fig. 6, the specific steps of controlling the operation mode of the physical machine include:
step S127: controlling the power-on of the delivered physical machine host to control the working mode of the physical machine;
step S128: the method comprises the steps of obtaining sensor information of a server of a physical machine, registering a physical node corresponding to the sensor information in a monitoring system network, and monitoring the network and a power supply of the physical machine so as to give an alarm when the sensor information is abnormal.
The sequence of steps S121 to S128 is the sequence of execution of the rental tasks in this embodiment.
The embodiment quickly executes the user's request lease task, automatically completes the physical machine lease service, realizes the physical machine lease delivery as fast as the virtual machine, and can quickly switch the standby machine equipment and switch the service.
In one embodiment, the specific steps of step S110 of detecting a lease request for a leased physical machine and issuing an instruction to perform a lease task for the physical machine include:
receiving all service requests of a user, and selecting a lease request of a lease physical machine in all the service requests;
the scheduling is performed according to the lease requests of the physical machines, and an instruction for scheduling different lease units to execute lease tasks according to the order of the lease requests of the physical machines is sent.
The method includes the steps of scheduling according to lease task requests of the physical machines, and issuing instructions for scheduling different lease units to execute lease tasks in the order of the lease task requests of the physical machines. The execution sequence of the renting units corresponding to each service request is different, and the renting tasks are executed in sequence, so that the renting and delivering speed of the physical machine is increased.
A third aspect of the present embodiment provides a physical machine rental service terminal.
A physical machine rental service terminal includes one or more processors, and a storage device. The storage device is used to store one or more programs.
The one or more programs, when executed by the one or more processors, cause the one or more processors to implement a method of a physical machine rental service as in any of the above embodiments.
The method for renting the service by the physical machine comprises the following steps:
detecting a lease request for leasing a physical machine and issuing an instruction for executing a lease task of the physical machine;
acquiring an instruction for executing a physical machine renting task, and executing the physical machine renting task according to the task instruction; the physical machine renting task sequentially comprises the steps of providing a storage volume function of the physical machine, adjusting and controlling the network topology inside the physical machine data center in real time and controlling the working mode of the physical machine.
The execution sequence of the renting tasks of the physical machine is as follows: the method provides the storage volume function of the physical machine, adjusts and controls the network topology inside the data center of the physical machine in real time, and controls the working mode of the physical machine.
The physical machine lease service terminal of the embodiment can quickly execute the lease request task of the user by using the storage device, automatically complete the physical machine lease service, realize that the physical machine is leased and delivered as fast as a virtual machine, and can quickly switch standby equipment and switch service.
A fourth aspect of the present embodiment provides a computer-readable storage medium storing a computer program executed by a processor to implement the method for renting a physical machine service according to any one of the above embodiments.
The computer readable storage medium of the embodiment utilizes the stored computer program to quickly execute the user's lease request task, automatically complete the physical machine lease service, realize the physical machine as a virtual machine to quickly lease and deliver, and quickly switch the standby equipment and switch the service.
The above description is only for the specific embodiment of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily conceive various changes or substitutions within the technical scope of the present invention, and these should be covered by the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the appended claims.
In the description of the present invention, it is to be understood that the terms "central," "longitudinal," "lateral," "length," "width," "thickness," "upper," "lower," "front," "rear," "left," "right," "vertical," "horizontal," "top," "bottom," "inner," "outer," "clockwise," "counterclockwise," "axial," "radial," "circumferential," and the like are used in the orientations and positional relationships indicated in the drawings for convenience in describing the invention and to simplify the description, and are not intended to indicate or imply that the referenced device or element must have a particular orientation, be constructed and operated in a particular orientation, and are not to be considered limiting of the invention.
Furthermore, the terms "first", "second" and "first" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of that feature. In the description of the present invention, "a plurality" means two or more unless specifically defined otherwise.
In the present invention, unless otherwise expressly stated or limited, the terms "mounted," "connected," "secured," and the like are to be construed broadly and can, for example, be fixedly connected, detachably connected, or integrally formed; the connection can be mechanical connection, electrical connection or communication; either directly or indirectly through intervening media, either internally or in any other relationship. The specific meanings of the above terms in the present invention can be understood by those skilled in the art according to specific situations.
In the present invention, unless otherwise expressly stated or limited, "above" or "below" a first feature means that the first and second features are in direct contact, or that the first and second features are not in direct contact but are in contact with each other via another feature therebetween. Also, the first feature being "on," "above" and "over" the second feature includes the first feature being directly on and obliquely above the second feature, or merely indicating that the first feature is at a higher level than the second feature. A first feature being "under," "below," and "beneath" a second feature includes the first feature being directly above and obliquely above the second feature, or simply meaning that the first feature is at a lesser level than the second feature.
The above disclosure provides many different embodiments, or examples, for implementing different features of the invention. The components and arrangements of the specific examples are described above to simplify the present disclosure. Of course, they are merely examples and are not intended to limit the present invention. Furthermore, the present invention may repeat reference numerals and/or letters in the various examples, such repetition is for the purpose of simplicity and clarity and does not in itself dictate a relationship between the various embodiments and/or configurations discussed. In addition, the present invention provides examples of various specific processes and materials, but one of ordinary skill in the art may recognize applications of other processes and/or uses of other materials.

Claims (13)

1. A physical machine rental service system, comprising:
the resource scheduling module is used for detecting a leasing request of a leasing physical machine from the service request and sending an instruction for executing a leasing task of the physical machine; and
the physical machine renting module is respectively connected with the resource scheduling module and the physical machine, and is used for acquiring an instruction for executing a physical machine renting task sent by the resource scheduling module, executing the physical machine renting task according to the task instruction and finishing the deployment of the physical machine; the renting task sequentially comprises the steps of providing a storage volume function of the physical machine by establishing a storage area network between the storage equipment and the physical machine, adjusting and controlling the network topology inside the data center of the physical machine in real time and controlling the working mode of the physical machine.
2. A physical machine lease service system as claimed in claim 1, wherein said physical machine lease module comprises:
the service control unit is connected with the physical machine and is used for controlling the working mode of the physical machine and acquiring and monitoring the sensor information of the physical machine;
the volume management unit is connected with a storage device, a storage area network is established between the storage device and the physical machine, and the volume management unit is used for providing remote storage service for the physical machine through the storage device and is used for copying, mounting and deleting a storage volume of the physical machine;
the software-defined network unit is used for being connected with a switch, an Ethernet is established between the switch and the physical machine, and the software-defined network unit is used for adjusting and controlling the network topology inside the data center of the physical machine in real time by adjusting the configuration and the speed limit of a virtual local area network of a port corresponding to a server of the switch and the physical machine.
3. A physical machine lease service system as claimed in claim 2, wherein said service control unit is connected with said physical machine through an intelligent platform management interface;
the volume management unit is in transmission connection with the storage device through a representational state;
the software defined network element is connected with a control management interface of the switch.
4. A physical machine lease service system as claimed in claim 2, wherein said volume management unit comprises:
a preparation subunit for preparing the startup volume from the shared storage by a volume management tool in a manner including copying, cloning, presetting, and retrieving;
the mapping subunit is used for mapping the boot volume to a server of the physical machine through an application program management interface of a storage service to form a storage disk based on a SCSI protocol to serve as a boot disk of a network storage management system;
and the acquiring subunit is used for acquiring the dynamic elastic block storage volume to be mounted through the logical volume distributed by the volume management tool.
5. A physical machine lease service system as claimed in claim 4, wherein said service control unit comprises:
the access subunit is used for configuring a client access password and a network card IP of the starting volume prepared by the preparation subunit through cloud initialization;
a disk hanging subunit, configured to mount the elastic block storage volume acquired by the acquiring subunit to a server of the physical machine, and configure an access control list in the volume management unit;
the control subunit is used for controlling the physical machine host to be electrified through an intelligent platform management interface so as to control the working mode of the physical machine server;
the monitoring subunit is used for acquiring the sensor information of the server of the physical machine, registering a physical node corresponding to the sensor information in a monitoring system network, and monitoring the network and the power supply of the physical machine so as to give an alarm when the sensor information is abnormal;
the software-defined network unit is used for adjusting the configuration and the speed limit of a virtual local area network of a port corresponding to the server of the switch and the physical machine after the hanging-disk subunit configures the access control list in the volume management unit.
6. A physical machine lease service system as claimed in any one of claims 1 to 5, characterized by further comprising:
the service management module is used for receiving a service request of a user;
the resource scheduling module comprises:
the renting unit is connected with the service management module and is used for acquiring all service requests in the service management module and selecting the renting request of the renting physical machine in the service requests;
the task scheduling unit is used for arranging the physical machine renting tasks according to the renting requests of the physical machines and sending out instructions for scheduling different renting units to execute the renting tasks according to the arranged sequence; wherein the ordering of the leasing units executing the leasing task is: the system comprises a volume management unit, a software defined network unit and a service control unit;
and the bare metal unit is used for virtualizing an operating platform and enabling the renting unit and the task scheduling unit to run concurrently.
7. A method for leasing a service with a physical machine, comprising:
detecting a lease request of a leased physical machine from the service request, and sending an instruction for executing a lease task of the physical machine;
acquiring an instruction for executing a physical machine renting task, executing the renting task for renting the physical machine according to the task instruction, and finishing the deployment of the physical machine; the physical machine renting task sequentially comprises the steps of providing a storage volume function of the physical machine by establishing a storage area network between the storage equipment and the physical machine, adjusting and controlling the network topology inside the data center of the physical machine in real time and controlling the working mode of the physical machine.
8. A method for a physical machine lease service as claimed in claim 7, wherein said step of providing a storage volume function of a physical machine by establishing a storage area network between a storage device and the physical machine comprises the steps of:
preparing, by a volume management tool, a startup volume from a shared storage; the preparation mode of the volume management tool comprises copying, cloning, presetting and obtaining;
configuring a client access password and a network card IP of the starting volume through cloud initialization;
mapping a boot volume to a server of the physical machine through an application program management interface of a storage service to form a storage disk based on a SCSI protocol to be used as a boot disk of a network storage management system;
acquiring a dynamic elastic block storage volume to be mounted through the logical volume distributed by the volume management tool;
and mounting the elastic block storage volume to a server of the physical machine, and configuring an access control list in the volume management unit.
9. A method for a physical machine lease service as claimed in claim 8, wherein said step of adjusting in real time the topology of the network controlling the inside of the physical machine data center comprises:
and controlling the configuration and the speed limit of the virtual local area network of the corresponding port of the server of the physical machine so as to adjust and control the network topology inside the data center of the physical machine in real time.
10. A method for a physical machine lease service as claimed in claim 9, wherein said step of controlling the operation mode of the physical machine comprises the steps of:
controlling the delivered physical machine host to be electrified so as to control the working mode of the physical machine;
and acquiring sensor information of a server of the physical machine, registering a physical node corresponding to the sensor information in a monitoring system network, and monitoring the network and a power supply of the physical machine so as to give an alarm when the sensor information is abnormal.
11. A method for a physical machine lease service as claimed in any one of claims 7 to 10, wherein said specific step of detecting a lease request for a leased physical machine from among service requests and issuing an instruction to perform a physical machine lease task includes:
receiving all service requests of a user, and selecting a lease request for leasing the physical machine from all the service requests;
editing a physical machine renting task according to the renting request of the physical machine, and sending an instruction for scheduling different renting units to execute the renting task according to the editing sequence, wherein the execution sequence of the physical machine renting task is as follows: the method provides the storage volume function of the physical machine, adjusts and controls the network topology inside the data center of the physical machine in real time, and controls the working mode of the physical machine.
12. A physical machine rental service terminal, comprising:
one or more processors;
a storage device for storing one or more programs;
the one or more programs, when executed by the one or more processors, cause the one or more processors to implement the method of a physical machine rental service of any of claims 7-11.
13. A computer-readable storage medium storing a computer program characterized in that the program is executed by a processor to implement a method of a physical machine rental service as claimed in any one of claims 7 to 11.
CN201910079386.2A 2019-01-28 2019-01-28 Physical machine rental service system, method, terminal and storage medium Active CN109814981B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910079386.2A CN109814981B (en) 2019-01-28 2019-01-28 Physical machine rental service system, method, terminal and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910079386.2A CN109814981B (en) 2019-01-28 2019-01-28 Physical machine rental service system, method, terminal and storage medium

Publications (2)

Publication Number Publication Date
CN109814981A CN109814981A (en) 2019-05-28
CN109814981B true CN109814981B (en) 2021-05-04

Family

ID=66605463

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910079386.2A Active CN109814981B (en) 2019-01-28 2019-01-28 Physical machine rental service system, method, terminal and storage medium

Country Status (1)

Country Link
CN (1) CN109814981B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112241299B (en) * 2019-07-18 2023-08-18 上海达龙信息科技有限公司 Operation management method, system, medium and server of electronic equipment
CN110764911A (en) * 2019-10-23 2020-02-07 北京百度网讯科技有限公司 Resource scheduling method, device and control system based on order
CN112003963B (en) * 2020-08-27 2022-05-17 苏州浪潮智能科技有限公司 Method, system, device and medium for mounting volume on bare metal server
CN114579036B (en) * 2020-11-30 2024-02-13 北京达佳互联信息技术有限公司 Storage device management method and related device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103338163A (en) * 2013-07-16 2013-10-02 清华大学 Software-defined network controller supporting scheduling of dynamic elastic resource
CN103703724A (en) * 2013-08-15 2014-04-02 华为技术有限公司 Resource payment method
CN103782556A (en) * 2013-08-08 2014-05-07 华为技术有限公司 Distributing method, controller, device, and system for virtual network
CN108228350A (en) * 2017-12-27 2018-06-29 中国联合网络通信集团有限公司 A kind of resource allocation methods and device

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9916532B2 (en) * 2014-06-09 2018-03-13 Cognitive Scale, Inc. Method for performing graph query operations within a cognitive environment

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103338163A (en) * 2013-07-16 2013-10-02 清华大学 Software-defined network controller supporting scheduling of dynamic elastic resource
CN103782556A (en) * 2013-08-08 2014-05-07 华为技术有限公司 Distributing method, controller, device, and system for virtual network
CN103703724A (en) * 2013-08-15 2014-04-02 华为技术有限公司 Resource payment method
CN108228350A (en) * 2017-12-27 2018-06-29 中国联合网络通信集团有限公司 A kind of resource allocation methods and device

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
"一种基于网络感知的虚拟机再调度算法";罗刚毅等;《计算机学报》;20150531;第38卷(第5期);第932-943 *

Also Published As

Publication number Publication date
CN109814981A (en) 2019-05-28

Similar Documents

Publication Publication Date Title
CN109814981B (en) Physical machine rental service system, method, terminal and storage medium
CN110113441B (en) Computer equipment, system and method for realizing load balance
US9999030B2 (en) Resource provisioning method
EP3073676B1 (en) Method, apparatus and system for controlling auto-provisioning of network device
US8312115B2 (en) Network booting apparatus and method
US7600005B2 (en) Method and apparatus for provisioning heterogeneous operating systems onto heterogeneous hardware systems
US9596143B2 (en) Node discovery and cluster formation for a secondary storage appliance
CN108628716B (en) Information receiving and managing system, method and device
US20140129819A1 (en) Cloud cluster system and boot deployment method for the same
WO2014169870A1 (en) Virtual network element automatic loading and virtual machine ip address acquisition method and system, and storage medium
CN108777640B (en) Server detection method, device, system and storage medium
JP2010152704A (en) System and method for operational management of computer system
CN105049502B (en) The method and apparatus that device software updates in a kind of cloud network management system
JP5770284B2 (en) I / O switch control method, virtual computer control method, and computer system
CN108400886A (en) A kind of server in machine room monitoring system and method
US20230034901A1 (en) Resource pool management system, resource pool management method and program
US8819200B2 (en) Automated cluster node configuration
CN108989123A (en) A kind of server configuration method and device
US9871699B2 (en) Telecommunications node configuration management
US20170031672A1 (en) Telecommunications node configuration management
CN110196721B (en) Internet data center management method, system and medium
US20170322788A1 (en) Parallel distribution of application services to virtual nodes
TW201447599A (en) Reservation and execution image writing of native computing devices
CN111404978A (en) Data storage method and cloud storage system
CN111475176B (en) Data reading and writing method, related device, system and storage medium

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