CN115665223A - Bare computer management method, device, equipment and readable storage medium for server - Google Patents

Bare computer management method, device, equipment and readable storage medium for server Download PDF

Info

Publication number
CN115665223A
CN115665223A CN202211293493.3A CN202211293493A CN115665223A CN 115665223 A CN115665223 A CN 115665223A CN 202211293493 A CN202211293493 A CN 202211293493A CN 115665223 A CN115665223 A CN 115665223A
Authority
CN
China
Prior art keywords
bare
target
command
server
address
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202211293493.3A
Other languages
Chinese (zh)
Inventor
夏新波
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Jinan Inspur Data Technology Co Ltd
Original Assignee
Jinan Inspur Data 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 Jinan Inspur Data Technology Co Ltd filed Critical Jinan Inspur Data Technology Co Ltd
Priority to CN202211293493.3A priority Critical patent/CN115665223A/en
Publication of CN115665223A publication Critical patent/CN115665223A/en
Pending legal-status Critical Current

Links

Images

Abstract

The application discloses a server bare metal management method, a device, equipment and a readable storage medium, wherein the method comprises the following steps: establishing an equipment mapping relation table corresponding to each bare machine by using a substrate management controller of each bare machine in a server cluster; after the target command specification is selected and the one-key query instruction is obtained, determining a target command to be executed by using the command mapping relation table; determining each target bare machine of the target command to be executed by using the equipment mapping relation table; and respectively sending the target commands to each target bare machine, and receiving feedback information sent by each target bare machine. In the application, the batch operation of the bare computers can be realized without an operating system, and the advantages of friendly interface and simple operation are realized due to the command description and the one-key query function.

Description

