CN113076111A - Customized cluster configuration method, system, terminal and storage medium - Google Patents

Customized cluster configuration method, system, terminal and storage medium Download PDF

Info

Publication number
CN113076111A
CN113076111A CN202110322751.5A CN202110322751A CN113076111A CN 113076111 A CN113076111 A CN 113076111A CN 202110322751 A CN202110322751 A CN 202110322751A CN 113076111 A CN113076111 A CN 113076111A
Authority
CN
China
Prior art keywords
network
node
configuration
information
slave node
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
CN202110322751.5A
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.)
Shandong Yingxin Computer Technology Co Ltd
Original Assignee
Shandong Yingxin Computer 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 Shandong Yingxin Computer Technology Co Ltd filed Critical Shandong Yingxin Computer Technology Co Ltd
Priority to CN202110322751.5A priority Critical patent/CN113076111A/en
Publication of CN113076111A publication Critical patent/CN113076111A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/61Installation
    • G06F8/63Image based installation; Cloning; Build to order
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0602Interfaces specially adapted for storage systems specifically adapted to achieve a particular effect
    • G06F3/0604Improving or facilitating administration, e.g. storage management
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0628Interfaces specially adapted for storage systems making use of a particular technique
    • G06F3/0629Configuration or reconfiguration of storage systems
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0628Interfaces specially adapted for storage systems making use of a particular technique
    • G06F3/0638Organizing or formatting or addressing of data
    • G06F3/0644Management of space entities, e.g. partitions, extents, pools
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0668Interfaces specially adapted for storage systems adopting a particular infrastructure
    • G06F3/067Distributed or networked storage systems, e.g. storage area networks [SAN], network attached storage [NAS]

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • Software Systems (AREA)
  • Stored Programmes (AREA)

Abstract

The invention provides a customized cluster configuration method, a system, a terminal and a storage medium, comprising the following steps: setting a configuration file according to the customer requirement, wherein the configuration file comprises a hard disk partition file and a network basic information configuration file; the method comprises the steps that installation files and drivers needed by cluster configuration are saved in a designated directory of a main node, hard disk partition files are saved in a designated directory of a system installation program, and hard disk partitioning is completed according to the hard disk partition files in the system installation process; setting basic information of a main node, a management node and a slave node in the main node according to the network basic information configuration file; distributing network configuration information and a network configuration script to each slave node according to the slave node basic information, and carrying out network setting on the slave nodes by the network configuration script according to the network configuration information received from the slave nodes; after the slave node network is set up, the file transfer service is enabled on the basis of the pre-established cluster local area network. The invention improves the cluster configuration efficiency and accuracy and improves the customer satisfaction.

Description

