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

58
The most comprehensive Oracle applications & technology content under one roof The most comprehensive Oracle applications & technology content under one roof Oracle Fusion Middleware and Cloud Services Dr. Frank Munz August 16 th , 2011 munz & more

description

 

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

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

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

Oracle Fusion Middleware

and Cloud Services

Dr.  Frank  Munz  August  16th,  2011  

munz & more

 

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

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

0    

   

Introduc:on  

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

The most comprehensive Oracle applications & technology content under one roof

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

The most comprehensive Oracle applications & technology content under one roof

•   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  

Who  is  this  guy?  

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

The most comprehensive Oracle applications & technology content under one roof

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

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

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

1    

   

Cloud  Compu:ng  

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

The most comprehensive Oracle applications & technology content under one roof

Cloud Computing 1    

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

The most comprehensive Oracle applications & technology content under one roof

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  

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

The most comprehensive Oracle applications & technology content under one roof

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

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

The most comprehensive Oracle applications & technology content under one roof

George  Reese  on  Twi^er  says  …  

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

The most comprehensive Oracle applications & technology content under one roof

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  

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

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  

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

The most comprehensive Oracle applications & technology content under one roof

New  Business  Models  

Are  real  companies  making  money  in  clouds?  

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

The most comprehensive Oracle applications & technology content under one roof

Amazon  Cloud  h^p://99designs.com/  

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

The most comprehensive Oracle applications & technology content under one roof

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

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  

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

The most comprehensive Oracle applications & technology content under one roof

99  Designs  

   

head  count:  30  

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

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

2    

   

IaaS  /  PaaS  and  Amazon  

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

The most comprehensive Oracle applications & technology content under one roof

Infrastructure as a Service (IaaS)

= programmable data center in the cloud

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

The most comprehensive Oracle applications & technology content under one roof

Amazon  Web  Services  (AWS)  Instances  

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

The most comprehensive Oracle applications & technology content under one roof

AWS  Instance  Pricing  

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

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

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

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

3    

   

Oracle  in  Public  Clouds  

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

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  

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

The most comprehensive Oracle applications & technology content under one roof

1.  Oracle  AMIs  for  AWS  

http://aws.amazon.com/amis/Oracle

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

The most comprehensive Oracle applications & technology content under one roof

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    

 

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

The most comprehensive Oracle applications & technology content under one roof

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  

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

The most comprehensive Oracle applications & technology content under one roof

Oracle  VM  Templates  on  EC2  

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

The most comprehensive Oracle applications & technology content under one roof

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    

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

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  •  AUer  configura:on  -­‐>  Create  a  new  AMI  …                    

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

The most comprehensive Oracle applications & technology content under one roof

Create  your  own  OFM  AMI  

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

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

4    

   

Distributed  OFM  Installa:ons  

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

The most comprehensive Oracle applications & technology content under one roof

Clustering  in  the  Cloud  

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

The most comprehensive Oracle applications & technology content under one roof

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)  

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

The most comprehensive Oracle applications & technology content under one roof

Managed  Server1  

Managed  Server2  

JMS  Scalability  /  Availability  Distributed  Des:na:ons  

JMS_Surf2  

JMS_Surf1  

Managed  Server3  

JMS_Surf3  

JNDI    lookup(“UDD”)  

Q  

Q  

Q  {Q  

Des:na:on  returned  

Distributed  Des:naton  

Managed  Server3  

JMS_Surf3  Q  

Whole-­‐Server  Migra9on  

Service  Migra9on  

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

The most comprehensive Oracle applications & technology content under one roof

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)  

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

The most comprehensive Oracle applications & technology content under one roof

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  

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

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

5    

   

Cloud  Services  

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

The most comprehensive Oracle applications & technology content under one roof

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  

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

The most comprehensive Oracle applications & technology content under one roof

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  

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

The most comprehensive Oracle applications & technology content under one roof

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  

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

The most comprehensive Oracle applications & technology content under one roof

SQS  vs.  WebLogic  JMS  Queues  

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

The most comprehensive Oracle applications & technology content under one roof

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  

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

The most comprehensive Oracle applications & technology content under one roof

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  

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

The most comprehensive Oracle applications & technology content under one roof

Launch  DB  Wizard  for  Oracle  Database  

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

The most comprehensive Oracle applications & technology content under one roof

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  

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

The most comprehensive Oracle applications & technology content under one roof

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!  

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

The most comprehensive Oracle applications & technology content under one roof

Classical  Java  EE  Cluster  Architecture  

Sta9c  Content  

Dynamic  Content  

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

The most comprehensive Oracle applications & technology content under one roof

AWS  CloudFront  

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

The most comprehensive Oracle applications & technology content under one roof

CDN  Rou:ng:  Muc-­‐Ffm  S3  Rou:ng:  Muc-­‐Dublin  

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

The most comprehensive Oracle applications & technology content under one roof

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  

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

The most comprehensive Oracle applications & technology content under one roof

AWS  Elas:c  Load  Balancer    as  a  Service  

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

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

6    

   

conclusion  

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

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!  

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

The most comprehensive Oracle applications & technology content under one roof

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  )  

 

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

The most comprehensive Oracle applications & technology content under one roof

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

The most comprehensive Oracle applications & technology content under one roof

thank you!

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

The most comprehensive Oracle applications & technology content under one roof

munz & more Training and Consulting