SlideShare una empresa de Scribd logo
1 de 32
By Edwin Biemond
Oracle OpenWorld 2013
Roll Out a Complete Oracle Fusion
Middleware Environment in Less Than
10 Minutes
2
#WHOAMI
I work for Amis
I live in The Netherlands
I have a blog http://biemond.blogspot.com
I am an Oracle ACE
I wrote a book
Oracle Service Bus 11g
Developer Cookbook
3
Why is it so hard to configure a FMW environment?
And why does it always takes at least
a few days (weeks) before you can use it
4
You need to do so many steps
SOA Suite, OSB
Server
Database
Server
Operating System
WebLogic
OSB
Soa Suite
Domain creation
Initial Domain
setup
Operating system
Database
software
Database
creation
Soa Suite
Repository
40
X Total actions
13
8
10
10
40
40
30
5
8
YUM + Packages / JVM /
Ulimits / Kernel / User /
Group / Directories
WebLogic / BSU /
NodeManager
OSB / OPatch
SOA Suite / OPatch
Create Domain
Logs / Security / JMS /
WebApps / DataSources /
Resource Adapters
5
How to solve this?
6
Administrators!!
• Expensive and you need more than one
• After a while they get bored, leave the company or make
mistakes
• Knowledge is in their heads
• Does have every installation have the same Quality?
• Still takes a long time to get a new environment
7
Cloning
• Golden image still made by an Administrator
– The administrator has the knowledge
– Probably every Golden image is different
– Need for Guidelines
• Many Clones & Clones of Clones
– What are the differences?
– Hard to refresh all environments
– Probably need to change Operating System settings &
WebLogic DataSources
• Every few months there are some Oracle Patches
– Operating System
– JVM
– WebLogic & BSU
– FMW & OPatch
8
What is the solution?
Use a provisioning Tool
like Puppet, Chef, Ansible
• Describe your environment in code & put it
under version control
• Outcome is predicatable and repeatable
• No need for extra configuration of O.S. or
WebLogic DataSources
• Auditing
• Can keep all servers up-to-date
9
Start it up
Watch the Magic Happen
10
Puppet, OK but why?
• Great install base with 1600 ready to use
modules
• Supports and also used by VMware, OpenStack,
Amazon
• Multiple Operating System support like Linux,
Windows, Oracle Solaris & IBM AIX
• Integrated Dashboard
• Reporting & Auditing
• MCollective -> Live management
• Puppet Language, Templating, Eclipse as IDE
• Open Source or Enterprise Edition -> free with
max 10 nodes
11
How it works
• Agent runs every X minutes or started by
MCollective
• Agent gathers local facts about its system
• Agent initiates a request to the server
requesting the latest version of its catalog
• Server compiles the configuration from
source into a catalog and returns it to the
agent.
• Agent applies the catalog, resulting in
configuration changes.
12
Puppet Modules
Puppet as provisioning tool is not enough
– There are Puppet module for installing a JVM, configure kernel and ulimits
parameters
– Nothing for Oracle ( Database or WebLogic / FMW )
But Oracle supports silent install and provide utilities to
retrieve all the Middleware information
So I made my own Puppet Modules 
– WLS Module
– OraDB Module -> installs a 11g & 12c Database plus RCU
– JDK7 Module -> fixes Urandom and RPM errors
– OraUtils -> WebLogic Scripts & Autostart NodeManager
13
Puppet WLS Module
• Support for CentOS, RedHat,
OracleLinux, Ubuntu, Debian,
SLES, Solaris, Windows
• Installs
– WebLogic 10.3 (11g), 12.1.1, 12.1.2
– ADF 11g & 12c (12.1.2)
– Oracle Service Bus 11g
– Soa Suite 11g
– WebCenter 11g Portal & Content
• Patching
– BSU
– OPatch
• Tooling
– JDeveloper 11g, 12c
– OEPE
• Domain creation
– Standard (ADF)
– OSB
– OSB, SOA Suite, BAM
– OSB, SOA Suite, BAM, BPM
– WebCenter
– WebCenter, WC Content, BPM
• Configuration
– NodeManager
– Server Templates ( 12c)
– Dynamic Clusters (12c)
– Log location
– JCA Resource Adapter
– Persistence
– JMS
– SAF
– Can run any WLST script
14
Puppet Demo Steps
Master
Version
Control
Agent
Puppet
Dashboard
Puppet
Modules
• WLS
• OraDB
• JDK7
• OS modules
Agent
SOA Suite, OSB
Server
Operating System
WebLogic
OSB
Soa Suite
Domain creation
Initial Domain
setup
40
13
8
10
10
40
15 Min
Database
Server
Operating system
Database
software
Database
creation
Soa Suite
Repository
40
30
5
8
10 Min
15
What is left for you?
Create your own FMW configurations
Fork or contribute to the WLS module
Puppetize everything 
16
Create a Main Class
• This class can be assigned to Nodes
• Determine the order of installation
17
WebLogic Puppet Class
18
OSB / SOA Suite definitions
19
Domain & WLST definitions
20
Puppet Dashboard
Add the main class
Nodes
21
Node definition
Assign the main class
Class parameters
22
Auditing
23
Puppet Performance
• A Puppet Agent runs every XX minutes
• You don‟t want a Puppet Agent to run for 10 minutes every XX minutes
Solution = WebLogic Facts
WLS Puppet module harvests all the available Oracle Middleware
information of the Node like:
• oraInst.loc
• OraInventory
• BEA Homelist
• BSU output
• OPatch output of every Oracle Home
• WebLogic domain configuration
24
Puppet Facts
25
Managing multiple Dev or Test
environments
• Use a big IF THEN ELSE statement
• Using Hiera -> key/value lookup tool for
configuration data
– Part of Puppet 3.0
– Solution for clean code
26
Hiera, how it works!!
• In the Puppet class use the hiera()
function
• Add a text file on a node which defines
the environment
– This is picked up by the Puppet Agent
• On the Puppet master define howto look
for values -> hiera.yaml
• On the Puppet master look for the
password key
– Server1.yaml
– Test1.yaml
– Test.yaml
– Common.yaml
environment = test
environmentnr = test1
---
:hierarchy:
- "%{::hostname}”
- "%{::environmentnr}”
- "%{::environment}”
- common
node = server1
$pass = hiera(„password‟)
# test1.yaml (encryption)
---
password: ”welcome1"
27
The Result
A fully configured running
Fusion Middleware Server
28
Next Steps
• Download the Learning Puppet VM image
– Get the VMware or the Oracle VirtualBox learning image
http://info.puppetlabs.com/download-learning-puppet-VM.html
• Configure your own Puppet Server
– Allowed the use the Puppet Enterprise and manage up to 10 nodes
• Install the WLS module
– Download from Puppet Forge http://forge.puppetlabs.com
– Clone from GitHub https://github.com/biemond/puppet
• Download your licensed / Developer Oracle software
– From Oracle Technology Network http://otn.oracle.com
– From EDelivery https://edelivery.oracle.com
29
From Puppet Forge
Use “puppet module install biemond-wls” on the Puppet Master
30
From GitHub
Use “git clone https://github.com/biemond/puppet.git” on the Puppet Master
31
Thanks
Questions?
Edwin Biemond
Architect
@biemond
https://github.com/biemond
http://biemond.blogspot.com
http://nl.linkedin.com/in/biemond
Oracle Fusion Middleware provisioning with Puppet