Customized cluster configuration method, system, terminal and storage medium
Technical Field
The invention relates to the technical field of servers, in particular to a customized cluster configuration method, a customized cluster configuration system, a customized cluster configuration terminal and a storage medium.
Background
In the blade server cluster information of a supply client, the information required by the client needs to be realized and distributed, the number of HPC cluster machines is small, and the information required by the system can be set one by one when a single configuration is carried out. When the number of machines needed by the HPC cluster reaches hundreds, due to the resource space limitation, when the machines are set one by one, information setting errors occur, key parameter information is mistaken by hand, the setting time of a single machine with more setting information is more than 1 hour, the efficiency is low, and the error rate is high. Sometimes the customer has to be delayed in delivery, resulting in reduced customer satisfaction.
Disclosure of Invention
In view of the above-mentioned deficiencies of the prior art, the present invention provides a customized cluster configuration method, system, terminal and storage medium to solve the above-mentioned technical problems.
In a first aspect, the present invention provides a customized cluster configuration method, including:
setting a configuration file according to the customer requirement, wherein the configuration file comprises a hard disk partition file and a network basic information configuration file;
the method comprises the steps that installation files and drivers needed by cluster configuration are saved in a designated directory of a main node, hard disk partition files are saved in a designated directory of a system installation program, and hard disk partitioning is completed according to the hard disk partition files in the system installation process;
setting basic information of a main node, a management node and a slave node in the main node according to the network basic information configuration file;
distributing network configuration information and a network configuration script to each slave node according to the slave node basic information, and carrying out network setting on the slave nodes by the network configuration script according to the network configuration information received from the slave nodes;
after the slave node network is set up, the file transfer service is enabled on the basis of the pre-established cluster local area network.
Further, the setting of the basic information of the master node, the management node, and the slave node in the master node according to the network basic information configuration file includes:
and setting a master node IP address, a host name, a management node IP address, a management node host name, a slave node IP address range and host name range, a gateway address and a subnet mask according to the network basic information configuration file by using the basic configuration script.
Further, the distributing the network configuration information and the network configuration script to each slave node according to the slave node basic information includes:
randomly extracting network configuration information from the node basic information, and sending the network configuration information to the slave nodes without the network configuration information, wherein the sent network configuration information does not need to be sent repeatedly, and the network configuration information comprises a host name and an IP address.
Further, the method further comprises:
collecting the machine serial number, the IP address and the host name of each slave node by using an information collection script;
binding and storing the machine serial number, the IP address and the host name of each slave node to a slave node list;
and checking the consistency of the corresponding relation between the IP address and the host name in the slave node list and the slave node basic information.
In a second aspect, the present invention provides a customized cluster configuration system, including:
the file preparation unit is configured for setting configuration files according to customer requirements, wherein the configuration files comprise hard disk partition files and network basic information configuration files;
the hard disk partitioning unit is configured to store the installation files and the drives required by cluster configuration under the specified directory of the nodes, store the hard disk partitioning files under the specified directory of the system installation program, and complete hard disk partitioning according to the hard disk partitioning files in the system installation process;
the basic configuration unit is used for setting basic information of a main node, a management node and a slave node in the main node according to the network basic information configuration file;
the network setting unit is configured to distribute network configuration information and a network configuration script to each slave node according to the slave node basic information, and the network configuration script performs network setting on the slave node according to the network configuration information received from the slave node;
and the cluster establishing unit is configured to enable the file transfer service on the basis of the pre-established cluster local area network after the slave node network is set.
Further, the basic setting unit includes:
and the basic setting module is configured for setting a master node IP address, a host name, a management node IP address, a management node host name, a slave node IP address range and host name range, a gateway address and a subnet mask according to the network basic information configuration file by using the basic configuration script.
Further, the network setting unit includes:
and the information distribution module is configured to randomly extract the network configuration information from the node basic information and send the network configuration information to the slave node without the network configuration information, wherein the sent network configuration information is not repeatedly sent, and comprises a host name and an IP address.
Further, the system further comprises:
the information acquisition module is configured for acquiring the machine serial number, the IP address and the host name of each slave node by using the information acquisition script;
the information binding module is configured for binding and storing the machine serial number, the IP address and the host name of each slave node to a slave node list;
and the information checking module is configured to check the consistency between the corresponding relation between the IP address and the host name in the slave node list and the slave node basic information.
In a third aspect, a terminal is provided, including:
a processor, a memory, wherein,
the memory is used for storing a computer program which,
the processor is used for calling and running the computer program from the memory so as to make the terminal execute the method of the terminal.
In a fourth aspect, a computer storage medium is provided having stored therein instructions that, when executed on a computer, cause the computer to perform the method of the above aspects.
The beneficial effect of the invention is that,
the customized cluster configuration method, the customized cluster configuration system, the terminal and the storage medium provided by the invention can realize customized cluster configuration by presetting the configuration file according to the needs of customers and automatically configuring the nodes according to the configuration file by using the script. The invention can realize the customized cluster configuration of the cluster, improve the cluster configuration efficiency and accuracy and improve the customer satisfaction.
In addition, the invention has reliable design principle, simple structure and very wide application prospect.
Drawings
In order to more clearly illustrate the embodiments or technical solutions in the prior art of the present invention, the drawings used in the description of the embodiments or prior art will be briefly described below, and it is obvious for those skilled in the art that other drawings can be obtained based on these drawings without creative efforts.
FIG. 1 is a schematic flow diagram of a method of one embodiment of the invention.
FIG. 2 is another schematic flow diagram of a method of one embodiment of the invention.
FIG. 3 is a schematic block diagram of a system of one embodiment of the present invention.
Fig. 4 is a schematic structural diagram of a terminal according to an embodiment of the present invention.
Detailed Description
In order to make those skilled in the art better understand the technical solution of the present invention, the technical solution in the embodiment of the present invention will be clearly and completely described below with reference to the drawings in the embodiment of the present invention, and it is obvious that the described embodiment is only a part of the embodiment of the present invention, 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 invention.
The present invention relates to the noun explanation:
HPC cluster master nodes are management servers (mu 01, mu02, mu03, etc.) of a large cluster of clusters, which may have multiple management servers. The master node needs to have the function of a network automatic canning system for each node and control the working state of each node. The method needs to realize DHCP service setting, tftpboot service, host name configuration service, IP management and control service, updating of each node driving service and the like. The main configuration files are as follows: iso mirror image, cfg configuration, tftpboot configuration, DHCP configuration, system mounting method, binding configuration file, etc.
And each node server, such as a computing node server, a GPU node server, a web management node server, an IO node, an IB node and the like. The automatic canning system, the fixed configuration of the host name and the IP, the partition division, the naming of each hard disk and the automatic mounting are required to be met.
FIG. 1 is a schematic flow diagram of a method of one embodiment of the invention. The execution subject in fig. 1 may be a customized cluster configuration system.
As shown in fig. 1, the method includes:
step 110, setting configuration files according to customer requirements, wherein the configuration files comprise hard disk partition files and network basic information configuration files;
step 120, storing the installation files and the drivers required by cluster configuration under the specified directory of the host node, storing the hard disk partition files under the specified directory of a system installation program, and completing hard disk partition according to the hard disk partition files in the system installation process;
step 130, setting basic information of a main node, a management node and a slave node in the main node according to the network basic information configuration file;
step 140, distributing network configuration information and a network configuration script to each slave node according to the slave node basic information, and carrying out network setting on the slave nodes by the network configuration script according to the network configuration information received from the slave nodes;
step 150, after the slave node network is set up, the file transfer service is enabled on the basis of the pre-established cluster local area network.
In order to facilitate understanding of the present invention, the following describes the customized cluster configuration method provided by the present invention with reference to the principle of the customized cluster configuration method of the present invention.
Specifically, as shown in fig. 2, the customized cluster configuration method includes:
and S1, after the client requirement information is received, the client information needs to be analyzed accurately, and the uncertain information needs to be fed back to the client for confirmation again.
And S2, planning and implementing the requirements for the functions of the main node in the client information, the partition requirements, the fixed IP requirements, the host name requirements, the network settings, the one-to-one binding of the fixed IP and the host name and the like. And if the method cannot be realized, returning to the analysis. Verification then continues until successful.
The host node is first set up through the HPC installation environment. The various component drivers required by the HPC cluster are placed in a specific arbitrary directory. For example, the master node partition requirements and the cluster parameter requirements of each node extract img files and system installation packages from the system image of the rhel7u6 in the erection environment. After the main node system is canned, the image files are required to be placed in any specific directory to place the extracted img files and the system installation package. A tftp service (file transfer service) was established.
hpc cluster configuration requirements:
/root 50G
Swap 32G
/boot 512M
/var 20G
/usr 30G
/wglogs 10G
/tmp 20G
the remainder of/data 600G.
/scr01 1.92T(SSD)
The configuration of the main node is automatically configured by the main node configuration script, and the specific parameters are configured as follows: computer node IP address: 192.168.40-100, computer node hostname: sginghw 001-sginghw 100
Management node IP address: 192.168.40.250, management node hostname: sgimhmn 01
Other server IP address: 192.168.40.241-249, other server hostnames: sginnhyy 01-09
Gateway address: 192.168.40.254, respectively; subnet mask: 255.
the hard disk partitioning method comprises the following steps:
the Cfg configuration file partitions the hard disk: and (4) placing the Cfg configuration file into a designated directory which can be called by a system filling program, and automatically completing partition division during system filling. The following were used:
part biosboot--fstype="biosboot"--size=1
part/boot/efi--fstype=efi--size=500--ondisk=sda
partswap--fstype="swap"--size=42000--ondisk=sda
part/boot--fstype="ext4"--size=512--ondisk=sda
part/--fstype="ext4"--size=51200--ondisk=sda
part/var--fstype="ext4"--size=20480--ondisk=sda
part/usr--fstype="ext4"--size=30720--ondisk=sda
part/tmp--fstype="ext4"--size=20480--ondisk=sda
part/wglogs--fstype="ext4"--size=10240--ondisk=sda
part/data--fstype="ext4"--grow--size=1--ondisk=sda
and after the system finishes canning, mounting catalogs of other hard disks are realized through the customized script hdd.
And S3, realizing the parameters of the node server and setting the group owner nodes one by one, and returning to analysis if the method cannot be realized. Verification then continues until successful.
And after the master node completes the configuration, the network configuration is carried out on the slave nodes. And the slave node acquires the mirror image file filled in the system and the execution script from the master node. After the slave node system is canned, the master node distributes configuration information to each slave node according to the slave node basic information (Hosts document configuration) configured in step S2.
And (3) Hosts document configuration:
Figure BDA0002993464560000081
Figure BDA0002993464560000091
the host name and IP address of the slave node are defined according to the configuration information. Each host name and IP address combination corresponds to a slave node.
And S4, after the HPC cluster service completes the setting according to the requirements of the client, establishing an independent local area network, and performing functional test and checking to determine whether the setting is correct, and timely correcting the found error.
And acquiring the machine serial number, the IP address and the host name of each slave node by using an information acquisition script, binding and storing the machine serial number, the IP address and the host name of each slave node to a slave node list, and checking the consistency of the corresponding relation between the IP address and the host name in the slave node list and the basic information of the slave node. Meanwhile, the execution result of each script is obtained, error information is searched, and if the error information exists, the error information is processed in time.
The master node distributes the list of slave nodes to each slave node. And disconnecting the HPC erection environment, establishing a cluster independent local area network environment, and starting the file transfer service.
As shown in fig. 3, the system 300 includes:
the file preparation unit 310 is configured to set configuration files according to customer requirements, where the configuration files include hard disk partition files and network basic information configuration files;
the hard disk partitioning unit 320 is configured to store the installation files and the drives required by the cluster configuration under the specified directory of the node, store the hard disk partitioning files under the specified directory of the system installation program, and complete hard disk partitioning according to the hard disk partitioning files in the system installation process;
a basic configuration unit 330 configured to set basic information of the master node, the management node, and the slave node in the master node according to the network basic information configuration file;
a network setting unit 340 configured to distribute network configuration information and a network configuration script to each slave node according to the slave node base information, and the network configuration script performs network setting on the slave node according to the network configuration information received from the slave node;
the cluster establishing unit 350 is configured to enable the file transfer service on the basis of the pre-established cluster local area network after the slave node network is set up.
Optionally, as an embodiment of the present invention, the basic setting unit includes:
and the basic setting module is configured for setting a master node IP address, a host name, a management node IP address, a management node host name, a slave node IP address range and host name range, a gateway address and a subnet mask according to the network basic information configuration file by using the basic configuration script.
Optionally, as an embodiment of the present invention, the network setting unit includes:
and the information distribution module is configured to randomly extract the network configuration information from the node basic information and send the network configuration information to the slave node without the network configuration information, wherein the sent network configuration information is not repeatedly sent, and comprises a host name and an IP address.
Optionally, as an embodiment of the present invention, the system further includes:
the information acquisition module is configured for acquiring the machine serial number, the IP address and the host name of each slave node by using the information acquisition script;
the information binding module is configured for binding and storing the machine serial number, the IP address and the host name of each slave node to a slave node list;
and the information checking module is configured to check the consistency between the corresponding relation between the IP address and the host name in the slave node list and the slave node basic information.
Fig. 4 is a schematic structural diagram of a terminal 400 according to an embodiment of the present invention, where the terminal 400 may be configured to execute the customized cluster configuration method according to the embodiment of the present invention.
Among them, the terminal 400 may include: a processor 410, a memory 420, and a communication unit 430. The components communicate via one or more buses, and those skilled in the art will appreciate that the architecture of the servers shown in the figures is not intended to be limiting, and may be a bus architecture, a star architecture, a combination of more or less components than those shown, or a different arrangement of components.
The memory 420 may be used for storing instructions executed by the processor 410, and the memory 420 may be implemented by any type of volatile or non-volatile storage terminal or combination thereof, such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk. The executable instructions in memory 420, when executed by processor 410, enable terminal 400 to perform some or all of the steps in the method embodiments described below.
The processor 410 is a control center of the storage terminal, connects various parts of the entire electronic terminal using various interfaces and lines, and performs various functions of the electronic terminal and/or processes data by operating or executing software programs and/or modules stored in the memory 420 and calling data stored in the memory. The processor may be composed of an Integrated Circuit (IC), for example, a single packaged IC, or a plurality of packaged ICs connected with the same or different functions. For example, the processor 410 may include only a Central Processing Unit (CPU). In the embodiment of the present invention, the CPU may be a single operation core, or may include multiple operation cores.
A communication unit 430, configured to establish a communication channel so that the storage terminal can communicate with other terminals. And receiving user data sent by other terminals or sending the user data to other terminals.
The present invention also provides a computer storage medium, wherein the computer storage medium may store a program, and the program may include some or all of the steps in the embodiments provided by the present invention when executed. The storage medium may be a magnetic disk, an optical disk, a read-only memory (ROM) or a Random Access Memory (RAM).
Therefore, the invention realizes customized cluster configuration by presetting the configuration file according to the customer needs and automatically configuring the nodes according to the configuration file by using the script. The invention can realize the customized cluster configuration of the cluster, improves the cluster configuration efficiency and accuracy, and improves the customer satisfaction, and the technical effect achieved by the embodiment can be referred to the description above, and is not repeated here.
Those skilled in the art will readily appreciate that the techniques of the embodiments of the present invention may be implemented as software plus a required general purpose hardware platform. Based on such understanding, the technical solutions in the embodiments of the present invention may be embodied in the form of a software product, where the computer software product is stored in a storage medium, 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, and the like, and the storage medium can store program codes, and includes instructions for enabling a computer terminal (which may be a personal computer, a server, or a second terminal, a network terminal, and the like) to perform all or part of the steps of the method in the embodiments of the present invention.
The same and similar parts in the various embodiments in this specification may be referred to each other. Especially, for the terminal embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant points can be referred to the description in the method embodiment.
In the embodiments provided in the present invention, it should be understood that the disclosed system and method can be implemented in other ways. For example, the above-described system embodiments are merely illustrative, and for example, the division of the units is only one logical functional division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, systems or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit.
Although the present invention has been described in detail by referring to the drawings in connection with the preferred embodiments, the present invention is not limited thereto. Various equivalent modifications or substitutions can be made on the embodiments of the present invention by those skilled in the art without departing from the spirit and scope of the present invention, and these modifications or substitutions are within the scope of the present invention/any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (10)

