SlideShare a Scribd company logo
1 of 36
Download to read offline
The Cloud Specialists
CloudStack Backup and
Recovery Framework
ShapeBlue.com • @ShapeBlue
Paul Angus, VP Technology • @CloudyAngus
paul.angus@shapeblue.com
A P r e vi e w o f
The Cloud Specialists
ShapeBlue.com @ShapeBlue
“ShapeBlue are expert builders of public
& private clouds. They are the leading
independent global CloudStack services
company”
Ab o u t S h a p e B l u e
C l i c k t o e d i t
The Cloud Specialists
ShapeBlue.com @ShapeBlue
Paul Angus – VP Technology
• Global authority on CloudStack & cloud infrastructure design.
• 20+ years C-Level experience.
• Apache CloudStack project committer & PMC member
• Specialising in deployment of CloudStack
and surrounding infrastructure especially the user story
• USP, Georgian Ministry of Justice, Orange, TomTom,
PaddyPower, Ascenty, BSkyB, SAP, British Telecom
Ab ou t m e
C l i c k t o e d i t
The Cloud Specialists ShapeBlue.com @ShapeBlue
S h a p e B l u e c u s t o m e r s
C l i c k t o e d i t
The Cloud Specialists ShapeBlue.com @ShapeBlue
S h a p e B l u e c u s t o m e r s
C l i c k t o e d i t
The Cloud Specialists ShapeBlue.com @ShapeBlue
S h a p e B l u e c u s t o m e r s
C l i c k t o e d i t
The Cloud Specialists ShapeBlue.com @ShapeBlue
• What is a snapshot? (and what’s snapshots got to do with this
anyway?)
• Why is this a ‘framework’? (and why is it in quotes?)
• What does this ‘framework’ do then? (enough with the quotes)
• What will the framework work with?
• An Example would be nice ..
Cl ou d S t ac k B ac k u p an d Rec over y F r am ewor k
The Cloud Specialists
ShapeBlue.com @ShapeBlue
What’s is a Snapshot?
C l i c k t o e d i t
The Cloud Specialists ShapeBlue.com @ShapeBlue
VM Snapshot
• A hypervisor-driven point-in-time image of a virtual machine’s
disks. The exact mechanism of this is dependant on the
hypervisor.
Volume Snapshot
• A point-in-time image of a specific volume – The process usually
involves taking a VM snapshot and then copying the required
volume to secondary storage and the deleting the VM snapshot
W h at ’ s a S n ap s h ot ?
C l i c k t o e d i t
The Cloud Specialists ShapeBlue.com @ShapeBlue
Features of volume snapshots include:
• Alternate storage location of image (from primary storage)
• Ability to schedule the volume snapshots
• Ability to set a retention policy of n copies.
• Ability to create new VMs from the snapshot image (pseudo
restoration)
• Ability to export volume snapshots from the system
O K , b u t wh at ’ s s n ap s h ot s g ot t o d o wi t h t h i s ?
C l i c k t o e d i t
The Cloud Specialists ShapeBlue.com @ShapeBlue
So snapshots are used by many (everyone) as a form of
backup
but…
O K , b u t wh at ’ s s n ap s h ot s g ot t o d o wi t h t h i s ?
The Cloud Specialists
ShapeBlue.com @ShapeBlue
What’s wrong with
snapshots as backups?
C l i c k t o e d i t
The Cloud Specialists ShapeBlue.com @ShapeBlue
W h a t ’ s w r o n g w i t h s n a p s h o t s ?
• Not consistent across volumes
• A VM with separate disks for say; OS, logs and
data, will have each disk processed at different
times
• Only crash consistent within a volume
and they aren’t application aware
• A database will not be quiesced before snapshot is
taken
• Transaction logs won’t be processed
• VMware tools or XenTools may help with some
basics
C l i c k t o e d i t
The Cloud Specialists ShapeBlue.com @ShapeBlue
W h a t ’ s w r o n g w i t h s n a p s h o t s ?
• They can be very slow.
• Data has to be transferred from primary storage to
secondary storage
• In the case of vSphere, this data must go via the
SSVM to be compressed into a OVA while being
moved to secondary storage.
• CloudStack locks out other actions while a
snapshot is taking place. Workarounds have their
own issues.
C l i c k t o e d i t
The Cloud Specialists ShapeBlue.com @ShapeBlue
W h a t ’ s w r o n g w i t h s n a p s h o t s ?
• Restoration of a VM requires a number of steps
(and did I mention it’s slow)
• User must make a template from snapshot
(VM image copied via SSVM from one part of secondary
storage to another – 2x network transfers)
• User then creates VM from template
(VM image copied from secondary to primary to create
template on primary storage, then primary storage based
template copied to make actual VM. 2x network assuming
network based primary storage and 1x on-disk copy)
• To restore a VM ‘exactly as it was’ requires considerable
operator intervention
The Cloud Specialists
ShapeBlue.com @ShapeBlue
Why is this a ‘framework’
C l i c k t o e d i t
The Cloud Specialists ShapeBlue.com @ShapeBlue
The CloudStack Backup & Recovery Framework
• This is a framework because, by itself it doesn’t ‘do’ anything.
• Plugins are required to drive physical actions
• A dummy plugin has been created for testing the B&R framework API
Oh. This is going to be a short/rubbish presentation then.
W h y i s t h i s a ‘ f r a m e w o r k ’ ?
The Cloud Specialists
ShapeBlue.com @ShapeBlue
What does this ‘framework’
do then?
C l i c k t o e d i t
The Cloud Specialists ShapeBlue.com @ShapeBlue
The CloudStack Backup and Recovery Framework
Creates a vendor agnostic API and UI in CloudStack for end users to leverage 3rd
party backup and recovery solutions.
The B&R Framework abstracts the specifics of B&R solutions, such that through the
use of a plugin, a 3rd party B&R solution can deliver ….
W h at d o e s t h i s ‘ f r am ewor k ’ d o t h en ?
C l i c k t o e d i t
The Cloud Specialists ShapeBlue.com @ShapeBlue
For the Cloud Operator:
The B&R framework enables cloud operators to leverage their choice of enterprise
grade backup and recovery technology. Giving them:
• Greater control over the backend backup and recovery processes
• Hardware and software accelerated performance
• Reducing/elimination of operator overhead
• More features to offer users
• Additional chargeable services
W h at d o e s t h i s ‘ f r am ewor k ’ d o t h en ?
C l i c k t o e d i t
The Cloud Specialists ShapeBlue.com @ShapeBlue
For the Cloud Consumer:
• Improved performance over snapshots
• A feature set that consumers expect from backup software
• Proper restoration options
• Consistent API and user experience independent of B&R vendor
• Piece of mind of a recognised industry named B&R solution
W h at d o e s t h i s ‘ f r am ewor k ’ d o t h en ?
C l i c k t o e d i t
The Cloud Specialists ShapeBlue.com @ShapeBlue
Specifically:
• Support for:
• Operator created ‘policy based’ backups (RPOs)
• Scheduled backups (similar to snapshot scheduling)
• Ad hoc backups
• Backups as first class citizens
• ‘In-place’ restoration of entire VM including data disks
• Restoration of VM backup after original VM is destroyed
• Restoration of individual VM volumes (can then be attached to another VM)
• Full integration into the CloudStack usage service, recording both protected and
on-disk data metrics
W h at d o e s t h i s ‘ f r am ewor k ’ d o t h en ?
The Cloud Specialists
ShapeBlue.com @ShapeBlue
What will the framework
work with?
C l i c k t o e d i t
The Cloud Specialists ShapeBlue.com @ShapeBlue
Dummy Plugin
• Built for compile time testing of the APIs.
Veeam Backup & Replication 9.5 (for VMware)
• Plugin written against Veeam Backup & Replication 9.5 and Apache CloudStack
4.12
• Tested against VMware 6.5
• Requires Veeam Backup & Replication Console, Veeam Backup Enterprise
Manager, OpenSSH and PowerShell on the Veeam Server
W h at w i l l t h e f r am ew or k w or k w i t h ?
The Cloud Specialists
ShapeBlue.com @ShapeBlue
Example(s) ?
C l i c k t o e d i t
The Cloud Specialists ShapeBlue.com @ShapeBlue
Backup APIs so far*
• createVMBackup(A)
• deleteBackupPolicydeleteVM
• BackupimportBackupPolicy (A)
• listBackupPolicies
• listBackupProviders
• listVMBackupRestorePoints
• listVMBackupsrestoreVMBackup (A)
• restoreVolumeFromBackup (A)
• startVMBackup (A)
*Still subject to change during development
Th e B a c k u p an d Rec over y AP I
C l i c k t o e d i t
The Cloud Specialists
ShapeBlue.com @ShapeBlue
Veeam B & R P l u g i n
‘Policy Based’ Backups
• listBackupPolices external=true
Returns ‘template’ jobs.
• importBackupPolicy Creates a policy (with
a name and description) in CloudStack
and maps it to a Veeam template job.
ie.
GOLD – 6hr RPO
SILVER – 24hr RPO
BRONZE – 7 day RPO
C l i c k t o e d i t
The Cloud Specialists
ShapeBlue.com @ShapeBlue
Veeam B & R P l u g i n
‘Policy Based’ Backups
• Add VM to the policy using
createVMBackup*
Creates a Veeam backup job for the VM
with the properties of the template job
linked.
C l i c k t o e d i t
The Cloud Specialists
ShapeBlue.com @ShapeBlue
Veeam B & R P l u g i n
‘Ad-hoc’ & Scheduled Backups
• CloudStack will send command to carry
out an ad-hoc run of the policy based job
or create one as required.
• Ad-hoc and scheduled jobs will be driven
by CloudStack
• One VM to one Veeam job mapping allows
for simpler accounting and unified
incremental backups
C l i c k t o e d i t
The Cloud Specialists
ShapeBlue.com @ShapeBlue
Veeam B & R P l u g i n
Listing Backups
listVMBackups
• Lists backup jobs for a given VM. Under
Veeam approach, this is a one-to-one
relationship
listVMBackupRestorePoints*
• Veeam thinks in terms of restore points as
being the image of a VM at any point in
time. This API lists the restore points
available for a given VM backup job (VM)
*This is quite Veeam centric and potentially confusing, as the
overall feature is rounded out, the abstraction naming will be
reviewed.
C l i c k t o e d i t
The Cloud Specialists ShapeBlue.com @ShapeBlue
VM and Volume Restoration
• Veeam ‘in-place’ restoration is more in-place-of than in-the-original-place
• The Veeam plugin takes care of the fact the replacement VM is in an alternate
location to the ‘original’
• Current implementation automatically attaches a restored volume to a VM (option
to restore to secondary storage will be added)
Veeam B & R P l u g i n
C l i c k t o e d i t
The Cloud Specialists
ShapeBlue.com @ShapeBlue
Veeam B & R P l u g i n
‘Ad-hoc’ & Scheduled Backups
• CloudStack will send command to carry
out an ad-hoc run of the policy based job
or create one as required.
• Ad-hoc and scheduled jobs will be driven
by CloudStack
• One VM to one Veeam job mapping allows
for simpler accounting and unified
incremental backups
The Cloud Specialists
ShapeBlue.com @ShapeBlue
That’s all cool. Where is it?
C l i c k t o e d i t
The Cloud Specialists ShapeBlue.com @ShapeBlue
Framework & Veeam Plugin
• Expect to see a PR in Q4
• APIs largely done
• Work left:
• Scheduling of backups
• Ad-hoc backups
• Changing of underlying policy
• Deletion of backups/restore points
UI
• Expect to see a PR late Q4
Ti m e l i n e
The Cloud Specialists
ShapeBlue.com @ShapeBlue
Questions?
The Cloud Specialists
CloudStack Backup and
Recovery Framework
ShapeBlue.com • @ShapeBlue
Paul Angus, VP Technology • @CloudyAngus
paul.angus@shapeblue.com
A P r e vi e w o f

