open source integrated infra structure using ansible configuration management
TRANSCRIPT
![Page 1: Open source integrated infra structure using ansible configuration management](https://reader036.vdocuments.net/reader036/viewer/2022081604/587811e71a28ab971e8b7313/html5/thumbnails/1.jpg)
Open Source Integrated Infra-Structure Using Ansible Configuration Management
Supervised ByDr. Ahmed Elnakib
2016
![Page 2: Open source integrated infra structure using ansible configuration management](https://reader036.vdocuments.net/reader036/viewer/2022081604/587811e71a28ab971e8b7313/html5/thumbnails/2.jpg)
A Graduation Project Dept. of Electronics and Communications
Engineering
Presented By 1. Dyaa Eldin Ahmed Mohamed Khalil. 2. Shimaa Mohamed El-boghdady. 3. Shimaa Shehata Ahmed El-meligy.
Mentored byEng. Mohamed El-desouky .
2016
Faculty Of Engineering
Mansoura University
![Page 3: Open source integrated infra structure using ansible configuration management](https://reader036.vdocuments.net/reader036/viewer/2022081604/587811e71a28ab971e8b7313/html5/thumbnails/3.jpg)
3
• One of the most important objectives
for large companies is how to manage, keep
and secure data .• Data saved on a
place call data centers .
Motivation :
![Page 4: Open source integrated infra structure using ansible configuration management](https://reader036.vdocuments.net/reader036/viewer/2022081604/587811e71a28ab971e8b7313/html5/thumbnails/4.jpg)
4
Motivation :• Traditional data centers became a
difficult solution as :1. It costs thousands
of dollars as it needs large number
of physical hardware .
2. It contains less security.
![Page 5: Open source integrated infra structure using ansible configuration management](https://reader036.vdocuments.net/reader036/viewer/2022081604/587811e71a28ab971e8b7313/html5/thumbnails/5.jpg)
5
• Our project used concept of Software Defined Data Center (SDDC) to improve data center to :
Objectives :
• Reduce Hardware .
• Increase data reliable .
• Achieve high availability .
• Increase security .
• Fast deployment .
![Page 6: Open source integrated infra structure using ansible configuration management](https://reader036.vdocuments.net/reader036/viewer/2022081604/587811e71a28ab971e8b7313/html5/thumbnails/6.jpg)
Overview of selected products :6
OpenStack Clustering
Firewall
![Page 7: Open source integrated infra structure using ansible configuration management](https://reader036.vdocuments.net/reader036/viewer/2022081604/587811e71a28ab971e8b7313/html5/thumbnails/7.jpg)
7
Project stages:Implement OpenStack cloud computing .
Deploying Ceph storage .OpenStack integration with Ceph block
device (RBD) .Deploy cluster over OpenStack
Infrastructure .Firewall configuration .
Design automation .
Create a design achieve project objectives .
![Page 8: Open source integrated infra structure using ansible configuration management](https://reader036.vdocuments.net/reader036/viewer/2022081604/587811e71a28ab971e8b7313/html5/thumbnails/8.jpg)
8
• Open source cloud
computing platform .
• Infrastructure-as-a-Service
"IaaS" solution .
OpenStack :
![Page 9: Open source integrated infra structure using ansible configuration management](https://reader036.vdocuments.net/reader036/viewer/2022081604/587811e71a28ab971e8b7313/html5/thumbnails/9.jpg)
9
OpenStack :Controller Node :
manage all OpenStack services and nodes .
Compute Node : runs the hypervisor portion of Compute that operates
instances .
Storage Node : contains the disks that
the Block Storage provision for instances .
![Page 10: Open source integrated infra structure using ansible configuration management](https://reader036.vdocuments.net/reader036/viewer/2022081604/587811e71a28ab971e8b7313/html5/thumbnails/10.jpg)
10
Design automation .
Project stages:Implement OpenStack cloud computing .
Deploying Ceph storage .OpenStack integration with Ceph block
device (RBD) .Deploy cluster over OpenStack
Infrastructure .Firewall configuration .
Create a design achieve project objectives .
![Page 11: Open source integrated infra structure using ansible configuration management](https://reader036.vdocuments.net/reader036/viewer/2022081604/587811e71a28ab971e8b7313/html5/thumbnails/11.jpg)
11
• open source project , distribute
object storage designed to provide high performance, reliability and
scalability .
![Page 12: Open source integrated infra structure using ansible configuration management](https://reader036.vdocuments.net/reader036/viewer/2022081604/587811e71a28ab971e8b7313/html5/thumbnails/12.jpg)
12
1. Admin node : used to manage and deploy all
clusters .2. Monitor nodes : used to monitor all clusters and
it’s has a map to all of them .
Structure :
3. OSD nodes : used to store data .
![Page 13: Open source integrated infra structure using ansible configuration management](https://reader036.vdocuments.net/reader036/viewer/2022081604/587811e71a28ab971e8b7313/html5/thumbnails/13.jpg)
13
1- Open source project .
2- Distributed and Replication :Data distributed over Ceph cluster and
replicated to ensure data reliability .3- Scalability :
It is flexible to add and remove resources .4- Software based storage :
Doesn't depend on Hardware type or size .
Why we use Ceph ?
![Page 14: Open source integrated infra structure using ansible configuration management](https://reader036.vdocuments.net/reader036/viewer/2022081604/587811e71a28ab971e8b7313/html5/thumbnails/14.jpg)
14
Project stages:Implement OpenStack cloud computing .
Deploying Ceph storage .OpenStack integration with Ceph block
device (RBD) .Deploy cluster over OpenStack
Infrastructure .Firewall configuration .
Design automation .
Create a design achieve project objectives .
![Page 15: Open source integrated infra structure using ansible configuration management](https://reader036.vdocuments.net/reader036/viewer/2022081604/587811e71a28ab971e8b7313/html5/thumbnails/15.jpg)
15
OpenStack + :
OpenStack
Ceph Storage
Neutron
![Page 16: Open source integrated infra structure using ansible configuration management](https://reader036.vdocuments.net/reader036/viewer/2022081604/587811e71a28ab971e8b7313/html5/thumbnails/16.jpg)
16
Project stages:Implement OpenStack cloud computing .
Deploying Ceph storage .OpenStack integration with Ceph block
device (RBD) .Deploy cluster over OpenStack
Infrastructure .Firewall configuration .
Design automation .
Create a design achieve project objectives .
![Page 17: Open source integrated infra structure using ansible configuration management](https://reader036.vdocuments.net/reader036/viewer/2022081604/587811e71a28ab971e8b7313/html5/thumbnails/17.jpg)
17
Red Hat Clustering :A group of servers and other resources that act as a
single system to provide high-availability services and resources by redundant multiple machines .
![Page 18: Open source integrated infra structure using ansible configuration management](https://reader036.vdocuments.net/reader036/viewer/2022081604/587811e71a28ab971e8b7313/html5/thumbnails/18.jpg)
18
Project stages:Implement OpenStack cloud computing .
Deploying Ceph storage .OpenStack integration with Ceph block
device (RBD) .Deploy cluster over OpenStack
Infrastructure .Firewall configuration .
Design automation .
Create a design achieve project objectives .
![Page 19: Open source integrated infra structure using ansible configuration management](https://reader036.vdocuments.net/reader036/viewer/2022081604/587811e71a28ab971e8b7313/html5/thumbnails/19.jpg)
19
• Firewall is a network security provides secure
connectivity between internal
and external networks .
Firewall :
• In our project we used Iptables (software firewall ) .
![Page 20: Open source integrated infra structure using ansible configuration management](https://reader036.vdocuments.net/reader036/viewer/2022081604/587811e71a28ab971e8b7313/html5/thumbnails/20.jpg)
20
Project stages:Implement OpenStack cloud computing .
Deploying Ceph storage .OpenStack integration with Ceph block
device (RBD) .Deploy cluster over OpenStack
Infrastructure .Firewall configuration .
Design automation .
Create a design achieve project objectives .
![Page 21: Open source integrated infra structure using ansible configuration management](https://reader036.vdocuments.net/reader036/viewer/2022081604/587811e71a28ab971e8b7313/html5/thumbnails/21.jpg)
21
Project Design :
![Page 22: Open source integrated infra structure using ansible configuration management](https://reader036.vdocuments.net/reader036/viewer/2022081604/587811e71a28ab971e8b7313/html5/thumbnails/22.jpg)
22
Project stages:Implement OpenStack cloud computing .
Deploying Ceph storage .OpenStack integration with Ceph block
device (RBD) .Deploy cluster over OpenStack
Infrastructure .Firewall configuration .
Design automation .
Create a design achieve project objectives .
![Page 23: Open source integrated infra structure using ansible configuration management](https://reader036.vdocuments.net/reader036/viewer/2022081604/587811e71a28ab971e8b7313/html5/thumbnails/23.jpg)
23
:Ansible is an open source automation
tool for configuring , managing and deploying all
servers at the same time instead of managing each
server individually .
AnsibleServer
Playbook(Script)
![Page 24: Open source integrated infra structure using ansible configuration management](https://reader036.vdocuments.net/reader036/viewer/2022081604/587811e71a28ab971e8b7313/html5/thumbnails/24.jpg)
24
:Why we use Ansible ?
Easy to read .
Agent less .Large number of modules .
Run on OpenSSH .Easy (to learn and setup) .
![Page 25: Open source integrated infra structure using ansible configuration management](https://reader036.vdocuments.net/reader036/viewer/2022081604/587811e71a28ab971e8b7313/html5/thumbnails/25.jpg)
25
1. Ansible playbook describe : -Hosts to configure .- Tasks to be run on this hosts .
SSH truste
d
SSH trusted
SSH trusted
SSH trustedSSH trusted
192.168.1.31
192.168.1.32
192.168.1.33
192.168.1.34
192.168.1.35
Ansible Management Node
Host Inventory
Playbook
How Ansible Work ?
![Page 26: Open source integrated infra structure using ansible configuration management](https://reader036.vdocuments.net/reader036/viewer/2022081604/587811e71a28ab971e8b7313/html5/thumbnails/26.jpg)
26
2. When you run yaml playbook , Ansible will open
parallel SSH connections to all
remote hosts , and start to run
tasks on it .
SSH truste
d
SSH trusted
SSH trusted
SSH trustedSSH trusted
192.168.1.31
192.168.1.32
192.168.1.33
192.168.1.34
192.168.1.35
Ansible Management Node
Host Inventory
Playbook
How Ansible Work ?
![Page 27: Open source integrated infra structure using ansible configuration management](https://reader036.vdocuments.net/reader036/viewer/2022081604/587811e71a28ab971e8b7313/html5/thumbnails/27.jpg)
27
3. At playbook running , Ansible generate python script for tasks ,
copy and run them at the remote hosts
through SSH connection .
SSH truste
d
SSH trusted
SSH trusted
SSH trustedSSH trusted
192.168.1.31
192.168.1.32
192.168.1.33
192.168.1.34
192.168.1.35
Ansible Management Node
Host Inventory
Playbook
How Ansible Work ?
![Page 28: Open source integrated infra structure using ansible configuration management](https://reader036.vdocuments.net/reader036/viewer/2022081604/587811e71a28ab971e8b7313/html5/thumbnails/28.jpg)
28
4. Ansible repeat all the steps for
each task .Host Inventory
How Ansible Work ?
SSH truste
d
SSH trusted
SSH trusted
SSH trustedSSH trusted
192.168.1.31
192.168.1.32
192.168.1.33
192.168.1.34
192.168.1.35
Ansible Management Node
Playbook
![Page 29: Open source integrated infra structure using ansible configuration management](https://reader036.vdocuments.net/reader036/viewer/2022081604/587811e71a28ab971e8b7313/html5/thumbnails/29.jpg)
29
Our Tools : User InteractiveIf you want to automate OpenStack press 3 :
![Page 30: Open source integrated infra structure using ansible configuration management](https://reader036.vdocuments.net/reader036/viewer/2022081604/587811e71a28ab971e8b7313/html5/thumbnails/30.jpg)
30
Results : OpenStack automation
![Page 31: Open source integrated infra structure using ansible configuration management](https://reader036.vdocuments.net/reader036/viewer/2022081604/587811e71a28ab971e8b7313/html5/thumbnails/31.jpg)
31
Our Tools : User InteractiveIf you want to automate Ceph press 2 :
![Page 32: Open source integrated infra structure using ansible configuration management](https://reader036.vdocuments.net/reader036/viewer/2022081604/587811e71a28ab971e8b7313/html5/thumbnails/32.jpg)
32
Results : Ceph automation
![Page 33: Open source integrated infra structure using ansible configuration management](https://reader036.vdocuments.net/reader036/viewer/2022081604/587811e71a28ab971e8b7313/html5/thumbnails/33.jpg)
33
Our Tools : User InteractiveIf you want to automate Cluster press 5 :
![Page 34: Open source integrated infra structure using ansible configuration management](https://reader036.vdocuments.net/reader036/viewer/2022081604/587811e71a28ab971e8b7313/html5/thumbnails/34.jpg)
34
Results : Cluster automation
![Page 35: Open source integrated infra structure using ansible configuration management](https://reader036.vdocuments.net/reader036/viewer/2022081604/587811e71a28ab971e8b7313/html5/thumbnails/35.jpg)
35
1 • High availability by using cluster .
2 • Data reliable by using Ceph storage .
3• Low cost by using less
physical servers by using OpenStack cloud computing .
4• High security by using
firewall and make secure design .
5• Faster deployment by using
Ansible configuration management .
Conclusion :We build data center to achieve :
![Page 36: Open source integrated infra structure using ansible configuration management](https://reader036.vdocuments.net/reader036/viewer/2022081604/587811e71a28ab971e8b7313/html5/thumbnails/36.jpg)
36
Future work :• Add new features to the script
such as Graphical User Interface (GUI) .
• Add new features such as centralized management using Red Hat satellite (RHS) .
• Marketing our project over our website and Competitions .
• Publish our code for any user to be able to modify or add new features .
![Page 37: Open source integrated infra structure using ansible configuration management](https://reader036.vdocuments.net/reader036/viewer/2022081604/587811e71a28ab971e8b7313/html5/thumbnails/37.jpg)
37