SlideShare a Scribd company logo
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

More Related Content

PPTX
What’s New in CloudStack 4.15 - CloudStack European User Group Virtual, May 2021
PDF
Giles Sirett: Introduction and CloudStack news
PDF
CloudStack Best Practice in PPTV
PPTX
vBACD - Deploying Infrastructure-as-a-Service with CloudStack - 2/28
PDF
New stuff in CloudStack!
PDF
Paul Angus – Backup & Recovery in CloudStack
PDF
KVM High Availability Regardless of Storage - Gabriel Brascher, VP of Apache ...
PDF
Designing Lean CloudStack Environments for the Edge - IndiQus - CloudStack E...
What’s New in CloudStack 4.15 - CloudStack European User Group Virtual, May 2021
Giles Sirett: Introduction and CloudStack news
CloudStack Best Practice in PPTV
vBACD - Deploying Infrastructure-as-a-Service with CloudStack - 2/28
New stuff in CloudStack!
Paul Angus – Backup & Recovery in CloudStack
KVM High Availability Regardless of Storage - Gabriel Brascher, VP of Apache ...
Designing Lean CloudStack Environments for the Edge - IndiQus - CloudStack E...

What's hot (20)

PDF
Paul Angus - CloudStack Backup and Recovery Framework
PDF
CloudStack - Top 5 Technical Issues and Troubleshooting
PDF
Dag Sonstebo - CloudStack usage service
PDF
Scalable Object Storage with Apache CloudStack and Apache Hadoop
PPTX
Creating CentOS Template For CloudStack
PDF
Ceph with CloudStack
PPTX
Paul Angus - CloudStack Container Service
PPTX
CCCNA17 CloudStack Container Service
PPTX
CloudStack news
PPTX
CloudStack EU user group - Trillian
PDF
Paul Angus - what's new in ACS 4.11
PDF
CCCNA17 CloudStack upgrade best practices
PDF
Boyan Krosnov - Building a software-defined cloud - our experience
PDF
Paul Angus: CloudStack new UI (Primate)
PDF
CloudStack UI
PDF
CloudStack usage service
PDF
John Spray - Ceph in Kubernetes
PPTX
Dynamic roles in cloudstack
PDF
Hacking apache cloud stack
PDF
Cloud stack for_beginners
Paul Angus - CloudStack Backup and Recovery Framework
CloudStack - Top 5 Technical Issues and Troubleshooting
Dag Sonstebo - CloudStack usage service
Scalable Object Storage with Apache CloudStack and Apache Hadoop
Creating CentOS Template For CloudStack
Ceph with CloudStack
Paul Angus - CloudStack Container Service
CCCNA17 CloudStack Container Service
CloudStack news
CloudStack EU user group - Trillian
Paul Angus - what's new in ACS 4.11
CCCNA17 CloudStack upgrade best practices
Boyan Krosnov - Building a software-defined cloud - our experience
Paul Angus: CloudStack new UI (Primate)
CloudStack UI
CloudStack usage service
John Spray - Ceph in Kubernetes
Dynamic roles in cloudstack
Hacking apache cloud stack
Cloud stack for_beginners
Ad

Similar to Boris Stoyanov - some new features in Apache cloudStack (20)

PDF
Whats new in Cloudstack 4.11 - behind the headlines
PDF
TechUG Glasgow talk 22/Feb/17 Configuration Management Best Practices
PPTX
Improving CloudStack for operators
PDF
CCCNA17 Distributed CI and Testing for Cloudstack in a Hybrid Community
PDF
CloudStack upgrade best practices - Dag Sonstebo
PDF
CloudStack Container Service
PDF
ApacheCon Miami / CCCNA17 CloudStack upgrade best practices
PPTX
drupal ci cd concept cornel univercity.pptx
PDF
Boris Stoyanov - Troubleshooting the Virtual Router - Run and Get Diagnostics
PDF
Im-A-Hacker-Get-Me-Out-Of-Here-Breaking-Network-Segregation-Using-Esoteric-Co...
PPTX
CCNA17 CloudStack and NFV
PPTX
CloudStack - Apache's best kept secret
PPTX
Building clouds with apache cloudstack apache roadshow 2018
PDF
CCNA17 KVM and CloudStack
PDF
Firmware Co-Design & Development for IP Cores in C++/SystemC using Verilator
PDF
Seven steps to better security
PDF
Best Practices For Workflow
PDF
CCCNA17 Reliable Host Fencing
PPTX
CloudStack Container Service
PPTX
Azure from scratch part 4
Whats new in Cloudstack 4.11 - behind the headlines
TechUG Glasgow talk 22/Feb/17 Configuration Management Best Practices
Improving CloudStack for operators
CCCNA17 Distributed CI and Testing for Cloudstack in a Hybrid Community
CloudStack upgrade best practices - Dag Sonstebo
CloudStack Container Service
ApacheCon Miami / CCCNA17 CloudStack upgrade best practices
drupal ci cd concept cornel univercity.pptx
Boris Stoyanov - Troubleshooting the Virtual Router - Run and Get Diagnostics
Im-A-Hacker-Get-Me-Out-Of-Here-Breaking-Network-Segregation-Using-Esoteric-Co...
CCNA17 CloudStack and NFV
CloudStack - Apache's best kept secret
Building clouds with apache cloudstack apache roadshow 2018
CCNA17 KVM and CloudStack
Firmware Co-Design & Development for IP Cores in C++/SystemC using Verilator
Seven steps to better security
Best Practices For Workflow
CCCNA17 Reliable Host Fencing
CloudStack Container Service
Azure from scratch part 4
Ad