More Related Content

What's hot

Backup and Restore VMs Based on KVM
Backup and Restore VMs Based on KVMBackup and Restore VMs Based on KVM
Backup and Restore VMs Based on KVM
ShapeBlue
 

What's hot (20)

CloudStack Metering - Working with Usage Data #CCCNA14
CloudStack Metering - Working with Usage Data #CCCNA14CloudStack Metering - Working with Usage Data #CCCNA14
CloudStack Metering - Working with Usage Data #CCCNA14
 
Using the KVMhypervisor in CloudStack
Using the KVMhypervisor in CloudStackUsing the KVMhypervisor in CloudStack
Using the KVMhypervisor in CloudStack
 
VM Job Queues in CloudStack
VM Job Queues in CloudStackVM Job Queues in CloudStack
VM Job Queues in CloudStack
 
KVM High Availability Regardless of Storage - Gabriel Brascher, VP of Apache ...
KVM High Availability Regardless of Storage - Gabriel Brascher, VP of Apache ...KVM High Availability Regardless of Storage - Gabriel Brascher, VP of Apache ...
KVM High Availability Regardless of Storage - Gabriel Brascher, VP of Apache ...
 
Building a redundant CloudStack management cluster - Vladimir Melnik
Building a redundant CloudStack management cluster - Vladimir MelnikBuilding a redundant CloudStack management cluster - Vladimir Melnik
Building a redundant CloudStack management cluster - Vladimir Melnik
 