Bare computer management method, device, equipment and readable storage medium for server
Technical Field
The present application relates to the field of computer application technologies, and in particular, to a method, an apparatus, a device, and a readable storage medium for managing a bare chip of a server.
Background
Bare computer refers to an electronic computer that is not configured with an operating system and other software. The server is in bare machine state after being assembled, i.e. without an operating system.
After the servers are assembled, the servers still need to be managed before the system is filled. For example, the health status of hardware devices on the machine, whether the configuration is consistent, and the like. In the bare machine state, the cluster operation mode based on the operating system is in an invalid state at this time. Therefore, there is a case where the operation is complicated when the server cluster is managed at this time.
In summary, how to effectively solve the problems of server clusters and the like in the bulk management bare computer state is a technical problem that needs to be solved urgently by those skilled in the art at present.
Disclosure of Invention
The application aims to provide a server bare metal management method, a server bare metal management device and a readable storage medium, which can perform batch management on a server cluster in a bare metal state.
In order to solve the technical problem, the application provides the following technical scheme:
a bare metal management method, comprising:
establishing an equipment mapping relation table corresponding to each bare machine by using a substrate management controller of each bare machine in a server cluster;
after the target command specification is selected and the one-key query instruction is obtained, determining a target command to be executed by using the command mapping relation table;
determining each target bare machine to execute the target command by using the equipment mapping relation table;
and respectively sending the target command to each target bare machine, and receiving feedback information sent by each target bare machine.
Preferably, the establishing, by using the baseboard management controller of each bare machine in the server cluster, an apparatus mapping relationship table corresponding to the bare machine includes:
acquiring the IP address of each bare computer from a DHCP server;
establishing communication connection with each bare computer through the baseboard management controller by using the IP address;
acquiring SN information of each bare engine by using the communication connection;
and establishing the equipment mapping relation table by utilizing the SN information and the IP address.
Preferably, the obtaining the IP address of each bare metal from the DHCP server includes:
after the server cluster is connected to a local area network, the IP address is distributed to each bare computer by using a DHCP server in the local area network;
and communicating with the DHCP server to acquire the IP address.
Preferably, establishing a communication connection with each bare metal through the baseboard management controller by using the IP address includes:
outputting login prompt information on a display interface;
and acquiring login information, and establishing the communication connection through the substrate management controller by using the IP address under the condition that the login information is correct.
Preferably, the establishing the device mapping relationship table by using the SN information and the IP address includes:
determining the corresponding relation between the SN information, the IP address and the physical bare engine by using a lighting command;
and establishing the equipment mapping relation table by utilizing the corresponding relation.
Preferably, the target command specification is selected, including:
outputting each command description in the command mapping relation table on a display interface;
and monitoring the display interface to obtain the selected operation information of the target command specification.
Preferably, the method further comprises the following steps:
after a one-key filling instruction is obtained, determining the selected bare machine and starting a filling program of the BMC;
and transmitting the mirror image in the storage space to each selected bare machine by utilizing a time-sharing multiplexing mode so as to realize batch filling of the mirror images.
A server bare metal management device, comprising:
the equipment mapping relation establishing module is used for establishing an equipment mapping relation table corresponding to each bare machine by utilizing the substrate management controller of each bare machine in the server cluster;
the command confirmation module is used for determining a target command to be executed by utilizing the command mapping relation table after the target command specification is selected and the one-key query instruction is obtained;
a bare metal determining module, configured to determine, by using the device mapping relationship table, each target bare metal on which the target command is to be executed;
and the command execution module is used for respectively sending the target commands to the target bare computers and receiving feedback information sent by the target bare computers.
An electronic device, comprising:
a memory for storing a computer program;
and the processor is used for realizing the steps of the server bare metal management method when executing the computer program.
A readable storage medium having stored thereon a computer program which, when executed by a processor, implements the steps of the server bare metal management method described above.
By applying the method provided by the embodiment of the application, the substrate management controller of each bare engine in the server cluster is utilized to establish an equipment mapping relation table corresponding to the bare engine; after the target command specification is selected and the one-key query instruction is obtained, determining a target command to be executed by using the command mapping relation table; determining each target bare machine of the target command to be executed by using the equipment mapping relation table; and respectively sending the target commands to each target bare machine, and receiving feedback information sent by each target bare machine.
In the application, for each bare machine in the server cluster, an equipment mapping relation table corresponding to the bare machine is established first. And then after the target command specification is selected and the one-key query instruction is obtained, determining the target command to be executed by using the command mapping relation table. And then, determining each target bare machine of the target command to be executed by using the device mapping relation table. After the target command to be executed and the target bare machine for executing the target command are determined, the target command is directly and respectively sent to each target bare machine, and therefore feedback information sent by each target bare machine is received. That is, in the present application, batch operations of a plurality of bare metal machines can be realized without an operating system, and there are advantages of friendly interface and simple operation due to the instruction specification and the one-key query function.
Accordingly, embodiments of the present application further provide a server bare metal management apparatus, a device, and a readable storage medium corresponding to the server bare metal management method, which have the above technical effects and are not described herein again.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments or related technologies of the present application, the drawings needed to be used in the description of the embodiments or related technologies are briefly introduced below, it is obvious that the drawings in the following description are only some embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to these drawings without creative efforts.
Fig. 1 is a flowchart illustrating an implementation of a bare metal management method of a server according to an embodiment of the present disclosure;
fig. 2 is a schematic structural diagram of a bare metal management device of a server in an embodiment of the present application;
fig. 3 is a schematic structural diagram of an electronic device in an embodiment of the present application;
fig. 4 is a schematic structural diagram of an electronic device in an embodiment of the present application.
Detailed Description
In order that those skilled in the art will better understand the disclosure, the following detailed description will be given with reference to the accompanying drawings. It is to be understood that the embodiments described are only a few embodiments of the present application and not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
Referring to fig. 1, fig. 1 is a flowchart of a server bare metal management method in an embodiment of the present application, where the method may be applied to a server management device, and the method includes the following steps:
s101, establishing an equipment mapping relation table corresponding to bare computers by using the baseboard management controllers of the bare computers in the server cluster.
Among them, a Baseboard Management Controller (BMC) is used.
A server cluster is a cluster comprising a plurality of servers, each server having a baseboard management controller.
In the application, the device mapping relation table corresponding to the bare computers can be established based on the baseboard management controller of each bare computer in the server cluster. It should be noted that, in the embodiment of the present application, the bare metal is the server that constitutes the server cluster, and the server is not yet filled with the operating system.
The device mapping relationship table is a table constructed by uniquely determining the mapping relationship corresponding to each bare machine in the server cluster. Specifically, the device mapping relationship table may specifically be a corresponding relationship between the SN information and the IP address of each bare chip, or may also be a corresponding relationship between the SN information, the IP address, and a physical bare chip. The physical bare machine referred to in the embodiments of the present application means that the corresponding physical characteristics of the bare machine are specified, for example, the specific location of the logic specifically stored in the rack is specified.
The device mapping relationship table is constructed based on the basic management controller, that is, in actual operation, the information required for constructing the device mapping relationship is acquired based on the BMC network. In particular, for how to obtain the information based on the BMC network, specific reference may be made to specific communication establishment and use of the BMC network, and also to specific implementation steps provided in a specific embodiment described below.
In a specific embodiment of the present application, establishing an apparatus mapping relationship table corresponding to bare computers by using a baseboard management controller of each bare computer in a server cluster includes:
step one, acquiring an IP address of each bare computer from a DHCP server;
establishing communication connection with each bare computer by using the IP address through the substrate management controller;
acquiring SN information of each bare machine by utilizing communication connection;
and step four, establishing an equipment mapping relation table by utilizing the SN information and the IP address.
For convenience of description, the above four steps will be described in combination.
The DHCP server can assign an IP address to the bare metal. Thus, the IP address of each bare metal can be acquired from the DHCP server.
Specifically, the step one of acquiring the IP address of each bare metal from the DHCP server includes:
step 1, after a server cluster is connected to a local area network, allocating an IP address to each bare computer by using a DHCP server in the local area network;
and 2, communicating with a DHCP server to acquire an IP address.
That is, the server cluster may be first physically connected to a local area network, and then a DHCP (Dynamic Host Configuration Protocol) server within the local area network may allocate an IP address to each bare die. Specifically, how the DHCP server allocates an IP address to each bare cell in the server cluster may specifically refer to a dynamic host configuration protocol, which is not described herein any more.
The management equipment can acquire the IP address of each bare computer by interacting with the DHCP server.
The bare computer is provided with a baseboard management controller, and the baseboard management controller can communicate with the outside, so that the baseboard management controller can establish communication connection with the bare computer.
Preferably, in view of security issues, in one embodiment of the present application, the identity of the operator may also be verified, and in case it is determined that the verification passes, the communication connection is established. That is, the second step of establishing a communication connection with each bare metal via the baseboard management controller by using the IP address includes:
step 1, outputting login prompt information on a display interface;
and 2, acquiring login information, and establishing communication connection with a corresponding substrate management controller under the condition that the login information is correct.
That is, login prompt information may be output on the display interface of the management apparatus so that the operator inputs login information, such as a user name and a password. After the login information is obtained, the login information is verified, and if the login information is determined to be correct, the management device and the corresponding baseboard management controller establish corresponding communication connection.
After the established communication connection is established, SN (Serial Number) information of the corresponding bare cell may be acquired based on the communication connection.
After the SN information is obtained, a unique mapping relation based on the SN information and the IP address can be established based on the SN information and the IP address of the same bare chip. These mappings are stored in an identification mapping table.
In a specific embodiment of the present application, the step four of establishing the device mapping relationship table by using the SN information and the IP address includes:
step 1, determining the corresponding relation between SN information, an IP address and a physical bare engine by using a lighting command;
and 2, establishing an equipment mapping relation table by using the corresponding relation.
The lighting command enables the corresponding server to light the corresponding lamp, so that an operator can determine which physical bare engine is currently operated correspondingly. That is, based on the lighting command, the correspondence between the SN information and the IP address and the physical bare cell can be clarified, and based on the correspondence, the device mapping table including the physical bare cell information can be constructed.
For example, the following steps are carried out: the server cluster is physically connected to a local area network based on a BMC network, wherein the local area network comprises a DHCP server. After the server is powered on, the DHCP server will assign a private IP address to each bare die. The management equipment is connected to a local area network, the management equipment can communicate with a DHCP server so as to obtain IP addresses distributed to all bare computers, then the bare computers in a server cluster are connected in a network communication mode based on the IP addresses, when the bare computers are connected, an interface display function of the management equipment can prompt user names and passwords to be input, and after the user names and the passwords are input correctly, the management equipment can establish communication with a substrate control manager of the bare computers. After an error is entered, the type of error may be prompted and an opportunity for re-entry may be given. After communication is successfully established with a baseboard control manager in a server of a server cluster, SN information of bare computers can be obtained to serve as machine IDs, an equipment mapping relation table is established by SN and IP addresses, and the SN information and the IP addresses are stored in a storage space of management equipment for subsequent searching. Preferably, the SN information, IP, and physical bare metal are also uniquely linked by sending a lighting command.
S102, after the target command specification is selected and the one-key query instruction is obtained, the target command to be executed is determined by using the command mapping relation table.
In this embodiment, the command description may be displayed in the management apparatus, and the command mapping table may be stored in the management apparatus. The mapping relation table records the corresponding relation between each command description and the command.
The command description is the interpretation corresponding to the command. Specifically, the instruction description may specifically correspond to a description corresponding to all or part of the instructions that need to be executed to manage the server cluster. Specifically, information such as the action of the command, the command return result description, and the like may be described. The command description may be a command description corresponding to a command that is difficult to understand or easy to be executed incorrectly or operated incorrectly, and specific presentation content of the command description may be determined according to actual needs, which is not limited in the embodiments of the present application.
In the present embodiment, the command description selected by the operator is determined as the target command description, that is, any one of the displayed command descriptions may be the target command description. When the operation selects the target command description and clicks the one-key query, the operation is regarded as obtaining a query instruction. Based on the command mapping relation table, a target command to be executed may be determined.
In one embodiment of the present application, the selecting of the target command description in step S102 includes:
step one, outputting each command description in a command mapping relation table on a display interface;
and step two, monitoring the display interface to obtain the selected operation information of the target command specification.
For convenience of description, the above two steps will be described in combination.
The user-friendly command descriptions and the actually executed commands can be established in a one-to-one mapping relation and stored in the storage space, and a single command description is displayed on the user interface. When performing a batch query operation, the user may select a command specification and then click on a one-touch query in the management device. And when the condition that the one-key query is clicked is monitored, the target command description can be determined to be selected.
S103, determining each target bare machine of the target command to be executed by using the device mapping relation table.
Based on the device mapping relationship table, each target bare machine of the target command to be executed can be specified. The target bare engine can be a batch bare engine or a small number of target bare engines, such as an individual bare engine.
Specifically, the management device finds a target command to be executed according to the command mapping relationship, and then finds an IP corresponding to the SN according to the stored device mapping relationship table.
And S104, respectively sending the target commands to each target bare machine, and receiving feedback information sent by each target bare machine.
And sending the target command to the corresponding bare machine. And then transmitting the acquired required information (namely feedback information such as health status, configuration information and the like) back to the management equipment, and binding and storing the acquired required information and the corresponding SN into a storage space.
By applying the method provided by the embodiment of the application, the substrate management controller of each bare engine in the server cluster is utilized to establish an equipment mapping relation table corresponding to the bare engine; after the target command specification is selected and the one-key query instruction is obtained, determining a target command to be executed by using the command mapping relation table; determining each target bare machine of the target command to be executed by using the equipment mapping relation table; and respectively sending the target command to each target bare machine, and receiving feedback information sent by each target bare machine.
In the application, for each bare machine in the server cluster, an equipment mapping relation table corresponding to the bare machine is established first. And then after the target command specification is selected and the one-key query instruction is obtained, determining the target command to be executed by using the command mapping relation table. And then, determining each target bare machine of the target command to be executed by using the device mapping relation table. After the target command to be executed and the target bare machine for executing the target command are determined, the target command is directly and respectively sent to each target bare machine, and therefore feedback information sent by each target bare machine is received. That is, in the present application, batch operations of a plurality of bare metal machines can be realized without an operating system, and there are advantages of a friendly interface and simple operations due to the presence of command specification and one-touch query functions.
It should be noted that, based on the above embodiments, the embodiments of the present application also provide corresponding improvements. In the preferred/improved embodiment, the same steps as those in the above embodiment or corresponding steps may be referred to each other, and corresponding advantageous effects may also be referred to each other, which are not described in detail in the preferred/improved embodiment herein.
In one embodiment of the present application, a bulk filling system may also be implemented. The implementation process comprises the following steps:
step one, after a one-key filling instruction is obtained, determining a selected bare computer and starting a filling program of BMC;
and step two, transmitting the mirror image in the storage space to each selected bare machine by utilizing a time-sharing multiplexing mode so as to realize batch filling of the mirror images.
For convenience of description, the above two steps will be described in combination.
And displaying one-key filling in the management equipment, and after the user clicks one-key filling, determining the selected bare machine and starting a filling program of the BMC. And then, the mirror image of the storage space is transmitted to each selected bare machine in a time-sharing multiplexing mode, so that the mirror image is filled in batches. The image is an image of the operating system and the filling image is a filling operating system.
Among them, TIME DIVISION Multiplexing (TDMA) is applied to a technique of transmitting MULTIPLEX data by one line in a network, based on a TIME DIVISION application line.
For example: the mirror image can be copied to the storage space of the management device through the U disk, after a user clicks one key for filling, the management device can send a string of commands to start a filling program of the BMC, and then the mirror image is transmitted to each selected machine in a time-sharing multiplexing mode, so that the mirror image can be filled in batches.
Corresponding to the above method embodiment, the present application further provides a server bare metal management apparatus, and the server bare metal management apparatus described below and the server bare metal management method described above may be referred to in correspondence.
Referring to fig. 2, the apparatus includes the following modules:
an equipment mapping relationship establishing module 101, configured to establish an equipment mapping relationship table corresponding to each bare machine in the server cluster by using the baseboard management controller of each bare machine;
the command confirmation module 102 is configured to determine a target command to be executed by using the command mapping relationship table after the target command specification is selected and the one-key query instruction is obtained;
the bare metal determining module 103 is configured to determine, by using the device mapping relationship table, each target bare metal of the target command to be executed;
the command executing module 104 is configured to send the target commands to the target bare machines, and receive feedback information sent by the target bare machines.
By applying the device provided by the embodiment of the application, the device mapping relation table corresponding to the bare computers is established by utilizing the substrate management controllers of all the bare computers in the server cluster; after the target command specification is selected and the one-key query instruction is obtained, determining a target command to be executed by using the command mapping relation table; determining each target bare machine of the target command to be executed by using the equipment mapping relation table; and respectively sending the target commands to each target bare machine, and receiving feedback information sent by each target bare machine.
In the application, for each bare machine in the server cluster, an equipment mapping relation table corresponding to the bare machine is established first. And then after the target command specification is selected and the one-key query instruction is obtained, determining the target command to be executed by using the command mapping relation table. And then, determining each target bare machine of the target command to be executed by using the device mapping relation table. After the target command to be executed and the target bare machine for executing the target command are determined, the target command is directly and respectively sent to each target bare machine, and therefore feedback information sent by each target bare machine is received. That is, in the present application, batch operations of a plurality of bare metal machines can be realized without an operating system, and there are advantages of a friendly interface and simple operations due to the presence of command specification and one-touch query functions.
In a specific embodiment of the present application, the device mapping relationship establishing module 101 is specifically configured to obtain an IP address of each bare metal from a DHCP server;
establishing communication connection with each bare computer through a baseboard management controller by using the IP address;
acquiring SN information of each bare machine by utilizing communication connection;
and establishing an equipment mapping relation table by using the SN information and the IP address.
In a specific embodiment of the present application, the device mapping relationship establishing module 101 is specifically configured to, after a server cluster is connected to a local area network, allocate an IP address to each bare die by using a DHCP server in the local area network;
and communicating with a DHCP server to acquire an IP address.
In a specific embodiment of the present application, the device mapping relationship establishing module 101 is specifically configured to output login prompt information on a display interface;
and acquiring login information, and establishing communication connection through the substrate management controller by using the IP address under the condition that the login information is correct.
In a specific embodiment of the present application, the device mapping relationship establishing module 101 is specifically configured to determine, by using a lighting command, a corresponding relationship between SN information, an IP address, and a physical bare engine;
and establishing an equipment mapping relation table by utilizing the corresponding relation.
In a specific embodiment of the present application, the command confirmation module 102 is specifically configured to output, on a display interface, each command description in the command mapping relationship table;
and monitoring the display interface to obtain the selected operation information of the target command specification.
In one embodiment of the present application, the method further includes:
the batch filling module is used for determining the selected bare computers and starting a filling program of the BMC after acquiring the one-key filling instruction;
and transmitting the mirror image in the storage space to each selected bare computer by utilizing a time-sharing multiplexing mode so as to realize batch filling mirror images.
Corresponding to the above method embodiment, an embodiment of the present application further provides an electronic device, and a server bare metal management method described below and an electronic device described above may be referred to in correspondence.
Referring to fig. 3, the electronic device includes:
a memory 332 for storing a computer program;
a processor 322, configured to implement the steps of the server bare metal management method of the above-described method embodiments when executing the computer program.
Specifically, referring to fig. 4, fig. 4 is a schematic structural diagram of an electronic device provided in this embodiment, which may generate relatively large differences due to different configurations or performances, and may include one or more processors (CPUs) 322 (e.g., one or more processors) and a memory 332, where the memory 332 stores one or more computer applications 342 or data 344. Memory 332 may be, among other things, transient storage or persistent storage. The program stored in memory 332 may include one or more modules (not shown), each of which may include a sequence of instructions operating on a data processing device. Still further, the central processor 322 may be configured to communicate with the memory 332 to execute a series of instruction operations in the memory 332 on the electronic device 301.
The electronic device 301 may also include one or more power sources 326, one or more wired or wireless network interfaces 350, one or more input-output interfaces 358, and/or one or more operating systems 341.
The steps in the server bare metal management method described above may be implemented by the structure of an electronic device.
Corresponding to the above method embodiment, the present application further provides a readable storage medium, and a readable storage medium described below and a server bare metal management method described above may be referred to correspondingly.
A readable storage medium, on which a computer program is stored, which, when executed by a processor, implements the steps of the server bare metal management method of the above-described method embodiments.
The readable storage medium may be a usb disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and various other readable storage media capable of storing program codes.
The embodiments are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same or similar parts among the embodiments are referred to each other. The device disclosed by the embodiment corresponds to the method disclosed by the embodiment, so that the description is simple, and the relevant points can be referred to the method part for description.
Those of skill would further appreciate that the various illustrative components and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, computer software, or combinations of both, and that the various illustrative components and steps have been described above generally in terms of their functionality in order to clearly illustrate this interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
The steps of a method or algorithm described in connection with the embodiments disclosed herein may be embodied directly in hardware, in a software module executed by a processor, or in a combination of the two. A software module may reside in Random Access Memory (RAM), memory, read Only Memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.
Finally, it should also be noted that, in this document, terms such as include, or any other variation are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that includes a list of elements includes not only those elements but also other elements not expressly listed or inherent to such process, method, article, or apparatus.
The principle and the implementation of the present application are explained herein by applying specific examples, and the above description of the embodiments is only used to help understand the method and the core idea of the present application; meanwhile, for a person skilled in the art, according to the idea of the present application, the specific implementation manner and the application scope may be changed, and in summary, the content of the present specification should not be construed as a limitation to the present application.

