SlideShare une entreprise Scribd logo
1  sur  25
Télécharger pour lire hors ligne
C l i c k t o e d i t
The Cloud Specialists
ShapeBlue.com @ShapeBlue
C S E U U s e r G r o u p
Some	new	goodies	in
C l i c k t o e d i t
The Cloud Specialists
ShapeBlue.com @ShapeBlue
About Me
• Break Stuff @ ShapeBlue
• Background:
• More	than	10	years	in	Software	
Development	and	Testing
• Specialize	in:
• Test	Management
• Automated	Testing
• Testing	Frameworks
• Joined	ShapeBlue	and	CloudStack	2016
• Committer	since	2018
C l i c k t o e d i t
The Cloud Specialists
ShapeBlue.com @ShapeBlue
N e w F e a t u r e s
• Deployment heuristics
• Additional configuration data
• Cleaning up data disks after destroying a VM
• Run diagnostics on SystemVM
• Get diagnostics data on SystemVM
C l i c k t o e d i t
The Cloud Specialists
ShapeBlue.com @ShapeBlue
D e p l o y m e n t h e u r i s t i c s
What’s that and why do I need it?
• Easy	way	to	override	current	allocation	logic	directly
C l i c k t o e d i t
The Cloud Specialists
ShapeBlue.com @ShapeBlue
D e p l o y m e n t h e u r i s t i c s - W h a t ’ s t h a t a n d w h y d o I n e e d i t ?
deployVirtualMachine() API
• Host
• Affinity group
• Project
• Account and domain
• Service offering
• Deployment planner
• Pod
• Cluster
C l i c k t o e d i t
The Cloud Specialists
ShapeBlue.com @ShapeBlue
D e p l o y m e n t h e u r i s t i c s – H o w t o u s e i ?
How to use it?
• UI
• API
deploy/start	virtualmachine
…
podid=[id]	clusterid=[id]
C l i c k t o e d i t
The Cloud Specialists
ShapeBlue.com @ShapeBlue
D e p l o y m e n t h e u r i s t i c s
Demo
C l i c k t o e d i t
The Cloud Specialists
ShapeBlue.com @ShapeBlue
A d d i t i o n a l c o n f i g u r a t i o n d a t a f o r V M s
Adding extra configuration to a VM
• KVM – domain xml
• XenServer – Using XAPI and vm-param-set key/value
argument
• Vmware – any additional configuration is parsed and
appended to the VMX file
C l i c k t o e d i t
The Cloud Specialists
ShapeBlue.com @ShapeBlue
A d d i t i o n a l c o n f i g u r a t i o n d a t a f o r V M s - h o w t o u s e i t ?
How to use it?
Available in deploy and update virtual machine
update virtualmachine … extraconfig=[url-encoded-settings]
deploy virtualmachine … extraconfig=[url-encoded-settings]
C l i c k t o e d i t
The Cloud Specialists
ShapeBlue.com @ShapeBlue
A d d i t i o n a l c o n f i g u r a t i o n d a t a f o r V M s – S p e c i f i c s
Adding extra configuration to a VM
• Supported for KVM, Vmware and XenServer
• enable.additional.vm.configuration
• allow.additional.vm.configuration.list.[hypervisor]
• It would require a VM restart to apply new settings
• Settings being passed needs to be URL encoded
C l i c k t o e d i t
The Cloud Specialists
ShapeBlue.com @ShapeBlue
A d d i t i o n a l c o n f i g u r a t i o n d a t a f o r V M s
Demo – Virtual machine running on KVM
<memoryBacking>
<hugepages />
</memoryBacking >
URL encrypted:
%3CmemoryBacking%3E%0D%0A++%3Chugepages%
2F%3E%0D%0A%3C%2FmemoryBacking%3E
C l i c k t o e d i t
The Cloud Specialists
ShapeBlue.com @ShapeBlue
C l e a n u p d a t a d i s k s w h e n d e s t r o y i n g a V M
Adding the option to delete data disks when
destroying
C l i c k t o e d i t
The Cloud Specialists
ShapeBlue.com @ShapeBlue
C l e a n u p d a t a d i s k s w h e n d e s t r o y i n g a V M
How to use it?
UI and API
destroy virtualmachine … volumeids=[ids]
C l i c k t o e d i t
The Cloud Specialists
ShapeBlue.com @ShapeBlue
C l e a n u p d a t a d i s k s w h e n d e s t r o y i n g a V M - H o w i t w o r k s ?
C l i c k t o e d i t
The Cloud Specialists
ShapeBlue.com @ShapeBlue
C l e a n u p d a t a d i s k s w h e n d e s t r o y i n g a V M - H o w i t w o r k s ?
Demo
C l i c k t o e d i t
The Cloud Specialists
ShapeBlue.com @ShapeBlue
R u n D i a g n o s t i c s
• Allows the admin to troubleshoot connectivity
from a SystemVM
• Admin can execute {ping, traceroute and arping}
from given system VM to any target address.
C l i c k t o e d i t
The Cloud Specialists
ShapeBlue.com @ShapeBlue
R u n D i a g n o s t i c s – h o w t o u s e i t
• UI and API
• run diagnostics ipaddress=[google.com] targetid=[ssvm-id]
params[] type=[ping]
C l i c k t o e d i t
The Cloud Specialists
ShapeBlue.com @ShapeBlue
R u n D i a g n o s t i c s – h o w t o u s e i t
Demo
C l i c k t o e d i t
The Cloud Specialists
ShapeBlue.com @ShapeBlue
G e t D i a g n o s t i c s D a t a
What it is?
• Easy way to execute scripts on SystemVMs or
retrieve files from them
C l i c k t o e d i t
The Cloud Specialists
ShapeBlue.com @ShapeBlue
G e t D i a g n o s t i c s D a t a - H o w i t w o r k s
Global setting which contains list of files to gather
• VR – ‘diagnostics.data.vr.defaults’
“IPTABLES], [IFCONFIG], [ROUTE], /etc/dnsmasq.conf, /etc/resolv.conf, /etc/haproxy.conf, /etc/hosts.conf,
/etcdnsmaq-resolv.conf, /var/log/cloud.log, /var/log/routerServiceMonitor.log, /var/log/dnsmasq.log”
• CPVM – ‘diagnostics.data.cpvm.defaults’
“[IPTABLES], [IFCONFIG], [ROUTE], /usr/local/cloud/systemvm/conf/agent.properties,
/usr/local/cloud/systemvm/conf/consoleproxy.properties, /var/log/cloud.log”
• SSVM – ‘diagnostics.data.ssvm.defaults’
“[IPTABLES], [IFCONFIG], [ROUTE], /usr/local/cloud/systemvm/conf/agent.properties,
/usr/local/cloud/systemvm/conf/consoleproxy.properties, /var/log/cloud.log”
C l i c k t o e d i t
The Cloud Specialists
ShapeBlue.com @ShapeBlue
G e t D i a g n o s t i c s D a t a – h o w t o u s e i t
User can also retrieve a
custom file or script
Example	API	call:	
get diagnosticsdata targetid=[ssvm-ip]
files=/root/my-example-file
Or execute a script:
get diagnosticsdata targetid=[ssvm-ip]
files=[script]
C l i c k t o e d i t
The Cloud Specialists
ShapeBlue.com @ShapeBlue
G e t D i a g n o s t i c s D a t a - L i m i t a t i o n s
• Only supports system VMs
• A working/running SSVM is required in order to create/generate the public
file download URL.
• The Zone where target VM is running should have at least 1 secondary
storage that has a disk quota utilization of less than 95 %.
• Any script that must be executed as part of this API is expected to be
present in the system VM under the directory ‘/opt/cloud/bin/’
C l i c k t o e d i t
The Cloud Specialists
ShapeBlue.com @ShapeBlue
G e t D i a g n o s t i c s D a t a
Demo
C l i c k t o e d i t
The Cloud Specialists
ShapeBlue.com @ShapeBlue
S a v e t h e d a t e
June	13
Cloudstack	User	Group	meeting	in	Sofia,	Bulgaria!
https://www.meetup.com/CloudStack-Bulgaria-User-Group-Meetup/
Apr	26
Cloudstack	Collab	conference	– Florianopolis,	Brazil
http://br.cloudstackcollab.org/
Sep	9-12
ApacheCon,	Cloudstack	Collab	Conference	- Las	Vegas,	US
https://www.apachecon.com/acna19/
C l i c k t o e d i t
The Cloud Specialists
ShapeBlue.com @ShapeBlue

