CN108075914B - Dynamic capacity expansion and reduction method and network equipment - Google Patents

Dynamic capacity expansion and reduction method and network equipment Download PDF

Info

Publication number
CN108075914B
CN108075914B CN201611005915.7A CN201611005915A CN108075914B CN 108075914 B CN108075914 B CN 108075914B CN 201611005915 A CN201611005915 A CN 201611005915A CN 108075914 B CN108075914 B CN 108075914B
Authority
CN
China
Prior art keywords
network element
container
related information
target cluster
target
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
CN201611005915.7A
Other languages
Chinese (zh)
Other versions
CN108075914A (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.)
China Mobile Communications Group Co Ltd
China Mobile Communications Ltd Research Institute
Original Assignee
China Mobile Communications Group Co Ltd
China Mobile Communications Ltd Research Institute
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 China Mobile Communications Group Co Ltd, China Mobile Communications Ltd Research Institute filed Critical China Mobile Communications Group Co Ltd
Priority to CN201611005915.7A priority Critical patent/CN108075914B/en
Publication of CN108075914A publication Critical patent/CN108075914A/en
Application granted granted Critical
Publication of CN108075914B publication Critical patent/CN108075914B/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/0876Aspects of the degree of configuration automation
    • H04L41/0886Fully automatic configuration
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Automation & Control Theory (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The embodiment of the invention discloses a method for dynamically expanding and shrinking capacity, which comprises the following steps: the network equipment triggers a target event, wherein the target event is an event for carrying out capacity expansion processing or capacity reduction processing on a target cluster; the target cluster comprises at least two first network element containers; acquiring second network element related information of a second network element from a database, wherein the database stores the first network element related information of each first network element container and the second network element related information of at least one second network element; the second network element is the same as or different from the first network element container; and sending the second network element related information of the second network element to each first network element container in the target cluster, so that each first network element container adjusts the first network element related information of the first network element container based on the obtained second network element related information. The embodiment of the invention also discloses network equipment.

Description

Dynamic capacity expansion and reduction method and network equipment
Technical Field
The present invention relates to communications technologies, and in particular, to a method and a network device for dynamically expanding and shrinking capacity.
Background
In the existing industrial containerized IMS application, a docker composition is generally used to manage the arrangement and operation of network element containers in a cluster, so as to implement IMS communication, where containerized images include I/S-CSCF, P-CSCF, and TAS network elements; however, when the network element containers are arranged by using the conventional Docker composition, communication among a plurality of network element containers cannot be realized, that is, multi-node communication cannot be supported; moreover, dynamic capacity expansion/capacity reduction of the network element container cannot be achieved, for example, after capacity expansion/capacity reduction is performed, the network element container needs to be manually configured, and the purpose of capacity expansion/capacity reduction of the cluster can be finally achieved.
Disclosure of Invention
In order to solve the existing technical problem, embodiments of the present invention provide a method and a network device for dynamically expanding and shrinking a volume, which can at least solve the above problems in the prior art.
The technical scheme of the embodiment of the invention is realized as follows:
a first aspect of an embodiment of the present invention provides a method for dynamically expanding capacity and reducing capacity, where the method includes:
the network equipment triggers a target event, wherein the target event is an event for carrying out capacity expansion processing or capacity reduction processing on a target cluster; the target cluster comprises at least two first network element containers;
acquiring second network element related information of a second network element from a database, wherein the database stores the first network element related information of each first network element container and the second network element related information of at least one second network element; the second network element is the same as or different from the first network element container;
and sending the second network element related information of the second network element to each first network element container in the target cluster, so that each first network element container adjusts the first network element related information of the first network element container based on the obtained second network element related information.
In the above solution, the target event is an event for performing an extension process on a target cluster, and the second network element is different from the first network element container; correspondingly, the method further comprises:
acquiring mirror image data from a private mirror image library; wherein, the private mirror library stores mirror image data corresponding to the first network element container in the target cluster;
sending the obtained mirror image data to the second network element so that the second network element starts the mirror image data to obtain a second network element container;
and obtaining the first network element related information of each first network element container in the target cluster from the database, and sending the first network element related information of each first network element container to the second network element container, so that the second network element container configures second network element related information corresponding to the second network element container based on the first network element related information.
In the above scheme, the method further comprises:
sending, to the database, the capacity expansion information for the target cluster; the capacity expansion information carries second network element related information of the second network element container; so that the database adjusts the target cluster based on the second network element related information of the second network element container, so that the target cluster includes the second network element container.
In the above solution, the target event is an event for performing a capacity reduction process on a target cluster, and the second network element is the same as the first network element container; correspondingly, the method further comprises:
selecting a second network element from at least two first network element containers of the target cluster;
and deleting the second network element from the target cluster after the container service processing of the second network element is determined to be completed.
In the foregoing solution, the deleting the second network element from the target cluster includes:
sending the capacity reduction information aiming at the target cluster to the database; the capacity reduction information carries second network element related information of the second network element; so that the database adjusts the target cluster based on the second network element-related information of the second network element, and deletes the second network element from the target cluster.
A second aspect of an embodiment of the present invention provides a network device, where the network device includes:
the processing unit is used for triggering a target event, wherein the target event is an event for performing capacity expansion processing or capacity reduction processing on a target cluster; the target cluster comprises at least two first network element containers; the first network element container is further configured to obtain second network element related information of a second network element from a database, where the database stores the first network element related information of each first network element container and the second network element related information of at least one second network element; the second network element is the same as or different from the first network element container;
a sending unit, configured to send the second network element related information of the second network element to each first network element container in the target cluster, so that each first network element container adjusts its own first network element related information based on the obtained second network element related information.
In the above solution, the target event is an event for performing an extension process on a target cluster, and the second network element is different from the first network element container; in a corresponding manner, the first and second electrodes are,
the processing unit is also used for acquiring mirror image data from the private mirror image library; wherein, the private mirror library stores mirror image data corresponding to the first network element container in the target cluster;
the sending unit is further configured to send the acquired mirror image data to the second network element, so that the second network element starts the mirror image data to obtain a second network element container; accordingly, the number of the first and second electrodes,
the processing unit is further configured to obtain, from the database, first network element related information of each first network element container in the target cluster;
the sending unit is further configured to send the first network element related information of each first network element container to the second network element container, so that the second network element container configures second network element related information corresponding to the second network element container based on the first network element related information.
In the foregoing solution, the sending unit is further configured to send, to the database, the extension information for the target cluster; the capacity expansion information carries second network element related information of the second network element container; so that the database adjusts the target cluster based on the second network element related information of the second network element container, so that the target cluster includes the second network element container.
In the above solution, the target event is an event for performing a capacity reduction process on a target cluster, and the second network element is the same as the first network element container; in a corresponding manner, the first and second electrodes are,
the processing unit is further configured to select a second network element from at least two first network element containers of the target cluster; and deleting the second network element from the target cluster after the container service processing of the second network element is determined to be completed.
In the foregoing solution, the sending unit is further configured to send, to the database, the capacity reduction information for the target cluster; the capacity reduction information carries second network element related information of the second network element; so that the database adjusts the target cluster based on the second network element-related information of the second network element, and deletes the second network element from the target cluster.
The method and the network device for dynamically expanding and reducing the capacity of the embodiment of the invention trigger the event of expanding or reducing the capacity of the target cluster through the network device, acquire the second network element related information of the second network element from the database, further sending second network element related information of said second network element to each of said first network element containers in said target cluster, therefore, each first network element container is convenient to adjust the first network element related information of the first network element container based on the obtained second network element related information, so as to realize the communication between the second network element and the first network element container, wherein, because the second network element and the first network element container are the same or different, therefore, the method of the embodiment of the invention realizes the communication among the multi-network element containers, and further realizes the purpose of intelligently and automatically carrying out capacity expansion and capacity reduction on the target cluster.
Drawings
FIG. 1 is a schematic flow chart illustrating an implementation of a method for dynamically expanding and shrinking a volume according to an embodiment of the present invention;
FIG. 2 is a schematic diagram of a process of creating a target cluster according to an embodiment of the present invention;
FIG. 3 is a flowchart illustrating a specific implementation of dynamic capacity expansion according to an embodiment of the present invention;
FIG. 4 is a schematic diagram illustrating a specific implementation flow of dynamic scaling according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of a logic unit of a network device according to an embodiment of the present invention.
Detailed Description
So that the manner in which the features and aspects of the present invention can be understood in detail, a more particular description of the invention, briefly summarized above, may be had by reference to embodiments, some of which are illustrated in the appended drawings.
Example one
The present embodiment provides a method for dynamically expanding capacity and reducing capacity, where the present embodiment can implement multi-node deployment and multi-node communication, and achieve the purpose of dynamically expanding capacity and reducing capacity. Specifically, fig. 1 is a schematic flow chart illustrating an implementation process of the dynamic capacity expansion and reduction method according to the embodiment of the present invention, as shown in fig. 1, the method includes:
step 101: the network equipment triggers a target event, wherein the target event is an event for carrying out capacity expansion processing or capacity reduction processing on a target cluster; the target cluster comprises at least two first network element containers;
in this embodiment, the network device supports a kubernet service; here, Kubernetes is an open source orchestration system based on a Docker container, and can manage Docker applications across multiple hosts and provide a basic mechanism for application deployment maintenance and extension. The Kubernetes service is used, so that single-point failure can be effectively avoided, and the expansion/contraction of the cluster can be conveniently carried out.
Step 102: acquiring second network element related information of a second network element from a database, wherein the database stores the first network element related information of each first network element container and the second network element related information of at least one second network element; the second network element is the same as or different from the first network element container;
in this embodiment, the network element related information may specifically include network information and configuration information; that is, the first network element related information of the first network element container includes the network information and the configuration information of the first network element container; the second network element related information of the second network element includes network information and configuration information of the second network element.
In this embodiment, the database may specifically be a key-value database Etcd, and may be applied to services such as a distributed network, service discovery, configuration management, task scheduling, and load balancing. The database Etcd writes the network information and the configuration information of each network element into the database Etcd in a RESTAPI mode, and in the process of multi-node deployment, the Kubernetes can acquire the network information and the configuration information of a certain network element from the data block Etcd and transmit the network information and the configuration information of the certain network element to a known network element container (such as a first network element container in a target cluster), so that multi-node deployment is realized. Meanwhile, when the cluster expands or contracts the capacity, before the Kubernets add or delete the network element containers, the Kubernets write the information of the added or deleted network element containers into the database Etcd so as to cooperate with the dynamic expansion or contraction of the telecommunication application.
In this embodiment, since the database Etcd stores the network information and the configuration information of a plurality of network elements, when each network element container is started, the network information and the configuration information of other network element containers can be acquired from the database Etcd through the Kubernetes service, and then the configuration file of each network element container is configured.
Step 103: and sending the second network element related information of the second network element to each first network element container in the target cluster, so that each first network element container adjusts the first network element related information of the first network element container based on the obtained second network element related information.
In a specific embodiment, the target event is an event for performing an extension process on a target cluster, and the container of the second network element is different from that of the first network element; that is, when the target cluster needs to be expanded, the network device obtains mirror image data from a private mirror image library; the private mirror library stores mirror image data corresponding to the first network element container in the target cluster, so that the purpose of mirror image sharing is achieved; further, the network device sends the acquired mirror image data to the second network element, so that the second network element starts the mirror image data to obtain a second network element container; meanwhile, the network device further obtains the first network element related information of each first network element container in the target cluster from the database, and sends the first network element related information of each first network element container to the second network element container, so that the second network element container configures second network element related information corresponding to the second network element container based on the first network element related information, and further communication among multiple network element containers is achieved.
In this embodiment, in an expansion event, the network device further sends expansion information for the target cluster to the database; the capacity expansion information carries second network element related information of the second network element container; so that the database adjusts the target cluster based on the second network element related information of the second network element container, so that the target cluster includes the second network element container.
In another specific embodiment, the target event is an event for performing a capacity reduction process on a target cluster, and the second network element is the same as the first network element container; that is to say, when the target cluster needs to be scaled down, the network device selects a target first network element container from at least two first network element containers of the target cluster, takes the target first network element container as the second network element, and deletes the second network element from the target cluster after determining that the container service processing of the second network element is completed. Specifically, the deleting the second network element from the target cluster includes: the network equipment sends the capacity reduction information aiming at the target cluster to the database; the capacity reduction information carries second network element related information of the second network element; so that the database adjusts the target cluster based on the second network element-related information of the second network element, and deletes the second network element from the target cluster.
In this way, the method according to the embodiment of the present invention triggers an event of performing capacity expansion or capacity reduction on a target cluster through a network device, obtains second network element related information of a second network element from a database, and further sends the second network element related information of the second network element to each first network element container in the target cluster, so that each first network element container adjusts its own first network element related information based on the obtained second network element related information, and realizes communication between the second network element and the first network element container.
Moreover, the network device can acquire the mirror image data corresponding to the first network element container from the private mirror image library and send the acquired mirror image data to the second network element, so that the method provided by the embodiment of the invention can achieve the purpose of sharing the mirror image data by a plurality of network elements.
The embodiments of the present invention are described in further detail below with specific application scenarios; fig. 2 is a schematic diagram of a creating process of a target cluster according to an embodiment of the present invention, and as shown in fig. 2, the creating step of the target cluster includes: uploading a container mirror image to a private mirror image library, creating a project and creating an application template; here, the application template defines a link relationship between applications and a starting manner of the applications, each application being a container; further, each first network element acquires mirror image data from the private mirror image library to the local through triggering of the kubernets service; each first network element starts mirror image data to obtain a first network element container; and checking the running state of each first network element container, acquiring the network element related information of each first network element container, and dynamically configuring the configuration file of each first network element container based on the network element related information of other first network element containers, wherein the configuration file comprises the target cluster of each first network element container after the target cluster is created.
Further, fig. 3 is a schematic diagram of a specific implementation flow of dynamic capacity expansion according to an embodiment of the present invention, and as shown in fig. 3, the step of dynamic capacity expansion includes: triggering an expansion event, designating a container to expand transversely, pulling mirror image data from a private mirror image library, controlling a new network element to start the mirror image data, generating a new network element container, and triggering the new network element container to obtain the cluster information of a target cluster from a database Etcd through kubernets service; here, the cluster information includes network information and configuration information of each network element container corresponding to the target cluster; the new network element container configures a configuration file of the new network element container based on the acquired cluster information; meanwhile, each original network element container in the target cluster senses data change of the database Etcd through the trigger of the kubernets service, each original network element container in the target cluster acquires network information and configuration information of a new network element container and network information and configuration information of other network element containers in the target cluster, and the configuration file of each original network element container is updated based on the acquired network information and configuration information; and detecting the operation state of each network element container to complete the capacity expansion process of the target cluster.
Fig. 4 is a schematic diagram of a specific implementation flow of dynamic capacity reduction in the embodiment of the present invention, and as shown in fig. 4, the steps of dynamic capacity reduction include: triggering an expansion event, designating a container to transversely shrink, and selecting a network element container from a target cluster to destroy; the network element container to be destroyed determines that the container service is completed; the method comprises the steps that a network element container to be destroyed sends capacity reduction information to a database Etcd through the triggering of kubernets service, so that the database Etcd deletes the relevant information of the network element container to be destroyed; deleting the network element container to be destroyed; meanwhile, an original network element container in the target cluster senses data change of a database Etcd through triggering of kubernets service, and after each original network element container in the target cluster obtains a destroyed network element container, network information and configuration information of other unredestroyed network element containers and self configuration files are updated; and detecting the running state of each network element container to finish the capacity reduction process of the target cluster.
Example two
This embodiment provides a network device, as shown in fig. 5, where the network device includes:
the processing unit 51 is configured to trigger a target event, where the target event is an event that performs capacity expansion processing or capacity reduction processing on a target cluster; the target cluster comprises at least two first network element containers; the first network element container is further configured to obtain second network element related information of a second network element from a database, where the database stores the first network element related information of each first network element container and the second network element related information of at least one second network element; the second network element is the same as or different from the first network element container;
a sending unit 52, configured to send the second network element related information of the second network element to each first network element container in the target cluster, so that each first network element container adjusts its own first network element related information based on the obtained second network element related information.
In an embodiment, the target event is an event for performing an extension process on a target cluster, and the container of the second network element is different from that of the first network element; in a corresponding manner, the first and second electrodes are,
the processing unit 51 is further configured to obtain mirror image data from a private mirror image library; wherein, the private mirror library stores mirror image data corresponding to the first network element container in the target cluster;
the sending unit 52 is further configured to send the acquired mirror image data to the second network element, so that the second network element starts the mirror image data to obtain a second network element container; accordingly, the number of the first and second electrodes,
the processing unit 51 is further configured to obtain, from the database, first network element related information of each first network element container in the target cluster;
the sending unit 52 is further configured to send the first network element related information of each first network element container to the second network element container, so that the second network element container configures second network element related information corresponding to the second network element container based on the first network element related information.
In another embodiment, the sending unit 52 is further configured to send, to the database, the extension information for the target cluster; the capacity expansion information carries second network element related information of the second network element container; so that the database adjusts the target cluster based on the second network element related information of the second network element container, so that the target cluster includes the second network element container.
In another embodiment, the target event is an event for performing a capacity reduction process on a target cluster, and the second network element is the same as the first network element container; in a corresponding manner, the first and second electrodes are,
the processing unit 51 is further configured to select a second network element from at least two first network element containers of the target cluster; and deleting the second network element from the target cluster after the container service processing of the second network element is determined to be completed.
In another embodiment, the sending unit 52 is further configured to send the capacity reduction information for the target cluster to the database; the capacity reduction information carries second network element related information of the second network element; so that the database adjusts the target cluster based on the second network element-related information of the second network element, and deletes the second network element from the target cluster.
Here, it should be noted that: the description of the above network device embodiment is similar to the description of the above method, and has the same beneficial effects as the method embodiment, and therefore, the description thereof is omitted. For technical details that are not disclosed in the embodiment of the network device of the present invention, those skilled in the art should refer to the description of the embodiment of the method of the present invention to understand that, for the sake of brevity, detailed description is not repeated here.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of a hardware embodiment, a software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
The foregoing is merely an example of the embodiments of the present invention, and it should be noted that, for those skilled in the art, various modifications and decorations can be made without departing from the principle of the embodiments of the present invention, and these modifications and decorations should also be regarded as the protection scope of the embodiments of the present invention.

Claims (11)

1. A method for dynamic capacity expansion and reduction, the method comprising:
the network equipment triggers a target event, wherein the target event is an event for carrying out capacity expansion processing or capacity reduction processing on a target cluster; the target cluster comprises at least two first network element containers;
acquiring second network element related information of a second network element from a database, wherein the database stores the first network element related information of each first network element container and the second network element related information of at least one second network element; the second network element is the same as or different from the first network element corresponding to the first network element container;
and sending the second network element related information of the second network element to each first network element container in the target cluster, so that each first network element container adjusts the first network element related information of the first network element container based on the obtained second network element related information.
2. The method of claim 1, wherein the target event is an event for performing an extension process on a target cluster, and the second network element is different from the first network element corresponding to the first network element container; correspondingly, the method further comprises:
acquiring mirror image data from a private mirror image library; wherein, the private mirror library stores mirror image data corresponding to the first network element container in the target cluster;
sending the obtained mirror image data to the second network element so that the second network element starts the mirror image data to obtain a second network element container;
and obtaining the first network element related information of each first network element container in the target cluster from the database, and sending the first network element related information of each first network element container to the second network element container, so that the second network element container configures second network element related information corresponding to the second network element container based on the first network element related information.
3. The method of claim 2, further comprising:
sending, to the database, the capacity expansion information for the target cluster; the capacity expansion information carries second network element related information of the second network element container; so that the database adjusts the target cluster based on the second network element related information of the second network element container, so that the target cluster includes the second network element container.
4. The method of claim 1, wherein the target event is an event for performing a capacity reduction process on a target cluster, and the second network element is the same as the first network element corresponding to the first network element container; correspondingly, the method further comprises:
selecting a target first network element container corresponding to a second network element from at least two first network element containers of the target cluster;
and deleting the target first network element container corresponding to the second network element from the target cluster after the container service corresponding to the second network element is determined to be processed.
5. The method of claim 4, wherein the deleting the target first network element container corresponding to the second network element from the target cluster comprises:
sending the capacity reduction information aiming at the target cluster to the database; the capacity reduction information carries second network element related information of the second network element; so that the database adjusts the target cluster based on the second network element-related information of the second network element, and deletes the target first network element container corresponding to the second network element from the target cluster.
6. A network device, characterized in that the network device comprises:
the processing unit is used for triggering a target event, wherein the target event is an event for performing capacity expansion processing or capacity reduction processing on a target cluster; the target cluster comprises at least two first network element containers; the first network element container is further configured to obtain second network element related information of a second network element from a database, where the database stores the first network element related information of each first network element container and the second network element related information of at least one second network element; the second network element is the same as or different from the first network element corresponding to the first network element container;
a sending unit, configured to send the second network element related information of the second network element to each first network element container in the target cluster, so that each first network element container adjusts its own first network element related information based on the obtained second network element related information.
7. The network device of claim 6, wherein the target event is an event for performing an extension process on a target cluster, and the second network element is different from the first network element corresponding to the first network element container; in a corresponding manner, the first and second electrodes are,
the processing unit is also used for acquiring mirror image data from the private mirror image library; wherein, the private mirror library stores mirror image data corresponding to the first network element container in the target cluster;
the sending unit is further configured to send the acquired mirror image data to the second network element, so that the second network element starts the mirror image data to obtain a second network element container; accordingly, the number of the first and second electrodes,
the processing unit is further configured to obtain, from the database, first network element related information of each first network element container in the target cluster;
the sending unit is further configured to send the first network element related information of each first network element container to the second network element container, so that the second network element container configures second network element related information corresponding to the second network element container based on the first network element related information.
8. The network device according to claim 7, wherein the sending unit is further configured to send, to the database, the extension information for the target cluster; the capacity expansion information carries second network element related information of the second network element container; so that the database adjusts the target cluster based on the second network element related information of the second network element container, so that the target cluster includes the second network element container.
9. The network device of claim 6, wherein the target event is an event for performing a capacity reduction process on a target cluster, and the second network element is the same as the first network element corresponding to the first network element container; in a corresponding manner, the first and second electrodes are,
the processing unit is further configured to select, from the at least two first network element containers of the target cluster, a target first network element container corresponding to the second network element; and deleting the target first network element container corresponding to the second network element from the target cluster after the container service corresponding to the second network element is determined to be processed.
10. The network device according to claim 9, wherein the sending unit is further configured to send, to the database, the capacity reduction information for the target cluster; the capacity reduction information carries second network element related information of the second network element; so that the database adjusts the target cluster based on the second network element-related information of the second network element, and deletes the target first network element container corresponding to the second network element from the target cluster.
11. A storage medium storing a computer program, characterized in that the computer program realizes the steps of the method according to any one of claims 1 to 5 when executed by a processor.
CN201611005915.7A 2016-11-15 2016-11-15 Dynamic capacity expansion and reduction method and network equipment Active CN108075914B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611005915.7A CN108075914B (en) 2016-11-15 2016-11-15 Dynamic capacity expansion and reduction method and network equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611005915.7A CN108075914B (en) 2016-11-15 2016-11-15 Dynamic capacity expansion and reduction method and network equipment

Publications (2)

Publication Number Publication Date
CN108075914A CN108075914A (en) 2018-05-25
CN108075914B true CN108075914B (en) 2020-06-16

Family

ID=62162597

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611005915.7A Active CN108075914B (en) 2016-11-15 2016-11-15 Dynamic capacity expansion and reduction method and network equipment

Country Status (1)

Country Link
CN (1) CN108075914B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109039765B (en) * 2018-08-28 2022-02-25 新华三技术有限公司 Network configuration method and device
CN111082954B (en) * 2018-10-22 2022-01-25 ***通信有限公司研究院 Network element load balancing method and network equipment
CN110704165A (en) * 2019-10-08 2020-01-17 浪潮云信息技术有限公司 High-availability deployment method for container
CN111104368B (en) * 2019-12-16 2023-08-22 浪潮云信息技术股份公司 Method and system for realizing storage capacity expansion of container
CN114501508A (en) * 2022-01-06 2022-05-13 阿里巴巴(中国)有限公司 Resource scheduling method and system of core network

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10218585B2 (en) * 2015-02-19 2019-02-26 Red Hat, Inc. Container host discovery
CN105376303B (en) * 2015-10-23 2018-11-06 深圳前海达闼云端智能科技有限公司 Docker implementation system and communication method thereof
CN105357296B (en) * 2015-10-30 2018-10-23 河海大学 Elastic caching system under a kind of Docker cloud platforms

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
Flannel原理;peach_li;《https://blog.csdn.net/u010305706/article/details/52208462》;20160815;全文 *
kubernetes容器编排***介绍;tengxy_cloud;《https://blog.csdn.net/tengxy_cloud/article/details/52847156》;20161018;全文 *

Also Published As

Publication number Publication date
CN108075914A (en) 2018-05-25

Similar Documents

Publication Publication Date Title
CN108075914B (en) Dynamic capacity expansion and reduction method and network equipment
US9876878B2 (en) Seamless cluster servicing
CN106445473B (en) container deployment method and device
CN106886434B (en) Distributed application installation method and device
US20140195482A1 (en) Data synchronization in a storage network
CN106445951B (en) File transmission method and device
CN109474456B (en) Configuration data processing method, device, computer equipment and storage medium
WO2017181830A1 (en) Synchronous capacity enlargement method and device for server, and storage medium
CN113037794B (en) Method, device and system for computing resource allocation scheduling
CN110806920A (en) Mirror image deployment method and device
CN111125065B (en) Visual data synchronization method, system, terminal and computer readable storage medium
CN112328170B (en) Cloud hard disk capacity expansion method and device, computer equipment and storage medium
CN111796838B (en) Automatic deployment method and device for MPP database
CN105320577B (en) A kind of data backup and resume method, system and device
CN104918112A (en) Camera resource application method and device
CN107770207A (en) The method of data syn-chronization between multi-terminal equipment
CN109558143B (en) Method and device for deploying applications in cluster
CN104808953B (en) Control the method, device and mobile terminal of data storage
WO2018064936A1 (en) Data processing method and device, and storage medium
CN110581784B (en) Node health check method, device and equipment
US20150234703A1 (en) System and method to perform a backup operation using one or more attributes of files
WO2018040848A1 (en) Configuration method and apparatus for virtual network element
CN106682199B (en) Method and device for realizing automatic expansion of Mongos cluster
CN117170799A (en) Container migration method, device, computer equipment and storage medium
CN111147226A (en) Data storage method, device and storage medium

Legal Events

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