8/18/2011




Oracle Fusion Middleware
   and Cloud Services

       Dr. Frank Munz
      August 16th, 2011
          munz & more

         The most comprehensive Oracle applications & technology content under one roof




       0Introduction
         The most comprehensive Oracle applications & technology content under one roof




                                                                                                 1
8/18/2011




                    The most comprehensive Oracle applications & technology content under one roof




              Who is this guy?
•   Frank Munz
•   Worked for and with TIBCO, BEA and Oracle
•   Founded munz & more in 2007
•   10+ years WebLogic
•   Focus on Oracle Fusion Middleware
•   Consulting and High-End Training / Workshops



                    The most comprehensive Oracle applications & technology content under one roof




                                                                                                            2
8/18/2011




munz & more
http://www.munzandmore.com



           The most comprehensive Oracle applications & technology content under one roof




         1
        Cloud Computing
           The most comprehensive Oracle applications & technology content under one roof




                                                                                                   3
8/18/2011




            1
       Cloud Computing

                 The most comprehensive Oracle applications & technology content under one roof




     What Cloud Computing is NOT
•   Google Mail
•   What we called „online“ 10 y ago
•   What we called „cluster“ 10 y ago
•   Software as a Service = SaaS



                 The most comprehensive Oracle applications & technology content under one roof




                                                                                                         4
8/18/2011




     Why is it so hard to define?
• Berkeley researchers:
  „We couldn‘t agree on a definition …“
http://www.eecs.berkeley.edu/Pubs/TechRpts/20
  09/EECS-2009-28.pdf


• Gartner definition lists criteria:
  “- Uses internet technologies …“
http://www.gartner.com/it/page.jsp?id=1035013


                    The most comprehensive Oracle applications & technology content under one roof




  George Reese on Twitter says …




                    The most comprehensive Oracle applications & technology content under one roof




                                                                                                            5
8/18/2011




     Definition of Cloud Computing
Criteria:

1.   You consume resources as services
2.   Pay per use / charge back
3.   Rapid elasticity
4.   Self service



                   The most comprehensive Oracle applications & technology content under one roof




              Public Cloud

• No upfront payment
• More than outsourcing (no fix contract)
  -> somebody else owns infrastructure
• New business models emerge
• Cloud services


                   The most comprehensive Oracle applications & technology content under one roof




                                                                                                           6
8/18/2011




 New Business Models


  Are real companies
     making money
       in clouds?



        The most comprehensive Oracle applications & technology content under one roof




    Amazon Cloud
http://99designs.com/




        The most comprehensive Oracle applications & technology content under one roof




                                                                                                7
8/18/2011




             The most comprehensive Oracle applications & technology content under one roof




         99 Designs

$1,122,918   payouts last month
   $90,872   projects to date
     1,122   open projects
        90   designs per project


             The most comprehensive Oracle applications & technology content under one roof




                                                                                                     8
8/18/2011




    99 Designs




head count: 30



      The most comprehensive Oracle applications & technology content under one roof




    2
IaaS / PaaS and Amazon
      The most comprehensive Oracle applications & technology content under one roof




                                                                                              9
8/18/2011




    Infrastructure as a
       Service (IaaS)
             =
   programmable data
   center in the cloud
             The most comprehensive Oracle applications & technology content under one roof




Amazon Web Services (AWS) Instances




             The most comprehensive Oracle applications & technology content under one roof




                                                                                                    10
8/18/2011




         AWS Instance Pricing




                  The most comprehensive Oracle applications & technology content under one roof




 AWS: Free Micro Instance for 1 Year!
For every new customer free resources / month:
• 750 hours of Amazon EC2 Linux Micro
  Instance
• 10 GB of Amazon Elastic Block Storage (EBS)
• 5 GB of Amazon S3 storage
• 30 GB per of internet data transfer
-> use it for anything you like ☺


                  The most comprehensive Oracle applications & technology content under one roof




                                                                                                         11
8/18/2011




           3
       Oracle in Public Clouds
             The most comprehensive Oracle applications & technology content under one roof




        Oracle on AWS