Contenu connexe

Tendances

Hacking apache cloud stack
Hacking apache cloud stackHacking apache cloud stack
Hacking apache cloud stack
Nitin Mehta
 

Tendances (20)

Paul Angus - CloudStack Backup and Recovery Framework
Paul Angus - CloudStack Backup and Recovery FrameworkPaul Angus - CloudStack Backup and Recovery Framework
Paul Angus - CloudStack Backup and Recovery Framework
 
CloudStack - Top 5 Technical Issues and Troubleshooting
CloudStack - Top 5 Technical Issues and TroubleshootingCloudStack - Top 5 Technical Issues and Troubleshooting
CloudStack - Top 5 Technical Issues and Troubleshooting
 
Dag Sonstebo - CloudStack usage service
Dag Sonstebo - CloudStack usage serviceDag Sonstebo - CloudStack usage service
Dag Sonstebo - CloudStack usage service
 
Scalable Object Storage with Apache CloudStack and Apache Hadoop
Scalable Object Storage with Apache CloudStack and Apache HadoopScalable Object Storage with Apache CloudStack and Apache Hadoop
Scalable Object Storage with Apache CloudStack and Apache Hadoop
 
Creating CentOS Template For CloudStack
Creating CentOS Template For CloudStackCreating CentOS Template For CloudStack
Creating CentOS Template For CloudStack
 