Kubecon US 2019: Kubernetes Multitenancy WG Deep Dive
Kubecon US 2019: Kubernetes Multitenancy WG Deep DiveKubecon US 2019: Kubernetes Multitenancy WG Deep Dive
Kubecon US 2019: Kubernetes Multitenancy WG Deep Dive
 
Vault Open Source vs Enterprise v2
Vault Open Source vs Enterprise v2Vault Open Source vs Enterprise v2
Vault Open Source vs Enterprise v2
 
[WhaTap DevOps Day] 세션 1 : Observability Practice on AWS
[WhaTap DevOps Day] 세션 1 : Observability Practice on AWS[WhaTap DevOps Day] 세션 1 : Observability Practice on AWS
[WhaTap DevOps Day] 세션 1 : Observability Practice on AWS
 
클라우드 상에서의 효율적인 데이터 보관 방법 - 김민형 클라우드 솔루션 아키텍트
클라우드 상에서의 효율적인 데이터 보관 방법 - 김민형 클라우드 솔루션 아키텍트클라우드 상에서의 효율적인 데이터 보관 방법 - 김민형 클라우드 솔루션 아키텍트
클라우드 상에서의 효율적인 데이터 보관 방법 - 김민형 클라우드 솔루션 아키텍트
 
[웨비나] Follow me! 클라우드 인프라 구축 기본편 - 강지나 테크 에반젤리스트
[웨비나] Follow me! 클라우드 인프라 구축 기본편 - 강지나 테크 에반젤리스트[웨비나] Follow me! 클라우드 인프라 구축 기본편 - 강지나 테크 에반젤리스트
[웨비나] Follow me! 클라우드 인프라 구축 기본편 - 강지나 테크 에반젤리스트
 