1.Oracle AMIs on EC2
2.Oracle VM Templates on EC2
3.DIY AMIs


             The most comprehensive Oracle applications & technology content under one roof




                                                                                                    12
8/18/2011




         1. Oracle AMIs for AWS
http://aws.amazon.com/amis/Oracle




                     The most comprehensive Oracle applications & technology content under one roof




         Oracle AMIs Limitations
• Newest Oracle SW versions only
•   WebLogic / SOA Suite images US region only
•   Very few images in SE-Asia region
•   Some images only 32-bit
•   Most images S3 based -> not persistent




                     The most comprehensive Oracle applications & technology content under one roof




                                                                                                            13
8/18/2011




   2. Oracle VM Templates on EC2
• Oracle VM and Amazon’s EC2 are both Xen based
-> AWS now offers Oracle VM based AMIs

http://aws.amazon.com/solutions/global-solution-
  providers/oracle/faqs/

Expectation:
More up to date images, improved availability
for different regions


                   The most comprehensive Oracle applications & technology content under one roof




    Oracle VM Templates on EC2




                   The most comprehensive Oracle applications & technology content under one roof




                                                                                                          14
8/18/2011




    Oracle VM Templates on EC2
• Must use AWS console -> no Oracle VM Tooling
-> No live migration
• Only High-Memory EC2 instances
• Oracle RAC not supported
• Oracle supplied AMIs only
  (no documented way to create your own AMI)
• US-East region only
-> tech preview, not for wider usage

                   The most comprehensive Oracle applications & technology content under one roof




        3. Create your own AMI
• You can bring you license / buy new license
• Start with current OEL / RedHat / CentOS
  Linux version
• Start with EBS-based AMI
• Select if 64-bit Linux if appropriate
• Install the SW you need
• After configuration -> Create a new AMI …


                   The most comprehensive Oracle applications & technology content under one roof




                                                                                                          15
8/18/2011




Create your own OFM AMI




           The most comprehensive Oracle applications & technology content under one roof




         4
  Distributed OFM Installations
           The most comprehensive Oracle applications & technology content under one roof




                                                                                                  16
8/18/2011




       Clustering in the Cloud




                The most comprehensive Oracle applications & technology content under one roof




JNDI-Updates / Cluster Heartbeats
• There is no IP-multicast
  with AWS or Rackspace

-> use WLS unicast setting instead
  (it‘s default, but less scalable)


                The most comprehensive Oracle applications & technology content under one roof




                                                                                                       17
8/18/2011




              JMS Scalability / Availability
               Distributed Destinations

                                    Managed Server1
