shell - Execute Windows scripts from a remote Rundeck server -
i installed rundeck server in 1 linux machine.
tomcat running in windows 7 machine.
now, want stop , start tomcat service in windows machine creating job in rundeck (on linux machine).
is possible?
yes, possible.
install cygwin, including openssh-server windows machine. generate public key rundeck server user , add .authorized_hosts file on windows machine. ensure have port 22 or alternate port accessible ssh.
in rundeck, create new job fires tomcat executable or commands prefer starting/stopping service.
it may prefix rundeck job command $path variables if connecting user account has trouble locating executables in windows/cygwin environment.
Comments
Post a Comment