OpenStack@NBU
or
How does cloud technologies help us to
produce better students
Nikolay Milovanov
nmilovanov@nbu.bg
NBU
• First and largest private university in Bulgaria
• First to introduce credit system
• Has started from two apartments
• Now has about 14000 students
• Mostly humanitarian university
• Clear separation between administration and academic
• Technology programs are in
– Telecommunications
– Informatics
• OpenStack has been hosted by Telecommunications
department in Building 2, lab 701a
Our issues
• Various courses
• Some research
• Some labs
• Equipment coming and going mostly as an asset from
certain “research” projects
• Ideology to promote student to business collaboration
through the so called studio projects initiative
• All those depend on compute, networking and storage
resources in a well “undefined” or if you wish elastic
add hoc way
Our current solution
• Create common design to incorporate all our labs, student
halls, current needs
• Interconnect it over BGP with NBU IT infrastructure
• Design is just a set of rules related to connectivity between
various labs, vlans & IP ranges that should be used for the
purpose + certain core network rules
• Interconnect all that to an OpenStack setup so that:
– each of our labs could benefit from its compute, networking or
storage resources
– Students are typically divided in teams
– Each team has a user and a tenant with certain quota*
– Researchers or academic staff also could have tenants if they
wish so
*In certain cases depending of the course sometimes each student has a user
and a tenant
Current diagram
About OpenStack
• The deployment is:
– on Centos 7
– RDO based
– Started with Icehouse RC2
– Currently on Juno RC2
– Using RDO mostly to easily add
hypervisors/network nodes and resolve
dependences
– Currently still no custom patches
– Despite that …. OpenStack is a tricky mistress
OpenStack compute
• Based on a couple of servers that came in an add
hoc way
• Nothing fancy just a bunch of crappy hardware
been donated by different people or that has
came from various research projects
• As a hypervisor we stick to libvirt/kvm
• Since servers are shared between compute,
networking and storage we don’t give all our
resources to the nova scheduler
• We guard our preshless with cgroups so others
can’t steel it ;)
OpenStack networking
• Neutron ML2
• Open vSwitch (ovs)
• Internal overlay is vxlan
• In Centos interfaces come with a bit strange names
– If you have different hardware cards as a practice make them bonds (even if you have a single
port), use different bonds for different things
– This will ease your deployment and will allow you to scale up or down later if that is required
• Multiple vlan based external networks
– So to interconnect our OpenStack with the various labs that we got
– + with external Internet
– IPv4 + IPv6 L3 networking
• OpenStack virtual routing is not distributed but is highly available (HA L3
networking)
– Using native OpenStack harouter based on VRRP and keepalived
• OpenStack being able to do some of the more Network as a Service stuff like
VPNAAS, FWAAS or LBAAS
Storage
• Mostly local and ephemeral due to hardware
constraints
• We have experimented with glusterfs and ceph as
block
• Unfortunately no resources for 10 G storage network
• Thus the solution will converge for now to glusterfs
being used as persistent block and object storage
– Our observation is that it is slow but stable  in rugged
conditions
– So block is used just for attaching storage to ephemeral
VMs with primary drives on the current host
– No booting from block, no live migration
Monitoring
• We use SNMP (able to monitor regular stuff +
libvirt)
• We export netflow from ovs and some of our
network devices
• We gather ceilometer statistics* -> btw this is
quite a crappy piece of code….
• We gather logs
• Most of this is in SevOne NMS/PLA with xStats
adapter for Ceilometer
– In my spare time I am working also as Cloud solutions
architect for SevOne so no surprise here ;)
Operation considerations
• Upgrades are nice*
– However we did not have too major issues there
• HA L3 networking has been added since Juno
• DB is all women
– maria+galera
• Still do not distribute the control plane due to
lack of resources
– otherwise we have tried and tested this
– works well enough for our needs
Where we would like to go
• Overall goal – quality education matters
• Nowadays no student can become really an engineer without
proper access to equipment, labs, resources
– Having personal laptop helps but is not sufficient
– So simply there should be no student complaining that there are no
resources to learn or study stuff, do exercises or collaborate with other
students
– It might sound strange but sometimes infrastructure is the key to
produce the better student 
• Collaboration is crucial and working as a team on well defined long
term projects is important
– So students need common, fully accessible cloud computing resources
ondemand in a lifecycle of up to 6 years (Bachelors + Masters)
– ….and we should simply give them those
– It won’t be all roses but hey ;) we can give it a try
Technology Wise
• OpenStack will move towards Liberty once RC2 is out and we prove
to ourselves that it works
• We will grow our hypervisor and storages
• Designate (DNSAAS) is also a candidate for rapid adoption
– Delayed mostly due to too much other stuff to do for both us and NBU
IT department side
• Magnum (Container as a service) will be something useful for us
• In general we would like to move the whole setup towards
OpenStack+OpenContrail or OpenStack+ONOS
– Somehow seduced to use and show service chaining in the proper way
– vSwitch is good but vRouter is the “salt” in that business
– Ability to do exercises with the students on how to extend MPLS
towards DC in a scalable and reliable way
Questions
Nikolay Milovanov
nmilovanov@nbu.bg
EXAMPLE OPENSTACK RELATED
CLOUD LAB EXERCISES
Sample labs – Introduction to OpenStack
– Create virtual network, a router, link them
together, bridge it to external, add some VMs,
dedicate them floating IP addresses
– Do this with IPv4 & IPv6
– Try some snapshot
– Attach some block
– Store stuff in object storage
– Do all that from the GUI and through OpenStack
CLI clients
Sample labs - routing
• Instantiate 3 openwrt virtual machines
– Login and deploy into them quagga virtual router
– Deploy RIP/OSPF routing protocol
– Interconnect them over iBGP
– Grab an external BGP feed and enjoy having full
internet BGP table
– Try to redistribute it in OSPF ;) See what happens
Sample labs – network management
• Continue using the 3 Openwrt VMs from the
previous exercise
– Add snmp
– Add sflow
– Instantiate Network monitoring vm
• Discover your devices over SNMP
• Start to export flow towards them
– Does not work?
• check your OpenStack access groups
Sample Labs SDN
Ephemeral traffic forwarding with ONOS
• Instantiate ONOS and mininet VM:
– Create a simple mininet network:
• 4 openflow switches
• 2 hosts
• Point your SDN controller towards ONOS
– Verify that you can see your topology in ONOS
– Play with the GUI options
– Try to ping host B from host A
• Does not work .. Well
– Add a incentive allowing traffic from the mac of host A to
the mac of host B and vice versa ;)
– Verify that you can monitor in ONOS how much traffic has
been forwarded over the rules you just did
Sample labs IPv6
• Instantiate OpenStack ubuntu VM
• Subscribe for tunnelbroker.net
• Create a 6to4 tunnel between your VM and
Hurricane electric Frankfurt POP
• Ensure that you have two way IPv6
connectivity from your VM
– ping6 ipv6.google.com

