Professional Documents
Culture Documents
Techzone 2014 Presentation Rundeck
Techzone 2014 Presentation Rundeck
4
What is Rundeck?
5
Essential Concepts
Projects:
A project is a place to separate
management activity. All Rundeck
activities occur within the context of a
project.
Jobs:
6
Essential Concepts
Nodes:
Commands:
A command is a single executable
string executed on a Node.
Rundeck invokes commands on
nodes via a node executor.
7
Essential Concepts
Executions:
An execution is a
representation of the activity
of a running or completed
command or job.
Role-based Access Control
Policies:
A Rundeck access control
policy grants users and user groups
certain privileges to perform actions
against Rundeck.
8
Essential Concepts
Plugins:
Most of what Rundeck does is via one of its plugins. Plugins
exist to execute commands on nodes, perform steps in a
job, send a notification about job status, gather information
about the hosts in your network, etc.
9
Essential Concepts
Users
Rundeck has three basic ways of defining authentication.
PropertyFileLoginModule
It allows to manage user credentials for Rundeck using a text
file, which containing usernames, passwords and role
definitions. Usually this file is called realm.properties.
LDAP
Through JAAS login module you can use for LDAP directory
authentication
PAM
This module can work with existing properties-file based
authorization roles by enabling shared credentials between the
modules.
10
Rundeck architecture
RunDeck stores job definitions and execution history in a relational
database. Output from command and job executions is saved on
disk.
11
Jenkins - Rundeck
"Rundeck is made for Operations and knows
about the details of your environments.
Jenkins is a development
tool, designed for
automating software builds.
Rundeck is an operations
tool, designed for executing
operations tasks.
12
Real use case
Technologies: Java, Tomcat, Maven
CI server: Jenkins
Code repository: Subversion
Artifacts manager: Nexus
13
Install
Windows:
java -jar rundeck-launcher-2.1.2.jar
Linux
CENTOS
Yum RPM Install
rpm -Uvh http://repo.rundeck.org/latest.rpm
yum install rundeck
service rundeckd start
14
Install
UBUNTU
http://dl.bintray.com/rundeck/rundeck-deb
/rundeck-2.3.2-1-GA.deb
dpkg -i rundeck-2.3.2-1-GA.deb
15
Login
16
Laboratory
Open document of laboratory
TZ2014_Workshop_Rundeck.docx
17
Laboratory
What do you expect to learn from this Lab?
Installation
Manage configuration files
Create Projects
Add nodes
Manage users
Create and run Jobs
Execute ad hoc commands
Integrate with Jenkins
18
Laboratory
Requirements
Basic knowledge about Linux and Shell commands
Basic knowledge about Jenkins and Continuous
Integration
19
Laboratory
Tools that will be used in the lab
Putty
Browser (Mozilla Firefox or Chrome)
20
Laboratory
Environment
Putty 172.20.200.XX
Browser
172.20.200.68
21
Q&A
22
23