1. A method for customized cluster configuration, comprising:
setting a configuration file according to the customer requirement, wherein the configuration file comprises a hard disk partition file and a network basic information configuration file;
the method comprises the steps that installation files and drivers needed by cluster configuration are saved in a designated directory of a main node, hard disk partition files are saved in a designated directory of a system installation program, and hard disk partitioning is completed according to the hard disk partition files in the system installation process;
setting basic information of a main node, a management node and a slave node in the main node according to the network basic information configuration file;
distributing network configuration information and a network configuration script to each slave node according to the slave node basic information, and carrying out network setting on the slave nodes by the network configuration script according to the network configuration information received from the slave nodes;
after the slave node network is set up, the file transfer service is enabled on the basis of the pre-established cluster local area network.
2. The method of claim 1, wherein setting the basic information of the master node, the management node and the slave node in the master node according to the network basic information configuration file comprises:
and setting a master node IP address, a host name, a management node IP address, a management node host name, a slave node IP address range and host name range, a gateway address and a subnet mask according to the network basic information configuration file by using the basic configuration script.
3. The method of claim 1, wherein distributing network configuration information and network configuration scripts to each slave node according to the slave node base information comprises:
randomly extracting network configuration information from the node basic information, and sending the network configuration information to the slave nodes without the network configuration information, wherein the sent network configuration information does not need to be sent repeatedly, and the network configuration information comprises a host name and an IP address.
4. The method of claim 1, further comprising:
collecting the machine serial number, the IP address and the host name of each slave node by using an information collection script;
binding and storing the machine serial number, the IP address and the host name of each slave node to a slave node list;
and checking the consistency of the corresponding relation between the IP address and the host name in the slave node list and the slave node basic information.
5. A customized cluster configuration system, comprising:
the file preparation unit is configured for setting configuration files according to customer requirements, wherein the configuration files comprise hard disk partition files and network basic information configuration files;
the hard disk partitioning unit is configured to store the installation files and the drives required by cluster configuration under the specified directory of the nodes, store the hard disk partitioning files under the specified directory of the system installation program, and complete hard disk partitioning according to the hard disk partitioning files in the system installation process;
the basic configuration unit is used for setting basic information of a main node, a management node and a slave node in the main node according to the network basic information configuration file;
the network setting unit is configured to distribute network configuration information and a network configuration script to each slave node according to the slave node basic information, and the network configuration script performs network setting on the slave node according to the network configuration information received from the slave node;
and the cluster establishing unit is configured to enable the file transfer service on the basis of the pre-established cluster local area network after the slave node network is set.
6. The system of claim 5, wherein the base setting unit comprises:
and the basic setting module is configured for setting a master node IP address, a host name, a management node IP address, a management node host name, a slave node IP address range and host name range, a gateway address and a subnet mask according to the network basic information configuration file by using the basic configuration script.
7. The system according to claim 5, wherein the network setting unit comprises:
and the information distribution module is configured to randomly extract the network configuration information from the node basic information and send the network configuration information to the slave node without the network configuration information, wherein the sent network configuration information is not repeatedly sent, and comprises a host name and an IP address.
8. The system of claim 5, further comprising:
the information acquisition module is configured for acquiring the machine serial number, the IP address and the host name of each slave node by using the information acquisition script;
the information binding module is configured for binding and storing the machine serial number, the IP address and the host name of each slave node to a slave node list;
and the information checking module is configured to check the consistency between the corresponding relation between the IP address and the host name in the slave node list and the slave node basic information.
9. A terminal, comprising:
a processor;
a memory for storing instructions for execution by the processor;
wherein the processor is configured to perform the method of any one of claims 1-4.
10. A computer-readable storage medium, in which a computer program is stored which, when being executed by a processor, carries out the method according to any one of claims 1-4.
CN202110322751.5A 2021-03-26 2021-03-26 Customized cluster configuration method, system, terminal and storage medium Pending CN113076111A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110322751.5A CN113076111A (en) 2021-03-26 2021-03-26 Customized cluster configuration method, system, terminal and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110322751.5A CN113076111A (en) 2021-03-26 2021-03-26 Customized cluster configuration method, system, terminal and storage medium

