Techzone 2014 presentation rundeck
-
Upload
joel-richard-moya-lupe -
Category
Software
-
view
339 -
download
0
Transcript of Techzone 2014 presentation rundeck
![Page 1: Techzone 2014 presentation rundeck](https://reader034.fdocuments.net/reader034/viewer/2022052700/55a2ca7e1a28ab1f6c8b4722/html5/thumbnails/1.jpg)
Rundeck
Joel R. Moya Lupe
Quality Engineer
![Page 2: Techzone 2014 presentation rundeck](https://reader034.fdocuments.net/reader034/viewer/2022052700/55a2ca7e1a28ab1f6c8b4722/html5/thumbnails/2.jpg)
![Page 3: Techzone 2014 presentation rundeck](https://reader034.fdocuments.net/reader034/viewer/2022052700/55a2ca7e1a28ab1f6c8b4722/html5/thumbnails/3.jpg)
Por favor, mantenga su
celular en modo silencioso
![Page 4: Techzone 2014 presentation rundeck](https://reader034.fdocuments.net/reader034/viewer/2022052700/55a2ca7e1a28ab1f6c8b4722/html5/thumbnails/4.jpg)
4
What is Rundeck?
Rundeck is a software that helps you automate routine operational in data center or cloud environments.
A Server for people that want to create reusable task automation
![Page 5: Techzone 2014 presentation rundeck](https://reader034.fdocuments.net/reader034/viewer/2022052700/55a2ca7e1a28ab1f6c8b4722/html5/thumbnails/5.jpg)
5
What is Rundeck?
An open source software project at GitHub (Apache 2.0 license)
Teams can collaborate to share how processes are automated while others are given trust to view operational activity or execute tasks.
New idea: “Operations as a Service”
![Page 6: Techzone 2014 presentation rundeck](https://reader034.fdocuments.net/reader034/viewer/2022052700/55a2ca7e1a28ab1f6c8b4722/html5/thumbnails/6.jpg)
6
Essential Concepts
Projects:
A project is a place to separate
management activity. All Rundeck
activities occur within the context of a
project.
Jobs:
A Job is a configuration representing
input options. A job encapsulate a
sequence of steps, job options and
nodes where the steps execute.
![Page 7: Techzone 2014 presentation rundeck](https://reader034.fdocuments.net/reader034/viewer/2022052700/55a2ca7e1a28ab1f6c8b4722/html5/thumbnails/7.jpg)
Essential Concepts
Nodes:
A node is a resource that is either a
physical or virtual instance of a
network accessible host. A resource
model is a representation of Nodes in
a project.
7
Commands:
A command is a single executable
string executed on a Node.
Rundeck invokes commands on
nodes via a node executor.
![Page 8: Techzone 2014 presentation rundeck](https://reader034.fdocuments.net/reader034/viewer/2022052700/55a2ca7e1a28ab1f6c8b4722/html5/thumbnails/8.jpg)
8
Executions:
An execution is a
representation of the activity
of a running or completed
command or job.
Essential Concepts
Role-based Access Control Policies:
A Rundeck access control
policy grants users and user groups
certain privileges to perform actions
against Rundeck.
![Page 9: Techzone 2014 presentation rundeck](https://reader034.fdocuments.net/reader034/viewer/2022052700/55a2ca7e1a28ab1f6c8b4722/html5/thumbnails/9.jpg)
9
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.
Essential Concepts
![Page 10: Techzone 2014 presentation rundeck](https://reader034.fdocuments.net/reader034/viewer/2022052700/55a2ca7e1a28ab1f6c8b4722/html5/thumbnails/10.jpg)
10
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.
![Page 11: Techzone 2014 presentation rundeck](https://reader034.fdocuments.net/reader034/viewer/2022052700/55a2ca7e1a28ab1f6c8b4722/html5/thumbnails/11.jpg)
11
Rundeck architecture RunDeck stores job definitions and execution history in a relational
database. Output from command and job executions is saved on
disk.
![Page 12: Techzone 2014 presentation rundeck](https://reader034.fdocuments.net/reader034/viewer/2022052700/55a2ca7e1a28ab1f6c8b4722/html5/thumbnails/12.jpg)
Jenkins - Rundeck
12
"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.
![Page 13: Techzone 2014 presentation rundeck](https://reader034.fdocuments.net/reader034/viewer/2022052700/55a2ca7e1a28ab1f6c8b4722/html5/thumbnails/13.jpg)
13
Real use case Technologies: Java, Tomcat, Maven
CI server: Jenkins
Code repository: Subversion
Artifacts manager: Nexus
![Page 14: Techzone 2014 presentation rundeck](https://reader034.fdocuments.net/reader034/viewer/2022052700/55a2ca7e1a28ab1f6c8b4722/html5/thumbnails/14.jpg)
Install
14
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
![Page 15: Techzone 2014 presentation rundeck](https://reader034.fdocuments.net/reader034/viewer/2022052700/55a2ca7e1a28ab1f6c8b4722/html5/thumbnails/15.jpg)
Install
15
UBUNTU
http://dl.bintray.com/rundeck/rundeck-deb
/rundeck-2.3.2-1-GA.deb
dpkg -i rundeck-2.3.2-1-GA.deb
Modify configuration files
sudo nano rundeck-config.properties
# change hostname here grails.serverURL=http://172.20.200.XX:4440
![Page 16: Techzone 2014 presentation rundeck](https://reader034.fdocuments.net/reader034/viewer/2022052700/55a2ca7e1a28ab1f6c8b4722/html5/thumbnails/16.jpg)
16
Login
The default port for the
web interface is 4440. If
you installed Rundeck on
your local machine, go to
this
URL: http://localhost:4440
Rundeck requires every
user to login. The default
installation defines an
"admin" user with access
to perform all actions. Use
"admin" for username and
password.
![Page 17: Techzone 2014 presentation rundeck](https://reader034.fdocuments.net/reader034/viewer/2022052700/55a2ca7e1a28ab1f6c8b4722/html5/thumbnails/17.jpg)
17
Laboratory
Open document of laboratory
TZ2014_Workshop_Rundeck.docx
![Page 18: Techzone 2014 presentation rundeck](https://reader034.fdocuments.net/reader034/viewer/2022052700/55a2ca7e1a28ab1f6c8b4722/html5/thumbnails/18.jpg)
18
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
![Page 19: Techzone 2014 presentation rundeck](https://reader034.fdocuments.net/reader034/viewer/2022052700/55a2ca7e1a28ab1f6c8b4722/html5/thumbnails/19.jpg)
19
Laboratory
Requirements
−Basic knowledge about Linux and Shell commands
−Basic knowledge about Jenkins and Continuous
Integration
![Page 20: Techzone 2014 presentation rundeck](https://reader034.fdocuments.net/reader034/viewer/2022052700/55a2ca7e1a28ab1f6c8b4722/html5/thumbnails/20.jpg)
20
Laboratory
Tools that will be used in the lab
− Putty
−Browser (Mozilla Firefox or Chrome)
![Page 21: Techzone 2014 presentation rundeck](https://reader034.fdocuments.net/reader034/viewer/2022052700/55a2ca7e1a28ab1f6c8b4722/html5/thumbnails/21.jpg)
21
Laboratory
Environment
Browser
Putty
172.20.200.XX
172.20.200.68
![Page 22: Techzone 2014 presentation rundeck](https://reader034.fdocuments.net/reader034/viewer/2022052700/55a2ca7e1a28ab1f6c8b4722/html5/thumbnails/22.jpg)
22
Q&A
![Page 23: Techzone 2014 presentation rundeck](https://reader034.fdocuments.net/reader034/viewer/2022052700/55a2ca7e1a28ab1f6c8b4722/html5/thumbnails/23.jpg)
23