Claims (10)

1. A server bare metal management method, comprising:
establishing an equipment mapping relation table corresponding to each bare machine by using a substrate management controller of each bare machine in a server cluster;
after the target command specification is selected and the one-key query instruction is obtained, determining a target command to be executed by using the command mapping relation table;
determining each target bare machine to execute the target command by using the equipment mapping relation table;
and respectively sending the target command to each target bare machine, and receiving feedback information sent by each target bare machine.
2. The method according to claim 1, wherein the establishing, by using the bmc of each bare die in the server cluster, the device mapping table corresponding to the bare die comprises:
acquiring the IP address of each bare computer from a DHCP server;
establishing communication connection with each bare computer through the baseboard management controller by using the IP address;
acquiring SN information of each bare engine by using the communication connection;
and establishing the equipment mapping relation table by utilizing the SN information and the IP address.
3. The method of claim 2, wherein the obtaining the IP address of each bare metal from a DHCP server comprises:
after the server cluster is connected to a local area network, allocating the IP address to each bare computer by using a DHCP server in the local area network;
and communicating with the DHCP server to acquire the IP address.
4. The server bare metal management method according to claim 2, wherein establishing a communication connection with each bare metal through the baseboard management controller by using the IP address comprises:
outputting login prompt information on a display interface;
and acquiring login information, and establishing the communication connection through the substrate management controller by using the IP address under the condition that the login information is correct.
5. The server bare metal management method according to claim 2, wherein the establishing the device mapping relationship table by using the SN information and the IP address comprises:
determining the corresponding relation between the SN information, the IP address and the physical bare computer by using a lighting command;
and establishing the equipment mapping relation table by utilizing the corresponding relation.
6. The server bare metal management method according to claim 1, wherein the target command specification is selected, comprising:
outputting each command description in the command mapping relation table on a display interface;
and monitoring the display interface to obtain the selected operation information of the target command specification.
7. The server bare metal management method according to any one of claims 1 to 6, further comprising:
after a one-key filling instruction is obtained, determining the selected bare machine and starting a filling program of the BMC;
and transmitting the mirror image in the storage space to each selected bare machine by utilizing a time-sharing multiplexing mode so as to realize batch filling of the mirror images.
8. A server bare metal management device, comprising:
the equipment mapping relation establishing module is used for establishing an equipment mapping relation table corresponding to each bare machine by utilizing the substrate management controller of each bare machine in the server cluster;
the command confirmation module is used for determining a target command to be executed by utilizing the command mapping relation table after the target command specification is selected and the one-key query instruction is obtained;
a bare metal determining module, configured to determine, by using the device mapping relationship table, each target bare metal on which the target command is to be executed;
and the command execution module is used for respectively sending the target commands to the target bare computers and receiving feedback information sent by the target bare computers.
9. An electronic device, comprising:
a memory for storing a computer program;
a processor for implementing the steps of the server bare metal management method according to any one of claims 1 to 7 when executing the computer program.
10. A readable storage medium, having stored thereon a computer program which, when executed by a processor, carries out the steps of the server bare metal management method according to any one of claims 1 to 7.
CN202211293493.3A 2022-10-21 2022-10-21 Bare computer management method, device, equipment and readable storage medium for server Pending CN115665223A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211293493.3A CN115665223A (en) 2022-10-21 2022-10-21 Bare computer management method, device, equipment and readable storage medium for server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211293493.3A CN115665223A (en) 2022-10-21 2022-10-21 Bare computer management method, device, equipment and readable storage medium for server

