CN107959579A - The dispositions method and deployment system of multisystem - Google Patents

The dispositions method and deployment system of multisystem Download PDF

Info

Publication number
CN107959579A
CN107959579A CN201610899774.1A CN201610899774A CN107959579A CN 107959579 A CN107959579 A CN 107959579A CN 201610899774 A CN201610899774 A CN 201610899774A CN 107959579 A CN107959579 A CN 107959579A
Authority
CN
China
Prior art keywords
deployment
configuration file
logic container
parametrization
server
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.)
Granted
Application number
CN201610899774.1A
Other languages
Chinese (zh)
Other versions
CN107959579B (en
Inventor
樊宇
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Jingdong Century Trading Co Ltd
Beijing Jingdong Shangke Information Technology Co Ltd
Original Assignee
Beijing Jingdong Century Trading Co Ltd
Beijing Jingdong Shangke Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Jingdong Century Trading Co Ltd, Beijing Jingdong Shangke Information Technology Co Ltd filed Critical Beijing Jingdong Century Trading Co Ltd
Priority to CN201610899774.1A priority Critical patent/CN107959579B/en
Publication of CN107959579A publication Critical patent/CN107959579A/en
Application granted granted Critical
Publication of CN107959579B publication Critical patent/CN107959579B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • H04L41/084Configuration by using pre-existing information, e.g. using templates or copying from other elements
    • H04L41/0843Configuration by using pre-existing information, e.g. using templates or copying from other elements based on generic templates
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0876Aspects of the degree of configuration automation
    • H04L41/0886Fully automatic configuration

Landscapes

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

Abstract

The embodiment of the present invention provides a kind of dispositions method of multiple systems, and multiple systems have certain relevance, including:Obtain the deployment APMB package of the multiple system;Obtain the parametrization configuration file in logic container;The corresponding deployment catalogue of mark with logic container is created on deployment services device;The deployment APMB package of multiple systems and parametrization configuration file are disposed under deployment catalogue respectively;And the configuration item parameterized in configuration file is instantiated.The dispositions method of multiple systems provided in an embodiment of the present invention, can ensure the independence of system deployment.The configuration information for being possible to change of multiple systems is stored by logic container, helps by the deployment of complication system and system migration simplification, to mitigate the pressure of operation maintenance personnel.The embodiment of the present invention provides corresponding deployment system at the same time.

Description

The dispositions method and deployment system of multisystem
Technical field
The present invention relates to computer realm, and in particular to the dispositions method and deployment system of a kind of multisystem.
Background technology
It is required for disposing tested multiple systems under the test environment before all kinds of software test links are carried out, in order to The problems such as manually deployment deployment is cumbersome, error-prone, deployment process is long is solved, present test environment system deployment is using automatic Change deployment.
But the big system comprising multiple mini systems is directed to, the deployment schemes for using single system, step generally will be every more The source code structure of a mini system, packing, handled configuration file, deployment package file distributing to environment to be tested, according to treating Configuration item in test file modification configuration file, finally adjusts test environment according to the dependence between system, starts every A mini system, and then complete the deployment of big system.
The dispositions method of single system for multisystem, it is necessary to carry out substantial amounts of repeated work, the management of operation maintenance personnel Also many with the pressure of maintenance, the maintenance of multiple configuration files of especially multiple systems, adds the machine that operation maintenance personnel malfunctions Rate.In system migration, since the system configuration for needing to migrate is more, it is larger to cause migration pressure.
The content of the invention
In view of this, the present invention provides the dispositions method and deployment system of multisystem, needs to carry out to solve operation maintenance personnel The problem of substantial amounts of repeated work deployment multisystem.
It is according to embodiments of the present invention in a first aspect, the embodiment of the present invention provides a kind of dispositions method of multiple systems, institute Stating multiple systems has certain relevance, including:Obtain the deployment APMB package of the multiple system;Obtain in logic container Parameterize configuration file;The corresponding deployment catalogue of mark with the logic container is created on deployment services device;By described in The deployment APMB package and parametrization configuration file of multiple systems are disposed under the deployment catalogue respectively;And the parametrization is matched somebody with somebody Put the configuration item instantiation in file;Wherein, the logic container has unique mark.
Alternatively, further include:The logic container is established, the process for establishing the logic container includes:From described The configuration item for needing to parameterize, generation parametrization configuration file are obtained in the deployment APMB package of multiple systems;Generate the parameter Change the dependence of configuration file;And the dependence of the parametrization configuration file is written to the parametrization configuration text In part.
Alternatively, the configuration item for needing to parameterize, generation ginseng are obtained in the deployment APMB package from the multiple system Numberization configuration file:Each program file and each configuration file in the deployment APMB package of each system of poll, according to user The configuration item for needing to parameterize is chosen in instruction, and identical configuration item is merged, existing configuration item is changed, increases new configuration , and be written in parametrization configuration file.
Alternatively, further include:Verify the parametrization configuration file in the logic container.
Alternatively, further include:Judge whether every server in server resource pond has been deployed with the logic and has held Device;If a server in the server resource pond has been deployed with the logic container, as deployment services Device;
Alternatively, further include:The IP address storage of the access domain name of the multiple system and the deployment services device is arrived On name server.
Alternatively, the access domain name of the multiple system includes the mark of the logic container.
Alternatively, the form of expression of the logic container is one or more file, file or database table.
Second aspect according to embodiments of the present invention, the embodiment of the present invention provide a kind of deployment system of multiple systems, institute Stating multiple systems has certain relevance, including:Acquisition module, deployment APMB package and logic for obtaining multiple systems hold Parametrization configuration file in device;Directory creating module, for creating the mark with the logic container on deployment services device Corresponding deployment catalogue;Deployment module, for the deployment APMB package of the multiple system and parametrization configuration file to be distinguished Dispose under the deployment catalogue;Module is instantiated, for the configuration item in the parametrization configuration file to be instantiated;Wherein, The logic container has unique mark.
Alternatively, further include:Logic container establishes module, for establishing logic container, the mistake for establishing logic container Journey includes:The configuration item for needing to parameterize, generation parametrization configuration file are extracted from the deployment APMB package of each system; Generate the dependence of the parametrization configuration file;And the dependence of the parametrization configuration file is written to described Parameterize in configuration file.
Alternatively, further include:Correction verification module, for verifying the parametrization configuration file in the logic container
Alternatively, the logic container establishes each program text in the deployment APMB package that module passes through each system of poll Part and each configuration file, therefrom choose the configuration item for needing to parameterize, identical configuration item are merged, and will need to parameterize Configuration item be processed into variable, placeholder, variable expression or constant, generate in the parametrization configuration file.
Alternatively, further include:Server test module, for whether to judge every server in server resource pond It is deployed to have the logic container;Hold if a server in the server resource pond has been deployed with the logic Device, as deployment services device;If all without the deployment logic on the Servers-all in the server resource pond Container, from least one idle server is selected as the deployment services device.
Alternatively, further include:The IP address storage of the access domain name of the multiple system and the deployment services device is arrived On name server.
Alternatively, the access domain name of the multiple system includes the mark of the logic container.
The dispositions method of multiple systems provided in an embodiment of the present invention, deployment catalogue is created by the mark of logic container, And deployment APMB package and parametrization configuration file are placed under the deployment catalogue, since the mark of logic container has uniqueness, And then it can ensure the independence of system deployment.In addition, by logic container by multiple systems be possible to change configuration Information extraction is out and deployment APMB package is separate, helps to simplify the deployment of complication system, in system bulk migration When, it is only necessary to migration deployment APMB package and logic container, help to mitigate migration pressure.
Brief description of the drawings
By referring to description of the following drawings to the embodiment of the present invention, above-mentioned and other purpose of the invention, feature and Advantage will be apparent from, in the accompanying drawings:
Fig. 1 is the flow chart of the dispositions method of multiple systems according to embodiments of the present invention;
Fig. 2 is the flow chart for establishing logic container according to embodiments of the present invention;
Fig. 3 is the flow chart of the dispositions method of multiple systems according to another embodiment of the present invention;
Fig. 4 is the structure chart for being used to dispose the deployment system of multiple systems according to embodiments of the present invention;
Fig. 5 is the structure chart of the deployment system according to another embodiment of the present invention for being used to dispose multiple systems.
Embodiment
Below based on embodiment, present invention is described, but the present invention is not restricted to these embodiments.Under It is detailed to describe some specific detail sections in the literary detailed description to the present invention.Do not have for a person skilled in the art The description of these detail sections can also understand the present invention completely.In order to avoid obscuring the essence of the present invention, known method, mistake Journey, flow do not describe in detail.In addition attached drawing is not necessarily drawn to scale.
Flow chart, block diagram in attached drawing illustrate the possible system frame of the system of the embodiment of the present invention, method, apparatus Frame, function and operation, the square frame on flow chart and block diagram can represent a module, program segment or only one section of code, institute It is all the executable instruction for realizing regulation logic function to state module, program segment and code.It should also be noted that described realize rule Determining the executable instruction of logic function can reconfigure, so as to generate new module and program segment.Therefore attached drawing square frame with And square frame order is used only to the process and step of preferably diagram embodiment, without should be in this, as the limit to invention itself System.
Fig. 1 is the flow chart of the dispositions method of multiple systems according to embodiments of the present invention.The multiple system has one Fixed relevance.For example, multiple mini systems of the one big system of composition, mini system is respectively that transaction processing system, database are answered With system, data monitoring system, data log system etc..For another example there is business relations relation, such as order between multiple applications System and logistics system, input data of the order data that form ordering system generates as logistics system.Deployment provided by the invention Method is the comprehensive deployment for such system.The dispositions method comprises the following steps.
In a step 101, the deployment APMB package of multiple systems is obtained.
In product test deployment, the deployment that each one deployment APMB package of system constructing is used for the system can be directed to. Usually these deployment APMB packages can be managed by Version Management Software, when necessary, be downloaded from version server. In automatically dispose, the configuration interface that can be provided by Version Management Software downloads deployment APMB package.
In a step 102, the parametrization configuration file in logic container is obtained.
Logic container is the storage medium of the parametrization configuration file for storing multiple systems pre-established, such as literary Part, file or database table.Each logic container has unique mark, and one or more can be stored in a logic container A parametrization configuration file.
In step 103, the corresponding deployment catalogue of mark with logic container is created on deployment services device.
At step 104, the deployment APMB package of multiple systems and parametrization configuration file are deployed under deployment catalogue.
In step 103-104, deployment APMB package is unpacked on deployment services device, is deployed in specifying for deployment services device Under catalogue, which requires corresponding with the mark of logic container.For example, optional corresponded manner is according to logic container Mark creates the specified directory.Assuming that logic container is identified as LogicContainer, can be created in deployment services device LogicContainer catalogues, are stored under LogicContainer catalogues after deployment APMB package is unpacked. LogicContainer catalogues can be stored under the root of deployment services device, can also under subdirectory (such as be placed on/ home/system).Equally, the parametrization configuration file obtained out of logic container is also stored in LogicContainer mesh Under record.
In step 105, the configuration item parameterized in configuration file is instantiated.
The configuration item of parametrization configuration file is made of variable more, can be variable, variable expression or placeholder etc..It is right Configuration item instantiation is exactly that the configuration of these variables is changed into constant, and specific practice is to obtain variable according to actual deployed environment Value, and variable is replaced with into constant one by one.For example, $ APPNAME_IPADDR represent to treat the IP address of deployment system APPNAME, The variable is the exclusive variable of each system in logic container, it is not necessary to designated value in advance, all references $ during instantiation The configuration file of APPNAME_IPADDR configurations can be replaced with the server ip address where APPNAME.Different lattice The parametrization configuration file of formula should use different replacement methods.For example, the configuration file of XML format is using xpath processing, Properties forms are replaced by key, and the configuration file of text formatting is more to carry out matching replacement by canonical matching method.Using The mode of configuration is replaced, can solve to increase and decrease other parameters not configured in the configuration file in former deployment package, causes deployment to be lost The problem of losing.
The dispositions method of multiple systems provided in an embodiment of the present invention, deployment catalogue is created by the mark of logic container, And deployment APMB package and parametrization configuration file are placed under the deployment catalogue, since the mark of logic container has uniqueness, And then it can ensure the independence of system deployment.In addition, by logic container by multiple systems be possible to change configuration Information extraction comes out, and is stored independently of each other with deployment APMB package, helps to simplify the deployment of complication system, whole in system When body is disposed and migrated, it is only necessary to redeployed after changing the Partial Variable of logic container, help to lift work efficiency.
Above-mentioned dispositions method further includes verification step, which performs before step 104, check logic container The parametrization configuration file of middle storage, for example, defined variable, the validity in constant school in inspection parameter configuration file, To avoid there is logic error, for example, refer to undefined configuration item, definition configuration is not used etc..
Alternatively, above-mentioned dispositions method can also include preview step, which performs before step 104, mould Intend the instantiation process of parametrization configuration file, to find latent fault.For example, replace configuration item in actual disposition file not Find, the database linkage information configuration in configuration file is configured in the IP address that refer to system application of mistake, system Domain name be configured with local host resolution files etc..For these latent faults, system can provide error correcting prompt and warning information, It again avoiding the configuration error occurred during deployment.
It should be noted that above-mentioned parametrization configuration file can refer to one or more files, storage parametrization configuration The logic container of file can be one or more file, file or database tables.Deployment services device can also be by one Or multiple servers form, pass through LAN or internet communication between multiple servers.
Fig. 2 is the flow chart for establishing logic container according to embodiments of the present invention.The process of logic container is established in step Performed before 104.The logic container of establishing comprises the following steps.
In step 201, the configuration item for needing to parameterize, generation parametrization are obtained from the deployment APMB package of multiple systems Configuration file.
Under normal circumstances, the deployment APMB package of each system is handled by basic configuration.In this step, can be with base Relation between multiple systems, these basic configuration items are deleted, simplified, are changed, and increase new configuration item, especially It is to need to increase the configuration item for representing multiple system dependences.Configuration item can be divided into publicly-owned configuration item (at least two systems System uses) and privately owned configuration item (an only system use), publicly-owned configuration item must be extracted in parametrization configuration file, private There is configuration item to be stored in former deployment APMB package, can also extract in parametrization configuration file.Some configuration items can be with Constant or constant expression are configured to, for example, database linkage information, domain suffix, single sign-on configuration etc., some configuration items Variable or variable expression are can be configured to, for example, IP address, port., can be with when re-creating a new logic container Each program file and each configuration file in the deployment APMB package of each system of poll, being chosen according to user instruction needs to join The configuration item of numberization, identical configuration item is merged, changes existing configuration item, it would be desirable to which the configuration item of parametrization is processed into change Amount, constant, variable expression or constant expression, and be written in parametrization configuration file;Hold alternatively, replicating existing logic Device, and the configuration item that needs to change in the logic container is changed to generate a new logic container.
In step 202, the dependence of multiple systems is generated.
There may be dependence between the parametrization configuration file of multiple systems under same container, according to the dependence Dependence that can be between generation system.For example, in logic container Container in the configuration file file.txt of system A Comprising the configuration item B1 that parameterizes has been in B system, then A systems depend on B system.
In step 203, the dependence of multiple systems is written in parametrization configuration file.
The dependence of multiple systems is written in some parametrization configuration file, at follow-up instantiation Reason.When instantiating processing, the dependence is taken out from parametrization configuration file, one by one will according to the order of the dependence Parameterize configuration file instantiation.For example, if A systems rely on B system, after the parametrization configuration file of B is instantiated again The parametrization configuration file of A is instantiated.
Fig. 3 is the flow chart of the dispositions method of multiple systems according to another embodiment of the present invention.The dispositions method bag Include following steps.
In step 301, the deployment APMB package of multiple systems is obtained.
The deployment that APMB package is used for system is disposed, wherein including multiple executable program files and configuration file.Research and develop people Member will deployment APMB package upload to version server be managed by Version Management Software, it is necessary to when, from versioning service Downloaded on device.In automatically dispose, the configuration interface that can be provided by Version Management Software downloads deployment APMB package.
In step 302, the parametrization configuration file in logic container is obtained.
Logic container is the storage medium of the parametrization configuration file for storing multiple systems pre-established, is each patrolled Collecting container all has unique mark, and one or more parametrization configuration files can be stored in a logic container.
In step 303, judge whether every server in server resource pond has been deployed with the logic container.Such as Fruit is to perform step 304, if not, performing step 305.
In step 304, the server of the logic container will be deployed with as deployment services device.
In step 305, at least one idle server is selected as deployment services device.
Judge that whether having deployed this on a server patrols according to the correspondence of deployment services device and logic container Container is collected, if deployed, is multiplexed the deployment catalogue of former server and former server.If the logic is not disposed Container, then select at least one idle server as deployment services device.Idle server can be accounted for by CPU and memory It is determined with rate.For example, it can specify that the server under given threshold is leisure service respectively for CPU and memory usage Device.Every time after the completion of deployment, the correspondence of deployment services device and logic container is stored, for example, database is arrived in storage In table, when disposing again, it can determine that some logic whether has been deployed on a server to be held by retrieving related libraries table Device.It is multiplexed existing deployment services device, it is possible to increase resource utilization and deployment efficiency.
In addition, in some scenarios, if for example, since the reason such as deployment services device hardware needs to close in logic container Close it is offline bring system migration when, then the server state that needs to be related to is revised as unavailable, disposes logic container again When, the selection deployment server in available idle server.
Within step 306, deployment catalogue is found according to the mark of logic container.
In the deployment of logic container, deployment catalogue is created by the mark of logic container, when disposing again, according to this The mark of logic container finds deployment catalogue and is multiplexed.
In step 307, the corresponding deployment catalogue of mark with logic container is created on deployment services device.
In step 308, the deployment APMB package of multiple systems and parametrization configuration file are deployed under deployment catalogue.
In a step 309, the configuration item parameterized in configuration file is instantiated.
Step 307-309 is identical with foregoing step 103-105, just repeats no more here.
In embodiments of the present invention, if logic container was disposed on the server, by retrieving logic container With the correspondence of server, find corresponding server and disposed, if logic container was not disposed on the server, Find an idle available server in server resource pond to be disposed, so as to improve resource utilization.
In optional inventive embodiments, completed in the step of " by the configuration item instantiation in parameterizing configuration file " Afterwards, the IP address for accessing domain name and deployment services device is stored onto name server, can be subsequently disposed by domain name access Server.In addition, including the mark of logic container in the access domain name of the system of setting, such as access domain name http:// LogicContainer.web.com.cn/, can directly determine that the logic container that the system uses is by accessing domain name LogicContainer.Tester respectively can carry out logic container the configuration of differentiation, with different logic containers pair Same system carries out the test such as deployment test, functional test, performance test, automatic test, and ensures the only of environment to be measured The version uniformity of vertical property and deployment package.User need not be concerned about the server of real system deployment, only need to access different domain names Access to obtain the systemic-function under different logic containers.
In an alternate embodiment of the invention, the deployment APMB package of logic container and multiple systems is stored separately.For example, it is stored separately Under different drives.
Fig. 4 is the structure chart for being used to dispose the deployment system of multiple systems according to embodiments of the present invention.The deployment system System includes acquisition module 401, directory creating module 402, deployment module 403 and instantiation module 404.
Acquisition module 401 is used to obtain the parametrization configuration file in the deployment APMB package and logic container of multiple systems. Deployment APMB package includes the executable program file and configuration file of multiple systems.Logic container is to pre-establish for depositing The storage medium of the parametrization configuration file of multiple systems is stored up, each logic container has unique mark.
Directory creating module 402 is used to create on deployment services device and the corresponding deployment mesh of mark of logic container Record.The mark of logic container has uniqueness, therefore can ensure according to the parametrization configuration file under different logic containers It is stored under different catalogues.
Deployment module 403 is used to the deployment APMB package of multiple systems and parametrization configuration file being deployed to deployment services device On.For example, create LogicContainer catalogues in deployment services device, and by the deployment APMB package after unpacking and Configuration file is parameterized under LogicContainer containers to be all placed under LogicContainer catalogues.
Module 404 is instantiated to be used to instantiate the configuration item parameterized in configuration file.Parametrization configuration file is matched somebody with somebody Put item to be made of variable more, can be variable, variable expression or placeholder etc..It is exactly by these variables to configuration item instantiation Or placeholder configuration is changed into constant, specific practice is to obtain variate-value according to actual deployed environment, and by variable or placeholder Constant is replaced with one by one.
Alternatively, acquisition module 401 can utilize Version Management Software when obtaining the deployment APMB package of multiple systems Interface, the deployment APMB package of indicated release is obtained by interface, can also obtain newest deployment APMB package every time, to meet The requirement of various iterative regression tests, can also accomplish that version is consistent.
Fig. 5 is the structure chart of the deployment system according to another embodiment of the present invention for being used to dispose multiple systems.The portion Administration's system establishes module 501, acquisition module 502, directory creating module 503, deployment module 504 and instantiation including logic container Module 505.
Logic container establishes module 501 and the configuration item for needing to parameterize is extracted from the deployment APMB package of each system, raw Into parametrization configuration file, the dependence of generation parametrization configuration file, and the dependence for parameterizing configuration file is write Enter into parametrization configuration file.
Acquisition module 502 is used to obtain the parametrization configuration file in the deployment APMB package and logic container of multiple systems. Deployment APMB package includes the executable program file and configuration file of multiple systems.Logic container is to pre-establish for depositing The storage medium of the parametrization configuration file of multiple systems is stored up, each logic container has unique mark.
Directory creating module 503 is used to create on deployment services device and the corresponding deployment mesh of mark of logic container Record.The mark of logic container has uniqueness, therefore can ensure according to the parametrization configuration file under different logic containers It is stored under different catalogues.
Deployment module 504 is used to the deployment APMB package of multiple systems and parametrization configuration file being deployed to deployment services device On.For example, create LogicContainer catalogues in deployment services device, and by the deployment APMB package after unpacking and Configuration file is parameterized under LogicContainer containers to be all placed under LogicContainer catalogues.
Module 504 is instantiated to be used to instantiate the configuration item parameterized in configuration file.Parametrization configuration file is matched somebody with somebody Put item to be made of variable more, can be variable, variable expression or placeholder etc..It is exactly by these variables to configuration item instantiation Configuration is changed into constant, and specific practice is to obtain variate-value according to actual deployed environment, and variable is replaced with constant one by one.
Alternatively, above-mentioned deployment system further includes completion module, for it is described establish logic container before, will be described every Configuration file completion in the deployment APMB package of a system.
Alternatively, logic container establishes each program text in the deployment APMB package that module 501 passes through each system of poll Part and each configuration file, therefrom choose the configuration item for needing to parameterize, identical configuration item are merged, and will need to parameterize Configuration item be processed into variable, placeholder, variable expression or constant so that generate parametrization configuration file in.
Alternatively, above-mentioned deployment system further includes:Server test module, for judging every in server resource pond Whether server has been deployed with the logic container;If a server in the server resource pond has been deployed with this Logic container, as deployment services device;If all should without deployment on the Servers-all in the server resource pond Logic container, from least one idle server is selected as deployment services device.
Alternatively, above-mentioned deployment system further includes:Memory module, for by the access domain name and deployment services of multiple systems The IP address of device is stored onto name server.
Alternatively, logic container can access version management, can be directed to modification every time and do version management, conveniently prosecute configuration Modification time, modification content and modification people etc., content is less after being parameterized due to configuration information, is also convenient for rollback configuration and version Compare, backup deployment packet mode more direct than existing system will be good in efficiency and memory space.By version management, can compare The configuration of the same configuration file of same system is compared in more different logic containers, can include the configurations such as configuration constant, variable The comparison of item, can also compare the comparison of the same configuration file instantiation for the same system disposed in two logic containers, It is convenient to grasp the differentiation configured between Different Logic container and potential mistake, it is also convenient for checking the configuration between different system, no Need to log in deployment services device and check.
It will be understood to those skilled in the art that the step of module and dispositions method of the deployment system of the present invention, corresponds to, Content described in dispositions method is also applied for module, therefore the module of deployment system is described in a manner of relatively simple.
The modules or unit of system can be realized by hardware, firmware or software.Software for example including using JAVA, The coded program that the various programming languages such as C/C++/C#, SQL are formed.Although provided in method and method legend of the invention real The step of applying and the order of step, but the step realize as defined in the executable instruction of logic function can group again Close, so as to generate new step.The order of the step also should not be restricted solely in the method and method legend Sequence of steps, can need to be adjusted at any time according to function.Such as by some steps therein parallel or according to opposite suitable Sequence performs.
System and a method according to the invention can be deployed on single or multiple servers.For example, can will be different Module is disposed on a different server respectively, forms private server.Alternatively, can the distributed deployment on multiple servers Identical functional unit, module or system, to mitigate load pressure.The server includes but not limited in same LAN And pass through multiple PC machine of Internet connections, PC server, rolling reamer machine, supercomputer etc..
The foregoing is merely the preferred embodiment of the present invention, is not intended to limit the invention, for those skilled in the art For, the present invention can have various modifications and changes.All any modifications made within spirit and principles of the present invention, be equal Replace, improve etc., it should all be included in the protection scope of the present invention.

Claims (10)

1. a kind of dispositions method of multiple systems, the multiple system has certain relevance, including:
Obtain the deployment APMB package of the multiple system;
Obtain the parametrization configuration file in logic container;
The corresponding deployment catalogue of mark with the logic container is created on deployment services device;
The deployment APMB package of the multiple system and parametrization configuration file are disposed under the deployment catalogue respectively;And
Configuration item in the parametrization configuration file is instantiated;
Wherein, the logic container has unique mark.
2. dispositions method according to claim 1, further includes:
The logic container is established,
The process for establishing the logic container includes:
The configuration item for needing to parameterize, generation parametrization configuration file are obtained from the deployment APMB package of the multiple system;
Generate the dependence of the multiple system;And
The dependence of the multiple system is written in the parametrization configuration file.
3. dispositions method according to claim 2, wherein, being obtained in the deployment APMB package from the multiple system needs The configuration item to be parameterized, generation parametrization configuration file:
Each program file and each configuration file in the deployment APMB package of each system of poll, need are chosen according to user instruction The configuration item to be parameterized, identical configuration item is merged, existing configuration item is changed, increases new configuration item, and be written to Parameterize in configuration file.
4. dispositions method according to claim 2, further includes:
Verify the parametrization configuration file in the logic container.
5. dispositions method according to claim 1, further includes:
Judge whether every server in server resource pond has been deployed with the logic container;
If at least one server in the server resource pond has been deployed with the logic container, at least one by described in A server is as deployment services device;
If all provided on the Servers-all in the server resource pond without the logic container is disposed from the server At least one idle server is selected in the pond of source as the deployment services device.
6. dispositions method according to claim 1, further includes:By the access domain name of the multiple system and the deployment clothes The IP address of business device is stored onto name server.
7. dispositions method according to claim 6, the access domain name of the multiple system includes the mark of the logic container Know.
8. dispositions method according to any one of claims 1 to 7, wherein, the logic container be one or more files, File or database table.
9. a kind of deployment system of multiple systems, the multiple system has certain relevance, including:
Acquisition module, the parametrization configuration file in deployment APMB package and logic container for obtaining multiple systems;
Directory creating module, for creating the corresponding deployment catalogue of mark with the logic container on deployment services device;
Deployment module, for the deployment APMB package of the multiple system and parametrization configuration file to be deployed to the deployment catalogue Under;
Module is instantiated, for the configuration item in the parametrization configuration file to be instantiated;
Wherein, the logic container has unique mark.
10. deployment system according to claim 9, further includes:Logic container establishes module, for establishing logic container,
The process for establishing logic container includes:
The configuration item for needing to parameterize, generation parametrization configuration file are extracted from the deployment APMB package of each system;
Generate the dependence of the parametrization configuration file;And
The dependence of the parametrization configuration file is written in the parametrization configuration file.
CN201610899774.1A 2016-10-14 2016-10-14 Multi-system deployment method and deployment system Active CN107959579B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610899774.1A CN107959579B (en) 2016-10-14 2016-10-14 Multi-system deployment method and deployment system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610899774.1A CN107959579B (en) 2016-10-14 2016-10-14 Multi-system deployment method and deployment system

Publications (2)

Publication Number Publication Date
CN107959579A true CN107959579A (en) 2018-04-24
CN107959579B CN107959579B (en) 2021-11-12

Family

ID=61954172

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610899774.1A Active CN107959579B (en) 2016-10-14 2016-10-14 Multi-system deployment method and deployment system

Country Status (1)

Country Link
CN (1) CN107959579B (en)

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108768725A (en) * 2018-05-30 2018-11-06 中国联合网络通信集团有限公司 The network restoring method and system of container thermophoresis
CN109257349A (en) * 2018-09-14 2019-01-22 北京天融信网络安全技术有限公司 A kind of list SSL service supports the method and device of multi-protocols
CN109460268A (en) * 2018-11-19 2019-03-12 中国银行股份有限公司 Application parameter configuration method, device and system
CN109739616A (en) * 2018-12-05 2019-05-10 国云科技股份有限公司 A kind of cloud platform container mirror image batch making method
CN110580216A (en) * 2018-06-08 2019-12-17 北京京东尚科信息技术有限公司 application extraction and detection method and device
CN110688305A (en) * 2019-08-30 2020-01-14 平安普惠企业管理有限公司 Test environment synchronization method, device, medium and electronic equipment
CN110704082A (en) * 2019-09-25 2020-01-17 许昌许继软件技术有限公司 Continuous integration method and system for monitoring platform
CN111404755A (en) * 2020-03-24 2020-07-10 联想(北京)有限公司 Network configuration method, device and storage medium
CN111831530A (en) * 2019-04-15 2020-10-27 北京字节跳动网络技术有限公司 Test method and device
CN112559132A (en) * 2020-12-18 2021-03-26 建信金融科技有限责任公司 Safe static detection method and device for containerized deployment application
CN113778549A (en) * 2021-08-16 2021-12-10 济南浪潮数据技术有限公司 Implementation method, device, equipment and medium for replacing rear-end environment variables
CN113791794A (en) * 2021-09-13 2021-12-14 天津大学 Method and system for automatically deploying abacus cases for supercomputing application
CN114637553A (en) * 2022-03-17 2022-06-17 武汉虹信技术服务有限责任公司 Method, system, equipment and storage medium for configuring comprehensive treatment platform of cell

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101266542A (en) * 2008-02-01 2008-09-17 中国建设银行股份有限公司 Method and device for loading component in container
CN105577779A (en) * 2015-12-21 2016-05-11 用友网络科技股份有限公司 Method and system for containerized deployment of large enterprise private cloud
CN105959138A (en) * 2016-04-29 2016-09-21 深圳前海大数点科技有限公司 Micro-service dynamic disposition system and method based on cloud calculation

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101266542A (en) * 2008-02-01 2008-09-17 中国建设银行股份有限公司 Method and device for loading component in container
CN105577779A (en) * 2015-12-21 2016-05-11 用友网络科技股份有限公司 Method and system for containerized deployment of large enterprise private cloud
CN105959138A (en) * 2016-04-29 2016-09-21 深圳前海大数点科技有限公司 Micro-service dynamic disposition system and method based on cloud calculation

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
闫生超: "基于BASH脚本的Unix 环境下多组件部署管理框架", 《计算机系统应用》 *

Cited By (20)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108768725A (en) * 2018-05-30 2018-11-06 中国联合网络通信集团有限公司 The network restoring method and system of container thermophoresis
CN110580216A (en) * 2018-06-08 2019-12-17 北京京东尚科信息技术有限公司 application extraction and detection method and device
CN110580216B (en) * 2018-06-08 2024-04-05 北京京东尚科信息技术有限公司 Application lifting method and device
CN109257349A (en) * 2018-09-14 2019-01-22 北京天融信网络安全技术有限公司 A kind of list SSL service supports the method and device of multi-protocols
CN109460268A (en) * 2018-11-19 2019-03-12 中国银行股份有限公司 Application parameter configuration method, device and system
CN109460268B (en) * 2018-11-19 2022-05-27 中国银行股份有限公司 Application parameter configuration method, device and system
CN109739616A (en) * 2018-12-05 2019-05-10 国云科技股份有限公司 A kind of cloud platform container mirror image batch making method
CN111831530A (en) * 2019-04-15 2020-10-27 北京字节跳动网络技术有限公司 Test method and device
CN110688305A (en) * 2019-08-30 2020-01-14 平安普惠企业管理有限公司 Test environment synchronization method, device, medium and electronic equipment
CN110688305B (en) * 2019-08-30 2022-04-29 平安普惠企业管理有限公司 Test environment synchronization method, device, medium and electronic equipment
CN110704082A (en) * 2019-09-25 2020-01-17 许昌许继软件技术有限公司 Continuous integration method and system for monitoring platform
CN111404755B (en) * 2020-03-24 2022-03-25 联想(北京)有限公司 Network configuration method, device and storage medium
CN111404755A (en) * 2020-03-24 2020-07-10 联想(北京)有限公司 Network configuration method, device and storage medium
CN112559132A (en) * 2020-12-18 2021-03-26 建信金融科技有限责任公司 Safe static detection method and device for containerized deployment application
CN113778549A (en) * 2021-08-16 2021-12-10 济南浪潮数据技术有限公司 Implementation method, device, equipment and medium for replacing rear-end environment variables
CN113778549B (en) * 2021-08-16 2023-12-22 济南浪潮数据技术有限公司 Method, device, equipment and medium for realizing back-end environment variable replacement
CN113791794B (en) * 2021-09-13 2023-09-12 天津大学 Automatic disposition method and system for computing cases facing to super computing application
CN113791794A (en) * 2021-09-13 2021-12-14 天津大学 Method and system for automatically deploying abacus cases for supercomputing application
CN114637553A (en) * 2022-03-17 2022-06-17 武汉虹信技术服务有限责任公司 Method, system, equipment and storage medium for configuring comprehensive treatment platform of cell
CN114637553B (en) * 2022-03-17 2024-04-19 武汉虹信技术服务有限责任公司 Method, system, equipment and storage medium for configuring comprehensive treatment platform of cell

Also Published As

Publication number Publication date
CN107959579B (en) 2021-11-12

Similar Documents

Publication Publication Date Title
CN107959579A (en) The dispositions method and deployment system of multisystem
US9836710B2 (en) Resource planning for data protection validation
US10496605B2 (en) Application deployment for data intake and query system
US7694181B2 (en) Automated software testing framework
US7003560B1 (en) Data warehouse computing system
US7340491B2 (en) Methods and apparatus for data preservation and software distribution within an enterprise system
US8515799B2 (en) Constructing change plans from component interactions
US8539050B2 (en) Method for distributing update modules for computer software over a network
CN106575227B (en) Automatic software update framework
WO2013015942A1 (en) Method and system for distributed application stack deployment
US8484617B2 (en) Process-driven feedback of digital asset re-use
US20120331447A1 (en) Adaptive change management in computer system landscapes
US20100070961A1 (en) Supplying Software Updates Synchronously
US9471594B1 (en) Defect remediation within a system
US9900212B2 (en) Installation of an arbitrary server as an extension of a computing platform
US10564961B1 (en) Artifact report for cloud-based or on-premises environment/system infrastructure
CN111767704B (en) Excel form template generation method and device
EP1725953A1 (en) Apparatus and method for data consistency validation.
CN110063042A (en) A kind of response method and its terminal of database failure
EP1250669A1 (en) Data warehouse computing system
US9830177B1 (en) Computer implemented method and system, and computer program product, for determining compliance with a configuration parameter before deployment of a virtual appliance into a network appliance
US9569516B2 (en) Method and device for executing an enterprise process
US20080147720A1 (en) Apparatus and method for distributing information between business intelligence systems
CN115396304B (en) System and method for automatically deploying cloud native application based on deployment planning table
DE10352811A1 (en) Method and system for manufacturing an information processing system according to a customer configuration

Legal Events

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