Más contenido relacionado

La actualidad más candente

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
 

La actualidad más candente (20)

Is Enterprise Java Still Relevant (JavaOne 2015 session)
Is Enterprise Java Still Relevant (JavaOne 2015 session)Is Enterprise Java Still Relevant (JavaOne 2015 session)
Is Enterprise Java Still Relevant (JavaOne 2015 session)
 
WebSockets - Realtime em Mundo Conectado
WebSockets - Realtime em Mundo ConectadoWebSockets - Realtime em Mundo Conectado
WebSockets - Realtime em Mundo Conectado
 
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
 
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
 
Oracle Cloud: Anything as a Service
Oracle Cloud: Anything as a ServiceOracle Cloud: Anything as a Service
Oracle Cloud: Anything as a Service
 
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
 
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...
 
MySQL
MySQLMySQL
MySQL
 
D-DAY 2015 Paas ORACLE
D-DAY 2015 Paas ORACLED-DAY 2015 Paas ORACLE
D-DAY 2015 Paas ORACLE
 
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
 
Oracle ravello overview
Oracle ravello overviewOracle ravello overview
Oracle ravello overview
 
Experiences of SOACS
Experiences of SOACSExperiences of SOACS
Experiences of SOACS
 
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
 
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ć,...
 
JavaCro'15 - HTTP2 Comes to Java! - David Delabassee
JavaCro'15 - HTTP2 Comes to Java! - David DelabasseeJavaCro'15 - HTTP2 Comes to Java! - David Delabassee
JavaCro'15 - HTTP2 Comes to Java! - David Delabassee
 
