CodePudding user response:
A variety of solutions, the first thing you how to deploy deployed 100 machines? Running a manual installation system? We are using ghost one-time installation, each machine as long as a few minutes, there are actually (at the bottom of the operating system) management system can batch ghost, in addition, the.net framework itself is integrated with the click once technology, MEF, and so on, can write their own ten lines of code to invoke framework, like the. Net framework of distributed Actor new version supports hot update mechanism, presumably,CodePudding user response:
It is as you say, "cluster environment update file?"Such as a DLL to 100 machines do you want?
I use goodsync... A do upload FTP client. Then another 99 open FTP service on the first installation software and configuration once more change directory and update mechanism.
So once you have uploaded to the first of this software will automatically change the file to distribute to the other 99 stage...
CodePudding user response:
Hot update needs to be considered, that is, the runtime can replace process have been loaded and cached in memory of all sorts of DLL,CodePudding user response:
Once can't hot update, you may only "stable update way" is on the outside of the operating system, using a lower level of network publishing system to stop the whole system, then the local to the whole system to replace,CodePudding user response:
Use automation tools, I use a JenkinsCodePudding user response:
A few years ago I wrote a simple example to demonstrate the function of MEF at that time: https://bbs.csdn.net/topics/392444516Actually we also use a very simple technique, because we are on the server side has a "waiting" service is responsible for according to the configuration file regularly pull up various console application, so we wait program also go to the website regularly compare our console program a monitoring files in the directory list, compare each need to monitor the files md5, once found, will kill the console process, then automatically to the site is not the same as the up and down with the md5 files, downloaded automatically to pull up the process of the console, it can run very stable, of course, the premise is to make the necessary testing, do not worry about the task was forced to interrupt,
CodePudding user response:
Finally, the emphasis is not actually a began to pursue the bells and whistles, but the success rate of 100% in order to get stable, will not allow the occasional update failure phenomenon,CodePudding user response:
Oh, I write the demo in post https://bbs.csdn.net/topics/391970445I still want to emphasize that the so-called CICD is very costly, best most valuable solution is very simple and direct,
CodePudding user response: