SlideShare ist ein Scribd-Unternehmen logo
1 von 19
AUTOMATING ORACLE DATABASE
                                SEMOP
DEPLOYMENT WITH AMAZON WEB      Feb. 1 2 th , 2013
   SERVICES, FABRIC, AND BOTO
INTRODUCTION

                          Michael J Bommarito II
                              CEO, Bommarito Consulting, LLC
                              Email: michael@bommaritollc.com
                              Web: http://bommaritollc.com/
                              LinkedIn: http://linkedin.com/in/bommarito

                         Expert infrastructure, development, and
                         data services.




                           CIO, Solid Logic Technol ogy, Inc.
                           Web: http://solidl ogi c.com/

                          Large, labor -intensive sof tware and infrastructure
                          projects.
© Bommarito Consulting
GOALS

 DEF INE - Under stand the myriad of acronyms and cr yptic phrases:
    IaaS, DevOps, automated deployment…

 DESIGN - Under stand how the requirements fit together:
    IaaS provider and/or private cloud
    Boto
    Fabric
    Oracle

 EXECUTE – Run and modify a basic deployment example.

 EXTRAPOLATE – Discuss possibilities for real business needs.




© Bommarito Consulting
DEFINE

   The Cloud is dead. Long live the Cloud!

   Note: I try to use “cloud” as little as possible in this discussion.

   What do we need to cover (in increasing difficulty)?
    Automated deployment
    Virtualization
    Automated provisioning
    Configuration management
    Infrastructure-as-a-Service (IaaS)
    Programmable infrastructure (“infrastructure as code”)
    DevOps




© Bommarito Consulting
DEFINE

    Automated deployment: Process-driven build of software, OS and up.
       Examples: Oracle response files, RHEL kickstart, Puppet, that maze of
        bash or perl scripts.

    Virtualization: Abstract raw compute and storage for more flexible, efficient
     utilizations.
       Hardware: Xen/KVM, ESx, Hyper-V, Oracle VM (Xen), VirtualBox
       “Storage:” SAN, DFS, S3, OpenStack Swift, Storage-as-a-Service

    Automated provisioning: Process-driven build of compute, storage, and
     network resources.
       Examples: Norton Ghost, vSphere/VMware Automation, xen-api, AWS APIs




© Bommarito Consulting
DEFINE

    Configuration management: Process-driven management of software
     (apt, yum) and configuration (/ etc/, Windows Registry).
       Examples: Puppet, Chef, Fabric(~), CFEngine, and, again, that maze of
        bash or perl scripts.
       Unlike automated deployment, this is stuff you live with and change every
        day.
       Some tools, like Puppet, can gracefully span automated deployment and
        configuration management.

    Infrastructure-as-a-Service (IaaS): Compute, storage, and network
     virtualization, but with someone else running the data center and
     virtualization operations.
       Many providers offer some form of IaaS/cloud/virtualization, but very few
        add real cost-adjusted value.




© Bommarito Consulting
DEFINE

    Programmable infrastructure (“infrastructure as code ”): When your IaaS has
     a featureful API and unbounded capacity relative to your needs.
       Never ask a hardware rep about lead times.
       Never ask a technician when a box will be cabled.
       Never ask a sysadmin when your server will be ready.
       Never pay for unutilized, depreciating assets.

    DevOps: Collaborative, process-driven approach to managing infrastructure
     and software.
       Think Toyota Production System + “cloud” for infrastructure and ALM.
       Reduce cost of failure and probability of failure.
       Make ITIL and CMMI easy (…well, easier)!
       Honest truth: More of a culture than a methodology.




© Bommarito Consulting
DESIGN

    Phew. Enough theory and philosophy. Let’s take inspiration from the
   previous slides and actually build something to solve a real problem:

   “I want an Oracle database server. I want it now. I want it to look the same
   every time, but be easily configurable if I do want it to change. I only want to
   pay for it when I use it. Did I mention now?”

   Components:
    IaaS: Amazon Web Services
    Automated Provisioning: boto/Fabric
    Automated Deployment: Fabric




