Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Any alternative for Rundeck for running commands on multiple servers?

Tags:

java

rundeck

I am implementing a workflow of tasks in a Java program. One of the tasks is running some commands on multiple Linux servers.

The servers are determined dynamically - read from an XML file. I examined Rundeck's API, but it seems that I have to configure the servers in advance, which doesn't suit my needs.

Any ideas?

like image 318
user1997656 Avatar asked Oct 06 '22 01:10

user1997656


1 Answers

One answer is to use rundeck, I think you just need rundeck to dynamically load your nodes.

To make it dynamic you need to refresh the project. Simply restart rundeck or use the api refresh method. I haven't tried the latter which I think is the better solution. The Resource Model supports files and getting your node list of servers from an external source URL.

But if your are rolling your own a better answer maybe SSH and consider a SSH library for Java

like image 98
KCD Avatar answered Oct 10 '22 21:10

KCD