Oracle making openstack an enterprise grade solution
Oracle making openstack an enterprise grade solutionOracle making openstack an enterprise grade solution
Oracle making openstack an enterprise grade solution
 
Java APIs- The missing manual (concurrency)
Java APIs- The missing manual (concurrency)Java APIs- The missing manual (concurrency)
Java APIs- The missing manual (concurrency)
 

Destacado

Duncan Allen :: Supporting Healthcare Systems Interoperability
Duncan Allen :: Supporting Healthcare Systems InteroperabilityDuncan Allen :: Supporting Healthcare Systems Interoperability
Duncan Allen :: Supporting Healthcare Systems Interoperability
george.james
 
Improving Data for Decision-Making: Leveraging Data Quality Audits in Haryana...
Improving Data for Decision-Making: Leveraging Data Quality Audits in Haryana...Improving Data for Decision-Making: Leveraging Data Quality Audits in Haryana...
Improving Data for Decision-Making: Leveraging Data Quality Audits in Haryana...
HFG Project
 
Database Consolidation using the Oracle Multitenant Architecture
Database Consolidation using the Oracle Multitenant ArchitectureDatabase Consolidation using the Oracle Multitenant Architecture
Database Consolidation using the Oracle Multitenant Architecture
Pini Dibask
 
OOW09 Integration Architecture EBS R12
OOW09 Integration Architecture  EBS R12OOW09 Integration Architecture  EBS R12
OOW09 Integration Architecture EBS R12
jucaab
 
Mastering unix
Mastering unixMastering unix
Mastering unix
Raghu nath
 

Destacado (20)

Python programs
Python programsPython programs
Python programs
 
Duncan Allen :: Supporting Healthcare Systems Interoperability
Duncan Allen :: Supporting Healthcare Systems InteroperabilityDuncan Allen :: Supporting Healthcare Systems Interoperability
Duncan Allen :: Supporting Healthcare Systems Interoperability
 
eScience, Education and Knowledge Management
eScience, Education and Knowledge ManagementeScience, Education and Knowledge Management
eScience, Education and Knowledge Management
 
Building Vibrant Communities - Erfolgreiche Einführung von Enterprise 2.0
Building Vibrant Communities - Erfolgreiche Einführung von Enterprise 2.0Building Vibrant Communities - Erfolgreiche Einführung von Enterprise 2.0
Building Vibrant Communities - Erfolgreiche Einführung von Enterprise 2.0
 
