CN112468334B - Server configuration method, device, equipment and computer readable storage medium - Google Patents

Server configuration method, device, equipment and computer readable storage medium Download PDF

Info

Publication number
CN112468334B
CN112468334B CN202011268883.6A CN202011268883A CN112468334B CN 112468334 B CN112468334 B CN 112468334B CN 202011268883 A CN202011268883 A CN 202011268883A CN 112468334 B CN112468334 B CN 112468334B
Authority
CN
China
Prior art keywords
server
address
private ipv4
configuration
target server
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
CN202011268883.6A
Other languages
Chinese (zh)
Other versions
CN112468334A (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.)
Suzhou Inspur Intelligent Technology Co Ltd
Original Assignee
Suzhou Inspur Intelligent 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 Suzhou Inspur Intelligent Technology Co Ltd filed Critical Suzhou Inspur Intelligent Technology Co Ltd
Priority to CN202011268883.6A priority Critical patent/CN112468334B/en
Publication of CN112468334A publication Critical patent/CN112468334A/en
Application granted granted Critical
Publication of CN112468334B publication Critical patent/CN112468334B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0889Techniques to speed-up the configuration process
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/50Address allocation
    • H04L61/5007Internet protocol [IP] addresses
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/50Address allocation
    • H04L61/5076Update or notification mechanisms, e.g. DynDNS
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L2101/00Indexing scheme associated with group H04L61/00
    • H04L2101/60Types of network addresses
    • H04L2101/686Types of network addresses using dual-stack hosts, e.g. in Internet protocol version 4 [IPv4]/Internet protocol version 6 [IPv6] networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The invention discloses a server configuration method, which comprises the following steps: analyzing the received server configuration request to obtain each target server to be configured; acquiring pre-stored private IPv4 addresses; calling a deep remote start manager to configure each private IPv4 address to the baseboard management controller of each target server so as to establish communication connection with each baseboard management controller; respectively acquiring IPv6 addresses and host names to be configured of each target server; and calling an iSmartTool tool to modify each private IPv4 address into a corresponding IPv6 address, and configuring each host name to a corresponding target server. The server configuration method provided by the invention greatly improves the efficiency and improves the configuration accuracy. The invention also discloses a server configuration device, equipment and a storage medium, and has corresponding technical effects.

Description

