SlideShare ist ein Scribd-Unternehmen logo
1 von 46
Provisioning Oracle FMW 
Environments with Chef & Puppet 
CON7629 
Mark Nelson, Edwin Biemond 
Fusion Middleware Platform Team 
October 02, 2014 
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. |
• Mark Nelson 
– Architect, Oracle 
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. | 
3
• Edwin Biemond 
– Consulting Member Technical Staff, Oracle 
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. | 
4
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. | 
Agenda 
Current State 
Experiences 
Continuous Delivery 
Testing 
Wrap Up, Q & A 
1 
2 
3 
4 
5 
5
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. | 
Agenda 
Current State 
Experiences 
Continuous Delivery 
Testing 
Wrap Up, Q & A 
1 
2 
3 
4 
5 
6
What is possible Now!!! 
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. |
Focus on Puppet & Chef, which are the most popular 
provisioning tools 
• > 10.000.000 nodes 
• Fastest growing companies in the US 
• Stand-alone (Client) & Master (Server) 
• Open Source & Enterprise / Premium 
– Free < 10 Nodes (Puppet) 
– Free < 5 Nodes (Chef) 
• Manage Linux, Solaris & Windows 
• Cloud plugins, VMware, Google, Openstack, 
Azure & Amazon 
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. | 8
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. | 
Chef components overview 
9
Next major release 
• SOA architecture 
• Services 
• Easy to scale up 
• Own release lifecycle 
• Runs in a JVM 
• 3 times faster 
• Build with clojure, same as PuppetDB 
• JRuby 
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. | 
10 
Puppet component overview
• Administrator / Enterprise focus 
• Forge.puppetlabs.com > 2700 
Modules 
• Language, Puppet DSL & Ruby 
• Manifest-> Some Puppet DSL Code 
• Puppet Modules 
• Facter 
• Type/Provider -> Ruby 
• Developer focus 
• Supermarket.getchef.com> 1600 
Cookbooks 
• Language, Chef DSL & Ruby 
• Recipe -> Some Chef DSL Code 
• Chef Cookbooks 
• Ohai 
• Resource/Provider 
– Light -> Chef DSL 
– Heavy -> Ruby 
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. | 11
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. | 
file{'/etc/resolv.conf': 
content => template('mod/my_resolv.conf.erb'), 
owner => 'root', 
group => 'root', 
mode => '0644', 
} 
$files = ['bacon', 'eggs', 'sausage'] 
file{$files: 
content => "#{title} is delicious!", 
} 
package{'bash': 
ensure => latest, 
} 
template '/etc/resolv.conf' do 
source 'my_resolv.conf.erb' 
owner 'root' 
group 'root' 
mode '0644' 
end 
['bacon', 'eggs', 'sausage'].each do |type| 
file "/tmp/#{type}" do 
content "#{type} is delicious!" 
end 
end 
package 'bash' do 
action :upgrade 
end 
12 
Some DSL Code
So how does it work!! 
• We have to create some recipes/manifests which describes the To Be 
situation & not how to achieve it 
• Execute chef-apply or puppet apply 
• Chef/Puppet retrieves the current state and determines what the 
necessary actions should be 
• Executes the actions (apply only deltas) 
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. | 
13
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. | 
Agenda 
Current State 
Experiences 
Continuous Delivery 
Testing 
Wrap Up, Q & A 
1 
2 
3 
4 
5 
14
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. | 
Experiences 
Chef & Puppet challenges & solutions 
15
WebLogic 12c Changes 
• All jars, no O.S. specific installer 
– Jars can be used on every Operating System 
• Shared oracle_common which is part of WebLogic Infrastructure 
– ServiceBus installer +/- 400Mb 
• Repository Creation Utility is now part of WebLogic Infrastructure 
–  FMW Database repository tightly connected to the domain (because of OPSS) 
• WebLogic Restful Management Services 
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. | 
16
Oracle Tools like OPatch, RCU or BSU are not idempotent 
• 2nd Times always fails 
– It breaks Chef or Puppet 
– Hard to handle this with the standard Puppet/Chef exec resource 
– Slow, inventory command is always faster then apply and let it crash 
• For example OPatch utility 
– Detect current state with opatch lsinventory 
• Every utility has a different output ( XML, CSV or text ouput ) 
– Determine the right action 
– Skip, Install or Remove the patch with opatch apply 
– Check the outcome 
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. | 
17
One Time 
• Not really the Chef or Puppet way 
• One big or many WLST scripts 
• Use exec of Chef or Puppet, almost 
impossible to control (Facter/Ohai) 
• Execute this once or need to catch 
the BeanAlreadyExists exception 
• Re-use your old scripts 
• Easy to get out of sync 
Model driven 
• WebLogic Chef/Puppet Resources 
• The Model is always up-to-date 
• Need to know some Ruby 
• Map WLST or the WLS Rest 
Interface (12.1.3) to Chef or Puppet 
Attributes 
• 4 WLST scripts per WLS resource, 
retrieve, create/update and destroy 
• Big effort to have all WLS resources 
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. | 
18 
One time provisioning or Model driven
• BSU, OPatch, AdminServer & 
ManagedServer Control 
• Machine, Domain, Server, Channels 
• (Dynamic) Cluster, Coherence, 
Server Template 
• User, Group, Authentication 
providers 
• Deployment 
• Datasource 
• File Persistence 
• JMS server, JMS module, 
Connection Factory, Queue, Topic, 
SubDeployment, Quota, Foreign 
Server 
• SAF agents, Imported Destination, 
Remote Context, Error handler 
• Workmanagers 
• Virtualhost 
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. | 
19 
Puppet WebLogic Resources ( Total of 37)
Puppet apply Puppet resource wls_server SoaServer1 --edit 
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. | 
20 
Model driven resource demo
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. | 
WLST Performance 
21 
• Startup of WLST takes times-> even with 
skipWLSModuleScanning 
• Connect() or readDomain(‘xx’) is slow 
• With > 10 WLST scripts or with multiple 
Domains you will have some bad performance 
• Don’t schedule a Chef or Puppet run every XX 
minutes
WLST Domain Daemon process 
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. | 
22 
• For Every domain 
• Is already connected to the Domain 
• Auto start & destroy in every Puppet/Chef run 
• More complexity -> need to know when it is finished or 
when it fails 
• Can’t handle invalid WLST/Python scripts 
• It’s Fast -> 2 Domains with 8 clusters and > 100 Queues in 
just a few minutes ( normal 30-60 minutes)
Naming of WebLogic artifacts 
• In Chef or Puppet a resource should be unique. There can be only one 
Firewall Service or one Package Bash 
• In WebLogic you can have multiple Domains and a Queue only has to 
unique inside a JMS Module. 
• Need to have a WebLogic Title convention and implement Title pattern in 
all the Chef/Puppet Resources 
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. | 
23
Orchestration of FMW HA Environment 
• A High Available FMW environments needs at least 
– A Database configuration with Oracle RAC or Oracle Dataguard ( 10 a 30 min ) 
–WebLogic AdminServer node which depends on the Database ( 5 a 25 min ) 
– 2 or more WebLogic nodes which depends on the AdminServer ( 5 a 10 min ) 
• Chef or Puppet can’t orchestrate multi-node environments 
•  Can implement some try / catch together with a repeat & wait 
– AdminServer should wait for a Database with a FMW Repository 
–WebLogic Nodes should wait for a Domain pack on the AdminServer 
• We need something on top of Chef/Puppet which can handle this 
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. | 
24
Puppet & Chef Sandbox environments 
Desktop 
• Easy to simulate environments 
• Destroy & Re-Create 
• Direct feedback, Change Log levels 
• Remote shell access 
• Only need some MB of configuration data 
• Retrieve the latest Modules or Cookbooks 
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. | 
25 
Oracle 
VirtualBox 
Vagrant 
Shared Folder 
Puppet / Chef code 
VM 
VM 
Template 
Puppet/Chef 
Client 
Oracle 
JDK 
WebLogic 
Database 
Github 
Forge 
Supermarket 
yum / wget 
• Out of the box with Chef Test Kitchen 
• Puppet -> requires some Vagrant 
configuration
• Download & Extract zip files requires a lot of memory or a 
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. | 
Oracle Big Files 
26 
big swap file 
• Takes a lot of time to download plus extract & requires 
disk space 
• It is slow in every run because Puppet/Chef file resource 
checks for differences (locally and remote) 
• Use a Shared Drive 
• Skip the File resource step with some Puppet/Chef Facts
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. | 
Agenda 
Current State 
Experiences 
Continuous Delivery 
Testing 
Wrap Up, Q & A 
1 
2 
3 
4 
5 
27
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. | 
Continuous Delivery 
28
Separate environment specific variables from your code 
• Puppet 
– Facter 
– Parameter manifest class 
– Hiera ( Multiple levels Node, Env, Common ) with a YAML, Database, JSON Backend 
• CHEF 
– OHAI 
– Roles 
– Environments 
– Databags 
– Attribute 
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. | 
29
Promotion of infrastructure 
• Versioning (Git Suite -> Gitbucket, Gitlab or Github) for infrastructure 
configuration & Development code 
– Issues 
– Pull Requests 
• Multi environment on the master (Development, Test, Staging, Prod) 
• Retrieve Modules/Cookbooks from Git or use Forge or Supermarket 
– Puppet -> Puppet Librarian, R10k 
– Chef -> Berkshelf, Chef Librarian 
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. | 
30
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. | 
Model your environments 
• Define Building blocks or Roles 
– Better to understand 
• just assign to nodes 
– Easier to maintain 
• Consist of small modules 
• Optimal re-use 
– Auto-adapt to the environment 
• Developer desktop 
• High Available production environment 
31
Standardize your VM Base Image 
Packer.io is a tool for creating identical machine images for multiple 
platforms from a single source configuration 
–Works with PXE boot 
– Download ISO/Net install 
– Installs Chef or Puppet client 
– Different post-processors 
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. | 
• Vagrant for VMware or Oracle Virtualbox 
• Amazon 
• Docker 
• OpenStack 
• Google 
– Only have to provide a Kickstart file 
32
Continuous Environment Overview – Modules/Cookbooks 
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. | 
33 
Git 
•Clone 
Code 
•RVM (Parallel) 
•Chef version 
•Lint, RSpec 
Smoke Test 
•Vagrant 
•Librarian 
Approve 
•Archive 
•Version 
Distribute 
•Repository
Continuous Environment Overview – Building blocks 
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. | 
34 
Git 
• Clone 
Smoke Test 
• Vagrant 
• Librarian 
Approve 
• Archive 
• Version 
Distribute 
• Repository
Continuous Environment Overview – Test 2 Production 
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. | 
35 
Test 
VMs 
Cookbooks 
Recipes 
Staging Production 
Test 
Environment 1 
Test 
Environment 2
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. | 
Agenda 
Current State 
Experiences 
Continuous Delivery 
Testing 
Wrap Up, Q & A 
1 
2 
3 
4 
5 
36
Test/Code Quality frameworks 
• Rubocup for Ruby coding style 
• Chef 
– Foodcritic for Chef coding style 
– ChefSpec/Serverspec 
• Puppet 
– Puppet-Lint for Puppet coding style 
– Rspec 
• RVM/Bundler to test the different 
Ruby & Puppet/Chef 
combinations 
• Sublime or IntelliJ plugins 
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. | 
37
Test in the cloud with Travis CI 
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. | 38 
Test against different version 
of 
• Ruby 
• Chef/Puppet 
Test for 
• Lint 
• RSpec Tests 
• Code Coverage 
Opensource
Robot Framework 
• Test your FMW environment if it contains what you expect. 
– Can’t fully rely on Puppet or Chef output 
• With Robot you can add tests in readable and understandable text 
• Libraries 
– Selenium for WebLogic Web applications tests 
– HTTP/Rest Requests for WebLogic Restful Management Services 
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. | 
39
Test WebLogic applications with Robot 
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. | 40
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. | 
Agenda 
Current State 
Experiences 
Continuous Delivery 
Testing 
Wrap Up, Q & A 
1 
2 
3 
4 
5 
41
• JDK7 
– URandom fix, JCE Security policy 
• ORAWLS 
– Install, Patch, RCU, Domain, Cluster, WLS Native Types 
• ORADB, ORA_RAC 
– Install, ASM, RAC, Patch, Instance, RCU 11g 
• ORACLE 
– DB Native Types like Tablespace, Role, User & Init params 
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. | 
• > 10k Downloads 
• Many Contributions/Pull 
requests 
• Many Big Enterprise 
companies are using it 
• Developers with 
Vagrant/Virtualbox 
Download locations 
• Forge.puppetlabs.com 
• Github.com/biemond 
• Github.com/hajee 
42 
Opensource Puppet Modules
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. | 
Conclusion 
Finally we have total control 
over FMW Environments 
without any human 
interaction. 
And experience the 
provisioning of new FMW 
environments in minutes 
and push changes to DTAP
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. | 
Q & A 
edwin.biemond@oracle.com 
mark.x.nelson@oracle.com 
44
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. | 45
Provisioning Oracle Fusion Middleware Environments with Chef and Puppet

Weitere ähnliche Inhalte

Was ist angesagt?

Monitor Engineered Systems from a Single Pane of Glass: Oracle Enterprise Man...
Monitor Engineered Systems from a Single Pane of Glass: Oracle Enterprise Man...Monitor Engineered Systems from a Single Pane of Glass: Oracle Enterprise Man...
Monitor Engineered Systems from a Single Pane of Glass: Oracle Enterprise Man...
Alfredo Krieg
 

Was ist angesagt? (20)

Migrating From Applets to Java Desktop Apps in JavaFX
Migrating From Applets to Java Desktop Apps in JavaFXMigrating From Applets to Java Desktop Apps in JavaFX
Migrating From Applets to Java Desktop Apps in JavaFX
 
Provisioning & DevOps at Amis25
Provisioning & DevOps at Amis25Provisioning & DevOps at Amis25
Provisioning & DevOps at Amis25
 
DevOps in your Oracle Stack
DevOps in your Oracle StackDevOps in your Oracle Stack
DevOps in your Oracle Stack
 
Developing Oracle Fusion Middleware Applications in the Cloud
Developing Oracle Fusion Middleware Applications in the CloudDeveloping Oracle Fusion Middleware Applications in the Cloud
Developing Oracle Fusion Middleware Applications in the Cloud
 