Ceph with CloudStack
Ceph with CloudStackCeph with CloudStack
Ceph with CloudStack
 
Paul Angus - CloudStack Container Service
Paul  Angus - CloudStack Container ServicePaul  Angus - CloudStack Container Service
Paul Angus - CloudStack Container Service
 
CCCNA17 CloudStack Container Service
CCCNA17 CloudStack Container ServiceCCCNA17 CloudStack Container Service
CCCNA17 CloudStack Container Service
 
CloudStack news
CloudStack newsCloudStack news
CloudStack news
 
CloudStack EU user group - Trillian
CloudStack EU user group - TrillianCloudStack EU user group - Trillian
CloudStack EU user group - Trillian
 
Paul Angus - what's new in ACS 4.11
Paul Angus - what's new in ACS 4.11Paul Angus - what's new in ACS 4.11
Paul Angus - what's new in ACS 4.11
 
CCCNA17 CloudStack upgrade best practices
CCCNA17 CloudStack upgrade best practicesCCCNA17 CloudStack upgrade best practices
CCCNA17 CloudStack upgrade best practices
 
Boyan Krosnov - Building a software-defined cloud - our experience
Boyan Krosnov - Building a software-defined cloud - our experienceBoyan Krosnov - Building a software-defined cloud - our experience
Boyan Krosnov - Building a software-defined cloud - our experience
 
Paul Angus: CloudStack new UI (Primate)
Paul Angus: CloudStack new UI (Primate)Paul Angus: CloudStack new UI (Primate)
Paul Angus: CloudStack new UI (Primate)
 
CloudStack UI
CloudStack UICloudStack UI
CloudStack UI
 
CloudStack usage service
CloudStack usage serviceCloudStack usage service
CloudStack usage service
 
John Spray - Ceph in Kubernetes
John Spray - Ceph in KubernetesJohn Spray - Ceph in Kubernetes
John Spray - Ceph in Kubernetes
 
Dynamic roles in cloudstack
Dynamic roles in cloudstackDynamic roles in cloudstack
Dynamic roles in cloudstack
 
Hacking apache cloud stack
Hacking apache cloud stackHacking apache cloud stack
Hacking apache cloud stack
 
Cloud stack for_beginners
Cloud stack for_beginnersCloud stack for_beginners
Cloud stack for_beginners
 

Similaire à Boris Stoyanov - some new features in Apache cloudStack