Server configuration method, device, equipment and computer readable storage medium
Technical Field
The present invention relates to the field of computer application technologies, and in particular, to a server configuration method, apparatus, device, and computer-readable storage medium.
Background
The Baseboard Management Controller (BMC) is software that is started and operated when a server Access Controller (AC) is powered on, and operates on a separate ARM chip on the server. The baseboard management controller is a big manager of the whole server, and is mainly used for detecting the health states of various components (such as CPU, memory, hard disk, fan, machine frame, and the like) of the server, such as temperature, voltage, and the like, and simultaneously adjusting the rotating speed of the fan in real time according to the conditions of various temperature acquisition points to ensure that the server does not generate over-temperature and control the overall power consumption to be not too high, and if any exception occurs in a single board component, information is reported to an upper layer network manager in time through various industry general specifications such as SNMP protocol, SMTP protocol, Redfish protocol, and the like, so that operation and maintenance personnel can process the information in time, and service is ensured to be lossless. Therefore, in a large-scale data center, the automation operation and maintenance of the intelligent management system are not supported by the server baseboard management controller. When the baseboard management controller is put into use, an internet protocol, i.e. an IP address, needs to be configured for the baseboard management controller.
Currently, Internet Protocol Version 4 (IPv4, Internet Protocol Version 4) is already allocated, which means that no more IPv4 addresses can be allocated to the network infrastructure provider. Most large data centers are now beginning to use Internet Protocol Version 6 (IPv6, Internet Protocol Version 6). The existing server configuration method is to configure the addresses and host names of the baseboard management controllers of the servers one by adopting a traditional Basic Input Output System (BIOS), in a server delivery project of a large data center, the number of servers is large, some servers even exceed ten thousand servers, the delivery project is large in scale, undoubtedly, huge delivery pressure is brought, the server configuration efficiency is low, and errors are easy to occur.
In summary, how to effectively solve the problems of low efficiency of server configuration, easy error, and the like is a problem that needs to be solved urgently by those skilled in the art.
Disclosure of Invention
The invention aims to provide a server configuration method, which realizes batch configuration of server baseboard management controller addresses and host names, greatly improves the efficiency and improves the configuration accuracy; another object of the present invention is to provide a server configuration apparatus, a device, and a computer-readable storage medium.
In order to solve the technical problems, the invention provides the following technical scheme:
a server configuration method, comprising:
analyzing the received server configuration request to obtain each target server to be configured;
acquiring pre-stored private IPv4 addresses;
calling a deep remote start manager to configure each private IPv4 address to a baseboard management controller of each target server so as to establish communication connection with each baseboard management controller;
respectively acquiring IPv6 addresses and host names to be configured of the target servers;
and calling an iSmartTool tool to modify each private IPv4 address into a corresponding IPv6 address and configure each host name to a corresponding target server.
In an embodiment of the present invention, after invoking the deep remote boot manager to configure each private IPv4 address to the baseboard management controller of each target server, the method further includes:
acquiring server serial numbers respectively corresponding to the target servers;
establishing a corresponding relation between the private IPv4 address of each target server and the server serial number;
calling an iSmartTool tool to modify each private IPv4 address into a corresponding IPv6 address and configure each host name to a corresponding target server, wherein the method comprises the following steps:
taking the serial number of the server as an index, calling the iSmartTool tool to modify each private IPv4 address into a corresponding IPv6 address, and configuring each host name to a corresponding target server; wherein, each IPv6 address and each server serial number establish corresponding relation.
In an embodiment of the present invention, after invoking the deep remote boot manager to configure each private IPv4 address to the baseboard management controller of each target server, the method further includes:
acquiring server serial numbers respectively corresponding to the target servers;
establishing a corresponding relation between the private IPv4 address of each target server and the server serial number;
calling an iSmartTool tool to modify each private IPv4 address into a corresponding IPv6 address and configure each host name to a corresponding target server, wherein the method comprises the following steps:
taking the serial number of the server as an index, calling the iSmartTool tool to modify each private IPv4 address into a corresponding IPv6 address, and configuring each host name to a corresponding target server; wherein, each IPv6 address and each server serial number establish corresponding relation.
In an embodiment of the present invention, after invoking the iSmartTool to modify each private IPv4 address into a corresponding IPv6 address, and configure each host name to a corresponding target server, the method further includes:
acquiring configuration results of each IPv6 address and each host name;
and carrying out recording operation on the configuration result.
A server configuration apparatus comprising:
the request analysis module is used for analyzing the received server configuration request to obtain each target server to be configured;
the address acquisition module is used for acquiring pre-stored private IPv4 addresses;
the private address configuration module is used for calling a deep remote start manager to configure each private IPv4 address to the baseboard management controller of each target server so as to establish communication connection with each baseboard management controller;
the address and host name acquisition module is used for respectively acquiring the IPv6 address and the host name to be configured of each target server;
and the server configuration module is used for calling an iSmartTool tool to modify each private IPv4 address into a corresponding IPv6 address and configure each host name to a corresponding target server.
In one embodiment of the present invention, the method further comprises:
a serial number obtaining module, configured to obtain server serial numbers corresponding to the target servers after a deep remote boot manager is called to configure the private IPv4 addresses to the baseboard management controllers of the target servers;
the relation establishing module is used for establishing the corresponding relation between the private IPv4 address of each target server and the server serial number;
the server configuration module is specifically a module which takes the server serial number as an index, calls the iSmartTool tool to modify each private IPv4 address into a corresponding IPv6 address and configures each host name to a corresponding target server; wherein, each IPv6 address and each server serial number establish corresponding relation.
In a specific embodiment of the present invention, the private address configuration module is a module that invokes the deep remote boot manager to configure each private IPv4 address to a bmc of each target server by using a bmc switch.
In one embodiment of the present invention, the method further comprises:
the result acquisition module is used for acquiring each IPv6 address and a configuration result of each host name after the iSmartTool tool is called to modify each private IPv4 address into a corresponding IPv6 address and each host name is configured to a corresponding target server;
and the result recording module is used for recording the configuration result.
A server configuration device comprising:
a memory for storing a computer program;
a processor for implementing the steps of the server configuration method as described above when executing the computer program.
A computer-readable storage medium, having stored thereon a computer program which, when being executed by a processor, carries out the steps of the server configuration method as set forth above.
The server configuration method provided by the invention analyzes the received server configuration request to obtain each target server to be configured; acquiring pre-stored private IPv4 addresses; calling a deep remote start manager to configure each private IPv4 address to the baseboard management controller of each target server so as to establish communication connection with each baseboard management controller; respectively acquiring IPv6 addresses and host names to be configured of each target server; and calling an iSmartTool tool to modify each private IPv4 address into a corresponding IPv6 address, and configuring each host name to a corresponding target server. The method comprises the steps of configuring temporary private IPv4 addresses for baseboard management controllers of target servers by utilizing a deep remote boot manager, establishing communication connection with the baseboard management controllers, modifying the private IPv4 addresses into corresponding IPv6 addresses by utilizing an iSmartTool automation operation and maintenance tool, and configuring host names. Therefore, batch configuration of the server substrate management controller address and the host name is realized, the efficiency is greatly improved, and the configuration accuracy is improved.
Correspondingly, the invention also provides a server configuration device, equipment and a computer readable storage medium corresponding to the server configuration method, which have the technical effects and are not described herein again.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
FIG. 1 is a flowchart illustrating an implementation of a server configuration method according to an embodiment of the present invention;
FIG. 2 is a flowchart of another implementation of a server configuration method according to an embodiment of the present invention;
FIG. 3 is a block diagram of a server configuration system according to an embodiment of the present invention;
FIG. 4 is a block diagram of a server configuration apparatus according to an embodiment of the present invention;
fig. 5 is a block diagram of a server configuration device according to an embodiment of the present invention.
Detailed Description
In order that those skilled in the art will better understand the disclosure, the invention will be described in further detail with reference to the accompanying drawings and specific embodiments. It is to be understood that the described embodiments are merely exemplary of the invention, and not restrictive of the full scope of the invention. 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 invention.
The first embodiment is as follows:
referring to fig. 1, fig. 1 is a flowchart of an implementation of a server configuration method in an embodiment of the present invention, where the method may include the following steps:
s101: and analyzing the received server configuration request to obtain each target server to be configured.
When the baseboard management controller address and the host name of the server need to be configured, a server configuration request is sent to the server configuration center, and the server configuration request comprises each target server to be configured. And the server configuration center receives the server configuration request, and analyzes the received server configuration request to obtain each target server to be configured.
S102: and acquiring prestored private IPv4 addresses.
The method comprises the steps of storing a plurality of private IPv4 addresses used in the current local area network in advance, and obtaining the pre-stored private IPv4 addresses after analyzing and obtaining target servers to be configured.
S103: and calling the deep remote boot manager to configure each private IPv4 address to the baseboard management controller of each target server so as to establish communication connection with each baseboard management controller.
The server configuration center is pre-deployed with a deep remote boot manager (Netbootm), and after the pre-stored private IPv4 addresses are obtained, the deep remote boot manager is called to configure the private IPv4 addresses to the substrate management controllers of the target servers, so that communication connection between the server configuration center and the substrate management controllers is established.
S104: and respectively acquiring the IPv6 address and the host name to be configured of each target server.
And respectively acquiring the IPv6 address and the host name to be configured of each target server.
S105: and calling an iSmartTool tool to modify each private IPv4 address into a corresponding IPv6 address, and configuring each host name to a corresponding target server.
The server configuration center is pre-deployed with a SmartTool automation operation and maintenance tool for configuring the related information of the baseboard management controller. After configuring each private IPv4 address to the substrate management controller of each target server and acquiring the IPv6 address to be configured and the host name of each target server, calling an iSmartTool tool to modify each private IPv4 address into a corresponding IPv6 address and configuring each host name to the corresponding target server, thereby completing the configuration of the substrate management controller address and the host name of each server. The method comprises the steps of configuring temporary private IPv4 addresses for baseboard management controllers of target servers by utilizing a deep remote boot manager, establishing communication connection with the baseboard management controllers, modifying the private IPv4 addresses into corresponding IPv6 addresses by utilizing an iSmartTool automation operation and maintenance tool, and configuring host names. Therefore, batch configuration of the server substrate management controller address and the host name is realized, the efficiency is greatly improved, and the configuration accuracy is improved.
The server configuration method provided by the invention is used for analyzing the received server configuration request to obtain each target server to be configured; acquiring pre-stored private IPv4 addresses; calling a deep remote start manager to configure each private IPv4 address to the baseboard management controller of each target server so as to establish communication connection with each baseboard management controller; respectively acquiring IPv6 addresses and host names to be configured of each target server; and calling an iSmartTool tool to modify each private IPv4 address into a corresponding IPv6 address, and configuring each host name to a corresponding target server. The method comprises the steps of configuring temporary private IPv4 addresses for baseboard management controllers of target servers by utilizing a deep remote boot manager, establishing communication connection with the baseboard management controllers, modifying the private IPv4 addresses into corresponding IPv6 addresses by utilizing an iSmartTool automation operation and maintenance tool, and configuring host names. Therefore, batch configuration of the server substrate management controller address and the host name is realized, the efficiency is greatly improved, and the configuration accuracy is improved.
It should be noted that, based on the first embodiment, the embodiment of the present invention further provides a corresponding improvement scheme. In the following embodiments, steps that are the same as or correspond to those in the first embodiment 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 following modified embodiments.
Example two:
referring to fig. 2, fig. 2 is a flowchart of another implementation of a server configuration method in an embodiment of the present invention, where the method may include the following steps:
s201: and analyzing the received server configuration request to obtain each target server to be configured.
S202: and acquiring pre-stored private IPv4 addresses.
S203: invoking the deep remote boot manager to configure each private IPv4 address to the baseboard management controller of each target server using the baseboard management controller switch to establish a communication connection with each baseboard management controller.
Referring to fig. 3, fig. 3 is a block diagram of a server configuration system according to an embodiment of the present invention. The baseboard management controller interfaces of all the servers are all connected into the baseboard management controller switch, and the personal notebook is used as a server configuration center to be connected into the baseboard management controller switch. A deep remote start manager is installed in a personal notebook, a linux virtual machine is installed in the personal notebook, and an iSmartTool tool is deployed in any directory of the linux virtual machine system in advance. And calling a deep remote start manager to configure each private IPv4 address to the baseboard management controller of each target server by using the baseboard management controller switch, thereby realizing batch configuration of each private IPv4 address.
S204: and acquiring server serial numbers respectively corresponding to the target servers.
And each target server is respectively provided with a server serial number for unique identification, and the server serial numbers corresponding to the target servers are obtained.
S205: and establishing the corresponding relation between the private IPv4 address of each target server and the server serial number.
And establishing the corresponding relation between the private IPv4 address of each target server and the server serial number.
S206: and respectively acquiring the IPv6 address and the host name to be configured of each target server.
S207: and taking the serial number of the server as an index, calling an iSmartTool tool to modify each private IPv4 address into a corresponding IPv6 address, and configuring each host name to a corresponding target server.
Wherein, each IPv6 address and each server serial number establish corresponding relation.
Establishing a corresponding relation between each IPv6 address and each server serial number, configuring each private IPv4 address to a substrate management controller of each target server, acquiring an IPv6 address to be configured and a host name of each target server, taking the server serial number as an index, calling an iSmartTool tool to modify each private IPv4 address into a corresponding IPv6 address, and configuring each host name to the corresponding target server. Thereby ensuring the correctness of the IPv6 address configuration.
The process of modifying each private IPv4 address into a corresponding IPv6 address may include, first, modifying a hostsbmc file in an iSmartTool, and writing a configured private IPv4 address into the hostsbmc file; secondly, modifying an IPv6 file in the iSmartTool tool, and correspondingly writing a server serial number and an IPv6 address into the iSmartTool tool; furthermore, the hostnames file in the iSmartTool tool is modified, and the server serial number and host name are written into the hostnames file correspondingly.
S208: and acquiring the configuration result of each IPv6 address and each host name.
After the configuration of the baseboard management control address and the host name of each target server is completed, the configuration result of each IPv6 address and each host name is obtained.
S209: and recording the configuration result.
After the configuration results of the IPv6 addresses and the host names are obtained, recording operation is carried out on the configuration results, so that whether the configuration of the baseboard management control addresses and the host names of the target servers is successful or not can be checked in time by checking the configuration results. The deep remote start manager and the iSmartTool automatic operation and maintenance tool are simple and convenient to use, only an inherent substrate management controller switch is needed in the aspect of hardware, the substrate management controller interfaces of all servers are connected into the substrate management controller switch, extra hardware equipment is not needed for support, and operability is high.
The present embodiment is different from the first embodiment corresponding to the technical solution claimed in independent claim 1, and the technical solutions claimed in the dependent claims 2 to 4 are added, and of course, according to different practical situations and requirements, the technical solutions claimed in the dependent claims can be flexibly combined on the basis of not affecting the completeness of the solutions, so as to better meet the requirements of different use scenarios.
Corresponding to the above method embodiments, the present invention further provides a server configuration apparatus, and the server configuration apparatus described below and the server configuration method described above may be referred to correspondingly.
Referring to fig. 4, fig. 4 is a block diagram of a server configuration apparatus according to an embodiment of the present invention, where the apparatus may include:
a request analysis module 41, configured to analyze the received server configuration request to obtain each target server to be configured;
the address acquisition module 42 is configured to acquire pre-stored private IPv4 addresses;
the private address configuration module 43 is configured to invoke the deep remote boot manager to configure each private IPv4 address to the baseboard management controller of each target server, so as to establish a communication connection with each baseboard management controller;
an address and host name obtaining module 44, configured to obtain an IPv6 address and a host name to be configured for each target server, respectively;
and the server configuration module 45 is used for calling the iSmartTool tool to modify each private IPv4 address into a corresponding IPv6 address and configure each host name to a corresponding target server.
The server configuration device provided by the invention analyzes the received server configuration request to obtain each target server to be configured; acquiring pre-stored private IPv4 addresses; calling a deep remote start manager to configure each private IPv4 address to the baseboard management controller of each target server so as to establish communication connection with each baseboard management controller; respectively acquiring IPv6 addresses and host names to be configured of each target server; and calling an iSmartTool tool to modify each private IPv4 address into a corresponding IPv6 address, and configuring each host name to a corresponding target server. The method comprises the steps of configuring temporary private IPv4 addresses for baseboard management controllers of target servers by utilizing a deep remote boot manager, establishing communication connection with the baseboard management controllers, modifying the private IPv4 addresses into corresponding IPv6 addresses by utilizing an iSmartTool automation operation and maintenance tool, and configuring host names. Therefore, batch configuration of the server substrate management controller addresses and the host names is achieved, efficiency is greatly improved, and configuration accuracy is improved.
In one embodiment of the present invention, the apparatus may further include:
the serial number acquisition module is used for acquiring server serial numbers respectively corresponding to the target servers after the deep remote start manager is called to configure the private IPv4 addresses to the baseboard management controllers of the target servers;
the relation establishing module is used for establishing the corresponding relation between the private IPv4 address of each target server and the server serial number;
the server configuration module 45 specifically is a module that takes a server serial number as an index, calls an imarttool to modify each private IPv4 address into a corresponding IPv6 address, and configures each host name to a corresponding target server; wherein, each IPv6 address and each server serial number establish corresponding relation.
In an embodiment of the present invention, the private address configuration module 43 is a module that calls a deep remote boot manager to configure each private IPv4 address to a bmc of each target server by using a bmc switch.
In one embodiment of the present invention, the apparatus may further include:
the result acquisition module is used for acquiring each IPv6 address and the configuration result of each host name after the iSmartTool tool is called to modify each private IPv4 address into the corresponding IPv6 address and each host name is configured to the corresponding target server;
and the result recording module is used for recording the configuration result.
Corresponding to the above method embodiment, referring to fig. 5, fig. 5 is a schematic diagram of a server configuration device provided in the present invention, where the device may include:
a memory 51 for storing a computer program;
the processor 52, when executing the computer program stored in the memory 51, may implement the following steps:
analyzing the received server configuration request to obtain each target server to be configured; acquiring pre-stored private IPv4 addresses; calling a deep remote start manager to configure each private IPv4 address to the baseboard management controller of each target server so as to establish communication connection with each baseboard management controller; respectively acquiring IPv6 addresses and host names to be configured of each target server; and calling an iSmartTool tool to modify each private IPv4 address into a corresponding IPv6 address, and configuring each host name to a corresponding target server.
For the introduction of the device provided by the present invention, please refer to the above method embodiment, which is not described herein again.
Corresponding to the above method embodiment, the present invention further provides a computer-readable storage medium having a computer program stored thereon, the computer program, when executed by a processor, implementing the steps of:
analyzing the received server configuration request to obtain each target server to be configured; acquiring pre-stored private IPv4 addresses; calling a deep remote start manager to configure each private IPv4 address to the baseboard management controller of each target server so as to establish communication connection with each baseboard management controller; respectively acquiring IPv6 addresses and host names to be configured of each target server; and calling an iSmartTool tool to modify each private IPv4 address into a corresponding IPv6 address, and configuring each host name to a corresponding target server.
The computer-readable storage medium may include: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
For the introduction of the computer-readable storage medium provided by the present invention, please refer to the above method embodiments, which are not described herein again.
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 apparatuses, devices and computer-readable storage media disclosed in the embodiments correspond to the methods disclosed in the embodiments, so that the description is simple, and the relevant points can be referred to the description of the method.
The principle and the embodiment of the present invention are explained by applying specific examples, and the above description of the embodiments is only used to help understanding the technical solution and the core idea of the present invention. It should be noted that, for those skilled in the art, without departing from the principle of the present invention, it is possible to make various improvements and modifications to the present invention, and those improvements and modifications also fall within the scope of the claims of the present invention.

