CN106789202A - service management device and method - Google Patents
service management device and method Download PDFInfo
- Publication number
- CN106789202A CN106789202A CN201611125509.4A CN201611125509A CN106789202A CN 106789202 A CN106789202 A CN 106789202A CN 201611125509 A CN201611125509 A CN 201611125509A CN 106789202 A CN106789202 A CN 106789202A
- Authority
- CN
- China
- Prior art keywords
- gray scale
- business
- node
- grayscale version
- distributed
- 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
Classifications
-
- 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
- H04L41/082—Configuration setting characterised by the conditions triggering a change of settings the condition being updates or upgrades of network functionality
-
- 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/0866—Checking the configuration
- H04L41/0869—Validating the configuration within one network element
-
- 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
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Multi Processors (AREA)
Abstract
The invention discloses a kind of service management device, including:Generation module, for after the corresponding configuration parameter of business updates, according to renewal after the configuration parameter, generate the corresponding grayscale version of the business, wherein, the service operation is in distributed cluster system;Setup module, for choosing the multiple clustered nodes in the distributed cluster system, and is set to gray scale node by the multiple clustered node chosen;Test module, for the grayscale version for generating to be distributed into the gray scale node, tests the grayscale version;Release module, for when the test succeeds, the grayscale version being distributed into the distributed cluster system, is updated with to the business.The invention also discloses a kind of business management method.The present invention improves the reliability of processing business and updates.
Description
Technical field
The present invention relates to network communication technology field, more particularly to a kind of service management device and method.
Background technology
In the daily O&M of distributed cluster system, it usually needs in the case where distributed cluster system does not delay machine,
The configuration parameter of certain business being currently running in distributed cluster system is changed on line, transformed with to the business,
The processing business and updates such as upgrading.Once changed due to configuration parameter complete, all clustered nodes that will be in distributed cluster system
On come into force immediately, namely complete to carry out the business on line the operation of processing business and updates, the efficiency of processing business and updates is very high.But, if
The configuration parameter of modification is simultaneously improper, and it comes into force on all of clustered node, and this can bring about great bad shadow
Ring, cause the reliability of processing business and updates not high.
The content of the invention
It is a primary object of the present invention to propose a kind of service management device and method, it is intended to solve business in the prior art
The reliability of renewal technical problem not high.
To achieve the above object, the present invention provides a kind of service management device, and the service management device includes:
Generation module, for after the corresponding configuration parameter of business updates, according to renewal after the configuration parameter, generation
The corresponding grayscale version of the business, wherein, the service operation is in distributed cluster system;
Setup module, it is for choosing the multiple clustered nodes in the distributed cluster system and described many by what is chosen
Individual clustered node is set to gray scale node;
Test module, for the grayscale version for generating to be distributed into the gray scale node, enters to the grayscale version
Row test;
Release module, for when the test succeeds, the grayscale version being distributed into the distributed cluster system, with right
The business is updated.
Alternatively, the service management device also includes:
Processing module, for when test crash, corresponding prompt message being sent, so that user enters to the configuration parameter
Row modification;
The generation module, is additionally operable to, according to the amended configuration parameter, regenerate the corresponding ash of the business
Degree version;
The test module, the grayscale version for being additionally operable to regenerate is distributed to the gray scale node, to again
The grayscale version of generation is tested.
Alternatively, the setup module includes:
Unit is chosen, it is described many according to what is chosen for choosing the multiple clustered nodes in the distributed cluster system
Individual clustered node generates gray scale node listing;
Setting unit, closes for successively routeing the outer net IP agreement of each clustered node in the gray scale node listing
Close, the clustered node that outer net IP routes are closed is gray scale node.
Alternatively, the setting unit is additionally operable to:
The outer net IP of each clustered node in the gray scale node listing is route successively is opened, and delete the gray scale section
Point list.
Alternatively, the test module is used for:
When the gray scale issue instruction based on the issue button triggering of default gray scale is received, the gray scale version that will be generated
Originally the gray scale node is distributed to, the grayscale version is tested.
Additionally, to achieve the above object, the present invention also proposes a kind of business management method, and the business management method includes
Following steps:
After the corresponding configuration parameter of business updates, according to renewal after the configuration parameter, generate the business correspondence
Grayscale version, wherein, the service operation is in distributed cluster system;
The multiple clustered nodes in the distributed cluster system are chosen, and the multiple clustered node that will be chosen is set
It is gray scale node;
The grayscale version for generating is distributed to the gray scale node, the grayscale version is tested;
When the test succeeds, the grayscale version is distributed to the distributed cluster system, is carried out with to the business
Update.
Alternatively, it is described that the grayscale version for generating is distributed to the gray scale node, the grayscale version is carried out
After the step of test, also include:
When test crash, corresponding prompt message is sent, so that user modifies to the configuration parameter;
According to the amended configuration parameter, the corresponding grayscale version of the business is regenerated, and return to execution institute
State and the grayscale version for generating is distributed to the gray scale node, the step of test the grayscale version.
Alternatively, the multiple clustered nodes chosen in the distributed cluster system, and it is the multiple by what is chosen
The step of clustered node is set to gray scale node includes:
The multiple clustered nodes in the distributed cluster system are chosen, according to the multiple clustered node generation chosen
Gray scale node listing;
The outer net IP agreement of each clustered node in the gray scale node listing is route successively is closed, outer net IP routes are closed
The clustered node for closing is gray scale node.
Alternatively, it is described that the grayscale version is distributed to the distributed cluster system when the test succeeds, with to institute
After the step of business of stating is updated, also include:
The outer net IP of each clustered node in the gray scale node listing is route successively is opened, and delete the gray scale section
Point list.
Alternatively, it is described that the grayscale version for generating is distributed to the gray scale node, the grayscale version is carried out
The step of test, includes:
When the gray scale issue instruction based on the issue button triggering of default gray scale is received, the gray scale version that will be generated
Originally the gray scale node is distributed to, the grayscale version is tested.
Service management device and method proposed by the present invention, for certain industry being currently running in distributed cluster system
Business, after the corresponding configuration parameter of the business updates, it is corresponding that generation module generates the business according to the configuration parameter after renewal
Grayscale version, setup module chooses the multiple clustered nodes in distributed cluster system, and the multiple clustered nodes that will be chosen are set
It is gray scale node, then the corresponding grayscale version of the business for generating is distributed to gray scale node by test module, to the business pair
The grayscale version answered is tested, if being successfully tested, the corresponding grayscale version of the business is distributed to distribution by release module again
Group system, completes to carry out processing business and updates to the business on line.Due to the grayscale version of the business is being distributed into distributed collection
Before group's system, the grayscale version to the business on gray scale node is tested, and eliminates potential due to business
Corresponding configuration parameter is improper to bring dysgenic risk, this improves the reliability of processing business and updates.
Brief description of the drawings
Fig. 1 is the hardware architecture diagram of the terminal for realizing each embodiment of the invention;
Fig. 2 is the module diagram of service management device first embodiment of the present invention;
Fig. 3 is the communication system schematic diagram for realizing each embodiment of the invention;
Fig. 4 is the module diagram of service management device second embodiment of the present invention;
Fig. 5 is the module diagram of setup module in service management device second embodiment of the present invention;
Fig. 6 is the schematic flow sheet of business management method first embodiment of the present invention;
Fig. 7 is the schematic flow sheet of business management method second embodiment of the present invention.
The realization of the object of the invention, functional characteristics and advantage will be described further referring to the drawings in conjunction with the embodiments.
Specific embodiment
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
The terminal of each embodiment of the invention is realized referring now to Description of Drawings.In follow-up description, using being used for
The suffix of such as " module ", " part " or " unit " of element is represented only for being conducive to explanation of the invention, itself is not
There is specific meaning.Therefore, " module " can be used mixedly with " part ".
Terminal can be implemented in a variety of manners.For example, terminal described in the present invention can include such as mobile phone,
Smart phone, notebook computer, digit broadcasting receiver, PDA (personal digital assistant), PAD (panel computer), PMP are (portable
Multimedia player), the mobile terminal and the such as fixed terminal of numeral TV, desktop computer etc. of guider etc..
The hardware architecture diagram of a kind of terminal 1100 provided in an embodiment of the present invention, as shown in figure 1, the terminal 1100 is wrapped
Include:
Processor 1110, is a general central processor (CPU), microprocessor, ASIC
(application-specific integrated circuit, ASIC), or one or more are for controlling the present invention program
The integrated circuit that S10-S14 is performed.
Memory 1120, the storage of the various software programs for completing terminal, the storage of data, and software program
Operation etc..The memory 1120 can be RAM, EPROM, SSD, SD card, one or more in HD hard disks.The present invention is implemented
Video file and special efficacy that example is provided, also run and store on memory 1120.
Sensor 1130, for measure and record data, the sensor 1130 can include it is following in any one or it is many
Kind:Camera, GPS module, gravity sensor, acceleration transducer, range sensor, optical pickocff, microphone, raise one's voice
Device.
Transmission circuit 1140, for providing communication function, including cellular network (GSM/UMTS/LTE/CDMA etc.), wirelessly
One or more in LAN (WLAN), short-range communication (NFC), bluetooth etc..
Power supply 1150, for providing direct current supply, or is converted into direct current supply by Alternating Current Power Supply.
I/O interface circuits 1160, for providing external interface.Alternatively, the I/O interface circuits 1160 can include following
Any one or more in interface:USB interface, SD card interface, keystroke interface.
Display 1170, can be the display screen and/or touch-screen of terminal, in the display video file of display screen and spy
Effect;Touch-screen is used to receive user's touch operation and is converted into user's operational order.
I/O controls circuit 1180, for controlling the data interaction between various imput output circuit parts, especially, example
Such as the data interaction between processor 1110 and I/O interface circuits 1160, display 1170.
Based on above-mentioned terminal hardware structure, each embodiment of service management device of the present invention is proposed.
Reference picture 2, Fig. 2 is the module diagram of service management device first embodiment of the present invention, in the first embodiment,
The service management device includes:
Generation module 10, for after the corresponding configuration parameter of business updates, according to renewal after the configuration parameter, it is raw
Into the corresponding grayscale version of the business, wherein, the service operation is in distributed cluster system;
For the distributed cluster system for possessing a large amount of clustered nodes, come right frequently with decentralized configuration management platform now
Distributed cluster system carries out environment deployment, and the parameter of the business to being run on distributed cluster system is configured, such as
Shown in Fig. 3, decentralized configuration management platform constitutes the communication system of service operation management with distributed cluster system.In distribution
Change distributed in the daily O&M of formula group system, it usually needs in the case where distributed cluster system does not delay machine, on line
The configuration parameter of certain business being currently running in group system, the processing business and updates such as is transformed, is upgraded with to the business,
Once configuration parameter modification is completed, come into force (a cluster immediately on all clustered nodes that will be in distributed cluster system
Node is exactly the station terminal 1100 being located in the distributed cluster system), namely complete to carry out business more to the business on line
New operation, the efficiency of processing business and updates is very high.But, if the configuration parameter and improper of modification, and it is in all of collection
Come into force on group node, this can bring about great even catastrophic harmful effect, cause the reliability of processing business and updates not high.
In order to improve the reliability of processing business and updates, service management device of the invention, the service management device application are proposed
In decentralized configuration management platform.Alternatively, the service management device is arranged in decentralized configuration management platform.The present embodiment
In, when certain business being currently running in needing to distributed cluster system is updated, related O&M user can be first
The corresponding relevant configured parameter of the business is modified in decentralized configuration management platform first, it is corresponding to update the business
Configuration parameter.After the corresponding configuration parameter of the business updates, generation module 10 generates the industry according to the configuration parameter after renewal
It is engaged in corresponding grayscale version.Alternatively, after the corresponding grayscale version of the business is generated, the grayscale version to generating is carried out
Name.It is understood that the grayscale version that can be by O&M user manually to generating is named, it is also possible to by dividing
The automatic grayscale version to generating of cloth configuration management platform is named, and this is not restricted for the mode of specific name.
Setup module 20, for choosing the multiple clustered nodes in the distributed cluster system, and described in choosing
Multiple clustered nodes are set to gray scale node;
In order to test the corresponding grayscale version of the business, in the present embodiment, setup module 20 is from distributed type assemblies
Multiple clustered nodes are chosen in system, such as choose the edge clustered node in distributed cluster system, and by choose these
Clustered node is set to gray scale node, used as the test cluster node that the corresponding grayscale version of the business is tested.Can manage
Solution, the mode for choosing clustered node can flexibly be set according to the actual conditions of distributed cluster system, not make herein
Limitation.
Test module 30, for the grayscale version for generating to be distributed into the gray scale node, to the grayscale version
Tested;
When generation module 10 generates the corresponding grayscale version of the business, setup module 20 is provided with after gray scale node,
The corresponding grayscale version of the business for generating is distributed to gray scale node by test module 30, to the ash of the business on gray scale node
Degree version is tested.Namely the business after updating is run on these gray scale nodes, and the business after renewal is tested, supervise
Service operation situation of the business surveyed after updating on gray scale node, determines whether is its service operation situation on gray scale node
Meet the Expected Results of processing business and updates.If meeting the Expected Results of processing business and updates, the grayscale version test of the business is successfully
, otherwise, the grayscale version test crash of the business.
Release module 40, for when the test succeeds, the grayscale version being distributed into the distributed cluster system, with
The business is updated.
When the grayscale version of the business is successfully tested on gray scale node, namely when illustrating that processing business and updates are successfully, hair
The grayscale version of the business is distributed to cloth module 40 all clustered nodes in distributed cluster system, namely is collected in distribution
The business after updating is run on all clustered nodes in group's system, processing business and updates are carried out to the business on line so as to complete
Operation.Due to before all clustered nodes during the grayscale version of the business is distributed into distributed cluster system, existing
Grayscale version on gray scale node to the business is tested, and is successfully tested, therefore, be not in after updating
Business is run on all clustered nodes in distributed cluster system and is not met the situation of Expected Results, namely improves business
The reliability of renewal.Meanwhile, also achieve processing business and updates quick same on all clustered nodes in distributed cluster system
Step, improves the stability of distributed cluster system, it is ensured that the high availability of distributed cluster system.
The scheme that the present embodiment is proposed, for certain business being currently running in distributed cluster system, when the business
After corresponding configuration parameter updates, generation module 10 generates the corresponding grayscale version of the business according to the configuration parameter after renewal,
Setup module 20 chooses the multiple clustered nodes in distributed cluster system, and the multiple clustered nodes chosen are set into gray scale section
Point, then test module 30 by generate the corresponding grayscale version of the business be distributed to gray scale node, to the corresponding ash of the business
Degree version is tested, if being successfully tested, the corresponding grayscale version of the business is distributed to distributed type assemblies by release module 40 again
System, completes to carry out processing business and updates to the business on line.Due to the grayscale version of the business is being distributed into distributed type assemblies system
Before system, the grayscale version to the business on gray scale node is tested, and eliminates potential due to business correspondence
Configuration parameter it is improper bring dysgenic risk, this improves the reliability of processing business and updates.
Further, as shown in figure 4, proposing service management device second embodiment of the present invention.Service management device second
Embodiment is with the difference of service management device first embodiment, in service management device second embodiment, the business
Managing device also includes:
Processing module 50, for when test crash, corresponding prompt message being sent, so that user is to the configuration parameter
Modify;
The generation module 10, is additionally operable to, according to the amended configuration parameter, regenerate the business corresponding
Grayscale version;
The test module 30, the grayscale version for being additionally operable to regenerate is distributed to the gray scale node, counterweight
The newly-generated grayscale version is tested.
In the present embodiment, the corresponding grayscale version of the business for generating is distributed to gray scale node by test module 30, in ash
Grayscale version on degree node to the business is tested.Namely the business after updating is run on these gray scale nodes, to more
Business after new is tested, and service operation situation of the business after Monitoring and Update on gray scale node determines it in gray scale section
Whether the service operation situation on point meets the Expected Results of processing business and updates.If meeting the Expected Results of processing business and updates, judge
The grayscale version of the business is successfully tested, and otherwise, judges the grayscale version test crash of the business.
When the grayscale version of the business is successfully tested, the grayscale version of the business is distributed to distribution by release module 40
All clustered nodes in group system.When the grayscale version test crash of the business, processing module 50 sends and carries accordingly
Show information, such as the prompt message of ejection modification configuration parameter.O&M user is after the prompt message is viewed, you can in distribution
The corresponding relevant configured parameter of the business is modified on formula configuration management platform.Generation module 10 is according to amended configuration
Parameter, regenerates the corresponding grayscale version of the business, also will the corresponding grayscale version of the business be updated.
Afterwards, the grayscale version that test module 30 will be regenerated currently is distributed to gray scale node, right on gray scale node
The grayscale version for regenerating is tested.If being this time successfully tested, the grayscale version hair that release module 40 will be regenerated
Cloth completes to carry out processing business and updates to the business on line to all clustered nodes of distributed cluster system.If this test crash,
Operation before then repeating, changes the corresponding configuration parameter of the business again, generates the corresponding gray scale of the business again again
Version is tested, until when the test succeeds, the grayscale version that release module 40 will be ultimately generated is distributed to distributed type assemblies
All clustered nodes of system, complete to carry out processing business and updates to the business on line.
Further, as shown in figure 5, in the present embodiment, the setup module 20 includes:
Unit 21 is chosen, for choosing the multiple clustered nodes in the distributed cluster system, according to choosing
Multiple clustered nodes generate gray scale node listing;
Setting unit 22, closes for successively routeing the outer net IP agreement of each clustered node in the gray scale node listing
Close, the clustered node that outer net IP routes are closed is gray scale node.
In the present embodiment, after selection unit 21 chooses multiple clustered nodes from distributed cluster system, according to selected
The multiple clustered nodes for taking, generate corresponding gray scale node listing, and selected multiple collection are contained in the gray scale node listing
Group node.Then, setting unit 22 is according to the gray scale node listing, successively by each clustered node in the gray scale node listing
Outer net IP agreement route is closed, and the clustered node that outer net IP routes are closed becomes gray scale node.For the outer net of clustered node
The closing mode of IP routes, depending on the network environment of distributed cluster system, this is not restricted.
Further, in the present embodiment, the setting unit 22 is additionally operable to:
The outer net IP of each clustered node in the gray scale node listing is route successively is opened, and delete the gray scale section
Point list.
Be distributed to after distributed cluster system by the corresponding grayscale version of the business, setting unit 22 according to previous existence
Into gray scale node listing, successively by the gray scale node listing each clustered node outer net IP route open, namely recover
The normal operation mode of gray scale node, in making it rejoin distributed cluster system.Then, the gray scale that will be generated before
Node listing is deleted.
Further, in order to improve the interactive experience of O&M user, in the present embodiment, the test module 30 is used for:
When the gray scale issue instruction based on the issue button triggering of default gray scale is received, the gray scale version that will be generated
Originally the gray scale node is distributed to, the grayscale version is tested.
Further, gray scale issue button is preset with decentralized configuration management platform, the business is corresponding when generating
, it is necessary to when the grayscale version to generating is tested, it is flat that O&M user can click on decentralized configuration management after grayscale version
Gray scale issue button on platform, triggering gray scale issue instruction.When receive gray scale issue instruction when, test module 30 by generate
Grayscale version is distributed to gray scale node, and the grayscale version to generating is tested.
Further, a synchronous button can also be preset in decentralized configuration management platform, when the corresponding ash of the business
After degree version is successfully tested, O&M user can click on the synchronous button in decentralized configuration management platform, start distribution and match somebody with somebody
Put the synchronizing function of management platform.When synchronizing function starts, the grayscale version of generation is distributed to distribution by release module 40
All clustered nodes in group system, complete to carry out processing business and updates to the business on line.
The scheme that the present embodiment is proposed, when the corresponding grayscale version test crash of business, the meeting basis of generation module 10 is repaiied
Configuration parameter after changing, regenerates the corresponding grayscale version of business, the grayscale version issue that test module 30 will be regenerated
To gray scale node, the grayscale version to regenerating is tested, the operation before repeating, until when grayscale version is successfully tested
When, be distributed to this grayscale version in distributed cluster system by release module 40, completes to carry out processing business and updates to the business on line,
So as to ensure that the reliability of processing business and updates.Also, O&M user can be manually operated triggering gray scale issue instruction, test mould
The grayscale version of generation is distributed to gray scale node by block 30 according to gray scale issue instruction, and the grayscale version to generating is surveyed
Examination, improves the interactive experience of user.
The present invention further provides a kind of business management method.
Reference picture 6, Fig. 6 is the schematic flow sheet of business management method first embodiment of the present invention, in the first embodiment,
The business management method is comprised the following steps:
Step S10, after the corresponding configuration parameter of business updates, according to renewal after the configuration parameter, generation is described
The corresponding grayscale version of business, wherein, the service operation is in distributed cluster system;
For the distributed cluster system for possessing a large amount of clustered nodes, come right frequently with decentralized configuration management platform now
Distributed cluster system carries out environment deployment, and the parameter of the business to being run on distributed cluster system is configured, such as
Shown in Fig. 3, decentralized configuration management platform constitutes the communication system of service operation management with distributed cluster system.In distribution
Change distributed in the daily O&M of formula group system, it usually needs in the case where distributed cluster system does not delay machine, on line
The configuration parameter of certain business being currently running in group system, the processing business and updates such as is transformed, is upgraded with to the business,
Once configuration parameter modification is completed, come into force (a cluster immediately on all clustered nodes that will be in distributed cluster system
Node is exactly the station terminal 1100 being located in the distributed cluster system), namely complete to carry out business more to the business on line
New operation, the efficiency of processing business and updates is very high.But, if the configuration parameter and improper of modification, and it is in all of collection
Come into force on group node, this can bring about great even catastrophic harmful effect, cause the reliability of processing business and updates not high.
In order to improve the reliability of processing business and updates, in the present embodiment, in needing to distributed cluster system currently
When certain business of operation is updated, related O&M user can be first in decentralized configuration management platform to business correspondence
Relevant configured parameter modify, to update the corresponding configuration parameter of the business.When the corresponding configuration parameter of the business updates
Afterwards, decentralized configuration management platform generates the corresponding grayscale version of the business according to the configuration parameter after renewal.Alternatively, exist
Generate after the corresponding grayscale version of the business, the grayscale version to generating is named.It is understood that can pass through
The grayscale version of O&M user manually to generating is named, it is also possible to automatic to generation by decentralized configuration management platform
The grayscale version be named, this is not restricted for the mode of specific name.
Step S20, chooses the multiple clustered nodes in the distributed cluster system, and the multiple cluster that will be chosen
Node is set to gray scale node;
In order to test the corresponding grayscale version of the business, in the present embodiment, decentralized configuration management platform from point
Multiple clustered nodes are chosen in cloth group system, such as chooses the edge clustered node in distributed cluster system, and will choosing
These clustered nodes for taking are set to gray scale node, used as the test cluster section that the corresponding grayscale version of the business is tested
Point.It is understood that the mode for choosing clustered node can flexibly be set according to the actual conditions of distributed cluster system,
This is not restricted.
Step S30, the gray scale node is distributed to by the grayscale version for generating, and the grayscale version is surveyed
Examination;
When generating the corresponding grayscale version of the business, and it is provided with after gray scale node, decentralized configuration management platform
The corresponding grayscale version of the business for generating is distributed to gray scale node, the grayscale version to the business on gray scale node is carried out
Test.Namely the business after updating is run on these gray scale nodes, the business after renewal is tested, after Monitoring and Update
Service operation situation of the business on gray scale node, determines whether its service operation situation on gray scale node meets business more
New Expected Results.If meeting the Expected Results of processing business and updates, the grayscale version test of the business is successful, otherwise, is somebody's turn to do
The grayscale version test crash of business.
Step S40, when the test succeeds, is distributed to the distributed cluster system, with to described by the grayscale version
Business is updated.
When the grayscale version of the business is successfully tested on gray scale node, namely when illustrating that processing business and updates are successfully, point
The grayscale version of the business is distributed to cloth configuration management platform all clustered nodes in distributed cluster system, Ye Ji
The business after updating is run on all clustered nodes in distributed cluster system, industry is entered to the business on line so as to complete
The operation that business updates.Due to all clustered nodes in the grayscale version of the business is distributed into distributed cluster system it
Before, the grayscale version to the business on gray scale node is tested, and is successfully tested, therefore, will not go out
Now operation does not meet the situation of Expected Results on all clustered nodes of the business after renewal in distributed cluster system, namely
Improve the reliability of processing business and updates.Meanwhile, also achieve all clustered nodes of the processing business and updates in distributed cluster system
On Fast synchronization, improve the stability of distributed cluster system, it is ensured that the high availability of distributed cluster system.
The scheme that the present embodiment is proposed, for certain business being currently running in distributed cluster system, when the business
After corresponding configuration parameter updates, the corresponding grayscale version of the business is generated according to the configuration parameter after renewal, and choose distribution
The multiple clustered nodes chosen are set to gray scale node by the multiple clustered nodes in formula group system, then should by what is generated
The corresponding grayscale version of business is distributed to gray scale node, and the corresponding grayscale version of the business is tested, if it is successfully tested, then
The corresponding grayscale version of the business is distributed to distributed cluster system, completes to carry out processing business and updates to the business on line.Due to
Before the grayscale version of the business is distributed into distributed cluster system, to the gray scale version of the business on gray scale node
Originally it is tested, eliminates and dysgenic risk is potentially brought because the corresponding configuration parameter of business is improper, therefore,
Improve the reliability of processing business and updates.
Further, as shown in fig. 7, proposing business management method second embodiment of the present invention.Business management method second
Embodiment is with the difference of business management method first embodiment, in business management method second embodiment, the step
After S30, also include:
Step S50, judgement is tested whether successfully, if so, then performing the step S40;If it is not, then performing step S60;
Step S60, sends corresponding prompt message, so that user modifies to the configuration parameter;
Step S70, according to the amended configuration parameter, regenerates the corresponding grayscale version of the business, and return
Step S30 described in receipt row.
In the present embodiment, the corresponding grayscale version of the business for generating is distributed to gray scale section by decentralized configuration management platform
Point, the grayscale version to the business on gray scale node is tested.Namely the industry after updating is run on these gray scale nodes
Business, the business after renewal is tested, service operation situation of the business after Monitoring and Update on gray scale node, determine its
Whether the service operation situation on gray scale node meets the Expected Results of processing business and updates.If meeting the Expected Results of processing business and updates,
Then judge that the grayscale version of the business is successfully tested, otherwise, judge the grayscale version test crash of the business.
When the grayscale version of the business is successfully tested, the grayscale version of the business is distributed in distributed cluster system
All clustered nodes.When the grayscale version test crash of the business, corresponding prompt message is sent, such as eject modification and match somebody with somebody
Put the prompt message of parameter.O&M user is after the prompt message is viewed, you can to this in decentralized configuration management platform
The corresponding relevant configured parameter of business is modified.Decentralized configuration management platform is given birth to again according to amended configuration parameter
Into the corresponding grayscale version of the business, also will the corresponding grayscale version of the business be updated.
Afterwards, the operation before repeating, the grayscale version that will currently regenerate is distributed to gray scale node, in gray scale section
The grayscale version for regenerating is tested on point.If being this time successfully tested, the grayscale version that will be regenerated is distributed to
All clustered nodes of distributed cluster system, complete to carry out processing business and updates to the business on line.If this test crash, then
It is secondary to change the corresponding configuration parameter of the business, generate the corresponding grayscale version of the business again again and tested, until when survey
Try when successfully, the grayscale version that will be ultimately generated is distributed to all clustered nodes of distributed cluster system, complete on line to this
Business carries out processing business and updates.
Further, in the present embodiment, the step S20 includes:
Step a, chooses the multiple clustered nodes in the distributed cluster system, according to the multiple cluster section chosen
Point generation gray scale node listing;
, route for the outer net IP agreement of each clustered node in the gray scale node listing close successively by step b, outer net IP
It is gray scale node to route the clustered node closed.
In the present embodiment, after multiple clustered nodes are have chosen from distributed cluster system, according to selected many
Individual clustered node, generates corresponding gray scale node listing, and selected multiple clustered nodes are contained in the gray scale node listing.
Then, according to the gray scale node listing, the outer net IP agreement of each clustered node in the gray scale node listing is route close successively
Close, the clustered node that outer net IP routes are closed becomes gray scale node.For the closing mode that the outer net IP of clustered node route,
Depending on the network environment of distributed cluster system, this is not restricted.
Further, in the present embodiment, after the step S40, also include:
, route for the outer net IP of each clustered node in the gray scale node listing open successively by step c, and deletes described
Gray scale node listing.
It is distributed to after distributed cluster system by the corresponding grayscale version of the business, decentralized configuration management platform root
According to the gray scale node listing for generating before, the outer net IP of each clustered node in the gray scale node listing is route open successively,
Namely recover the normal operation mode of gray scale node, in it is rejoined distributed cluster system.Then, will be generated before
The gray scale node listing delete.
Further, in order to improve the interactive experience of O&M user, in the present embodiment, the step S30 includes:
Step d, when the gray scale issue instruction based on the issue button triggering of default gray scale is received, by described in generation
Grayscale version is distributed to the gray scale node, and the grayscale version is tested.
Further, gray scale issue button is preset with decentralized configuration management platform, the business is corresponding when generating
, it is necessary to when the grayscale version to generating is tested, it is flat that O&M user can click on decentralized configuration management after grayscale version
Gray scale issue button on platform, triggering gray scale issue instruction.When gray scale issue instruction is received, decentralized configuration management platform
The grayscale version of generation is distributed to gray scale node, the grayscale version to generating is tested.
Further, a synchronous button can also be preset in decentralized configuration management platform, when the corresponding ash of the business
After degree version is successfully tested, O&M user can click on the synchronous button in decentralized configuration management platform, start distribution and match somebody with somebody
Put the synchronizing function of management platform.When synchronizing function starts, the grayscale version issue that decentralized configuration management platform will be generated
All clustered nodes into distributed cluster system, complete to carry out processing business and updates to the business on line.
The scheme that the present embodiment is proposed, when the corresponding grayscale version test crash of business, can be according to amended configuration
Parameter, regenerates the corresponding grayscale version of business, and the operation before then repeating, the grayscale version that will be regenerated is distributed to
Gray scale node, the grayscale version to regenerating is tested, until when grayscale version is successfully tested, by this grayscale version hair
In cloth to distributed cluster system, complete to carry out processing business and updates to the business on line, so as to ensure that the reliability of processing business and updates.
Also, O&M user can be manually operated triggering gray scale issue instruction, so as to the grayscale version of generation is distributed into gray scale section
Point, the grayscale version to generating is tested, and improves the interactive experience of user.
It should be noted that herein, term " including ", "comprising" or its any other variant be intended to non-row
His property is included, so that process, method, article or device including a series of key elements not only include those key elements, and
And also include other key elements being not expressly set out, or also include for this process, method, article or device institute are intrinsic
Key element.In the absence of more restrictions, the key element limited by sentence "including a ...", it is not excluded that including this
Also there is other identical element in the process of key element, method, article or device.
The embodiments of the present invention are for illustration only, and the quality of embodiment is not represented.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side
Method can add the mode of required general hardware platform to realize by software, naturally it is also possible to by hardware, but in many cases
The former is more preferably implementation method.Based on such understanding, technical scheme is substantially done to prior art in other words
The part for going out contribution can be embodied in the form of software product, and the computer software product is stored in a storage medium
In (such as ROM/RAM, magnetic disc, CD), including some instructions are used to so that a station terminal equipment (can be mobile phone, computer, clothes
Business device, or the network equipment etc.) perform method described in each embodiment of the invention.
The preferred embodiments of the present invention are these are only, the scope of the claims of the invention is not thereby limited, it is every to utilize this hair
Equivalent structure or equivalent flow conversion that bright specification and accompanying drawing content are made, or directly or indirectly it is used in other related skills
Art field, is included within the scope of the present invention.
Claims (10)
1. a kind of service management device, it is characterised in that the service management device includes:
Generation module, for after the corresponding configuration parameter of business updates, according to renewal after the configuration parameter, generation is described
The corresponding grayscale version of business, wherein, the service operation is in distributed cluster system;
Setup module, for choosing the multiple clustered nodes in the distributed cluster system, and the multiple collection that will be chosen
Group node is set to gray scale node;
Test module, for the grayscale version for generating to be distributed into the gray scale node, surveys to the grayscale version
Examination;
Release module, for when the test succeeds, the grayscale version being distributed into the distributed cluster system, with to described
Business is updated.
2. service management device as claimed in claim 1, it is characterised in that the service management device also includes:
Processing module, for when test crash, corresponding prompt message being sent, so that user repaiies to the configuration parameter
Change;
The generation module, is additionally operable to according to the amended configuration parameter, regenerates the corresponding gray scale version of the business
This;
The test module, the grayscale version for being additionally operable to regenerate is distributed to the gray scale node, to regenerating
The grayscale version tested.
3. service management device as claimed in claim 1, it is characterised in that the setup module includes:
Unit is chosen, for choosing the multiple clustered nodes in the distributed cluster system, according to the multiple collection chosen
Group node generates gray scale node listing;
Setting unit, closes, outward for successively routeing the outer net IP agreement of each clustered node in the gray scale node listing
The clustered node that net IP routes are closed is gray scale node.
4. service management device as claimed in claim 3, it is characterised in that the setting unit is additionally operable to:
The outer net IP of each clustered node in the gray scale node listing is route successively is opened, and delete the gray scale node row
Table.
5. the service management device as described in claim any one of 1-4, it is characterised in that the test module is used for:
When the gray scale issue instruction based on the issue button triggering of default gray scale is received, the grayscale version hair that will be generated
Cloth is tested the grayscale version to the gray scale node.
6. a kind of business management method, it is characterised in that the business management method includes step:
After the corresponding configuration parameter of business updates, according to renewal after the configuration parameter, generate the corresponding ash of the business
Degree version, wherein, the service operation is in distributed cluster system;
The multiple clustered nodes in the distributed cluster system are chosen, and the multiple clustered node chosen is set to ash
Degree node;
The grayscale version for generating is distributed to the gray scale node, the grayscale version is tested;
When the test succeeds, the grayscale version is distributed to the distributed cluster system, is updated with to the business.
7. business management method as claimed in claim 6, it is characterised in that described to be distributed to the grayscale version for generating
The gray scale node, the step of test the grayscale version after, also include:
When test crash, corresponding prompt message is sent, so that user modifies to the configuration parameter;
According to the amended configuration parameter, the corresponding grayscale version of the business is regenerated, and return to the execution general
The grayscale version of generation is distributed to the gray scale node, the step of test the grayscale version.
8. business management method as claimed in claim 6, it is characterised in that in the selection distributed cluster system
Multiple clustered nodes, and by choose the multiple clustered node be set to gray scale node the step of include:
The multiple clustered nodes in the distributed cluster system are chosen, gray scale is generated according to the multiple clustered node chosen
Node listing;
The outer net IP agreement of each clustered node in the gray scale node listing is route successively is closed, outer net IP routes are closed
The clustered node is gray scale node.
9. business management method as claimed in claim 8, it is characterised in that it is described when the test succeeds, by gray scale version
Originally be distributed to the distributed cluster system, the step of to be updated to the business after, also include:
The outer net IP of each clustered node in the gray scale node listing is route successively is opened, and delete the gray scale node row
Table.
10. the business management method as described in claim any one of 6-9, it is characterised in that the gray scale that will be generated
Version is distributed to the gray scale node, includes the step of test the grayscale version:
When the gray scale issue instruction based on the issue button triggering of default gray scale is received, the grayscale version hair that will be generated
Cloth is tested the grayscale version to the gray scale node.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611125509.4A CN106789202A (en) | 2016-12-08 | 2016-12-08 | service management device and method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611125509.4A CN106789202A (en) | 2016-12-08 | 2016-12-08 | service management device and method |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106789202A true CN106789202A (en) | 2017-05-31 |
Family
ID=58877448
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201611125509.4A Pending CN106789202A (en) | 2016-12-08 | 2016-12-08 | service management device and method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106789202A (en) |
Cited By (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110007940A (en) * | 2018-11-12 | 2019-07-12 | 阿里巴巴集团控股有限公司 | Verification method, system, server and the readable storage medium storing program for executing of gray scale publication |
CN110489133A (en) * | 2019-08-23 | 2019-11-22 | 亿企赢网络科技有限公司 | A kind of gray scale dissemination method, system and electronic equipment and storage medium |
CN110515824A (en) * | 2018-05-22 | 2019-11-29 | 阿里巴巴集团控股有限公司 | Application testing method and device |
CN110943852A (en) * | 2018-09-25 | 2020-03-31 | 厦门白山耘科技有限公司 | Device and method for configuring DNS (Domain name Server), DNS and method for updating configuration of DNS |
CN111314460A (en) * | 2020-02-13 | 2020-06-19 | 北京松果电子有限公司 | Service iteration method, service iteration device and storage medium |
CN111338824A (en) * | 2020-02-27 | 2020-06-26 | 中国联合网络通信集团有限公司 | Gray scale distribution method and device, electronic equipment and storage medium |
WO2021136233A1 (en) * | 2019-12-31 | 2021-07-08 | 华为技术有限公司 | Service upgrading method, device and system |
CN113377400A (en) * | 2021-06-16 | 2021-09-10 | 广州博冠信息科技有限公司 | Software upgrading method and device, storage medium and electronic equipment |
CN113542387A (en) * | 2021-07-09 | 2021-10-22 | 平安银行股份有限公司 | System publishing method, device, electronic equipment and storage medium |
CN114050960A (en) * | 2021-10-19 | 2022-02-15 | 厦门亿联网络技术股份有限公司 | Distributed server cluster node management method and device |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103618672A (en) * | 2013-11-29 | 2014-03-05 | 杭州华三通信技术有限公司 | Route releasing method and equipment based on distributive data center |
CN104809025A (en) * | 2015-04-29 | 2015-07-29 | 北京奇艺世纪科技有限公司 | Method and device for enabling programs to be online |
CN104993946A (en) * | 2015-06-01 | 2015-10-21 | 华为技术有限公司 | Evaluation method, device and system for gated launch |
CN105068794A (en) * | 2015-07-17 | 2015-11-18 | 浪潮软件股份有限公司 | Realization method for supporting local research and development of Web page |
CN105357318A (en) * | 2015-12-08 | 2016-02-24 | 浪潮电子信息产业股份有限公司 | Design method of internal network patch distribution management system |
CN105515872A (en) * | 2015-12-23 | 2016-04-20 | 北京奇虎科技有限公司 | Method, apparatus and system for updating configuration information |
CN105677404A (en) * | 2015-12-31 | 2016-06-15 | 拉扎斯网络科技(上海)有限公司 | Zookeeper based configuration updating method and device |
CN105791341A (en) * | 2014-12-22 | 2016-07-20 | 华为软件技术有限公司 | Method, device and system for processing application release |
-
2016
- 2016-12-08 CN CN201611125509.4A patent/CN106789202A/en active Pending
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103618672A (en) * | 2013-11-29 | 2014-03-05 | 杭州华三通信技术有限公司 | Route releasing method and equipment based on distributive data center |
CN105791341A (en) * | 2014-12-22 | 2016-07-20 | 华为软件技术有限公司 | Method, device and system for processing application release |
CN104809025A (en) * | 2015-04-29 | 2015-07-29 | 北京奇艺世纪科技有限公司 | Method and device for enabling programs to be online |
CN104993946A (en) * | 2015-06-01 | 2015-10-21 | 华为技术有限公司 | Evaluation method, device and system for gated launch |
CN105068794A (en) * | 2015-07-17 | 2015-11-18 | 浪潮软件股份有限公司 | Realization method for supporting local research and development of Web page |
CN105357318A (en) * | 2015-12-08 | 2016-02-24 | 浪潮电子信息产业股份有限公司 | Design method of internal network patch distribution management system |
CN105515872A (en) * | 2015-12-23 | 2016-04-20 | 北京奇虎科技有限公司 | Method, apparatus and system for updating configuration information |
CN105677404A (en) * | 2015-12-31 | 2016-06-15 | 拉扎斯网络科技(上海)有限公司 | Zookeeper based configuration updating method and device |
Cited By (16)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110515824A (en) * | 2018-05-22 | 2019-11-29 | 阿里巴巴集团控股有限公司 | Application testing method and device |
CN110943852A (en) * | 2018-09-25 | 2020-03-31 | 厦门白山耘科技有限公司 | Device and method for configuring DNS (Domain name Server), DNS and method for updating configuration of DNS |
CN110007940B (en) * | 2018-11-12 | 2022-08-09 | 创新先进技术有限公司 | Gray scale release verification method, system, server and readable storage medium |
CN110007940A (en) * | 2018-11-12 | 2019-07-12 | 阿里巴巴集团控股有限公司 | Verification method, system, server and the readable storage medium storing program for executing of gray scale publication |
CN110489133A (en) * | 2019-08-23 | 2019-11-22 | 亿企赢网络科技有限公司 | A kind of gray scale dissemination method, system and electronic equipment and storage medium |
WO2021136233A1 (en) * | 2019-12-31 | 2021-07-08 | 华为技术有限公司 | Service upgrading method, device and system |
CN113127023A (en) * | 2019-12-31 | 2021-07-16 | 华为技术有限公司 | Method, device and system for upgrading service |
CN113127023B (en) * | 2019-12-31 | 2024-04-09 | 华为技术有限公司 | Service upgrading method, device and system |
CN111314460A (en) * | 2020-02-13 | 2020-06-19 | 北京松果电子有限公司 | Service iteration method, service iteration device and storage medium |
CN111338824A (en) * | 2020-02-27 | 2020-06-26 | 中国联合网络通信集团有限公司 | Gray scale distribution method and device, electronic equipment and storage medium |
CN111338824B (en) * | 2020-02-27 | 2023-08-15 | 中国联合网络通信集团有限公司 | Gray release method and device, electronic equipment and storage medium |
CN113377400A (en) * | 2021-06-16 | 2021-09-10 | 广州博冠信息科技有限公司 | Software upgrading method and device, storage medium and electronic equipment |
CN113542387B (en) * | 2021-07-09 | 2023-07-04 | 平安银行股份有限公司 | System release method and device, electronic equipment and storage medium |
CN113542387A (en) * | 2021-07-09 | 2021-10-22 | 平安银行股份有限公司 | System publishing method, device, electronic equipment and storage medium |
CN114050960A (en) * | 2021-10-19 | 2022-02-15 | 厦门亿联网络技术股份有限公司 | Distributed server cluster node management method and device |
CN114050960B (en) * | 2021-10-19 | 2024-05-14 | 厦门亿联网络技术股份有限公司 | Distributed server cluster node management method and device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106789202A (en) | service management device and method | |
CN107894952A (en) | Generation method, device, equipment and the readable storage medium storing program for executing of interface testing use-case | |
CN110262818A (en) | The hot update method of Java code, device, electronic equipment and storage medium | |
CN112463634B (en) | Software testing method and device under micro-service architecture | |
US11704597B2 (en) | Techniques to generate network simulation scenarios | |
CN109165157B (en) | Method for testing application program and test platform | |
EP2660761A1 (en) | Timestamp management method for data synchronization and terminal therefor | |
CN105378677B (en) | Equipment is restored based on Backup service data | |
CN109542758A (en) | Application program fault-tolerant ability test method, device, computer readable storage medium | |
CN102752294B (en) | Method and system for synchronizing data of multiple terminals on basis of equipment capacity | |
CN107015902B (en) | Test method and test equipment | |
CN112364049B (en) | Data synchronization script generation method, system, terminal and storage medium | |
CN109088914A (en) | Generation method, the block chain ecosystem and the computer readable storage medium of block | |
CN109688183A (en) | Group control device recognition methods, device, equipment and computer readable storage medium | |
WO2014113198A2 (en) | System and method for tailoring applications and application repositories for individual electrical devices | |
CN107729515A (en) | The method, apparatus and storage medium of a kind of data syn-chronization | |
CN108647023A (en) | Picture compression method, apparatus, equipment and the storage medium of Software Development Tools | |
CN114416883A (en) | Block chain light node data synchronization method, device, equipment and readable storage medium | |
CN109739539A (en) | Application dissemination method, device, equipment and the storage medium of Cross-environment | |
CN107135516B (en) | Parameter test processing method, mobile terminal and computer readable storage medium | |
CN108763017A (en) | Application of software data processing method, server-side and the storage medium of financial business | |
CN105308563B (en) | The method and apparatus of coordination for system eligible task | |
CN114444338B (en) | Method, device and storage medium for fast lightweight verification of AI model combination | |
JP6871889B2 (en) | License management device, mobile terminal test system and license management method | |
CN111859041A (en) | Data transmission method and device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20170531 |