More Related Content

PDF
Unveiling CERN Cloud Architecture - October, 2015
PPTX
Configuration Management Evolution at CERN
PDF
Multi-Cell OpenStack: How to Evolve Your Cloud to Scale - November, 2014
PPTX
SCALE/SWITCHengines Update - Current and Possible SDN Applications
PDF
Deep Dive Into the CERN Cloud Infrastructure - November, 2013
PDF
OpenNebulaConf2015 2.05 OpenNebula at the Leibniz Supercomputing Centre - Mat...
PDF
Cern Cloud Architecture - February, 2016
PDF
Netty @Apple: Large Scale Deployment/Connectivity
Unveiling CERN Cloud Architecture - October, 2015
Configuration Management Evolution at CERN
Multi-Cell OpenStack: How to Evolve Your Cloud to Scale - November, 2014
SCALE/SWITCHengines Update - Current and Possible SDN Applications
Deep Dive Into the CERN Cloud Infrastructure - November, 2013
OpenNebulaConf2015 2.05 OpenNebula at the Leibniz Supercomputing Centre - Mat...
Cern Cloud Architecture - February, 2016
Netty @Apple: Large Scale Deployment/Connectivity

What's hot (20)

PDF
Introduction to OpenNetwork and SDN
PDF
How Can OpenNebula Fit Your Needs: A European Project Feedback
PPTX
Learning to Scale OpenStack
PDF
Neutron high availability open stack architecture openstack israel event 2015
PDF
Monitoring Large-scale Cloud Infrastructures with OpenNebula
PDF
High Availability for OpenStack
PPTX
Meetup 23 - 02 - OVN - The future of networking in OpenStack
PPTX
Notes on Netty baics
PPTX
Scaling OpenStack Networking Beyond 4000 Nodes with Dragonflow - Eshed Gal-Or...
PDF
SDN - Openflow + OpenVSwitch + Quantum
PDF
Loadays 2013 OpenNebula Fundamentals
PDF
Ovn vancouver
PDF
Monitoring of OpenNebula installations
PDF
OSDC 2012 | Implementing Converged Networks in a Virtualized Environment by
PPT
Cumulus networks - Overcoming traditional network limitations with open source
PDF
CERN OpenStack Cloud Control Plane - From VMs to K8s
PPTX
Open stack HA - Theory to Reality
PDF
PAC 2019 virtual Scott Moore
PDF
Building scalable network applications with Netty (as presented on NLJUG JFal...
PPTX
OpenStack: Toward a More Resilient Cloud
Introduction to OpenNetwork and SDN
How Can OpenNebula Fit Your Needs: A European Project Feedback
Learning to Scale OpenStack
Neutron high availability open stack architecture openstack israel event 2015
Monitoring Large-scale Cloud Infrastructures with OpenNebula
High Availability for OpenStack
Meetup 23 - 02 - OVN - The future of networking in OpenStack
Notes on Netty baics
Scaling OpenStack Networking Beyond 4000 Nodes with Dragonflow - Eshed Gal-Or...
SDN - Openflow + OpenVSwitch + Quantum
Loadays 2013 OpenNebula Fundamentals
Ovn vancouver
Monitoring of OpenNebula installations
OSDC 2012 | Implementing Converged Networks in a Virtualized Environment by
Cumulus networks - Overcoming traditional network limitations with open source
CERN OpenStack Cloud Control Plane - From VMs to K8s
Open stack HA - Theory to Reality
PAC 2019 virtual Scott Moore
Building scalable network applications with Netty (as presented on NLJUG JFal...
OpenStack: Toward a More Resilient Cloud
Ad

Viewers also liked (7)

PPTX
Tracking network evolution process with netTransformer & Bulgarian Internet B...
PPTX
DevOps as an emerging university discipline
PPTX
networkEvolution
PPTX
IPv4 to IPv6 network transformation
PPT
Департаменти Информатика и Телекомуникации в Нов Български Университет
PPTX
From OpenStack to Docker swarm
PDF
مجزرة رابعة بين الرواية والتوثيق - الإصدار الثاني
Tracking network evolution process with netTransformer & Bulgarian Internet B...
DevOps as an emerging university discipline
networkEvolution
IPv4 to IPv6 network transformation
Департаменти Информатика и Телекомуникации в Нов Български Университет
From OpenStack to Docker swarm
مجزرة رابعة بين الرواية والتوثيق - الإصدار الثاني
Ad

Similar to OpenStack@NBU (20)

PDF
OpenNebulaConf2015 1.07 Cloud for Scientific Computing @ STFC - Alexander Dibbo
PDF
Rapid IPv6 Deployment for ISP Networks
PDF
12.00 - Dr. Tim Chown - University of Southampton
PDF
Sanger OpenStack presentation March 2017
PPTX
Using OpenStack In a Traditional Hosting Environment
PPTX
Network research
PDF
07 (IDNOG02) SDN Research activity in Institut Teknologi Bandung by Affan Bas...
PDF
CERN Data Centre Evolution
PDF
OpenStack Ottawa Q2 MeetUp - May 31st 2017
PDF
FOSS4G In The Cloud: Using Open Source to build Cloud based Spatial Infrastru...
PDF
Control Your Network ASICs, What Benefits switchdev Can Bring Us
PPTX
Accelerating Neutron with Intel DPDK
PDF
4th SDN Interest Group Seminar-Session 2-2(130313)
PPTX
Building Cloud - Where SDN Could Help
PDF
Connecting Oracle Cloud to your Data Centre (Part A)
PPTX
Introducing Container Technology to TSUBAME3.0 Supercomputer
PDF
Three years of OFELIA - taking stock
PDF
2011 Essex Summit: Openstack/Hyper-V clouds
PPTX
DOE Magellan OpenStack user story
PDF
LF_OVS_17_State of the OVN
OpenNebulaConf2015 1.07 Cloud for Scientific Computing @ STFC - Alexander Dibbo
Rapid IPv6 Deployment for ISP Networks
12.00 - Dr. Tim Chown - University of Southampton
Sanger OpenStack presentation March 2017
Using OpenStack In a Traditional Hosting Environment
Network research
07 (IDNOG02) SDN Research activity in Institut Teknologi Bandung by Affan Bas...
CERN Data Centre Evolution
OpenStack Ottawa Q2 MeetUp - May 31st 2017
FOSS4G In The Cloud: Using Open Source to build Cloud based Spatial Infrastru...
Control Your Network ASICs, What Benefits switchdev Can Bring Us
Accelerating Neutron with Intel DPDK
4th SDN Interest Group Seminar-Session 2-2(130313)
Building Cloud - Where SDN Could Help
Connecting Oracle Cloud to your Data Centre (Part A)
Introducing Container Technology to TSUBAME3.0 Supercomputer
Three years of OFELIA - taking stock
2011 Essex Summit: Openstack/Hyper-V clouds
DOE Magellan OpenStack user story
LF_OVS_17_State of the OVN

Recently uploaded (20)

PDF
ChatGPT for Dummies - Pam Baker Ccesa007.pdf
PDF
medical_surgical_nursing_10th_edition_ignatavicius_TEST_BANK_pdf.pdf
PDF
International_Financial_Reporting_Standa.pdf
PDF
FORM 1 BIOLOGY MIND MAPS and their schemes
PDF
BP 704 T. NOVEL DRUG DELIVERY SYSTEMS (UNIT 1)
PDF
1.3 FINAL REVISED K-10 PE and Health CG 2023 Grades 4-10 (1).pdf
PPTX
Virtual and Augmented Reality in Current Scenario
PDF
Weekly quiz Compilation Jan -July 25.pdf
PDF
Paper A Mock Exam 9_ Attempt review.pdf.
PPTX
ELIAS-SEZIURE AND EPilepsy semmioan session.pptx
PDF
CISA (Certified Information Systems Auditor) Domain-Wise Summary.pdf
PDF
BP 704 T. NOVEL DRUG DELIVERY SYSTEMS (UNIT 2).pdf
PDF
Chinmaya Tiranga quiz Grand Finale.pdf
PDF
FOISHS ANNUAL IMPLEMENTATION PLAN 2025.pdf
PPTX
Computer Architecture Input Output Memory.pptx
PDF
My India Quiz Book_20210205121199924.pdf
PDF
احياء السادس العلمي - الفصل الثالث (التكاثر) منهج متميزين/كلية بغداد/موهوبين
PPTX
Chinmaya Tiranga Azadi Quiz (Class 7-8 )
PDF
Trump Administration's workforce development strategy
PPTX
Share_Module_2_Power_conflict_and_negotiation.pptx
ChatGPT for Dummies - Pam Baker Ccesa007.pdf
medical_surgical_nursing_10th_edition_ignatavicius_TEST_BANK_pdf.pdf
International_Financial_Reporting_Standa.pdf
FORM 1 BIOLOGY MIND MAPS and their schemes
BP 704 T. NOVEL DRUG DELIVERY SYSTEMS (UNIT 1)
1.3 FINAL REVISED K-10 PE and Health CG 2023 Grades 4-10 (1).pdf
Virtual and Augmented Reality in Current Scenario
Weekly quiz Compilation Jan -July 25.pdf
Paper A Mock Exam 9_ Attempt review.pdf.
ELIAS-SEZIURE AND EPilepsy semmioan session.pptx
CISA (Certified Information Systems Auditor) Domain-Wise Summary.pdf
BP 704 T. NOVEL DRUG DELIVERY SYSTEMS (UNIT 2).pdf
Chinmaya Tiranga quiz Grand Finale.pdf
FOISHS ANNUAL IMPLEMENTATION PLAN 2025.pdf
Computer Architecture Input Output Memory.pptx
My India Quiz Book_20210205121199924.pdf
احياء السادس العلمي - الفصل الثالث (التكاثر) منهج متميزين/كلية بغداد/موهوبين
Chinmaya Tiranga Azadi Quiz (Class 7-8 )
Trump Administration's workforce development strategy
Share_Module_2_Power_conflict_and_negotiation.pptx

OpenStack@NBU

  • 1. OpenStack@NBU or How does cloud technologies help us to produce better students Nikolay Milovanov nmilovanov@nbu.bg
  • 2. NBU • First and largest private university in Bulgaria • First to introduce credit system • Has started from two apartments • Now has about 14000 students • Mostly humanitarian university • Clear separation between administration and academic • Technology programs are in – Telecommunications – Informatics • OpenStack has been hosted by Telecommunications department in Building 2, lab 701a
  • 3. Our issues • Various courses • Some research • Some labs • Equipment coming and going mostly as an asset from certain “research” projects • Ideology to promote student to business collaboration through the so called studio projects initiative • All those depend on compute, networking and storage resources in a well “undefined” or if you wish elastic add hoc way
  • 4. Our current solution • Create common design to incorporate all our labs, student halls, current needs • Interconnect it over BGP with NBU IT infrastructure • Design is just a set of rules related to connectivity between various labs, vlans & IP ranges that should be used for the purpose + certain core network rules • Interconnect all that to an OpenStack setup so that: – each of our labs could benefit from its compute, networking or storage resources – Students are typically divided in teams – Each team has a user and a tenant with certain quota* – Researchers or academic staff also could have tenants if they wish so *In certain cases depending of the course sometimes each student has a user and a tenant
  • 6. About OpenStack • The deployment is: – on Centos 7 – RDO based – Started with Icehouse RC2 – Currently on Juno RC2 – Using RDO mostly to easily add hypervisors/network nodes and resolve dependences – Currently still no custom patches – Despite that …. OpenStack is a tricky mistress
  • 7. OpenStack compute • Based on a couple of servers that came in an add hoc way • Nothing fancy just a bunch of crappy hardware been donated by different people or that has came from various research projects • As a hypervisor we stick to libvirt/kvm • Since servers are shared between compute, networking and storage we don’t give all our resources to the nova scheduler • We guard our preshless with cgroups so others can’t steel it ;)
  • 8. OpenStack networking • Neutron ML2 • Open vSwitch (ovs) • Internal overlay is vxlan • In Centos interfaces come with a bit strange names – If you have different hardware cards as a practice make them bonds (even if you have a single port), use different bonds for different things – This will ease your deployment and will allow you to scale up or down later if that is required • Multiple vlan based external networks – So to interconnect our OpenStack with the various labs that we got – + with external Internet – IPv4 + IPv6 L3 networking • OpenStack virtual routing is not distributed but is highly available (HA L3 networking) – Using native OpenStack harouter based on VRRP and keepalived • OpenStack being able to do some of the more Network as a Service stuff like VPNAAS, FWAAS or LBAAS
  • 9. Storage • Mostly local and ephemeral due to hardware constraints • We have experimented with glusterfs and ceph as block • Unfortunately no resources for 10 G storage network • Thus the solution will converge for now to glusterfs being used as persistent block and object storage – Our observation is that it is slow but stable  in rugged conditions – So block is used just for attaching storage to ephemeral VMs with primary drives on the current host – No booting from block, no live migration
  • 10. Monitoring • We use SNMP (able to monitor regular stuff + libvirt) • We export netflow from ovs and some of our network devices • We gather ceilometer statistics* -> btw this is quite a crappy piece of code…. • We gather logs • Most of this is in SevOne NMS/PLA with xStats adapter for Ceilometer – In my spare time I am working also as Cloud solutions architect for SevOne so no surprise here ;)
  • 11. Operation considerations • Upgrades are nice* – However we did not have too major issues there • HA L3 networking has been added since Juno • DB is all women – maria+galera • Still do not distribute the control plane due to lack of resources – otherwise we have tried and tested this – works well enough for our needs
  • 12. Where we would like to go • Overall goal – quality education matters • Nowadays no student can become really an engineer without proper access to equipment, labs, resources – Having personal laptop helps but is not sufficient – So simply there should be no student complaining that there are no resources to learn or study stuff, do exercises or collaborate with other students – It might sound strange but sometimes infrastructure is the key to produce the better student  • Collaboration is crucial and working as a team on well defined long term projects is important – So students need common, fully accessible cloud computing resources ondemand in a lifecycle of up to 6 years (Bachelors + Masters) – ….and we should simply give them those – It won’t be all roses but hey ;) we can give it a try
  • 13. Technology Wise • OpenStack will move towards Liberty once RC2 is out and we prove to ourselves that it works • We will grow our hypervisor and storages • Designate (DNSAAS) is also a candidate for rapid adoption – Delayed mostly due to too much other stuff to do for both us and NBU IT department side • Magnum (Container as a service) will be something useful for us • In general we would like to move the whole setup towards OpenStack+OpenContrail or OpenStack+ONOS – Somehow seduced to use and show service chaining in the proper way – vSwitch is good but vRouter is the “salt” in that business – Ability to do exercises with the students on how to extend MPLS towards DC in a scalable and reliable way
  • 16. Sample labs – Introduction to OpenStack – Create virtual network, a router, link them together, bridge it to external, add some VMs, dedicate them floating IP addresses – Do this with IPv4 & IPv6 – Try some snapshot – Attach some block – Store stuff in object storage – Do all that from the GUI and through OpenStack CLI clients
  • 17. Sample labs - routing • Instantiate 3 openwrt virtual machines – Login and deploy into them quagga virtual router – Deploy RIP/OSPF routing protocol – Interconnect them over iBGP – Grab an external BGP feed and enjoy having full internet BGP table – Try to redistribute it in OSPF ;) See what happens
  • 18. Sample labs – network management • Continue using the 3 Openwrt VMs from the previous exercise – Add snmp – Add sflow – Instantiate Network monitoring vm • Discover your devices over SNMP • Start to export flow towards them – Does not work? • check your OpenStack access groups
  • 19. Sample Labs SDN Ephemeral traffic forwarding with ONOS • Instantiate ONOS and mininet VM: – Create a simple mininet network: • 4 openflow switches • 2 hosts • Point your SDN controller towards ONOS – Verify that you can see your topology in ONOS – Play with the GUI options – Try to ping host B from host A • Does not work .. Well – Add a incentive allowing traffic from the mac of host A to the mac of host B and vice versa ;) – Verify that you can monitor in ONOS how much traffic has been forwarded over the rules you just did
  • 20. Sample labs IPv6 • Instantiate OpenStack ubuntu VM • Subscribe for tunnelbroker.net • Create a 6to4 tunnel between your VM and Hurricane electric Frankfurt POP • Ensure that you have two way IPv6 connectivity from your VM – ping6 ipv6.google.com