Claims (10)

1. A server configuration method, comprising:
analyzing the received server configuration request to obtain each target server to be configured;
acquiring prestored private IPv4 addresses;
calling a deep remote start manager to configure each private IPv4 address to a baseboard management controller of each target server so as to establish communication connection with each baseboard management controller;
respectively acquiring IPv6 addresses and host names to be configured of the target servers;
and calling an iSmartTool tool to modify each private IPv4 address into a corresponding IPv6 address and configure each host name to a corresponding target server.
2. The server configuration method according to claim 1, after invoking a deep remote boot manager to configure each private IPv4 address to a baseboard management controller of each target server, further comprising:
acquiring server serial numbers respectively corresponding to the target servers;
establishing a corresponding relation between the private IPv4 address of each target server and the server serial number;
calling an iSmartTool tool to modify each private IPv4 address into a corresponding IPv6 address and configure each host name to a corresponding target server, wherein the method comprises the following steps:
taking the serial number of the server as an index, calling the iSmartTool tool to modify each private IPv4 address into a corresponding IPv6 address, and configuring each host name to a corresponding target server; and a corresponding relation is established between each IPv6 address and each server serial number.
3. The server configuration method according to claim 1 or 2, wherein invoking a deep remote boot manager to configure each private IPv4 address to a baseboard management controller of each target server includes:
and calling the deep remote boot manager to allocate each private IPv4 address to the baseboard management controller of each target server by using a baseboard management controller switch.
4. The server configuration method of claim 3, wherein after invoking the iSmartTool tool to modify each of the private IPv4 addresses to corresponding IPv6 addresses and configure each of the host names to a corresponding target server, further comprising:
acquiring configuration results of each IPv6 address and each host name;
and carrying out recording operation on the configuration result.
5. A server configuration apparatus, comprising:
the request analysis module is used for analyzing the received server configuration request to obtain each target server to be configured;
the address acquisition module is used for acquiring pre-stored private IPv4 addresses;
the private address configuration module is used for calling a deep remote start manager to configure each private IPv4 address to the baseboard management controller of each target server so as to establish communication connection with each baseboard management controller;
the address and host name acquisition module is used for respectively acquiring the IPv6 address and the host name to be configured of each target server;
and the server configuration module is used for calling an iSmartTool tool to modify each private IPv4 address into a corresponding IPv6 address and configure each host name to a corresponding target server.
6. The server configuration device according to claim 5, further comprising:
a serial number obtaining module, configured to obtain server serial numbers corresponding to the target servers after a deep remote boot manager is called to configure the private IPv4 addresses to the baseboard management controllers of the target servers;
the relation establishing module is used for establishing the corresponding relation between the private IPv4 address of each target server and the server serial number;
the server configuration module is specifically a module which takes the server serial number as an index, calls the iSmartTool tool to modify each private IPv4 address into a corresponding IPv6 address and configures each host name to a corresponding target server; wherein, each IPv6 address and each server serial number establish corresponding relation.
7. The server configuration device according to claim 5 or 6, wherein the private address configuration module is specifically a module that invokes the deep remote boot manager to configure each private IPv4 address to the bmc of each target server by using a bmc switch.
8. The server configuration device according to claim 7, further comprising:
the result acquisition module is used for acquiring each IPv6 address and a configuration result of each host name after the iSmartTool tool is called to modify each private IPv4 address into a corresponding IPv6 address and each host name is configured to a corresponding target server;
and the result recording module is used for recording the configuration result.
9. A server configuration device, comprising:
a memory for storing a computer program;
a processor for implementing the steps of the server configuration method according to any one of claims 1 to 4 when executing the computer program.
10. A computer-readable storage medium, having stored thereon a computer program which, when being executed by a processor, carries out the steps of the server configuration method according to any one of claims 1 to 4.
CN202011268883.6A 2020-11-13 2020-11-13 Server configuration method, device, equipment and computer readable storage medium Active CN112468334B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011268883.6A CN112468334B (en) 2020-11-13 2020-11-13 Server configuration method, device, equipment and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011268883.6A CN112468334B (en) 2020-11-13 2020-11-13 Server configuration method, device, equipment and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN112468334A CN112468334A (en) 2021-03-09
CN112468334B true CN112468334B (en) 2022-05-24