The world of Containers with Podman, Buildah, Skopeo by Seema - CCDays
The world of Containers with Podman, Buildah, Skopeo by Seema - CCDaysThe world of Containers with Podman, Buildah, Skopeo by Seema - CCDays
The world of Containers with Podman, Buildah, Skopeo by Seema - CCDays
 
CloudStack and cloud-init
CloudStack and cloud-initCloudStack and cloud-init
CloudStack and cloud-init
 
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
 
[넥슨] kubernetes 소개 (2018)
[넥슨] kubernetes 소개 (2018)[넥슨] kubernetes 소개 (2018)
[넥슨] kubernetes 소개 (2018)
 
VM Autoscaling With CloudStack VR As Network Provider
VM Autoscaling With CloudStack VR As Network ProviderVM Autoscaling With CloudStack VR As Network Provider
VM Autoscaling With CloudStack VR As Network Provider
 
Backup and Restore VMs Based on KVM
Backup and Restore VMs Based on KVMBackup and Restore VMs Based on KVM
Backup and Restore VMs Based on KVM
 
Automated CloudStack Deployment
Automated CloudStack DeploymentAutomated CloudStack Deployment
Automated CloudStack Deployment
 
REX: Cloud Native Apps on a K8S stack
REX: Cloud Native Apps on a K8S stackREX: Cloud Native Apps on a K8S stack
REX: Cloud Native Apps on a K8S stack
 
