CN114710500A - Data management method and device, electronic equipment and computer storage medium - Google Patents
Data management method and device, electronic equipment and computer storage medium Download PDFInfo
- Publication number
- CN114710500A CN114710500A CN202210331123.8A CN202210331123A CN114710500A CN 114710500 A CN114710500 A CN 114710500A CN 202210331123 A CN202210331123 A CN 202210331123A CN 114710500 A CN114710500 A CN 114710500A
- Authority
- CN
- China
- Prior art keywords
- load balancing
- state information
- balancing equipment
- configuration
- load
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 72
- 238000013523 data management Methods 0.000 title claims abstract description 30
- 238000012545 processing Methods 0.000 claims abstract description 23
- 238000013070 change management Methods 0.000 claims abstract description 19
- 238000007726 management method Methods 0.000 claims description 44
- 238000012423 maintenance Methods 0.000 abstract description 20
- 230000008569 process Effects 0.000 description 34
- 238000012544 monitoring process Methods 0.000 description 18
- 101000652292 Homo sapiens Serotonin N-acetyltransferase Proteins 0.000 description 7
- 102100030547 Serotonin N-acetyltransferase Human genes 0.000 description 7
- 230000002776 aggregation Effects 0.000 description 6
- 238000004220 aggregation Methods 0.000 description 6
- 230000008859 change Effects 0.000 description 5
- 238000010586 diagram Methods 0.000 description 4
- 230000009977 dual effect Effects 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 238000002474 experimental method Methods 0.000 description 2
- 230000006870 function Effects 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 2
- 238000013461 design Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 239000013307 optical fiber Substances 0.000 description 1
- 230000000750 progressive effect Effects 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/10—Protocols in which an application is distributed across nodes in the network
- H04L67/1001—Protocols in which an application is distributed across nodes in the network for accessing one among a plurality of replicated servers
- H04L67/1004—Server selection for load balancing
- H04L67/1008—Server selection for load balancing based on parameters of servers, e.g. available memory or workload
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/08—Configuration management of networks or network elements
- H04L41/0803—Configuration setting
- H04L41/0813—Configuration setting characterised by the conditions triggering a change of settings
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/10—Protocols in which an application is distributed across nodes in the network
- H04L67/1001—Protocols in which an application is distributed across nodes in the network for accessing one among a plurality of replicated servers
- H04L67/1004—Server selection for load balancing
- H04L67/1012—Server selection for load balancing based on compliance of requirements or conditions with available server resources
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/2866—Architectures; Arrangements
- H04L67/30—Profiles
Abstract
The invention provides a data management method, a data management device, electronic equipment and a computer storage medium, wherein the data management method comprises the steps of collecting load state information and resource state information of load balancing equipment; when the load state information and the resource state information are determined not to be empty, acquiring parameters to be changed; processing the parameters to be changed to obtain a target data table; and updating the load state information and the resource state information of the load balancing equipment based on the target data table. In the scheme, based on the collected data, whether data change management needs to be carried out on the load balancing equipment or standardization of opening operation of the load balancing equipment is realized is determined; if the load state information and the resource state information are not empty, the load balancing equipment in the hybrid cloud environment needs to be changed and managed; if the load state information and the resource state information are empty, the opening operation standardization of the load balancing equipment in the hybrid cloud environment needs to be realized. By the method, the resource operation and maintenance efficiency can be improved.
Description
Technical Field
The present invention relates to the field of data processing technologies, and in particular, to a data management method and apparatus, an electronic device, and a computer storage medium.
Background
With the rapid development of public cloud technology, the current network load balancing product is not limited to hardware load balancing deployed by a private cloud, but also is supplemented by public cloud software load balancing, so that the complexity of operation and maintenance is increased due to diversification of operation and maintenance products.
Resource operation and maintenance and monitoring of the existing hybrid cloud need to be executed alternately among different types of cloud platforms, that is, a user needs to switch to another cloud platform to continue to execute resource operation and maintenance after one cloud platform finishes executing resource operation and maintenance, so that the resource operation and maintenance efficiency of the hybrid cloud is low.
Disclosure of Invention
In view of this, embodiments of the present invention provide a data management method, an apparatus, an electronic device, and a computer storage medium, so as to solve the problem of low resource operation and maintenance efficiency in the prior art.
In order to achieve the above purpose, the embodiments of the present invention provide the following technical solutions:
a first aspect of an embodiment of the present invention shows a data management method, where the method includes:
collecting load state information and resource state information of load balancing equipment;
when the load state information and the resource state information are determined not to be empty, acquiring parameters to be changed;
processing the parameters to be changed to obtain a target data table;
and updating the load state information and the resource state information of the load balancing equipment based on the target data table.
Optionally, the method further includes:
when the load state information and the resource state information are determined to be null, determining whether the load balancing equipment has manageable authority or not;
when the load balancing equipment is determined to have manageable rights, configuring a configuration file of the load balancing equipment according to preset configuration parameters corresponding to the load balancing equipment, wherein the preset configuration parameters comprise basic configuration parameters, management configuration parameters and high-availability configuration parameters, and the high-availability configuration parameters comprise first high-availability configuration parameters and second high-availability configuration parameters;
matching versions of the load balancing devices;
and deploying the load balancing equipment based on the configuration file, the version and a preset load balancing equipment deployment area of the load balancing equipment.
Optionally, the configuring the configuration file of the load balancing device according to the preset configuration parameters corresponding to the load balancing device includes:
configuring a basic configuration file of the load balancing equipment according to basic configuration parameters corresponding to the load balancing equipment;
configuring a management configuration file of the load balancing equipment according to the management configuration parameters corresponding to the load balancing equipment;
and when the number of the load balancing devices is determined to be the cluster, configuring the high-availability configuration file of the load balancing devices according to the first high-availability configuration parameter corresponding to the load balancing devices.
Optionally, the configuring the configuration file of the load balancing device according to the preset configuration parameters corresponding to the load balancing device includes:
configuring a basic configuration file of the load balancing equipment according to basic configuration parameters corresponding to the load balancing equipment;
configuring a management configuration file of the load balancing equipment according to the management configuration parameters corresponding to the load balancing equipment;
and when the number of the load balancing devices is determined not to be the cluster, configuring the high-availability configuration files of the load balancing devices according to second high-availability configuration parameters corresponding to the load balancing devices.
Optionally, the processing the parameter to be changed to obtain a target data table includes:
writing the parameters to be changed into an initial data table;
processing the initial data table according to a preset format to obtain an initial data table with a preset format;
and converting the initial data table in the preset format into a target data table.
A second aspect of the embodiments of the present invention shows a data management apparatus, including:
the load balancing acquisition module is used for acquiring load state information and resource state information of the load balancing equipment;
the change management module is used for acquiring parameters to be changed when the load state information and the resource state information are determined not to be empty; processing the parameters to be changed to obtain a target data table; and updating the load state information and the resource state information of the load balancing equipment based on the target data table.
Optionally, the method further includes:
the configuration switching module is used for determining whether the load balancing equipment has manageable authority or not when the load state information and the resource state information are determined to be null; when the load balancing equipment is determined to have manageable rights, configuring a configuration file of the load balancing equipment according to preset configuration parameters corresponding to the load balancing equipment, wherein the preset configuration parameters comprise basic configuration parameters, management configuration parameters and high-availability configuration parameters, and the high-availability configuration parameters comprise first high-availability configuration parameters and second high-availability configuration parameters; matching versions of the load balancing devices; and deploying the load balancing equipment based on the configuration file, the version and a preset load balancing equipment deployment area of the load balancing equipment.
Optionally, the configuration opening module configured to configure the configuration file of the load balancing device according to the preset configuration parameter corresponding to the load balancing device is specifically configured to:
configuring a basic configuration file of the load balancing equipment according to basic configuration parameters corresponding to the load balancing equipment; configuring a management configuration file of the load balancing equipment according to the management configuration parameters corresponding to the load balancing equipment; and when the number of the load balancing devices is determined to be the cluster, configuring the high-availability configuration file of the load balancing devices according to the first high-availability configuration parameter corresponding to the load balancing devices.
A third aspect of the embodiments of the present invention shows an electronic device, where the electronic device is configured to run a program, where the program executes the data management method according to the first aspect of the embodiments of the present invention when running.
A fourth aspect of the embodiments of the present invention shows a computer storage medium, where the storage medium includes a storage program, and when the program runs, a device in which the storage medium is located is controlled to execute the data management method according to the first aspect of the embodiments of the present invention.
Based on the data management method, the data management device, the electronic device and the computer storage medium provided by the embodiment of the invention, the method comprises the following steps: collecting load state information and resource state information of load balancing equipment; when the load state information and the resource state information are determined not to be empty, acquiring parameters to be changed; processing the parameters to be changed to obtain a target data table; and updating the load state information and the resource state information of the load balancing equipment based on the target data table. In the embodiment of the invention, manual assistance is not needed, and based on the collected load state information and resource state information, the data change management needs to be executed on the load balancing equipment or the standardization of the opening operation of the load balancing equipment is realized; if the load state information and the resource state information are not empty, processing the parameters to be changed to obtain a target data table; and updating the load state information and the resource state information of the load balancing equipment based on the target data table, so as to realize the change management of the load balancing equipment in the hybrid cloud environment, if the load state information and the resource state information are empty, configuring a configuration file of the load balancing equipment according to preset configuration parameters corresponding to the load balancing equipment, and then deploying the load balancing equipment based on the configuration file, the version and a preset load balancing equipment deployment area of the load balancing equipment, so as to realize the opening operation standardization of the load balancing equipment in the hybrid cloud environment. By the method, the resource operation and maintenance efficiency can be 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 embodiments or the prior art descriptions 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 schematic structural diagram of a data management apparatus according to an embodiment of the present invention;
FIG. 2 is a flow chart illustrating a data management method according to an embodiment of the present invention;
FIG. 3 is a schematic diagram illustrating a process flow of implementing change processing by a change management module according to an embodiment of the present invention;
fig. 4 is a schematic flow chart illustrating the configuration opening module to implement opening standardization according to an embodiment of 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 derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
In this application, 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 phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
As can be known from the background art, resource operation and maintenance and monitoring of the existing hybrid cloud need to be performed alternately between different types of cloud platforms, that is, a user needs to switch to another cloud platform to continue to perform resource operation and maintenance after one cloud platform performs resource operation and maintenance, which results in low resource operation and maintenance efficiency of the hybrid cloud and high operation and maintenance complexity of the existing hybrid cloud disaster tolerance.
In the embodiment of the invention, manual assistance is not needed, and based on the collected load state information and resource state information, the data change management needs to be executed on the load balancing equipment or the standardization of the opening operation of the load balancing equipment is realized; if the load state information and the resource state information are not empty, processing the parameters to be changed to obtain a target data table; and updating the load state information and the resource state information of the load balancing equipment based on the target data table, so as to realize the change management of the load balancing equipment in the hybrid cloud environment, if the load state information and the resource state information are empty, configuring a configuration file of the load balancing equipment according to preset configuration parameters corresponding to the load balancing equipment, and then deploying the load balancing equipment based on the configuration file, the version and a preset load balancing equipment deployment area of the load balancing equipment, so as to realize the opening operation standardization of the load balancing equipment in the hybrid cloud environment. By means of the method, the resource operation and maintenance efficiency can be improved, and the operation and maintenance complexity of the existing hybrid cloud disaster tolerance can be reduced.
Referring to fig. 1, a schematic structural diagram of a data management device is shown for an embodiment of the present invention, where the device includes:
and the load balancing acquisition module 10 is used for acquiring the load state information and the resource state information of the load balancing equipment by the load information acquisition module.
In a specific implementation, the load balancing acquiring module 10 acquires load state information and resource state information of multiple working flows of the current load balancing device in a hybrid cloud environment in real time.
A change management module 20, configured to, when it is determined that the load status information and the resource status information are not empty, obtain a parameter to be changed by the change management module; processing the parameters to be changed to obtain a target data table; and updating the load state information and the resource state information of the load balancing equipment based on the target data table.
In a specific implementation, the change management module 10 determines a corresponding operation on the load balancing device by determining whether the collected load state information and resource state information have contents, and if the load state information and the resource state information have contents, it indicates that the load balancing device needs to be changed and managed in the hybrid cloud environment, and obtains a parameter to be changed, which is set by a user. And processing the parameters to be changed to obtain a target data table. And transferring a target data table, namely the data table in the API format of the application program interface, to the load balancing equipment by using the change sub-flow so as to update the load state information and the resource state information.
The parameters to be changed are set in advance according to actual conditions.
Based on the data management device shown in the above embodiment of the present invention, with continued reference to fig. 1, the device is further provided with a configuration opening module 30.
The configuration switching module 30 is configured to determine whether the load balancing device has a manageable right or not when determining that the load state information and the resource state information are null; when the load balancing equipment is determined to have manageable rights, configuring a configuration file of the load balancing equipment according to preset configuration parameters corresponding to the load balancing equipment; matching versions of the load balancing devices; and deploying the load balancing equipment based on the configuration file, the version and a preset load balancing equipment deployment area of the load balancing equipment.
It should be noted that the preset configuration parameters include a basic configuration parameter, a management configuration parameter, and a high availability configuration parameter, and the high availability configuration parameter includes a first high availability configuration parameter and a second high availability configuration parameter.
In the specific implementation, whether the collected load state information and resource state information have contents or not is judged to determine the corresponding operation of the load balancing equipment, and if the load state information and the resource state information do not have contents, the standardization of the equipment opening operation of the load balancing equipment in the hybrid cloud environment needs to be realized; and when the load balancing equipment is determined to have manageable authority, configuring the configuration file of the load balancing equipment according to the preset configuration parameters corresponding to the load balancing equipment. And matching a correct software version according to the manufacturer and the model of the preselected load balancing LB device, and upgrading the software version of the load balancing device. When the equipment is opened, the area, the equipment manufacturer and the model of equipment deployment are automatically corresponding to the opening configuration template and the software version, and the configuration and the upgrade version are automatically issued, namely, the load balancing equipment is deployed through the configured configuration file, the configured version and the preset load balancing equipment deployment area, so that the standardized setting of the opening operation of the load balancing equipment is realized.
It should be noted that the preset load balancing device deployment area is set in advance according to an actual situation.
Optionally, the function of opening the load balancing device needs to be able to provide services independently, and also be able to be called by the process in the form of API.
Optionally, based on the data management apparatus shown in the foregoing embodiment of the present invention, with continued reference to fig. 1, the apparatus further includes a cloud registration login module 40 and a process management module 50.
The cloud registration login module 40 is configured to register, before the load balancing acquisition module 10 executes, a hybrid cloud user account on the hybrid cloud load balancing server by using a registration program.
And the process management module 50 is configured to log the hybrid cloud user account registered by the user into the hybrid cloud service system through a login program.
In the embodiment of the invention, manual assistance is not needed, and based on the collected load state information and resource state information, the data change management needs to be executed on the load balancing equipment or the standardization of the opening operation of the load balancing equipment is realized; if the load state information and the resource state information are not empty, processing the parameters to be changed to obtain a target data table; and updating the load state information and the resource state information of the load balancing equipment based on the target data table, so as to realize the change management of the load balancing equipment in the hybrid cloud environment, if the load state information and the resource state information are empty, configuring a configuration file of the load balancing equipment according to preset configuration parameters corresponding to the load balancing equipment, and then deploying the load balancing equipment based on the configuration file, the version and a preset load balancing equipment deployment area of the load balancing equipment, so as to realize the opening operation standardization of the load balancing equipment in the hybrid cloud environment. By means of the method, the resource operation and maintenance efficiency can be improved, and the operation and maintenance complexity of the existing hybrid cloud disaster tolerance can be reduced.
Based on the data management apparatus shown in the foregoing embodiment of the present invention, the configuration opening module 30, configured to configure the configuration file of the load balancing device according to the preset configuration parameter corresponding to the load balancing device, is specifically configured to:
configuring a basic configuration file of the load balancing equipment according to basic configuration parameters corresponding to the load balancing equipment; configuring a management configuration file of the load balancing equipment according to the management configuration parameters corresponding to the load balancing equipment; and when the number of the load balancing devices is determined to be the cluster, configuring the high-availability configuration file of the load balancing devices according to the first high-availability configuration parameter corresponding to the load balancing devices.
It should be noted that the basic configuration parameters include device login parameters, aggregation interface configuration parameters, service virtual local area network Vlan configuration parameters, local IP address configuration parameters, and routing configuration parameters; the management configuration parameters comprise configuration user account parameters, configuration time synchronization NTP parameters, configuration network management SNMP parameters and configuration system logs or system record Syslog parameters; the first high-availability configuration parameters comprise a configuration manual configuration Cluster parameter, a configuration monitoring icmp monitor parameter, a configuration performance monitoring pool icmp pool parameter, a configuration Traffic group parameter, a configuration Floating self parameter of an interface address of a Floating LTM and a configuration public network IP access address SNAT pool parameter.
In a specific implementation, the load balancing device is configured based on a device login parameter, a configured aggregation interface parameter, a configured service Vlan parameter, a configured Selfip parameter, and a configured routing parameter corresponding to the load balancing device, so as to determine a basic configuration file of the load balancing device.
And carrying out management configuration on the load balancing equipment according to the configured user account parameters, the configured time synchronization NTP parameters, the configured network management SNMP parameters and the configured system log or the system record Syslog parameters corresponding to the load balancing equipment, so as to determine the management configuration file of the load balancing equipment.
Manually configuring a Cluster parameter, configuring a monitoring icmp monitor parameter, configuring a performance monitoring pool icmp pool parameter, configuring a Traffic group parameter, configuring an interface address Floating self parameter of a Floating LTM and configuring a public network IP access address SNAT pool parameter according to the configuration corresponding to the load balancing equipment, and performing high-availability configuration on the load balancing equipment so as to determine a high-availability configuration file of the load balancing equipment.
In the embodiment of the invention, a basic configuration file of the load balancing equipment is configured according to a basic configuration parameter corresponding to the load balancing equipment; configuring a management configuration file of the load balancing equipment according to the management configuration parameters corresponding to the load balancing equipment; and when the number of the load balancing devices is determined to be the cluster, configuring the high-availability configuration file of the load balancing devices according to the first high-availability configuration parameter corresponding to the load balancing devices, so that the opening operation standardization of the load balancing devices in the hybrid cloud environment is realized.
Based on the data management apparatus shown in the foregoing embodiment of the present invention, the configuration opening module 30, configured to configure the configuration file of the load balancing device according to the preset configuration parameter corresponding to the load balancing device, is specifically configured to:
configuring a basic configuration file of the load balancing equipment according to basic configuration parameters corresponding to the load balancing equipment; configuring a management configuration file of the load balancing equipment according to the management configuration parameters corresponding to the load balancing equipment; and when the number of the load balancing devices is determined not to be the cluster, configuring the high-availability configuration files of the load balancing devices according to second high-availability configuration parameters corresponding to the load balancing devices.
It should be noted that the basic configuration parameters include device login parameters, aggregation interface configuration parameters, service virtual local area network Vlan configuration parameters, local IP address configuration parameters, and routing configuration parameters; the management configuration parameters comprise configuration user account parameters, configuration time synchronization NTP parameters, configuration network management SNMP parameters and configuration system logs or system record Syslog parameters; the second high available configuration parameters comprise a configuration monitoring icmp monitor parameter, a configuration performance monitoring pool icmp pool parameter, a configuration Traffic group parameter, a configuration Floating self parameter of an interface address of a Floating LTM, a configuration public network IP access address SNAT pool parameter and a configuration dual-computer cluster HA parameter.
In a specific implementation, the load balancing device is configured based on a device login parameter, a configured aggregation interface parameter, a configured service Vlan parameter, a configured Selfip parameter, and a configured routing parameter corresponding to the load balancing device, so as to determine a basic configuration file of the load balancing device.
And carrying out management configuration on the load balancing equipment according to the configured user account parameters, the configured time synchronization NTP parameters, the configured network management SNMP parameters and the configured system log or the system record Syslog parameters corresponding to the load balancing equipment, so as to determine the management configuration file of the load balancing equipment.
Monitoring an icmp monitor parameter, configuring a performance monitoring pool icmp pool parameter, configuring a Traffic group parameter, configuring an interface address Floating self parameter of a Floating LTM, configuring a public network IP access address SNAT pool parameter and configuring a dual cluster HA parameter corresponding to the load balancing device, and performing high-availability configuration on the load balancing device, thereby determining a high-availability configuration file of the load balancing device.
In the embodiment of the invention, a basic configuration file of the load balancing equipment is configured according to a basic configuration parameter corresponding to the load balancing equipment; configuring a management configuration file of the load balancing equipment according to the management configuration parameters corresponding to the load balancing equipment; and when the number of the load balancing devices is determined not to be the cluster, configuring the high-availability configuration file of the load balancing devices according to the second high-availability configuration parameters corresponding to the load balancing devices, so as to realize the open operation standardization of the load balancing devices in the mixed cloud environment.
Based on the data management apparatus shown in the above embodiment of the present invention, the change management module 20, which processes the parameter to be changed to obtain the target data table, is specifically configured to:
writing the parameters to be changed into an initial data table; processing the initial data table according to a preset format to obtain an initial data table with a preset format; and converting the initial data table in the preset format into a target data table.
In a specific implementation, the change management module 20 writes the parameter to be changed into a change parameter table by the Auto SDN; the Auto SDN controller processes the parameters in the parameter table to be changed according to a preset format to obtain an initial data table with the preset format; the Auto SDN controller converts the parameters to be changed in the preset format into a target data table, namely a data table in an application program interface API format.
It should be noted that the initial data table in the preset format refers to an identifiable data table.
The preset format is set according to experiments and is a recognizable format.
In the embodiment of the invention, the parameters to be changed are written into an initial data table; processing the initial data table according to a preset format to obtain an initial data table with a preset format; and converting the initial data table with the preset format into a target data table, thereby realizing the change management of the load balancing equipment in the hybrid cloud environment.
Corresponding to the data management device disclosed in the embodiment of the present invention, the embodiment of the present invention also discloses a schematic flow diagram of a data management method, as shown in fig. 2, where the data management method includes:
step S201: and collecting the load state information and the resource state information of the load balancing equipment.
Optionally, the user registers the hybrid cloud user account on the hybrid cloud load balancing server through a cloud registration login module by using a registration program, and the process management module logs in the hybrid cloud service system based on the hybrid cloud user account.
In the process of implementing step S201 specifically, the load balancing acquisition module acquires load state information and resource state information of multiple working streams of the current load balancing device in the hybrid cloud environment in real time.
Step S202: and judging whether the load state information and the resource state information are null, if not, indicating that the load balancing equipment in the hybrid cloud environment needs to be changed and managed, executing the steps S203 to S205, and if so, indicating that the equipment opening operation standardization of the load balancing equipment in the hybrid cloud environment needs to be realized, and executing the steps S206 to S209.
In the process of specifically implementing step S202, it is determined whether the collected load state information and resource state information have contents, so as to determine corresponding operations on the load balancing device, if the load state information and the resource state information have contents, it indicates that the load balancing device in the hybrid cloud environment needs to be changed and managed, and execute steps S203 to S205, and if the load state information and the resource state information do not have contents, it indicates that standardization of device opening operations of the load balancing device in the hybrid cloud environment needs to be implemented, and execute steps S206 to S209.
Step S203: and acquiring parameters to be changed.
In the process of implementing step S203 specifically, the change management module obtains the parameter to be changed set by the user.
The parameters to be changed are set in advance according to actual conditions.
Step S204: and processing the parameters to be changed to obtain a target data table.
It should be noted that, in the process of processing the parameter to be changed in the step S204 to obtain the target data table, as shown in fig. 3, the method specifically includes the following steps:
step S301: and writing the parameters to be changed into an initial data table.
In the process of implementing step S301 specifically, the Auto controller Auto SDN writes the parameter to be changed into the change parameter table.
Step S302: and processing the initial data table according to a preset format to obtain the initial data table with the preset format.
In the specific implementation process of step S302, the Auto controller Auto SDN processes the parameters in the parameter table to be changed according to the preset format, so as to obtain an initial data table with the preset format.
It should be noted that the initial data table in the preset format refers to an identifiable data table.
The preset format is set according to experiments and is a recognizable format.
Step S303: and converting the initial data table in the preset format into a target data table.
In the process of implementing step S303 specifically, the Auto controller Auto SDN converts the parameter to be changed in the preset format into a target data table, that is, a data table in the API format.
Step S205: and updating the load state information and the resource state information of the load balancing equipment based on the target data table.
In the process of implementing step S205 specifically, the target data table, i.e. the data table in the API format, is transferred to the load balancing device by using the change sub-stream, so that the load state information and the resource state information are updated.
Step S206: and determining whether the load balancing equipment has manageable authority, if so, executing the step S207, and if not, sending notification information to a human, so that after manual connection, continuing to return to execute the step S206.
In the process of implementing step S206 specifically, in order to avoid differentiated configuration or non-compliant configuration caused by manual operation, it is necessary to detect whether the load balancing device is connected, that is, determine whether the load balancing device has manageable rights, if it is determined that the load balancing device has manageable rights, step S207 is executed, and if it is determined that the load balancing device has no manageable rights, notification information is sent to a human, so that after manual connection, the process continues to return to step S206.
Step S207: and configuring the configuration file of the load balancing equipment according to the preset configuration parameters corresponding to the load balancing equipment.
In step S207, the preset configuration parameters include a basic configuration parameter, a management configuration parameter, and a high-availability configuration parameter, where the high-availability configuration parameter includes a first high-availability configuration parameter and a second high-availability configuration parameter.
It should be noted that, in the process of implementing step S207 specifically, as shown in fig. 4, the following steps are included:
step S401: and configuring the basic configuration file of the load balancing equipment according to the basic configuration parameters corresponding to the load balancing equipment.
In step S401, the basic configuration parameters include a device login parameter, a configuration aggregation interface parameter, a configuration service virtual local area network Vlan parameter, a configuration local IP address Selfip parameter, and a configuration routing parameter.
In the process of implementing step S401 specifically, the load balancing device is configured based on the device login parameter, the aggregation interface configuration parameter, the service Vlan configuration parameter, the Selfip configuration parameter, and the routing configuration parameter corresponding to the load balancing device, so as to determine a basic configuration file of the load balancing device.
Step S402: and configuring the management configuration file of the load balancing equipment according to the management configuration parameters corresponding to the load balancing equipment.
In step S402, managing configuration parameters includes configuring user account parameters, configuring time synchronization NTP parameters, configuring network management SNMP parameters, and configuring system logs or system records Syslog parameters.
In the process of implementing step S402 specifically, the load balancing device is managed and configured according to the configured user account parameter, the configured time synchronization NTP parameter, the configured network management SNMP parameter, and the configured system log or the system record Syslog parameter corresponding to the load balancing device, so as to determine the management configuration file of the load balancing device.
Step S403: and judging whether the number of the load balancing devices is a cluster, if so, executing the step S404, and if not, executing the step S405.
In the process of specifically implementing step S403, it is determined whether the number of the load balancing devices is not limited to only the master/slave load balancing device and other devices exist, if the number of the load balancing devices is not limited to only the master/slave load balancing device and other devices exist, it is determined that the number of the load balancing devices is the cluster, step S404 is executed, and if the number of the load balancing devices only exists the master/slave load balancing device, it is determined that the number of the load balancing devices is not the cluster, step S405 is executed.
Step S404: and configuring the high-availability configuration file of the load balancing equipment according to the first high-availability configuration parameter corresponding to the load balancing equipment.
In step S404, the first high available configuration parameters include a configuration manual configuration Cluster parameter, a configuration monitoring icmp monitor parameter, a configuration performance monitoring pool icmp pool parameter, a configuration Traffic group parameter, a configuration Floating self parameter of an interface address of a Floating LTM, and a configuration public network IP access address SNATpool parameter.
In the process of specifically implementing step S404, manually configuring a Cluster parameter, configuring a monitoring icmp monitor parameter, configuring a performance monitoring pool icmp pool parameter, configuring a Traffic group parameter, configuring an interface address Floating configuration parameter of a Floating LTM, and configuring a public network IP access address SNAT pool parameter according to a configuration corresponding to the load balancing device, thereby determining a highly available configuration file of the load balancing device.
Step S405: and configuring the high-availability configuration file of the load balancing equipment according to the second high-availability configuration parameter corresponding to the load balancing equipment.
In step S405, the second high-availability configuration parameters include a configuration monitoring icmp monitor parameter, a configuration performance monitoring pool icmp pool parameter, a configuration Traffic group parameter, a configuration Floating self parameter of an interface address of a Floating LTM, a configuration public network IP access address SNAT pool parameter, and a configuration dual-computer cluster HA parameter.
In the process of implementing step S405 specifically, according to the configuration monitoring icmp monitor parameter, the configuration performance monitoring pool icmp pool parameter, the configuration Traffic group parameter, the configuration Floating self parameter of the interface address of the Floating LTM, the configuration public network IP access address SNAT pool parameter, and the configuration dual cluster HA parameter corresponding to the load balancing device, the load balancing device is configured with high availability, so as to determine the high availability configuration file of the load balancing device.
Step S208: and matching the versions of the load balancing devices.
In the process of implementing step S208 specifically, according to the manufacturer and model of the preselected load balancing LB device, a correct software version is matched, and the software version of the load balancing device is upgraded.
Step S209: and deploying the load balancing equipment based on the configuration file, the version and a preset load balancing equipment deployment area of the load balancing equipment.
In the process of implementing step S209 specifically, when the equipment is opened, the area, the equipment manufacturer, and the model of the equipment deployment are automatically corresponding to the opening configuration template and the software version, and the configuration and upgrade version is automatically issued, that is, the load balancing equipment is deployed through the configured configuration file, the configured version, and the preset load balancing equipment deployment area, so as to implement the standardized setting of the opening operation of the load balancing equipment.
It should be noted that the preset load balancing device deployment area is set in advance according to an actual situation.
Optionally, the function of opening the load balancing device needs to be able to provide services independently, and also be able to be called by the process in the form of API.
In the embodiment of the invention, manual assistance is not needed, and based on the collected load state information and resource state information, the data change management needs to be executed on the load balancing equipment or the standardization of the opening operation of the load balancing equipment is realized; if the load state information and the resource state information are not empty, processing the parameters to be changed to obtain a target data table; and updating the load state information and the resource state information of the load balancing equipment based on the target data table, so as to realize the change management of the load balancing equipment in the hybrid cloud environment, if the load state information and the resource state information are empty, configuring a configuration file of the load balancing equipment according to preset configuration parameters corresponding to the load balancing equipment, and then deploying the load balancing equipment based on the configuration file, the version and a preset load balancing equipment deployment area of the load balancing equipment, so as to realize the opening operation standardization of the load balancing equipment in the hybrid cloud environment. By means of the method, the resource operation and maintenance efficiency can be improved, and the operation and maintenance complexity of the existing hybrid cloud disaster tolerance can be reduced.
The embodiment of the invention also discloses an electronic device, which is used for operating the database storage process, wherein the data management method disclosed in the above fig. 2 to 4 is executed when the database storage process is operated.
The embodiment of the invention also discloses a computer storage medium, which comprises a storage database storage process, wherein when the storage database storage process runs, the equipment where the storage medium is located is controlled to execute the data management method disclosed in the figures 2 to 4.
In the context of this disclosure, a computer storage medium may be a tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. The machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
All the embodiments in the present specification are described in a progressive manner, and the same and similar parts among the embodiments are referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, the system or system embodiments are substantially similar to the method embodiments and therefore are described in a relatively simple manner, and reference may be made to some of the descriptions of the method embodiments for related points. The above-described system and system embodiments are only illustrative, wherein the units described as separate parts may or may not be physically separate, and the parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment. One of ordinary skill in the art can understand and implement it without inventive effort.
Those of skill would further appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, computer software, or combinations of both, and that the various illustrative components and steps have been described above generally in terms of their functionality in order to clearly illustrate this interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the invention. Thus, the present invention is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.
Claims (10)
1. A method for data management, the method comprising:
collecting load state information and resource state information of load balancing equipment;
when the load state information and the resource state information are determined not to be empty, acquiring parameters to be changed;
processing the parameters to be changed to obtain a target data table;
and updating the load state information and the resource state information of the load balancing equipment based on the target data table.
2. The method of claim 1, further comprising:
when the load state information and the resource state information are determined to be null, determining whether the load balancing equipment has manageable authority or not;
when the load balancing equipment is determined to have manageable rights, configuring a configuration file of the load balancing equipment according to preset configuration parameters corresponding to the load balancing equipment, wherein the preset configuration parameters comprise basic configuration parameters, management configuration parameters and high-availability configuration parameters, and the high-availability configuration parameters comprise first high-availability configuration parameters and second high-availability configuration parameters;
matching versions of the load balancing devices;
and deploying the load balancing equipment based on the configuration file, the version and a preset load balancing equipment deployment area of the load balancing equipment.
3. The method according to claim 2, wherein the configuring the configuration file of the load balancing device according to the preset configuration parameters corresponding to the load balancing device comprises:
configuring a basic configuration file of the load balancing equipment according to basic configuration parameters corresponding to the load balancing equipment;
configuring a management configuration file of the load balancing equipment according to the management configuration parameters corresponding to the load balancing equipment;
and when the number of the load balancing devices is determined to be the cluster, configuring the high-availability configuration file of the load balancing devices according to the first high-availability configuration parameter corresponding to the load balancing devices.
4. The method according to claim 2, wherein the configuring the configuration file of the load balancing device according to the preset configuration parameters corresponding to the load balancing device comprises:
configuring a basic configuration file of the load balancing equipment according to basic configuration parameters corresponding to the load balancing equipment;
configuring a management configuration file of the load balancing equipment according to the management configuration parameters corresponding to the load balancing equipment;
and when the number of the load balancing devices is determined not to be the cluster, configuring the high-availability configuration file of the load balancing devices according to a second high-availability configuration parameter corresponding to the load balancing devices.
5. The method according to claim 1, wherein the processing the parameter to be changed to obtain a target data table comprises:
writing the parameters to be changed into an initial data table;
processing the initial data table according to a preset format to obtain an initial data table with a preset format;
and converting the initial data table in the preset format into a target data table.
6. A data management apparatus, characterized in that the apparatus comprises:
the load balancing acquisition module is used for acquiring load state information and resource state information of the load balancing equipment;
the change management module is used for acquiring parameters to be changed when the load state information and the resource state information are determined not to be empty; processing the parameters to be changed to obtain a target data table; and updating the load state information and the resource state information of the load balancing equipment based on the target data table.
7. The apparatus of claim 6, further comprising:
the configuration switching module is used for determining whether the load balancing equipment has manageable authority or not when the load state information and the resource state information are determined to be null; when the load balancing equipment is determined to have manageable rights, configuring a configuration file of the load balancing equipment according to preset configuration parameters corresponding to the load balancing equipment, wherein the preset configuration parameters comprise basic configuration parameters, management configuration parameters and high-availability configuration parameters, and the high-availability configuration parameters comprise first high-availability configuration parameters and second high-availability configuration parameters; matching versions of the load balancing devices; and deploying the load balancing equipment based on the configuration file, the version and a preset load balancing equipment deployment area of the load balancing equipment.
8. The apparatus according to claim 6, wherein the configuration opening module that configures the configuration file of the load balancing device according to the preset configuration parameter corresponding to the load balancing device is specifically configured to:
configuring a basic configuration file of the load balancing equipment according to basic configuration parameters corresponding to the load balancing equipment; configuring a management configuration file of the load balancing equipment according to the management configuration parameters corresponding to the load balancing equipment; and when the number of the load balancing devices is determined to be the cluster, configuring the high-availability configuration file of the load balancing devices according to the first high-availability configuration parameter corresponding to the load balancing devices.
9. An electronic device, wherein the electronic device is configured to run a program, wherein the program is configured to execute the data management method according to any one of claims 1 to 5 when running.
10. A computer storage medium, characterized in that the storage medium comprises a stored program, wherein when the program runs, a device in which the storage medium is located is controlled to execute the data management method according to any one of claims 1 to 5.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210331123.8A CN114710500A (en) | 2022-03-31 | 2022-03-31 | Data management method and device, electronic equipment and computer storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210331123.8A CN114710500A (en) | 2022-03-31 | 2022-03-31 | Data management method and device, electronic equipment and computer storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN114710500A true CN114710500A (en) | 2022-07-05 |
Family
ID=82169942
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202210331123.8A Pending CN114710500A (en) | 2022-03-31 | 2022-03-31 | Data management method and device, electronic equipment and computer storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN114710500A (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6725262B1 (en) * | 2000-04-27 | 2004-04-20 | Microsoft Corporation | Methods and systems for synchronizing multiple computing devices |
CN102447582A (en) * | 2011-12-31 | 2012-05-09 | 中兴通讯股份有限公司 | Resource synchronization method and device |
CN110120885A (en) * | 2019-04-04 | 2019-08-13 | 视联动力信息技术股份有限公司 | A kind for the treatment of method and apparatus of device status information |
CN113220333A (en) * | 2021-06-15 | 2021-08-06 | 中国银行股份有限公司 | Equipment updating method and related device |
CN113485896A (en) * | 2021-07-22 | 2021-10-08 | 京东方科技集团股份有限公司 | Container state monitoring method, device, system and medium |
-
2022
- 2022-03-31 CN CN202210331123.8A patent/CN114710500A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6725262B1 (en) * | 2000-04-27 | 2004-04-20 | Microsoft Corporation | Methods and systems for synchronizing multiple computing devices |
CN102447582A (en) * | 2011-12-31 | 2012-05-09 | 中兴通讯股份有限公司 | Resource synchronization method and device |
CN110120885A (en) * | 2019-04-04 | 2019-08-13 | 视联动力信息技术股份有限公司 | A kind for the treatment of method and apparatus of device status information |
CN113220333A (en) * | 2021-06-15 | 2021-08-06 | 中国银行股份有限公司 | Equipment updating method and related device |
CN113485896A (en) * | 2021-07-22 | 2021-10-08 | 京东方科技集团股份有限公司 | Container state monitoring method, device, system and medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109104318B (en) | Method for realizing cluster self-adaptive deployment | |
CN110611588B (en) | Network creation method, server, computer readable storage medium and system | |
KR101954480B1 (en) | Automated build-out of a cloud-computing stamp | |
EP3163975B1 (en) | Configuration information management method, device, network element management system and storage medium | |
CN106130850B (en) | Intelligent access method for private line user | |
CN115053499A (en) | Centralized management, provisioning, and monitoring of cloud infrastructure | |
JP2018055665A (en) | Software definition realization method based on protection control system of smart substation | |
CN105531970A (en) | Workload deployment with real-time consideration of global network congestion | |
US9088477B2 (en) | Distributed fabric management protocol | |
CN102412978A (en) | Method for carrying out network configuration for VM and system thereof | |
US9280399B2 (en) | Detecting, monitoring, and configuring services in a netwowk | |
US10812328B2 (en) | Network function virtualisation | |
CN103081409A (en) | Network system and network management method | |
CN111221619A (en) | Method, device and equipment for opening and arranging service | |
CN110719209A (en) | Cluster network configuration method, system, equipment and readable storage medium | |
US11461206B2 (en) | Cloud simulation and validation system | |
CN110932914B (en) | Deployment method, deployment device, hybrid cloud system architecture and computer storage medium | |
CN111966374A (en) | Container-based energy controller terminal software deployment and management method | |
WO2019163912A1 (en) | Network system, topology management method, and program | |
CN114710500A (en) | Data management method and device, electronic equipment and computer storage medium | |
US11075815B2 (en) | Network building apparatus, network building method, non-transitory computer readable medium storing program | |
CN107888438B (en) | Flow table technology-based system for automatically sensing and adapting to cloud environment change | |
CN111095134A (en) | Fault tolerant service for integrated building automation systems | |
CN105827467A (en) | Registration center upgrade method, related equipment and system | |
EP3301864B1 (en) | Telephone system, exchange, telephone exchanging method, and telephone exchanging program |
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 |