© Bommarito Consulting
DESIGN

   IaaS: Amazon Web Services
    Fully programmable infrastructure.
    Plug in credit card and email, download credentials.

   Automated Provisioning: boto/Fabric
    Provision network, storage, and compute resources for server.
    Python + configuration

   Automated Deployment: Fabric
    Update host and ensure Oracle prereqs met.
    Install software.
    Configure listener and database.
    Python + configuration




© Bommarito Consulting
DESIGN


   What does basic configuration look like?
    Configuration
          fabricrc: Basic fabric configuration for users, SSH config, behavior
          hosts.txt: Hosts managed by Fabric infrastructure.
          python-requirements.txt: Required packages for deployment server.
          yum-requirements.txt: Required packages for target servers.
    Templates
          database.rsp: Oracle database software response file
          dbca.rsp: Oracle database response file
          netca.rsp: Listener response file
          public-yum-el5.repo: Yum repo config, e.g., RHEL5U9




© Bommarito Consulting
DESIGN


   What does Boto look like?




© Bommarito Consulting
DESIGN


   What does Fabric look like?




© Bommarito Consulting
DESIGN

   Workflow Overview
   1. Provision (boto)
      1. Create security group.
      2. Create storage mapping.
      3. Create instance.
   2. Deploy (Fabric)
      1. Resize root volume (not required by newer OS images).
      2. Disable software firewall (no routing/ QoS, use AWS hardware).
      3. Upgrade base OS packages and reboot.
      4. Enroll system in public OEL yum and install oracle -validated.
      5. Setup basic Oracle DB and OFA requirements.
      6. Install database software and run post-install scripts.
      7. Create a listener.
      8. Create a database.


© Bommarito Consulting
EXECUTE




© Bommarito Consulting
EXECUTE


   And an aside on cloud performance: don’t let anyone tell you that I/O
   isn’t available on public cloud.

    hi1.4xlarge instances: ORION benchmarks at 1.8GB/s large
     reads, 40k IOPS, stable <1ms latency.
    Provisioned IOPS: dynamically provisioned storage that can be
     configured to provide guaranteed IOPS.
    RAID/LVM: just as viable in the cloud as with DAS/NAS.
    Application design: Was I/O the bottleneck because it had to be or
     because your application was designed when memory was expensive ?




© Bommarito Consulting
EXTRAPOLATE

   Let’s go back to our motivating problem:

   “I want a ________ server. I want it now. I want it to look the same every
   time, but be easily configurable if I do want it to change. I only want to pay for
   it when I use it. Did I mention now?”

   How many times have you heard something like this need?
    Development for testing, QA, skunkworks.
    Sysadmins for testing, QA, skunkworks.
    Sysadmins for HA, DR.
    Management for compliance, cost, and urgency.




© Bommarito Consulting
EXTRAPOLATE


   Signs you might be a good candidate:
    Large number of similar assets.
    Large number of repetitive tasks (or large sysadmin team).
    Audit requirements around deployment and ongoing configuration changes.
    Unpredictable, variable, or low utilization, e.g., uncertain usage, bursty
     usage, or overcapacitization.
    Bottlenecking in the dev->sysadmin->QA workflow.

   Signs you might not be a good candidate:
    Tasks are not repeated enough relative to complexity/cost to amortize setup
     costs.
    Total number of assets is low.
    Predictable, high utilization.
    Low-to-no compliance environment.



© Bommarito Consulting
REFERENCES

 Bommarito Consulting Blog
    Oracle ORION I/O benchmark results for AWS EC2 hi1.4xlarge
     instance type
 Software:
      Fabric
      Boto
      Puppet
      Chef
 Businesses
    Amazon Web Services
    Rackspace
    Microsoft Azure

 Fabric and Boto for Managing EC2. Graham Poulter.


© Bommarito Consulting
THANKS!

        You can get these slides on my blog – http://bommaritollc.com/blog/.




                              Michael J Bommarito II
                                 CEO, Bommarito Consulting, LLC
                                 Email: michael@bommaritollc.com
                                 Web: http://bommaritollc.com/




© Bommarito Consulting

Weitere ähnliche Inhalte

Was ist angesagt?

Jimwebber soa
Jimwebber soaJimwebber soa
Jimwebber soad0nn9n
 
Jim Webber R E S Tful Services
Jim  Webber    R E S Tful  ServicesJim  Webber    R E S Tful  Services
Jim Webber R E S Tful ServicesSOA Symposium
 
Paremus Cloud and OSGi Beyond the VM - OSGi Cloud Workshop March 2012
Paremus Cloud and OSGi Beyond the VM - OSGi Cloud Workshop March 2012Paremus Cloud and OSGi Beyond the VM - OSGi Cloud Workshop March 2012
Paremus Cloud and OSGi Beyond the VM - OSGi Cloud Workshop March 2012mfrancis
 
Jim Webber Martin Fowler Does My Bus Look Big In This
Jim Webber Martin Fowler Does My Bus Look Big In ThisJim Webber Martin Fowler Does My Bus Look Big In This
Jim Webber Martin Fowler Does My Bus Look Big In Thisdeimos
 
Windows Azure Platform: Articles from the Trenches, Volume One
Windows Azure Platform: Articles from the Trenches, Volume OneWindows Azure Platform: Articles from the Trenches, Volume One
Windows Azure Platform: Articles from the Trenches, Volume OneEric Nelson
 
Taking the Application Server to Web Scale with Netflix Open Source Software
Taking the Application Server to Web Scale with Netflix Open Source SoftwareTaking the Application Server to Web Scale with Netflix Open Source Software
Taking the Application Server to Web Scale with Netflix Open Source SoftwareDavid Currie
 
Frank Denneman, Duncan Epping - VMware vSphere 5 HA DeepDive
Frank Denneman, Duncan Epping - VMware vSphere 5 HA DeepDiveFrank Denneman, Duncan Epping - VMware vSphere 5 HA DeepDive
Frank Denneman, Duncan Epping - VMware vSphere 5 HA DeepDiveAlexey Miasoedov
 
Practical Performance: Understand and improve the performance of your applica...
Practical Performance: Understand and improve the performance of your applica...Practical Performance: Understand and improve the performance of your applica...
Practical Performance: Understand and improve the performance of your applica...Chris Bailey
 
Using OSGi as a Cloud Platform - Jan Rellermeyer
Using OSGi as a Cloud Platform - Jan RellermeyerUsing OSGi as a Cloud Platform - Jan Rellermeyer
Using OSGi as a Cloud Platform - Jan Rellermeyermfrancis
 
Leveraging the Cloud: Getting the more bang for your buck
Leveraging the Cloud: Getting the more bang for your buckLeveraging the Cloud: Getting the more bang for your buck
Leveraging the Cloud: Getting the more bang for your buckDesk
 
Cloud & OSGi - The Dawn of Composite Clouds (Now with demo videos)
Cloud & OSGi - The Dawn of Composite Clouds (Now with demo videos)Cloud & OSGi - The Dawn of Composite Clouds (Now with demo videos)
Cloud & OSGi - The Dawn of Composite Clouds (Now with demo videos)mfrancis
 
Zabbix 101 - Enterprise Monitoring doesn't have to suck
Zabbix 101 - Enterprise Monitoring doesn't have to suckZabbix 101 - Enterprise Monitoring doesn't have to suck
Zabbix 101 - Enterprise Monitoring doesn't have to suckJamie Duncan
 
An intro to serverless and OpenWhisk for Kafka users
An intro to serverless and OpenWhisk for Kafka usersAn intro to serverless and OpenWhisk for Kafka users
An intro to serverless and OpenWhisk for Kafka usersDale Lane
 
Seatwave Web Peformance Optimisation Case Study
Seatwave Web Peformance Optimisation Case StudySeatwave Web Peformance Optimisation Case Study
Seatwave Web Peformance Optimisation Case StudyStephen Thair
 
Java EE 7: Boosting Productivity and Embracing HTML5
Java EE 7: Boosting Productivity and Embracing HTML5Java EE 7: Boosting Productivity and Embracing HTML5
Java EE 7: Boosting Productivity and Embracing HTML5Arun Gupta
 
Continuous Deployment & Delivery + Culture Hacks @ QCON 2012
Continuous Deployment & Delivery + Culture Hacks @ QCON 2012Continuous Deployment & Delivery + Culture Hacks @ QCON 2012
Continuous Deployment & Delivery + Culture Hacks @ QCON 2012Jesse Robbins
 
CloudBees Toronto Presentation
CloudBees Toronto PresentationCloudBees Toronto Presentation
CloudBees Toronto PresentationXebiaLabs
 
Asynchronous OSGi – Promises for the Masses - T Ward
Asynchronous OSGi – Promises for the Masses - T WardAsynchronous OSGi – Promises for the Masses - T Ward
Asynchronous OSGi – Promises for the Masses - T Wardmfrancis
 

Was ist angesagt? (20)

Accumulo on EC2
Accumulo on EC2Accumulo on EC2
Accumulo on EC2
 
Jimwebber soa
Jimwebber soaJimwebber soa
Jimwebber soa
 
Jim Webber R E S Tful Services
Jim  Webber    R E S Tful  ServicesJim  Webber    R E S Tful  Services
Jim Webber R E S Tful Services
 
Paremus Cloud and OSGi Beyond the VM - OSGi Cloud Workshop March 2012
Paremus Cloud and OSGi Beyond the VM - OSGi Cloud Workshop March 2012Paremus Cloud and OSGi Beyond the VM - OSGi Cloud Workshop March 2012
Paremus Cloud and OSGi Beyond the VM - OSGi Cloud Workshop March 2012
 
Jim Webber Martin Fowler Does My Bus Look Big In This
Jim Webber Martin Fowler Does My Bus Look Big In ThisJim Webber Martin Fowler Does My Bus Look Big In This
Jim Webber Martin Fowler Does My Bus Look Big In This
 
Windows Azure Platform: Articles from the Trenches, Volume One
Windows Azure Platform: Articles from the Trenches, Volume OneWindows Azure Platform: Articles from the Trenches, Volume One
Windows Azure Platform: Articles from the Trenches, Volume One
 
Taking the Application Server to Web Scale with Netflix Open Source Software
Taking the Application Server to Web Scale with Netflix Open Source SoftwareTaking the Application Server to Web Scale with Netflix Open Source Software
Taking the Application Server to Web Scale with Netflix Open Source Software
 
Frank Denneman, Duncan Epping - VMware vSphere 5 HA DeepDive
Frank Denneman, Duncan Epping - VMware vSphere 5 HA DeepDiveFrank Denneman, Duncan Epping - VMware vSphere 5 HA DeepDive
Frank Denneman, Duncan Epping - VMware vSphere 5 HA DeepDive
 
Web Frameworks
Web FrameworksWeb Frameworks
Web Frameworks
 
Practical Performance: Understand and improve the performance of your applica...
Practical Performance: Understand and improve the performance of your applica...Practical Performance: Understand and improve the performance of your applica...
Practical Performance: Understand and improve the performance of your applica...
 
Using OSGi as a Cloud Platform - Jan Rellermeyer
Using OSGi as a Cloud Platform - Jan RellermeyerUsing OSGi as a Cloud Platform - Jan Rellermeyer
Using OSGi as a Cloud Platform - Jan Rellermeyer
 
Leveraging the Cloud: Getting the more bang for your buck
Leveraging the Cloud: Getting the more bang for your buckLeveraging the Cloud: Getting the more bang for your buck
Leveraging the Cloud: Getting the more bang for your buck
 
Cloud & OSGi - The Dawn of Composite Clouds (Now with demo videos)
Cloud & OSGi - The Dawn of Composite Clouds (Now with demo videos)Cloud & OSGi - The Dawn of Composite Clouds (Now with demo videos)
Cloud & OSGi - The Dawn of Composite Clouds (Now with demo videos)
 
Zabbix 101 - Enterprise Monitoring doesn't have to suck
Zabbix 101 - Enterprise Monitoring doesn't have to suckZabbix 101 - Enterprise Monitoring doesn't have to suck
Zabbix 101 - Enterprise Monitoring doesn't have to suck
 
An intro to serverless and OpenWhisk for Kafka users
An intro to serverless and OpenWhisk for Kafka usersAn intro to serverless and OpenWhisk for Kafka users
An intro to serverless and OpenWhisk for Kafka users
 
Seatwave Web Peformance Optimisation Case Study
Seatwave Web Peformance Optimisation Case StudySeatwave Web Peformance Optimisation Case Study
Seatwave Web Peformance Optimisation Case Study
 