Amazon CloudFront 101
Amazon CloudFront 101Amazon CloudFront 101
Amazon CloudFront 101
 
[오픈소스컨설팅] 쿠버네티스와 쿠버네티스 on 오픈스택 비교 및 구축 방법
[오픈소스컨설팅] 쿠버네티스와 쿠버네티스 on 오픈스택 비교  및 구축 방법[오픈소스컨설팅] 쿠버네티스와 쿠버네티스 on 오픈스택 비교  및 구축 방법
[오픈소스컨설팅] 쿠버네티스와 쿠버네티스 on 오픈스택 비교 및 구축 방법
 

Similar to Paul Angus – Backup & Recovery in CloudStack

Similar to Paul Angus – Backup & Recovery in CloudStack (20)

New stuff in CloudStack!
New stuff in CloudStack!New stuff in CloudStack!
New stuff in CloudStack!
 
CloudStack upgrade best practices - Dag Sonstebo
CloudStack upgrade best practices - Dag SonsteboCloudStack upgrade best practices - Dag Sonstebo
CloudStack upgrade best practices - Dag Sonstebo
 
CloudStack usage service
CloudStack usage serviceCloudStack usage service
CloudStack usage 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
 
CloudStack Container Service
CloudStack Container ServiceCloudStack Container Service
CloudStack Container Service
 
Improving CloudStack for operators
Improving CloudStack for operatorsImproving CloudStack for operators
Improving CloudStack for operators
 
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
 
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
 
CCCNA17 CloudStack Container Service
CCCNA17 CloudStack Container ServiceCCCNA17 CloudStack Container Service
CCCNA17 CloudStack Container Service
 
Paul Angus - CloudStack Container Service
Paul  Angus - CloudStack Container ServicePaul  Angus - CloudStack Container Service
Paul Angus - CloudStack Container Service
 
CCCNA17 CloudStack upgrade best practices
CCCNA17 CloudStack upgrade best practicesCCCNA17 CloudStack upgrade best practices
CCCNA17 CloudStack upgrade best practices
 
CloudStack EU user group - Trillian
CloudStack EU user group - TrillianCloudStack EU user group - Trillian
CloudStack EU user group - Trillian
 
Giles Sirett: Introduction and CloudStack news
Giles Sirett: Introduction and CloudStack news   Giles Sirett: Introduction and CloudStack news
Giles Sirett: Introduction and CloudStack news
 
CCCNA17 Reliable Host Fencing
CCCNA17 Reliable Host FencingCCCNA17 Reliable Host Fencing
CCCNA17 Reliable Host Fencing
 
Boris Stoyanov - some new features in Apache cloudStack
Boris Stoyanov - some new features in Apache cloudStackBoris Stoyanov - some new features in Apache cloudStack
Boris Stoyanov - some new features in Apache cloudStack
 
CloudStack Container Service
CloudStack Container ServiceCloudStack Container Service
CloudStack Container Service
 
Cloudstack container service
Cloudstack container serviceCloudstack container service
Cloudstack container service
 
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
 
CCNA17 CloudStack and NFV
CCNA17 CloudStack and NFVCCNA17 CloudStack and NFV
CCNA17 CloudStack and NFV
 
Dag Sonstebo - CloudStack usage service
Dag Sonstebo - CloudStack usage serviceDag Sonstebo - CloudStack usage service
Dag Sonstebo - CloudStack usage service
 

More from ShapeBlue

