CN111371629B - Network construction and out-of-band management method, device, equipment, medium and cloud platform - Google Patents

Network construction and out-of-band management method, device, equipment, medium and cloud platform Download PDF

Info

Publication number
CN111371629B
CN111371629B CN202010230819.2A CN202010230819A CN111371629B CN 111371629 B CN111371629 B CN 111371629B CN 202010230819 A CN202010230819 A CN 202010230819A CN 111371629 B CN111371629 B CN 111371629B
Authority
CN
China
Prior art keywords
band management
network
cloud platform
virtual machine
physical
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
CN202010230819.2A
Other languages
Chinese (zh)
Other versions
CN111371629A (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.)
Beijing Baidu Netcom Science and Technology Co Ltd
Original Assignee
Beijing Baidu Netcom Science and Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Baidu Netcom Science and Technology Co Ltd filed Critical Beijing Baidu Netcom Science and Technology Co Ltd
Priority to CN202010230819.2A priority Critical patent/CN111371629B/en
Publication of CN111371629A publication Critical patent/CN111371629A/en
Application granted granted Critical
Publication of CN111371629B publication Critical patent/CN111371629B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management
    • H04L67/141Setup of application sessions
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/455Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
    • G06F9/45533Hypervisors; Virtual machine monitors
    • G06F9/45558Hypervisor-specific management and integration aspects
    • G06F2009/45562Creating, deleting, cloning virtual machine instances

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computer And Data Communications (AREA)

Abstract

The application discloses a network construction and out-of-band management method, device, equipment, medium and cloud platform. The construction method comprises the following steps: deploying out-of-band management virtual machines in a host server of the cloud platform; configuring at least two virtual bridges of the out-of-band management virtual machine to be respectively communicated with at least two physical network cards of the host server; establishing communication between at least two physical network cards and the service switch and the out-of-band management switch respectively; the out-of-band management virtual machine, the virtual network bridge, the physical network card in the host server, the out-of-band management switch and the out-of-band management unit in the physical server form an out-of-band management network path, and the out-of-band management network path is used for data interaction between an out-of-band management end for running the out-of-band management virtual machine and the out-of-band management unit configured on at least one physical server in the cloud platform, so that convenient and flexible out-of-band management of the physical server is realized.

Description