Family

ID=74826749

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011268883.6A Active CN112468334B (en) 2020-11-13 2020-11-13 Server configuration method, device, equipment and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN112468334B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102255982A (en) * 2011-07-21 2011-11-23 电子科技大学 Internet protocol version 4 (IPv4)/IPv6 translation gateway and translation method
WO2016091009A1 (en) * 2014-12-11 2016-06-16 电信科学技术研究院 Address allocation and acquisition method and device
CN110855805A (en) * 2018-12-24 2020-02-28 互联网域名系统北京市工程研究中心有限公司 Method and system for configuring forward and reverse records in batch based on synthetic record type
CN111491039A (en) * 2020-03-27 2020-08-04 苏州浪潮智能科技有限公司 IP distribution method, system, terminal and storage medium for distributed file system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102255982A (en) * 2011-07-21 2011-11-23 电子科技大学 Internet protocol version 4 (IPv4)/IPv6 translation gateway and translation method
WO2016091009A1 (en) * 2014-12-11 2016-06-16 电信科学技术研究院 Address allocation and acquisition method and device
CN110855805A (en) * 2018-12-24 2020-02-28 互联网域名系统北京市工程研究中心有限公司 Method and system for configuring forward and reverse records in batch based on synthetic record type
CN111491039A (en) * 2020-03-27 2020-08-04 苏州浪潮智能科技有限公司 IP distribution method, system, terminal and storage medium for distributed file system