More from ShapeBlue (20)

PPTX
The Yotta x CloudStack Advantage: Scalable, India-First Cloud
PPTX
Simplifying End-to-End Apache CloudStack Deployment with a Web-Based Automati...
PPTX
Extensions Framework (XaaS) - Enabling Orchestrate Anything
PDF
CloudStack GPU Integration - Rohit Yadav
PPTX
Building and Operating a Private Cloud with CloudStack and LINBIT CloudStack ...
PDF
Ampere Offers Energy-Efficient Future For AI And Cloud
PDF
Empowering Cloud Providers with Apache CloudStack and Stackbill
PDF
Apache CloudStack 201: Let's Design & Build an IaaS Cloud
PDF
Meetup Kickoff & Welcome - Rohit Yadav, CSIUG Chairman
PDF
Fully Open-Source Private Clouds: Freedom, Security, and Control
PPTX
Pushing the Limits: CloudStack at 25K Hosts
PPTX
Stretching CloudStack over multiple datacenters
PPTX
Proposed Feature: Monitoring and Managing Cloud Usage Costs in Apache CloudStack
PPSX
CloudStack + KVM: Your Local Cloud Lab
PDF
I’d like to resell your CloudStack services, but...
PDF
Storage Setup for LINSTOR/DRBD/CloudStack
PDF
Apache CloudStack 101 - Introduction, What’s New and What’s Coming
PDF
Development of an Оbject Storage Plugin for CloudStack, Christian Reichert, s...
PDF
VM-HA with CloudStack and Linstor, Rene Peinthor
PDF
How We Use CloudStack to Provide Managed Hosting, Swen Brüseke, proIO
The Yotta x CloudStack Advantage: Scalable, India-First Cloud
Simplifying End-to-End Apache CloudStack Deployment with a Web-Based Automati...
Extensions Framework (XaaS) - Enabling Orchestrate Anything
CloudStack GPU Integration - Rohit Yadav
Building and Operating a Private Cloud with CloudStack and LINBIT CloudStack ...
Ampere Offers Energy-Efficient Future For AI And Cloud
Empowering Cloud Providers with Apache CloudStack and Stackbill
Apache CloudStack 201: Let's Design & Build an IaaS Cloud
Meetup Kickoff & Welcome - Rohit Yadav, CSIUG Chairman
Fully Open-Source Private Clouds: Freedom, Security, and Control
Pushing the Limits: CloudStack at 25K Hosts
Stretching CloudStack over multiple datacenters
Proposed Feature: Monitoring and Managing Cloud Usage Costs in Apache CloudStack
CloudStack + KVM: Your Local Cloud Lab
I’d like to resell your CloudStack services, but...
Storage Setup for LINSTOR/DRBD/CloudStack
Apache CloudStack 101 - Introduction, What’s New and What’s Coming
Development of an Оbject Storage Plugin for CloudStack, Christian Reichert, s...
VM-HA with CloudStack and Linstor, Rene Peinthor
How We Use CloudStack to Provide Managed Hosting, Swen Brüseke, proIO

Recently uploaded (20)

PDF
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
PDF
Electronic commerce courselecture one. Pdf
PDF
Reach Out and Touch Someone: Haptics and Empathic Computing
PDF
Assigned Numbers - 2025 - Bluetooth® Document
PDF
Dropbox Q2 2025 Financial Results & Investor Presentation
PDF
Encapsulation_ Review paper, used for researhc scholars
PDF
Unlocking AI with Model Context Protocol (MCP)
PDF
Building Integrated photovoltaic BIPV_UPV.pdf
PDF
Chapter 3 Spatial Domain Image Processing.pdf
PDF
Agricultural_Statistics_at_a_Glance_2022_0.pdf
PPTX
A Presentation on Artificial Intelligence
PDF
Optimiser vos workloads AI/ML sur Amazon EC2 et AWS Graviton
PPTX
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
PDF
gpt5_lecture_notes_comprehensive_20250812015547.pdf
PDF
Network Security Unit 5.pdf for BCA BBA.
PDF
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
PDF
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
PDF
Encapsulation theory and applications.pdf
PPTX
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
PDF
Review of recent advances in non-invasive hemoglobin estimation
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
Electronic commerce courselecture one. Pdf
Reach Out and Touch Someone: Haptics and Empathic Computing
Assigned Numbers - 2025 - Bluetooth® Document
Dropbox Q2 2025 Financial Results & Investor Presentation
Encapsulation_ Review paper, used for researhc scholars
Unlocking AI with Model Context Protocol (MCP)
Building Integrated photovoltaic BIPV_UPV.pdf
Chapter 3 Spatial Domain Image Processing.pdf
Agricultural_Statistics_at_a_Glance_2022_0.pdf
A Presentation on Artificial Intelligence
Optimiser vos workloads AI/ML sur Amazon EC2 et AWS Graviton
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
gpt5_lecture_notes_comprehensive_20250812015547.pdf
Network Security Unit 5.pdf for BCA BBA.
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
Encapsulation theory and applications.pdf
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
Review of recent advances in non-invasive hemoglobin estimation

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