Distributed Destinaton




                       {
                               Q         JMS_Surf1
                                                                            Service
                             Managed Server2                                Migration
        JNDI
   lookup(“UDD”)               Q         JMS_Surf2

                             Managed Server3

     Q                          Q         JMS_Surf3
                                                                            Whole-
Destination returned         Managed Server3                                Server
                                Q         JMS_Surf3                         Migration
                         The most comprehensive Oracle applications & technology content under one roof




           WebLogic JMS in the Cloud
 • No floating IPs in the Cloud
   -> No whole-server migration
 • Use WebLogic service migration
 • Automatic service migration requires
   nodemanager

 -> JMS alternative for applications:
   Opt for AWS Simple Queue Service (SQS)


                         The most comprehensive Oracle applications & technology content under one roof




                                                                                                                18
8/18/2011




 Don’t forget: Cloud Management
Scripted configuration, monitoring, multi-cloud
support, server templates?

• Oracle Enterprise Manager
• Enstratus
• RightScale
     • Group of server configs that can be cloned
     • Multi-cloud images


                       The most comprehensive Oracle applications & technology content under one roof




                    5
                    Cloud Services
                       The most comprehensive Oracle applications & technology content under one roof




                                                                                                              19
8/18/2011




            AWS Auto Scaling
• Automatically adds or removes EC2 instances
• Based on low/high threshold
  – CloudWatch metrics (EC2, RDS, SQS/SNS, RDS, …)
  – own custom metrics
• Scheduled
• Fixed size / replace unhealthy instances
• SNS notification after auto scaling


                   The most comprehensive Oracle applications & technology content under one roof




   Simple Queueing Service (SQS)
• Similar to JMS queues -> async & decoupling
• Zero installation, off-instance, WS-API
• 1 to one communication
• At least once semantic
• Message automatically persisted in store
-> No HA configuration necessary



                   The most comprehensive Oracle applications & technology content under one roof




                                                                                                          20
8/18/2011




    Simple Notification Service (SNS)
•   Similar to JMS topics
•   1 to one many communication
•   best-effort semantics
•   Supports following messaging formats
    – HTTP(S) using POST
    – Email
    – Email with JSON format
    – SQS


                     The most comprehensive Oracle applications & technology content under one roof




     SQS vs. WebLogic JMS Queues




                     The most comprehensive Oracle applications & technology content under one roof




                                                                                                            21
8/18/2011




             SNS/SQS or JMS?
SQS/SNS :
• Similar in function
• Zero installation, but AWS only
• Less parameters (ACK mode, compr., flow ctrl, …)
• No HA configuration necessary
• Unlimited, managed, reliable persistent store
• APIs but no JMS interface
• Free usage tier
-> alternative for applications

                     The most comprehensive Oracle applications & technology content under one roof




    Storage/DB Design Alternatives
•   S3            large, static objects
•   EBS           persistent storage (DB data file)
•   RDS           DB as a Service (MySQL/Oracle)
•   local         transient storage
•   Cloud Front   content distribution network
•   Simple DB     simple data, indexing, query



                     The most comprehensive Oracle applications & technology content under one roof




                                                                                                            22
8/18/2011




              Launch DB Wizard
             for Oracle Database




                     The most comprehensive Oracle applications & technology content under one roof




  AWS Relational Database Service
Features:
• Off-Instance
• Zero installation
• Resizable instance running MySQL/ Oracle DB
• Multi-Availability Zone instances with failover
• Read replicas
• Backup window and automated backups
• Minor patches and version upgrade
• No support for APEX


                     The most comprehensive Oracle applications & technology content under one roof




                                                                                                            23
8/18/2011




          RDS or Custom AMI?
RDS is the better solution if
• You need a DB quickly
• You don’t have much DB or cloud knowledge
• You don’t want to hire an DBA
• What you care is the JDBC-URL to connect

Note: Calculate the monthly/yearly costs!


                   The most comprehensive Oracle applications & technology content under one roof




 Classical Java EE Cluster Architecture
                                              Dynamic Content

               Static Content




                   The most comprehensive Oracle applications & technology content under one roof




                                                                                                          24
8/18/2011




  AWS CloudFront




       The most comprehensive Oracle applications & technology content under one roof




CDN Routing: Muc-Ffm
S3 Routing: Muc-Dublin




       The most comprehensive Oracle applications & technology content under one roof




                                                                                              25
8/18/2011




       Cloud Load Balancing (LB)
• You can’t move your HW LB into the cloud
• SW based LB (HAProxy, WLS proxy plugin):
  virtualization bottleneck > 100.000 pck/s
• Amazon’s ELB = LB as a Service
• ELB is off-instance, scales itself by adding IPs




                     The most comprehensive Oracle applications & technology content under one roof




        AWS Elastic Load Balancer
              as a Service




                     The most comprehensive Oracle applications & technology content under one roof




                                                                                                            26
8/18/2011




                 6conclusion
                   The most comprehensive Oracle applications & technology content under one roof




                Conclusion
• OFM is ready for the cloud
• There is a learning curve involved
• Cloud services cannot replace clustering / HA
  setup for JMS for Oracle products (OSB etc.)
• Oracle’s public cloud offering can be improved
• Clouds are there. You can start today!



                   The most comprehensive Oracle applications & technology content under one roof




                                                                                                          27
8/18/2011




            More Information
• Blog:
  http://www.munzandmore.com/blog
• Oracle Courses:
  http://www.munzandmore.com/courses
• The Oracle Cloud Computig Book:
  http://www.amazon.com/dp/0980798000/
 ( free chapter for downloading at Oracle ArchBeat )


                    The most comprehensive Oracle applications & technology content under one roof




                    The most comprehensive Oracle applications & technology content under one roof




                                                                                                           28
8/18/2011




    thank you!


        The most comprehensive Oracle applications & technology content under one roof




      munz & more
Training and Consulting




        The most comprehensive Oracle applications & technology content under one roof




                                                                                               29

Frank munz oracle fusion middleware and aws cloud services in sync11

  • 1.
    8/18/2011 Oracle Fusion Middleware and Cloud Services Dr. Frank Munz August 16th, 2011 munz & more The most comprehensive Oracle applications & technology content under one roof 0Introduction The most comprehensive Oracle applications & technology content under one roof 1
  • 2.
    8/18/2011 The most comprehensive Oracle applications & technology content under one roof Who is this guy? • Frank Munz • Worked for and with TIBCO, BEA and Oracle • Founded munz & more in 2007 • 10+ years WebLogic • Focus on Oracle Fusion Middleware • Consulting and High-End Training / Workshops The most comprehensive Oracle applications & technology content under one roof 2
  • 3.
    8/18/2011 munz & more http://www.munzandmore.com The most comprehensive Oracle applications & technology content under one roof 1 Cloud Computing The most comprehensive Oracle applications & technology content under one roof 3
  • 4.
    8/18/2011 1 Cloud Computing The most comprehensive Oracle applications & technology content under one roof What Cloud Computing is NOT • Google Mail • What we called „online“ 10 y ago • What we called „cluster“ 10 y ago • Software as a Service = SaaS The most comprehensive Oracle applications & technology content under one roof 4
  • 5.
    8/18/2011 Why is it so hard to define? • Berkeley researchers: „We couldn‘t agree on a definition …“ http://www.eecs.berkeley.edu/Pubs/TechRpts/20 09/EECS-2009-28.pdf • Gartner definition lists criteria: “- Uses internet technologies …“ http://www.gartner.com/it/page.jsp?id=1035013 The most comprehensive Oracle applications & technology content under one roof George Reese on Twitter says … The most comprehensive Oracle applications & technology content under one roof 5
  • 6.
    8/18/2011 Definition of Cloud Computing Criteria: 1. You consume resources as services 2. Pay per use / charge back 3. Rapid elasticity 4. Self service The most comprehensive Oracle applications & technology content under one roof Public Cloud • No upfront payment • More than outsourcing (no fix contract) -> somebody else owns infrastructure • New business models emerge • Cloud services The most comprehensive Oracle applications & technology content under one roof 6
  • 7.
    8/18/2011 New BusinessModels Are real companies making money in clouds? The most comprehensive Oracle applications & technology content under one roof Amazon Cloud http://99designs.com/ The most comprehensive Oracle applications & technology content under one roof 7
  • 8.
    8/18/2011 The most comprehensive Oracle applications & technology content under one roof 99 Designs $1,122,918 payouts last month $90,872 projects to date 1,122 open projects 90 designs per project The most comprehensive Oracle applications & technology content under one roof 8
  • 9.
    8/18/2011 99 Designs head count: 30 The most comprehensive Oracle applications & technology content under one roof 2 IaaS / PaaS and Amazon The most comprehensive Oracle applications & technology content under one roof 9
  • 10.
    8/18/2011 Infrastructure as a Service (IaaS) = programmable data center in the cloud The most comprehensive Oracle applications & technology content under one roof Amazon Web Services (AWS) Instances The most comprehensive Oracle applications & technology content under one roof 10
  • 11.
    8/18/2011 AWS Instance Pricing The most comprehensive Oracle applications & technology content under one roof AWS: Free Micro Instance for 1 Year! For every new customer free resources / month: • 750 hours of Amazon EC2 Linux Micro Instance • 10 GB of Amazon Elastic Block Storage (EBS) • 5 GB of Amazon S3 storage • 30 GB per of internet data transfer -> use it for anything you like ☺ The most comprehensive Oracle applications & technology content under one roof 11
  • 12.
    8/18/2011 3 Oracle in Public Clouds The most comprehensive Oracle applications & technology content under one roof Oracle on AWS 1.Oracle AMIs on EC2 2.Oracle VM Templates on EC2 3.DIY AMIs The most comprehensive Oracle applications & technology content under one roof 12
  • 13.
    8/18/2011 1. Oracle AMIs for AWS http://aws.amazon.com/amis/Oracle The most comprehensive Oracle applications & technology content under one roof Oracle AMIs Limitations • Newest Oracle SW versions only • WebLogic / SOA Suite images US region only • Very few images in SE-Asia region • Some images only 32-bit • Most images S3 based -> not persistent The most comprehensive Oracle applications & technology content under one roof 13
  • 14.
    8/18/2011 2. Oracle VM Templates on EC2 • Oracle VM and Amazon’s EC2 are both Xen based -> AWS now offers Oracle VM based AMIs http://aws.amazon.com/solutions/global-solution- providers/oracle/faqs/ Expectation: More up to date images, improved availability for different regions The most comprehensive Oracle applications & technology content under one roof Oracle VM Templates on EC2 The most comprehensive Oracle applications & technology content under one roof 14
  • 15.
    8/18/2011 Oracle VM Templates on EC2 • Must use AWS console -> no Oracle VM Tooling -> No live migration • Only High-Memory EC2 instances • Oracle RAC not supported • Oracle supplied AMIs only (no documented way to create your own AMI) • US-East region only -> tech preview, not for wider usage The most comprehensive Oracle applications & technology content under one roof 3. Create your own AMI • You can bring you license / buy new license • Start with current OEL / RedHat / CentOS Linux version • Start with EBS-based AMI • Select if 64-bit Linux if appropriate • Install the SW you need • After configuration -> Create a new AMI … The most comprehensive Oracle applications & technology content under one roof 15
  • 16.
    8/18/2011 Create your ownOFM AMI The most comprehensive Oracle applications & technology content under one roof 4 Distributed OFM Installations The most comprehensive Oracle applications & technology content under one roof 16
  • 17.
    8/18/2011 Clustering in the Cloud The most comprehensive Oracle applications & technology content under one roof JNDI-Updates / Cluster Heartbeats • There is no IP-multicast with AWS or Rackspace -> use WLS unicast setting instead (it‘s default, but less scalable) The most comprehensive Oracle applications & technology content under one roof 17
  • 18.
    8/18/2011 JMS Scalability / Availability Distributed Destinations Managed Server1 Distributed Destinaton { Q JMS_Surf1 Service Managed Server2 Migration JNDI lookup(“UDD”) Q JMS_Surf2 Managed Server3 Q Q JMS_Surf3 Whole- Destination returned Managed Server3 Server Q JMS_Surf3 Migration The most comprehensive Oracle applications & technology content under one roof WebLogic JMS in the Cloud • No floating IPs in the Cloud -> No whole-server migration • Use WebLogic service migration • Automatic service migration requires nodemanager -> JMS alternative for applications: Opt for AWS Simple Queue Service (SQS) The most comprehensive Oracle applications & technology content under one roof 18
  • 19.
    8/18/2011 Don’t forget:Cloud Management Scripted configuration, monitoring, multi-cloud support, server templates? • Oracle Enterprise Manager • Enstratus • RightScale • Group of server configs that can be cloned • Multi-cloud images The most comprehensive Oracle applications & technology content under one roof 5 Cloud Services The most comprehensive Oracle applications & technology content under one roof 19
  • 20.
    8/18/2011 AWS Auto Scaling • Automatically adds or removes EC2 instances • Based on low/high threshold – CloudWatch metrics (EC2, RDS, SQS/SNS, RDS, …) – own custom metrics • Scheduled • Fixed size / replace unhealthy instances • SNS notification after auto scaling The most comprehensive Oracle applications & technology content under one roof Simple Queueing Service (SQS) • Similar to JMS queues -> async & decoupling • Zero installation, off-instance, WS-API • 1 to one communication • At least once semantic • Message automatically persisted in store -> No HA configuration necessary The most comprehensive Oracle applications & technology content under one roof 20
  • 21.
    8/18/2011 Simple Notification Service (SNS) • Similar to JMS topics • 1 to one many communication • best-effort semantics • Supports following messaging formats – HTTP(S) using POST – Email – Email with JSON format – SQS The most comprehensive Oracle applications & technology content under one roof SQS vs. WebLogic JMS Queues The most comprehensive Oracle applications & technology content under one roof 21
  • 22.
    8/18/2011 SNS/SQS or JMS? SQS/SNS : • Similar in function • Zero installation, but AWS only • Less parameters (ACK mode, compr., flow ctrl, …) • No HA configuration necessary • Unlimited, managed, reliable persistent store • APIs but no JMS interface • Free usage tier -> alternative for applications The most comprehensive Oracle applications & technology content under one roof Storage/DB Design Alternatives • S3 large, static objects • EBS persistent storage (DB data file) • RDS DB as a Service (MySQL/Oracle) • local transient storage • Cloud Front content distribution network • Simple DB simple data, indexing, query The most comprehensive Oracle applications & technology content under one roof 22
  • 23.
    8/18/2011 Launch DB Wizard for Oracle Database The most comprehensive Oracle applications & technology content under one roof AWS Relational Database Service Features: • Off-Instance • Zero installation • Resizable instance running MySQL/ Oracle DB • Multi-Availability Zone instances with failover • Read replicas • Backup window and automated backups • Minor patches and version upgrade • No support for APEX The most comprehensive Oracle applications & technology content under one roof 23
  • 24.
    8/18/2011 RDS or Custom AMI? RDS is the better solution if • You need a DB quickly • You don’t have much DB or cloud knowledge • You don’t want to hire an DBA • What you care is the JDBC-URL to connect Note: Calculate the monthly/yearly costs! The most comprehensive Oracle applications & technology content under one roof Classical Java EE Cluster Architecture Dynamic Content Static Content The most comprehensive Oracle applications & technology content under one roof 24
  • 25.
    8/18/2011 AWSCloudFront The most comprehensive Oracle applications & technology content under one roof CDN Routing: Muc-Ffm S3 Routing: Muc-Dublin The most comprehensive Oracle applications & technology content under one roof 25
  • 26.
    8/18/2011 Cloud Load Balancing (LB) • You can’t move your HW LB into the cloud • SW based LB (HAProxy, WLS proxy plugin): virtualization bottleneck > 100.000 pck/s • Amazon’s ELB = LB as a Service • ELB is off-instance, scales itself by adding IPs The most comprehensive Oracle applications & technology content under one roof AWS Elastic Load Balancer as a Service The most comprehensive Oracle applications & technology content under one roof 26
  • 27.
    8/18/2011 6conclusion The most comprehensive Oracle applications & technology content under one roof Conclusion • OFM is ready for the cloud • There is a learning curve involved • Cloud services cannot replace clustering / HA setup for JMS for Oracle products (OSB etc.) • Oracle’s public cloud offering can be improved • Clouds are there. You can start today! The most comprehensive Oracle applications & technology content under one roof 27
  • 28.
    8/18/2011 More Information • Blog: http://www.munzandmore.com/blog • Oracle Courses: http://www.munzandmore.com/courses • The Oracle Cloud Computig Book: http://www.amazon.com/dp/0980798000/ ( free chapter for downloading at Oracle ArchBeat ) The most comprehensive Oracle applications & technology content under one roof The most comprehensive Oracle applications & technology content under one roof 28
  • 29.
    8/18/2011 thank you! The most comprehensive Oracle applications & technology content under one roof munz & more Training and Consulting The most comprehensive Oracle applications & technology content under one roof 29