제4회 한국ibm과 함께하는 난공불락 오픈소스 인프라 세미나-asible

19
Ansible Tower를 통한 효율적인 IT Automation 김용기 부장 Sr. Solution Architect Red Hat Korea

Upload: tommy-lee

Post on 28-Jan-2018

279 views

Category:

Technology


0 download

TRANSCRIPT

Ansible Tower를통한효율적인 IT Automation

김용기부장Sr. Solution ArchitectRed Hat Korea

2

Agenda

1. Importance of Service Portal

2. What is Ansible?

3. What for Ansible?

4. Use Cases

4.1 Windows Update

4.2 Service Portal for Open Stack

3

Importance of Service Portal

4

TASK TIME (MINS)

Create virtual machine

Add storage and networking

Queue between teams

Install operating system

Wait after install

Configure operating systemInstall application platformsConfigure application platforms

Queue between teams

Security configuration and scan

2

3

120

2

60

1

2

1

120

2

ACTIVE WORK TIME 0 minutes

13 minsTOTAL TIME

Achieved efficiency

through

self service portal

TASK TIME (MINS)

Create virtual machine

Add storage and networking

Queue between teams

Install operating system

Wait after install

Configure operating systemInstall application platformsConfigure application platforms

Queue between teams

Security configuration and scan

30

30

120

60

60

90

90

45

120

90

ACTIVE WORK TIME 5 hours 15 mins

10 hoursTOTAL TIME

Importance of Service Portal

5

Cloud Management Demo

6

It’s a simple automation language that

can perfectly describe an IT application infrastructure in Ansible Playbooks.

It’s an automation engine that runsAnsible Playbooks.

Ansible Tower is an enterprise framework for controlling, securing and managing your Ansibleautomation with a UI and RESTful API.

What is Ansible

7

Ansible

8

HOW ANSIBLE WORKS

ANSIBLE’S AUTOMATION ENGINE

ANSIBLE PLAYBOOK

PUBLIC / PRIVATECLOUD

CMDB

USERS

INVENTORYHOSTS

NETWORKINGPLUGINS

API

MODULES

Confidential

9

What for Ansible

10

Use Cases

11

Use Cases

- Demo Scenario

- Current Windows Status

- Windows Patch to Fix Error

- gathering windows patch list

- patching only security category updates

- monitoring system processes

Windows Update Demo

12

Use Cases

Windows Update Demo

RHV(KVM)

Solaris Windows

AnsibleTower

RHEL WindowsSolaris

automationPlaybook

Systems Operation

13

Windows Update Demo

Use Cases

github: https://github.com/hatsari/ansible-playbook/tree/master/windows-ansible

14

Use Cases

Windows Update Demo- just 7 lines to update Windows

15

Use Cases

- Demo Scenario

- access in Ansible Tower

- select user requirement

- launch job- provision db/was/web instances- create loadbalancer on openstack- deploy proper application on each instance- service test

Service Portal for Open Stack

16

Use Cases

Service Portal for Open Stack

Open Stack

AnsibleTower

JBoss

Apache

Postgresql

automationPlaybook

Systems Operation

jdbc

mod_jk

db lb

was lb

web lb

17

Use Cases

Service Portal for Open Stack

default system environment like firewall, selinux, sysctl.

postgresql install and configuration including data filesystem

delete all instance and volumes to clear infrastructure

create db, was, web instances

create db, was, web loadbalancer, pool and listener to gain vip

create heat stack

update heat parameter using ansible

create WAS instance and jdbc configuration

create WEB instance and mod_jk configuration

18

Service Portal for Open Stack

Use Cases

github: https://github.com/hatsari/ansible-playbook/tree/master/openstack-management

19

감사합니다

[email protected]