Java EE 7: Boosting Productivity and Embracing HTML5
Java EE 7: Boosting Productivity and Embracing HTML5Java EE 7: Boosting Productivity and Embracing HTML5
Java EE 7: Boosting Productivity and Embracing HTML5
 
Continuous Deployment & Delivery + Culture Hacks @ QCON 2012
Continuous Deployment & Delivery + Culture Hacks @ QCON 2012Continuous Deployment & Delivery + Culture Hacks @ QCON 2012
Continuous Deployment & Delivery + Culture Hacks @ QCON 2012
 
CloudBees Toronto Presentation
CloudBees Toronto PresentationCloudBees Toronto Presentation
CloudBees Toronto Presentation
 
Asynchronous OSGi – Promises for the Masses - T Ward
Asynchronous OSGi – Promises for the Masses - T WardAsynchronous OSGi – Promises for the Masses - T Ward
Asynchronous OSGi – Promises for the Masses - T Ward
 

Ähnlich wie Automating Oracle Database deployment with Amazon Web Services, fabric, and boto

Monitoring IAAS & PAAS Solutions
Monitoring IAAS & PAAS SolutionsMonitoring IAAS & PAAS Solutions
Monitoring IAAS & PAAS SolutionsColloquium
 
Scaling capacity while saving cash
Scaling capacity while saving cashScaling capacity while saving cash
Scaling capacity while saving cashKim Moir
 
Spca2014 share point azure_the_best_of_friends_moneypenny
Spca2014 share point  azure_the_best_of_friends_moneypennySpca2014 share point  azure_the_best_of_friends_moneypenny
Spca2014 share point azure_the_best_of_friends_moneypennyNCCOMMS
 
Power Systems Projects in Research
Power Systems Projects in ResearchPower Systems Projects in Research
Power Systems Projects in ResearchDaniel Krook
 
2016 - Open Mic - IGNITE - Open Infrastructure = ANY Infrastructure
2016 - Open Mic - IGNITE - Open Infrastructure = ANY Infrastructure2016 - Open Mic - IGNITE - Open Infrastructure = ANY Infrastructure
2016 - Open Mic - IGNITE - Open Infrastructure = ANY Infrastructuredevopsdaysaustin
 
OpenStack Preso: DevOps on Hybrid Infrastructure
OpenStack Preso: DevOps on Hybrid InfrastructureOpenStack Preso: DevOps on Hybrid Infrastructure
OpenStack Preso: DevOps on Hybrid Infrastructurerhirschfeld
 
Where can you use serverless?  How does it relate to APIs, integration and mi...
Where can you use serverless?  How does it relate to APIs, integration and mi...Where can you use serverless?  How does it relate to APIs, integration and mi...
Where can you use serverless?  How does it relate to APIs, integration and mi...Kim Clark
 
Continuous Deployment @ AWS Re:Invent
Continuous Deployment @ AWS Re:InventContinuous Deployment @ AWS Re:Invent
Continuous Deployment @ AWS Re:InventJohn Schneider
 
Continuous Integration and Deployment Best Practices on AWS (ARC307) | AWS re...
Continuous Integration and Deployment Best Practices on AWS (ARC307) | AWS re...Continuous Integration and Deployment Best Practices on AWS (ARC307) | AWS re...
Continuous Integration and Deployment Best Practices on AWS (ARC307) | AWS re...Amazon Web Services
 
PHP Buildpacks in the Cloud on Bluemix
PHP Buildpacks in the Cloud on BluemixPHP Buildpacks in the Cloud on Bluemix
PHP Buildpacks in the Cloud on BluemixIBM
 
Cloud Foundry for PHP developers
Cloud Foundry for PHP developersCloud Foundry for PHP developers
Cloud Foundry for PHP developersDaniel Krook
 
J2EE Performance And Scalability Bp
J2EE Performance And Scalability BpJ2EE Performance And Scalability Bp
J2EE Performance And Scalability BpChris Adkin
 
今Serverlessが面白いわけ
今Serverlessが面白いわけ今Serverlessが面白いわけ
今Serverlessが面白いわけYoichi Kawasaki
 
Above the cloud joarder kamal
Above the cloud   joarder kamalAbove the cloud   joarder kamal
Above the cloud joarder kamalJoarder Kamal
 
