SlideShare ist ein Scribd-Unternehmen logo
1 von 37
Downloaden Sie, um offline zu lesen
Powered by Canonical Ltd.
Fadwa Gmiden
Metal as a Service
MaaS when we need real Metal...
Powered by Canonical Ltd.
Fadwa Gmiden
Summary
Introducing MaaS
Installing MaaS
Deploying nodes
Beyond Metal
Powered by Canonical Ltd.
Fadwa Gmiden
Introducing MaaS
3
Powered by Canonical Ltd.
Fadwa Gmiden
What is MaaS
4
MaaS is provisioning tool for Metal…
Powered by Canonical Ltd.
Fadwa Gmiden
What is MaaS
5
Server 1
MaaS is provisioning tool for Metal…
Powered by Canonical Ltd.
Fadwa Gmiden
What is MaaS
6
Server 1 Server 2
MaaS is provisioning tool for Metal…
Powered by Canonical Ltd.
Fadwa Gmiden
What is MaaS
7
Server 1 Server 2 Server 3
MaaS is provisioning tool for Metal…
Powered by Canonical Ltd.
Fadwa Gmiden
When to use MaaS
➔ Have some servers to manage
➔ Deploying services without fuss
➔ Need to get most of resources (scale up and down)
➔ ...
8
Powered by Canonical Ltd.
Fadwa Gmiden
MaaS Releases
9
Release 1.5 1.7 1.8 1.9 2.0
Status deprecated Old stable
release
deprecated Stable
release
Development
release
Support
LTS
Powered by Canonical Ltd.
Fadwa Gmiden
10
Region Controller
How MaaS Works
Powered by Canonical Ltd.
Fadwa Gmiden
11
Region Controller
Cluster Controller
dhcp tftp
How MaaS Works
Powered by Canonical Ltd.
Fadwa Gmiden
12
Region Controller
Cluster Controller
dhcp tftp
Node
Node
Node
How MaaS Works
Powered by Canonical Ltd.
Fadwa Gmiden
13
Region Controller
Cluster Controller
dhcp tftp
Cluster Controller
dhcp tftp
Node
Node
Node
Node
Node
Node
How MaaS Works
Powered by Canonical Ltd.
Fadwa Gmiden
14
Region Controller
...
Cluster Controller
dhcp tftp
Cluster Controller
dhcp tftp
Node
Node
Node
Node
Node
Node
How MaaS Works
Powered by Canonical Ltd.
Fadwa Gmiden
Restful API
15
Powered by Canonical Ltd.
Fadwa Gmiden
Installing MaaS
16
No servers here just VMs :(
Powered by Canonical Ltd.
Fadwa Gmiden
Used Software
Oracle VirtualBox (it was painful)
Ubuntu Server Trusty 14.04
Ubuntu Server Xenial 16.04
17
Powered by Canonical Ltd.
Fadwa Gmiden
Configuration
Of VirtualBox
18
Powered by Canonical Ltd.
Fadwa Gmiden
Configuration Virtual Machine
19
Powered by Canonical Ltd.
Fadwa Gmiden
Installing Ubuntu Server Virtual Machine
20
Then the usual stuff:
$ sudo apt-get update
$ sudo apt-get upgrade
Powered by Canonical Ltd.
Fadwa Gmiden
Configuration of DNS and DHCP
$ sudo nano /etc/network/interfaces
Add new interface
21
auto eth1
iface eth1 inet static
address 192.168.56.1
netmask 255.255.255.0
network 192.168.56.0
broadcast 192.168.56.255
dns-nameservers 10.0.?.? 192.168.56.1
dns-search 10.0.?.? 192.168.56.1
Powered by Canonical Ltd.
Fadwa Gmiden
Configuration of Region and Cluster
$ sudo dpkg-reconfigure maas-region-controller $ sudo dpkg-reconfigure maas-cluster-controller
22
Powered by Canonical Ltd.
Fadwa Gmiden
Create Admin User
$ sudo maas-region-admin createadmin
23
Powered by Canonical Ltd.
Fadwa Gmiden
24
Powered by Canonical Ltd.
Fadwa Gmiden
Configure the cluster
25
Powered by Canonical Ltd.
Fadwa Gmiden
Configure the cluster
26
The cluster is configured, but not
synchronized...
Powered by Canonical Ltd.
Fadwa Gmiden
Sync the cluster
27
After import, the cluster is synchronized….
Powered by Canonical Ltd.
Fadwa Gmiden
Add SSH key for remote control of nodes for maas user
28
$ sudo mkdir /home/maas
$ sudo chown maas:maas /home/maas
$ sudo chsh -s /bin/bash maas
$ sudo su - maas
$ ssh-keygen -f ~/.ssh/id_rsa -N ''
$ ssh-copy-id -i ~/.ssh/id_rsa kaneki@192.168.56.1
$ virsh -c qemu+ssh://kaneki@192.168.56.1/system list --all
Powered by Canonical Ltd.
Fadwa Gmiden
Deploying node
Ready to see how it works...
Powered by Canonical Ltd.
Fadwa Gmiden
Nodes config
Add some VMs and configure their
network...
30
Powered by Canonical Ltd.
Fadwa Gmiden
Node installation
Press F12 for boot and choose l for
Lan network...
31
Powered by Canonical Ltd.
Fadwa Gmiden
32
Powered by Canonical Ltd.
Fadwa Gmiden
Configuring nodes
33
Powered by Canonical Ltd.
Fadwa Gmiden
Beyond Metal...
Now what?
Powered by Canonical Ltd.
Fadwa Gmiden
What makes MaaS more interesting
35
Powered by Canonical Ltd.
Fadwa Gmiden
Need help with MaaS
36
Powered by Canonical Ltd.
Fadwa Gmiden
Thanks
37

Weitere ähnliche Inhalte

Was ist angesagt?

Backroll: Production Grade KVM Backup Solution Integrated in CloudStack
Backroll: Production Grade KVM Backup Solution Integrated in CloudStackBackroll: Production Grade KVM Backup Solution Integrated in CloudStack
Backroll: Production Grade KVM Backup Solution Integrated in CloudStack
ShapeBlue
 
Veeam back up and replication presentation
Veeam back up and replication presentation Veeam back up and replication presentation
Veeam back up and replication presentation
BlueChipICT
 

Was ist angesagt? (20)

VMware Advance Troubleshooting Workshop - Day 3
VMware Advance Troubleshooting Workshop - Day 3VMware Advance Troubleshooting Workshop - Day 3
VMware Advance Troubleshooting Workshop - Day 3
 
WebLogic 12c & WebLogic Mgmt Pack
WebLogic 12c & WebLogic Mgmt PackWebLogic 12c & WebLogic Mgmt Pack
WebLogic 12c & WebLogic Mgmt Pack
 
vSAN architecture components
vSAN architecture componentsvSAN architecture components
vSAN architecture components
 
Virtual SAN 6.2, hyper-converged infrastructure software
Virtual SAN 6.2, hyper-converged infrastructure softwareVirtual SAN 6.2, hyper-converged infrastructure software
Virtual SAN 6.2, hyper-converged infrastructure software
 
Nsx t reference design guide 3-0
Nsx t reference design guide 3-0Nsx t reference design guide 3-0
Nsx t reference design guide 3-0
 
OpenStack Architecture and Use Cases
OpenStack Architecture and Use CasesOpenStack Architecture and Use Cases
OpenStack Architecture and Use Cases
 
VMware Advance Troubleshooting Workshop - Day 2
VMware Advance Troubleshooting Workshop - Day 2VMware Advance Troubleshooting Workshop - Day 2
VMware Advance Troubleshooting Workshop - Day 2
 
Red Hat Satellite 6 - Automation with Puppet
Red Hat Satellite 6 - Automation with PuppetRed Hat Satellite 6 - Automation with Puppet
Red Hat Satellite 6 - Automation with Puppet
 
VMware vSphere Storage Appliance (VSA) - Technical Presentation,Almacenamien...
VMware vSphere Storage Appliance (VSA) -  Technical Presentation,Almacenamien...VMware vSphere Storage Appliance (VSA) -  Technical Presentation,Almacenamien...
VMware vSphere Storage Appliance (VSA) - Technical Presentation,Almacenamien...
 
쿠버네티스의 이해 #1
쿠버네티스의 이해 #1쿠버네티스의 이해 #1
쿠버네티스의 이해 #1
 
[오픈소스컨설팅] Open Stack Ceph, Neutron, HA, Multi-Region
[오픈소스컨설팅] Open Stack Ceph, Neutron, HA, Multi-Region[오픈소스컨설팅] Open Stack Ceph, Neutron, HA, Multi-Region
[오픈소스컨설팅] Open Stack Ceph, Neutron, HA, Multi-Region
 
Jenkins.pdf
Jenkins.pdfJenkins.pdf
Jenkins.pdf
 
Backroll: Production Grade KVM Backup Solution Integrated in CloudStack
Backroll: Production Grade KVM Backup Solution Integrated in CloudStackBackroll: Production Grade KVM Backup Solution Integrated in CloudStack
Backroll: Production Grade KVM Backup Solution Integrated in CloudStack
 
VMware Virtual SAN Presentation
VMware Virtual SAN PresentationVMware Virtual SAN Presentation
VMware Virtual SAN Presentation
 
Server virtualization by VMWare
Server virtualization by VMWareServer virtualization by VMWare
Server virtualization by VMWare
 
VMware Tanzu Introduction
VMware Tanzu IntroductionVMware Tanzu Introduction
VMware Tanzu Introduction
 
Five common customer use cases for Virtual SAN - VMworld US / 2015
Five common customer use cases for Virtual SAN - VMworld US / 2015Five common customer use cases for Virtual SAN - VMworld US / 2015
Five common customer use cases for Virtual SAN - VMworld US / 2015
 
DRaaS on Microsoft Azure with Veeam Software
DRaaS on Microsoft Azure with Veeam SoftwareDRaaS on Microsoft Azure with Veeam Software
DRaaS on Microsoft Azure with Veeam Software
 
Veeam back up and replication presentation
Veeam back up and replication presentation Veeam back up and replication presentation
Veeam back up and replication presentation
 
Sql server performance tuning
Sql server performance tuningSql server performance tuning
Sql server performance tuning
 

Andere mochten auch

Taller Paso a Paso Facturacion Electronica SecureClaim
Taller Paso a Paso Facturacion Electronica SecureClaimTaller Paso a Paso Facturacion Electronica SecureClaim
Taller Paso a Paso Facturacion Electronica SecureClaim
Milca V. Martínez Vázquez
 

Andere mochten auch (11)

Ubuntu
UbuntuUbuntu
Ubuntu
 
KEEP ON TECH Monitorització
KEEP ON TECH MonitoritzacióKEEP ON TECH Monitorització
KEEP ON TECH Monitorització
 
Montreal ppp
Montreal pppMontreal ppp
Montreal ppp
 
Gestion De Redes
Gestion De RedesGestion De Redes
Gestion De Redes
 
Mike Waters,Coventry City Council
Mike Waters,Coventry City CouncilMike Waters,Coventry City Council
Mike Waters,Coventry City Council
 
Sampo Hietanen - Discover the Future of Mobility - Mindtrek 2016
Sampo Hietanen - Discover the Future of Mobility - Mindtrek 2016Sampo Hietanen - Discover the Future of Mobility - Mindtrek 2016
Sampo Hietanen - Discover the Future of Mobility - Mindtrek 2016
 
Creación o coincidencia natural
Creación o coincidencia naturalCreación o coincidencia natural
Creación o coincidencia natural
 
Dios ha creado a los angeles
Dios ha creado a los angelesDios ha creado a los angeles
Dios ha creado a los angeles
 
Future of Mobility
Future of MobilityFuture of Mobility
Future of Mobility
 
Taller Paso a Paso Facturacion Electronica SecureClaim
Taller Paso a Paso Facturacion Electronica SecureClaimTaller Paso a Paso Facturacion Electronica SecureClaim
Taller Paso a Paso Facturacion Electronica SecureClaim
 
DEXMA - Presentación Corporativa 2017
DEXMA - Presentación Corporativa 2017DEXMA - Presentación Corporativa 2017
DEXMA - Presentación Corporativa 2017
 

Ähnlich wie Metal as a Server

Ähnlich wie Metal as a Server (20)

Raw Iron to Enterprise Server: Installing Domino on Linux
Raw Iron to Enterprise Server: Installing Domino on LinuxRaw Iron to Enterprise Server: Installing Domino on Linux
Raw Iron to Enterprise Server: Installing Domino on Linux
 
DebConf16 BoF on MariaDB/MySQL packaging
DebConf16 BoF on MariaDB/MySQL packagingDebConf16 BoF on MariaDB/MySQL packaging
DebConf16 BoF on MariaDB/MySQL packaging
 
Kubernetes on Bare Metal at the Kitchener-Waterloo Kubernetes and Cloud Nativ...
Kubernetes on Bare Metal at the Kitchener-Waterloo Kubernetes and Cloud Nativ...Kubernetes on Bare Metal at the Kitchener-Waterloo Kubernetes and Cloud Nativ...
Kubernetes on Bare Metal at the Kitchener-Waterloo Kubernetes and Cloud Nativ...
 
Virtualization and Cloud Computing with Elastic Server On Demand
Virtualization and Cloud Computing with Elastic Server On DemandVirtualization and Cloud Computing with Elastic Server On Demand
Virtualization and Cloud Computing with Elastic Server On Demand
 
How can you successfully migrate to hosted private cloud 2020
How can you successfully migrate to hosted private cloud 2020How can you successfully migrate to hosted private cloud 2020
How can you successfully migrate to hosted private cloud 2020
 
The Mission Critical Cloud @ Apache CloudStack meetup Amsterdam June 2015
The Mission Critical Cloud @ Apache CloudStack meetup Amsterdam June 2015The Mission Critical Cloud @ Apache CloudStack meetup Amsterdam June 2015
The Mission Critical Cloud @ Apache CloudStack meetup Amsterdam June 2015
 
4. v sphere big data extensions hadoop
4. v sphere big data extensions   hadoop4. v sphere big data extensions   hadoop
4. v sphere big data extensions hadoop
 
Free radius billing server with practical vpn exmaple
Free radius billing server with practical vpn exmapleFree radius billing server with practical vpn exmaple
Free radius billing server with practical vpn exmaple
 
Chapter 21 : DHCP
Chapter 21 : DHCPChapter 21 : DHCP
Chapter 21 : DHCP
 
Install MariaDB on IBM i - Tips, troubleshooting, and more
Install MariaDB on IBM i - Tips, troubleshooting, and moreInstall MariaDB on IBM i - Tips, troubleshooting, and more
Install MariaDB on IBM i - Tips, troubleshooting, and more
 
Less passwords, more security: unix socket authentication and other MariaDB h...
Less passwords, more security: unix socket authentication and other MariaDB h...Less passwords, more security: unix socket authentication and other MariaDB h...
Less passwords, more security: unix socket authentication and other MariaDB h...
 
JUDCon 2010 Boston : BoxGrinder
JUDCon 2010 Boston : BoxGrinderJUDCon 2010 Boston : BoxGrinder
JUDCon 2010 Boston : BoxGrinder
 
Unlock Sustainable Kubernetes Services for TAS
Unlock Sustainable Kubernetes Services for TASUnlock Sustainable Kubernetes Services for TAS
Unlock Sustainable Kubernetes Services for TAS
 
(ARC402) Deployment Automation: From Developers' Keyboards to End Users' Scre...
(ARC402) Deployment Automation: From Developers' Keyboards to End Users' Scre...(ARC402) Deployment Automation: From Developers' Keyboards to End Users' Scre...
(ARC402) Deployment Automation: From Developers' Keyboards to End Users' Scre...
 
Running DataStax Enterprise in VMware Cloud and Hybrid Environments
Running DataStax Enterprise in VMware Cloud and Hybrid EnvironmentsRunning DataStax Enterprise in VMware Cloud and Hybrid Environments
Running DataStax Enterprise in VMware Cloud and Hybrid Environments
 
Installation And Configuration Of DNS, Web And FTP Servers On Virtual Machine...
Installation And Configuration Of DNS, Web And FTP Servers On Virtual Machine...Installation And Configuration Of DNS, Web And FTP Servers On Virtual Machine...
Installation And Configuration Of DNS, Web And FTP Servers On Virtual Machine...
 
Nano Server - the future of Windows Server - Thomas Maurer
Nano Server - the future of Windows Server - Thomas MaurerNano Server - the future of Windows Server - Thomas Maurer
Nano Server - the future of Windows Server - Thomas Maurer
 
Docker 1.12 & Swarm Mode [Montreal Docker Meetup Sept. 2016]
Docker 1.12 & Swarm Mode [Montreal Docker Meetup Sept. 2016]Docker 1.12 & Swarm Mode [Montreal Docker Meetup Sept. 2016]
Docker 1.12 & Swarm Mode [Montreal Docker Meetup Sept. 2016]
 
Chapter 10 - DHCP
Chapter 10 - DHCPChapter 10 - DHCP
Chapter 10 - DHCP
 
CCNAv5 - S2: Chapter10 DHCP
CCNAv5 - S2: Chapter10 DHCPCCNAv5 - S2: Chapter10 DHCP
CCNAv5 - S2: Chapter10 DHCP
 

Mehr von Fadwa Gmiden (9)

Managing time and productivity
Managing time and productivityManaging time and productivity
Managing time and productivity
 
IoT in Smart Cities
IoT in Smart CitiesIoT in Smart Cities
IoT in Smart Cities
 
Flask
FlaskFlask
Flask
 
H2O
H2OH2O
H2O
 
Snort
SnortSnort
Snort
 
Web Development best practices
Web Development best practicesWeb Development best practices
Web Development best practices
 
Ubuntu presentation
Ubuntu presentationUbuntu presentation
Ubuntu presentation
 
Web essentials
Web essentials Web essentials
Web essentials
 
Synchronisation sous systeme linux
Synchronisation sous systeme linuxSynchronisation sous systeme linux
Synchronisation sous systeme linux
 

Kürzlich hochgeladen

Kürzlich hochgeladen (20)

Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptx
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challenges
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
A Beginners Guide to Building a RAG App Using Open Source Milvus
A Beginners Guide to Building a RAG App Using Open Source MilvusA Beginners Guide to Building a RAG App Using Open Source Milvus
A Beginners Guide to Building a RAG App Using Open Source Milvus
 
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot ModelNavi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 

Metal as a Server

  • 1. Powered by Canonical Ltd. Fadwa Gmiden Metal as a Service MaaS when we need real Metal...
  • 2. Powered by Canonical Ltd. Fadwa Gmiden Summary Introducing MaaS Installing MaaS Deploying nodes Beyond Metal
  • 3. Powered by Canonical Ltd. Fadwa Gmiden Introducing MaaS 3
  • 4. Powered by Canonical Ltd. Fadwa Gmiden What is MaaS 4 MaaS is provisioning tool for Metal…
  • 5. Powered by Canonical Ltd. Fadwa Gmiden What is MaaS 5 Server 1 MaaS is provisioning tool for Metal…
  • 6. Powered by Canonical Ltd. Fadwa Gmiden What is MaaS 6 Server 1 Server 2 MaaS is provisioning tool for Metal…
  • 7. Powered by Canonical Ltd. Fadwa Gmiden What is MaaS 7 Server 1 Server 2 Server 3 MaaS is provisioning tool for Metal…
  • 8. Powered by Canonical Ltd. Fadwa Gmiden When to use MaaS ➔ Have some servers to manage ➔ Deploying services without fuss ➔ Need to get most of resources (scale up and down) ➔ ... 8
  • 9. Powered by Canonical Ltd. Fadwa Gmiden MaaS Releases 9 Release 1.5 1.7 1.8 1.9 2.0 Status deprecated Old stable release deprecated Stable release Development release Support LTS
  • 10. Powered by Canonical Ltd. Fadwa Gmiden 10 Region Controller How MaaS Works
  • 11. Powered by Canonical Ltd. Fadwa Gmiden 11 Region Controller Cluster Controller dhcp tftp How MaaS Works
  • 12. Powered by Canonical Ltd. Fadwa Gmiden 12 Region Controller Cluster Controller dhcp tftp Node Node Node How MaaS Works
  • 13. Powered by Canonical Ltd. Fadwa Gmiden 13 Region Controller Cluster Controller dhcp tftp Cluster Controller dhcp tftp Node Node Node Node Node Node How MaaS Works
  • 14. Powered by Canonical Ltd. Fadwa Gmiden 14 Region Controller ... Cluster Controller dhcp tftp Cluster Controller dhcp tftp Node Node Node Node Node Node How MaaS Works
  • 15. Powered by Canonical Ltd. Fadwa Gmiden Restful API 15
  • 16. Powered by Canonical Ltd. Fadwa Gmiden Installing MaaS 16 No servers here just VMs :(
  • 17. Powered by Canonical Ltd. Fadwa Gmiden Used Software Oracle VirtualBox (it was painful) Ubuntu Server Trusty 14.04 Ubuntu Server Xenial 16.04 17
  • 18. Powered by Canonical Ltd. Fadwa Gmiden Configuration Of VirtualBox 18
  • 19. Powered by Canonical Ltd. Fadwa Gmiden Configuration Virtual Machine 19
  • 20. Powered by Canonical Ltd. Fadwa Gmiden Installing Ubuntu Server Virtual Machine 20 Then the usual stuff: $ sudo apt-get update $ sudo apt-get upgrade
  • 21. Powered by Canonical Ltd. Fadwa Gmiden Configuration of DNS and DHCP $ sudo nano /etc/network/interfaces Add new interface 21 auto eth1 iface eth1 inet static address 192.168.56.1 netmask 255.255.255.0 network 192.168.56.0 broadcast 192.168.56.255 dns-nameservers 10.0.?.? 192.168.56.1 dns-search 10.0.?.? 192.168.56.1
  • 22. Powered by Canonical Ltd. Fadwa Gmiden Configuration of Region and Cluster $ sudo dpkg-reconfigure maas-region-controller $ sudo dpkg-reconfigure maas-cluster-controller 22
  • 23. Powered by Canonical Ltd. Fadwa Gmiden Create Admin User $ sudo maas-region-admin createadmin 23
  • 24. Powered by Canonical Ltd. Fadwa Gmiden 24
  • 25. Powered by Canonical Ltd. Fadwa Gmiden Configure the cluster 25
  • 26. Powered by Canonical Ltd. Fadwa Gmiden Configure the cluster 26 The cluster is configured, but not synchronized...
  • 27. Powered by Canonical Ltd. Fadwa Gmiden Sync the cluster 27 After import, the cluster is synchronized….
  • 28. Powered by Canonical Ltd. Fadwa Gmiden Add SSH key for remote control of nodes for maas user 28 $ sudo mkdir /home/maas $ sudo chown maas:maas /home/maas $ sudo chsh -s /bin/bash maas $ sudo su - maas $ ssh-keygen -f ~/.ssh/id_rsa -N '' $ ssh-copy-id -i ~/.ssh/id_rsa kaneki@192.168.56.1 $ virsh -c qemu+ssh://kaneki@192.168.56.1/system list --all
  • 29. Powered by Canonical Ltd. Fadwa Gmiden Deploying node Ready to see how it works...
  • 30. Powered by Canonical Ltd. Fadwa Gmiden Nodes config Add some VMs and configure their network... 30
  • 31. Powered by Canonical Ltd. Fadwa Gmiden Node installation Press F12 for boot and choose l for Lan network... 31
  • 32. Powered by Canonical Ltd. Fadwa Gmiden 32
  • 33. Powered by Canonical Ltd. Fadwa Gmiden Configuring nodes 33
  • 34. Powered by Canonical Ltd. Fadwa Gmiden Beyond Metal... Now what?
  • 35. Powered by Canonical Ltd. Fadwa Gmiden What makes MaaS more interesting 35
  • 36. Powered by Canonical Ltd. Fadwa Gmiden Need help with MaaS 36
  • 37. Powered by Canonical Ltd. Fadwa Gmiden Thanks 37