Improving Data for Decision-Making: Leveraging Data Quality Audits in Haryana...
Improving Data for Decision-Making: Leveraging Data Quality Audits in Haryana...Improving Data for Decision-Making: Leveraging Data Quality Audits in Haryana...
Improving Data for Decision-Making: Leveraging Data Quality Audits in Haryana...
 
Dhis2 android user_man
Dhis2 android user_manDhis2 android user_man
Dhis2 android user_man
 
Methodology Of Enterprise Applications Capacity Planning
Methodology Of Enterprise Applications Capacity PlanningMethodology Of Enterprise Applications Capacity Planning
Methodology Of Enterprise Applications Capacity Planning
 
Responsive Design and Information Architecture with Oracle Web Center Content...
Responsive Design and Information Architecture with Oracle Web Center Content...Responsive Design and Information Architecture with Oracle Web Center Content...
Responsive Design and Information Architecture with Oracle Web Center Content...
 
PEPFAR’s DATIM4U and Associated Interoperability Components
PEPFAR’s DATIM4U and Associated Interoperability ComponentsPEPFAR’s DATIM4U and Associated Interoperability Components
PEPFAR’s DATIM4U and Associated Interoperability Components
 
Health Information System: Interoperability and Integration to Maximize Effec...
Health Information System: Interoperability and Integration to Maximize Effec...Health Information System: Interoperability and Integration to Maximize Effec...
Health Information System: Interoperability and Integration to Maximize Effec...
 
IEEE Presentation
IEEE PresentationIEEE Presentation
IEEE Presentation
 
Oracle architecture with details-yogiji creations
Oracle architecture with details-yogiji creationsOracle architecture with details-yogiji creations
Oracle architecture with details-yogiji creations
 
OpenStand – Principles for Open Standards and Open Development
OpenStand – Principles for Open Standards and Open DevelopmentOpenStand – Principles for Open Standards and Open Development
OpenStand – Principles for Open Standards and Open Development
 
Database Consolidation using the Oracle Multitenant Architecture
Database Consolidation using the Oracle Multitenant ArchitectureDatabase Consolidation using the Oracle Multitenant Architecture
Database Consolidation using the Oracle Multitenant Architecture
 
OOW09 Integration Architecture EBS R12
OOW09 Integration Architecture  EBS R12OOW09 Integration Architecture  EBS R12
OOW09 Integration Architecture EBS R12
 
Fusion Middleware Oracle Data Integrator
Fusion Middleware Oracle Data IntegratorFusion Middleware Oracle Data Integrator
Fusion Middleware Oracle Data Integrator
 
Mastering unix
Mastering unixMastering unix
Mastering unix
 
Diagnostics of a Linux System
Diagnostics of a Linux SystemDiagnostics of a Linux System
Diagnostics of a Linux System
 
Oracle SOA Suite 11g Troubleshooting Methodology
Oracle SOA Suite 11g Troubleshooting MethodologyOracle SOA Suite 11g Troubleshooting Methodology
Oracle SOA Suite 11g Troubleshooting Methodology
 
Web Oriented Architecture at Oracle
Web Oriented Architecture at OracleWeb Oriented Architecture at Oracle
Web Oriented Architecture at Oracle
 

Similar a Oracle Fusion Middleware provisioning with Puppet

Oracle Cloud DBaaS
Oracle Cloud DBaaSOracle Cloud DBaaS
Oracle Cloud DBaaS
Arush Jain
 
One daytalk hbraun_oct2011
One daytalk hbraun_oct2011One daytalk hbraun_oct2011
One daytalk hbraun_oct2011
hbraun
 
Managing Oracle Enterprise Manager Cloud Control 12c with Oracle Clusterware
Managing Oracle Enterprise Manager Cloud Control 12c with Oracle ClusterwareManaging Oracle Enterprise Manager Cloud Control 12c with Oracle Clusterware
Managing Oracle Enterprise Manager Cloud Control 12c with Oracle Clusterware
Leighton Nelson
 