Understanding the Windows Azure platform - june
Understanding the Windows Azure platform  - juneUnderstanding the Windows Azure platform  - june
Understanding the Windows Azure platform - juneDavidGristwood
 
Introduction To Apache Mesos
Introduction To Apache MesosIntroduction To Apache Mesos
Introduction To Apache MesosTimothy St. Clair
 

Ähnlich wie Automating Oracle Database deployment with Amazon Web Services, fabric, and boto (20)

Monitoring IAAS & PAAS Solutions
Monitoring IAAS & PAAS SolutionsMonitoring IAAS & PAAS Solutions
Monitoring IAAS & PAAS Solutions
 
Scaling capacity while saving cash
Scaling capacity while saving cashScaling capacity while saving cash
Scaling capacity while saving cash
 
Jumpstart Azure
Jumpstart AzureJumpstart Azure
Jumpstart Azure
 
Spca2014 share point azure_the_best_of_friends_moneypenny
Spca2014 share point  azure_the_best_of_friends_moneypennySpca2014 share point  azure_the_best_of_friends_moneypenny
Spca2014 share point azure_the_best_of_friends_moneypenny
 
Power Systems Projects in Research
Power Systems Projects in ResearchPower Systems Projects in Research
Power Systems Projects in Research
 
2016 - Open Mic - IGNITE - Open Infrastructure = ANY Infrastructure
2016 - Open Mic - IGNITE - Open Infrastructure = ANY Infrastructure2016 - Open Mic - IGNITE - Open Infrastructure = ANY Infrastructure
2016 - Open Mic - IGNITE - Open Infrastructure = ANY Infrastructure
 
OpenStack Preso: DevOps on Hybrid Infrastructure
OpenStack Preso: DevOps on Hybrid InfrastructureOpenStack Preso: DevOps on Hybrid Infrastructure
OpenStack Preso: DevOps on Hybrid Infrastructure
 
Where can you use serverless?  How does it relate to APIs, integration and mi...
Where can you use serverless?  How does it relate to APIs, integration and mi...Where can you use serverless?  How does it relate to APIs, integration and mi...
Where can you use serverless?  How does it relate to APIs, integration and mi...
 
Continuous Deployment @ AWS Re:Invent
Continuous Deployment @ AWS Re:InventContinuous Deployment @ AWS Re:Invent
Continuous Deployment @ AWS Re:Invent
 
Continuous Integration and Deployment Best Practices on AWS (ARC307) | AWS re...
Continuous Integration and Deployment Best Practices on AWS (ARC307) | AWS re...Continuous Integration and Deployment Best Practices on AWS (ARC307) | AWS re...
Continuous Integration and Deployment Best Practices on AWS (ARC307) | AWS re...
 
PHP Buildpacks in the Cloud on Bluemix
PHP Buildpacks in the Cloud on BluemixPHP Buildpacks in the Cloud on Bluemix
PHP Buildpacks in the Cloud on Bluemix
 
Cloud Foundry for PHP developers
Cloud Foundry for PHP developersCloud Foundry for PHP developers
Cloud Foundry for PHP developers
 
J2EE Performance And Scalability Bp
J2EE Performance And Scalability BpJ2EE Performance And Scalability Bp
J2EE Performance And Scalability Bp
 
The Enterprise Cloud
The Enterprise CloudThe Enterprise Cloud
The Enterprise Cloud
 
今Serverlessが面白いわけ
今Serverlessが面白いわけ今Serverlessが面白いわけ
今Serverlessが面白いわけ
 
Above the cloud joarder kamal
Above the cloud   joarder kamalAbove the cloud   joarder kamal
Above the cloud joarder kamal
 
Cloud Computing
Cloud ComputingCloud Computing
Cloud Computing
 
Introduction_-_To-_-SRE
Introduction_-_To-_-SREIntroduction_-_To-_-SRE
Introduction_-_To-_-SRE
 
Understanding the Windows Azure platform - june
Understanding the Windows Azure platform  - juneUnderstanding the Windows Azure platform  - june
Understanding the Windows Azure platform - june
 
Introduction To Apache Mesos
Introduction To Apache MesosIntroduction To Apache Mesos
Introduction To Apache Mesos
 

