Running Oracle EBS in the cloud (UKOUG APPS16 edition)

download Running Oracle EBS in the cloud (UKOUG APPS16 edition)

of 60

Embed Size (px)

Transcript of Running Oracle EBS in the cloud (UKOUG APPS16 edition)

  • Running Oracle EBS in the cloud

    ANDREJS PROKOPJEVSLead Applications Database Consultant

  • About me

    2016 Pythian 2

    Apps DBA from Riga, Latvia.

    Speaking SQL since 2001.In Oracle world since 2004.In love with Oracle EBS since 2006.

    Andrejs ProkopjevsLead Applications Database Consultant

    At Pythian since 2011



    Pythians 400+ IT professionals help companies adopt and manage disruptive technologies to better compete

    2016 Pythian 3


    2016 Pythian 4

    Infrastructure: Transforming and managing the IT infrastructure that supports the business

    DevOps: Providing critical velocityin software deployment by adoptingDevOps practices

    Cloud: Using the disruptivenature of cloud for accelerated, cost-effective growth

    Databases: Ensuring databasesare reliable, secure, available and continuously optimized

    Big Data: Harnessing the transformative power of data on a massive scale

    Advanced Analytics: Mining data for insights & business transformationusing data science

  • Systems currently managed by Pythian


    Pythian experts in 35 countries


    Millennia of experience gathered and shared over

    19 years


    11,800 2400

    2016 Pythian 5


    2016 Pythian 6

    2015 Resumes Reviewed:


    Behavioral InterviewsConducted:


    Technical Tests

    Sent: 4062 Passed: 562

    Job OffersMade: 189Accepted:


  • We are hiring !!!

    Please visit:

    HOT !!! Oracle Apps DBA position in APAC region.

    2016 Pythian 7

  • Agenda

    Certification basics. How to architect. Recommendations. Advanced configurations. R12.2. Microsoft Azure and Oracle Cloud review. Horizontal auto-scaling. Is this a supported configuration?

    2016 Pythian 8

  • Certification basics

    2016 Pythian 9

  • What is cloud?

    Google it - cloud computing is a type of Internet-based computing that provides shared computer processing resources and data to computers and other devices on demand. In other words, some virtualization platform service, which provides required resources on-

    demand, on a shared hardware base. Hosting version 2? Not only that. Virtual hardware is not everything what you get today.

    IaaS SaaS PaaS

    2016 Pythian 10

  • What is cloud?

    2016 Pythian 11

  • What is cloud?

    Pros You do not need to think about your hardware, it's support, electricity, UPS or cooler in your

    data center room, more. This is your cloud service provider responsibility. Hardware pool - sharing and distribution of the load. Transparency. "Pay per use" model. No termination fees.

    Cons Security?

    Design wise Encryption Single Point of Disaster (AWS console)

    IAM Root account

    Possible network latency with cloud service provider. 2016 Pythian 12

  • What is cloud?

    Public cloud

    Private cloud

    Hybrid cloud

    2016 Pythian 13

  • Certification

    SaaS or PaaS Ready solution. You dont need to think about it. Example: Amazon RDS (DBaaS).

    IaaS Same rules apply if that would be your local physical

    hardware. No changes. You are The Captain of your ship. ;)

    2016 Pythian 14

  • Licensing

    Licensing Mantra

    AWS EC2, AWS S3, MS Azure. Customers are required to count each virtual core as equivalent to a physical core

    Database Standard Edition: 4: closest vCore multiple of 4 * 0.25 = processors licensed

    Database Enterprise Edition: vCores * 0.5 = processors licensed (each virtual core is considered equivalent to a physical core).

    Named User Plus Licensing models

    Pay per use rates, included in Cloud service provider pricing model (Amazon - only SE1 and SE2)

    BYOL (Bring Your Own License) VMware Sorry ! Nothing changed. You need to license the whole hardware pool. Cost efficiency: do your own calculations !

    2016 Pythian 15

  • Oracle E-Business Suite

    Quick overview AWS EC2

    Amazon RDS for Oracle - NOT supported ! Sorry, only IaaS.

    MS Azure Only IaaS.

    Oracle Cloud Something special is there. But well talk about it a bit later.

    2016 Pythian 16

  • How to architect. Recommendations.

    2016 Pythian 17

  • Overview

    Our talk will be based on wrong cloud Amazon EC2

    Oracle E-Business Suite R12.1 Standard 1 Apps Tier & 1 DB Tier configuration

    High level overview

    2016 Pythian 18

  • Important !

    You are the Solution Architect

    How you design it will be the way the system is going to run

    2016 Pythian 19

  • #1: Network

    Everything should start with a proper Network design Amazon VPC

    Region / Availability Zones Subnets Network interfaces Route tables

    Security Network ACLs Security Groups Internet Gateway

    Virtual Private Gateway IPSec VPN tunnel with your on-premise network

    2016 Pythian 20

  • #1: Network

    IP address Private IP addresses dynamic. Cant be reserved and may change during instance restart. Public IP addresses dynamic, but a static IP address can be assigned via Elastic IP feature.

    Note: Public IP traffic is routed through the public internet.

    DNS By default provided by Amazon Each region has its own sub-domain Automatically updated via internal DHCP

    But contains Private IP address in the name: Route 53

    Configure your own DNS Assign names to instances, not IP addresses

    2016 Pythian 21

  • #2: Instances

    Instance actual virtual machine.

    Instance types General purpose Compute optimized Memory optimized Storage optimized Accelerated Computing

    Its all about your hardware power vCores and Elastic Compute Units, T2 instances with CPU credits / burst Memory GPU more

    2016 Pythian 22

  • #2: Instances

    Instance types #2 On-Demand (default) Spot Instances Reserved Instances Dedicated Hosts

    Mainly affects pricing.

    AMIs (Amazon Machine Images) Image of the instance Public and Private repositories

    2016 Pythian 23

  • #2: Instances Example that can be used for your Oracle E-Business Suite

    Apps Tier: m3.xlarge 4 vCores 13 ECUs 15 GB Memory

    DB Tier: r3.4xlarge 16 vCores 52 ECUs 122 GB Memory

    What AMI to use? EC2 comes with RHEL, SLES, Windows Server official package selection (pay per use licensing model) Oracle Linux available via Public AMI repository. Use for free, but dont forget about ULN licensing terms.

    122 GB RAM for EBS database? Sometimes memory size is not the primary pattern what instance type to select Each instance type has IOPS and throughput limits.

    2016 Pythian 24

  • #3: Storage

    Documentation reference.

    Storage types Amazon EBS (Elastic Block Store).

    Standard SAN-like disk volumes. Can be mounted to one EC2 instance at a time. SSD: gp2, io1 (PIOPS). HDD: st1, sc1. Different Throughput and IOPS limits.

    Amazon EC2 Instance Store (Ephemeral) Local disks. IMPORTANT: All data is lost once Instance is stopped or restarted.

    New! Amazon EFS (Elastic File System) NAS analog from Amazon NFS. Note: Not available yet in all regions.

    Amazon S3 By default used for storing AMIs and Amazon EBS disk snapshots.

    2016 Pythian 25

  • #3: Storage

    Example that can be used for your Oracle E-Business Suite Apps Tier file system

    Elastic File System is Preferable, if scale-out plans are there. Elastic Block Store standard option for Single-Tier approach. Make your own NAS server instance, mount Amazon EBS disks, and export them via NFS. gp2 standard type is absolutely enough. Based on IO credits / burst

    DB Tier Elastic Block Store Local File-System or ASM. No universal recommendation on IOPS / throughput. You MUST test, benchmark, and evaluate your own

    system performance per requirements. Hint: Database Smart Flash Cache feature can greatly improve your performance. Configure it on Instance

    Store (Ephemeral) disks.

    SQL> show parameter db_flash_cache

    NAME TYPE VALUE------------------------------------ ----------- ------------------------------db_flash_cache_file string /dev/xvda1db_flash_cache_size big integer 200GSQL> 2016 Pythian 26

  • #4: IOPS

    Most trickiest part to understand. IOPS / Throughput depends not only on Instance and

    Volume type, but also on the size of the volume. Provisioned IO (io1) volumes are not always the efficient

    option for IO intensive workload. Larger in size gp2 volumes can provide similar or better IO

    performance than smaller io1. Less cost. Can experiment putting multiple gp2 into LVM drives.

    Wrong type chosen can introduce huge performance issues. Example: sc1

    gp2 / io1 based on 16KiB I/O size, st1 / sc1 based on 1 MiB

    Oracle Database: multiblock reads DB IOPS EC2 IOPS

    2016 Pythian 27

  • #4: IOPS

    Classical reaction after long reading of the IOPS docs in different areas (EC2, EBS, RDS).

    Experiment Benchmark Find be