如何跨服务器部署和管理Java程序? [英] How to deploy and manage java programs across servers?

查看:91
本文介绍了如何跨服务器部署和管理Java程序?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我写了一些在几台服务器上运行的一些java服务器端处理应用程序,但是将扩展到20台服务器。现在我只是使用ant脚本通过rsync将我的jar部署到服务器,然后使用屏幕来启动作业。



这需要我在每次部署新代码时进入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屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