Publications (1)

Publication Number Publication Date
CN113076111A true CN113076111A (en) 2021-07-06

Family

ID=76610276

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110322751.5A Pending CN113076111A (en) 2021-03-26 2021-03-26 Customized cluster configuration method, system, terminal and storage medium

Country Status (1)

Country Link
CN (1) CN113076111A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114579056A (en) * 2022-03-11 2022-06-03 联想开天科技有限公司 System partitioning method and device and electronic equipment

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109104318A (en) * 2018-08-23 2018-12-28 广东轩辕网络科技股份有限公司 The dispositions method and system of method for realizing cluster self-adaption deployment, the self-adaption deployment big data cluster based on cloud platform
CN110493028A (en) * 2019-06-28 2019-11-22 浪潮电子信息产业股份有限公司 A kind of clustered deploy(ment) method, system, device and computer readable storage medium
CN110719209A (en) * 2019-10-31 2020-01-21 北京浪潮数据技术有限公司 Cluster network configuration method, system, equipment and readable storage medium
CN111782232A (en) * 2020-07-31 2020-10-16 平安银行股份有限公司 Cluster deployment method and device, terminal equipment and storage medium
CN111901376A (en) * 2020-06-24 2020-11-06 苏州浪潮智能科技有限公司 Multi-node point cloud service deployment method and system based on IPV6
CN112003730A (en) * 2020-07-25 2020-11-27 苏州浪潮智能科技有限公司 Method, system, terminal and storage medium for rapid cluster deployment

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109104318A (en) * 2018-08-23 2018-12-28 广东轩辕网络科技股份有限公司 The dispositions method and system of method for realizing cluster self-adaption deployment, the self-adaption deployment big data cluster based on cloud platform
CN110493028A (en) * 2019-06-28 2019-11-22 浪潮电子信息产业股份有限公司 A kind of clustered deploy(ment) method, system, device and computer readable storage medium
CN110719209A (en) * 2019-10-31 2020-01-21 北京浪潮数据技术有限公司 Cluster network configuration method, system, equipment and readable storage medium
CN111901376A (en) * 2020-06-24 2020-11-06 苏州浪潮智能科技有限公司 Multi-node point cloud service deployment method and system based on IPV6
CN112003730A (en) * 2020-07-25 2020-11-27 苏州浪潮智能科技有限公司 Method, system, terminal and storage medium for rapid cluster deployment
CN111782232A (en) * 2020-07-31 2020-10-16 平安银行股份有限公司 Cluster deployment method and device, terminal equipment and storage medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114579056A (en) * 2022-03-11 2022-06-03 联想开天科技有限公司 System partitioning method and device and electronic equipment
CN114579056B (en) * 2022-03-11 2023-08-08 联想开天科技有限公司 System partitioning method and device and electronic equipment

Similar Documents

Publication Publication Date Title
CN110879712B (en) Cloud data center physical host installation method and related device
CN110719209B (en) Cluster network configuration method, system, equipment and readable storage medium
CN112235136B (en) Network file system backup method, system, terminal and storage medium
CN109375933B (en) Method and equipment for upgrading client
CN110554938B (en) BIOS (basic input output System) testing method, system, terminal and storage medium based on script set
CN114244717B (en) Configuration method and device of virtual network card resources, computer equipment and medium
CN115129249A (en) SAS link topology identification management method, system, terminal and storage medium
CN111949518A (en) Method, system, terminal and storage medium for generating fault detection script
CN111475104A (en) Storage device data online migration method, system, terminal and storage medium
CN111506331A (en) Server BMC refreshing method, system, terminal and storage medium
CN113076111A (en) Customized cluster configuration method, system, terminal and storage medium
CN112003730A (en) Method, system, terminal and storage medium for rapid cluster deployment
CN112463195A (en) Method, system, terminal and storage medium for cluster grouping online upgrade
CN111736993A (en) Cluster high-availability service configuration method, system, terminal and storage medium
CN111124772A (en) Cloud platform storage performance testing method, system, terminal and storage medium
CN110928492A (en) Hard disk replacement method, system, terminal and storage medium of distributed file system
CN116319492A (en) Switch testing method and device, storage medium and electronic equipment
CN114285739A (en) Node information batch configuration method, device, terminal and storage medium
CN109783031B (en) Method, device, terminal and storage medium for checking drive letter and slot number of RAID card
CN110703988B (en) Storage pool creating method, system, terminal and storage medium for distributed storage
CN111124890B (en) Distributed database performance test method, system, terminal and storage medium
CN110175096B (en) GPU (graphics processing Unit) pressurization test method, system, terminal and storage medium
CN114281473A (en) Cloud platform test environment management method, system, terminal and storage medium
CN114356970A (en) Storage system resource caching method and device
CN113886153A (en) Container-based network card pressure testing method and device

Legal Events

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