Network construction and out-of-band management method, device, equipment, medium and cloud platform
Technical Field
The embodiment of the application relates to the technical field of computers, in particular to a maintenance management technology of a cloud platform.
Background
The cloud platform is an implementation mode for providing large-scale business services and computing services at present. OpenStack is an open source cloud computing management platform project and is a combination of a series of software open source projects. In a cloud platform managed by OpenStack, the types of nodes mainly involved include: the control node, the network node, the storage node and the computing node can realize the functions of computing, object storage, mirror image service, identity service and the like. Various nodes of the cloud platform are generally deployed in a plurality of physical servers, and a communication network between the nodes is established through a switch, so that service operation is supported.
In the process that the cloud platform supports service operation, in order to realize normal operation of the service, the service operation process needs to be monitored, the performance of the physical server can be known in time, and appropriate maintenance control is performed. The operations of monitoring, maintenance, control and the like can be called out-of-band management requirements of the cloud platform outside service operation.
In the prior art, in order to ensure the safety of service operation, physical servers are generally centrally arranged in a machine room, and external control operation is limited, so that out-of-band management can be performed only inside the machine room. Obviously, the management outside the band inside the machine room is very inconvenient due to the factors such as the geographical position of the machine room.
Disclosure of Invention
The embodiment of the application provides a network construction and out-of-band management method, device, equipment, medium and cloud platform, so as to realize convenient and flexible out-of-band management of the cloud platform.
According to a first aspect, a method for constructing an out-of-band management network of a cloud platform is provided, where the cloud platform includes a service switch and a physical server that implements data communication through the service switch, an out-of-band management unit is configured in the physical server, and the out-of-band management unit implements data communication through the out-of-band management switch, and the method includes:
deploying an out-of-band management virtual machine in a host server of the cloud platform, wherein the host server is any physical server in the cloud platform;
configuring at least two virtual bridges of the out-of-band management virtual machine to be respectively communicated with at least two physical network cards of the host server;
establishing communication between at least two physical network cards and the service switch and the out-of-band management switch respectively;
the out-of-band management virtual machine, the virtual network bridge, the physical network card in the host server, the out-of-band management switch and the out-of-band management unit in the physical server form an out-of-band management network path, and the out-of-band management network path is used for data interaction between an out-of-band management end for running the out-of-band management virtual machine and the out-of-band management unit configured on at least one physical server in the cloud platform so as to perform out-of-band management on the physical server.
According to a second aspect, there is provided an out-of-band management method for a cloud platform, including:
acquiring an access request of an out-of-band management virtual machine deployed on a host server in a cloud platform through a cloud platform network, wherein the host server is a physical server in the cloud platform;
according to the access request, running a program of an out-of-band management end through the out-of-band management virtual machine;
performing data interaction with an out-of-band management unit configured on at least one physical server in a cloud platform through an out-of-band management network path through the out-of-band management terminal to perform out-of-band management on the physical server;
the out-of-band management network path comprises the out-of-band management virtual machine, a virtual network bridge, a physical network card in the host server, an out-of-band management switch and an out-of-band management unit in the physical server.
According to a third aspect, an out-of-band management network building apparatus for a cloud platform is provided, where the cloud platform includes a service switch and a physical server that implements data communication through the service switch, an out-of-band management unit is configured in the physical server, the out-of-band management unit implements data communication through the out-of-band management switch, the apparatus is configured in a host server, and the host server is any physical server in the cloud platform, and the apparatus includes:
the virtual machine deployment module is used for deploying out-of-band management virtual machines in a host server of the cloud platform;
the network bridge configuration module is used for configuring at least two virtual network bridges of the out-of-band management virtual machine to be respectively communicated with at least two physical network cards of the host server;
the network card communication module is used for establishing communication between at least two physical network cards and the service switch and the out-of-band management switch respectively;
the out-of-band management virtual machine, the virtual network bridge, the physical network card in the host server, the out-of-band management switch and the out-of-band management unit in the physical server form an out-of-band management network access, and the out-of-band management network access is used for data interaction between an out-of-band management end for running the out-of-band management virtual machine and the out-of-band management unit configured on at least one physical server in the cloud platform so as to perform out-of-band management on the physical server.
According to a fourth aspect, there is provided an out-of-band management apparatus of a cloud platform, configured in a host server, the host server being a physical server in the cloud platform, the method including:
the access acquisition module is used for acquiring an access request of the out-of-band management virtual machine deployed on a host server in the cloud platform through a cloud platform network;
the out-of-band management end operation module is used for operating the program of the out-of-band management end through the out-of-band management virtual machine according to the access request;
the out-of-band management module is used for performing data interaction with an out-of-band management unit configured on at least one physical server in the cloud platform through an out-of-band management network access through the out-of-band management end so as to perform out-of-band management on the physical server;
the out-of-band management network path comprises the out-of-band management virtual machine, a virtual network bridge, a physical network card in the host server, an out-of-band management switch and an out-of-band management unit in the physical server.
According to a fifth aspect, there is provided an electronic device comprising:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform a method for out-of-band management of a cloud platform as provided in any of the embodiments of the present application or to perform a method for out-of-band management of a cloud platform as provided in any of the embodiments of the present application.
According to a sixth aspect, there is provided a non-transitory computer readable storage medium storing computer instructions for causing a computer to execute the out-of-band management network construction method of a cloud platform provided in any of the embodiments of the present application or execute the out-of-band management method of a cloud platform provided in any of the embodiments of the present application.
According to an eighth aspect, there is provided a cloud platform comprising: the system comprises a service switch, a plurality of physical servers, an out-of-band management switch and a plurality of out-of-band management units; wherein:
the physical server realizes data communication through the service switch;
each physical server is provided with an out-of-band management unit, and the out-of-band management unit realizes data communication through an out-of-band management switch;
the physical server includes:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein the memory stores instructions executable by the at least one processor, the instructions being executable by the at least one processor to enable the at least one processor to perform the out-of-band management network construction method for a cloud platform provided in any of the embodiments of the present application or to perform the out-of-band management method for a cloud platform provided in any of the embodiments of the present application.
According to the technology of the application, the problem that out-of-band management of the cloud platform is inconvenient is solved.
It should be understood that the statements in this section do not necessarily identify key or critical features of the embodiments of the present disclosure, nor do they limit the scope of the present disclosure. Other features of the present disclosure will become apparent from the following description.
Drawings
The drawings are included to provide a better understanding of the present solution and are not intended to limit the present application. Wherein:
fig. 1A is a schematic diagram of a cloud platform architecture applicable to the embodiment of the present application;
fig. 1B is a flowchart of a method for constructing an out-of-band management network of a cloud platform according to an embodiment of the present disclosure;
fig. 1C is a schematic diagram of a virtual machine network link applicable to the embodiment of the present application;
fig. 2A is a flowchart of an out-of-band management network construction method of another cloud platform according to an embodiment of the present application;
fig. 2B is a schematic diagram of a virtual machine network link establishment process applicable to the embodiment of the present application;
fig. 3 is a flowchart of an out-of-band management method for a cloud platform according to an embodiment of the present application;
fig. 4 is a flowchart of an out-of-band management method for a cloud platform according to an embodiment of the present application;
fig. 5 is a schematic structural diagram of an out-of-band management network constructing apparatus of a cloud platform according to an embodiment of the present application;
fig. 6A is a schematic structural diagram of an out-of-band management apparatus of a cloud platform according to an embodiment of the present application;
fig. 6B is a schematic structural diagram of an out-of-band management apparatus of another cloud platform according to an embodiment of the present application
Fig. 7 is a schematic structural diagram of an electronic device implementing an embodiment of the present application.
Detailed Description
The following description of the exemplary embodiments of the present application, taken in conjunction with the accompanying drawings, includes various details of the embodiments of the application for the understanding of the same, which are to be considered exemplary only. Accordingly, those of ordinary skill in the art will recognize that various changes and modifications of the embodiments described herein can be made without departing from the scope and spirit of the present application. Also, descriptions of well-known functions and constructions are omitted in the following description for clarity and conciseness.
The embodiment of the application provides an out-of-band management network construction method for a cloud platform, which is suitable for constructing a network for out-of-band management of a physical server of the cloud platform aiming at the cloud platform.
The cloud platform is generally a server or a server cluster supporting some kind of service operation, for example, a service supporting computing, a service supporting information processing, and the like. As shown in fig. 1A, the hardware architecture of the cloud platform generally includes a service switch 111, and a physical server 112 for implementing data communication through the service switch 111. The number of the physical servers 112 is plural, and the physical servers may be deployed in a centralized manner in a computer room or deployed in a distributed manner.
The software system architecture for implementing the cloud platform can be various, for example, an OpenStack cloud platform system is adopted to deploy the cloud platform. The OpenStack cloud platform may include various types of nodes, such as control nodes, network nodes, storage nodes, and computing nodes. Various types of nodes are implemented by software, and can be integrated in one physical server or a plurality of physical servers. That is, at least one of the control node, the network node, the storage node, and the computing node is configured in one physical server.
In the process that the cloud platform supports service operation, the service operation process needs to be supervised, controlled and maintained so as to ensure normal and safe operation of the service. For example, the operation performance and data indexes of each physical server 112 are monitored and collected, and a control instruction, such as a restart, reset, read-write control instruction, may also be sent to the physical server 112. Therefore, an out-of-band management network needs to be established for the cloud platform, and the out-of-band management network is independent of the cloud platform supporting service operation, so as to perform transaction processing of out-of-band management. Specifically, as shown in fig. 1A, an out-of-band management unit 121 may be configured in the physical server 112, and the out-of-band management unit 121 implements data communication through an out-of-band management switch 122. The out-of-band management unit 121 is configured to perform data interaction through an out-of-band management network to manage the physical server 112.
The Out-of-band management unit 121 may be implemented in hardware and/or software, for example, the Out-of-band management unit may be, optionally, a iLO (Integrated Out-of-band) chip. The iLO chip can realize the remote management of the server at the hardware level, including the startup and shutdown, the restart, the monitoring of the server state, the virtual KVM and the like.
Based on the cloud platform architecture shown in fig. 1A, an embodiment of the present application provides a method for constructing an out-of-band management network of a cloud platform, and a flowchart of the method is shown in fig. 1B. The method is applicable to the architecture of the cloud platform, and can be specifically realized by an out-of-band management network construction device configured in any physical server, and the device can be realized in a hardware and/or software mode.
As shown in fig. 1B, the method includes:
s101, deploying an out-of-band management virtual machine in a host server of the cloud platform, wherein the host server is any physical server in the cloud platform;
generally, one or more virtual machines may be deployed on each physical server of the cloud platform to support various service functions of business operations. In this embodiment, the virtual machine may be deployed for out-of-band management, which is called as out-of-band management virtual machine.
A Virtual Machine, also called a Virtual Machine (VM), refers to a complete computer system with complete hardware system functions, which is simulated by software and runs in a completely isolated environment. The work that can be done in a physical computer can be implemented in a virtual machine. When creating a virtual machine in a computer, it is necessary to use part of the hard disk and memory capacity of the physical machine as the hard disk and memory capacity of the virtual machine. Each virtual machine has an independent CMOS, hard disk and operating system, and can be operated like a physical machine.
The physical server with the out-of-band virtual machine is called a host server, and the out-of-band virtual machine can be respectively deployed on one or more host servers.
The out-of-band management virtual machine can only realize the out-of-band management function, and can also realize the out-of-band management function and other service functions of the cloud platform.
The existing virtual machine of the physical server can be utilized, and the virtual machine can be newly created to be used as the out-of-band management virtual machine.
The out-of-band management virtual machine is preferably deployable in a compute node carried by a physical server.
S102, configuring at least two virtual bridges of the out-of-band management virtual machine to be respectively communicated with at least two physical network cards of the host server;
the virtual machine can be communicated with a physical network card of the physical server through a virtual machine network bridge, so that communication with equipment outside the physical server is realized.
S103, establishing communication between at least two physical network cards and the service switch and the out-of-band management switch respectively;
the out-of-band management virtual machine, the virtual network bridge, the physical network card in the host server, the out-of-band management switch and the out-of-band management unit in the physical server form an out-of-band management network path, and the out-of-band management network path is used for data interaction between an out-of-band management end for running the out-of-band management virtual machine and the out-of-band management unit configured on at least one physical server in the cloud platform so as to perform out-of-band management on the physical server.
Meanwhile, the out-of-band management virtual machine can also be connected into a cloud platform network through another virtual network bridge and another physical network card in the host server.
Through the above construction process, as shown with reference to fig. 1A and 1C in combination, an out-of-band management network including the out-of-band management virtual machine 123, the out-of-band management switch 122, and the out-of-band management unit 121 can be established. In the out-of-band management network, the out-of-band management virtual machine 123, the first virtual bridge 124a, the first physical network card 125a in the host server, the out-of-band management switch 122, and the out-of-band management unit 121 in each physical server form an out-of-band management network path. Through the path, bidirectional interaction of data can be realized between the out-of-band management virtual machine 123 and the out-of-band management unit 121, so that the out-of-band management virtual machine 123 can acquire data acquired by the out-of-band management unit 121 in the physical server 112, and can also send an instruction to the out-of-band management unit 121 to control the physical server 112, that is, out-of-band management of the cloud platform is realized. Meanwhile, the out-of-band management virtual machine 123 is connected to the cloud platform network (also referred to as a service operation network or a production network) through the second virtual network bridge 124b and the second physical network card 125b, so that the out-of-band management virtual machine 123 can be accessed through the cloud platform network, and the out-of-band management virtual machine 123 can also directly acquire operation data, such as an operating system log, as data for out-of-band management through the service operation network.
As shown in fig. 1C, the out-of-band management virtual machine 123 is preferably configured in a compute node, and the out-of-band management virtual machine 123 is connected to the first virtual bridge 124a and the second virtual bridge 124b based on data link layer devices (taps) through its two interfaces eth0 and eth1, respectively. The first virtual bridge 124a may be connected to a first physical network card (eth 0) 125a, and thus to the out-of-band management switch (ToR) 122. The second virtual bridge 124b may be connected to the second physical network card (xgbe 0 and xgbe 1) 125b through the virtual network convergence unit (br-int and br-tun) 126 of the virtual switch software (Openvswitch) and the physical network card convergence unit (Bond 0) 127, thereby being connected to the service switch (ToR) 111.
According to the technical scheme of the embodiment of the application, the out-of-band management virtual machine can be connected to the out-of-band management network for out-of-band management by deploying the out-of-band management virtual machine in the physical server of the cloud platform and by means of the physical network card of the physical server. Therefore, the setting of special out-of-band management equipment is reduced, and the hardware cost can be reduced; meanwhile, the out-of-band management virtual machine runs on the physical server, and the physical server is in the cloud platform network, so that the out-of-band management virtual machine can be accessed through the cloud platform network, namely, the out-of-band management virtual machine is remotely accessed through the cloud platform network, and a flexible and convenient control mode is provided; the out-of-band management virtual machine can also directly acquire the operation data of other virtual machines from the cloud platform network; in addition, the limit of the out-of-band management tool software which can be run on the out-of-band management virtual machine is less, so that the maintenance manager can flexibly select the out-of-band management tool software to realize more complex and rich out-of-band management requirements.
Fig. 2A is a flowchart of a method for building an out-of-band management network of another cloud platform according to an embodiment of the present application, and the present embodiment provides a more specific building scheme based on the technical scheme provided in the foregoing embodiment.
Specifically, the method of this embodiment includes:
s201, deploying an out-of-band management virtual machine in a host server of the cloud platform, wherein the host server is any physical server in the cloud platform;
s202, in at least two virtual machine bridges which are established by default by the out-of-band management virtual machine, disconnecting the communication relation between at least one virtual network bridge and a virtual network convergence unit, and reserving the communication relation between at least one other virtual network bridge and the virtual network convergence unit, wherein the virtual network convergence unit is used for being connected to a physical network card which is communicated with a service switch;
s203, establishing a communication relation between the disconnected virtual network bridge and a physical network card of the host server, which is connected to the out-of-band management switch;
s204, establishing communication between at least two physical network cards and the service switch and the out-of-band management switch respectively.
In this embodiment, a specific way for establishing a connection relationship between a virtual machine bridge and a physical network card of an out-of-band virtual machine is provided.
For an existing cloud platform system, for example, an OpenStack system, when a virtual machine is created, a bound virtual machine bridge is created for the virtual machine by default, and the virtual machine bridge is connected to a physical network card accessing a cloud platform network. As shown in fig. 2B, the created out-of-band virtual management machine 123 is created with a first virtual bridge 124a and a second virtual bridge 124B by default, both of which are connected to the virtual network convergence units (br-int and br-tun) 126 by default, and the virtual network convergence unit 126 is connected to the second physical network card 125B through the physical network card convergence unit (Bond) 127. In this example, the physical network cards include two types, the second physical network card 125b is a gigabit network card (xgbe 0 and xgbe 1) supporting the service operation network, and the first physical network card 125a is a gigabit network card (eth 0 and eth 1) connected to the out-of-band management network.
In this embodiment, the connection between the first virtual bridge 124a and the virtual network convergence unit 126 is further disconnected, as shown in fig. 1C, and then connected to the first physical network card 125a, that is, connected to the out-of-band management network where the out-of-band management switch 122 is located. And the second virtual bridge 124b remains in communication with the cloud platform network via the second physical network card 125b.
The technical scheme of the embodiment realizes the establishment process of the existing virtual machine and virtual network bridge based on the cloud platform, and can realize the communication between the out-of-band management virtual machine and the out-of-band management network through simple improvement.
As mentioned above, the out-of-band management virtual machine is preferably that the physical network card connected to the out-of-band management switch is a gigabit network card in the host server, and the physical network card connected to the service switch is a gigabit network card in the host server. Therefore, the isolation between the out-of-band management network and the cloud platform network can be ensured, and the high-speed service operation of the cloud platform network can be ensured.
The embodiment of the present application further provides an out-of-band management method for a cloud platform, which can be implemented based on the out-of-band management network created by the construction method of the foregoing embodiment, and is applicable to the cloud platform network architecture provided by the foregoing embodiment.
Fig. 3 is a flowchart of an out-of-band management method for a cloud platform according to an embodiment of the present application, where the method may be performed by an out-of-band management apparatus of the cloud platform, the apparatus is integrated in a physical server deployed with an out-of-band management virtual machine in the cloud platform, and the apparatus may be implemented in a software and/or hardware manner. The method comprises the following steps:
s301, acquiring an access request of an out-of-band management virtual machine deployed on a host server in a cloud platform through a cloud platform network, wherein the host server is a physical server in the cloud platform;
as described above, the out-of-band management virtual machine is connected to the cloud platform network, so that the access request of the operator can be acquired through the cloud platform network. The access request may be various access instructions to the virtual machine by the operator.
S302, running a program of an out-of-band management terminal through the out-of-band management virtual machine according to the access request;
according to the access request, the out-of-band management virtual machine can start to run the program of the out-of-band management terminal. The program of the out-of-band management terminal is a program which can be matched with the program in the out-of-band management unit to realize the specific function of out-of-band management. The out-of-band management terminal can be realized in any form such as a command line or a visual interface, as long as the out-of-band management terminal can interact with the out-of-band management unit and realize functions.
S303, performing data interaction with an out-of-band management unit configured on at least one physical server in a cloud platform through an out-of-band management network path through the out-of-band management terminal to perform out-of-band management on the physical server;
the out-of-band management network path comprises the out-of-band management virtual machine, a virtual network bridge, a physical network card in the host server, an out-of-band management switch and an out-of-band management unit in the physical server.
As described above, the out-of-band management end generates output instruction data, and acquires input performance data, etc., which can implement interaction through the constructed out-of-band management network path. The instruction data may be, for example, a control instruction generated when an operator needs to perform operations on the BIOS, such as raid partitioning on the physical server, modifying BIOS entries, adjusting the boot sequence of the physical server, remotely installing an operating system, restarting, and recovering. The collected input performance data may be performance parameters of a CPU, a memory, and a physical network card of the physical server.
In addition, in the embodiment of the present application, the method may further include: and acquiring data of each physical server and the deployed virtual machine of the cloud platform through the cloud platform network by the out-of-band management terminal for out-of-band management.
Because the out-of-band management virtual machine is connected in the cloud platform network, data interaction can be directly carried out with other virtual machines through the cloud platform network, and therefore data of each physical server and the deployed virtual machine, such as operating system logs and the like, can be directly obtained. This data can be used for out-of-band management, such as fault diagnosis.
According to the technical scheme of the embodiment of the application, the out-of-band management virtual machine can be connected to the out-of-band management network for out-of-band management by deploying the out-of-band management virtual machine in the physical server of the cloud platform and by means of the physical network card of the physical server. Therefore, the setting of special out-of-band management equipment is reduced, and the hardware cost can be reduced; meanwhile, the out-of-band management virtual machine runs on the physical server, and the physical server is in the cloud platform network, so that the out-of-band management virtual machine can be accessed through the cloud platform network, namely, the out-of-band management virtual machine can be remotely accessed through the cloud platform network, and a flexible and convenient control mode is provided; the out-of-band management virtual machine can also directly acquire the operation data of other virtual machines from the cloud platform network; in addition, the limit of the out-of-band management tool software which can be run on the out-of-band management virtual machine is less, so that the maintenance manager can flexibly select the out-of-band management tool software to realize more complex and rich out-of-band management requirements.
In the network architecture applicable to the embodiment of the present application, preferably, the cloud platform network and the out-of-band management network are independent from each other. Therefore, the safety of the service operated in the cloud platform network can be ensured.
The cloud platform network specifically comprises a service switch and a physical server for realizing data communication through the service switch; the out-of-band management network comprises an out-of-band management switch and an out-of-band management unit for realizing data communication through the out-of-band management switch, wherein the out-of-band management unit is integrated in the physical server.
The out-of-band management unit can be selected as a iLO chip and is integrated in the physical server. The iLO chip can independently operate, and rich out-of-band management functions are realized.
In this embodiment, the cloud platform may include a control node, a network node, a storage node, and a computing node, and at least one of the control node, the network node, the storage node, and the computing node is configured in one physical server. For example, the cloud platform may be implemented using an OpenStack cloud platform system.
The out-of-band management virtual machine is preferably deployed in a compute node.
Optionally, the physical network card connected to the out-of-band management virtual machine is a gigabit network card in the host server, and the physical network card connected to the service switch is a gigabit network card in the host server.
Therefore, the isolation between the out-of-band management network and the cloud platform network can be ensured, and the high-speed service operation of the cloud platform network can be ensured.
Fig. 4 is a flowchart of an out-of-band management method for another cloud platform according to an embodiment of the present application, and the present embodiment provides a preferred out-of-band access management manner based on the foregoing embodiment. The method specifically comprises the following steps:
s401, obtaining a login request for the cloud platform through a cloud platform network, obtaining and displaying each virtual machine deployed in a cloud platform physical server according to the login request, wherein each virtual machine comprises the out-of-band management virtual machine;
for example, an operator may log into the cloud platform of OpenStack with a browser on a virtual machine. This may be used in a network environment that has access to OpenStack or a network environment that is connected in a dedicated line, or may be used between management operations.
And finding a specific out-of-band management virtual machine, such as the virtual machine named ilobbeb, on the cloud platform.
S402, acquiring an access request of an out-of-band management virtual machine deployed on a host server in a cloud platform based on a virtual network remote control mode, wherein the host server is a physical server in the cloud platform;
the ilobbeb virtual machine can be remotely logged in through a VNC (virtual network remote control) for operation, so that remote access of an operator to the out-of-band management network is realized.
S403, running a program of an out-of-band management end through the out-of-band management virtual machine according to the access request;
the operation may specifically be to implement a visual interface in a web page manner. Namely, the browser can be operated through the out-of-band management virtual machine according to the access request, and the out-of-band management terminal in the form of a webpage can be accessed through the browser.
Specifically, an IE browser may be opened or a chrome browser may be installed in the ilobbeb virtual machine, and after an address of an ILO chip of the physical server to be managed is input, a user name and a password of an operator are input, so that the user can log in an ILO management page of the physical server to be managed, and thus various parameters of the physical server, such as temperature display of various components, can be viewed in a graphical manner, and operations such as shutdown and restart of the physical server can also be performed.
If the user needs to log in the physical server in the form of a command line for operation, a kvm (Keyboard Video Mouse) window in the ilo web page can be found, and the log-in operation of ssh (Secure Shell, secure Shell protocol) is simulated on the web page.
Or, according to the access request, the program of the out-of-band management end is run by the out-of-band management virtual machine in a commandable form. Specifically, the method includes running an out-of-band management end in a command line form through the out-of-band management virtual machine according to the access request.
For example, a cmd command line may be entered in an out-of-band management virtual machine of a windows, and ipmi operations may be performed on a physical server by installing "imPitool for windows".
The technical scheme of the embodiment can support the running of various out-of-band management end programs on the out-of-band management virtual machine, so that the out-of-band management function is richer, and the operation of an operator is more convenient.
S404, performing data interaction with an out-of-band management unit configured on at least one physical server in a cloud platform through an out-of-band management network path through the out-of-band management terminal so as to perform out-of-band management on the physical server;
optionally, when the out-of-band management end is operated by using a browser, a data interaction manner is performed, by the out-of-band management end, with an out-of-band management unit configured on at least one physical server in the cloud platform through an out-of-band management network path, which may specifically include:
acquiring the address of an out-of-band management unit configured on a target physical server to be managed through the out-of-band management terminal;
and performing the data interaction through the out-of-band management network path based on the address and the address of the physical network card in the host server connected with the out-of-band management virtual machine.
In the above manner, the iLO chip can be accessed by inputting the address of the out-of-band management unit to be managed, for example, the IP address configured for the iLO chip, in the browser page. The out-of-band management virtual machine is also configured with an IP address in an out-of-band management network for the iLO chip to access interaction. The access mode is convenient and easy to operate.
In the embodiment of the present application, the data interaction for out-of-band management includes at least one of the following:
operational performance data of the physical server;
command data that controls the operation of the physical server.
Of course, those skilled in the art will understand that any required data instruction interaction may be performed based on the cooperation of the out-of-band management terminal and the out-of-band management unit, and the present application is not limited thereto. The out-of-band management virtual machine can also be accessed to a cloud platform network, so that a plurality of out-of-band management tools of third parties can be supported to directly acquire data in the cloud platform network.
Fig. 5 is a schematic structural diagram of an out-of-band management network constructing apparatus 500 of a cloud platform according to an embodiment of the present application, which is adapted to construct an out-of-band management network in the cloud platform, where the cloud platform includes a service switch and a physical server that implements data communication through the service switch, and an out-of-band management unit is configured in the physical server and implements data communication through the out-of-band management switch. The device is configured in a host server, and the host server is any physical server in the cloud platform.
The device specifically comprises: a virtual machine deployment module 510, a network bridge configuration module 520 and a network card communication module 530.
The virtual machine deployment module 510 is configured to deploy an out-of-band management virtual machine in a host server of the cloud platform; a bridge configuration module 520, configured to configure at least two virtual bridges of the out-of-band management virtual machine to be respectively communicated with at least two physical network cards of the host server; a network card communication module 530, configured to establish communication between at least two physical network cards and the service switch and the out-of-band management switch, respectively; the out-of-band management virtual machine, the virtual network bridge, the physical network card in the host server, the out-of-band management switch and the out-of-band management unit in the physical server form an out-of-band management network access, and the out-of-band management network access is used for data interaction between an out-of-band management end for running the out-of-band management virtual machine and the out-of-band management unit configured on at least one physical server in the cloud platform so as to perform out-of-band management on the physical server.
According to the technical scheme of the embodiment of the application, the out-of-band management virtual machine can be connected to the out-of-band management network for out-of-band management by deploying the out-of-band management virtual machine in the physical server of the cloud platform and by means of the physical network card of the physical server. Therefore, the setting of special out-of-band management equipment is reduced, and the hardware cost can be reduced; meanwhile, the out-of-band management virtual machine runs on the physical server, and the physical server is in the cloud platform network, so that the out-of-band management virtual machine can be accessed through the cloud platform network, namely, the out-of-band management virtual machine is remotely accessed through the cloud platform network, and a flexible and convenient control mode is provided; the out-of-band management virtual machine can also directly acquire the operation data of other virtual machines from the cloud platform network; in addition, the limit of the out-of-band management tool software which can be run on the out-of-band management virtual machine is less, so that the maintenance manager can flexibly select the out-of-band management tool software to realize more complex and rich out-of-band management requirements.
In the foregoing technical solution, the bridge configuration module 520 specifically includes:
a connection disconnection unit, configured to disconnect, in at least two virtual machine bridges created by default by the out-of-band management virtual machine, a connection relationship between at least one virtual network bridge and a virtual network convergence unit, and keep a connection relationship between at least one other virtual network bridge and the virtual network convergence unit, where the virtual network convergence unit is used to connect to a physical network card that is connected to a service switch;
and the communication reestablishment unit is used for establishing the communication relation between the disconnected virtual network bridge and the physical network card of the host server connected to the out-of-band management switch.
Optionally, the following steps:
the cloud platform comprises a control node, a network node, a storage node and a computing node, wherein at least one of the control node, the network node, the storage node and the computing node is configured in one physical server;
the out-of-band management virtual machine is deployed in a computing node;
the physical network card connected to the out-of-band management virtual machine is a gigabit network card in the host server, and the physical network card connected to the service switch is a gigabit network card in the host server;
the out-of-band management unit is a iLO chip.
The out-of-band management network construction device of the cloud platform provided by the embodiment of the application can be used for executing the out-of-band management network construction method of the cloud platform provided by the embodiment of the application, and has corresponding functional modules and beneficial effects.
Fig. 6A is a schematic structural diagram of an out-of-band management apparatus 600 of a cloud platform according to an embodiment of the present application. The device is configured in a host server, the host server is a physical server in the cloud platform, and the device comprises: an access acquisition module 610, an out-of-band management side execution module 620 and an out-of-band management module 630.
The access obtaining module 610 is configured to obtain, through a cloud platform network, an access request for an out-of-band management virtual machine deployed on a host server in a cloud platform; an out-of-band management end running module 620, configured to run a program of an out-of-band management end through the out-of-band management virtual machine according to the access request; the out-of-band management module 630 is configured to perform data interaction with an out-of-band management unit configured on at least one physical server in the cloud platform through an out-of-band management network path through the out-of-band management terminal, so as to perform out-of-band management on the physical server; the out-of-band management network path comprises the out-of-band management virtual machine, a virtual network bridge, a physical network card in the host server, an out-of-band management switch and an out-of-band management unit in the physical server.
According to the technical scheme of the embodiment of the application, the out-of-band management virtual machine can be connected to the out-of-band management network for out-of-band management by deploying the out-of-band management virtual machine in the physical server of the cloud platform and by means of the physical network card of the physical server. Therefore, the setting of special out-of-band management equipment is reduced, and the hardware cost can be reduced; meanwhile, the out-of-band management virtual machine runs on the physical server, and the physical server is in the cloud platform network, so that the out-of-band management virtual machine can be accessed through the cloud platform network, namely, the out-of-band management virtual machine is remotely accessed through the cloud platform network, and a flexible and convenient control mode is provided; the out-of-band management virtual machine can also directly acquire the operation data of other virtual machines from the cloud platform network; in addition, the limit of the out-of-band management tool software which can be run on the out-of-band management virtual machine is less, so that the maintenance manager can flexibly select the out-of-band management tool software to realize more complex and rich out-of-band management requirements.
In this embodiment, optionally, the method further includes:
and the data acquisition module is used for acquiring data of each physical server and the deployed virtual machine of the cloud platform through the cloud platform network through the out-of-band management terminal, and is used for performing out-of-band management.
In the device, it is optional that: the cloud platform network and the out-of-band management network are independent of each other; the cloud platform network comprises a service switch and a physical server for realizing data communication through the service switch; the out-of-band management network comprises an out-of-band management switch and an out-of-band management unit for realizing data communication through the out-of-band management switch, wherein the out-of-band management unit is integrated in the physical server.
Optionally, the out-of-band management unit is a iLO chip integrated in the physical server.
Further, the cloud platform may include a control node, a network node, a storage node, and a computing node, and at least one of the control node, the network node, the storage node, and the computing node may be configured in one physical server.
The out-of-band management virtual machine may be deployed in a compute node.
Preferably, the physical network card connected to the out-of-band management virtual machine is a gigabit network card in the host server, and the physical network card connected to the service switch is a gigabit network card in the host server.
As shown in fig. 6B, optionally, the access obtaining module 610 includes:
a login display unit 611, configured to obtain a login request for the cloud platform through a cloud platform network, and obtain and display each virtual machine deployed in the cloud platform physical server according to the login request, where each virtual machine includes the out-of-band management virtual machine;
the remote access unit 612 is configured to obtain an access request for an out-of-band management virtual machine deployed on a host server in the cloud platform based on a virtual network remote control manner.
Optionally, the out-of-band management end running module 620 is specifically configured to:
according to the access request, running a browser through the out-of-band management virtual machine, and accessing an out-of-band management end in a webpage form through the browser; or
And according to the access request, operating an out-of-band management end in a command line form through the out-of-band management virtual machine.
Optionally, the out-of-band management module is specifically configured to:
acquiring the address of an out-of-band management unit configured on a target physical server to be managed through the out-of-band management terminal;
and performing the data interaction through the out-of-band management network path based on the address and the address of the physical network card in the host server connected with the out-of-band management virtual machine.
Optionally, the data interaction for out-of-band management includes at least one of the following:
operational performance data of the physical server;
command data that controls the operation of the physical server.
The out-of-band management device of the cloud platform provided by the embodiment of the application can be used for executing the out-of-band management method of the cloud platform provided by the embodiment of the application, and has corresponding functional modules and beneficial effects.
According to an embodiment of the present application, an electronic device and a readable storage medium are also provided.
Fig. 7 is a block diagram of an electronic device according to an out-of-band management network construction method or an out-of-band management method of a cloud platform according to an embodiment of the present application. Electronic devices are intended to represent various forms of digital computers, such as laptops, desktops, workstations, personal digital assistants, servers, blade servers, mainframes, and other appropriate computers. The electronic device may also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions, are meant to be examples only, and are not meant to limit implementations of the present application that are described and/or claimed herein.
As shown in fig. 7, the electronic apparatus includes: one or more processors 701, a memory 702, and interfaces for connecting the various components, including a high-speed interface and a low-speed interface. The various components are interconnected using different buses and may be mounted on a common motherboard or in other manners as desired. The processor may process instructions for execution within the electronic device, including instructions stored in or on the memory to display graphical information of a GUI on an external input/output apparatus (such as a display device coupled to the interface). In other embodiments, multiple processors and/or multiple buses may be used, along with multiple memories and multiple memories, as desired. Also, multiple electronic devices may be connected, with each device providing portions of the necessary operations (e.g., as a server array, a group of blade servers, or a multi-processor system). In fig. 7, one processor 701 is taken as an example.
The memory 702 is a non-transitory computer readable storage medium as provided herein. Wherein the memory stores instructions executable by at least one processor to cause the at least one processor to perform the out-of-band management network construction method or the out-of-band management method of the cloud platform provided herein. The non-transitory computer readable storage medium of the present application stores computer instructions for causing a computer to execute the out-of-band management network construction method or the out-of-band management method of the cloud platform provided by the present application.
The memory 702 serves as a non-transitory computer readable storage medium, and may be used to store non-transitory software programs, non-transitory computer executable programs, and modules, such as program instructions/modules corresponding to the out-of-band management network construction method or the out-of-band management method of the cloud platform in the embodiments of the present application (for example, the virtual machine deployment module 510, the network bridge configuration module 520, and the network card connectivity module 530 shown in fig. 5, or the access acquisition module 610, the out-of-band management terminal execution module 620, and the out-of-band management module 630 shown in fig. 6A). The processor 701 executes various functional applications of the server and data processing, i.e., implementing the out-of-band management network construction method or the out-of-band management method of the cloud platform in the above-described method embodiments, by running non-transitory software programs, instructions, and modules stored in the memory 702.
The memory 702 may include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function; the storage data area may store data created according to use of the electronic device of the out-of-band management network construction method or the out-of-band management method of the cloud platform, or the like. Further, the memory 702 may include high speed random access memory, and may also include non-transitory memory, such as at least one magnetic disk storage device, flash memory device, or other non-transitory solid state storage device. In some embodiments, the memory 702 may optionally include memory remotely located from the processor 701, which may be networked to an electronic device of an out-of-band management network construction method or an out-of-band management method of a cloud platform. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The electronic device of the out-of-band management network construction method or the out-of-band management method of the cloud platform may further include: an input device 703 and an output device 704. The processor 701, the memory 702, the input device 703 and the output device 704 may be connected by a bus or other means, and fig. 7 illustrates an example of a connection by a bus.
The input device 703 may receive input numeric or character information and generate key signal inputs related to user settings and function control of the electronic device of the out-of-band management network construction method or the out-of-band management method of the cloud platform, such as an input device of a touch screen, a keypad, a mouse, a track pad, a touch pad, a pointing stick, one or more mouse buttons, a track ball, a joystick, or the like. The output devices 704 may include a display device, auxiliary lighting devices (e.g., LEDs), and tactile feedback devices (e.g., vibrating motors), among others. The display device may include, but is not limited to, a Liquid Crystal Display (LCD), a Light Emitting Diode (LED) display, and a plasma display. In some implementations, the display device can be a touch screen.
Various implementations of the systems and techniques described here can be realized in digital electronic circuitry, integrated circuitry, application specific ASICs (application specific integrated circuits), computer hardware, firmware, software, and/or combinations thereof. These various embodiments may include: implemented in one or more computer programs that are executable and/or interpretable on a programmable system including at least one programmable processor, which may be special or general purpose, receiving data and instructions from, and transmitting data and instructions to, a storage system, at least one input device, and at least one output device.
These computer programs (also known as programs, software applications, or code) include machine instructions for a programmable processor, and may be implemented using high-level procedural and/or object-oriented programming languages, and/or assembly/machine languages. As used herein, the terms "machine-readable medium" and "computer-readable medium" refer to any computer program product, apparatus, and/or device (e.g., magnetic discs, optical disks, memory, programmable Logic Devices (PLDs)) used to provide machine instructions and/or data to a programmable processor, including a machine-readable medium that receives machine instructions as a machine-readable signal. The term "machine-readable signal" refers to any signal used to provide machine instructions and/or data to a programmable processor.
To provide for interaction with a user, the systems and techniques described here can be implemented on a computer having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to a user; and a keyboard and a pointing device (e.g., a mouse or a trackball) by which a user can provide input to the computer. Other kinds of devices may also be used to provide for interaction with a user; for example, feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form, including acoustic, speech, or tactile input.
The systems and techniques described here can be implemented in a computing system that includes a back-end component (e.g., as a data server), or that includes a middleware component (e.g., an application server), or that includes a front-end component (e.g., a user computer having a graphical user interface or a web browser through which a user can interact with an implementation of the systems and techniques described here), or any combination of such back-end, middleware, or front-end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: local Area Networks (LANs), wide Area Networks (WANs), and the Internet.
The computer system may include clients and servers. A client and server are generally remote from each other and typically interact through a communication network. The relationship of client and server arises by virtue of computer programs running on the respective computers and having a client-server relationship to each other.
An embodiment of the present application provides a cloud platform, as shown in fig. 1A, the cloud platform includes: a service switch 111, a plurality of physical servers 112, an out-of-band management switch 122, and a plurality of out-of-band management units 121; wherein:
the physical server 112 realizes data communication through the service switch 111;
each physical server 112 is configured with an out-of-band management unit 121, and the out-of-band management unit 121 implements data communication through an out-of-band management switch 122;
the physical server 112 includes:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform a method for out-of-band management of a cloud platform as provided in any of the embodiments of the present application or to perform a method for out-of-band management of a cloud platform as provided in any of the embodiments of the present application.
According to the technical scheme of the embodiment of the application, the out-of-band management virtual machine can be connected to the out-of-band management network for out-of-band management by deploying the out-of-band management virtual machine in the physical server of the cloud platform and by means of the physical network card of the physical server. Therefore, the setting of special out-of-band management equipment is reduced, and the hardware cost can be reduced; meanwhile, the out-of-band management virtual machine runs on the physical server, and the physical server is in the cloud platform network, so that the out-of-band management virtual machine can be accessed through the cloud platform network, namely, the out-of-band management virtual machine can be remotely accessed through the cloud platform network, and a flexible and convenient control mode is provided; the out-of-band management virtual machine can also directly acquire the operation data of other virtual machines from the cloud platform network; in addition, the limit of the out-of-band management tool software which can be run on the out-of-band management virtual machine is less, so that the maintenance manager can flexibly select the out-of-band management tool software to realize more complex and rich out-of-band management requirements.
The cloud platform provided by the embodiment of the application can reduce the servers special for out-of-band management, and one or more than two virtual machines are used for replacing the special out-of-band management service machine, so that resources are saved. In particular, the windows-based virtual machine can more easily realize functions of data backup, screenshot and the like. By using the cloud platform network, the operations of snapshot and mirror image making can be conveniently carried out on the ILO Web virtual machine. If the virtual machine is damaged, it can be restored or recreated by using mirror image and snapshot. The windows ILO web virtual machine can more easily enter a graphical interface of the BIOS for operation. Resources of the virtual machine, the physical server and other cloud platforms can be managed out of band through unified management by using a management interface of the cloud platform, and the physical server does not need to be operated on site.
It should be understood that various forms of the flows shown above may be used, with steps reordered, added, or deleted. For example, the steps described in the present application may be executed in parallel, sequentially, or in different orders, and the present invention is not limited thereto as long as the desired results of the technical solutions disclosed in the present application can be achieved.
The above-described embodiments should not be construed as limiting the scope of the present application. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions may be made in accordance with design requirements and other factors. Any modification, equivalent replacement, and improvement made within the spirit and principle of the present application shall be included in the protection scope of the present application.

