如何跨服务器部署和管理Java程序? [英] How to deploy and manage java programs across servers?
问题描述
这需要我在每次部署新代码时进入ssh并重新启动作业,一旦我去20台服务器,这将变得无法管理。
我对java很新,有没有一种标准的服务器部署方式,以后再重新启动作业?理想情况下,我正在寻找一个免费而简单的解决方案。
谢谢
也许这是进入系统管理的一个选择并对远程配置管理工具(如Chef或Puppet)进行评估。
不知道是否满足容易的条件。
I wrote some java server side processing apps that have been running on a couple servers but will be expanded to 20 servers. Right now I'm just using ant scripts to deploy my jar to servers via rsync and then using screen to start the jobs.
This requires me to ssh in and restart the jobs each time I deploy new code, once I go to 20 servers this will become unmanageable.
I'm pretty new to java, is there a standard way of deploying across servers along with restarting jobs afterwards? Ideally I'm looking for a free and easy solution.
thanks
Maybe it's an option to enter into system administration domain and evaluate remote configuration management tools like Chef or Puppet for the task.
Not sure if it fulfills the 'easy' condition, though.
这篇关于如何跨服务器部署和管理Java程序?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!