Im-A-Hacker-Get-Me-Out-Of-Here-Breaking-Network-Segregation-Using-Esoteric-Co...
Im-A-Hacker-Get-Me-Out-Of-Here-Breaking-Network-Segregation-Using-Esoteric-Co...Im-A-Hacker-Get-Me-Out-Of-Here-Breaking-Network-Segregation-Using-Esoteric-Co...
Im-A-Hacker-Get-Me-Out-Of-Here-Breaking-Network-Segregation-Using-Esoteric-Co...
YuChianWu
 

Similaire à Boris Stoyanov - some new features in Apache cloudStack (20)

Whats new in Cloudstack 4.11 - behind the headlines
Whats new in Cloudstack 4.11 - behind the headlinesWhats new in Cloudstack 4.11 - behind the headlines
Whats new in Cloudstack 4.11 - behind the headlines
 
TechUG Glasgow talk 22/Feb/17 Configuration Management Best Practices
TechUG Glasgow talk 22/Feb/17 Configuration Management Best PracticesTechUG Glasgow talk 22/Feb/17 Configuration Management Best Practices
TechUG Glasgow talk 22/Feb/17 Configuration Management Best Practices
 
Improving CloudStack for operators
Improving CloudStack for operatorsImproving CloudStack for operators
Improving CloudStack for operators
 
CCCNA17 Distributed CI and Testing for Cloudstack in a Hybrid Community
CCCNA17 Distributed CI and Testing for Cloudstack in a Hybrid CommunityCCCNA17 Distributed CI and Testing for Cloudstack in a Hybrid Community
CCCNA17 Distributed CI and Testing for Cloudstack in a Hybrid Community
 
CloudStack upgrade best practices - Dag Sonstebo
CloudStack upgrade best practices - Dag SonsteboCloudStack upgrade best practices - Dag Sonstebo
CloudStack upgrade best practices - Dag Sonstebo
 
CloudStack Container Service
CloudStack Container ServiceCloudStack Container Service
CloudStack Container Service
 
ApacheCon Miami / CCCNA17 CloudStack upgrade best practices
ApacheCon Miami / CCCNA17 CloudStack upgrade best practicesApacheCon Miami / CCCNA17 CloudStack upgrade best practices
ApacheCon Miami / CCCNA17 CloudStack upgrade best practices
 
Boris Stoyanov - Troubleshooting the Virtual Router - Run and Get Diagnostics
Boris Stoyanov - Troubleshooting the Virtual Router - Run and Get DiagnosticsBoris Stoyanov - Troubleshooting the Virtual Router - Run and Get Diagnostics
Boris Stoyanov - Troubleshooting the Virtual Router - Run and Get Diagnostics
 
Im-A-Hacker-Get-Me-Out-Of-Here-Breaking-Network-Segregation-Using-Esoteric-Co...
Im-A-Hacker-Get-Me-Out-Of-Here-Breaking-Network-Segregation-Using-Esoteric-Co...Im-A-Hacker-Get-Me-Out-Of-Here-Breaking-Network-Segregation-Using-Esoteric-Co...
Im-A-Hacker-Get-Me-Out-Of-Here-Breaking-Network-Segregation-Using-Esoteric-Co...
 
CCNA17 CloudStack and NFV
CCNA17 CloudStack and NFVCCNA17 CloudStack and NFV
CCNA17 CloudStack and NFV
 
CloudStack - Apache's best kept secret
CloudStack - Apache's best kept secretCloudStack - Apache's best kept secret
CloudStack - Apache's best kept secret
 
Building clouds with apache cloudstack apache roadshow 2018
Building clouds with apache cloudstack   apache roadshow 2018Building clouds with apache cloudstack   apache roadshow 2018
Building clouds with apache cloudstack apache roadshow 2018
 
CCNA17 KVM and CloudStack
CCNA17 KVM and CloudStackCCNA17 KVM and CloudStack
CCNA17 KVM and CloudStack
 
Firmware Co-Design & Development for IP Cores in C++/SystemC using Verilator
Firmware Co-Design & Development for IP Cores in C++/SystemC using VerilatorFirmware Co-Design & Development for IP Cores in C++/SystemC using Verilator
Firmware Co-Design & Development for IP Cores in C++/SystemC using Verilator
 
Seven steps to better security
Seven steps to better securitySeven steps to better security
Seven steps to better security
 