PowerShellForDBDevelopers
PowerShellForDBDevelopersPowerShellForDBDevelopers
PowerShellForDBDevelopers
Bryan Cafferky
 

Similar a Oracle Fusion Middleware provisioning with Puppet (20)

Amis puppet building blocks demo for Oracle Database and Weblogic cluster
Amis puppet building blocks demo for Oracle Database and Weblogic clusterAmis puppet building blocks demo for Oracle Database and Weblogic cluster
Amis puppet building blocks demo for Oracle Database and Weblogic cluster
 
Overview of Oracle Product Portfolio (focus on Platform) - April, 2017
Overview of Oracle Product Portfolio (focus on Platform) - April, 2017Overview of Oracle Product Portfolio (focus on Platform) - April, 2017
Overview of Oracle Product Portfolio (focus on Platform) - April, 2017
 
ITB2017 - Keynote
ITB2017 - KeynoteITB2017 - Keynote
ITB2017 - Keynote
 
EM12C High Availability without SLB and RAC
EM12C High Availability without SLB and RACEM12C High Availability without SLB and RAC
EM12C High Availability without SLB and RAC
 
Oracle Fusion Middleware on Exalogic Best Practises
Oracle Fusion Middleware on Exalogic Best PractisesOracle Fusion Middleware on Exalogic Best Practises
Oracle Fusion Middleware on Exalogic Best Practises
 
Which cloud provider for your oracle database
Which cloud provider for your oracle databaseWhich cloud provider for your oracle database
Which cloud provider for your oracle database
 
Oracle Enterprise Manager 12c - OEM12c Presentation
Oracle Enterprise Manager 12c - OEM12c PresentationOracle Enterprise Manager 12c - OEM12c Presentation
Oracle Enterprise Manager 12c - OEM12c Presentation
 
Automating hard things may 2015
Automating hard things   may 2015Automating hard things   may 2015
Automating hard things may 2015
 
Oracle Cloud DBaaS
Oracle Cloud DBaaSOracle Cloud DBaaS
Oracle Cloud DBaaS
 
Oracle database connection with the .net developers
Oracle database connection with the .net developersOracle database connection with the .net developers
Oracle database connection with the .net developers
 
IBM Think Session 8598 Domino and JavaScript Development MasterClass
IBM Think Session 8598 Domino and JavaScript Development MasterClassIBM Think Session 8598 Domino and JavaScript Development MasterClass
IBM Think Session 8598 Domino and JavaScript Development MasterClass
 
One daytalk hbraun_oct2011
One daytalk hbraun_oct2011One daytalk hbraun_oct2011
One daytalk hbraun_oct2011
 
An introduction into Oracle VM V3.x
An introduction into Oracle VM V3.xAn introduction into Oracle VM V3.x
An introduction into Oracle VM V3.x
 
Tanel Poder Oracle Scripts and Tools (2010)
Tanel Poder Oracle Scripts and Tools (2010)Tanel Poder Oracle Scripts and Tools (2010)
Tanel Poder Oracle Scripts and Tools (2010)
 
FITC - Node.js 101
FITC - Node.js 101FITC - Node.js 101
FITC - Node.js 101
 
Plantilla oracle
Plantilla oraclePlantilla oracle
Plantilla oracle
 
Managing Oracle Enterprise Manager Cloud Control 12c with Oracle Clusterware
Managing Oracle Enterprise Manager Cloud Control 12c with Oracle ClusterwareManaging Oracle Enterprise Manager Cloud Control 12c with Oracle Clusterware
Managing Oracle Enterprise Manager Cloud Control 12c with Oracle Clusterware
 
Detailed Introduction To Docker
Detailed Introduction To DockerDetailed Introduction To Docker
Detailed Introduction To Docker
 
VMworld 2013: Virtualizing Databases: Doing IT Right
VMworld 2013: Virtualizing Databases: Doing IT Right VMworld 2013: Virtualizing Databases: Doing IT Right
VMworld 2013: Virtualizing Databases: Doing IT Right
 
