Upload
will-sterling
View
806
Download
0
Tags:
Embed Size (px)
DESCRIPTION
My intro to Rundeck slide stack from the November 2012 Boudler DevOps Meetup.
Citation preview
Introduction to RunDeck November 2012 Boulder DevOps Meetup Will Sterling DevOps Engineer @ Datalogix [email protected]
What is Rundeck?
2
! Command Orchestration
! Process Automation
! Web-UI
! REST API
! CLI
! Nodes dynamically added and removed
! Target nodes using rich metadata instead of hostnames!
Rundeck
3
! Command Orchestration
Rundeck
4
! Command Orchestration
– output
Rundeck
5
! Command Orchestration
– history
Rundeck
6
! Projects
Rundeck
7
! Process Automation
Rundeck
8
! REST API
Rundeck
9
! CLI
– dispatch
Execute ad hoc commands and scripts
– rd-queue
Query the dispatcher for currently running Jobs and possibly kill them
– rd-jobs
List defined jobs as well as load them from text file definitions
– run
Invoke the execution of a stored Job
– rd-project
Setup a new Rundeck project
– rd-setup
(Re-)configure an instance of Rundeck
Rundeck
10
! Node Selection (filter)
– Hostname(s)
– Hostname Regular Expression
– OS, Version, Arch
– Tags
Rundeck
11
! Filters
Rundeck
12
! Node Definition (Resource Model)
– Static
• YAML File
– Dynamic
• URL
• Script
Rundeck
13
! Resource Model example
Venkman.local:
description: Rundeck server node
hostname: Venkman.local
nodename: Venkman.local
osArch: x86_64
osFamily: unix
osName: Mac OS X
osVersion: 10.6.6
tags: ‘rundeck’
username: greg
Rundeck
14
! Data Store Backend
– HSQLDB - default
• JAVA based RDBMS, stores data locally in script
– Any RDBMS with JDBC
Rundeck
15
! Installation – RHEL
– Install Rundeck Repository
• rpm –I http://rundeck.org/latest.rpm
– Install Rundeck RPM
• yum install rundeck
– Enable & start service
• chkconfig rundeckd on;service rundeckd start
– Log in
• http://hostname:4440
– User: admin
– Password: admin
Rundeck
16
! Configuration Artifacts of Interest
– /etc/rundeck
– /var/lib/rundeck/data
– /var/rundeck/projects/projectname
– /var/log/rundeck/
Rundeck
17
! Resources
– Project Home
http://rundeck.org/index.html
– Screen Casts & Tutorials
http://rundeck.org/about.html
– Documentation
http://rundeck.org/docs/index.html
– Mailing List
http://groups.google.com/group/rundeck-discuss
– Me