using puppet to leverage devops in large enterprise oracle environments
TRANSCRIPT
ENTERPRISE DEVOPS IN ORACLE ENVIRONMENTS
TODAY
ENTERPRISE DEVOPS. CAN IT BE DONE?
AUTOMATION IS REQUIRED THE VALUE OF COMMUNICATION
ORACLE AND WEBLOGIC CONFIGURATION
HOW DOES IT WORK?
WAT IS THE ISSUE? HOW TE GET STARTED?
INTRODUCTION• More then 20 years experience in IT • As project manager & development
manager at large IT companies and government
• Founder of Enterprise Modules (twitter: @enterprisemodul)
• (Co)developer of Puppet modules for Oracle RDBMS en WebLogic
• [email protected] • twitter: @bhajee
MISSION STATEMENTProvide our customers with high quality Puppet modules for all the Enterprise products. Thereby allowing them to exploit all advantages of Puppet not only for their base OS and open source products, but for their entire Enterprise Infrastructure
https://www.enterprisemodules.com twitter: @enterprisemodul
FINALLY...
ENTERPRISE DEVOPS??
FAST RELIABLE & CONSISTENT
AUTOMATION REQUIRED
Application
Problem??WHAT IS THE PROBLEM???
Application
Middleware
Problem?WHAT IS THE PROBLEM??
Application
Middleware
Database
ProblemWHAT IS THE PROBLEM?
Application
Middleware
Database
OS
Problem!WHAT IS THE PROBLEM
Problem!!
Application
Middleware
Database
OS
Network
WHAT IS THE PROBLEM!
Problem!!!
Application
Middleware
Database
OS
Network
Application
Middleware
Database
OS
Network
WHAT IS THE PROBLEM!!
Problem!!!!
Application
Middleware
Database
OS
Network
Application
Middleware
Database
OS
Network
WHAT IS THE PROBLEM!!!
Problem!!!!!
Application
Middleware
Database
OS
Network
Application
Middleware
Database
OS
Network
WHAT IS THE PROBLEM!!!!
A SOLUTION
Like the figured out before, they needed a tool. A tool that would help them manage these infrastructure layers and the huge amount of configuration points.
Your infrastructure on a blueprintYOUR INFRASTRUCTUE IN A BLUEPRINT
What’s reality?
REALITY?
Spot the differencesSPOT THE DIFFERENCES
For new install’s and updatesNEW INSTALLS & UPDATES
Blueprint for Oracle Table space..ooora_tablespace {'my_app_ts@sid': ensure => present, datafile => 'my_app_ts.dbf', size => 5G, logging => yes, autoextend => on, next => 100M, max_size => 20G, extent_management => local, segment_space_management => auto},}
NEW INSTALLS & UPDATES
Base OS
OS+
Database
Base OS
OS+
Database
Development
Stac
k
Time…
Base OS
OS+
Database
Test Acceptance Production
HOW TO GET STARTED
Base OS
OS+
Database
Middleware
Application
Base OS
OS+
Database
Middleware
Application
Development
Stac
k
Time…
Base OS
OS+
Database
Middleware
Application
Test Acceptance Production
AND PROGRESS…?
Base OS
OS+
Database
Middleware
Application
Base OS
OS+
Database
Middleware
Application
Development
Stac
k
Time…
Base OS
OS+
Database
Middleware
Application
Test Acceptance Production
PLEASE DON’T!
X X
Base OS Base OS
Development
Stac
k
Time…
Test Acceptance Production
INSTEAD…
Base OS Base OS
Development
Stac
k
Time…
Base OS Base OS
Test Acceptance Production
INSTEAD…
Base OS Base OS
Development
Stac
k
Time…
Base OS Base OS
Test
Base OS Base OS
Acceptance Production
INSTEAD…
Base OS Base OS
Development
Stac
k
Time…
Base OS Base OS
Test
Base OS Base OS
Acceptance Production
INSTEAD…
Base OS Base OS
Development
Stac
k
Time…
Base OS Base OS
Test
Base OS Base OS
Acceptance Production
INSTEAD…
Base OS
OS+
Base OS
OS+
Development
Stac
k
Time…
Base OS Base OS
Test
Base OS Base OS
Acceptance Production
AND A LAYER UP…
Base OS
OS+
Base OS
OS+
Development
Stac
k
Time…
Base OS
OS+
Base OS
OS+
Test
Base OS Base OS
Acceptance Production
AND A LAYER UP…
Base OS
OS+
Base OS
OS+
Development
Stac
k
Time…
Base OS
OS+
Base OS
OS+
Test
Base OS
OS+
Base OS
OS+
Acceptance Production
AND A LAYER UP…
Base OS
OS+
Base OS
OS+
Development
Stac
k
Time…
Base OS
OS+
Base OS
OS+
Test
Base OS
OS+
Base OS
OS+
Acceptance Production
AND A LAYER UP…
Base OS
OS+
Base OS
OS+
Development
Stac
k
Time…
Base OS
OS+
Base OS
OS+
Test
Base OS
OS+
Base OS
OS+
Acceptance Production
AND A LAYER UP…
Base OS
OS+
Database
Base OS
OS+
Database
Development
Stac
k
Time…
Base OS
OS+
Base OS
OS+
Test
Base OS
OS+
Base OS
OS+
Acceptance Production
TO THE DATABASE…
Base OS
OS+
Database
Base OS
OS+
Database
Development
Stac
k
Time…
Base OS
OS+
Database
Base OS
OS+
Database
Test
Base OS
OS+
Base OS
OS+
Acceptance Production
TO THE DATABASE…
Base OS
OS+
Database
Base OS
OS+
Database
Development
Stac
k
Time…
Base OS
OS+
Database
Base OS
OS+
Database
Test
Base OS
OS+
Database
Base OS
OS+
Database
Acceptance Production
TO THE DATABASE…
Base OS
OS+
Database
Base OS
OS+
Database
Development
Stac
k
Time…
Base OS
OS+
Database
Base OS
OS+
Database
Test
Base OS
OS+
Database
Base OS
OS+
Database
Acceptance Production
TO THE DATABASE…
Base OS
OS+
Database
Base OS
OS+
Database
Development
Stac
k
Time…
Base OS
OS+
Database
Base OS
OS+
Database
Test
Base OS
OS+
Database
Base OS
OS+
Database
Acceptance Production
TO THE DATABASE…
Base OS
OS+
Database
Middleware
Base OS
OS+
Database
Middleware
Development
Stac
k
Time…
Base OS
OS+
Database
Base OS
OS+
Database
Test
Base OS
OS+
Database
Base OS
OS+
Database
Acceptance Production
THEN THE MIDDLEWARE…
Base OS
OS+
Database
Middleware
Base OS
OS+
Database
Middleware
Development
Stac
k
Time…
Base OS
OS+
Database
Middleware
Base OS
OS+
Database
Middleware
Test
Base OS
OS+
Database
Base OS
OS+
Database
Acceptance Production
THEN THE MIDDLEWARE…
Base OS
OS+
Database
Middleware
Base OS
OS+
Database
Middleware
Development
Stac
k
Time…
Base OS
OS+
Database
Middleware
Base OS
OS+
Database
Middleware
Test
Base OS
OS+
Database
Middleware
Base OS
OS+
Database
Middleware
Acceptance Production
THEN THE MIDDLEWARE…
Base OS
OS+
Database
Middleware
Base OS
OS+
Database
Middleware
Development
Stac
k
Time…
Base OS
OS+
Database
Middleware
Base OS
OS+
Database
Middleware
Test
Base OS
OS+
Database
Middleware
Base OS
OS+
Database
Middleware
Acceptance Production
THEN THE MIDDLEWARE…
Base OS
OS+
Database
Middleware
Base OS
OS+
Database
Middleware
Development
Stac
k
Time…
Base OS
OS+
Database
Middleware
Base OS
OS+
Database
Middleware
Test
Base OS
OS+
Database
Middleware
Base OS
OS+
Database
Middleware
Acceptance Production
THEN THE MIDDLEWARE…
Base OS
OS+
Database
Middleware
Application
Base OS
OS+
Database
Middleware
Application
Development
Stac
k
Time…
Base OS
OS+
Database
Middleware
Base OS
OS+
Database
Middleware
Test
Base OS
OS+
Database
Middleware
Base OS
OS+
Database
Middleware
Acceptance Production
AND FINALLY, THE APPLICATION…
Base OS
OS+
Database
Middleware
Application
Base OS
OS+
Database
Middleware
Application
Development
Stac
k
Time…
Base OS
OS+
Database
Middleware
Application
Base OS
OS+
Database
Middleware
Application
Test
Base OS
OS+
Database
Middleware
Base OS
OS+
Database
Middleware
Acceptance Production
AND FINALLY, THE APPLICATION…
Base OS
OS+
Database
Middleware
Application
Base OS
OS+
Database
Middleware
Application
Development
Stac
k
Time…
Base OS
OS+
Database
Middleware
Application
Base OS
OS+
Database
Middleware
Application
Test
Base OS
OS+
Database
Middleware
Application
Base OS
OS+
Database
Middleware
Application
Acceptance Production
AND FINALLY, THE APPLICATION…
Base OS
OS+
Database
Middleware
Application
Base OS
OS+
Database
Middleware
Application
Development
Stac
k
Time…
Base OS
OS+
Database
Middleware
Application
Base OS
OS+
Database
Middleware
Application
Test
Base OS
OS+
Database
Middleware
Application
Base OS
OS+
Database
Middleware
Application
Acceptance Production
AND FINALLY, THE APPLICATION…
Base OS
OS+
Database
Middleware
Application
Base OS
OS+
Database
Middleware
Application
Development
Stac
k
Time…
Base OS
OS+
Database
Middleware
Application
Base OS
OS+
Database
Middleware
Application
Test
Base OS
OS+
Database
Middleware
Application
Base OS
OS+
Database
Middleware
Application
Acceptance Production
AND FINALLY, THE APPLICATION…
DIFFERENT KIND OF ENVIRONMENTS
PORTABLE PLATFORM
PLATFORM CI
Platform Code
Application Code
PROCES CHANGES
COMMUNICATION AND COOPERATION
A BIG TEAM
DECLARATIVE
COMMON LANGUAGE
FACILITATES TARGETED DISCUSSIONS
SMALL DEMO
OUR PUPPET MODULES
OUR MODULES
ORA_CONFIG module
• ora_asm_diskgroup • ora_asm_volume • ora_database • ora_exec • ora_init_param • ora_listener • ora_object_grant • ora_record • ora_role • ora_schema_definition • ora_service • ora_tablespace • ora_user • AND MORE
ORA_INSTALL module
• db_control • db_listener • db_rcu.rb • db_opatch • installdb • installem • install_emagent • installs • opatchupgrade • tnsnames • net • goldengate • client • autostartdatabase
FOR ORACLE WE HAVE GOT
WLS_CONFIG module
• wls_authentication_provider • wls_cluster • wls_datasource • wls_deployment • wls_domain • wls_jms_queue • wls_jms_topic • wls_messaging_bridge • wls_role • wls_saf_imported_destination_object • wls_saf_remote_context • wls_server • wls_workmanager_constraint • AND MUCH MUCH MORE
WLS_INSTALL module
• wls_install::bsu • wls_install::cluster_node • wls_install::domain • wls_install::fmw • wls_install::managed_server • wls_install::nodemanager • wls_install::opatch • wls_install::packdomain • wls_install::software • wls_install::storeuserconfig • wls_install::utils::fmwcluster • wls_install::utils::fmwclusterjrf • wls_install::utils::oimconfig • wls_install::utils::webtier • … AND MORE
FOR WEBLOGIC/FUSION WE HAVE GOT
IN RETROSPECTIVE
BUSINESS AS USUAL
BUT WE WANT: DOCKER & CLOUD AND…..
In the beginning
Base OS
Extra OS-es
Base OS
Additional stuff
Base OS
OS+
Open Source database & middleware
Base OS
OS+
Database
Middleware
Oracle products
Base OS
OS+
Database
Middleware
Application Orchestration
Base OS
OS+
Database
Base OS
OS+
Middleware
Hypervisors
Base OS
OS+
Database
Hypervisors
Base OS
OS+
Middleware
Cloud providers
Cloud
Base OS
OS+
Database
Hypervisors
Base OS
OS+
Middleware
Docker Kubernetes & MESOS support
Cloud
Base OS
OS+
Database
Hypervisors
Containers
Base OS
OS+
Middleware
Containers
Networks & Storage
Cloud
Base OS
OS+
Database
Hypervisors
Containers
Base OS
OS+
Middleware
ContainersN
etw
ork
Storage
Cloud
Base OS
OS+
Database
Hypervisors
Containers
Base OS
OS+
Middleware
Containers
Net
wor
k
Storage
Database applications Middleware Applications
And finally our applications…
Puppet is a very safe choice for your enterprise. It allows you to manage the full stack of enterprise infrastructure, including network, storage, os, middleware, databases and applications. Not limited to Open Source, but available for proprietary software too.