PowerShellForDBDevelopers
PowerShellForDBDevelopersPowerShellForDBDevelopers
PowerShellForDBDevelopers
 

Último

Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
WSO2
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Victor Rentea
 

Último (20)

Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​
 
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot ModelMcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
 
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
 
Platformless Horizons for Digital Adaptability
Platformless Horizons for Digital AdaptabilityPlatformless Horizons for Digital Adaptability
Platformless Horizons for Digital Adaptability
 
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdfRising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
 
Understanding the FAA Part 107 License ..
Understanding the FAA Part 107 License ..Understanding the FAA Part 107 License ..
Understanding the FAA Part 107 License ..
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challenges
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
 

Oracle Fusion Middleware provisioning with Puppet

  • 1. By Edwin Biemond Oracle OpenWorld 2013 Roll Out a Complete Oracle Fusion Middleware Environment in Less Than 10 Minutes
  • 2. 2 #WHOAMI I work for Amis I live in The Netherlands I have a blog http://biemond.blogspot.com I am an Oracle ACE I wrote a book Oracle Service Bus 11g Developer Cookbook
  • 3. 3 Why is it so hard to configure a FMW environment? And why does it always takes at least a few days (weeks) before you can use it
  • 4. 4 You need to do so many steps SOA Suite, OSB Server Database Server Operating System WebLogic OSB Soa Suite Domain creation Initial Domain setup Operating system Database software Database creation Soa Suite Repository 40 X Total actions 13 8 10 10 40 40 30 5 8 YUM + Packages / JVM / Ulimits / Kernel / User / Group / Directories WebLogic / BSU / NodeManager OSB / OPatch SOA Suite / OPatch Create Domain Logs / Security / JMS / WebApps / DataSources / Resource Adapters
  • 6. 6 Administrators!! • Expensive and you need more than one • After a while they get bored, leave the company or make mistakes • Knowledge is in their heads • Does have every installation have the same Quality? • Still takes a long time to get a new environment
  • 7. 7 Cloning • Golden image still made by an Administrator – The administrator has the knowledge – Probably every Golden image is different – Need for Guidelines • Many Clones & Clones of Clones – What are the differences? – Hard to refresh all environments – Probably need to change Operating System settings & WebLogic DataSources • Every few months there are some Oracle Patches – Operating System – JVM – WebLogic & BSU – FMW & OPatch
  • 8. 8 What is the solution? Use a provisioning Tool like Puppet, Chef, Ansible • Describe your environment in code & put it under version control • Outcome is predicatable and repeatable • No need for extra configuration of O.S. or WebLogic DataSources • Auditing • Can keep all servers up-to-date
  • 9. 9 Start it up Watch the Magic Happen
  • 10. 10 Puppet, OK but why? • Great install base with 1600 ready to use modules • Supports and also used by VMware, OpenStack, Amazon • Multiple Operating System support like Linux, Windows, Oracle Solaris & IBM AIX • Integrated Dashboard • Reporting & Auditing • MCollective -> Live management • Puppet Language, Templating, Eclipse as IDE • Open Source or Enterprise Edition -> free with max 10 nodes
  • 11. 11 How it works • Agent runs every X minutes or started by MCollective • Agent gathers local facts about its system • Agent initiates a request to the server requesting the latest version of its catalog • Server compiles the configuration from source into a catalog and returns it to the agent. • Agent applies the catalog, resulting in configuration changes.
  • 12. 12 Puppet Modules Puppet as provisioning tool is not enough – There are Puppet module for installing a JVM, configure kernel and ulimits parameters – Nothing for Oracle ( Database or WebLogic / FMW ) But Oracle supports silent install and provide utilities to retrieve all the Middleware information So I made my own Puppet Modules  – WLS Module – OraDB Module -> installs a 11g & 12c Database plus RCU – JDK7 Module -> fixes Urandom and RPM errors – OraUtils -> WebLogic Scripts & Autostart NodeManager
  • 13. 13 Puppet WLS Module • Support for CentOS, RedHat, OracleLinux, Ubuntu, Debian, SLES, Solaris, Windows • Installs – WebLogic 10.3 (11g), 12.1.1, 12.1.2 – ADF 11g & 12c (12.1.2) – Oracle Service Bus 11g – Soa Suite 11g – WebCenter 11g Portal & Content • Patching – BSU – OPatch • Tooling – JDeveloper 11g, 12c – OEPE • Domain creation – Standard (ADF) – OSB – OSB, SOA Suite, BAM – OSB, SOA Suite, BAM, BPM – WebCenter – WebCenter, WC Content, BPM • Configuration – NodeManager – Server Templates ( 12c) – Dynamic Clusters (12c) – Log location – JCA Resource Adapter – Persistence – JMS – SAF – Can run any WLST script
  • 14. 14 Puppet Demo Steps Master Version Control Agent Puppet Dashboard Puppet Modules • WLS • OraDB • JDK7 • OS modules Agent SOA Suite, OSB Server Operating System WebLogic OSB Soa Suite Domain creation Initial Domain setup 40 13 8 10 10 40 15 Min Database Server Operating system Database software Database creation Soa Suite Repository 40 30 5 8 10 Min
  • 15. 15 What is left for you? Create your own FMW configurations Fork or contribute to the WLS module Puppetize everything 
  • 16. 16 Create a Main Class • This class can be assigned to Nodes • Determine the order of installation
  • 18. 18 OSB / SOA Suite definitions
  • 19. 19 Domain & WLST definitions
  • 20. 20 Puppet Dashboard Add the main class Nodes
  • 21. 21 Node definition Assign the main class Class parameters
  • 23. 23 Puppet Performance • A Puppet Agent runs every XX minutes • You don‟t want a Puppet Agent to run for 10 minutes every XX minutes Solution = WebLogic Facts WLS Puppet module harvests all the available Oracle Middleware information of the Node like: • oraInst.loc • OraInventory • BEA Homelist • BSU output • OPatch output of every Oracle Home • WebLogic domain configuration
  • 25. 25 Managing multiple Dev or Test environments • Use a big IF THEN ELSE statement • Using Hiera -> key/value lookup tool for configuration data – Part of Puppet 3.0 – Solution for clean code
  • 26. 26 Hiera, how it works!! • In the Puppet class use the hiera() function • Add a text file on a node which defines the environment – This is picked up by the Puppet Agent • On the Puppet master define howto look for values -> hiera.yaml • On the Puppet master look for the password key – Server1.yaml – Test1.yaml – Test.yaml – Common.yaml environment = test environmentnr = test1 --- :hierarchy: - "%{::hostname}” - "%{::environmentnr}” - "%{::environment}” - common node = server1 $pass = hiera(„password‟) # test1.yaml (encryption) --- password: ”welcome1"
  • 27. 27 The Result A fully configured running Fusion Middleware Server
  • 28. 28 Next Steps • Download the Learning Puppet VM image – Get the VMware or the Oracle VirtualBox learning image http://info.puppetlabs.com/download-learning-puppet-VM.html • Configure your own Puppet Server – Allowed the use the Puppet Enterprise and manage up to 10 nodes • Install the WLS module – Download from Puppet Forge http://forge.puppetlabs.com – Clone from GitHub https://github.com/biemond/puppet • Download your licensed / Developer Oracle software – From Oracle Technology Network http://otn.oracle.com – From EDelivery https://edelivery.oracle.com
  • 29. 29 From Puppet Forge Use “puppet module install biemond-wls” on the Puppet Master
  • 30. 30 From GitHub Use “git clone https://github.com/biemond/puppet.git” on the Puppet Master