More from 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
 

Recently uploaded

Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
panagenda
 

Recently uploaded (20)

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
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
 
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
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
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...
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
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
 
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)
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 

Paul Angus – Backup & Recovery in CloudStack

  • 1. The Cloud Specialists CloudStack Backup and Recovery Framework ShapeBlue.com • @ShapeBlue Paul Angus, VP Technology • @CloudyAngus paul.angus@shapeblue.com A P r e vi e w o f
  • 2. The Cloud Specialists ShapeBlue.com @ShapeBlue “ShapeBlue are expert builders of public & private clouds. They are the leading independent global CloudStack services company” Ab o u t S h a p e B l u e
  • 3. C l i c k t o e d i t The Cloud Specialists ShapeBlue.com @ShapeBlue Paul Angus – VP Technology • Global authority on CloudStack & cloud infrastructure design. • 20+ years C-Level experience. • Apache CloudStack project committer & PMC member • Specialising in deployment of CloudStack and surrounding infrastructure especially the user story • USP, Georgian Ministry of Justice, Orange, TomTom, PaddyPower, Ascenty, BSkyB, SAP, British Telecom Ab ou t m e
  • 4. C l i c k t o e d i t The Cloud Specialists ShapeBlue.com @ShapeBlue S h a p e B l u e c u s t o m e r s
  • 5. C l i c k t o e d i t The Cloud Specialists ShapeBlue.com @ShapeBlue S h a p e B l u e c u s t o m e r s
  • 6. C l i c k t o e d i t The Cloud Specialists ShapeBlue.com @ShapeBlue S h a p e B l u e c u s t o m e r s
  • 7. C l i c k t o e d i t The Cloud Specialists ShapeBlue.com @ShapeBlue • What is a snapshot? (and what’s snapshots got to do with this anyway?) • Why is this a ‘framework’? (and why is it in quotes?) • What does this ‘framework’ do then? (enough with the quotes) • What will the framework work with? • An Example would be nice .. Cl ou d S t ac k B ac k u p an d Rec over y F r am ewor k
  • 8. The Cloud Specialists ShapeBlue.com @ShapeBlue What’s is a Snapshot?
  • 9. C l i c k t o e d i t The Cloud Specialists ShapeBlue.com @ShapeBlue VM Snapshot • A hypervisor-driven point-in-time image of a virtual machine’s disks. The exact mechanism of this is dependant on the hypervisor. Volume Snapshot • A point-in-time image of a specific volume – The process usually involves taking a VM snapshot and then copying the required volume to secondary storage and the deleting the VM snapshot W h at ’ s a S n ap s h ot ?
  • 10. C l i c k t o e d i t The Cloud Specialists ShapeBlue.com @ShapeBlue Features of volume snapshots include: • Alternate storage location of image (from primary storage) • Ability to schedule the volume snapshots • Ability to set a retention policy of n copies. • Ability to create new VMs from the snapshot image (pseudo restoration) • Ability to export volume snapshots from the system O K , b u t wh at ’ s s n ap s h ot s g ot t o d o wi t h t h i s ?
  • 11. C l i c k t o e d i t The Cloud Specialists ShapeBlue.com @ShapeBlue So snapshots are used by many (everyone) as a form of backup but… O K , b u t wh at ’ s s n ap s h ot s g ot t o d o wi t h t h i s ?
  • 12. The Cloud Specialists ShapeBlue.com @ShapeBlue What’s wrong with snapshots as backups?
  • 13. C l i c k t o e d i t The Cloud Specialists ShapeBlue.com @ShapeBlue W h a t ’ s w r o n g w i t h s n a p s h o t s ? • Not consistent across volumes • A VM with separate disks for say; OS, logs and data, will have each disk processed at different times • Only crash consistent within a volume and they aren’t application aware • A database will not be quiesced before snapshot is taken • Transaction logs won’t be processed • VMware tools or XenTools may help with some basics
  • 14. C l i c k t o e d i t The Cloud Specialists ShapeBlue.com @ShapeBlue W h a t ’ s w r o n g w i t h s n a p s h o t s ? • They can be very slow. • Data has to be transferred from primary storage to secondary storage • In the case of vSphere, this data must go via the SSVM to be compressed into a OVA while being moved to secondary storage. • CloudStack locks out other actions while a snapshot is taking place. Workarounds have their own issues.
  • 15. C l i c k t o e d i t The Cloud Specialists ShapeBlue.com @ShapeBlue W h a t ’ s w r o n g w i t h s n a p s h o t s ? • Restoration of a VM requires a number of steps (and did I mention it’s slow) • User must make a template from snapshot (VM image copied via SSVM from one part of secondary storage to another – 2x network transfers) • User then creates VM from template (VM image copied from secondary to primary to create template on primary storage, then primary storage based template copied to make actual VM. 2x network assuming network based primary storage and 1x on-disk copy) • To restore a VM ‘exactly as it was’ requires considerable operator intervention
  • 16. The Cloud Specialists ShapeBlue.com @ShapeBlue Why is this a ‘framework’
  • 17. C l i c k t o e d i t The Cloud Specialists ShapeBlue.com @ShapeBlue The CloudStack Backup & Recovery Framework • This is a framework because, by itself it doesn’t ‘do’ anything. • Plugins are required to drive physical actions • A dummy plugin has been created for testing the B&R framework API Oh. This is going to be a short/rubbish presentation then. W h y i s t h i s a ‘ f r a m e w o r k ’ ?
  • 18. The Cloud Specialists ShapeBlue.com @ShapeBlue What does this ‘framework’ do then?
  • 19. C l i c k t o e d i t The Cloud Specialists ShapeBlue.com @ShapeBlue The CloudStack Backup and Recovery Framework Creates a vendor agnostic API and UI in CloudStack for end users to leverage 3rd party backup and recovery solutions. The B&R Framework abstracts the specifics of B&R solutions, such that through the use of a plugin, a 3rd party B&R solution can deliver …. W h at d o e s t h i s ‘ f r am ewor k ’ d o t h en ?
  • 20. C l i c k t o e d i t The Cloud Specialists ShapeBlue.com @ShapeBlue For the Cloud Operator: The B&R framework enables cloud operators to leverage their choice of enterprise grade backup and recovery technology. Giving them: • Greater control over the backend backup and recovery processes • Hardware and software accelerated performance • Reducing/elimination of operator overhead • More features to offer users • Additional chargeable services W h at d o e s t h i s ‘ f r am ewor k ’ d o t h en ?
  • 21. C l i c k t o e d i t The Cloud Specialists ShapeBlue.com @ShapeBlue For the Cloud Consumer: • Improved performance over snapshots • A feature set that consumers expect from backup software • Proper restoration options • Consistent API and user experience independent of B&R vendor • Piece of mind of a recognised industry named B&R solution W h at d o e s t h i s ‘ f r am ewor k ’ d o t h en ?
  • 22. C l i c k t o e d i t The Cloud Specialists ShapeBlue.com @ShapeBlue Specifically: • Support for: • Operator created ‘policy based’ backups (RPOs) • Scheduled backups (similar to snapshot scheduling) • Ad hoc backups • Backups as first class citizens • ‘In-place’ restoration of entire VM including data disks • Restoration of VM backup after original VM is destroyed • Restoration of individual VM volumes (can then be attached to another VM) • Full integration into the CloudStack usage service, recording both protected and on-disk data metrics W h at d o e s t h i s ‘ f r am ewor k ’ d o t h en ?
  • 23. The Cloud Specialists ShapeBlue.com @ShapeBlue What will the framework work with?
  • 24. C l i c k t o e d i t The Cloud Specialists ShapeBlue.com @ShapeBlue Dummy Plugin • Built for compile time testing of the APIs. Veeam Backup & Replication 9.5 (for VMware) • Plugin written against Veeam Backup & Replication 9.5 and Apache CloudStack 4.12 • Tested against VMware 6.5 • Requires Veeam Backup & Replication Console, Veeam Backup Enterprise Manager, OpenSSH and PowerShell on the Veeam Server W h at w i l l t h e f r am ew or k w or k w i t h ?
  • 25. The Cloud Specialists ShapeBlue.com @ShapeBlue Example(s) ?
  • 26. C l i c k t o e d i t The Cloud Specialists ShapeBlue.com @ShapeBlue Backup APIs so far* • createVMBackup(A) • deleteBackupPolicydeleteVM • BackupimportBackupPolicy (A) • listBackupPolicies • listBackupProviders • listVMBackupRestorePoints • listVMBackupsrestoreVMBackup (A) • restoreVolumeFromBackup (A) • startVMBackup (A) *Still subject to change during development Th e B a c k u p an d Rec over y AP I
  • 27. C l i c k t o e d i t The Cloud Specialists ShapeBlue.com @ShapeBlue Veeam B & R P l u g i n ‘Policy Based’ Backups • listBackupPolices external=true Returns ‘template’ jobs. • importBackupPolicy Creates a policy (with a name and description) in CloudStack and maps it to a Veeam template job. ie. GOLD – 6hr RPO SILVER – 24hr RPO BRONZE – 7 day RPO
  • 28. C l i c k t o e d i t The Cloud Specialists ShapeBlue.com @ShapeBlue Veeam B & R P l u g i n ‘Policy Based’ Backups • Add VM to the policy using createVMBackup* Creates a Veeam backup job for the VM with the properties of the template job linked.
  • 29. C l i c k t o e d i t The Cloud Specialists ShapeBlue.com @ShapeBlue Veeam B & R P l u g i n ‘Ad-hoc’ & Scheduled Backups • CloudStack will send command to carry out an ad-hoc run of the policy based job or create one as required. • Ad-hoc and scheduled jobs will be driven by CloudStack • One VM to one Veeam job mapping allows for simpler accounting and unified incremental backups
  • 30. C l i c k t o e d i t The Cloud Specialists ShapeBlue.com @ShapeBlue Veeam B & R P l u g i n Listing Backups listVMBackups • Lists backup jobs for a given VM. Under Veeam approach, this is a one-to-one relationship listVMBackupRestorePoints* • Veeam thinks in terms of restore points as being the image of a VM at any point in time. This API lists the restore points available for a given VM backup job (VM) *This is quite Veeam centric and potentially confusing, as the overall feature is rounded out, the abstraction naming will be reviewed.
  • 31. C l i c k t o e d i t The Cloud Specialists ShapeBlue.com @ShapeBlue VM and Volume Restoration • Veeam ‘in-place’ restoration is more in-place-of than in-the-original-place • The Veeam plugin takes care of the fact the replacement VM is in an alternate location to the ‘original’ • Current implementation automatically attaches a restored volume to a VM (option to restore to secondary storage will be added) Veeam B & R P l u g i n
  • 32. C l i c k t o e d i t The Cloud Specialists ShapeBlue.com @ShapeBlue Veeam B & R P l u g i n ‘Ad-hoc’ & Scheduled Backups • CloudStack will send command to carry out an ad-hoc run of the policy based job or create one as required. • Ad-hoc and scheduled jobs will be driven by CloudStack • One VM to one Veeam job mapping allows for simpler accounting and unified incremental backups
  • 33. The Cloud Specialists ShapeBlue.com @ShapeBlue That’s all cool. Where is it?
  • 34. C l i c k t o e d i t The Cloud Specialists ShapeBlue.com @ShapeBlue Framework & Veeam Plugin • Expect to see a PR in Q4 • APIs largely done • Work left: • Scheduling of backups • Ad-hoc backups • Changing of underlying policy • Deletion of backups/restore points UI • Expect to see a PR late Q4 Ti m e l i n e
  • 35. The Cloud Specialists ShapeBlue.com @ShapeBlue Questions?
  • 36. The Cloud Specialists CloudStack Backup and Recovery Framework ShapeBlue.com • @ShapeBlue Paul Angus, VP Technology • @CloudyAngus paul.angus@shapeblue.com A P r e vi e w o f