Agile Development and DevOps in the Oracle Cloud
Agile Development and DevOps in the Oracle CloudAgile Development and DevOps in the Oracle Cloud
Agile Development and DevOps in the Oracle Cloud
 
HTTP/2 in the Java Platform -- Java Champions call February 2016
HTTP/2 in the Java Platform -- Java Champions call February 2016HTTP/2 in the Java Platform -- Java Champions call February 2016
HTTP/2 in the Java Platform -- Java Champions call February 2016
 
AMIS 25: Moving Integration to the Cloud
AMIS 25: Moving Integration to the CloudAMIS 25: Moving Integration to the Cloud
AMIS 25: Moving Integration to the Cloud
 
Alta Disponibilidade no MySQL 5.7
Alta Disponibilidade no MySQL 5.7Alta Disponibilidade no MySQL 5.7
Alta Disponibilidade no MySQL 5.7
 
WebSockets - Realtime em Mundo Conectado
WebSockets - Realtime em Mundo ConectadoWebSockets - Realtime em Mundo Conectado
WebSockets - Realtime em Mundo Conectado
 
Oracle WebLogic Server 12c: Seamless Oracle Database Integration (with NEC, O...
Oracle WebLogic Server 12c: Seamless Oracle Database Integration (with NEC, O...Oracle WebLogic Server 12c: Seamless Oracle Database Integration (with NEC, O...
Oracle WebLogic Server 12c: Seamless Oracle Database Integration (with NEC, O...
 
Oracle Cloud: Anything as a Service
Oracle Cloud: Anything as a ServiceOracle Cloud: Anything as a Service
Oracle Cloud: Anything as a Service
 
Monitor Engineered Systems from a Single Pane of Glass: Oracle Enterprise Man...
Monitor Engineered Systems from a Single Pane of Glass: Oracle Enterprise Man...Monitor Engineered Systems from a Single Pane of Glass: Oracle Enterprise Man...
Monitor Engineered Systems from a Single Pane of Glass: Oracle Enterprise Man...
 
Install Redis on Oracle Linux
Install Redis on Oracle LinuxInstall Redis on Oracle Linux
Install Redis on Oracle Linux
 
MySQL
MySQLMySQL
MySQL
 
Oracle Cloud native functions - create application from cli
Oracle Cloud native functions - create application from cliOracle Cloud native functions - create application from cli
Oracle Cloud native functions - create application from cli
 
Driving DevOps for Oracle with the orawls Puppet Modules
Driving DevOps for Oracle with the orawls Puppet ModulesDriving DevOps for Oracle with the orawls Puppet Modules
Driving DevOps for Oracle with the orawls Puppet Modules
 
JavaCro'15 - Java Certification – in theory and practice - Branko Mihaljević,...
JavaCro'15 - Java Certification – in theory and practice - Branko Mihaljević,...JavaCro'15 - Java Certification – in theory and practice - Branko Mihaljević,...
JavaCro'15 - Java Certification – in theory and practice - Branko Mihaljević,...
 
10 Razões para Usar MySQL em Startups
10 Razões para Usar MySQL em Startups10 Razões para Usar MySQL em Startups
10 Razões para Usar MySQL em Startups
 
NoSQL no MySQL 5.7
NoSQL no MySQL 5.7NoSQL no MySQL 5.7
NoSQL no MySQL 5.7
 
Java APIs- The missing manual (concurrency)
Java APIs- The missing manual (concurrency)Java APIs- The missing manual (concurrency)
Java APIs- The missing manual (concurrency)
 

Andere mochten auch

我們並非無知
我們並非無知我們並非無知
我們並非無知
再添 張
 
Final Project: The Petter's Show
Final Project: The Petter's ShowFinal Project: The Petter's Show
Final Project: The Petter's Show
lizzyf16
 
B409 W11 Sas Collaborative Stats Guide V4.2
B409 W11 Sas Collaborative Stats Guide V4.2B409 W11 Sas Collaborative Stats Guide V4.2
B409 W11 Sas Collaborative Stats Guide V4.2
marshalkalra
 

Andere mochten auch (20)

Copia de catalogo 2013
Copia de catalogo 2013Copia de catalogo 2013
Copia de catalogo 2013
 
10 virus-mas-peligrosos-de-todo-el-tiempo
10 virus-mas-peligrosos-de-todo-el-tiempo10 virus-mas-peligrosos-de-todo-el-tiempo
10 virus-mas-peligrosos-de-todo-el-tiempo
 
Kittens' Story
Kittens' StoryKittens' Story
Kittens' Story
 
First conditional
First conditionalFirst conditional
First conditional
 
08 chapter 1
08 chapter 108 chapter 1
08 chapter 1
 
Argentina: Part 2
Argentina: Part 2Argentina: Part 2
Argentina: Part 2
 
Food
FoodFood
Food
 
Under Contract! 325 Camino Del Las Flores Encinitas CA 92024 | Pool Home For...
Under Contract! 325 Camino Del Las Flores Encinitas CA 92024  | Pool Home For...Under Contract! 325 Camino Del Las Flores Encinitas CA 92024  | Pool Home For...
Under Contract! 325 Camino Del Las Flores Encinitas CA 92024 | Pool Home For...
 
我們並非無知
我們並非無知我們並非無知
我們並非無知
 
Should (1)
Should (1)Should (1)
Should (1)
 
Amiya rosa saleskit april 19
Amiya rosa saleskit april 19Amiya rosa saleskit april 19
Amiya rosa saleskit april 19
 
Final Project: The Petter's Show
Final Project: The Petter's ShowFinal Project: The Petter's Show
Final Project: The Petter's Show
 
Pictures og mahogany place lipa
Pictures og mahogany place lipaPictures og mahogany place lipa
Pictures og mahogany place lipa
 
Relative clauses
Relative clausesRelative clauses
Relative clauses
 
B409 W11 Sas Collaborative Stats Guide V4.2
B409 W11 Sas Collaborative Stats Guide V4.2B409 W11 Sas Collaborative Stats Guide V4.2
B409 W11 Sas Collaborative Stats Guide V4.2
 
ODTUG The Necessary Knowledge and Tools You Need to Have for SOA Suite 11g
ODTUG The Necessary Knowledge and Tools You Need to Have for SOA Suite 11gODTUG The Necessary Knowledge and Tools You Need to Have for SOA Suite 11g
ODTUG The Necessary Knowledge and Tools You Need to Have for SOA Suite 11g
 
Wartaal Marco Van Gorp Okt 2008
Wartaal Marco Van Gorp Okt 2008Wartaal Marco Van Gorp Okt 2008
Wartaal Marco Van Gorp Okt 2008
 
05 moment
05 moment05 moment
05 moment
 
Unit 5 and 6
Unit 5 and 6Unit 5 and 6
Unit 5 and 6
 
Module 2
Module 2Module 2
Module 2
 

Ähnlich wie Provisioning Oracle Fusion Middleware Environments with Chef and Puppet

Power of the AWR Warehouse- HotSos Symposium 2015
Power of the AWR Warehouse-  HotSos Symposium 2015Power of the AWR Warehouse-  HotSos Symposium 2015
Power of the AWR Warehouse- HotSos Symposium 2015
Kellyn Pot'Vin-Gorman
 
Using MySQL in Automated Testing
Using MySQL in Automated TestingUsing MySQL in Automated Testing
Using MySQL in Automated Testing
Morgan Tocker
 
Oracle Cloud DBaaS
Oracle Cloud DBaaSOracle Cloud DBaaS
Oracle Cloud DBaaS
Arush Jain
 
MySQL: From Single Instance to Big Data
MySQL: From Single Instance to Big DataMySQL: From Single Instance to Big Data
MySQL: From Single Instance to Big Data
Morgan Tocker
 

Ähnlich wie Provisioning Oracle Fusion Middleware Environments with Chef and Puppet (20)

MySQL Fabric
MySQL FabricMySQL Fabric
MySQL Fabric
 
Using MySQL Enterprise Monitor for Continuous Performance Improvement
Using MySQL Enterprise Monitor for Continuous Performance ImprovementUsing MySQL Enterprise Monitor for Continuous Performance Improvement
Using MySQL Enterprise Monitor for Continuous Performance Improvement
 
Power of the AWR Warehouse- HotSos Symposium 2015
Power of the AWR Warehouse-  HotSos Symposium 2015Power of the AWR Warehouse-  HotSos Symposium 2015
Power of the AWR Warehouse- HotSos Symposium 2015
 
Updated Power of the AWR Warehouse, Dallas, HQ, etc.
Updated Power of the AWR Warehouse, Dallas, HQ, etc.Updated Power of the AWR Warehouse, Dallas, HQ, etc.
Updated Power of the AWR Warehouse, Dallas, HQ, etc.
 
Deploying SOA on the Oracle Database Appliance
Deploying SOA on the Oracle Database ApplianceDeploying SOA on the Oracle Database Appliance
Deploying SOA on the Oracle Database Appliance
 
Using MySQL in Automated Testing
Using MySQL in Automated TestingUsing MySQL in Automated Testing
Using MySQL in Automated Testing
 
Oracle Cloud DBaaS
Oracle Cloud DBaaSOracle Cloud DBaaS
Oracle Cloud DBaaS
 
Introduction to MySQL
Introduction to MySQLIntroduction to MySQL
Introduction to MySQL
 
Oracle EM12c Release 4 New Features!
Oracle EM12c Release 4 New Features!Oracle EM12c Release 4 New Features!
Oracle EM12c Release 4 New Features!
 
YARN
YARNYARN
YARN
 
MySQL: From Single Instance to Big Data
MySQL: From Single Instance to Big DataMySQL: From Single Instance to Big Data
MySQL: From Single Instance to Big Data
 
Power of the AWR Warehouse
Power of the AWR WarehousePower of the AWR Warehouse
Power of the AWR Warehouse
 
What's New and Noteworthy on Oracle CAF 12.1.3
What's New and Noteworthy on Oracle CAF 12.1.3What's New and Noteworthy on Oracle CAF 12.1.3
What's New and Noteworthy on Oracle CAF 12.1.3
 
20150110 my sql-performanceschema
20150110 my sql-performanceschema20150110 my sql-performanceschema
20150110 my sql-performanceschema
 
Changes in WebLogic 12.1.3 Every Administrator Must Know
Changes in WebLogic 12.1.3 Every Administrator Must KnowChanges in WebLogic 12.1.3 Every Administrator Must Know
Changes in WebLogic 12.1.3 Every Administrator Must Know
 
Changes in weblogic12c_every_administrator_must_know-140812141929
Changes in weblogic12c_every_administrator_must_know-140812141929Changes in weblogic12c_every_administrator_must_know-140812141929
Changes in weblogic12c_every_administrator_must_know-140812141929
 
Em13c New Features- Two of Two
Em13c New Features- Two of TwoEm13c New Features- Two of Two
Em13c New Features- Two of Two
 
MySQL Manchester TT - Performance Tuning
MySQL Manchester TT  - Performance TuningMySQL Manchester TT  - Performance Tuning
MySQL Manchester TT - Performance Tuning
 
Managing Oracle Solaris Systems with Puppet
Managing Oracle Solaris Systems with PuppetManaging Oracle Solaris Systems with Puppet
Managing Oracle Solaris Systems with Puppet
 
Database as a Service, Collaborate 2016
Database as a Service, Collaborate 2016Database as a Service, Collaborate 2016
Database as a Service, Collaborate 2016
 

Kürzlich hochgeladen

%+27788225528 love spells in Huntington Beach Psychic Readings, Attraction sp...
%+27788225528 love spells in Huntington Beach Psychic Readings, Attraction sp...%+27788225528 love spells in Huntington Beach Psychic Readings, Attraction sp...
%+27788225528 love spells in Huntington Beach Psychic Readings, Attraction sp...
masabamasaba
 
%+27788225528 love spells in Toronto Psychic Readings, Attraction spells,Brin...
%+27788225528 love spells in Toronto Psychic Readings, Attraction spells,Brin...%+27788225528 love spells in Toronto Psychic Readings, Attraction spells,Brin...
%+27788225528 love spells in Toronto Psychic Readings, Attraction spells,Brin...
masabamasaba
 
%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...
%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...
%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...
masabamasaba
 
%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...
%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...
%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...
masabamasaba
 
Love witchcraft +27768521739 Binding love spell in Sandy Springs, GA |psychic...
Love witchcraft +27768521739 Binding love spell in Sandy Springs, GA |psychic...Love witchcraft +27768521739 Binding love spell in Sandy Springs, GA |psychic...
Love witchcraft +27768521739 Binding love spell in Sandy Springs, GA |psychic...
chiefasafspells
 
%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...
%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...
%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...
masabamasaba
 
Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024
Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024
Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024
VictoriaMetrics
 

Kürzlich hochgeladen (20)

%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein
%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein
%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein
 
WSO2CON 2024 - Cloud Native Middleware: Domain-Driven Design, Cell-Based Arch...
WSO2CON 2024 - Cloud Native Middleware: Domain-Driven Design, Cell-Based Arch...WSO2CON 2024 - Cloud Native Middleware: Domain-Driven Design, Cell-Based Arch...
WSO2CON 2024 - Cloud Native Middleware: Domain-Driven Design, Cell-Based Arch...
 
Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...
Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...
Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...
 
WSO2CON 2024 - Does Open Source Still Matter?
WSO2CON 2024 - Does Open Source Still Matter?WSO2CON 2024 - Does Open Source Still Matter?
WSO2CON 2024 - Does Open Source Still Matter?
 
%+27788225528 love spells in Huntington Beach Psychic Readings, Attraction sp...
%+27788225528 love spells in Huntington Beach Psychic Readings, Attraction sp...%+27788225528 love spells in Huntington Beach Psychic Readings, Attraction sp...
%+27788225528 love spells in Huntington Beach Psychic Readings, Attraction sp...
 
%+27788225528 love spells in Toronto Psychic Readings, Attraction spells,Brin...
%+27788225528 love spells in Toronto Psychic Readings, Attraction spells,Brin...%+27788225528 love spells in Toronto Psychic Readings, Attraction spells,Brin...
%+27788225528 love spells in Toronto Psychic Readings, Attraction spells,Brin...
 
%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...
%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...
%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...
 
%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein
%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein
%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein
 
%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...
%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...
%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...
 
Artyushina_Guest lecture_YorkU CS May 2024.pptx
Artyushina_Guest lecture_YorkU CS May 2024.pptxArtyushina_Guest lecture_YorkU CS May 2024.pptx
Artyushina_Guest lecture_YorkU CS May 2024.pptx
 
MarTech Trend 2024 Book : Marketing Technology Trends (2024 Edition) How Data...
MarTech Trend 2024 Book : Marketing Technology Trends (2024 Edition) How Data...MarTech Trend 2024 Book : Marketing Technology Trends (2024 Edition) How Data...
MarTech Trend 2024 Book : Marketing Technology Trends (2024 Edition) How Data...
 
Love witchcraft +27768521739 Binding love spell in Sandy Springs, GA |psychic...
Love witchcraft +27768521739 Binding love spell in Sandy Springs, GA |psychic...Love witchcraft +27768521739 Binding love spell in Sandy Springs, GA |psychic...
Love witchcraft +27768521739 Binding love spell in Sandy Springs, GA |psychic...
 
WSO2CON 2024 - Building the API First Enterprise – Running an API Program, fr...
WSO2CON 2024 - Building the API First Enterprise – Running an API Program, fr...WSO2CON 2024 - Building the API First Enterprise – Running an API Program, fr...
WSO2CON 2024 - Building the API First Enterprise – Running an API Program, fr...
 
What Goes Wrong with Language Definitions and How to Improve the Situation
What Goes Wrong with Language Definitions and How to Improve the SituationWhat Goes Wrong with Language Definitions and How to Improve the Situation
What Goes Wrong with Language Definitions and How to Improve the Situation
 
%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...
%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...
%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...
 
Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024
Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024
Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024
 
VTU technical seminar 8Th Sem on Scikit-learn
VTU technical seminar 8Th Sem on Scikit-learnVTU technical seminar 8Th Sem on Scikit-learn
VTU technical seminar 8Th Sem on Scikit-learn
 
WSO2CON2024 - It's time to go Platformless
WSO2CON2024 - It's time to go PlatformlessWSO2CON2024 - It's time to go Platformless
WSO2CON2024 - It's time to go Platformless
 
WSO2CON 2024 - WSO2's Digital Transformation Journey with Choreo: A Platforml...
WSO2CON 2024 - WSO2's Digital Transformation Journey with Choreo: A Platforml...WSO2CON 2024 - WSO2's Digital Transformation Journey with Choreo: A Platforml...
WSO2CON 2024 - WSO2's Digital Transformation Journey with Choreo: A Platforml...
 
WSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital Transformation
WSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital TransformationWSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital Transformation
WSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital Transformation
 

Provisioning Oracle Fusion Middleware Environments with Chef and Puppet

  • 1.
  • 2. Provisioning Oracle FMW Environments with Chef & Puppet CON7629 Mark Nelson, Edwin Biemond Fusion Middleware Platform Team October 02, 2014 Copyright © 2014, Oracle and/or its affiliates. All rights reserved. |
  • 3. • Mark Nelson – Architect, Oracle Copyright © 2014, Oracle and/or its affiliates. All rights reserved. | 3
  • 4. • Edwin Biemond – Consulting Member Technical Staff, Oracle Copyright © 2014, Oracle and/or its affiliates. All rights reserved. | 4
  • 5. Copyright © 2014, Oracle and/or its affiliates. All rights reserved. | Agenda Current State Experiences Continuous Delivery Testing Wrap Up, Q & A 1 2 3 4 5 5
  • 6. Copyright © 2014, Oracle and/or its affiliates. All rights reserved. | Agenda Current State Experiences Continuous Delivery Testing Wrap Up, Q & A 1 2 3 4 5 6
  • 7. What is possible Now!!! Copyright © 2014, Oracle and/or its affiliates. All rights reserved. |
  • 8. Focus on Puppet & Chef, which are the most popular provisioning tools • > 10.000.000 nodes • Fastest growing companies in the US • Stand-alone (Client) & Master (Server) • Open Source & Enterprise / Premium – Free < 10 Nodes (Puppet) – Free < 5 Nodes (Chef) • Manage Linux, Solaris & Windows • Cloud plugins, VMware, Google, Openstack, Azure & Amazon Copyright © 2014, Oracle and/or its affiliates. All rights reserved. | 8
  • 9. Copyright © 2014, Oracle and/or its affiliates. All rights reserved. | Chef components overview 9
  • 10. Next major release • SOA architecture • Services • Easy to scale up • Own release lifecycle • Runs in a JVM • 3 times faster • Build with clojure, same as PuppetDB • JRuby Copyright © 2014, Oracle and/or its affiliates. All rights reserved. | 10 Puppet component overview
  • 11. • Administrator / Enterprise focus • Forge.puppetlabs.com > 2700 Modules • Language, Puppet DSL & Ruby • Manifest-> Some Puppet DSL Code • Puppet Modules • Facter • Type/Provider -> Ruby • Developer focus • Supermarket.getchef.com> 1600 Cookbooks • Language, Chef DSL & Ruby • Recipe -> Some Chef DSL Code • Chef Cookbooks • Ohai • Resource/Provider – Light -> Chef DSL – Heavy -> Ruby Copyright © 2014, Oracle and/or its affiliates. All rights reserved. | 11
  • 12. Copyright © 2014, Oracle and/or its affiliates. All rights reserved. | file{'/etc/resolv.conf': content => template('mod/my_resolv.conf.erb'), owner => 'root', group => 'root', mode => '0644', } $files = ['bacon', 'eggs', 'sausage'] file{$files: content => "#{title} is delicious!", } package{'bash': ensure => latest, } template '/etc/resolv.conf' do source 'my_resolv.conf.erb' owner 'root' group 'root' mode '0644' end ['bacon', 'eggs', 'sausage'].each do |type| file "/tmp/#{type}" do content "#{type} is delicious!" end end package 'bash' do action :upgrade end 12 Some DSL Code
  • 13. So how does it work!! • We have to create some recipes/manifests which describes the To Be situation & not how to achieve it • Execute chef-apply or puppet apply • Chef/Puppet retrieves the current state and determines what the necessary actions should be • Executes the actions (apply only deltas) Copyright © 2014, Oracle and/or its affiliates. All rights reserved. | 13
  • 14. Copyright © 2014, Oracle and/or its affiliates. All rights reserved. | Agenda Current State Experiences Continuous Delivery Testing Wrap Up, Q & A 1 2 3 4 5 14
  • 15. Copyright © 2014, Oracle and/or its affiliates. All rights reserved. | Experiences Chef & Puppet challenges & solutions 15
  • 16. WebLogic 12c Changes • All jars, no O.S. specific installer – Jars can be used on every Operating System • Shared oracle_common which is part of WebLogic Infrastructure – ServiceBus installer +/- 400Mb • Repository Creation Utility is now part of WebLogic Infrastructure –  FMW Database repository tightly connected to the domain (because of OPSS) • WebLogic Restful Management Services Copyright © 2014, Oracle and/or its affiliates. All rights reserved. | 16
  • 17. Oracle Tools like OPatch, RCU or BSU are not idempotent • 2nd Times always fails – It breaks Chef or Puppet – Hard to handle this with the standard Puppet/Chef exec resource – Slow, inventory command is always faster then apply and let it crash • For example OPatch utility – Detect current state with opatch lsinventory • Every utility has a different output ( XML, CSV or text ouput ) – Determine the right action – Skip, Install or Remove the patch with opatch apply – Check the outcome Copyright © 2014, Oracle and/or its affiliates. All rights reserved. | 17
  • 18. One Time • Not really the Chef or Puppet way • One big or many WLST scripts • Use exec of Chef or Puppet, almost impossible to control (Facter/Ohai) • Execute this once or need to catch the BeanAlreadyExists exception • Re-use your old scripts • Easy to get out of sync Model driven • WebLogic Chef/Puppet Resources • The Model is always up-to-date • Need to know some Ruby • Map WLST or the WLS Rest Interface (12.1.3) to Chef or Puppet Attributes • 4 WLST scripts per WLS resource, retrieve, create/update and destroy • Big effort to have all WLS resources Copyright © 2014, Oracle and/or its affiliates. All rights reserved. | 18 One time provisioning or Model driven
  • 19. • BSU, OPatch, AdminServer & ManagedServer Control • Machine, Domain, Server, Channels • (Dynamic) Cluster, Coherence, Server Template • User, Group, Authentication providers • Deployment • Datasource • File Persistence • JMS server, JMS module, Connection Factory, Queue, Topic, SubDeployment, Quota, Foreign Server • SAF agents, Imported Destination, Remote Context, Error handler • Workmanagers • Virtualhost Copyright © 2014, Oracle and/or its affiliates. All rights reserved. | 19 Puppet WebLogic Resources ( Total of 37)
  • 20. Puppet apply Puppet resource wls_server SoaServer1 --edit Copyright © 2014, Oracle and/or its affiliates. All rights reserved. | 20 Model driven resource demo
  • 21. Copyright © 2014, Oracle and/or its affiliates. All rights reserved. | WLST Performance 21 • Startup of WLST takes times-> even with skipWLSModuleScanning • Connect() or readDomain(‘xx’) is slow • With > 10 WLST scripts or with multiple Domains you will have some bad performance • Don’t schedule a Chef or Puppet run every XX minutes
  • 22. WLST Domain Daemon process Copyright © 2014, Oracle and/or its affiliates. All rights reserved. | 22 • For Every domain • Is already connected to the Domain • Auto start & destroy in every Puppet/Chef run • More complexity -> need to know when it is finished or when it fails • Can’t handle invalid WLST/Python scripts • It’s Fast -> 2 Domains with 8 clusters and > 100 Queues in just a few minutes ( normal 30-60 minutes)
  • 23. Naming of WebLogic artifacts • In Chef or Puppet a resource should be unique. There can be only one Firewall Service or one Package Bash • In WebLogic you can have multiple Domains and a Queue only has to unique inside a JMS Module. • Need to have a WebLogic Title convention and implement Title pattern in all the Chef/Puppet Resources Copyright © 2014, Oracle and/or its affiliates. All rights reserved. | 23
  • 24. Orchestration of FMW HA Environment • A High Available FMW environments needs at least – A Database configuration with Oracle RAC or Oracle Dataguard ( 10 a 30 min ) –WebLogic AdminServer node which depends on the Database ( 5 a 25 min ) – 2 or more WebLogic nodes which depends on the AdminServer ( 5 a 10 min ) • Chef or Puppet can’t orchestrate multi-node environments •  Can implement some try / catch together with a repeat & wait – AdminServer should wait for a Database with a FMW Repository –WebLogic Nodes should wait for a Domain pack on the AdminServer • We need something on top of Chef/Puppet which can handle this Copyright © 2014, Oracle and/or its affiliates. All rights reserved. | 24
  • 25. Puppet & Chef Sandbox environments Desktop • Easy to simulate environments • Destroy & Re-Create • Direct feedback, Change Log levels • Remote shell access • Only need some MB of configuration data • Retrieve the latest Modules or Cookbooks Copyright © 2014, Oracle and/or its affiliates. All rights reserved. | 25 Oracle VirtualBox Vagrant Shared Folder Puppet / Chef code VM VM Template Puppet/Chef Client Oracle JDK WebLogic Database Github Forge Supermarket yum / wget • Out of the box with Chef Test Kitchen • Puppet -> requires some Vagrant configuration
  • 26. • Download & Extract zip files requires a lot of memory or a Copyright © 2014, Oracle and/or its affiliates. All rights reserved. | Oracle Big Files 26 big swap file • Takes a lot of time to download plus extract & requires disk space • It is slow in every run because Puppet/Chef file resource checks for differences (locally and remote) • Use a Shared Drive • Skip the File resource step with some Puppet/Chef Facts
  • 27. Copyright © 2014, Oracle and/or its affiliates. All rights reserved. | Agenda Current State Experiences Continuous Delivery Testing Wrap Up, Q & A 1 2 3 4 5 27
  • 28. Copyright © 2014, Oracle and/or its affiliates. All rights reserved. | Continuous Delivery 28
  • 29. Separate environment specific variables from your code • Puppet – Facter – Parameter manifest class – Hiera ( Multiple levels Node, Env, Common ) with a YAML, Database, JSON Backend • CHEF – OHAI – Roles – Environments – Databags – Attribute Copyright © 2014, Oracle and/or its affiliates. All rights reserved. | 29
  • 30. Promotion of infrastructure • Versioning (Git Suite -> Gitbucket, Gitlab or Github) for infrastructure configuration & Development code – Issues – Pull Requests • Multi environment on the master (Development, Test, Staging, Prod) • Retrieve Modules/Cookbooks from Git or use Forge or Supermarket – Puppet -> Puppet Librarian, R10k – Chef -> Berkshelf, Chef Librarian Copyright © 2014, Oracle and/or its affiliates. All rights reserved. | 30
  • 31. Copyright © 2014, Oracle and/or its affiliates. All rights reserved. | Model your environments • Define Building blocks or Roles – Better to understand • just assign to nodes – Easier to maintain • Consist of small modules • Optimal re-use – Auto-adapt to the environment • Developer desktop • High Available production environment 31
  • 32. Standardize your VM Base Image Packer.io is a tool for creating identical machine images for multiple platforms from a single source configuration –Works with PXE boot – Download ISO/Net install – Installs Chef or Puppet client – Different post-processors Copyright © 2014, Oracle and/or its affiliates. All rights reserved. | • Vagrant for VMware or Oracle Virtualbox • Amazon • Docker • OpenStack • Google – Only have to provide a Kickstart file 32
  • 33. Continuous Environment Overview – Modules/Cookbooks Copyright © 2014, Oracle and/or its affiliates. All rights reserved. | 33 Git •Clone Code •RVM (Parallel) •Chef version •Lint, RSpec Smoke Test •Vagrant •Librarian Approve •Archive •Version Distribute •Repository
  • 34. Continuous Environment Overview – Building blocks Copyright © 2014, Oracle and/or its affiliates. All rights reserved. | 34 Git • Clone Smoke Test • Vagrant • Librarian Approve • Archive • Version Distribute • Repository
  • 35. Continuous Environment Overview – Test 2 Production Copyright © 2014, Oracle and/or its affiliates. All rights reserved. | 35 Test VMs Cookbooks Recipes Staging Production Test Environment 1 Test Environment 2
  • 36. Copyright © 2014, Oracle and/or its affiliates. All rights reserved. | Agenda Current State Experiences Continuous Delivery Testing Wrap Up, Q & A 1 2 3 4 5 36
  • 37. Test/Code Quality frameworks • Rubocup for Ruby coding style • Chef – Foodcritic for Chef coding style – ChefSpec/Serverspec • Puppet – Puppet-Lint for Puppet coding style – Rspec • RVM/Bundler to test the different Ruby & Puppet/Chef combinations • Sublime or IntelliJ plugins Copyright © 2014, Oracle and/or its affiliates. All rights reserved. | 37
  • 38. Test in the cloud with Travis CI Copyright © 2014, Oracle and/or its affiliates. All rights reserved. | 38 Test against different version of • Ruby • Chef/Puppet Test for • Lint • RSpec Tests • Code Coverage Opensource
  • 39. Robot Framework • Test your FMW environment if it contains what you expect. – Can’t fully rely on Puppet or Chef output • With Robot you can add tests in readable and understandable text • Libraries – Selenium for WebLogic Web applications tests – HTTP/Rest Requests for WebLogic Restful Management Services Copyright © 2014, Oracle and/or its affiliates. All rights reserved. | 39
  • 40. Test WebLogic applications with Robot Copyright © 2014, Oracle and/or its affiliates. All rights reserved. | 40
  • 41. Copyright © 2014, Oracle and/or its affiliates. All rights reserved. | Agenda Current State Experiences Continuous Delivery Testing Wrap Up, Q & A 1 2 3 4 5 41
  • 42. • JDK7 – URandom fix, JCE Security policy • ORAWLS – Install, Patch, RCU, Domain, Cluster, WLS Native Types • ORADB, ORA_RAC – Install, ASM, RAC, Patch, Instance, RCU 11g • ORACLE – DB Native Types like Tablespace, Role, User & Init params Copyright © 2014, Oracle and/or its affiliates. All rights reserved. | • > 10k Downloads • Many Contributions/Pull requests • Many Big Enterprise companies are using it • Developers with Vagrant/Virtualbox Download locations • Forge.puppetlabs.com • Github.com/biemond • Github.com/hajee 42 Opensource Puppet Modules
  • 43. Copyright © 2014, Oracle and/or its affiliates. All rights reserved. | Conclusion Finally we have total control over FMW Environments without any human interaction. And experience the provisioning of new FMW environments in minutes and push changes to DTAP
  • 44. Copyright © 2014, Oracle and/or its affiliates. All rights reserved. | Q & A edwin.biemond@oracle.com mark.x.nelson@oracle.com 44
  • 45. Copyright © 2014, Oracle and/or its affiliates. All rights reserved. | 45