CN112532440B - Super-fusion node expansion method and device, storage medium and electronic equipment - Google Patents

Super-fusion node expansion method and device, storage medium and electronic equipment Download PDF

Info

Publication number
CN112532440B
CN112532440B CN202011329272.8A CN202011329272A CN112532440B CN 112532440 B CN112532440 B CN 112532440B CN 202011329272 A CN202011329272 A CN 202011329272A CN 112532440 B CN112532440 B CN 112532440B
Authority
CN
China
Prior art keywords
super
fusion
node
expansion
nodes
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
CN202011329272.8A
Other languages
Chinese (zh)
Other versions
CN112532440A (en
Inventor
佟宪南
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Kingsoft Cloud Network Technology Co Ltd
Original Assignee
Beijing Kingsoft Cloud Network Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Kingsoft Cloud Network Technology Co Ltd filed Critical Beijing Kingsoft Cloud Network Technology Co Ltd
Priority to CN202011329272.8A priority Critical patent/CN112532440B/en
Publication of CN112532440A publication Critical patent/CN112532440A/en
Application granted granted Critical
Publication of CN112532440B publication Critical patent/CN112532440B/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
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • H04L41/0813Configuration setting characterised by the conditions triggering a change of settings
    • H04L41/0816Configuration setting characterised by the conditions triggering a change of settings the condition being an adaptation, e.g. in response to network events
    • 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/0876Aspects of the degree of configuration automation
    • H04L41/0886Fully automatic configuration
    • 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/50Network service management, e.g. ensuring proper service fulfilment according to agreements
    • H04L41/5041Network service management, e.g. ensuring proper service fulfilment according to agreements characterised by the time relationship between creation and deployment of a service
    • H04L41/5051Service on demand, e.g. definition and deployment of services in real time
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/2866Architectures; Arrangements
    • H04L67/30Profiles
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/51Discovery or management thereof, e.g. service location protocol [SLP] or web services
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Automation & Control Theory (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Hardware Redundancy (AREA)

Abstract

The invention provides a super-fusion node expansion method and device, a storage medium and electronic equipment, wherein the method comprises the following steps: when the main super-fusion node detects that the super-fusion system to which the main super-fusion node belongs meets the preset expansion condition, determining the number of the current super-fusion nodes of the super-fusion system; judging whether the number of the super-fusion nodes is smaller than a preset number threshold value or not; if not, determining each alternative server communicated with the main super-convergence node network; determining a target alternative server in each alternative server, and sending a pre-stored expansion file to the target alternative server, so that the target alternative server deploys computing nodes and storage nodes based on the expansion file; and taking the target alternative servers with the deployed computing nodes and storage nodes as the super-fusion nodes of the super-fusion system. By applying the method provided by the invention, the node expansion can be carried out after the super-fusion system is detected to meet the expansion condition, and the expansion efficiency of the super-fusion node is improved.

Description

Super-fusion node expansion method and device, storage medium and electronic equipment
Technical Field
The invention relates to the technical field of computers, in particular to a super-fusion node expansion method and device, a storage medium and electronic equipment.
Background
In recent years, with the development of computer science and technology, the super fusion technology is more and more widely applied, the super fusion refers to a software architecture fusing management, calculation, storage and network capabilities on one server, and the super fusion gradually becomes the mainstream of a data center architecture due to the advantages of low cost and high reliability.
However, in the process of providing services, the super-fusion system often needs to be subjected to node expansion due to the increase of service requirements of users, and technicians are required to perform manual configuration on site each time the super-fusion system is subjected to node expansion, and the manual configuration mode usually consumes a long time and has a high error rate, so that the super-fusion system cannot meet the service requirements of the users in time.
Disclosure of Invention
The technical problem to be solved by the invention is to provide a super-fusion node expansion method, which can complete the expansion of super-fusion nodes in time under the condition that a super-fusion system meets the expansion conditions.
The invention also provides a super-fusion node expansion device which is used for ensuring the realization and the application of the method in practice.
A super-fusion node expansion method comprises the following steps:
when a pre-deployed main super-fusion node detects that a super-fusion system to which the main super-fusion node belongs meets a preset expansion condition, determining the number of the current super-fusion nodes of the super-fusion system;
judging whether the number of the super-fusion nodes is smaller than a preset number threshold value or not;
if the number of the super-fusion nodes is not less than the number threshold, determining each alternative server in network communication with the main super-fusion node;
determining a target alternative server in each alternative server, and sending a pre-stored expansion file to the target alternative server, so that the target alternative server deploys a computing node and a storage node based on the expansion file;
and taking the target alternative server with the deployed computing nodes and storage nodes as the super-fusion nodes of the super-fusion system.
Optionally, the method includes a process in which a pre-deployed master super-fusion node detects that a super-fusion system to which the master super-fusion node belongs meets a preset expansion condition, where the process includes:
the main super-fusion node responds to a node expansion instruction sent by a user, authority verification is carried out on the user, and if the authority verification is passed, the super-fusion system is determined to meet the expansion condition;
alternatively, the first and second electrodes may be,
and when the main super-fusion node detects that the residual service resources in the super-fusion system are smaller than a preset residual resource threshold, determining that the super-fusion system meets the expansion condition.
The above method, optionally, further includes:
when an application installation request is received, acquiring an application installation file corresponding to the application installation request on a pre-established cloud platform;
and sending the application installation file to a virtual machine corresponding to the application installation request, and triggering the virtual machine to perform application deployment based on the application installation file.
Optionally, in the method, the sending the application installation file to the virtual machine includes:
sending an application installation file to a target storage node providing storage resources for the virtual machine, so that the target storage node stores the application installation file, and stores the application installation file to a copy corresponding to the target storage node; the target storage node is a storage node in the main super-fusion node, and the physical server to which the copy belongs is different from the physical server to which the super-fusion node belongs.
Optionally, the method includes a deployment process of the master super-fusion node, including:
responding to a deployment instruction sent by a user, and acquiring a corresponding super-fusion configuration file;
and configuring a control node, a computing node, a network node and a storage node based on the super-fusion configuration file so as to complete the deployment of the main super-fusion node.
Optionally, the method for determining a target candidate server in each candidate server includes:
respectively determining the current residual service resources of each alternative server;
and determining the alternative server with the most service resources left at present as the target alternative server.
Optionally, the method, after taking the target candidate server where the computing node and the storage node have been deployed as the super-fusion node of the super-fusion system, further includes:
acquiring node parameters of the super-fusion node;
and updating management data in a super-fusion node management table of the super-fusion system based on the node parameters.
A super-fusion node expansion device comprises:
the system comprises a detection unit, a selection unit and a selection unit, wherein the detection unit is used for determining the current super-fusion node number of the super-fusion system when a pre-deployed main super-fusion node detects that the super-fusion system to which the main super-fusion node belongs meets a preset expansion condition;
the judging unit is used for judging whether the number of the super-fusion nodes is smaller than a preset number threshold value or not;
a first determining unit, configured to determine, if the number of super-fusion nodes is not less than the number threshold, each candidate server in network communication with the master super-fusion node;
a second determining unit, configured to determine a target alternative server in each alternative server, and send a pre-stored expansion file to the target alternative server, so that the target alternative server deploys a computing node and a storage node based on the expansion file;
and the execution unit is used for taking the target alternative server which has deployed the computing node and the storage node as a super-fusion node of the super-fusion system.
A storage medium comprising stored instructions, wherein when executed, the instructions control a device on which the storage medium is located to execute the super-fusion node expansion method as described above.
An electronic device comprising a memory, and one or more instructions, wherein the one or more instructions are stored in the memory and configured to be executed by one or more processors to perform the hyper-fusion node expansion method as described above.
Compared with the prior art, the invention has the following advantages:
the invention provides a super-fusion node expansion method and device, a storage medium and electronic equipment, wherein the method comprises the following steps: when a pre-deployed main super-fusion node detects that a super-fusion system to which the main super-fusion node belongs meets a preset expansion condition, determining the number of the current super-fusion nodes of the super-fusion system; judging whether the number of the super-fusion nodes is smaller than a preset number threshold value or not; if the number of the super-fusion nodes is not less than the number threshold, determining each alternative server in network communication with the main super-fusion node; determining a target alternative server in each alternative server, and sending a pre-stored expansion file to the target alternative server, so that the target alternative server deploys a computing node and a storage node based on the expansion file; and taking the target alternative server with the deployed computing nodes and storage nodes as the super-fusion nodes of the super-fusion system. By applying the method provided by the invention, the super-fusion node can be expanded under the condition that the super-fusion system meets the expansion condition, the defects of long time consumption and high error rate caused by manual configuration can be avoided, and the expansion efficiency of the super-fusion node is greatly improved.
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 embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the provided drawings without creative efforts.
FIG. 1 is a flow chart of a method for a super-fusion node expansion method provided by the present invention;
FIG. 2 is a flow chart of a process for determining a target alternate server according to the present invention;
FIG. 3 is an exemplary diagram of an extended process provided by the present invention;
FIG. 4 is a diagram illustrating an exemplary architecture of a hyper-fusion system according to the present invention;
FIG. 5 is a diagram illustrating an example of a network architecture of a super-converged node according to the present invention;
FIG. 6 is a schematic structural diagram of a super-fusion node expansion apparatus provided in the present invention;
fig. 7 is a schematic structural diagram of an electronic device provided in the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be obtained by a person skilled in the art without making any creative effort based on the embodiments in the present invention, belong to the protection scope of the present invention.
The invention is operational with numerous general purpose or special purpose computing device environments or configurations. For example: personal computers, server computers, hand-held or portable devices, tablet-type devices, multi-processor apparatus, distributed computing environments that include any of the above devices or equipment, and the like.
The embodiment of the invention provides a super-fusion node expanding method which can be applied to various system platforms, wherein the method flow chart of the method is shown in figure 1 and specifically comprises the following steps:
s101: when the pre-deployed main super-fusion nodes detect that the super-fusion system to which the main super-fusion nodes belong meets the preset expansion conditions, determining the number of the current super-fusion nodes of the super-fusion system.
In the method provided by the embodiment of the present invention, the current number of the super-fusion nodes of the main super-fusion system can be determined by reading the management table of the super-fusion system, where the management table includes information of each super-fusion node in the super-fusion system.
Wherein the master super-fusion node may include at least one of a control node, a compute node, a network node, and a storage node.
In particular, the control node may be configured to issue instructions to a compute node, a network node, and a storage node, the compute node may be configured to provide computing capabilities for the virtual machine, the network node may be configured to provide VPC network capabilities, and the storage node may be configured to provide distributed storage capabilities.
The super-fusion system comprises a super-fusion node set, wherein the super-fusion node set at least comprises one main super-fusion node, the number of nodes in the super-fusion node set is the number of super-fusion nodes, and each super-fusion node corresponds to one physical server.
S102: and judging whether the number of the super-fusion nodes is smaller than a preset number threshold, if not, executing S103, and if so, executing S106.
In the method provided by the embodiment of the present invention, the number of super-fusion nodes may be compared with the number threshold to determine whether the number of super-fusion nodes is less than the number threshold.
Specifically, the number threshold may be any number, and may be 3, for example.
S103: and determining each alternative server communicated with the main super-convergence node network.
In the method provided by the embodiment of the invention, a main super-fusion node carries out network search, determines each physical server in network communication with the main super-fusion node, and takes the physical server in an idle state as a standby server in each physical server, wherein the residual service resources of the physical server in the idle state are greater than a preset idle resource threshold value.
S104: and determining target alternative servers in the alternative servers, and sending pre-stored expansion files to the target alternative servers, so that the target alternative servers deploy computing nodes and storage nodes based on the expansion files.
In the method provided by the embodiment of the invention, the expansion file comprises a computing service installation file, a storage service installation file and a related super-fusion environment configuration file, the target alternative server configures a super-fusion environment based on the super-fusion environment configuration file, deploys a computing node based on the computing service installation file, and deploys a storage node based on the storage service installation file.
The super-convergence environment configuration file comprises a deployment mode, a selected network card and a selected disk, wherein the deployment mode is a super-convergence deployment mode, and the network card can be a ten-gigabit network card and can be used as a storage network card; the disk may be an HDD and/or a disk, and is used to establish a storage pool corresponding to the super-fusion node.
S105: and taking the target alternative servers where the computing nodes and the storage nodes are deployed as the super-fusion nodes of the super-fusion system.
S106: determining each alternative server which is in network communication with the main super-fusion node, determining a target alternative server in the alternative servers, sending a pre-stored image file to the target alternative server, enabling the target alternative server to deploy a computing node, a storage node, a network node and a control node based on the image file, and taking the target alternative server which has deployed the computing node, the storage node, the network node and the control node as the super-fusion node of the super-fusion system.
The super-fusion node expanding method provided by the embodiment of the invention comprises the following steps: when a pre-deployed main super-fusion node detects that a super-fusion system to which the main super-fusion node belongs meets a preset expansion condition, determining the number of the current super-fusion nodes of the super-fusion system; judging whether the number of the super-fusion nodes is smaller than a preset number threshold value or not; if the number of the super-fusion nodes is not less than the number threshold, determining each alternative server in network communication with the main super-fusion node; determining a target alternative server in each alternative server, and sending a pre-stored expansion file to the target alternative server, so that the target alternative server deploys a computing node and a storage node based on the expansion file; and taking the target alternative server with the deployed computing nodes and storage nodes as the super-fusion nodes of the super-fusion system. By applying the method provided by the invention, the super-fusion node can be expanded under the condition that the super-fusion system meets the expansion conditions, the defects of long time consumption and high error rate caused by manual configuration can be avoided, and the expansion efficiency of the super-fusion node is greatly improved.
In the method provided in the embodiment of the present invention, based on the implementation process, specifically, a process in which a pre-deployed master super-fusion node detects that a super-fusion system to which the master super-fusion node belongs meets a preset expansion condition includes:
the main super-fusion node responds to a node expansion instruction sent by a user, carries out authority verification on the user, and if the authority verification is passed, the super-fusion system is determined to meet the expansion condition;
alternatively, the first and second electrodes may be,
and when the main super-fusion node detects that the residual service resources in the super-fusion system are smaller than a preset residual resource threshold, determining that the super-fusion system meets the expansion condition.
In the method provided by the embodiment of the invention, a user can send the node expansion instruction through a visual interface in a client, and after receiving the node expansion instruction, the main super-fusion node can verify the authority of the user based on the user information contained in the node expansion instruction.
The method comprises the steps that a preset user authority table can be traversed based on user information to judge whether node expansion authority corresponding to the user information exists in the user authority table or not, if yes, the user authority passes verification, and the user authority table records the corresponding relation between the user information and the user authority in advance.
Specifically, the remaining service resources may include indexes such as remaining computing resources, remaining storage resources, and remaining IO resources, each of which has a corresponding remaining threshold, and when at least one of the remaining computing resources, the remaining storage resources, and the remaining IO resources is smaller than the corresponding remaining threshold, it is indicated that the super-fusion system needs to perform node expansion, that is, the super-fusion system meets the expansion condition.
The expansion condition is that the residual service resources in the super-fusion system are smaller than a preset residual resource threshold, or a node expansion instruction sent by a user with a node expansion authority is received.
And determining the residual service resources in the super-fusion system by the residual service resources of each super-fusion node in the super-fusion system.
By applying the method provided by the embodiment of the invention, the node expansion of the super-fusion system can be carried out when the expansion instruction sent by the user with the expansion authority is received or the residual service resource of the super-fusion system is smaller than the residual resource threshold value, so that the service requirement of the user can be met in time.
In the method provided in the embodiment of the present invention, based on the foregoing implementation process, specifically, the method further includes:
when an application installation request is received, acquiring an application installation file corresponding to the application installation request on a pre-established cloud platform;
and sending the application installation file to a virtual machine corresponding to the application installation request, and triggering the virtual machine to perform application deployment based on the application installation file.
In the method provided by the embodiment of the invention, the cloud platform can be a public cloud platform, the application installation request can be an installation request of a PAAS product, and the application installation file can be an installation file of the PAAS product such as a database, a middleware and the like.
The virtual machine may be a virtual machine of any one super-fusion node running in the super-fusion system.
By applying the method provided by the embodiment of the invention, the cloud PAAS capability can be realized, rich product services can be provided for users, and the service requirements of the users are met.
In the method provided in the embodiment of the present invention, based on the implementation process, specifically, the sending the application installation file to the virtual machine includes:
sending an application installation file to a target storage node providing storage resources for the virtual machine, so that the target storage node stores the application installation file, and stores the application installation file to a copy corresponding to the target storage node; the target storage node is a storage node in the main super-fusion node, and a physical server to which the copy belongs is different from a physical server to which the super-fusion node belongs.
In the method provided by the embodiment of the invention, each super-fusion node in the super-fusion system is provided with at least one copy, and the copy of each super-fusion node is used for backing up the data of the super-fusion node.
When any one of the super-fusion nodes in the super-fusion system sends a fault, the data of the super-fusion node can be acquired from the copy corresponding to the super-fusion node, and the copy can be located in other super-fusion nodes, that is, the physical server to which the super-fusion node belongs and the physical server to which the copy belongs are different servers.
In the method provided by the embodiment of the invention, by setting the copy, when the hard disk of the main super-fusion node fails, corresponding data can be acquired from the copy, so that the safety of the data can be ensured.
In the method provided in the embodiment of the present invention, based on the implementation process, specifically, the deployment process of the master hyper-fusion node includes:
responding to a deployment instruction sent by a user, and acquiring a corresponding super-fusion configuration file;
and configuring a control node, a computing node, a network node and a storage node based on the super-fusion configuration file so as to complete the deployment of the main super-fusion node.
The method provided by the embodiment of the invention can access the physical server corresponding to the main super-fusion node through the movable memory, and send the deployment instruction to the physical server, so that the physical server obtains the super-fusion configuration file corresponding to the deployment instruction in the movable memory based on the path information contained in the deployment instruction, deploys the control node, the computing node and the storage node based on the super-fusion configuration file, and updates the management data, wherein the updating of the management data is to update the relevant data in the management table after the deployment of the computing and storing roles is completed, and is used for synchronization of the deployment process and confirmation of the result.
The process of deploying the control node specifically comprises the following steps: deploying a Controller role, isolating quotas of Controller service resources.
The process of deploying the computing nodes specifically comprises the following steps: and adding a Controller into the role of a computing node, and initializing the DVR network and the storage network.
The process of deploying the storage node may be: ceph distributed storage is initialized.
Specifically, the master super-convergence node may be deployed in an alinone mode.
By applying the method provided by the embodiment of the invention, the main super-fusion node can be rapidly deployed, and the deployment efficiency is improved.
In the method provided in the embodiment of the present invention, based on the foregoing implementation process, specifically, the determining a target candidate server in each candidate server includes, as shown in fig. 2:
s201: and respectively determining the current remaining service resources of each alternative server.
In the method provided by the embodiment of the invention, the service resource can be determined by the residual computing resource, storage resource and IO resource of the alternative server.
Specifically, the remaining computing resources of the alternative server and the corresponding weights thereof are calculated to obtain a computing resource value; calculating the rest storage resources of the selected server and the corresponding weights thereof to obtain a storage resource value; calculating the residual IO resources of the alternative server and the corresponding weight of the residual IO resources to obtain the corresponding IO resource value of the residual IO resources; and summing the calculated resource value, the stored resource value and the IO resource value to obtain the remaining service resources of the alternative server.
S202: and determining the alternative server with the most current residual service resources as the target alternative server.
The method provided by the embodiment of the invention sequences the currently remaining service resources of each alternative server, and determines the alternative server with more currently remaining service resources as the target alternative server.
By applying the method provided by the embodiment of the invention, the target alternative server with the most remaining service resources can be selected from the alternative servers to expand the super-fusion node, and the sufficient service resources of the super-fusion node obtained by expansion can be ensured.
In the method provided in the embodiment of the present invention, based on the implementation process, specifically, after the target candidate server in which the computing node and the storage node are deployed is used as the super-fusion node of the super-fusion system, the method further includes:
acquiring node parameters of the super-fusion node;
and updating the management data in the super-fusion node management table of the super-fusion system based on the node parameters.
In the method provided by the embodiment of the present invention, the node parameter may include a node identifier, a software parameter, a hardware parameter, and the like of the super-fusion node.
By applying the method provided by the embodiment of the invention, the related data in the management table can be updated, and the synchronization of the deployment process and the confirmation of the result can be realized.
In one embodiment provided by the invention, a main super-fusion node responds to a node expansion instruction sent by a user, carries out authority verification on the user, and if the authority verification is passed, determines that a super-fusion system meets an expansion condition and determines the number of the current super-fusion nodes of the super-fusion system; judging whether the number of the super-fusion nodes is less than 3; if the number of the super-fusion nodes is not less than 3, determining each alternative server communicated with the main super-fusion node network; determining a target alternative server in each alternative server based on a server identifier contained in the node expansion instruction, wherein the target alternative server can be a physical server corresponding to the server identifier, and sending an expansion file corresponding to the node expansion instruction to the target alternative server, so that the target alternative server deploys a computing node and a storage node based on the expansion file; and taking the target alternative server with the deployed computing nodes and storage nodes as the super-fusion nodes of the super-fusion system.
Referring to fig. 3, in an exemplary diagram of an expansion process provided in the embodiment of the present invention, a user may select a deployment type, a network card type, and a disk type in a target candidate server through a visual interface, where the deployment type may be super-fusion deployment or private cloud deployment, and after selecting relevant parameters on the visual interface, the user generates a node expansion instruction based on the parameters and sends the node expansion instruction to a master super-fusion node, so that the master super-fusion node generates an expansion file corresponding to the node expansion instruction based on the node expansion instruction, and sends the expansion file to the target candidate server, so that the target candidate server deploys computing nodes and storage nodes based on the expansion file, where if the current node number of the master super-fusion node is less than 3, the target candidate server should also deploy control nodes, and if the current node number of the master super-fusion node is greater than or equal to 3, the control nodes are not required to be deployed.
Referring to fig. 4, an exemplary diagram of a structure of a super-fusion system according to an embodiment of the present invention is provided, where when the super-fusion system is expanded laterally, if the number of super-fusion nodes in the super-fusion system is less than 3, each Node is expanded, that is, a Node is an expanded control Node, a computing storage Node is also expanded, and system reserved resources are improved, where one Node includes a virtual machine, a control Node, a computing Node, a storage Node, and a network Node that operate on the Node, and Ceph distributed storage is used among the nodes.
Referring to fig. 5, an exemplary diagram of a network architecture of a super-fusion node provided in an embodiment of the present invention specifically includes nodes of various types: the system comprises a computing node, a storage node, a network node, a control node and a fusion node; the architecture also includes various types of networks: storage public networks, storage cluster networks, business/data/VXLAN networks, management networks, and internetworking.
The computing node is required to be communicated with a public network of the storage node, and the computing node can be in a non-DVR mode without being networked; the storage public network and the storage cluster network can be combined, 10G network cards are needed, and the bond4 is made of double network cards as much as possible; the service network/data network needs 10G network cards, and the double network cards are used as bond4 as much as possible; the management network and the Internet can be combined, the double network cards are bound 4 as much as possible, and under the condition of NC separation, the management network and the Internet are not combined as much as possible; and under the fusion node, the storage public network and the storage cluster network are fused.
Corresponding to the method described in fig. 1, an embodiment of the present invention further provides a super-fusion node expansion apparatus, which is used for specifically implementing the method in fig. 1, where the super-fusion node expansion apparatus provided in the embodiment of the present invention may be applied to a computer terminal or various mobile devices, and a schematic structural diagram of the super-fusion node expansion apparatus is shown in fig. 6, and specifically includes:
a detecting unit 401, configured to determine, when a pre-deployed main super-fusion node detects that a super-fusion system to which the main super-fusion node belongs meets a preset expansion condition, the current number of super-fusion nodes of the super-fusion system;
a determining unit 402, configured to determine whether the number of super-fusion nodes is smaller than a preset number threshold;
a first determining unit 403, configured to determine, if the number of super-fusion nodes is not less than the number threshold, each candidate server in network communication with the master super-fusion node;
a second determining unit 404, configured to determine a target alternative server in each alternative server, and send a pre-stored expansion file to the target alternative server, so that the target alternative server deploys a computing node and a storage node based on the expansion file;
an executing unit 405, configured to use the target candidate server where the computing node and the storage node have been deployed as a super-fusion node of the super-fusion system.
According to the super-fusion node expansion device provided by the embodiment of the invention, when a pre-deployed main super-fusion node detects that a super-fusion system to which the main super-fusion node belongs meets a preset expansion condition, the current number of super-fusion nodes of the super-fusion system is determined; judging whether the number of the super-fusion nodes is smaller than a preset number threshold value or not; if the number of the super-fusion nodes is not less than the number threshold, determining each alternative server in network communication with the main super-fusion node; determining a target alternative server in each alternative server, and sending a pre-stored expansion file to the target alternative server, so that the target alternative server deploys a computing node and a storage node based on the expansion file; and taking the target alternative server with the deployed computing nodes and storage nodes as the super-fusion nodes of the super-fusion system. By applying the device provided by the invention, the super-fusion node can be expanded under the condition that the super-fusion system meets the expansion condition, the defects of long time consumption and high error rate caused by manual configuration can be avoided, and the expansion efficiency of the super-fusion node is greatly improved.
In an embodiment provided by the present invention, based on the implementation process, specifically, the detecting unit 401 is configured to:
the main super-fusion node responds to a node expansion instruction sent by a user, carries out authority verification on the user, and if the authority verification is passed, the super-fusion system is determined to meet the expansion condition;
alternatively, the first and second electrodes may be,
and when the main super-fusion node detects that the residual service resources in the super-fusion system are smaller than a preset residual resource threshold, determining that the super-fusion system meets the expansion condition.
In an embodiment provided by the present invention, based on the implementation process described above, specifically, the super-fusion node expansion apparatus further includes an application deployment unit, where the application deployment unit is configured to:
when an application installation request is received, acquiring an application installation file corresponding to the application installation request on a pre-established cloud platform;
and sending the application installation file to a virtual machine corresponding to the application installation request, and triggering the virtual machine to perform application deployment based on the application installation file.
In an embodiment provided by the present invention, based on the implementation process, specifically, the application deployment unit that sends the application installation file to the virtual machine is configured to:
sending an application installation file to a target storage node providing storage resources for the virtual machine, so that the target storage node stores the application installation file, and stores the application installation file to a copy corresponding to the target storage node; the target storage node is a storage node in the main super-fusion node, and the physical server to which the copy belongs is different from the physical server to which the super-fusion node belongs.
In an embodiment provided by the present invention, based on the implementation process, specifically, the super-fusion node expansion apparatus further includes a node deployment unit, where the node deployment unit is configured to:
responding to a deployment instruction sent by a user, and acquiring a corresponding super-fusion configuration file;
and configuring a control node, a computing node, a network node and a storage node based on the super-fusion configuration file so as to complete the deployment of the main super-fusion node.
In an embodiment provided by the present invention, based on the implementation process, specifically, the second determining unit is configured to:
respectively determining the current residual service resources of each alternative server;
and determining the alternative server with the most current residual service resources as the target alternative server.
In an embodiment provided by the present invention, based on the foregoing implementation process, specifically, the super-fusion node expansion apparatus further includes an updating unit, where the updating unit is configured to:
acquiring node parameters of the super-fusion node;
and updating management data in a super-fusion node management table of the super-fusion system based on the node parameters.
The specific principle and the execution process of each unit and each module in the super-fusion node expansion apparatus disclosed in the embodiment of the present invention are the same as those of the super-fusion node expansion method disclosed in the embodiment of the present invention, and reference may be made to corresponding parts in the super-fusion node expansion method provided in the embodiment of the present invention, which are not described herein again.
The embodiment of the invention also provides a storage medium, which comprises a stored instruction, wherein when the instruction runs, the device where the storage medium is located is controlled to execute the super-fusion node expansion method.
An embodiment of the present invention further provides an electronic device, a schematic structural diagram of which is shown in fig. 7, specifically including a memory 501 and one or more instructions 502, where the one or more instructions 502 are stored in the memory 501, and are configured to be executed by one or more processors 503 to execute the one or more instructions 502 to:
when a pre-deployed main super-fusion node detects that a super-fusion system to which the main super-fusion node belongs meets a preset expansion condition, determining the number of the current super-fusion nodes of the super-fusion system;
judging whether the number of the super-fusion nodes is smaller than a preset number threshold value or not;
if the number of the super-fusion nodes is not less than the number threshold, determining each alternative server in network communication with the main super-fusion node;
determining a target alternative server in each alternative server, and sending a pre-stored expansion file to the target alternative server, so that the target alternative server deploys a computing node and a storage node based on the expansion file;
and taking the target alternative server with the deployed computing nodes and storage nodes as the super-fusion nodes of the super-fusion system.
It should be noted that, in the present specification, the embodiments are all described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments may be referred to each other. For the device-like embodiment, since it is basically similar to the method embodiment, the description is simple, and reference may be made to the partial description of the method embodiment for relevant points.
Finally, it should also be noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrases "comprising one of 8230; \8230;" 8230; "does not exclude the presence of additional like elements in a process, method, article, or apparatus that comprises the element.
For convenience of description, the above devices are described as being divided into various units by function, and are described separately. Of course, the functions of the units may be implemented in the same software and/or hardware or in a plurality of software and/or hardware when implementing the invention.
From the above description of the embodiments, it is clear to those skilled in the art that the present invention can be implemented by software plus necessary general hardware platform. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which may be stored in a storage medium, such as ROM/RAM, magnetic disk, optical disk, etc., and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the method according to the embodiments or some parts of the embodiments.
The super-fusion node expanding method provided by the invention is described in detail, a specific example is applied in the method to explain the principle and the implementation mode of the invention, and the description of the embodiment is only used for helping to understand the method and the core idea of the invention; meanwhile, for a person skilled in the art, according to the idea of the present invention, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present invention.

Claims (10)

1. A super-fusion node expansion method is characterized by comprising the following steps:
when a pre-deployed main super-fusion node detects that a super-fusion system to which the main super-fusion node belongs meets a preset expansion condition, determining the number of the current super-fusion nodes of the super-fusion system;
judging whether the number of the super-fusion nodes is smaller than a preset number threshold value or not;
if the number of the super-fusion nodes is not less than the number threshold, determining each alternative server in network communication with the main super-fusion node;
determining a target alternative server in each alternative server, and sending a pre-stored expansion file to the target alternative server, so that the target alternative server deploys a computing node and a storage node based on the expansion file;
and taking the target alternative server with the deployed computing nodes and storage nodes as the super-fusion nodes of the super-fusion system.
2. The method according to claim 1, wherein the process that the pre-deployed master hyper-convergence node detects that the hyper-convergence system to which it belongs meets the pre-set propagation condition includes:
the main super-fusion node responds to a node expansion instruction sent by a user, carries out authority verification on the user, and if the authority verification is passed, the super-fusion system is determined to meet the expansion condition;
alternatively, the first and second liquid crystal display panels may be,
and when the main super-fusion node detects that the residual service resources in the super-fusion system are smaller than a preset residual resource threshold, determining that the super-fusion system meets the expansion condition.
3. The method of claim 1, further comprising:
when an application installation request is received, acquiring an application installation file corresponding to the application installation request on a pre-established cloud platform;
and sending the application installation file to a virtual machine corresponding to the application installation request, and triggering the virtual machine to perform application deployment based on the application installation file.
4. The method of claim 3, wherein sending the application installation file to the virtual machine comprises:
sending an application installation file to a target storage node providing storage resources for the virtual machine, so that the target storage node stores the application installation file, and stores the application installation file to a copy corresponding to the target storage node; the target storage node is a storage node in the main super-fusion node, and the physical server to which the copy belongs is different from the physical server to which the super-fusion node belongs.
5. The method according to claim 1, wherein the deployment process of the master super-fusion node comprises:
responding to a deployment instruction sent by a user, and acquiring a corresponding super-fusion configuration file;
and configuring a control node, a computing node, a network node and a storage node based on the super-fusion configuration file to complete the deployment of the main super-fusion node.
6. The method of claim 1, wherein the determining a target candidate server among the candidate servers comprises:
respectively determining the current residual service resources of each alternative server;
and determining the alternative server with the most current residual service resources as the target alternative server.
7. The method according to claim 1, wherein after the target candidate server with the computing node and the storage node deployed is used as the super-fusion node of the super-fusion system, the method further comprises:
acquiring node parameters of the super-fusion node;
and updating the management data in the super-fusion node management table of the super-fusion system based on the node parameters.
8. A super-fusion node expansion device is characterized by comprising:
the system comprises a detection unit, a selection unit and a selection unit, wherein the detection unit is used for determining the current super-fusion node number of the super-fusion system when a pre-deployed main super-fusion node detects that the super-fusion system to which the main super-fusion node belongs meets a preset expansion condition;
the judging unit is used for judging whether the number of the super-fusion nodes is smaller than a preset number threshold value or not;
a first determining unit, configured to determine, if the number of super-fusion nodes is not less than the number threshold, each candidate server that is in network communication with the master super-fusion node;
a second determining unit, configured to determine a target alternative server in each alternative server, and send a pre-stored expansion file to the target alternative server, so that the target alternative server deploys a computing node and a storage node based on the expansion file;
and the execution unit is used for taking the target alternative server which has deployed the computing node and the storage node as a super-fusion node of the super-fusion system.
9. A storage medium, characterized in that the storage medium comprises stored instructions, wherein when the instructions are executed, a device on which the storage medium is located is controlled to execute the super-fusion node expansion method according to any one of claims 1 to 7.
10. An electronic device comprising a memory and one or more instructions stored in the memory and configured to be executed by one or more processors to perform the super-fusion node expansion method of any one of claims 1-7.
CN202011329272.8A 2020-11-24 2020-11-24 Super-fusion node expansion method and device, storage medium and electronic equipment Active CN112532440B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011329272.8A CN112532440B (en) 2020-11-24 2020-11-24 Super-fusion node expansion method and device, storage medium and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011329272.8A CN112532440B (en) 2020-11-24 2020-11-24 Super-fusion node expansion method and device, storage medium and electronic equipment

Publications (2)

Publication Number Publication Date
CN112532440A CN112532440A (en) 2021-03-19
CN112532440B true CN112532440B (en) 2022-10-21

Family

ID=74993433

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011329272.8A Active CN112532440B (en) 2020-11-24 2020-11-24 Super-fusion node expansion method and device, storage medium and electronic equipment

Country Status (1)

Country Link
CN (1) CN112532440B (en)

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107037985A (en) * 2017-02-14 2017-08-11 中山大学 The super fusion integrated machine system of one kind and its horizontal and vertical expansion method
US10827025B2 (en) * 2017-10-18 2020-11-03 Hewlett Packard Enterprise Development Lp Allocations of arbitrary workloads among hyperconverged nodes
CN109947531B (en) * 2019-02-27 2021-05-07 广东唯一网络科技有限公司 Storage capacity expansion method and device of super-fusion all-in-one machine and storage medium
CN111245928A (en) * 2020-01-09 2020-06-05 深圳物控智联科技有限公司 Resource adjusting method based on super-fusion architecture, Internet of things server and medium

Also Published As

Publication number Publication date
CN112532440A (en) 2021-03-19

Similar Documents

Publication Publication Date Title
CN108040108B (en) Communication switching method, device, coordination server and readable storage medium
CN110286930B (en) Cloud platform upgrading method and device, terminal and storage medium
CN108023742A (en) A kind of expansion method of application, device and system
WO2016184037A1 (en) Service availability management method and apparatus, and network function virtualization infrastructure thereof
CN105607972B (en) A kind of method and device repaired extremely
CN110162428A (en) Method of data synchronization and device, electronic equipment and computer readable storage medium
CN112269694B (en) Management node determining method and device, electronic equipment and readable storage medium
CN111124430A (en) Micro-service deployment method and device of hybrid architecture
CN112114939A (en) Distributed system deployment equipment and method
CN115221156A (en) Database cluster capacity expansion method and device, computer equipment and storage medium
CN112532440B (en) Super-fusion node expansion method and device, storage medium and electronic equipment
CN112367186B (en) Fault protection method and device based on 0penStack bare computer
CN111464394B (en) Node monitoring method and device and storage medium
WO2018010603A1 (en) Storage mode upgrade method, apparatus and system based on video cloud storage system
CN116610336A (en) Firmware upgrading method, system, device and readable storage medium
CN111737130B (en) Public cloud multi-tenant authentication service testing method, device, equipment and storage medium
CN114995762A (en) Thick backup roll capacity expansion method, device, equipment and storage medium
CN109101253B (en) Management method and device for host in cloud computing system
CN111988383A (en) Method and device for verifying application opening micro-service treatment condition
EP3387533B1 (en) Disaster recovery of cloud resources
CN117608921A (en) Backup method, recovery method and related equipment of cloud database
CN116431291B (en) Deployment method, system, equipment and storage medium of virtualization management platform
WO2023221002A1 (en) Ota-based system updating method and apparatus, electronic device, and storage medium
CN115248716A (en) Container management method, device, equipment and computer readable storage medium
CN102999403B (en) A kind ofly call the test disposal route of PC, system and server

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