Claims (25)

1. An out-of-band management network construction method of a cloud platform is characterized in that the cloud platform comprises a service switch and a physical server for realizing data communication through the service switch, an out-of-band management unit is configured in the physical server, and the out-of-band management unit realizes data communication through the out-of-band management switch, and the method comprises the following steps:
deploying an out-of-band management virtual machine in a host server of the cloud platform, wherein the host server is any physical server in the cloud platform;
configuring at least two virtual network bridges of the out-of-band management virtual machine to be respectively communicated with at least two physical network cards of the host server;
establishing communication between at least two physical network cards and the service switch and the out-of-band management switch respectively;
the out-of-band management virtual machine, the virtual network bridge, the physical network card in the host server, the out-of-band management switch and the out-of-band management unit in the physical server form an out-of-band management network path, and the out-of-band management network path is used for data interaction between an out-of-band management end for running the out-of-band management virtual machine and the out-of-band management unit configured on at least one physical server in the cloud platform so as to perform out-of-band management on the physical server;
wherein, configuring at least two virtual bridges of the out-of-band management virtual machine to be respectively communicated with at least two physical network cards of the host server comprises:
in at least two virtual machine bridges which are established by default by the out-of-band management virtual machine, disconnecting the communication relation between at least one virtual network bridge and a virtual network convergence unit, and reserving the communication relation between at least one other virtual network bridge and the virtual network convergence unit, wherein the virtual network convergence unit is used for being connected to a physical network card which is communicated with a service switch;
and establishing a communication relation between the disconnected virtual network bridge and a physical network card of the host server, which is connected to the out-of-band management switch.
2. A method according to claim 1, characterized in that:
the cloud platform comprises a control node, a network node, a storage node and a computing node, wherein at least one of the control node, the network node, the storage node and the computing node is configured in one physical server;
the out-of-band management virtual machine is deployed in a computing node;
the physical network card connected to the out-of-band management virtual machine is a gigabit network card in the host server, and the physical network card connected to the service switch is a gigabit network card in the host server;
the out-of-band management unit is a iLO chip.
3. An out-of-band management method for a cloud platform, comprising:
acquiring an access request of an out-of-band management virtual machine deployed on a host server in a cloud platform through a cloud platform network, wherein the host server is a physical server in the cloud platform;
according to the access request, running a program of an out-of-band management end through the out-of-band management virtual machine;
performing data interaction with an out-of-band management unit configured on at least one physical server in a cloud platform through an out-of-band management network path through the out-of-band management terminal to perform out-of-band management on the physical server;
the out-of-band management network path comprises the out-of-band management virtual machine, a virtual network bridge, a physical network card in the host server, an out-of-band management switch and an out-of-band management unit in the physical server;
the out-of-band management virtual machine deployed on the host server in the cloud platform is obtained by adopting the out-of-band management network construction method of the cloud platform according to any one of claims 1 to 2.
4. The method of claim 3, further comprising:
and acquiring data of each physical server and the deployed virtual machine of the cloud platform through the cloud platform network by the out-of-band management terminal for out-of-band management.
5. The method of claim 3, wherein the cloud platform network is independent of the out-of-band management network;
the cloud platform network comprises a service switch and a physical server for realizing data communication through the service switch;
the out-of-band management network comprises an out-of-band management switch and an out-of-band management unit for realizing data communication through the out-of-band management switch, wherein the out-of-band management unit is integrated in the physical server.
6. The method of claim 5, wherein the out-of-band management unit is a iLO chip integrated into the physical server.
7. The method of claim 5, wherein the cloud platform comprises a control node, a network node, a storage node, and a computing node, and wherein at least one of the control node, the network node, the storage node, and the computing node is configured in one physical server;
the out-of-band management virtual machine is deployed in a computing node;
the physical network card connected to the out-of-band management virtual machine is a gigabit network card in the host server, and the physical network card connected to the service switch is a gigabit network card in the host server.
8. The method of claim 3, wherein obtaining, over the cloud platform network, the access request for the out-of-band management virtual machine deployed on the hosting server in the cloud platform comprises:
acquiring a login request for the cloud platform through a cloud platform network, and acquiring and displaying each virtual machine deployed in the cloud platform physical server according to the login request, wherein each virtual machine comprises the out-of-band management virtual machine;
and acquiring an access request of the out-of-band management virtual machine deployed on a host server in the cloud platform based on a virtual network remote control mode.
9. The method of claim 3, wherein executing, by the out-of-band management virtual machine, an out-of-band management endpoint program according to the access request comprises:
according to the access request, running a browser through the out-of-band management virtual machine, and accessing an out-of-band management end in a webpage form through the browser; or
And according to the access request, operating an out-of-band management end in a command line form through the out-of-band management virtual machine.
10. The method of claim 9, wherein interacting, by the out-of-band management peer, data with an out-of-band management unit configured on at least one physical server in the cloud platform via an out-of-band management network path comprises:
acquiring the address of an out-of-band management unit configured on a target physical server to be managed through the out-of-band management terminal;
and performing the data interaction through the out-of-band management network path based on the address and the address of the physical network card in the host server connected with the out-of-band management virtual machine.
11. The method of claim 3, wherein the data interaction for out-of-band management comprises at least one of:
operational performance data of the physical server;
command data that controls the operation of the physical server.
12. An out-of-band management network construction apparatus of a cloud platform, wherein the cloud platform includes a service switch and a physical server that implements data communication through the service switch, an out-of-band management unit is configured in the physical server, the out-of-band management unit implements data communication through the out-of-band management switch, the apparatus is configured in a host server, and the host server is any physical server in the cloud platform, the apparatus includes:
the virtual machine deployment module is used for deploying out-of-band management virtual machines in a host server of the cloud platform;
the network bridge configuration module is used for configuring at least two virtual network bridges of the out-of-band management virtual machine to be respectively communicated with at least two physical network cards of the host server;
the network card communication module is used for establishing communication between at least two physical network cards and the service switch and the out-of-band management switch respectively;
the out-of-band management virtual machine, the virtual network bridge, the physical network card in the host server, the out-of-band management switch and the out-of-band management unit in the physical server form an out-of-band management network path, and the out-of-band management network path is used for data interaction between an out-of-band management end for running the out-of-band management virtual machine and the out-of-band management unit configured on at least one physical server in the cloud platform so as to perform out-of-band management on the physical server;
wherein the bridge configuration module comprises:
a connection disconnection unit, configured to disconnect, in at least two virtual machine bridges created by default by the out-of-band management virtual machine, a connection relationship between at least one virtual network bridge and a virtual network convergence unit, and keep a connection relationship between at least one other virtual network bridge and the virtual network convergence unit, where the virtual network convergence unit is used to connect to a physical network card that is connected to a service switch;
and the communication reestablishment unit is used for establishing the communication relation between the disconnected virtual network bridge and the physical network card of the host server connected to the out-of-band management switch.
13. The apparatus of claim 12, wherein:
the cloud platform comprises a control node, a network node, a storage node and a computing node, wherein at least one of the control node, the network node, the storage node and the computing node is configured in one physical server;
the out-of-band management virtual machine is deployed in a computing node;
the physical network card connected to the out-of-band management virtual machine is a gigabit network card in the host server, and the physical network card connected to the service switch is a gigabit network card in the host server;
the out-of-band management unit is a iLO chip.
14. An out-of-band management apparatus of a cloud platform, configured in a host server, the host server being a physical server in the cloud platform, the apparatus comprising:
the access acquisition module is used for acquiring an access request of the out-of-band management virtual machine deployed on a host server in the cloud platform through a cloud platform network;
the out-of-band management end operation module is used for operating the program of the out-of-band management end through the out-of-band management virtual machine according to the access request;
the out-of-band management module is used for performing data interaction with an out-of-band management unit configured on at least one physical server in the cloud platform through an out-of-band management network path through the out-of-band management terminal so as to perform out-of-band management on the physical server;
the out-of-band management network path comprises the out-of-band management virtual machine, a virtual network bridge, a physical network card in the host server, an out-of-band management switch and an out-of-band management unit in the physical server;
the out-of-band management virtual machine deployed on the host server in the cloud platform is obtained by adopting the out-of-band management network construction method of the cloud platform according to any one of claims 1-2.
15. The apparatus of claim 14, further comprising:
and the data acquisition module is used for acquiring data of each physical server and the deployed virtual machine of the cloud platform through the cloud platform network through the out-of-band management terminal, and is used for performing out-of-band management.
16. The apparatus of claim 14, wherein the cloud platform network is independent of the out-of-band management network;
the cloud platform network comprises a service switch and a physical server for realizing data communication through the service switch;
the out-of-band management network comprises an out-of-band management switch and an out-of-band management unit for realizing data communication through the out-of-band management switch, wherein the out-of-band management unit is integrated in the physical server.
17. The apparatus of claim 16, wherein the out-of-band management unit is a iLO chip integrated into the physical server.
18. The apparatus of claim 16, wherein the cloud platform comprises a control node, a network node, a storage node, and a computing node, and wherein at least one of the control node, the network node, the storage node, and the computing node is configured in one physical server;
the out-of-band management virtual machine is deployed in a computing node;
the physical network card connected to the out-of-band management virtual machine is a gigabit network card in the host server, and the physical network card connected to the service switch is a gigabit network card in the host server.
19. The apparatus of claim 14, wherein the access acquisition module comprises:
the login display unit is used for acquiring a login request for the cloud platform through a cloud platform network, acquiring and displaying each virtual machine deployed in the cloud platform physical server according to the login request, wherein each virtual machine comprises the out-of-band management virtual machine;
and the remote access unit is used for acquiring an access request of the out-of-band management virtual machine deployed on the host server in the cloud platform based on a virtual network remote control mode.
20. The apparatus of claim 14, wherein the out-of-band management end running module is specifically configured to:
according to the access request, running a browser through the out-of-band management virtual machine, and accessing an out-of-band management end in a webpage form through the browser; or
And operating an out-of-band management end in a command line form through the out-of-band management virtual machine according to the access request.
21. The apparatus of claim 20, wherein the out-of-band management module is specifically configured to:
acquiring the address of an out-of-band management unit configured on a target physical server to be managed through the out-of-band management terminal;
and performing the data interaction through the out-of-band management network path based on the address and the address of the physical network card in the host server connected with the out-of-band management virtual machine.
22. The apparatus of claim 14, wherein the data interaction for out-of-band management comprises at least one of:
operational performance data of the physical server;
command data that controls the operation of the physical server.
23. An electronic device, comprising:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the out-of-band management network construction method of the cloud platform of any of claims 1-2 or to perform the out-of-band management method of the cloud platform of any of claims 3-11.
24. A non-transitory computer readable storage medium storing computer instructions for causing a computer to perform the out-of-band management network construction method of the cloud platform of any one of claims 1-2 or perform the out-of-band management method of the cloud platform of any one of claims 3-11.
25. A cloud platform, comprising: the system comprises a service switch, a plurality of physical servers, an out-of-band management switch and a plurality of out-of-band management units; wherein:
the physical server realizes data communication through the service switch;
each physical server is provided with an out-of-band management unit, and the out-of-band management unit realizes data communication through an out-of-band management switch;
the physical server includes:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the out-of-band management network construction method of the cloud platform of any of claims 1-2 or to perform the out-of-band management method of the cloud platform of any of claims 3-11.
CN202010230819.2A 2020-03-27 2020-03-27 Network construction and out-of-band management method, device, equipment, medium and cloud platform Active CN111371629B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010230819.2A CN111371629B (en) 2020-03-27 2020-03-27 Network construction and out-of-band management method, device, equipment, medium and cloud platform

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010230819.2A CN111371629B (en) 2020-03-27 2020-03-27 Network construction and out-of-band management method, device, equipment, medium and cloud platform

Publications (2)

Publication Number Publication Date
CN111371629A CN111371629A (en) 2020-07-03
CN111371629B true CN111371629B (en) 2022-11-04

Family

ID=71210722

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010230819.2A Active CN111371629B (en) 2020-03-27 2020-03-27 Network construction and out-of-band management method, device, equipment, medium and cloud platform

Country Status (1)

Country Link
CN (1) CN111371629B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113162944B (en) * 2021-04-29 2022-08-02 杭州安恒信息安全技术有限公司 Network communication method, device and equipment for security operation platform and security component
CN114785762B (en) * 2022-03-23 2024-07-26 深圳市飞泉云数据服务有限公司 Implementation method and device of cloud computing system, terminal equipment and storage medium
CN114978660B (en) * 2022-05-17 2024-04-19 阿里巴巴(中国)有限公司 Out-of-band network construction method and out-of-band processing method based on out-of-band network
CN115426237B (en) * 2022-07-29 2024-09-20 宝德网络安全系统(深圳)有限公司 Method for realizing KVM function based on IPMI, BMC and storage medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2016177207A1 (en) * 2015-10-13 2016-11-10 中兴通讯股份有限公司 Method and system for isolating control plane and service plane, server and cloud computation platform
CN109922074A (en) * 2019-03-19 2019-06-21 北京百度网讯科技有限公司 Access method and apparatus, management method, the equipment, medium of outband management network

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2016177207A1 (en) * 2015-10-13 2016-11-10 中兴通讯股份有限公司 Method and system for isolating control plane and service plane, server and cloud computation platform
CN109922074A (en) * 2019-03-19 2019-06-21 北京百度网讯科技有限公司 Access method and apparatus, management method, the equipment, medium of outband management network

Also Published As

Publication number Publication date
CN111371629A (en) 2020-07-03

Similar Documents

Publication Publication Date Title
CN111371629B (en) Network construction and out-of-band management method, device, equipment, medium and cloud platform
US10693813B1 (en) Enabling and disabling links of a networking switch responsive to compute node fitness
CA2783452C (en) Migrating virtual machines among networked servers upon detection of degrading network link operation
EP3281358B1 (en) System and method of updating a network
CN111989681A (en) Automatically deployed Information Technology (IT) system and method
CN102196003B (en) A kind of long-range control method of supervisory control system and device
CN110995480B (en) Block chain network deployment method, device, electronic equipment and medium
CN106790046B (en) Network attack and defense virtual simulation system based on super-fusion architecture
CN104363117A (en) Method for realizing serial port redirection based on IPMI
JP2010097402A (en) Computer system and configuration management method thereof
US8321617B1 (en) Method and apparatus of server I/O migration management
CN111726413B (en) Equipment connection method and device
CN112925651A (en) Application resource deployment method, device, electronic equipment and medium
CN112925652A (en) Application resource deployment method, device, electronic equipment and medium
KR20140107042A (en) Management apparatus and method for managing server node
CN110995504A (en) Micro-service node exception handling method, device and system
CN111625195A (en) Method and device for server capacity expansion
US11368356B2 (en) Computer having an embedded switch
CN103501295A (en) Virtual machine migration-based remote access method and equipment
CN113971277A (en) Multi-user login method and device
CN111966471B (en) Access method, device, electronic equipment and computer storage medium
CN105516256A (en) Batch command operation method and device of Linux host
CN111835857B (en) Method and apparatus for accessing data
CN111008041B (en) Command processing method and device for host, electronic equipment and storage medium
US20140047083A1 (en) Administration information generation method, administration information generation program, and administration information generation device

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