OpenNebula can provide virtual infrastructure for virtual machines (VMs) and consists of a typical environment with:
- A frontend node running OpenNebula services and a hypervisor for VMs.
- Additional backend nodes running just hypervisors for VMs and sharing storage and networks.
- VMs communicate via a shared bridge and private network.
The tutorial covers installing OpenNebula on a lab environment with two backend nodes, configuring hosts, images, networks and templates. It then demonstrates basic usage like deploying VMs, managing their life cycle and contextualization using groups, quotas and different user views.
C++ is most often used programming language. This slide will help you to gain more knowledge on C++ programming. In this slide you will learn the fundamentals of C++ programming. The slide will also help you to fetch more details on Object Oriented Programming concepts. Each of the concept under Object Oriented Programming is explained in detail and in more smoother way as it will helpful for everyone to understand.
Introducing the R2DBC async Java connectorMariaDB plc
Not too long ago, a reactive variant of the JDBC driver was released, known as Reactive Relational Database Connectivity (R2DBC for short). While R2DBC started as an experiment to enable integration of SQL databases into systems that use reactive programming models, it now specifies a full-fledged service-provider interface that can be used to retrieve data from a target data source.
In this session, we’ll take a look at the new MariaDB R2DBC connector and examine the advantages of fully reactive, non-blocking development with MariaDB. And, of course, we’ll dive in and get a first-hand look at what it’s like to use the new connector with some live coding!
A flappy bird step by step guide to new or interested game developers at the introductory week of the 2017 global game jam lagos using the Unity engine
C++ is most often used programming language. This slide will help you to gain more knowledge on C++ programming. In this slide you will learn the fundamentals of C++ programming. The slide will also help you to fetch more details on Object Oriented Programming concepts. Each of the concept under Object Oriented Programming is explained in detail and in more smoother way as it will helpful for everyone to understand.
Introducing the R2DBC async Java connectorMariaDB plc
Not too long ago, a reactive variant of the JDBC driver was released, known as Reactive Relational Database Connectivity (R2DBC for short). While R2DBC started as an experiment to enable integration of SQL databases into systems that use reactive programming models, it now specifies a full-fledged service-provider interface that can be used to retrieve data from a target data source.
In this session, we’ll take a look at the new MariaDB R2DBC connector and examine the advantages of fully reactive, non-blocking development with MariaDB. And, of course, we’ll dive in and get a first-hand look at what it’s like to use the new connector with some live coding!
A flappy bird step by step guide to new or interested game developers at the introductory week of the 2017 global game jam lagos using the Unity engine
An overview of object oriented programming including the differences between OOP and the traditional structural approach, definitions of class and objects, and an easy coding example in C++. This presentation includes visual aids to make the concepts easier to understand.
Tic Tac Toe unite is an android application game based on Artificial Intelligence .Download the game on google play store at https://play.google.com/store/apps/details?id=com.thesarthakapp.tictactoeunite
An overview of object oriented programming including the differences between OOP and the traditional structural approach, definitions of class and objects, and an easy coding example in C++. This presentation includes visual aids to make the concepts easier to understand.
Tic Tac Toe unite is an android application game based on Artificial Intelligence .Download the game on google play store at https://play.google.com/store/apps/details?id=com.thesarthakapp.tictactoeunite
In this tutorial you will learn the basics of an OpenNebula deployment. To follow this tutorial you will need this OVA: https://s3.amazonaws.com/one-tutorials/OpenNebula-Tutorial-4.14.2.ova
Thousands of running services on hundreds of machines ask the admins to pay attention. At all times, on all channels, with all available software packages that openSUSE has to offer.
Lars does not only keep an eye on all devices inside SUSE R&D, he is also maintaining some of the biggest packages in the server:monitoring repository like Nagios, Icinga, Shinken, check_mk, mod_gearman, Naemon, PNP4Nagios or the monitoring-plugins (and others).
The integration of some of those packages into a complex, secure and high available monitoring setup together with some tips and tricks and insights into the SUSE R&D infrastructure will be demonstrated.
Talk held by Javier Fontan at the CentOS Dojo in Paris, August 25th (http://wiki.centos.org/Events/Dojo/Paris2014)
In this talk we talk about OpenNebula from the perspsective of the CentOS, explaining tips and considerations for power users.
OVN (Open Virtual Network) を用いる事により、OVS (Open vSwitch)が動作する複数のサーバー(Hypervisor/Chassis)を横断する仮想ネットワークを構築する事ができます。
本スライドはOVNを用いた論理ネットワークの構成と設定サンプルのメモとなります。
Using OVN, you can build logical network among multiple servers (Hypervisor/Chassis) running OVS (Open vSwitch).
This slide is describes HOW TO example of OVN configuration to create 2 logical switch connecting 4 VMs running on 2 chassis.
How to use Fiware Lab Facilities in order to deploy an application. The presentation will lead us to deploy a full application taking advantage of Openstack Command Line Interfaces.
Deploy Mediawiki Using FIWARE Lab FacilitiesFIWARE
Deploy Mediawiki Using FIWARE Lab Facilities presentation, by Jose Ignacio Carretero Guarde, R&D Engineer at Telefónica i+D.
FIWARE Lab Node. How to session. 1st FIWARE Summit, Málaga, Dec. 13-15, 2016.
OpenNebulaConf 2016 - Hypervisors and Containers Hands-on Workshop by Jaime M...OpenNebula Project
In this 90-minute hands-on workshop, some of the key contributors to OpenNebula will walk attendees through the configuration and integration aspects of the computing subsystem in OpenNebula. The session will also include lightning talks by community members describing aspects related to Hypervisors and Containers with OpenNebula:
Deployment scenarios
Integration
Tuning & debugging
Best practices
A guest lecture at National University of Defense Technology (NUDT) in 2016 to postgraduate students in China about emerging technologies in the Linux operating system.
This is the notes of a presentation I gave to our IT dept., people who know a lot about VMs! They include a description of differences betwen a VM and a container, why would someone would want to use Docker, how it works (at 30,000 feet), some hints of what are the hub and orchestration, some Dockerfiles examples: jenkins slave, jenkins master, sinopia server, etc. and finally some new features Docker is going to propose in the future and how I intend to mix Configuration tools, such as Ansible, and Docker.
OpenNebulaConf2019 - Welcome and Project Update - Ignacio M. Llorente, Rubén ...OpenNebula Project
We've made our way into the world of open cloud — where each organization can find the right cloud for its unique needs. A single cloud management platform cannot be all things to all people. There will be a cloud space with several offerings focused on different environments and/or industries. The OpenNebula commitment to the open cloud is at the very base of its mission — to become the simplest cloud enabling platform — and its purpose — to bring simplicity to the private and hybrid enterprise cloud. OpenNebula exists to help companies build simple, cost-effective, reliable, open enterprise clouds on existing IT infrastructure. The OpenNebula Conference will be a great opportunity to communicate and share our vision and commitment, to look back at how the project has grown in the last 9 years, and to shed some insight into what to expect from the project in the near future.
OpenNebulaConf2019 - Building Virtual Environments for Security Analyses of C...OpenNebula Project
Computer networks are undergoing a phenomenal growth, driven by the rapidly increasing number of nodes constituting the networks. At the same time, the number of security threats on Internet and intranet networks is constantly increasing, and the testing and experimentation of cyber defense solutions require the availability of separate, test environments that best reflect the complexity of a real system. Such environments support the deployment and monitoring of complex mission-driven network scenarios, and cyber security training activities, thus enabling enterprises to study cyber defense strategies and allowing security researchers to evaluate their algorithms at scale.
The main objective is delivering to researchers and practitioners an overview of the technological means and the practical steps to setup a private cloud platform based on OpenNebula for the creation and management of virtual environments that support cyber-security activities of training and testing, as well as an overview of its possible applications in the cyber security domain.
In particular:
1. We describe our infrastructure based on OpenNebula
2. We overview our application, sitting on top of OpenNebula, as well as the technological tools involved in the management of its lifecycle (e.g., Ansible) .
3. We show how the platform can support various examples of security research activities
[References] Building an emulation environment for cyber security analyses of complex networked systems, Tanasache, Florin Dragos and Sorella, Mara and Bonomi, Silvia and Rapone, Raniero and Meacci, Davide, ICDCN '19, ACM, 2019
OpenNebulaConf2019 - CORD and Edge computing with OpenNebula - Alfonso Aureli...OpenNebula Project
I will be presenting the ongoing advances of the OnLife Networks project across Spain and Brasil, with a focus on use cases we have implemented in the Central Offices, which serve as the edge resources closest to the end-user. I will share an interesting synopsis of the the projects evolution, as well as provide several lessons learned.
OpenNebulaConf2019 - 6 years (+) OpenNebula - Lessons learned - Sebastian Man...OpenNebula Project
Insight into more than 6 years experience with OpenNebula from different perspectives: ISP & Datacenter Provider and Consultant / System Integrator
Lessons learned, "the dos and don'ts" and how we convince and enable customers with OpenNebula - and the NTS ecosystem.
OpenNebulaConf2019 - Performant and Resilient Storage the Open Source & Linux...OpenNebula Project
OpenNebula users have a range of storage options available to them, including proprietary appliances, proprietary software and Open Source software projects. This session will present a fully Open Source approach, that tightly integrates with Linux, and makes full use of the mature building blocks within the Linux kernel (LVM, Software RAID, DM-crypt, NVMe-oF Target, DRBD, etc...), and delivers one of the highest performance open source storage stacks currently available.
The core goal is to expose the improved performance of NVMe storage devices to VMs and containers. The solution covers both local NVMe drives and NVMe-oF. For interacting with NVMe-oF targets it supports the Swordfish-API and LVM & Linux’s software NVMe-oF target. The solution contains a storage addon for OpenNebula.
Our take on centralized and controlled VM image backups that deal with both CEPH and local QCOW2 datastores. As there are no default means of executing image backups in OpenNebula, I'd like to share our perspective on how we do it.
OpenNebulaConf2019 - How We Use GOCA to Manage our OpenNebula Cloud - Jean-Ph...OpenNebula Project
At Iguane Solutions, a lot of our "DevOps" tools are developed in Golang, and we have a good amount of experience in contributing to the Goca. I'll review just what contributions we make, as well as how we use Goca with different tools, on a daily basis, to manage and monitor our OpenNebula cloud.
I will delve into the concept of Infrastructure as Code - deployment of VM instances on cloud, as well as, also address the metrics collection of deployed VMs. Finally, I will present how we can abstract VM management with automation tools thanks to GOCA.
A deep insight into a project with codename "TARDIS" at HAUFE Lexware with the purpose to replace vCloud with OpenNebula. A technical deep dive into a focussed project done by real DevOps experts.
How and what we do with OpenNebula to enable our customers for a completely new way how it is consumed in a modern, service orientated IT. We will also talk about the question, why we have chosen OpenNebula and how deep is the level - and ability - of integration of the NTS CAPTAIN into existing 2nd and 3rd party tools like IPAM, CMDBs, backup, monitoring, approval processes and much more...
TeleData operates a purpose build IaaS enterprise ready cloud plattfom in the region of lake constance. OpenNebula is used in production since several years. TeleData will share an insight into the "Lessons learned" and a brief summary how to operate a public cloud, built on top of OpenNebula. Content is subject to change!
Performant and Resilient Storage: The Open Source & Linux WayOpenNebula Project
OpenNebula users have a range of storage options available to them, including proprietary appliances, proprietary software and Open Source software projects. This session will present a fully Open Source approach, that tightly integrates with Linux, and makes full use of the mature building blocks within the Linux kernel (LVM, Software RAID, DM-crypt, NVMe-oF Target, DRBD, etc...), and delivers one of the highest performance open source storage stacks currently available. The core goal is to expose the improved performance of NVMe storage devices to VMs and containers. The solution covers both local NVMe drives and NVMe-oF. For interacting with NVMe-oF targets it supports the Swordfish-API and LVM & Linux’s software NVMe-oF target. The solution contains a storage addon for OpenNebula.
NetApp’s Hybrid Cloud Infrastructure manages to leverage Kubernetes to a Hybrid Multi Cloud use case where OpenNebula integrates seamlessly. A technical deep dive in how NTS and NetApp integrated NTS Captain into NetApp’s DataFabric world on top of NetApp HC
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...James Anderson
Effective Application Security in Software Delivery lifecycle using Deployment Firewall and DBOM
The modern software delivery process (or the CI/CD process) includes many tools, distributed teams, open-source code, and cloud platforms. Constant focus on speed to release software to market, along with the traditional slow and manual security checks has caused gaps in continuous security as an important piece in the software supply chain. Today organizations feel more susceptible to external and internal cyber threats due to the vast attack surface in their applications supply chain and the lack of end-to-end governance and risk management.
The software team must secure its software delivery process to avoid vulnerability and security breaches. This needs to be achieved with existing tool chains and without extensive rework of the delivery processes. This talk will present strategies and techniques for providing visibility into the true risk of the existing vulnerabilities, preventing the introduction of security issues in the software, resolving vulnerabilities in production environments quickly, and capturing the deployment bill of materials (DBOM).
Speakers:
Bob Boule
Robert Boule is a technology enthusiast with PASSION for technology and making things work along with a knack for helping others understand how things work. He comes with around 20 years of solution engineering experience in application security, software continuous delivery, and SaaS platforms. He is known for his dynamic presentations in CI/CD and application security integrated in software delivery lifecycle.
Gopinath Rebala
Gopinath Rebala is the CTO of OpsMx, where he has overall responsibility for the machine learning and data processing architectures for Secure Software Delivery. Gopi also has a strong connection with our customers, leading design and architecture for strategic implementations. Gopi is a frequent speaker and well-known leader in continuous delivery and integrating security into software delivery.
Generative AI Deep Dive: Advancing from Proof of Concept to ProductionAggregage
Join Maher Hanafi, VP of Engineering at Betterworks, in this new session where he'll share a practical framework to transform Gen AI prototypes into impactful products! He'll delve into the complexities of data collection and management, model selection and optimization, and ensuring security, scalability, and responsible use.
Dr. Sean Tan, Head of Data Science, Changi Airport Group
Discover how Changi Airport Group (CAG) leverages graph technologies and generative AI to revolutionize their search capabilities. This session delves into the unique search needs of CAG’s diverse passengers and customers, showcasing how graph data structures enhance the accuracy and relevance of AI-generated search results, mitigating the risk of “hallucinations” and improving the overall customer journey.
Alt. GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using ...James Anderson
Effective Application Security in Software Delivery lifecycle using Deployment Firewall and DBOM
The modern software delivery process (or the CI/CD process) includes many tools, distributed teams, open-source code, and cloud platforms. Constant focus on speed to release software to market, along with the traditional slow and manual security checks has caused gaps in continuous security as an important piece in the software supply chain. Today organizations feel more susceptible to external and internal cyber threats due to the vast attack surface in their applications supply chain and the lack of end-to-end governance and risk management.
The software team must secure its software delivery process to avoid vulnerability and security breaches. This needs to be achieved with existing tool chains and without extensive rework of the delivery processes. This talk will present strategies and techniques for providing visibility into the true risk of the existing vulnerabilities, preventing the introduction of security issues in the software, resolving vulnerabilities in production environments quickly, and capturing the deployment bill of materials (DBOM).
Speakers:
Bob Boule
Robert Boule is a technology enthusiast with PASSION for technology and making things work along with a knack for helping others understand how things work. He comes with around 20 years of solution engineering experience in application security, software continuous delivery, and SaaS platforms. He is known for his dynamic presentations in CI/CD and application security integrated in software delivery lifecycle.
Gopinath Rebala
Gopinath Rebala is the CTO of OpsMx, where he has overall responsibility for the machine learning and data processing architectures for Secure Software Delivery. Gopi also has a strong connection with our customers, leading design and architecture for strategic implementations. Gopi is a frequent speaker and well-known leader in continuous delivery and integrating security into software delivery.
GraphRAG is All You need? LLM & Knowledge GraphGuy Korland
Guy Korland, CEO and Co-founder of FalkorDB, will review two articles on the integration of language models with knowledge graphs.
1. Unifying Large Language Models and Knowledge Graphs: A Roadmap.
https://arxiv.org/abs/2306.08302
2. Microsoft Research's GraphRAG paper and a review paper on various uses of knowledge graphs:
https://www.microsoft.com/en-us/research/blog/graphrag-unlocking-llm-discovery-on-narrative-private-data/
GraphSummit Singapore | The Future of Agility: Supercharging Digital Transfor...Neo4j
Leonard Jayamohan, Partner & Generative AI Lead, Deloitte
This keynote will reveal how Deloitte leverages Neo4j’s graph power for groundbreaking digital twin solutions, achieving a staggering 100x performance boost. Discover the essential role knowledge graphs play in successful generative AI implementations. Plus, get an exclusive look at an innovative Neo4j + Generative AI solution Deloitte is developing in-house.
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdfPaige Cruz
Monitoring and observability aren’t traditionally found in software curriculums and many of us cobble this knowledge together from whatever vendor or ecosystem we were first introduced to and whatever is a part of your current company’s observability stack.
While the dev and ops silo continues to crumble….many organizations still relegate monitoring & observability as the purview of ops, infra and SRE teams. This is a mistake - achieving a highly observable system requires collaboration up and down the stack.
I, a former op, would like to extend an invitation to all application developers to join the observability party will share these foundational concepts to build on:
Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...SOFTTECHHUB
The choice of an operating system plays a pivotal role in shaping our computing experience. For decades, Microsoft's Windows has dominated the market, offering a familiar and widely adopted platform for personal and professional use. However, as technological advancements continue to push the boundaries of innovation, alternative operating systems have emerged, challenging the status quo and offering users a fresh perspective on computing.
One such alternative that has garnered significant attention and acclaim is Nitrux Linux 3.5.0, a sleek, powerful, and user-friendly Linux distribution that promises to redefine the way we interact with our devices. With its focus on performance, security, and customization, Nitrux Linux presents a compelling case for those seeking to break free from the constraints of proprietary software and embrace the freedom and flexibility of open-source computing.
Communications Mining Series - Zero to Hero - Session 1DianaGray10
This session provides introduction to UiPath Communication Mining, importance and platform overview. You will acquire a good understand of the phases in Communication Mining as we go over the platform with you. Topics covered:
• Communication Mining Overview
• Why is it important?
• How can it help today’s business and the benefits
• Phases in Communication Mining
• Demo on Platform overview
• Q/A
Removing Uninteresting Bytes in Software FuzzingAftab Hussain
Imagine a world where software fuzzing, the process of mutating bytes in test seeds to uncover hidden and erroneous program behaviors, becomes faster and more effective. A lot depends on the initial seeds, which can significantly dictate the trajectory of a fuzzing campaign, particularly in terms of how long it takes to uncover interesting behaviour in your code. We introduce DIAR, a technique designed to speedup fuzzing campaigns by pinpointing and eliminating those uninteresting bytes in the seeds. Picture this: instead of wasting valuable resources on meaningless mutations in large, bloated seeds, DIAR removes the unnecessary bytes, streamlining the entire process.
In this work, we equipped AFL, a popular fuzzer, with DIAR and examined two critical Linux libraries -- Libxml's xmllint, a tool for parsing xml documents, and Binutil's readelf, an essential debugging and security analysis command-line tool used to display detailed information about ELF (Executable and Linkable Format). Our preliminary results show that AFL+DIAR does not only discover new paths more quickly but also achieves higher coverage overall. This work thus showcases how starting with lean and optimized seeds can lead to faster, more comprehensive fuzzing campaigns -- and DIAR helps you find such seeds.
- These are slides of the talk given at IEEE International Conference on Software Testing Verification and Validation Workshop, ICSTW 2022.
DevOps and Testing slides at DASA ConnectKari Kakkonen
My and Rik Marselis slides at 30.5.2024 DASA Connect conference. We discuss about what is testing, then what is agile testing and finally what is Testing in DevOps. Finally we had lovely workshop with the participants trying to find out different ways to think about quality and testing in different parts of the DevOps infinity loop.
Climate Impact of Software Testing at Nordic Testing DaysKari Kakkonen
My slides at Nordic Testing Days 6.6.2024
Climate impact / sustainability of software testing discussed on the talk. ICT and testing must carry their part of global responsibility to help with the climat warming. We can minimize the carbon footprint but we can also have a carbon handprint, a positive impact on the climate. Quality characteristics can be added with sustainability, and then measured continuously. Test environments can be used less, and in smaller scale and on demand. Test techniques can be used in optimizing or minimizing number of tests. Test automation can be used to speed up testing.
UiPath Test Automation using UiPath Test Suite series, part 5DianaGray10
Welcome to UiPath Test Automation using UiPath Test Suite series part 5. In this session, we will cover CI/CD with devops.
Topics covered:
CI/CD with in UiPath
End-to-end overview of CI/CD pipeline with Azure devops
Speaker:
Lyndsey Byblow, Test Suite Sales Engineer @ UiPath, Inc.
State of ICS and IoT Cyber Threat Landscape Report 2024 previewPrayukth K V
The IoT and OT threat landscape report has been prepared by the Threat Research Team at Sectrio using data from Sectrio, cyber threat intelligence farming facilities spread across over 85 cities around the world. In addition, Sectrio also runs AI-based advanced threat and payload engagement facilities that serve as sinks to attract and engage sophisticated threat actors, and newer malware including new variants and latent threats that are at an earlier stage of development.
The latest edition of the OT/ICS and IoT security Threat Landscape Report 2024 also covers:
State of global ICS asset and network exposure
Sectoral targets and attacks as well as the cost of ransom
Global APT activity, AI usage, actor and tactic profiles, and implications
Rise in volumes of AI-powered cyberattacks
Major cyber events in 2024
Malware and malicious payload trends
Cyberattack types and targets
Vulnerability exploit attempts on CVEs
Attacks on counties – USA
Expansion of bot farms – how, where, and why
In-depth analysis of the cyber threat landscape across North America, South America, Europe, APAC, and the Middle East
Why are attacks on smart factories rising?
Cyber risk predictions
Axis of attacks – Europe
Systemic attacks in the Middle East
Download the full report from here:
https://sectrio.com/resources/ot-threat-landscape-reports/sectrio-releases-ot-ics-and-iot-security-threat-landscape-report-2024/
2. A Typical OpenNebula Environment
Planning the Installation
• Repository of VM images
• Multiple Backends (LVM, Ceph)
Monitoring,Virtualization,
Storage and Network
• Provides physical resources for the VMs
• Must have a hypervisor installed
3. Virtual Lab
The Environment
lab-X-node1
OpenNebula
oned, sunstone, etc...
NFS Server
lab-X-node2
KVM & Libvirt
NFS Client
Bridge br0
(ens4)
VM 1 VM 2 VM 3
lab-X-node3
KVM & Libvirt
NFS Client
Bridge br0
(ens4)
VM 4 VM 5 VM 6
VM communication
Datastore
Images
4. 4Installing and Basic Usage
Virtual Lab
Accessing the environment
● Each lab has 2 virtual machines:
○ lab-X-node1: opennebula & hypervisor
○ lab-X-node2: just the hypervisor
5. 5Installing and Basic Usage
Virtual Lab
Accessing the environment
● You can ssh to your environment like this
$ ssh gateway@labs.opennebula.systems
-L 9869:lab-X-node1:9869
-L 29876:lab-X-node1:29876
(password is 'onecourse!')
$ ssh lab-X-node1
(where 'X' is your lab number!)
8. 8Installing and Basic Usage
(password is 'onecourse!')
(where 'X' is your lab number!)
Virtual Lab
9. 9Installing and Basic Usage
Environment
● The root password for both lab nodes is opennebula
● OpenNebula 5.4.3 is installed
● Switch to the oneadmin account to use OpenNebula
● Both nodes are registered and configured
● Ubuntu 16.04 template available
● Sunstone is available in your laptop
○ open: http://localhost:9869
○ login / password: oneadmin / opennebula
○ you must keep the ssh connection open!!!
10. 10Installing and Basic Usage
Virtual Lab
Accessing the environment
From there, you can jump to the nodes: node2 and node3
[root@lab-1-node1 ~]# ssh lab-1-node2
The password is opennebula
11. 11Installing and Basic Usage
Virtual Lab
Inspecting the environment - Packages
Hands on (node1)
Let's see what packages have been installed:
$ rpm -qa | grep opennebula
These packages have already been installed from the repo
located in /etc/yum.repos.d/opennebula.repo. They
have been installed with yum install (you don't need to do
this).
Check the packages installed in node2 or node3, they're not
the same!
12. 12Installing and Basic Usage
Virtual Lab
Inspecting the environment - Services
Hands on (node1)
Let's see what services are running:
$ systemctl | grep opennebula
These services have been enabled to start automatically
when the VM boots (systemctl enable <service>).
node2 and node3 has libvirt running.
13. 13Installing and Basic Usage
Virtual Lab
Inspecting the environment - Storage
Hands on (node1)
node1 is exporting /srv by NFS (check /etc/exports)
The datastores are shared:
$ file /var/lib/one/datastores/*
/var/lib/one/datastores/0: symbolic link to `/srv/0'
/var/lib/one/datastores/1: symbolic link to `/srv/1'
/var/lib/one/datastores/2: directory
Check /etc/fstab and file /var/lib/one/datastores/*
in node2 and node3.
14. 14Installing and Basic Usage
Virtual Lab
Inspecting the environment - Network
Hands on (node2)
● node2 and node3 have a bridge br0
● VMs will be connected to br0
● br0 is linked to ens4
● ens4 is the private communication between the VMs
Verify with these commands:
brctl show
cat /etc/sysconfig/network-scripts/ifcfg-br0
15. 15Installing and Basic Usage
Virtual Lab
Inspecting the environment - SSH access
Hands on (node1)
It is necessary to be able to ssh from any node to any other
node without password as oneadmin
Verify:
# Make sure you are oneadmin in node1
$ su - oneadmin
# ssh to the same node
$ ssh lab-X-node1 hostname
# ssh to the other nodes
$ ssh lab-X-node2 hostname
$ ssh lab-X-node3 hostname
18. 18Installing and Basic Usage
Virtual Lab
Inspecting the environment - OpenNebula Password
The oneadmin password is located here:
$ cat /var/lib/one/.one/one_auth
oneadmin:opennebula
The first time OpenNebula starts, it sets the password from
the contents of this file.
20. 20Installing and Basic Usage
CLI
OpenNebula Interfaces
Hands on (node1)
Overview of the CLI (as oneadmin)
# su - oneadmin
$ oneuser show
$ oneuser –h
$ one[TAB]
All the CLI commands should
be executed as the oneadmin
user. Remember to switch to
the oneadmin user always!
22. 22Installing and Basic Usage
Get User Information - Sunstone
Installing
Try out Sunstone!
http://localhost:9869
Login: oneadmin
Password: opennebula
23. 23Installing and Basic Usage
Adding Hosts - Sunstone
Basic Usage – Hosts
Hands on! (Sunstone)
● Create one host in Sunstone:
● Type: KVM
● Cluster: Default
● Hostname: lab-X-node2
● Watch transition INIT => ON
● Click on the row for more information
● Automatic gathering of monitoring data
● Take a look at the graphs
24. 24Installing and Basic Usage
Adding Hosts - CLI
Basic Usage – Hosts
Hands on! (CLI)
(as oneadmin in the Frontend – node1)
$ onehost –h
$ onehost create –h
$ onehost create lab-X-node3 –i kvm -v kvm
$ onehost list
$ onehost top
# Wait for ON ... and then CTRL-C
$ onehost show lab-X-node3
$ onehost show 1
$ onehost show -x 1
27. 27Installing and Basic Usage
Overview
Basic Usage - Datastores
Hands on! (Sunstone)
Datastore 0 (system) and Datastore 1 (default)
Change the TM_MAD to qcow2 in both datastores.
28. 28Installing and Basic Usage
Adding Networks
Basic Usage – Networks
Hands on! (Sunstone)
br0
VM VM
Node 2
ens4
br0
Node 3
ens4
VM VM
30. 30Installing and Basic Usage
Adding Templates
Basic Usage – Template
Hands on! (Sunstone)
● A template is a Virtual Machine definition ready to be instantiated
● It has CPU, Memory, Disks, NIC, Graphical Ports, etc…
General
● Name: ubuntu-16.04
● Logo: Ubuntu
● Description: Testing VM
● CPU: 0.3
● Memory: 512 MB
Storage
● Click ubuntu-16.04
Network
● Click private
Input/Output
● Enter your keymap. Leave as is
if using a US keyboard.
MB, not GB
31. 31Installing and Basic Usage
Adding Templates
Basic Usage – Template
Hands on! (Sunstone)
Context
● Check 'Add OneGate token'
● Check 'Report Ready to OneGate''
● In the Start script text area type:
touch /tmp/tutorial-test
● Check 'Encode script in Base64'
● Custom vars → Key: PASSWORD, Value: opennebula
Click Create
32. 32Installing and Basic Usage
SSH Contextualization
Basic Usage – adding SSH contextualization
Hands on!
● Users should be able to access the VMs without password.
● Grab the SSH from here (in lab-X-node1):
cat /var/lib/one/.ssh/id_rsa.pub
ssh-rsa
AAAAB3NzaC1yc2EAAAADAQABAAABAQC9nzF1clIaAji5k6eh+3W5GE
opFKfuwSWmq88mAStNTX31rnqJeGCqSkw5VwgSdGaaPzPVc3jNvB3l
… oneadmin@lab-X-node1
● Copy that key.
33. 33Installing and Basic Usage
SSH Contextualization
Basic Usage – adding SSH contextualization
Hands on!
● Paste that key into Sunstone:
34. 34Installing and Basic Usage
Instantiating
Basic Usage – VMs
Hands on! (Sunstone)
● VNC ( root / opennebula )
● Network configured using context
ip a
● ping the other machine
● migrate the other machine (watch
ping)
● live-migrate the other machine
(watch ping)
● Instantiate the template
● Deploy 2 VMs
● Leave the name blank
● Open Virtual Machines
● Watch the transition
PENDING => RUNNING
● Deployed in different hosts
35. 35Installing and Basic Usage
SSH Contextualization
Basic Usage – adding SSH contextualization
Hands on!
● Deploy the VM and check that you can SSH from the node
# as oneadmin in lab-X-node1
ssh root@192.168...
● Obtain the correct IP from the VM information in Sunstone
36. 36Installing and Basic Usage
Contextualization
Basic Usage – VMs
Hands on!
Login to the first VM and look at contextualization
Take a look at the contextualization files:
root@ubuntu:~# head -n 11 /var/run/one-context/context.sh.local
# Context variables generated by OpenNebula
DISK_ID='1'
ETH0_CONTEXT_FORCE_IPV4=''
ETH0_DNS=''
ETH0_GATEWAY=''
ETH0_GATEWAY6=''
ETH0_IP='192.168.0.100'
ETH0_IP6=''
ETH0_IP6_PREFIX_LENGTH=''
ETH0_IP6_ULA=''
ETH0_MAC='02:00:c0:a8:00:64'
root@ubuntu:~# ls /etc/one-context.d/
loc-05-grow-rootfs loc-16-gen-env net-15-hostname
loc-10-network loc-20-set-username-password net-97-start-script
loc-10-network-pci loc-22-ssh_public_key net-98-execute-scripts
loc-11-dns loc-24-ssh_host_key net-99-report-ready
loc-14-mount-swap net-11-fix-loopback
37. 37Installing and Basic Usage
Contextualization
Basic Usage – VMs
Hands on!
The file /tmp/tutorial-test has been created thanks to the START SCRIPT text
area:
root@ubuntu:~# ls /tmp/tutorial-test
/tmp/tutorial-test
root@ubuntu:~#
38. 38Installing and Basic Usage
Main VM actions
Basic Usage – VMs
suspend VM state saved. Kept in the host.
power off (--hard) Powers off a VM. Kept in the host.
stop VM state saved. Taken to the system datastore.
undeploy (--hard) Powers off a VM. Taken to the system datastore.
reboot (--hard) Reboots the VM.
recover --recreate Cleans the VM and moves it to PENDING.
terminate (--hard) Shuts down a VM, cleans host and VM is removed
from OpenNebula.
recover --delete VM is immediately destroyed regardless of state.
Recommended only for oneadmin.
39. 39Installing and Basic Usage
Storage: Attach new disk
● In the Images tab: Create new Image
● Name: data-100
● Type: Generic storage datablock
● Empty disk image
● Size in MB: 100
● Image mapping driver: qcow2
● BUS: Virtio
● In the VM info / Storage tab
● Attach disk: data-100
● VNC:
fdisk -l
Other VM actions
Basic Usage – VMs
Hands on! (Sunstone)
40. 40Installing and Basic Usage
Other VM actions
Basic Usage – VMs
Hands on! (Sunstone)
● Capacity: Power off first, then resize VM capacity. Memory 768.
● Snapshot
● Take (system) snapshot
● Modify the VM
● Revert
41. 41Installing and Basic Usage
Chmod and Chown, UNIX Style!
Permissions
Hands on! (Sunstone)
Make the all the resources previously created usable by everybody
Apply to all the images, templates and virtual networks.
Owner could be changed too => chown, chgrp and chmod.
Take a look at Template → Share
42. 42Installing and Basic Usage
Creating Groups
Groups
Hands on!
Admin: Click Create an administrator user
Username: students-admin
Password: …
Check the Permissions tab (no modifications)
43. 43Installing and Basic Usage
Associated ACLs
Groups
Hands on!
When a group is created, a new set of ACLs are introduced
45. 45Installing and Basic Usage
Three Views
OpenNebula Views
OpenNebula
Admin Group Admin
Cloud User
46. 46Installing and Basic Usage
The Admin View
OpenNebula Views
OpenNebula
Admin Group Admin
Cloud User
47. 47Installing and Basic Usage
OpenNebula Views
Configure your Cloud from the Admin perspective
OpenNebula
Admin Group Admin
Cloud User
48. 48Installing and Basic Usage
Group Admin View
Using Groups
Hands on!
Login as students-admin
●Create a student
●Assign Quotas (2 VM limit)
49. 49Installing and Basic Usage
User the Cloud as a Cloud User
OpenNebula Views
OpenNebula
Admin Group Admin
Cloud User
50. 50Installing and Basic Usage
Cloud View
OpenNebula Views
Hands on!
Login as the student and instantiate a new VM
●Select the ubuntu-14.04
template
●Network private
● Explore the VM actions. Power Off and Save VM
● With the oneadmin account see the new template and image
● Other options: SSH Key, Quotas, Settings
51. 51Installing and Basic Usage
Group Admin View
Using Groups
Hands on!
Login as students-admin
52. 52Installing and Basic Usage
Explore
Federation
OpenNebula can scale by federation many OpenNebula instances.
Scheduler
The OpenNebula Scheduler is extremely flexible. Write your own rules
you want to guarantee that your vms end up wherever you need them.
OneGate
Send custom Metrics to OpenNebula
AppMarket
Deliver appliances ready to be consumed
CloudBursting
Scale out your private resources to EC2
vOneCloud
vCloud Director Replacement with al the OpenNebula Cloud benefits
Other Features