Publications (1)

Publication Number Publication Date
CN115665223A true CN115665223A (en) 2023-01-31

Family

ID=84988701

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211293493.3A Pending CN115665223A (en) 2022-10-21 2022-10-21 Bare computer management method, device, equipment and readable storage medium for server

Country Status (1)

Country Link
CN (1) CN115665223A (en)

Similar Documents

Publication Publication Date Title
US10419285B2 (en) Configuration management device, configuration interface device and method for vendor-independent network device configuration
US9525592B2 (en) Client/server network environment setup method and system
US8688772B2 (en) Method and apparatus for web based storage on demand
US7554931B2 (en) System and method for remote dynamic network configuration
EP2863281B1 (en) System and method to configure a field device
US8566459B2 (en) Systems and methods for integrated console management interface
CN106657444B (en) A kind of method and device for the IP address configuring BMC
CN109067599B (en) Cluster deployment method and device
JP2021502732A (en) Computer processing methods, equipment, systems, and programs to access the gateway management console
CN104518910B (en) Apparatus for configuring Ethernet device and method for configuring Ethernet device
CN112328262A (en) Deployment method, system and device of operating system and electronic equipment
CN111538625A (en) Ambari cluster deployment and data backup method based on Docker technology and electronic equipment
US8819200B2 (en) Automated cluster node configuration
CN110928554A (en) Deployment method, device, equipment and storage medium
CN112491630A (en) Bare computer automatic deployment method and device and cloud environment platform
JP2009026248A (en) Emulation device and emulation program
JP2011076437A (en) System, server, client, and method for sharing device
US20070260606A1 (en) System and method for using a network file system mount from a remote management card
CN113268254A (en) Cluster system installation method and device, electronic equipment and storage medium
US10931626B2 (en) Automatic discovery of management server IP address using DHCP for thin client solution
CN107659621B (en) RAID control card configuration method and device
CN112181762A (en) Software project application basic environment deployment and three-remote visualization processing method
CN115665223A (en) Bare computer management method, device, equipment and readable storage medium for server
CN115333933B (en) Automatic management method, medium and equipment for servers on machine room
JP7231874B2 (en) Server, communication system, and communication method

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