Data management method, device, electronic equipment and computer storage medium
By collecting and processing the status information of the load balancing device, updating its configuration, and deploying the device according to the preset parameter configuration file, the problem of low resource operation and maintenance efficiency and high operation and maintenance complexity in the hybrid cloud environment is solved, and efficient load is achieved. Balance device management and deployment.
Patent Information
- Application Number
- CN202210331123.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-03-31
- Publication Date
- 2024-10-25
- Estimated Expiration
- 2042-03-31
AI Technical Summary
The resource operation, maintenance and monitoring of existing hybrid clouds need to be rotated between different types of cloud platforms, resulting in low resource operation and maintenance efficiency and high operation and maintenance complexity.
By collecting the load status information and resource status information of the load balancing device, the parameters to be changed are obtained, the target data table is obtained through processing, the load status information and resource status information of the load balancing device are updated, and the configuration of the load balancing device is configured according to the preset configuration parameters. files to implement the deployment and management of load balancing devices.
It improves the efficiency of resource operation and maintenance, reduces the complexity of operation and maintenance of load balancing equipment in a hybrid cloud environment, and realizes the standardization of change management and deployment operations of load balancing equipment.
Smart Images

Figure CN114710500B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of data processing technology, and in particular to a data management method, device, electronic equipment and computer storage medium. Background Art
[0002] With the rapid development of public cloud technology, current network load balancing products are not limited to hardware load balancing for private cloud deployment, but are also supplemented by public cloud software load balancing. Therefore, the diversification of operation and maintenance products has brought about an increase in the complexity of operation and maintenance.
[0003] The resource operation and maintenance and monitoring of existing hybrid clouds need to be performed in rotation between different types of cloud platforms. That is, after users complete resource operation and maintenance on one cloud platform, they need to switch to another cloud platform to continue resource operation and maintenance, resulting in low resource operation and maintenance efficiency of hybrid clouds. Summary of the invention
[0004] In view of this, an embodiment of the present invention provides a data management method, device, electronic device and computer storage medium to solve the problem of low resource operation and maintenance efficiency in the prior art.
[0005] To achieve the above objectives, the embodiments of the present invention provide the following technical solutions:
[0006] A first aspect of an embodiment of the present invention shows a data management method, the method comprising:
[0007] Collect load status information and resource status information of load balancing devices;
[0008] When it is determined that the load status information and the resource status information are not empty, obtaining the parameters to be changed;
[0009] Processing the parameters to be changed to obtain a target data table;
[0010] The load status information and resource status information of the load balancing device are updated based on the target data table.
[0011] Optionally, also include:
[0012] When it is determined that the load status information and the resource status information are empty, determining whether the load balancing device has manageable authority;
[0013] When it is determined that the load balancing device has manageable permissions, configure a configuration file of the load balancing device according to preset configuration parameters corresponding to the load balancing device, wherein the preset configuration parameters include basic configuration parameters, management configuration parameters, and high availability configuration parameters, and the high availability configuration parameters include first high availability configuration parameters and second high availability configuration parameters;
[0014] Match the version of the load balancing device;
[0015] The load balancing device is deployed based on the configuration file of the load balancing device, the version and the preset load balancing device deployment area.
[0016] Optionally, configuring the configuration file of the load balancing device according to preset configuration parameters corresponding to the load balancing device includes:
[0017] Configure a basic configuration file of the load balancing device according to basic configuration parameters corresponding to the load balancing device;
[0018] Configuring a management configuration file of the load balancing device according to management configuration parameters corresponding to the load balancing device;
[0019] When it is determined that the number of the load balancing devices is a cluster, a high availability configuration file of the load balancing device is configured according to a first high availability configuration parameter corresponding to the load balancing device.
[0020] Optionally, configuring the configuration file of the load balancing device according to preset configuration parameters corresponding to the load balancing device includes:
[0021] Configure a basic configuration file of the load balancing device according to basic configuration parameters corresponding to the load balancing device;
[0022] Configuring a management configuration file of the load balancing device according to management configuration parameters corresponding to the load balancing device;
[0023] When it is determined that the number of the load balancing devices is not a cluster, a high availability configuration file of the load balancing device is configured according to a second high availability configuration parameter corresponding to the load balancing device.
[0024] Optionally, the processing of the parameters to be changed to obtain a target data table includes:
[0025] Writing the parameters to be changed into the initial data table;
[0026] Processing the initial data table according to a preset format to obtain an initial data table in a preset format;
[0027] The initial data table in the preset format is converted into a target data table.
[0028] A second aspect of an embodiment of the present invention shows a data management device, the device comprising:
[0029] The load balancing collection module is used to collect the load status information and resource status information of the load balancing device;
[0030] The change management module is used to obtain the parameters to be changed when it is determined that the load status information and resource status information are not empty; process the parameters to be changed to obtain a target data table; and update the load status information and resource status information of the load balancing device based on the target data table.
[0031] Optionally, also include:
[0032] A configuration startup module is used to determine whether the load balancing device has manageable permissions when it is determined that the load status information and the resource status information are empty; when it is determined that the load balancing device has manageable permissions, configure the configuration file of the load balancing device according to preset configuration parameters corresponding to the load balancing device, the preset configuration parameters include basic configuration parameters, management configuration parameters, and high availability configuration parameters, the high availability configuration parameters include first high availability configuration parameters and second high availability configuration parameters; match the version of the load balancing device; and deploy the load balancing device based on the configuration file of the load balancing device, the version, and the preset load balancing device deployment area.
[0033] Optionally, the configuration and deployment module for configuring the configuration file of the load balancing device according to the preset configuration parameters corresponding to the load balancing device is specifically used to:
[0034] Configure a basic configuration file of the load balancing device according to the basic configuration parameters corresponding to the load balancing device; configure a management configuration file of the load balancing device according to the management configuration parameters corresponding to the load balancing device; when it is determined that the number of the load balancing devices is a cluster, configure a high availability configuration file of the load balancing device according to the first high availability configuration parameter corresponding to the load balancing device.
[0035] A third aspect of an embodiment of the present invention shows an electronic device, which is used to run a program, wherein the program executes the data management method as described in the first aspect of the embodiment of the present invention when it is run.
[0036] A fourth aspect of an embodiment of the present invention shows a computer storage medium, which includes a storage program, wherein when the program is running, the device where the storage medium is located is controlled to execute the data management method as described in the first aspect of the embodiment of the present invention.
[0037] Based on the above-mentioned embodiment of the present invention, a data management method, device, electronic device and computer storage medium are provided. The method includes: collecting load status information and resource status information of a load balancing device; when it is determined that the load status information and resource status information are not empty, obtaining parameters to be changed; processing the parameters to be changed to obtain a target data table; and updating the load status information and resource status information of the load balancing device based on the target data table. In the embodiment of the present invention, no manual assistance is required. Based on the collected load status information and resource status information, it is determined whether data change management needs to be performed on the load balancing device or standardization of the load balancing device startup operation is realized; if the load status information and resource status information are not empty, the parameters to be changed are processed to obtain a target data table; and the load status information and resource status information of the load balancing device are updated based on the target data table, thereby realizing change management of the load balancing device in a hybrid cloud environment. If the load status information and resource status information are empty, the configuration file of the load balancing device is configured according to the preset configuration parameters corresponding to the load balancing device, and then the load balancing device is deployed based on the configuration file, version and preset load balancing device deployment area of the load balancing device, thereby realizing standardization of the load balancing device startup operation in a hybrid cloud environment. The above method can improve resource operation and maintenance efficiency. BRIEF DESCRIPTION OF THE DRAWINGS
[0038] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on the provided drawings without paying creative work.
[0039] Figure 1 A schematic diagram of the structure of a data management device according to an embodiment of the present invention;
[0040] Figure 2 A flow chart of a data management method according to an embodiment of the present invention;
[0041] Figure 3 A schematic diagram of a change management module implementing a change process flow diagram of an embodiment of the present invention;
[0042] Figure 4 The present invention is a flow chart showing the configuration of the deployment module to implement deployment standardization according to an embodiment of the present invention. DETAILED DESCRIPTION
[0043] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0044] In this application, the terms "comprises", "comprising" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device comprising a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the sentence "comprising a ..." does not exclude the presence of other identical elements in the process, method, article or device comprising the element.
[0045] From the background technology, we can see that the resource operation and maintenance and monitoring of the existing hybrid cloud need to be executed in rotation between different types of cloud platforms. That is, after the user completes the resource operation and maintenance on one cloud platform, he needs to switch to another cloud platform to continue the resource operation and maintenance. This results in low resource operation and maintenance efficiency of the hybrid cloud, and the operation and maintenance complexity of the existing hybrid cloud disaster recovery is relatively high.
[0046] In the embodiment of the present invention, no manual assistance is required. Based on the collected load status information and resource status information, it is determined whether data change management needs to be performed on the load balancing device or standardization of the load balancing device startup operation needs to be achieved; if the load status information and resource status information are not empty, the parameters to be changed are processed to obtain the target data table; and the load status information and resource status information of the load balancing device are updated based on the target data table, thereby achieving change management of the load balancing device in the hybrid cloud environment. If the load status information and resource status information are empty, the configuration file of the load balancing device is configured according to the preset configuration parameters corresponding to the load balancing device, and then the load balancing device is deployed based on the configuration file, version and preset load balancing device deployment area of the load balancing device, thereby achieving standardization of the load balancing device startup operation in the hybrid cloud environment. The above method can improve the efficiency of resource operation and maintenance, and can reduce the operation and maintenance complexity of the existing hybrid cloud disaster recovery.
[0047] See also Figure 1 , is a schematic diagram showing a structure of a data management device according to an embodiment of the present invention, the device comprising:
[0048] The load balancing collection module 10 is used for the load information collection module to collect the load status information and resource status information of the load balancing device.
[0049] In a specific implementation, the load balancing collection module 10 collects in real time the load status information and resource status information of multiple workflows of the current load balancing device in a hybrid cloud environment.
[0050] The change management module 20 is used to obtain the parameters to be changed when it is determined that the load status information and resource status information are not empty; process the parameters to be changed to obtain a target data table; and update the load status information and resource status information of the load balancing device based on the target data table.
[0051] In a specific implementation, the change management module 10 determines whether the collected load status information and resource status information have content to determine the corresponding operation on the load balancing device. If the load status information and resource status information have content, it means that the load balancing device in the hybrid cloud environment needs to be changed and the parameters to be changed set by the user are obtained. The parameters to be changed are processed to obtain the target data table. The target data table, i.e., the data table in the format of the application program interface API, is transferred to the load balancing device by using the change subflow to update the load status information and resource status information.
[0052] It should be noted that the parameters to be changed are set in advance according to actual conditions.
[0053] Based on the data management device shown in the above embodiment of the present invention, continue to refer to Figure 1 The device is further provided with a configuration start module 30.
[0054] The configuration start module 30 is used to determine whether the load balancing device has manageable permissions when it is determined that the load status information and the resource status information are empty; when it is determined that the load balancing device has manageable permissions, configure the configuration file of the load balancing device according to the preset configuration parameters corresponding to the load balancing device; match the version of the load balancing device; and deploy the load balancing device based on the configuration file of the load balancing device, the version and the preset load balancing device deployment area.
[0055] It should be noted that the preset configuration parameters include basic configuration parameters, management configuration parameters, and high availability configuration parameters, and the high availability configuration parameters include first high availability configuration parameters and second high availability configuration parameters.
[0056] In the specific implementation, the corresponding operation of the load balancing device is determined by judging whether the collected load status information and resource status information have content. If the load status information and resource status information do not have content, it means that it is necessary to implement the standardization of the device startup operation of the load balancing device in the hybrid cloud environment; after determining that the load balancing device has manageable permissions, configure the configuration file of the load balancing device according to the preset configuration parameters corresponding to the load balancing device. According to the manufacturer and model of the pre-selected load balancing LB device, match the correct software version, and upgrade the software version of the load balancing device. When starting the device, the area where the device is deployed, the device manufacturer and model are automatically matched with the startup configuration template and software version, and the configuration and upgrade version are automatically issued. In other words, the load balancing device is deployed through the above-configured configuration file, the version and the preset load balancing device deployment area, thereby realizing the standardized setting of the startup operation of the load balancing device.
[0057] It should be noted that the preset load balancing device deployment area is set in advance based on actual conditions.
[0058] Optionally, the load balancing device startup function needs to be able to provide services independently and can also be called by the process in the form of an API.
[0059] Optionally, based on the data management device shown in the above embodiment of the present invention, continue to refer to Figure 1 The device is further provided with a cloud registration and login module 40 and a process management module 50.
[0060] The cloud registration and login module 40 is used to register a hybrid cloud user account on the hybrid cloud load balancing server using a registration program before the load balancing collection module 10 is executed.
[0061] The process management module 50 is used to log in the hybrid cloud service system with the hybrid cloud user account registered by the user through the login program.
[0062] In the embodiment of the present invention, no manual assistance is required. Based on the collected load status information and resource status information, it is determined whether data change management needs to be performed on the load balancing device or standardization of the load balancing device startup operation needs to be achieved; if the load status information and resource status information are not empty, the parameters to be changed are processed to obtain the target data table; and the load status information and resource status information of the load balancing device are updated based on the target data table, thereby achieving change management of the load balancing device in the hybrid cloud environment. If the load status information and resource status information are empty, the configuration file of the load balancing device is configured according to the preset configuration parameters corresponding to the load balancing device, and then the load balancing device is deployed based on the configuration file, version and preset load balancing device deployment area of the load balancing device, thereby achieving standardization of the load balancing device startup operation in the hybrid cloud environment. The above method can improve the efficiency of resource operation and maintenance, and can reduce the operation and maintenance complexity of the existing hybrid cloud disaster recovery.
[0063] Based on the data management device shown in the above embodiment of the present invention, the configuration start module 30 for configuring the configuration file of the load balancing device according to the preset configuration parameters corresponding to the load balancing device is specifically used for:
[0064] Configure a basic configuration file of the load balancing device according to the basic configuration parameters corresponding to the load balancing device; configure a management configuration file of the load balancing device according to the management configuration parameters corresponding to the load balancing device; when it is determined that the number of the load balancing devices is a cluster, configure a high availability configuration file of the load balancing device according to the first high availability configuration parameter corresponding to the load balancing device.
[0065] It should be noted that the basic configuration parameters include device login parameters, configuration of aggregation interface parameters, configuration of service virtual LAN (Vlan) parameters, configuration of local IP address (Selfip) parameters and configuration of routing parameters; management configuration parameters include configuration of user account parameters, configuration of time synchronization (NTP) parameters, configuration of network management (SNMP) parameters, and configuration of system log or system record (Syslog) parameters; the first high availability configuration parameters include configuration of manual configuration of Cluster parameters, configuration of monitoring and listening (icmpmonitor) parameters, configuration of performance monitoring pool (icmp pool) parameters, configuration of traffic group (Traffic group) parameters, configuration of floating LTM interface address (Floating selfip) parameters and configuration of public network IP access address (SNAT pool) parameters.
[0066] In a specific implementation, the load balancing device is basically configured according to the device login parameters corresponding to the load balancing device, the configuration aggregation interface parameters, the configuration service Vlan parameters, the configuration Selfip parameters and the configuration routing parameters to determine the basic configuration file of the load balancing device.
[0067] The load balancing device is managed and configured according to the configuration user account parameters, configuration time synchronization NTP parameters, configuration network management SNMP parameters, and configuration system log or system record Syslog parameters corresponding to the load balancing device, thereby determining the management configuration file of the load balancing device.
[0068] According to the configuration corresponding to the load balancing device, manually configure Cluster parameters, configure monitoring and listening icmpmonitor parameters, configure performance monitoring pool icmp pool parameters, configure traffic group Traffic group parameters, configure floating LTM interface address Floating selfip parameters and configure public network IP access address SNAT pool parameters to configure the load balancing device for high availability, thereby determining the high availability configuration file of the load balancing device.
[0069] In an embodiment of the present invention, a basic configuration file of the load balancing device is configured according to basic configuration parameters corresponding to the load balancing device; a management configuration file of the load balancing device is configured according to management configuration parameters corresponding to the load balancing device; when it is determined that the number of the load balancing devices is a cluster, a high availability configuration file of the load balancing device is configured according to the first high availability configuration parameter corresponding to the load balancing device, thereby achieving standardization of the startup operation of the load balancing device in a hybrid cloud environment.
[0070] Based on the data management device shown in the above embodiment of the present invention, the configuration start module 30 for configuring the configuration file of the load balancing device according to the preset configuration parameters corresponding to the load balancing device is specifically used for:
[0071] Configure a basic configuration file of the load balancing device according to the basic configuration parameters corresponding to the load balancing device; configure a management configuration file of the load balancing device according to the management configuration parameters corresponding to the load balancing device; when it is determined that the number of the load balancing devices is not a cluster, configure a high availability configuration file of the load balancing device according to the second high availability configuration parameters corresponding to the load balancing device.
[0072] It should be noted that the basic configuration parameters include device login parameters, configuration of aggregation interface parameters, configuration of service virtual LAN (Vlan) parameters, configuration of local IP address Selfip parameters and configuration of routing parameters; management configuration parameters include configuration of user account parameters, configuration of time synchronization NTP parameters, configuration of network management SNMP parameters, and configuration of system log or system record Syslog parameters; the second high availability configuration parameters include configuration of monitoring listening icmp monitor parameters, configuration of performance monitoring pool icmp pool parameters, configuration of traffic group Traffic group parameters, configuration of floating LTM interface address Floating selfip parameters, configuration of public IP access address SNAT pool parameters and configuration of dual-machine cluster HA parameters.
[0073] In a specific implementation, the load balancing device is basically configured according to the device login parameters corresponding to the load balancing device, the configuration aggregation interface parameters, the configuration service Vlan parameters, the configuration Selfip parameters and the configuration routing parameters to determine the basic configuration file of the load balancing device.
[0074] The load balancing device is managed and configured according to the configuration user account parameters, configuration time synchronization NTP parameters, configuration network management SNMP parameters, and configuration system log or system record Syslog parameters corresponding to the load balancing device, thereby determining the management configuration file of the load balancing device.
[0075] The load balancing device is configured for high availability according to the configuration monitoring icmp monitor parameters corresponding to the load balancing device, the performance monitoring pool icmp pool parameters, the traffic group Traffic group parameters, the floating LTM interface address Floatingselfip parameters, the public IP access address SNAT pool parameters and the dual-machine cluster HA parameters, thereby determining the high availability configuration file of the load balancing device.
[0076] In an embodiment of the present invention, a basic configuration file of the load balancing device is configured according to the basic configuration parameters corresponding to the load balancing device; a management configuration file of the load balancing device is configured according to the management configuration parameters corresponding to the load balancing device; when it is determined that the number of load balancing devices is not a cluster, a high availability configuration file of the load balancing device is configured according to the second high availability configuration parameters corresponding to the load balancing device, thereby achieving standardization of the startup operation of the load balancing device in a hybrid cloud environment.
[0077] Based on the data management device shown in the above embodiment of the present invention, the change management module 20 of the target data table is obtained by processing the parameters to be changed, which is specifically used for:
[0078] The parameters to be changed are written into an initial data table; the initial data table is processed according to a preset format to obtain an initial data table in a preset format; and the initial data table in the preset format is converted into a target data table.
[0079] In a specific implementation, the automatic controller Auto SDN of the change management module 20 writes the parameters to be changed into a change parameter table; the automatic controller Auto SDN processes the parameters in the parameter table to be changed according to a preset format to obtain an initial data table in a preset format; the automatic controller Auto SDN converts the parameters to be changed in the preset format into a target data table, i.e., a data table in the format of an application program interface API.
[0080] It should be noted that the initial data table in a preset format refers to a recognizable data table.
[0081] The preset format is set based on experiments and is a recognizable format.
[0082] In an embodiment of the present invention, the parameters to be changed are written into an initial data table; the initial data table is processed according to a preset format to obtain an initial data table in a preset format; the initial data table in the preset format is converted into a target data table, thereby realizing change management of the load balancing device in a hybrid cloud environment.
[0083] Corresponding to the data management device disclosed in the above embodiment of the present invention, the embodiment of the present invention also discloses a flow chart of a data management method, such as Figure 2 As shown, the data management method includes:
[0084] Step S201: Collecting load status information and resource status information of the load balancing device.
[0085] Optionally, the user registers a hybrid cloud user account on the hybrid cloud load balancing server using a registration program through the cloud registration and login module, and the process management module logs in to the hybrid cloud service system based on the hybrid cloud user account.
[0086] In the specific implementation of step S201, the load balancing collection module collects load status information and resource status information of multiple workflows of the current load balancing device in a hybrid cloud environment in real time.
[0087] Step S202: Determine whether the load status information and resource status information are empty. If not, it means that change management of the load balancing device in the hybrid cloud environment is required, and execute steps S203 to S205. If it is empty, it means that standardization of the device startup operation of the load balancing device in the hybrid cloud environment is required, and execute steps S206 to S209.
[0088] In the process of specifically implementing step S202, the corresponding operation on the load balancing device is determined by judging whether the collected load status information and resource status information have any content. If the load status information and resource status information have any content, it means that change management of the load balancing device in the hybrid cloud environment is required, and steps S203 to S205 are executed. If the load status information and resource status information do not have any content, it means that standardization of the device startup operation of the load balancing device in the hybrid cloud environment is required, and steps S206 to S209 are executed.
[0089] Step S203: Obtain the parameters to be changed.
[0090] In the specific implementation of step S203, the change management module obtains the parameters to be changed set by the user.
[0091] It should be noted that the parameters to be changed are set in advance according to actual conditions.
[0092] Step S204: Process the parameters to be changed to obtain a target data table.
[0093] It should be noted that, in the specific implementation step S204, the parameters to be changed are processed to obtain the target data table. Figure 3 As shown, the specific steps include:
[0094] Step S301: writing the parameters to be changed into the initial data table.
[0095] In the specific process of implementing step S301, the automatic controller Auto SDN writes the parameter to be changed into the change parameter table.
[0096] Step S302: Processing the initial data table according to a preset format to obtain an initial data table in a preset format.
[0097] In the specific process of implementing step S302, the automatic controller Auto SDN processes the parameters in the parameter table to be changed according to a preset format to obtain an initial data table in a preset format.
[0098] It should be noted that the initial data table in a preset format refers to a recognizable data table.
[0099] The preset format is set based on experiments and is a recognizable format.
[0100] Step S303: converting the initial data table in the preset format into a target data table.
[0101] In the specific implementation of step S303 , the automatic controller Auto SDN converts the parameters to be changed in a preset format into a target data table, that is, a data table in an application programming interface API format.
[0102] Step S205: updating the load status information and resource status information of the load balancing device based on the target data table.
[0103] In the specific implementation of step S205, the target data table, ie, the data table in the API format, is transferred to the load balancing device by using the change subflow, so that the load status information and the resource status information are updated.
[0104] Step S206: Determine whether the load balancing device has manageable permissions. If yes, execute step S207. If no, send a notification message to a human so that after the human is connected, continue to return to execute step S206.
[0105] In the process of implementing step S206, in order to avoid differentiated configuration or non-compliant configuration caused by human operation, it is necessary to detect whether the load balancing device is connected, that is, to determine whether the load balancing device has manageable authority. If it is determined that the load balancing device has manageable authority, step S207 is executed. If it is determined that the load balancing device does not have manageable authority, a notification message is sent to the manual so that after the manual connection, the execution of step S206 is continued.
[0106] Step S207: configuring the configuration file of the load balancing device according to the preset configuration parameters corresponding to the load balancing device.
[0107] In step S207, the preset configuration parameters include basic configuration parameters, management configuration parameters, and high availability configuration parameters, and the high availability configuration parameters include first high availability configuration parameters and second high availability configuration parameters.
[0108] It should be noted that, in the specific implementation of step S207, Figure 4 As shown, the following steps are included:
[0109] Step S401: configuring a basic configuration file of the load balancing device according to basic configuration parameters corresponding to the load balancing device.
[0110] In step S401, the basic configuration parameters include device login parameters, configuration aggregation interface parameters, configuration service virtual local area network (Vlan) parameters, configuration local IP address (Selfip) parameters and configuration routing parameters.
[0111] In the process of implementing step S401, the load balancing device is basically configured according to the device login parameters, configured aggregation interface parameters, configured service Vlan parameters, configured Selfip parameters and configured routing parameters corresponding to the load balancing device to determine the basic configuration file of the load balancing device.
[0112] Step S402: configuring a management configuration file of the load balancing device according to management configuration parameters corresponding to the load balancing device.
[0113] In step S402, the management configuration parameters include configuring user account parameters, configuring time synchronization NTP parameters, configuring network management SNMP parameters, and configuring system log or system record Syslog parameters.
[0114] In the process of specifically implementing step S402, the load balancing device is managed and configured according to the configuration user account parameters, configuration time synchronization NTP parameters, configuration network management SNMP parameters, and configuration system log or system record Syslog parameters corresponding to the load balancing device, thereby determining the management configuration file of the load balancing device.
[0115] Step S403: Determine whether the number of the load balancing devices is a cluster, if so, execute step S404, if not, execute step S405.
[0116] In the process of implementing step S403, determine whether the number of the load balancing devices is not limited to the master / backup load balancing devices, and other devices exist. If the number of load balancing devices is not limited to the master / backup load balancing devices, and other devices exist, it means that the number of load balancing devices is a cluster, and step S404 is executed at this time. If the number of load balancing devices only includes master / backup load balancing devices, it means that the number of load balancing devices is not a cluster, and step S405 is executed at this time.
[0117] Step S404: configuring a high availability configuration file of the load balancing device according to a first high availability configuration parameter corresponding to the load balancing device.
[0118] In step S404, the first high availability configuration parameters include manually configuring Cluster parameters, configuring monitoring icmp monitor parameters, configuring performance monitoring pool icmp pool parameters, configuring traffic group Traffic group parameters, configuring floating LTM interface address Floating selfip parameters and configuring public network IP access address SNATpool parameters.
[0119] In the process of implementing step S404, the load balancing device is configured for high availability by manually configuring Cluster parameters, configuring monitoring icmp monitor parameters, configuring performance monitoring pool icmp pool parameters, configuring traffic group parameters, configuring floating LTM interface address Floating selfip parameters, and configuring public IP access address SNAT pool parameters according to the configuration corresponding to the load balancing device, thereby determining a high availability configuration file for the load balancing device.
[0120] Step S405: configuring a high availability configuration file of the load balancing device according to a second high availability configuration parameter corresponding to the load balancing device.
[0121] In step S405, the second high availability configuration parameters include configuring monitoring listening icmp monitor parameters, configuring performance monitoring pool icmp pool parameters, configuring traffic group Traffic group parameters, configuring floating LTM interface address Floating selfip parameters, configuring public network IP access address SNAT pool parameters and configuring dual-machine cluster HA parameters.
[0122] In the process of implementing step S405, the load balancing device is configured for high availability according to the configuration monitoring icmp monitor parameters corresponding to the load balancing device, the configuration performance monitoring pool icmp pool parameters, the configuration traffic group Traffic group parameters, the configuration floating LTM interface address Floating selfip parameters, the configuration public IP access address SNAT pool parameters and the configuration dual-machine cluster HA parameters, thereby determining the high availability configuration file of the load balancing device.
[0123] Step S208: Match the version of the load balancing device.
[0124] In the specific implementation of step S208, the correct software version is matched according to the manufacturer and model of the pre-selected load balancing LB device, and the software version of the load balancing device is upgraded.
[0125] Step S209: deploying the load balancing device based on the configuration file of the load balancing device, the version and the preset deployment area of the load balancing device.
[0126] In the process of implementing step S209, when starting the device, the device deployment area, device manufacturer and model are automatically matched with the startup configuration template and software version, and the configuration and upgrade version are automatically issued. That is to say, the load balancing device is deployed through the above-configured configuration file, the above version and the preset load balancing device deployment area, thereby realizing the standardized setting of the startup operation of the load balancing device.
[0127] It should be noted that the preset load balancing device deployment area is set in advance based on actual conditions.
[0128] Optionally, the load balancing device startup function needs to be able to provide services independently and can also be called by the process in the form of an API.
[0129] In the embodiment of the present invention, no manual assistance is required. Based on the collected load status information and resource status information, it is determined whether data change management needs to be performed on the load balancing device or standardization of the load balancing device startup operation needs to be achieved; if the load status information and resource status information are not empty, the parameters to be changed are processed to obtain the target data table; and the load status information and resource status information of the load balancing device are updated based on the target data table, thereby achieving change management of the load balancing device in the hybrid cloud environment. If the load status information and resource status information are empty, the configuration file of the load balancing device is configured according to the preset configuration parameters corresponding to the load balancing device, and then the load balancing device is deployed based on the configuration file, version and preset load balancing device deployment area of the load balancing device, thereby achieving standardization of the load balancing device startup operation in the hybrid cloud environment. The above method can improve the efficiency of resource operation and maintenance, and can reduce the operation and maintenance complexity of the existing hybrid cloud disaster recovery.
[0130] The embodiment of the present invention also discloses an electronic device, which is used to run a database storage process, wherein the above-mentioned Figures 2 to 4 A data management method is disclosed.
[0131] The embodiment of the present invention also discloses a computer storage medium, wherein the storage medium includes a storage database storage process, wherein when the database storage process is running, the device where the storage medium is located is controlled to execute the above Figures 2 to 4 A data management method is disclosed.
[0132] In the context of the present disclosure, a computer storage medium may be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, device, or equipment. A 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, device, or equipment, or any suitable combination of the foregoing. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, 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 disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
[0133] Each embodiment in this specification is described in a progressive manner, and the same or similar parts between the embodiments can refer to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the system or system embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can refer to the partial description of the method embodiment. The system and system embodiments described above are merely schematic, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. Ordinary technicians in this field can understand and implement it without creative work.
[0134] Professionals may further appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of the two. In order to clearly illustrate the interchangeability of hardware and software, the composition and steps of each example have been generally described in the above description according to function. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professionals and technicians may use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the present invention.
[0135] The above description of the disclosed embodiments enables one skilled in the art to implement or use the present invention. Various modifications to these embodiments will be apparent to one skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present invention. Therefore, the present invention will not be limited to the embodiments shown herein, but rather to the widest scope consistent with the principles and novel features disclosed herein.
Claims
1. A data management method, characterized in that: The method comprises: Collect load status information and resource status information of load balancing devices; When it is determined that the load status information and the resource status information are not empty, obtaining the parameters to be changed; Processing the parameters to be changed to obtain a target data table; Update the load status information and resource status information of the load balancing device based on the target data table; When it is determined that the load status information and the resource status information are empty, determining whether the load balancing device has manageable authority; When it is determined that the load balancing device has manageable permissions, configure the configuration file of the load balancing device according to the preset configuration parameters corresponding to the load balancing device, the preset configuration parameters include basic configuration parameters, management configuration parameters, and high availability configuration parameters, the high availability configuration parameters include first high availability configuration parameters and second high availability configuration parameters, the first high availability configuration parameters include configuring manual configuration Cluster parameters, configuring monitoring and listening icmpmonitor parameters, configuring performance monitoring pool icmp pool parameters, configuring traffic group Traffic group parameters, configuring floating LTM interface address Floating selfip parameters, and configuring public IP access address SNAT pool parameters; the second high availability configuration parameters include configuring monitoring and listening icmp monitor parameters, configuring performance monitoring pool icmp pool parameters, configuring traffic group Traffic group parameters, configuring floating LTM interface address Floating selfip parameters, configuring public IP access address SNAT pool parameters, and configuring dual-machine cluster HA parameters; Match the version of the load balancing device; The load balancing device is deployed based on the configuration file of the load balancing device, the version and the preset load balancing device deployment area.
2. The method according to claim 1, characterized in that Configuring the configuration file of the load balancing device according to the preset configuration parameters corresponding to the load balancing device includes: Configure a basic configuration file of the load balancing device according to basic configuration parameters corresponding to the load balancing device; Configuring a management configuration file of the load balancing device according to management configuration parameters corresponding to the load balancing device; When it is determined that the number of the load balancing devices is a cluster, a high availability configuration file of the load balancing device is configured according to a first high availability configuration parameter corresponding to the load balancing device.
3. The method according to claim 1, characterized in that: Configuring the configuration file of the load balancing device according to the preset configuration parameters corresponding to the load balancing device includes: Configure a basic configuration file of the load balancing device according to basic configuration parameters corresponding to the load balancing device; Configuring a management configuration file of the load balancing device according to management configuration parameters corresponding to the load balancing device; When it is determined that the number of the load balancing devices is not a cluster, a high availability configuration file of the load balancing device is configured according to a second high availability configuration parameter corresponding to the load balancing device.
4. The method according to claim 1, characterized in that The processing of the parameters to be changed to obtain a target data table includes: Writing the parameters to be changed into the initial data table; Processing the initial data table according to a preset format to obtain an initial data table in a preset format; The initial data table in the preset format is converted into a target data table.
5. A data management device, characterized in that: The device comprises: The load balancing collection module is used to collect the load status information and resource status information of the load balancing device; A change management module, for obtaining the parameters to be changed when it is determined that the load status information and the resource status information are not empty; processing the parameters to be changed to obtain a target data table; and updating the load status information and the resource status information of the load balancing device based on the target data table; A configuration start module is used to determine whether the load balancing device has manageable authority when it is determined that the load status information and the resource status information are empty; when it is determined that the load balancing device has manageable authority, configure the configuration file of the load balancing device according to the preset configuration parameters corresponding to the load balancing device, the preset configuration parameters include basic configuration parameters, management configuration parameters, and high availability configuration parameters, the high availability configuration parameters include first high availability configuration parameters and second high availability configuration parameters, the first high availability configuration parameters include manually configuring Cluster parameters, configuring monitoring and listening icmp monitor parameters, configuring performance monitoring pool icmp pool parameters, configuring traffic group Traffic group parameters, configuring floating LTM interface address Floating selfip parameters and configuring public network IP access address SNAT pool parameters; the second high availability configuration parameters include configuring monitoring and listening icmp monitor parameters, configuring performance monitoring pool icmp pool parameters, configuring traffic group Traffic group parameters, configuring floating LTM interface address Floating selfip parameters, configuring public network IP access address SNAT pool parameters pool parameters and configure dual-machine cluster HA parameters; match the version of the load balancing device; deploy the load balancing device based on the configuration file of the load balancing device, the version and the preset load balancing device deployment area.
6. The device according to claim 5, characterized in that The configuration and deployment module for configuring the configuration file of the load balancing device according to the preset configuration parameters corresponding to the load balancing device is specifically used to: Configure a basic configuration file of the load balancing device according to the basic configuration parameters corresponding to the load balancing device; configure a management configuration file of the load balancing device according to the management configuration parameters corresponding to the load balancing device; when it is determined that the number of the load balancing devices is a cluster, configure a high availability configuration file of the load balancing device according to the first high availability configuration parameter corresponding to the load balancing device.
7. An electronic device, characterized in that: include: A processor and a memory, wherein the processor and the memory are connected via a communication bus; wherein the processor is used to call and execute a program stored in the memory; The memory is used to store a program, and the program is used to implement the data management method according to any one of claims 1 to 4.
8. A computer storage medium, characterized in that: The storage medium includes a storage program, wherein when the program is running, the device where the storage medium is located is controlled to execute the data management method according to any one of claims 1 to 4.