Kürzlich hochgeladen

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 organizationRadu Cotescu
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProduct Anonymous
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationSafe Software
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking MenDelhi Call girls
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEarley Information Science
 
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 FresherRemote DBA Services
 
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...Enterprise Knowledge
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUK Journal
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...Neo4j
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking MenDelhi Call girls
 
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 WorkerThousandEyes
 
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 textsMaria Levchenko
 
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...Drew Madelung
 
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 2024The Digital Insurer
 
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
 
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)wesley chun
 
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 Nanonetsnaman860154
 
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 DevelopmentsTrustArc
 
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 productivityPrincipled Technologies
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking MenDelhi Call girls
 

Kürzlich hochgeladen (20)

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
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
 
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
 
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...
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
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
 
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
 
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...
 
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
 
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...
 
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)
 
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
 
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
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 

Automating Oracle Database deployment with Amazon Web Services, fabric, and boto

  • 1. AUTOMATING ORACLE DATABASE SEMOP DEPLOYMENT WITH AMAZON WEB Feb. 1 2 th , 2013 SERVICES, FABRIC, AND BOTO
  • 2. INTRODUCTION  Michael J Bommarito II  CEO, Bommarito Consulting, LLC  Email: michael@bommaritollc.com  Web: http://bommaritollc.com/  LinkedIn: http://linkedin.com/in/bommarito Expert infrastructure, development, and data services.  CIO, Solid Logic Technol ogy, Inc.  Web: http://solidl ogi c.com/ Large, labor -intensive sof tware and infrastructure projects. © Bommarito Consulting
  • 3. GOALS  DEF INE - Under stand the myriad of acronyms and cr yptic phrases:  IaaS, DevOps, automated deployment…  DESIGN - Under stand how the requirements fit together:  IaaS provider and/or private cloud  Boto  Fabric  Oracle  EXECUTE – Run and modify a basic deployment example.  EXTRAPOLATE – Discuss possibilities for real business needs. © Bommarito Consulting
  • 4. DEFINE The Cloud is dead. Long live the Cloud! Note: I try to use “cloud” as little as possible in this discussion. What do we need to cover (in increasing difficulty)?  Automated deployment  Virtualization  Automated provisioning  Configuration management  Infrastructure-as-a-Service (IaaS)  Programmable infrastructure (“infrastructure as code”)  DevOps © Bommarito Consulting
  • 5. DEFINE  Automated deployment: Process-driven build of software, OS and up.  Examples: Oracle response files, RHEL kickstart, Puppet, that maze of bash or perl scripts.  Virtualization: Abstract raw compute and storage for more flexible, efficient utilizations.  Hardware: Xen/KVM, ESx, Hyper-V, Oracle VM (Xen), VirtualBox  “Storage:” SAN, DFS, S3, OpenStack Swift, Storage-as-a-Service  Automated provisioning: Process-driven build of compute, storage, and network resources.  Examples: Norton Ghost, vSphere/VMware Automation, xen-api, AWS APIs © Bommarito Consulting
  • 6. DEFINE  Configuration management: Process-driven management of software (apt, yum) and configuration (/ etc/, Windows Registry).  Examples: Puppet, Chef, Fabric(~), CFEngine, and, again, that maze of bash or perl scripts.  Unlike automated deployment, this is stuff you live with and change every day.  Some tools, like Puppet, can gracefully span automated deployment and configuration management.  Infrastructure-as-a-Service (IaaS): Compute, storage, and network virtualization, but with someone else running the data center and virtualization operations.  Many providers offer some form of IaaS/cloud/virtualization, but very few add real cost-adjusted value. © Bommarito Consulting
  • 7. DEFINE  Programmable infrastructure (“infrastructure as code ”): When your IaaS has a featureful API and unbounded capacity relative to your needs.  Never ask a hardware rep about lead times.  Never ask a technician when a box will be cabled.  Never ask a sysadmin when your server will be ready.  Never pay for unutilized, depreciating assets.  DevOps: Collaborative, process-driven approach to managing infrastructure and software.  Think Toyota Production System + “cloud” for infrastructure and ALM.  Reduce cost of failure and probability of failure.  Make ITIL and CMMI easy (…well, easier)!  Honest truth: More of a culture than a methodology. © Bommarito Consulting
  • 8. DESIGN Phew. Enough theory and philosophy. Let’s take inspiration from the previous slides and actually build something to solve a real problem: “I want an Oracle database server. I want it now. I want it to look the same every time, but be easily configurable if I do want it to change. I only want to pay for it when I use it. Did I mention now?” Components:  IaaS: Amazon Web Services  Automated Provisioning: boto/Fabric  Automated Deployment: Fabric © Bommarito Consulting
  • 9. DESIGN IaaS: Amazon Web Services  Fully programmable infrastructure.  Plug in credit card and email, download credentials. Automated Provisioning: boto/Fabric  Provision network, storage, and compute resources for server.  Python + configuration Automated Deployment: Fabric  Update host and ensure Oracle prereqs met.  Install software.  Configure listener and database.  Python + configuration © Bommarito Consulting
  • 10. DESIGN What does basic configuration look like?  Configuration  fabricrc: Basic fabric configuration for users, SSH config, behavior  hosts.txt: Hosts managed by Fabric infrastructure.  python-requirements.txt: Required packages for deployment server.  yum-requirements.txt: Required packages for target servers.  Templates  database.rsp: Oracle database software response file  dbca.rsp: Oracle database response file  netca.rsp: Listener response file  public-yum-el5.repo: Yum repo config, e.g., RHEL5U9 © Bommarito Consulting
  • 11. DESIGN What does Boto look like? © Bommarito Consulting
  • 12. DESIGN What does Fabric look like? © Bommarito Consulting
  • 13. DESIGN Workflow Overview 1. Provision (boto) 1. Create security group. 2. Create storage mapping. 3. Create instance. 2. Deploy (Fabric) 1. Resize root volume (not required by newer OS images). 2. Disable software firewall (no routing/ QoS, use AWS hardware). 3. Upgrade base OS packages and reboot. 4. Enroll system in public OEL yum and install oracle -validated. 5. Setup basic Oracle DB and OFA requirements. 6. Install database software and run post-install scripts. 7. Create a listener. 8. Create a database. © Bommarito Consulting
  • 15. EXECUTE And an aside on cloud performance: don’t let anyone tell you that I/O isn’t available on public cloud.  hi1.4xlarge instances: ORION benchmarks at 1.8GB/s large reads, 40k IOPS, stable <1ms latency.  Provisioned IOPS: dynamically provisioned storage that can be configured to provide guaranteed IOPS.  RAID/LVM: just as viable in the cloud as with DAS/NAS.  Application design: Was I/O the bottleneck because it had to be or because your application was designed when memory was expensive ? © Bommarito Consulting
  • 16. EXTRAPOLATE Let’s go back to our motivating problem: “I want a ________ server. I want it now. I want it to look the same every time, but be easily configurable if I do want it to change. I only want to pay for it when I use it. Did I mention now?” How many times have you heard something like this need?  Development for testing, QA, skunkworks.  Sysadmins for testing, QA, skunkworks.  Sysadmins for HA, DR.  Management for compliance, cost, and urgency. © Bommarito Consulting
  • 17. EXTRAPOLATE Signs you might be a good candidate:  Large number of similar assets.  Large number of repetitive tasks (or large sysadmin team).  Audit requirements around deployment and ongoing configuration changes.  Unpredictable, variable, or low utilization, e.g., uncertain usage, bursty usage, or overcapacitization.  Bottlenecking in the dev->sysadmin->QA workflow. Signs you might not be a good candidate:  Tasks are not repeated enough relative to complexity/cost to amortize setup costs.  Total number of assets is low.  Predictable, high utilization.  Low-to-no compliance environment. © Bommarito Consulting
  • 18. REFERENCES  Bommarito Consulting Blog  Oracle ORION I/O benchmark results for AWS EC2 hi1.4xlarge instance type  Software:  Fabric  Boto  Puppet  Chef  Businesses  Amazon Web Services  Rackspace  Microsoft Azure  Fabric and Boto for Managing EC2. Graham Poulter. © Bommarito Consulting
  • 19. THANKS! You can get these slides on my blog – http://bommaritollc.com/blog/.  Michael J Bommarito II  CEO, Bommarito Consulting, LLC  Email: michael@bommaritollc.com  Web: http://bommaritollc.com/ © Bommarito Consulting