Developer & Fusion Middleware 1 _ Frank Munz _ Fusion and Middleware Cloud Services.pdf

1,208 views
1,128 views

Published on

0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
1,208
On SlideShare
0
From Embeds
0
Number of Embeds
3
Actions
Shares
0
Downloads
32
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Developer & Fusion Middleware 1 _ Frank Munz _ Fusion and Middleware Cloud Services.pdf

  1. 1. Oracle Fusion Middleware and Cloud Services Dr.  Frank  Munz   August  16th,  2011   munz & more   The most comprehensive Oracle applications & technology content under one roof
  2. 2. 0    Introduc:on     The most comprehensive Oracle applications & technology content under one roof
  3. 3. The most comprehensive Oracle applications & technology content under one roof
  4. 4. 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  •   Consul:ng  and  High-­‐End  Training  /  Workshops   The most comprehensive Oracle applications & technology content under one roof
  5. 5. munz & morehttp://www.munzandmore.com The most comprehensive Oracle applications & technology content under one roof
  6. 6. 1    Cloud  Compu:ng     The most comprehensive Oracle applications & technology content under one roof
  7. 7. 1Cloud Computing   The most comprehensive Oracle applications & technology content under one roof
  8. 8. What  Cloud  Compu:ng  is  NOT    •  Google  Mail  •  What  we  called  „online“  10  y  ago  •  What  we  called  „cluster“  10  y  ago  •  SoUware  as  a  Service  =  SaaS   The most comprehensive Oracle applications & technology content under one roof
  9. 9. Why  is  it  so  hard  to  define?  •  Berkeley  researchers:   „We  couldn‘t  agree  on  a  defini:on  …“    http://www.eecs.berkeley.edu/Pubs/TechRpts/ 2009/EECS-2009-28.pdf•  Gartner  defini:on  lists  criteria:     “-­‐  Uses  internet  technologies  …“http://www.gartner.com/it/page.jsp?id=1035013 The most comprehensive Oracle applications & technology content under one roof
  10. 10. George  Reese  on  Twi^er  says  …   The most comprehensive Oracle applications & technology content under one roof
  11. 11. Defini:on  of  Cloud  Compu:ng  Criteria:  1.  You  consume  resources  as  services  2.  Pay  per  use  /  charge  back  3.  Rapid  elas:city  4.  Self  service   The most comprehensive Oracle applications & technology content under one roof
  12. 12. 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
  13. 13. New  Business  Models   Are  real  companies   making  money   in  clouds?   The most comprehensive Oracle applications & technology content under one roof
  14. 14. Amazon  Cloud  h^p://99designs.com/   The most comprehensive Oracle applications & technology content under one roof
  15. 15. The most comprehensive Oracle applications & technology content under one roof
  16. 16. 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
  17. 17. 99  Designs       head  count:  30   The most comprehensive Oracle applications & technology content under one roof
  18. 18. 2    IaaS  /  PaaS  and  Amazon     The most comprehensive Oracle applications & technology content under one roof
  19. 19. Infrastructure as a Service (IaaS) =programmable datacenter in the cloud The most comprehensive Oracle applications & technology content under one roof
  20. 20. Amazon  Web  Services  (AWS)  Instances   The most comprehensive Oracle applications & technology content under one roof
  21. 21. AWS  Instance  Pricing   The most comprehensive Oracle applications & technology content under one roof
  22. 22. 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  Elas:c  Block  Storage  (EBS)  •  5  GB  of  Amazon  S3  storage  •  30  GB  per  of  internet  data  transfer  -­‐>  use  it  for  anything  you  like  J   The most comprehensive Oracle applications & technology content under one roof
  23. 23. 3    Oracle  in  Public  Clouds     The most comprehensive Oracle applications & technology content under one roof
  24. 24. 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
  25. 25. 1.  Oracle  AMIs  for  AWS  http://aws.amazon.com/amis/Oracle The most comprehensive Oracle applications & technology content under one roof
  26. 26. Oracle  AMIs  Limita:ons  •  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
  27. 27. 2.  Oracle  VM  Templates  on  EC2  •  Oracle  VM  and  Amazon’s  EC2  are  both  Xen  based  -­‐>  AWS  now  offers  Oracle  VM  based  AMIs    h^p://aws.amazon.com/solu:ons/global-­‐solu:on-­‐ providers/oracle/faqs/    Expecta:on:    More  up  to  date  images,  improved  availability  for  different  regions   The most comprehensive Oracle applications & technology content under one roof
  28. 28. Oracle  VM  Templates  on  EC2   The most comprehensive Oracle applications & technology content under one roof
  29. 29. Oracle  VM  Templates  on  EC2  •  Must  use  AWS  console  -­‐>  no  Oracle  VM  Tooling  -­‐>  No  live  migra:on  •  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
  30. 30. 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  •  AUer  configura:on  -­‐>  Create  a  new  AMI  …                     The most comprehensive Oracle applications & technology content under one roof
  31. 31. Create  your  own  OFM  AMI   The most comprehensive Oracle applications & technology content under one roof
  32. 32. 4    Distributed  OFM  Installa:ons     The most comprehensive Oracle applications & technology content under one roof
  33. 33. Clustering  in  the  Cloud   The most comprehensive Oracle applications & technology content under one roof
  34. 34. JNDI-­‐Updates  /  Cluster  Heartbeats  •  There  is  no  IP-­‐mul:cast       with  AWS  or  Rackspace  -­‐>  use  WLS  unicast  serng  instead     (it‘s  default,  but  less  scalable)   The most comprehensive Oracle applications & technology content under one roof
  35. 35. JMS  Scalability  /  Availability   Distributed  Des:na:ons   { Managed  Server1  Distributed  Des:naton   Q   JMS_Surf1   Service   Managed  Server2   Migra9on   JNDI     lookup(“UDD”)   Q   JMS_Surf2   Managed  Server3   Q   JMS_Surf3   Q   Whole-­‐Des:na:on  returned   Managed  Server3   Server   Q   JMS_Surf3   Migra9on   The most comprehensive Oracle applications & technology content under one roof
  36. 36. WebLogic  JMS  in  the  Cloud  •  No  floa:ng  IPs  in  the  Cloud   -­‐>  No  whole-­‐server  migra:on  •  Use  WebLogic  service  migra:on  •  Automa:c  service  migra:on  requires   nodemanager  -­‐>  JMS  alterna0ve  for  applica0ons:     Opt  for  AWS  Simple  Queue  Service  (SQS)   The most comprehensive Oracle applications & technology content under one roof
  37. 37. Don’t  forget:  Cloud  Management  Scripted  configura:on,  monitoring,  mul:-­‐cloud  support,  server  templates?    •  Oracle  Enterprise  Manager    •  Enstratus  •  RightScale   •   Group  of  server  configs  that  can  be  cloned   •   Mul:-­‐cloud  images   The most comprehensive Oracle applications & technology content under one roof
  38. 38. 5    Cloud  Services     The most comprehensive Oracle applications & technology content under one roof
  39. 39. AWS  Auto  Scaling  •  Automa:cally  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  no:fica:on  aUer  auto  scaling   The most comprehensive Oracle applications & technology content under one roof
  40. 40. Simple  Queueing  Service  (SQS)  •  Similar  to  JMS  queues  -­‐>  async  &  decoupling  •  Zero  installa:on,  off-­‐instance,  WS-­‐API  •  1  to  one  communica:on  •  At  least  once  seman:c  •  Message  automa:cally  persisted  in  store  -­‐>  No  HA  configura:on  necessary   The most comprehensive Oracle applications & technology content under one roof
  41. 41. Simple  No:fica:on  Service  (SNS)  •  Similar  to  JMS  topics  •  1  to  one  many  communica:on  •  best-­‐effort  seman:cs  •  Supports  following  messaging  formats   –  HTTP(S)  using  POST   –  Email   –  Email  with  JSON  format   –  SQS   The most comprehensive Oracle applications & technology content under one roof
  42. 42. SQS  vs.  WebLogic  JMS  Queues   The most comprehensive Oracle applications & technology content under one roof
  43. 43. SNS/SQS  or  JMS?  SQS/SNS  :  •  Similar  in  func:on  •  Zero  installa:on,  but  AWS  only  •  Less  parameters  (ACK  mode,  compr.,  flow  ctrl,  …)  •  No  HA  configura:on  necessary  •  Unlimited,  managed,  reliable  persistent  store  •  APIs  but  no  JMS  interface    •  Free  usage  :er  -­‐>    alterna:ve  for  applica:ons   The most comprehensive Oracle applications & technology content under one roof
  44. 44. Storage/DB  Design  Alterna:ves  •  S3          large,  sta:c  objects  •  EBS        persistent  storage  (DB  data  file)  •  RDS        DB  as  a  Service  (MySQL/Oracle)  •  local        transient  storage  •  Cloud  Front    content  distribu:on  network  •  Simple  DB    simple  data,  indexing,  query   The most comprehensive Oracle applications & technology content under one roof
  45. 45. Launch  DB  Wizard  for  Oracle  Database   The most comprehensive Oracle applications & technology content under one roof
  46. 46. AWS  Rela:onal  Database  Service  Features:  •  Off-­‐Instance  •  Zero  installa:on  •  Resizable  instance  running  MySQL/  Oracle  DB  •  Mul:-­‐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
  47. 47. RDS  or  Custom  AMI?  RDS  is  the  be^er  solu:on  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
  48. 48. Classical  Java  EE  Cluster  Architecture   Dynamic  Content   Sta9c  Content   The most comprehensive Oracle applications & technology content under one roof
  49. 49. AWS  CloudFront   The most comprehensive Oracle applications & technology content under one roof
  50. 50. CDN  Rou:ng:  Muc-­‐Ffm  S3  Rou:ng:  Muc-­‐Dublin   The most comprehensive Oracle applications & technology content under one roof
  51. 51. Cloud  Load  Balancing  (LB)  •  You  can’t  move  your  HW  LB  into  the  cloud  •  SW  based  LB  (HAProxy,  WLS  proxy  plugin):   virtualiza:on  bo^leneck  >  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
  52. 52. AWS  Elas:c  Load  Balancer     as  a  Service   The most comprehensive Oracle applications & technology content under one roof
  53. 53. 6    conclusion    The most comprehensive Oracle applications & technology content under one roof
  54. 54. 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
  55. 55. More  Informa:on  •  Blog:         h^p://www.munzandmore.com/blog  •  Courses:     h^p://www.munzandmore.com/courses  •  Book:       h^p://www.amazon.com/dp/0980798000/    (  free  chapter  for  downloading  at  Oracle  ArchBeat  )     The most comprehensive Oracle applications & technology content under one roof
  56. 56. The most comprehensive Oracle applications & technology content under one roof
  57. 57. thank you! The most comprehensive Oracle applications & technology content under one roof
  58. 58. munz & moreTraining and Consulting     The most comprehensive Oracle applications & technology content under one roof

×