Also Published As

Publication number Publication date
CN112468334A (en) 2021-03-09

Similar Documents

Publication Publication Date Title
CN108768730B (en) Method and device for operating intelligent network card
CN102662696B (en) Method and device for quickly starting massively parallel computer system
CN107666493B (en) Database configuration method and equipment thereof
CN109491889B (en) Method and device for automatic test in NFV
CN109587005A (en) Connecting detection method, apparatus, computer equipment and readable storage medium storing program for executing
CN113890879B (en) Load balancing method and device for data access, computer equipment and medium
US8819200B2 (en) Automated cluster node configuration
CN112187574A (en) Method, system and storage medium for network stress testing using virtual machines
CN114024853A (en) Hardware information collection method and system for bare metal node and related components
US11349721B2 (en) Discovering switch port locations and internet protocol addresses of compute nodes
CN111835559A (en) Automatic configuration method, device, equipment and machine readable storage medium
CN114995888A (en) Intelligent network card deployment method, device and medium
CN112269697B (en) Equipment storage performance testing method, system and related device
CN111367735B (en) Test method and system based on server to be tested and Wuban diagram operating system
CN107733717B (en) Network configuration method for mobile operation and maintenance of cloud platform
CN112468334B (en) Server configuration method, device, equipment and computer readable storage medium
CN111367810B (en) Test environment generation method, device, system, electronic equipment and readable medium
CN104683134A (en) System and method for configuring cluster server testing environment
CN111711714A (en) IP address query method, device, server, control equipment and medium
CN115333933B (en) Automatic management method, medium and equipment for servers on machine room
WO2023276039A1 (en) Server management device, server management method, and program
CN109684138A (en) A kind of visualization hard disk automatic test approach, device, terminal and storage medium
CN109286692A (en) A kind of method of configuration server IPMI static ip address
CN111858079B (en) Distributed lock migration method and device, electronic equipment and storage medium
CN115408016A (en) Computing cluster deployment method and device, electronic equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant