CN110489305B - Server management method and device - Google Patents

Server management method and device Download PDF

Info

Publication number
CN110489305B
CN110489305B CN201910788710.8A CN201910788710A CN110489305B CN 110489305 B CN110489305 B CN 110489305B CN 201910788710 A CN201910788710 A CN 201910788710A CN 110489305 B CN110489305 B CN 110489305B
Authority
CN
China
Prior art keywords
server
monitoring
user
kvm
program
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
CN201910788710.8A
Other languages
Chinese (zh)
Other versions
CN110489305A (en
Inventor
汪雨薇
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Capitalonline Data Service Co ltd
Original Assignee
Capitalonline Data Service Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Capitalonline Data Service Co ltd filed Critical Capitalonline Data Service Co ltd
Priority to CN201910788710.8A priority Critical patent/CN110489305B/en
Publication of CN110489305A publication Critical patent/CN110489305A/en
Application granted granted Critical
Publication of CN110489305B publication Critical patent/CN110489305B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3003Monitoring arrangements specially adapted to the computing system or computing system component being monitored
    • G06F11/3006Monitoring arrangements specially adapted to the computing system or computing system component being monitored where the computing system is distributed, e.g. networked systems, clusters, multiprocessor systems
    • 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/04Network management architectures or arrangements
    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Computing Systems (AREA)
  • Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mathematical Physics (AREA)
  • Quality & Reliability (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The embodiment of the invention provides a server management method and a server management device, wherein the method comprises the following steps: receiving a request for opening a monitoring function sent by a user through a control console; responding to the request for opening the monitoring function, configuring a monitoring IP address corresponding to the server to a KVM (keyboard video mouse) and establishing connection with a monitoring system of the server, acquiring a hardware monitoring condition of the server through the connection, and providing the hardware monitoring condition for the user through the console. The embodiment of the invention can acquire the hardware monitoring condition of the server in real time.

Description

Server management method and device
Technical Field
The invention relates to the field of network management of cloud platforms, in particular to a server management method and device.
Background
Currently, with the development of network technology, a cloud platform appears, and a server can be provided for a user through the cloud platform so as to process the user's needs. However, most servers in the cloud platform cannot acquire real-time information of internal hardware data thereof out of band, so that it is not possible to ensure that a user can stably acquire monitoring information of the hardware data of the servers in the cloud platform, and accuracy of the monitoring data for the cloud platform servers is also not ensured.
Disclosure of Invention
The embodiment of the invention provides a server management method and device, which are used for solving one or more technical problems in the related art.
In a first aspect, an embodiment of the present invention provides a server management method, where the method includes:
receiving a request for opening a monitoring function sent by a user through a control console;
responding to the request for opening the monitoring function, configuring a monitoring IP address corresponding to the server to a KVM (keyboard video mouse) and establishing connection with a monitoring system of the server, acquiring a hardware monitoring condition of the server through the connection, and providing the hardware monitoring condition for the user through the console.
In one embodiment, the method further comprises:
receiving a server application request sent by a user through a console;
and responding to the server application request, and automatically opening the server through a pre-starting execution environment PXE.
In one embodiment, the provisioning of the server automatically includes:
and writing the user mirror image into the server, and configuring the password and the IP address.
In one embodiment, the method further comprises:
and writing a program for acquiring real-time monitoring data of the server into the user mirror image.
In one embodiment, the establishing a connection with the monitoring system of the server by configuring the monitoring IP address corresponding to the server to the KVM includes:
and mounting a VLAN virtual network card which is the same as the monitoring system of the server on the KVM, and configuring the monitoring IP address distributed by the monitoring system of the server to the KVM to establish connection with the monitoring system of the server.
In a second aspect, an embodiment of the present invention provides a server management apparatus, where the apparatus includes:
the module for operating the bare computer scheduling program is used for receiving a request for activating the monitoring function sent by a user through the console;
and the module for running the KVM management program is used for responding to the request for opening the monitoring function, establishing connection between the KVM management program and the monitoring system of the server by configuring the monitoring IP address corresponding to the server to the KVM, acquiring the hardware monitoring condition of the server through the connection and providing the hardware monitoring condition for the user through the console.
In one embodiment, the module for running the bare metal dispatcher is configured to receive a server application request sent by a user through a console; and responding to the server application request, and automatically opening the server through a pre-starting execution environment PXE.
In one embodiment, the module for running the bare metal dispatcher is configured to write a user image into the server, and configure a password and an IP address.
In an embodiment, the module for running the bare metal dispatcher is configured to write a program for acquiring real-time monitoring data of a server into the user image.
In one embodiment, the module for running the KVM hypervisor is configured to mount a VLAN virtual network card that is the same as the monitoring system of the server on the KVM, and configure the monitoring IP address allocated by the monitoring system of the server to the KVM to establish a connection with the monitoring system of the server.
In a third aspect, an embodiment of the present invention provides a server management apparatus, where functions of the apparatus may be implemented by hardware, or may be implemented by hardware executing corresponding software. The hardware or software includes one or more modules corresponding to the above-described functions.
In one possible design, the apparatus includes a processor and a memory, the memory is used for storing a program supporting the apparatus to execute any one of the above methods, and the processor is configured to execute the program stored in the memory. The apparatus may also include a communication interface for communicating with other devices or a communication network.
In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium for storing computer software instructions for a server management apparatus, which includes a program for executing any one of the methods described above.
One of the above technical solutions has the following advantages or beneficial effects:
by adopting the embodiment of the invention, the monitoring IP address corresponding to the server is configured to the KVM and is connected with the monitoring system of the server, and then the hardware monitoring condition of the server is obtained through the connection and is provided for the user through the console, so that the isolation between a client/server (C/S) framework and a Virtual Local Area Network (VLAN) is realized, the monitoring function that a single Virtual machine can multiplex a plurality of servers is met, the hardware monitoring condition of the server can be obtained in real time, the stability of the monitoring system and the accuracy of monitoring data can be ensured, and the realization is easy.
The foregoing summary is provided for the purpose of description only and is not intended to be limiting in any way. In addition to the illustrative aspects, embodiments, and features described above, further aspects, embodiments, and features of the present invention will be readily apparent by reference to the drawings and following detailed description.
Drawings
In the drawings, like reference numerals refer to the same or similar parts or elements throughout the several views unless otherwise specified. The figures are not necessarily to scale. It is appreciated that these drawings depict only some embodiments in accordance with the disclosure and are therefore not to be considered limiting of its scope.
Fig. 1 shows a flowchart of a server management method according to an embodiment of the present invention.
FIG. 2 shows a schematic diagram of a component architecture according to an embodiment of the invention.
Fig. 3 shows a block diagram of a server management apparatus according to an embodiment of the present invention.
Fig. 4 is a schematic diagram showing a hardware composition of a test apparatus according to an embodiment of the present invention.
Detailed Description
In the following, only certain exemplary embodiments are briefly described. As those skilled in the art will recognize, the described embodiments may be modified in various different ways, all without departing from the spirit or scope of the present invention. Accordingly, the drawings and description are to be regarded as illustrative in nature, and not as restrictive.
An embodiment of the present invention provides a server management method, as shown in fig. 1, the method includes:
step 101: receiving a request for opening a monitoring function sent by a user through a control console;
step 102: responding to the request for opening the monitoring function, configuring a monitoring IP address corresponding to the server to a KVM (keyboard video mouse) and establishing connection with a monitoring system of the server, acquiring a hardware monitoring condition of the server through the connection, and providing the hardware monitoring condition for the user through the console.
In addition, the scheme provided in this embodiment further includes a process of opening a server, and specifically, the method further includes:
receiving a server application request sent by a user through a console; and responding to the server application request, and automatically opening the server through a pre-starting execution environment PXE.
That is to say, in the scheme provided in the embodiment of the present invention, a preboot execution environment (PXE) and a Kernel-based Virtual Machine (KVM) technology are combined, and the automatic provisioning of the server is realized through the PXE; the KVM virtual machine network and the monitoring IP are configured on line at the second level, so that the communication with the server monitoring network is realized, and the monitoring service of other servers is not interrupted. Wherein the automated provisioning of the server may mainly include: writing a user mirror image; the switch is flexibly configured to automatically switch the VLAN; and configuring core functions such as user server IP and passwords. In this way, by using client/server (C/S) architecture and Virtual Local Area Network (VLAN) isolation, the monitoring function that a single virtual machine can multiplex servers under multiple VDCs is satisfied. And by combining with the automatic fault migration of the virtual machine, the scheme can greatly improve the utilization rate of resources, the stability of a monitoring system and the accuracy of monitoring data, and is easy to realize.
The solution provided by the embodiment of the present invention can be implemented based on the network architecture shown in fig. 2, and the functions of the modules are first described with reference to fig. 2:
operating a console by a user: an operation interface is provided for a user, the user can select whether to activate the monitoring function through an interface application server, and management is carried out through the interface, so that operations such as starting, shutting down, restarting and the like are supported;
the order management program: the system is responsible for receiving orders issued by users from a control console and selecting proper nodes to finish the requests of the users;
the bare metal scheduling program: and invoking an externally provided interface of the bare metal management driver to be responsible for organizing the task flow, realizing the functions of creating/starting up/shutting down/modifying IP/modifying passwords and the like of the server, and providing an externally-provided callable interface. The distributed deployment is supported, and the characteristics of high availability, flexible expansion and the like are achieved;
database components: storing service data and task flow information;
the KVM management program: and the system is responsible for managing the life cycle of the KVM virtual machine and configuring a disk, a network card, an IP (Internet protocol) and a password of the virtual machine.
Management driving of the bare engine: the system is responsible for carrying out a power supply principle on the server and configuring a PXE installation environment; and the configuration switch realizes the functions of network communication of bare computers and the like.
Seventhly, a Prometheus Server program (initial detection and configuration service program): and the open source monitoring system program is responsible for receiving the server real-time monitoring data pushed by the Push Gateway. As the Server side of the monitoring system.
The Push Gateway program (Push Gateway program): and the open source monitoring system program is responsible for receiving the monitoring data acquired by the program of the nintendo node-export and pushing the result to the program of the promemeus Server.
Ninthly, node-exporter program: and the open source monitoring system program is responsible for capturing real-time monitoring data on the physical server and providing a callable interface for the outside. The node-exporter is used for collecting the operation indexes of the server level, including basic monitoring of loadavg, filesystems, meminfo and the like of the machine.
Program for pxagent at r: and installing the deployment mirror image, finishing writing in the user mirror image when the server is started from the deployment mirror image, installing a node-exporter program to the user mirror image, and carrying out IP and password configuration on the user mirror image.
In the created flow, the server can be treated as a bare metal, and the automatic activation of the server includes: and writing the user mirror image into the server, and configuring the password and the IP address. The method specifically comprises the following steps:
the bare computer scheduling program calls a bare computer management driver to perform network deployment on the server bare computer according to the received server application request, and creates a PXE starting configuration file of the server bare computer;
the bare engine management driver controls the server bare engine to start from the PXE and enter a deployment mirror image provided with the PXE agent program according to the PXE starting configuration file;
after the bare computer of the server is started from the deployment mirror image, the PXE agent program notifies the network address of the network card to the bare computer scheduling program;
and the bare computer dispatcher writes a user mirror image into the server by calling the PXE proxy program, and configures a password and a network address.
With reference to fig. 2, the following is specifically described:
when the bare engine dispatcher receives a request of a server, the bare engine dispatcher calls the bare engine management driver, initializes the bare engine (namely the server) to be configured into a deployment network in the switch, and creates a PXE starting configuration file of the bare engine; that is, the server requested by the user is configured, including the processes of configuring the network and creating the PXE boot configuration file.
Sixthly, the bare engine management driver operates the bare engine (server) to start from the PXE and enter a preset deployment mirror image provided with a pxagent program (PXE agent program); when the bare computer of the server is started from the deployment mirror image, automatically notifying the bare computer scheduling program network card of the IP address obtained from the DHCP; note that, the MAC address corresponding to the bare metal scheduler is also automatically notified at this time.
After receiving the notice of IP and corresponding MAC address from the network card of the pxagent program (PXE agent program), the bare computer dispatcher calls the pxagent program to write user mirror image, for example, write Windows version to the local disk of the bare computer (i.e. the hardware disk of the server); the password, configuration of the IP is done (i.e., the password and configuration of the IP are done in the server's local disk).
In addition, a program for acquiring real-time monitoring data of the server can be written into the user image. The real-time monitoring data for acquiring the server can be a nine node-exporter program. That is, the nine node-exporter program can be written to the user image by the bare metal scheduler.
After the user mirror image writing and configuration are completed, the switch is configured to the client service network. The method specifically comprises the following steps: and invoking bare engine management drive by a bare engine scheduling program, switching to a service network of a client through a bare engine management drive configuration switch, and configuring a server to restart from a hard disk. At this point, the initialization deployment of the bare metal image and the configuration of the service network are completed.
The configuration monitoring function is explained below: the establishing connection between the server and the monitoring system of the server by configuring the monitoring IP address corresponding to the server to the KVM includes: and mounting a VLAN virtual network card which is the same as the monitoring system of the server on the KVM, and configuring the monitoring IP address distributed by the monitoring system of the server to the KVM to establish connection with the monitoring system of the server. With reference to fig. 2, the following is specifically described:
the bare computer dispatcher calls the KVM hypervisor to mount a virtual network card (for example, NIC1 in the figure) of the same VLAN as the private network 1 of the bare computer service network (i.e., the network of the server) on the KVM virtual machine in which the program of the client console is preinstalled, and the KVM hypervisor configures the IP address automatically allocated from the private network 1 to the KVM virtual machine. Thereby achieving interworking with the customer service network.
The whole process of applying for the server and opening the monitoring is completed. Through the scheme, for a VDC (virtual data center), all servers under the whole VDC can be monitored only by configuring a virtual network card NIC1 communicated with a private network 1 in the VDC in a KVM virtual machine pre-installed with a { PushGateway program.
In one example, for activating the monitoring function of servers under other VDC (such as VDC2), the bare computer scheduler only needs to call the KVM hypervisor to mount the virtual network card NIC2 of the private network 1 under VDC2 to the KVM virtual machine which is preassembled with the virtual network card program of the virtual network 1, and configure IP on line for the NIC2 of the KVM virtual machine which is preassembled with the virtual network card program of the KVM virtual machine, so that data monitoring of all servers under VDC2 can be realized without interrupting the monitoring function under other VDC. Thus, the utilization rate of physical resources can be improved, and the management is easy.
Through the scheme, the user can log in the system through the console, apply for the server, select basic parameter information of the server, such as quota, network, operating system and the like, and open the monitoring function. And thirdly, when the bare metal scheduling program receives the application request, the bare metal operating system starts to be deployed and the monitoring function is configured. After the task is completed, the user can see the real-time hardware monitoring of the server applied by the user through the console. The user can enter the system through the login information set by the user.
Therefore, by adopting the scheme, the monitoring function that a single Virtual machine can multiplex a plurality of servers can be met by using a client/server (C/S) architecture and Virtual Local Area Network (VLAN) isolation. Therefore, the utilization rate of resources can be improved, the stability of a monitoring system and the accuracy of monitoring data are ensured, and the method is easy to realize.
As shown in fig. 3, the server management apparatus according to an embodiment of the present invention includes:
a module 31 for operating a bare metal dispatching program, configured to receive a request for activating a monitoring function sent by a user through a console;
a module 32 for running a KVM hypervisor, configured to, in response to the request for activating the monitoring function, configure the monitoring IP address corresponding to the server to the KVM to establish a connection with the monitoring system of the server, obtain a hardware monitoring condition for the server through the connection, and provide the hardware monitoring condition to the user through the console.
The module 31 for operating the bare metal dispatching program is used for receiving a server application request sent by a user through a console; and responding to the server application request, and automatically opening the server through a pre-starting execution environment PXE.
The module 31 for running the bare metal dispatcher is configured to write a user mirror image into the server, and configure a password and an IP address.
The module 31 for running the bare metal dispatcher is configured to write a program for acquiring real-time monitoring data of the server into the user mirror image.
The module 32 for running the KVM hypervisor is configured to mount a VLAN virtual network card that is the same as the monitoring system of the server on the KVM, and configure the monitoring IP address allocated by the monitoring system of the server to the KVM to establish a connection with the monitoring system of the server.
Specifically, the bare metal dispatcher shown in fig. 2 is operated or loaded in the module for operating the bare metal dispatcher; the module running the KVM manager additionally runs or loads the KVM manager in fig. 2.
It should be further understood that, although only two modules are described in this embodiment, in fact, in conjunction with fig. 2, the apparatus provided in this embodiment may further include a module for running each program in fig. 2, and especially, functions corresponding to each program or component in the management node in fig. 2 may be understood as modules corresponding to this embodiment, where the foregoing is specifically described in conjunction with fig. 2 as follows:
when a module running with a bare engine dispatcher receives a request of a server, the bare engine dispatcher calls a module carrying a bare engine management drive, initializes the bare engine (namely the server) to be configured into a deployment network in a switch, and creates a PXE starting configuration file of the bare engine; that is, the server requested by the user is configured, including the processes of configuring the network and creating the PXE boot configuration file.
Sixthly, operating the bare engine (server) by the module loaded with the bare engine management driver to start from the PXE, and controlling the server to enter a preset deployment mirror image provided with a pxagent program (PXE agent program); when the bare computer of the server is started from the deployment mirror image, automatically notifying a bare computer scheduling module (a bare computer scheduling program) of an IP address obtained by a network card from DHCP; note that, the MAC address corresponding to the bare metal scheduler is also automatically notified at this time.
After the bare computer scheduling module running with the bare computer scheduling program receives the notice of the IP and the corresponding MAC address of the network card from the server through the pxagent program (PXE agent program), the bare computer scheduling module running with the bare computer scheduling program calls the pxagent program at the server side, and writes a user mirror image at the server side, such as a Windows version, into a local disk of the bare computer (namely a hardware disk of the server); the password, configuration of the IP is done (i.e., the password and configuration of the IP are done in the server's local disk).
In addition, a program for acquiring real-time monitoring data of the server can be written into the user image. The real-time monitoring data for acquiring the server can be a nine node-exporter program. That is, the nine node-exporter program can be written into the user image by the module running the three bare computer scheduler.
After the user mirror image writing and configuration are completed, the switch is configured to the client service network. The method specifically comprises the following steps: and calling a driving module loaded with bare engine management drive by a module running the bare engine scheduling program, configuring the switch to be switched to a service network of a client by the module loaded with bare engine management drive, and configuring the server to be started from the hard disk again. At this point, the initialization deployment of the bare metal image and the configuration of the service network are completed.
Further referring to fig. 2, the implementation of the monitoring function is specifically described as follows:
the module for running the bare computer dispatcher calls the module loaded with the KVM management program, mounts a virtual network card (such as NIC1 in the figure) of the same VLAN as the bare computer service network private network 1 (namely the network of the server) on the KVM virtual machine pre-installed with the wishgateway program, and configures the IP address automatically allocated from the private network 1 to the KVM virtual machine by the KVM management program. Thereby achieving interworking with the customer service network.
The whole process of applying for the server and opening the monitoring is completed. Through the scheme, for a VDC (virtual data center), all servers under the whole VDC can be monitored only by configuring a virtual network card NIC1 communicated with a private network 1 in the VDC in a KVM virtual machine pre-installed with a { PushGateway program.
It should be understood that, for the functions of the modules included in the embodiment of the present invention, which load or operate each program in fig. 2, reference may be made to the corresponding description in the above method, and details are not described here again.
Fig. 4 shows a schematic diagram of a hardware component according to an embodiment of the present invention, and as shown in fig. 4, the apparatus includes: a memory 910 and a processor 920, the memory 910 having stored therein computer programs operable on the processor 920. The processor 920, when executing the computer program, implements the methods in the embodiments described above. The number of the memory 910 and the processor 920 may be one or more.
The device also includes: and a communication interface 930 for communicating with an external device to perform data interactive transmission.
Memory 910 may include high-speed RAM memory, and may also include non-volatile memory (non-volatile memory), such as at least one disk memory.
If the memory 910, the processor 920 and the communication interface 930 are implemented independently, the memory 910, the processor 920 and the communication interface 930 may be connected to each other through a bus and perform communication with each other. The bus may be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, an Extended Industry Standard Architecture (EISA) bus, or the like. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one thick line is shown in FIG. 4, but this does not indicate only one bus or one type of bus.
Optionally, in an implementation, if the memory 910, the processor 920 and the communication interface 930 are integrated on a chip, the memory 910, the processor 920 and the communication interface 930 may complete communication with each other through an internal interface.
An embodiment of the present invention provides a computer-readable storage medium, which stores a computer program, and the computer program is used for implementing the method of any one of the above embodiments when being executed by a processor.
In the description herein, references to the description of the term "one embodiment," "some embodiments," "an example," "a specific example," or "some examples," etc., mean that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the invention. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples. Furthermore, various embodiments or examples and features of different embodiments or examples described in this specification can be combined and combined by one skilled in the art without contradiction.
Furthermore, the terms "first", "second" and "first" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one such feature. In the description of the present invention, "a plurality" means two or more unless specifically defined otherwise.
Any process or method descriptions in flow charts or otherwise described herein may be understood as representing modules, segments, or portions of code which include one or more executable instructions for implementing specific logical functions or steps of the process, and alternate implementations are included within the scope of the preferred embodiment of the present invention in which functions may be executed out of order from that shown or discussed, including substantially concurrently or in reverse order, depending on the functionality involved, as would be understood by those reasonably skilled in the art of the present invention.
The logic and/or steps represented in the flowcharts or otherwise described herein, e.g., an ordered listing of executable instructions that can be considered to implement logical functions, can be embodied in any computer-readable medium for use by or in connection with an instruction execution system, apparatus, or device, such as a computer-based system, processor-containing system, or other system that can fetch the instructions from the instruction execution system, apparatus, or device and execute the instructions. For the purposes of this description, a "computer-readable medium" can be any means that can contain, store, communicate, propagate, or transport the program for use by or in connection with the instruction execution system, apparatus, or device. More specific examples (a non-exhaustive list) of the computer-readable medium would include the following: an electrical connection (electronic device) having one or more wires, a portable computer diskette (magnetic device), a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber device, and a portable read-only memory (CDROM). Additionally, the computer-readable medium could even be paper or another suitable medium upon which the program is printed, as the program can be electronically captured, via for instance optical scanning of the paper or other medium, then compiled, interpreted or otherwise processed in a suitable manner if necessary, and then stored in a computer memory.
It should be understood that portions of the present invention may be implemented in hardware, software, firmware, or a combination thereof. In the above embodiments, the various steps or methods may be implemented in software or firmware stored in memory and executed by a suitable instruction execution system. For example, if implemented in hardware, as in another embodiment, any one or combination of the following techniques, which are known in the art, may be used: a discrete logic circuit having a logic gate circuit for implementing a logic function on a data signal, an application specific integrated circuit having an appropriate combinational logic gate circuit, a Programmable Gate Array (PGA), a Field Programmable Gate Array (FPGA), or the like.
It will be understood by those skilled in the art that all or part of the steps carried by the method for implementing the above embodiments may be implemented by hardware related to instructions of a program, which may be stored in a computer readable storage medium, and when the program is executed, the program includes one or a combination of the steps of the method embodiments.
In addition, functional units in the embodiments of the present invention may be integrated into one processing module, or each unit may exist alone physically, or two or more units are integrated into one module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode. The integrated module, if implemented in the form of a software functional module and sold or used as a separate product, may also be stored in a computer readable storage medium. The storage medium may be a read-only memory, a magnetic or optical disk, or the like.
The above description is only for the specific embodiment of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily conceive various changes or substitutions within the technical scope of the present invention, and these should be covered by the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the appended claims.

Claims (8)

1. A server management method, the method comprising:
receiving a request for opening a monitoring function sent by a user through a control console;
responding to the request for opening the monitoring function, configuring a monitoring IP address corresponding to the server to a KVM (keyboard video mouse) and establishing connection with a monitoring system of the server, acquiring a hardware monitoring condition of the server through the connection, and providing the hardware monitoring condition for the user through the console; wherein, the establishing connection between the server and the monitoring system of the server by configuring the monitoring IP address corresponding to the server to the KVM comprises: and mounting a VLAN virtual network card which is the same as the monitoring system of the server on the KVM, and configuring the monitoring IP address distributed by the monitoring system of the server to the KVM to establish connection with the monitoring system of the server.
2. The method of claim 1, further comprising:
receiving a server application request sent by a user through a console;
and responding to the server application request, and automatically opening the server through a pre-starting execution environment PXE.
3. The method of claim 2, wherein the provisioning the server automatically comprises:
and writing the user mirror image into the server, and configuring the password and the IP address.
4. The method of claim 3, further comprising:
and writing a program for acquiring real-time monitoring data of the server into the user mirror image.
5. A server management apparatus, characterized in that the apparatus comprises:
the module for operating the bare computer scheduling program is used for receiving a request for activating the monitoring function sent by a user through the console;
a module for running a KVM management program, configured to respond to the request for activating the monitoring function, establish a connection with a monitoring system of the server by configuring a monitoring IP address corresponding to the server to a KVM, acquire a hardware monitoring condition of the server through the connection, and provide the hardware monitoring condition to the user through the console; wherein, the establishing connection between the server and the monitoring system of the server by configuring the monitoring IP address corresponding to the server to the KVM comprises: and mounting a VLAN virtual network card which is the same as the monitoring system of the server on the KVM, and configuring the monitoring IP address distributed by the monitoring system of the server to the KVM to establish connection with the monitoring system of the server.
6. The apparatus of claim 5,
the module for operating the bare computer scheduling program is used for receiving a server application request sent by a user through a console; and responding to the server application request, and automatically opening the server through a pre-starting execution environment PXE.
7. The apparatus of claim 6, wherein the means for running the bare metal scheduler is configured to write a user image to the server and perform configuration of a password and an IP address.
8. The apparatus of claim 7, wherein the means for running a bare metal dispatcher writes a program for obtaining real time monitoring data of a server to the user image.
CN201910788710.8A 2019-08-23 2019-08-23 Server management method and device Active CN110489305B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910788710.8A CN110489305B (en) 2019-08-23 2019-08-23 Server management method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910788710.8A CN110489305B (en) 2019-08-23 2019-08-23 Server management method and device

Publications (2)

Publication Number Publication Date
CN110489305A CN110489305A (en) 2019-11-22
CN110489305B true CN110489305B (en) 2021-09-24

Family

ID=68553951

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910788710.8A Active CN110489305B (en) 2019-08-23 2019-08-23 Server management method and device

Country Status (1)

Country Link
CN (1) CN110489305B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112202895B (en) * 2020-09-30 2022-07-08 北京达佳互联信息技术有限公司 Method and system for collecting monitoring index data, electronic equipment and storage medium
CN112286537A (en) * 2020-10-23 2021-01-29 平安科技(深圳)有限公司 Bare metal service delivery method and device, computer equipment and storage medium
CN112565112B (en) * 2020-12-09 2022-03-18 威创集团股份有限公司 Seat control system and seat system

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105450765A (en) * 2015-12-03 2016-03-30 广州云新信息技术有限公司 Server KVM remote control method and device
CN109120595A (en) * 2018-07-18 2019-01-01 郑州云海信息技术有限公司 A kind of USB device communication means and device for realizing KVM function

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8560758B2 (en) * 2009-08-24 2013-10-15 Red Hat Israel, Ltd. Mechanism for out-of-synch virtual machine memory management optimization
CN104104720B (en) * 2014-07-10 2017-11-03 浪潮(北京)电子信息产业有限公司 A kind of server set group managing means and system
CN105389198A (en) * 2015-10-16 2016-03-09 浪潮(北京)电子信息产业有限公司 Automatic reconnection method and device of virtual machine console
CN109117341A (en) * 2018-08-14 2019-01-01 郑州云海信息技术有限公司 A kind of monitoring method of virtual machine, device, equipment and medium

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105450765A (en) * 2015-12-03 2016-03-30 广州云新信息技术有限公司 Server KVM remote control method and device
CN109120595A (en) * 2018-07-18 2019-01-01 郑州云海信息技术有限公司 A kind of USB device communication means and device for realizing KVM function

Also Published As

Publication number Publication date
CN110489305A (en) 2019-11-22

Similar Documents

Publication Publication Date Title
US11405274B2 (en) Managing virtual network functions
US10838747B2 (en) Virtual appliances
CN110413288B (en) Application deployment method, device, server and storage medium
US7703091B1 (en) Methods and apparatus for installing agents in a managed network
GB2594108A (en) Methods, systems and computer readable media for self-replicating cluster appliances
CN110489305B (en) Server management method and device
CN109067877B (en) Control method for cloud computing platform deployment, server and storage medium
US10917291B2 (en) RAID configuration
US20120167073A1 (en) Managed upgrades of components in an integrated software and hardware system
US11363117B2 (en) Software-specific auto scaling
US9858105B1 (en) Service for managing custom virtual machine images
US9846586B2 (en) Creating a virtual machine and cloud server
CN110908753B (en) Intelligent fusion cloud desktop server, client and system
CN110138577B (en) Cluster creation method, first server and readable storage medium
CN103024079B (en) Obtain the method for server resource information, resource pool management system and server
CN102662884A (en) Device driving program configuration method based on network
US11586447B2 (en) Configuration after cluster migration
CN113419813B (en) Method and device for deploying bare engine management service based on container platform
CN113918174A (en) Bare metal server deployment method, deployment controller and server cluster
CN109491762B (en) Container state control method and device, storage medium and electronic equipment
CN115202820A (en) Method, device and equipment for creating Pod unit and storage medium
US11425203B2 (en) Commissioning a virtualized network function
US10033803B1 (en) Data volume auto-repair based on volume degradation level
CN110362386A (en) Network interface card processing method, device, electronic equipment and storage medium
CN116089020B (en) Virtual machine operation method, capacity expansion method and capacity expansion system

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