Best Practices For Workflow
Best Practices For WorkflowBest Practices For Workflow
Best Practices For Workflow
 
CCCNA17 Reliable Host Fencing
CCCNA17 Reliable Host FencingCCCNA17 Reliable Host Fencing
CCCNA17 Reliable Host Fencing
 
CloudStack Container Service
CloudStack Container ServiceCloudStack Container Service
CloudStack Container Service
 
Azure from scratch part 4
Azure from scratch part 4Azure from scratch part 4
Azure from scratch part 4
 
hackcon2013-Dirty Little Secrets They Didn't Teach You In Pentesting Class v2
hackcon2013-Dirty Little Secrets They Didn't Teach You In Pentesting Class v2hackcon2013-Dirty Little Secrets They Didn't Teach You In Pentesting Class v2
hackcon2013-Dirty Little Secrets They Didn't Teach You In Pentesting Class v2
 

Plus de ShapeBlue

Plus de ShapeBlue (20)

CloudStack Authentication Methods – Harikrishna Patnala, ShapeBlue
CloudStack Authentication Methods – Harikrishna Patnala, ShapeBlueCloudStack Authentication Methods – Harikrishna Patnala, ShapeBlue
CloudStack Authentication Methods – Harikrishna Patnala, ShapeBlue
 
CloudStack Tooling Ecosystem – Kiran Chavala, ShapeBlue
CloudStack Tooling Ecosystem – Kiran Chavala, ShapeBlueCloudStack Tooling Ecosystem – Kiran Chavala, ShapeBlue
CloudStack Tooling Ecosystem – Kiran Chavala, ShapeBlue
 
Elevating Cloud Infrastructure with Object Storage, DRS, VM Scheduling, and D...
Elevating Cloud Infrastructure with Object Storage, DRS, VM Scheduling, and D...Elevating Cloud Infrastructure with Object Storage, DRS, VM Scheduling, and D...
Elevating Cloud Infrastructure with Object Storage, DRS, VM Scheduling, and D...
 
VM Migration from VMware to CloudStack and KVM – Suresh Anaparti, ShapeBlue
VM Migration from VMware to CloudStack and KVM – Suresh Anaparti, ShapeBlueVM Migration from VMware to CloudStack and KVM – Suresh Anaparti, ShapeBlue
VM Migration from VMware to CloudStack and KVM – Suresh Anaparti, ShapeBlue
 
How We Grew Up with CloudStack and its Journey – Dilip Singh, DataHub
How We Grew Up with CloudStack and its Journey – Dilip Singh, DataHubHow We Grew Up with CloudStack and its Journey – Dilip Singh, DataHub
How We Grew Up with CloudStack and its Journey – Dilip Singh, DataHub
 
What’s New in CloudStack 4.19, Abhishek Kumar, Release Manager Apache CloudSt...
What’s New in CloudStack 4.19, Abhishek Kumar, Release Manager Apache CloudSt...What’s New in CloudStack 4.19, Abhishek Kumar, Release Manager Apache CloudSt...
What’s New in CloudStack 4.19, Abhishek Kumar, Release Manager Apache CloudSt...
 
CloudStack 101: The Best Way to Build Your Private Cloud – Rohit Yadav, VP Ap...
CloudStack 101: The Best Way to Build Your Private Cloud – Rohit Yadav, VP Ap...CloudStack 101: The Best Way to Build Your Private Cloud – Rohit Yadav, VP Ap...
CloudStack 101: The Best Way to Build Your Private Cloud – Rohit Yadav, VP Ap...
 
How We Use CloudStack to Provide Managed Hosting - Swen Brüseke - proIO
How We Use CloudStack to Provide Managed Hosting - Swen Brüseke - proIOHow We Use CloudStack to Provide Managed Hosting - Swen Brüseke - proIO
How We Use CloudStack to Provide Managed Hosting - Swen Brüseke - proIO
 
Enabling DPU Hardware Accelerators in XCP-ng Cloud Platform Environment - And...
Enabling DPU Hardware Accelerators in XCP-ng Cloud Platform Environment - And...Enabling DPU Hardware Accelerators in XCP-ng Cloud Platform Environment - And...
Enabling DPU Hardware Accelerators in XCP-ng Cloud Platform Environment - And...
 
