Sunteți pe pagina 1din 6

Rundeck

So, what the duck is Rundeck ?


- Rundeck is runbook automation that gives you and your colleagues self-service access to
the processes and tools they need to get their job done.

- Rundeck is an open source automation service with a web console, command line
tools and a WebAPI. It lets you easily run automation tasks across a set of nodes.

- RunDeck is cross-platform open source software that helps you automate ad-hoc and
routine procedures in data center or cloud environments. RunDeck allows you to run
tasks on any number of nodes from a web-based or command-line interface. RunDeck
also includes other features that make it easy to scale up your scripting efforts including:
access control, workflow building, scheduling, logging, and integration with external
sources for node and option data. More?

But why Rundeck?

Rundeck is more like an orchestration tool that can be used to manage servers or
cloud environments. It supports and integrates well with modern DevOps tools and
practices. Also you will know its importance a bit after a demo of its power.
Rundeck Architecture?

But then what is the difference between jenkins and


rundeck?

In simple words, Jenkins is employed for development and Rundeck, for operations.
Both tools share certain common features as the job interface provided is for self-
service. For more info: https://www.educba.com/rundeck-vs-jenkins/

OKAY, Lets get our hands Dirty: [ This is just for Windows OS, if you are
from some other unknown OS, please leave Now only, I request Now ].

- Rundeck is written in JAVA, so we need to install jdk. To check if it is installed or not. [


java -version ].

- Now, download the WAR files of rundeck:


https://docs.rundeck.com/downloads.html?__hssc=206669708.15.1539636039564&
__hstc=206669708.1a4172e99ae97fd8ba9338f464675635.1533015099226.153962
9788476.1539632588334.28&__hsfp=361110823&hsCtaTracking=6c34b5b9-9523-
4ad1-814f-6071ab125c5a%7C456206e0-ddce-4ef1-b32b-be92b244ccd4

- Extract it using command : java -jar rundeck-3.0.X.war and set the path of rundeck
vaariable as : set rundeck_var=C:/rundeck.
- To publish Rundeck to be available in your network,
open C:\rundeck\server\config\rundeck-config.properties with your favorite text editor and
change this line:

server.address=yourhostname

to:

server.address=0.0.0.0

- We are just going towards the End, Now, Create a file called start_rundeck.bat with your
favorite text editor with the contents shown below. Make sure the .war filename matches the
war file you downloaded:

set CURDIR=%~dp0
call %CURDIR%etc\profile.bat
java %RDECK_CLI_OPTS% %RDECK_SSL_OPTS% -jar rundeck-3.0.X.war --skipinstall -d >>
%CURDIR%\var\logs\se

- After this go to window power shell : start .bat file created above and hit on
localhost 4400 port. [ Pray to God everything you did was right ].

For your Knowledge : username and password both are admin.


- Yes, you are mostly Done with Tougher Part, Now, we need to create a project,
click on New Project+.

create a project and then create a job and run locally. [ Its very Simple Straight
Forward Step and GUI to create it ].

Now, run the job locally,

Arggggggg, if get some error you can even see the logs associated, rundeck comes
with in-build facility to see logs.
Now, Just see the logs and update the mistake and run via it successfully.

Another job example, create another job to run a java file. create a simple file
and generate a .class file and try to run via Rundeck.
why it is important? Suppose you are CEO of some company and you want to tell all
of your customers some message, then just run a single command and it will be
delievered to all nodes via rundick. This much powerful it is.

hurrieee, Now you must be having a fair idea about Rundeck and its power. See you Next
time......

Still Craving for More? Okay Read yourself by Clicking me!

S-ar putea să vă placă și