Zero to Cloud Hero: Crafting a Private Cloud from Scratch with XCP-ng, Xen Or...
Zero to Cloud Hero: Crafting a Private Cloud from Scratch with XCP-ng, Xen Or...Zero to Cloud Hero: Crafting a Private Cloud from Scratch with XCP-ng, Xen Or...
Zero to Cloud Hero: Crafting a Private Cloud from Scratch with XCP-ng, Xen Or...
 
KVM Security Groups Under the Hood - Wido den Hollander - Your.Online
KVM Security Groups Under the Hood - Wido den Hollander - Your.OnlineKVM Security Groups Under the Hood - Wido den Hollander - Your.Online
KVM Security Groups Under the Hood - Wido den Hollander - Your.Online
 
How to Re-use Old Hardware with CloudStack. Saving Money and the Environment ...
How to Re-use Old Hardware with CloudStack. Saving Money and the Environment ...How to Re-use Old Hardware with CloudStack. Saving Money and the Environment ...
How to Re-use Old Hardware with CloudStack. Saving Money and the Environment ...
 
Use Existing Assets to Build a Powerful In-house Cloud Solution - Magali Perv...
Use Existing Assets to Build a Powerful In-house Cloud Solution - Magali Perv...Use Existing Assets to Build a Powerful In-house Cloud Solution - Magali Perv...
Use Existing Assets to Build a Powerful In-house Cloud Solution - Magali Perv...
 
Import Export Virtual Machine for KVM Hypervisor - Ayush Pandey - University ...
Import Export Virtual Machine for KVM Hypervisor - Ayush Pandey - University ...Import Export Virtual Machine for KVM Hypervisor - Ayush Pandey - University ...
Import Export Virtual Machine for KVM Hypervisor - Ayush Pandey - University ...
 
DRaaS using Snapshot copy and destination selection (DRaaS) - Alexandre Matti...
DRaaS using Snapshot copy and destination selection (DRaaS) - Alexandre Matti...DRaaS using Snapshot copy and destination selection (DRaaS) - Alexandre Matti...
DRaaS using Snapshot copy and destination selection (DRaaS) - Alexandre Matti...
 
Mitigating Common CloudStack Instance Deployment Failures - Jithin Raju - Sha...
Mitigating Common CloudStack Instance Deployment Failures - Jithin Raju - Sha...Mitigating Common CloudStack Instance Deployment Failures - Jithin Raju - Sha...
Mitigating Common CloudStack Instance Deployment Failures - Jithin Raju - Sha...
 
Elevating Privacy and Security in CloudStack - Boris Stoyanov - ShapeBlue
Elevating Privacy and Security in CloudStack - Boris Stoyanov - ShapeBlueElevating Privacy and Security in CloudStack - Boris Stoyanov - ShapeBlue
Elevating Privacy and Security in CloudStack - Boris Stoyanov - ShapeBlue
 
Transitioning from VMware vCloud to Apache CloudStack: A Path to Profitabilit...
Transitioning from VMware vCloud to Apache CloudStack: A Path to Profitabilit...Transitioning from VMware vCloud to Apache CloudStack: A Path to Profitabilit...
Transitioning from VMware vCloud to Apache CloudStack: A Path to Profitabilit...
 
Hypervisor Agnostic DRS in CloudStack - Brief overview & demo - Vishesh Jinda...
Hypervisor Agnostic DRS in CloudStack - Brief overview & demo - Vishesh Jinda...Hypervisor Agnostic DRS in CloudStack - Brief overview & demo - Vishesh Jinda...
Hypervisor Agnostic DRS in CloudStack - Brief overview & demo - Vishesh Jinda...
 
What’s New in CloudStack 4.19 - Abhishek Kumar - ShapeBlue
What’s New in CloudStack 4.19 - Abhishek Kumar - ShapeBlueWhat’s New in CloudStack 4.19 - Abhishek Kumar - ShapeBlue
What’s New in CloudStack 4.19 - Abhishek Kumar - ShapeBlue
 

Dernier

CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
giselly40
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
Joaquim Jorge
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
vu2urc
 

Dernier (20)

TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
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...
 
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
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
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
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 

Boris Stoyanov - some new features in Apache cloudStack

  • 1. C l i c k t o e d i t The Cloud Specialists ShapeBlue.com @ShapeBlue C S E U U s e r G r o u p Some new goodies in
  • 2. C l i c k t o e d i t The Cloud Specialists ShapeBlue.com @ShapeBlue About Me • Break Stuff @ ShapeBlue • Background: • More than 10 years in Software Development and Testing • Specialize in: • Test Management • Automated Testing • Testing Frameworks • Joined ShapeBlue and CloudStack 2016 • Committer since 2018
  • 3. C l i c k t o e d i t The Cloud Specialists ShapeBlue.com @ShapeBlue N e w F e a t u r e s • Deployment heuristics • Additional configuration data • Cleaning up data disks after destroying a VM • Run diagnostics on SystemVM • Get diagnostics data on SystemVM
  • 4. C l i c k t o e d i t The Cloud Specialists ShapeBlue.com @ShapeBlue D e p l o y m e n t h e u r i s t i c s What’s that and why do I need it? • Easy way to override current allocation logic directly
  • 5. C l i c k t o e d i t The Cloud Specialists ShapeBlue.com @ShapeBlue D e p l o y m e n t h e u r i s t i c s - W h a t ’ s t h a t a n d w h y d o I n e e d i t ? deployVirtualMachine() API • Host • Affinity group • Project • Account and domain • Service offering • Deployment planner • Pod • Cluster
  • 6. C l i c k t o e d i t The Cloud Specialists ShapeBlue.com @ShapeBlue D e p l o y m e n t h e u r i s t i c s – H o w t o u s e i ? How to use it? • UI • API deploy/start virtualmachine … podid=[id] clusterid=[id]
  • 7. C l i c k t o e d i t The Cloud Specialists ShapeBlue.com @ShapeBlue D e p l o y m e n t h e u r i s t i c s Demo
  • 8. C l i c k t o e d i t The Cloud Specialists ShapeBlue.com @ShapeBlue A d d i t i o n a l c o n f i g u r a t i o n d a t a f o r V M s Adding extra configuration to a VM • KVM – domain xml • XenServer – Using XAPI and vm-param-set key/value argument • Vmware – any additional configuration is parsed and appended to the VMX file
  • 9. C l i c k t o e d i t The Cloud Specialists ShapeBlue.com @ShapeBlue A d d i t i o n a l c o n f i g u r a t i o n d a t a f o r V M s - h o w t o u s e i t ? How to use it? Available in deploy and update virtual machine update virtualmachine … extraconfig=[url-encoded-settings] deploy virtualmachine … extraconfig=[url-encoded-settings]
  • 10. C l i c k t o e d i t The Cloud Specialists ShapeBlue.com @ShapeBlue A d d i t i o n a l c o n f i g u r a t i o n d a t a f o r V M s – S p e c i f i c s Adding extra configuration to a VM • Supported for KVM, Vmware and XenServer • enable.additional.vm.configuration • allow.additional.vm.configuration.list.[hypervisor] • It would require a VM restart to apply new settings • Settings being passed needs to be URL encoded
  • 11. C l i c k t o e d i t The Cloud Specialists ShapeBlue.com @ShapeBlue A d d i t i o n a l c o n f i g u r a t i o n d a t a f o r V M s Demo – Virtual machine running on KVM <memoryBacking> <hugepages /> </memoryBacking > URL encrypted: %3CmemoryBacking%3E%0D%0A++%3Chugepages% 2F%3E%0D%0A%3C%2FmemoryBacking%3E
  • 12. C l i c k t o e d i t The Cloud Specialists ShapeBlue.com @ShapeBlue C l e a n u p d a t a d i s k s w h e n d e s t r o y i n g a V M Adding the option to delete data disks when destroying
  • 13. C l i c k t o e d i t The Cloud Specialists ShapeBlue.com @ShapeBlue C l e a n u p d a t a d i s k s w h e n d e s t r o y i n g a V M How to use it? UI and API destroy virtualmachine … volumeids=[ids]
  • 14. C l i c k t o e d i t The Cloud Specialists ShapeBlue.com @ShapeBlue C l e a n u p d a t a d i s k s w h e n d e s t r o y i n g a V M - H o w i t w o r k s ?
  • 15. C l i c k t o e d i t The Cloud Specialists ShapeBlue.com @ShapeBlue C l e a n u p d a t a d i s k s w h e n d e s t r o y i n g a V M - H o w i t w o r k s ? Demo
  • 16. C l i c k t o e d i t The Cloud Specialists ShapeBlue.com @ShapeBlue R u n D i a g n o s t i c s • Allows the admin to troubleshoot connectivity from a SystemVM • Admin can execute {ping, traceroute and arping} from given system VM to any target address.
  • 17. C l i c k t o e d i t The Cloud Specialists ShapeBlue.com @ShapeBlue R u n D i a g n o s t i c s – h o w t o u s e i t • UI and API • run diagnostics ipaddress=[google.com] targetid=[ssvm-id] params[] type=[ping]
  • 18. C l i c k t o e d i t The Cloud Specialists ShapeBlue.com @ShapeBlue R u n D i a g n o s t i c s – h o w t o u s e i t Demo
  • 19. C l i c k t o e d i t The Cloud Specialists ShapeBlue.com @ShapeBlue G e t D i a g n o s t i c s D a t a What it is? • Easy way to execute scripts on SystemVMs or retrieve files from them
  • 20. C l i c k t o e d i t The Cloud Specialists ShapeBlue.com @ShapeBlue G e t D i a g n o s t i c s D a t a - H o w i t w o r k s Global setting which contains list of files to gather • VR – ‘diagnostics.data.vr.defaults’ “IPTABLES], [IFCONFIG], [ROUTE], /etc/dnsmasq.conf, /etc/resolv.conf, /etc/haproxy.conf, /etc/hosts.conf, /etcdnsmaq-resolv.conf, /var/log/cloud.log, /var/log/routerServiceMonitor.log, /var/log/dnsmasq.log” • CPVM – ‘diagnostics.data.cpvm.defaults’ “[IPTABLES], [IFCONFIG], [ROUTE], /usr/local/cloud/systemvm/conf/agent.properties, /usr/local/cloud/systemvm/conf/consoleproxy.properties, /var/log/cloud.log” • SSVM – ‘diagnostics.data.ssvm.defaults’ “[IPTABLES], [IFCONFIG], [ROUTE], /usr/local/cloud/systemvm/conf/agent.properties, /usr/local/cloud/systemvm/conf/consoleproxy.properties, /var/log/cloud.log”
  • 21. C l i c k t o e d i t The Cloud Specialists ShapeBlue.com @ShapeBlue G e t D i a g n o s t i c s D a t a – h o w t o u s e i t User can also retrieve a custom file or script Example API call: get diagnosticsdata targetid=[ssvm-ip] files=/root/my-example-file Or execute a script: get diagnosticsdata targetid=[ssvm-ip] files=[script]
  • 22. C l i c k t o e d i t The Cloud Specialists ShapeBlue.com @ShapeBlue G e t D i a g n o s t i c s D a t a - L i m i t a t i o n s • Only supports system VMs • A working/running SSVM is required in order to create/generate the public file download URL. • The Zone where target VM is running should have at least 1 secondary storage that has a disk quota utilization of less than 95 %. • Any script that must be executed as part of this API is expected to be present in the system VM under the directory ‘/opt/cloud/bin/’
  • 23. C l i c k t o e d i t The Cloud Specialists ShapeBlue.com @ShapeBlue G e t D i a g n o s t i c s D a t a Demo
  • 24. C l i c k t o e d i t The Cloud Specialists ShapeBlue.com @ShapeBlue S a v e t h e d a t e June 13 Cloudstack User Group meeting in Sofia, Bulgaria! https://www.meetup.com/CloudStack-Bulgaria-User-Group-Meetup/ Apr 26 Cloudstack Collab conference – Florianopolis, Brazil http://br.cloudstackcollab.org/ Sep 9-12 ApacheCon, Cloudstack Collab Conference - Las Vegas, US https://www.apachecon.com/acna19/
  • 25. C l i c k t o e d i t The Cloud Specialists ShapeBlue.com @ShapeBlue