Top Banner
Red Hat CloudForms, Red Hat Satellite 6, & Puppet for automating JBoss EAP 6 Joe Bennett, Red Hat Consultant @jbnewyork7 Ian Tewksbury, Red Hat Senior Consultant @itewk
34

JBoss EAP 6 Satellite 6, & Puppet for automating … · Satellite 6, & Puppet for automating JBoss EAP 6 Joe Bennett, Red Hat Consultant ... WALK INTO AUTOMATION Source: Lord of the

Jul 28, 2018

Download

Documents

lethuy
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: JBoss EAP 6 Satellite 6, & Puppet for automating … · Satellite 6, & Puppet for automating JBoss EAP 6 Joe Bennett, Red Hat Consultant ... WALK INTO AUTOMATION Source: Lord of the

Red Hat CloudForms, Red Hat Satellite 6, & Puppet for automating

JBoss EAP 6

Joe Bennett, Red Hat Consultant@jbnewyork7

Ian Tewksbury, Red Hat Senior Consultant@itewk

Page 2: JBoss EAP 6 Satellite 6, & Puppet for automating … · Satellite 6, & Puppet for automating JBoss EAP 6 Joe Bennett, Red Hat Consultant ... WALK INTO AUTOMATION Source: Lord of the

Forgone Conclusion

Page 3: JBoss EAP 6 Satellite 6, & Puppet for automating … · Satellite 6, & Puppet for automating JBoss EAP 6 Joe Bennett, Red Hat Consultant ... WALK INTO AUTOMATION Source: Lord of the

Investigate Implement Inspire

Page 4: JBoss EAP 6 Satellite 6, & Puppet for automating … · Satellite 6, & Puppet for automating JBoss EAP 6 Joe Bennett, Red Hat Consultant ... WALK INTO AUTOMATION Source: Lord of the

Investigate

Determine Purpose

Know Thyself

Choose Your Path

Page 5: JBoss EAP 6 Satellite 6, & Puppet for automating … · Satellite 6, & Puppet for automating JBoss EAP 6 Joe Bennett, Red Hat Consultant ... WALK INTO AUTOMATION Source: Lord of the

Purpose

“...your scientists were so preoccupied with whether or not they could that they didn't stop to think if they should.”

- Dr. Ian Malcolm

Source: Jurassic Park, Universal Pictures (1999)

Page 6: JBoss EAP 6 Satellite 6, & Puppet for automating … · Satellite 6, & Puppet for automating JBoss EAP 6 Joe Bennett, Red Hat Consultant ... WALK INTO AUTOMATION Source: Lord of the

Know Thyself: Existing Infrastructure

ONE DOES NOT SIMPLY

WALK INTO AUTOMATION

Source: Lord of the Rings: The Fellowship of the Ring, New Line Cinema (2001)

Page 7: JBoss EAP 6 Satellite 6, & Puppet for automating … · Satellite 6, & Puppet for automating JBoss EAP 6 Joe Bennett, Red Hat Consultant ... WALK INTO AUTOMATION Source: Lord of the

Know Thyself: Culture

“Aahh, now, are you going to go ahead and have those TPS reports for us this afternoon?”- Bill Lumbergh

Source: Office Space, Twentieth Century Fox Film Corporation (1999)

Page 8: JBoss EAP 6 Satellite 6, & Puppet for automating … · Satellite 6, & Puppet for automating JBoss EAP 6 Joe Bennett, Red Hat Consultant ... WALK INTO AUTOMATION Source: Lord of the

Path: Where to Start?

Source: http://picshype.com/difficult-maze-with-solution.html

Page 9: JBoss EAP 6 Satellite 6, & Puppet for automating … · Satellite 6, & Puppet for automating JBoss EAP 6 Joe Bennett, Red Hat Consultant ... WALK INTO AUTOMATION Source: Lord of the

Path: Unique but Different

Source: http://picshype.com/difficult-maze-with-solution.html

Page 10: JBoss EAP 6 Satellite 6, & Puppet for automating … · Satellite 6, & Puppet for automating JBoss EAP 6 Joe Bennett, Red Hat Consultant ... WALK INTO AUTOMATION Source: Lord of the

Implement

Puppet

Satellite

CloudForms

Page 11: JBoss EAP 6 Satellite 6, & Puppet for automating … · Satellite 6, & Puppet for automating JBoss EAP 6 Joe Bennett, Red Hat Consultant ... WALK INTO AUTOMATION Source: Lord of the

End-To-End

Page 12: JBoss EAP 6 Satellite 6, & Puppet for automating … · Satellite 6, & Puppet for automating JBoss EAP 6 Joe Bennett, Red Hat Consultant ... WALK INTO AUTOMATION Source: Lord of the

JBoss EAP 6.x

Inconsistent Consistent

VS

Page 13: JBoss EAP 6 Satellite 6, & Puppet for automating … · Satellite 6, & Puppet for automating JBoss EAP 6 Joe Bennett, Red Hat Consultant ... WALK INTO AUTOMATION Source: Lord of the

Puppet and Community

Page 14: JBoss EAP 6 Satellite 6, & Puppet for automating … · Satellite 6, & Puppet for automating JBoss EAP 6 Joe Bennett, Red Hat Consultant ... WALK INTO AUTOMATION Source: Lord of the

Puppet & JBoss Example:jboss_admin Module

jboss_admin::server {'main': base_path => '/opt/jboss'}

jboss_admin::resource::data_source{'/subsystem=datasources/data-source=ExampleDS': ensure => present, connection_url => 'jdbc:h2:mem:test;DB_CLOSE_DELAY=-1', driver_name => h2, jndi_name => 'java:jboss/datasources/ExampleDS2', jta => true, user_name => sa, password => sa, server => main}

jboss_exec {'Enable Data Source': command => '/subsystem=datasources/data-source=ExampleDS:enable', unless => '(result == true) of /subsystem=datasources/data-source=ExampleDS:read-attribute(name=enabled)', server => main}

Page 15: JBoss EAP 6 Satellite 6, & Puppet for automating … · Satellite 6, & Puppet for automating JBoss EAP 6 Joe Bennett, Red Hat Consultant ... WALK INTO AUTOMATION Source: Lord of the

Satellite 6

Page 16: JBoss EAP 6 Satellite 6, & Puppet for automating … · Satellite 6, & Puppet for automating JBoss EAP 6 Joe Bennett, Red Hat Consultant ... WALK INTO AUTOMATION Source: Lord of the

Satellite: Providers

Page 17: JBoss EAP 6 Satellite 6, & Puppet for automating … · Satellite 6, & Puppet for automating JBoss EAP 6 Joe Bennett, Red Hat Consultant ... WALK INTO AUTOMATION Source: Lord of the

Satellite: Workflow

Page 18: JBoss EAP 6 Satellite 6, & Puppet for automating … · Satellite 6, & Puppet for automating JBoss EAP 6 Joe Bennett, Red Hat Consultant ... WALK INTO AUTOMATION Source: Lord of the

Satellite: Products

Page 19: JBoss EAP 6 Satellite 6, & Puppet for automating … · Satellite 6, & Puppet for automating JBoss EAP 6 Joe Bennett, Red Hat Consultant ... WALK INTO AUTOMATION Source: Lord of the

Satellite: Content Views

Page 20: JBoss EAP 6 Satellite 6, & Puppet for automating … · Satellite 6, & Puppet for automating JBoss EAP 6 Joe Bennett, Red Hat Consultant ... WALK INTO AUTOMATION Source: Lord of the

Satellite: Composite Content Views

Page 21: JBoss EAP 6 Satellite 6, & Puppet for automating … · Satellite 6, & Puppet for automating JBoss EAP 6 Joe Bennett, Red Hat Consultant ... WALK INTO AUTOMATION Source: Lord of the

Satellite: Lifecycle Environments

Page 22: JBoss EAP 6 Satellite 6, & Puppet for automating … · Satellite 6, & Puppet for automating JBoss EAP 6 Joe Bennett, Red Hat Consultant ... WALK INTO AUTOMATION Source: Lord of the

Satellite: Activation Keys

Page 23: JBoss EAP 6 Satellite 6, & Puppet for automating … · Satellite 6, & Puppet for automating JBoss EAP 6 Joe Bennett, Red Hat Consultant ... WALK INTO AUTOMATION Source: Lord of the

Satellite: Host Groups

Page 24: JBoss EAP 6 Satellite 6, & Puppet for automating … · Satellite 6, & Puppet for automating JBoss EAP 6 Joe Bennett, Red Hat Consultant ... WALK INTO AUTOMATION Source: Lord of the

CloudForms: Services

Page 25: JBoss EAP 6 Satellite 6, & Puppet for automating … · Satellite 6, & Puppet for automating JBoss EAP 6 Joe Bennett, Red Hat Consultant ... WALK INTO AUTOMATION Source: Lord of the

CloudForms: User Experience

VS

Satellite CloudForms

Page 26: JBoss EAP 6 Satellite 6, & Puppet for automating … · Satellite 6, & Puppet for automating JBoss EAP 6 Joe Bennett, Red Hat Consultant ... WALK INTO AUTOMATION Source: Lord of the

CloudForms: Integration with Satellite

Page 27: JBoss EAP 6 Satellite 6, & Puppet for automating … · Satellite 6, & Puppet for automating JBoss EAP 6 Joe Bennett, Red Hat Consultant ... WALK INTO AUTOMATION Source: Lord of the

Demo

Page 28: JBoss EAP 6 Satellite 6, & Puppet for automating … · Satellite 6, & Puppet for automating JBoss EAP 6 Joe Bennett, Red Hat Consultant ... WALK INTO AUTOMATION Source: Lord of the

Inspire

Train

Profit

Feedback

Page 29: JBoss EAP 6 Satellite 6, & Puppet for automating … · Satellite 6, & Puppet for automating JBoss EAP 6 Joe Bennett, Red Hat Consultant ... WALK INTO AUTOMATION Source: Lord of the

Train

Source:Jurassic World, Universal Pictures (2015)

Page 30: JBoss EAP 6 Satellite 6, & Puppet for automating … · Satellite 6, & Puppet for automating JBoss EAP 6 Joe Bennett, Red Hat Consultant ... WALK INTO AUTOMATION Source: Lord of the

Profit

Page 31: JBoss EAP 6 Satellite 6, & Puppet for automating … · Satellite 6, & Puppet for automating JBoss EAP 6 Joe Bennett, Red Hat Consultant ... WALK INTO AUTOMATION Source: Lord of the

Gather Feedback

What you thought the users wanted

How you described it to the users

First iteration delivered to the users

What the users actually want

Source:http://projectcartoon.comSource: http://www.paragoninnovations.com/guide.shtml

Page 32: JBoss EAP 6 Satellite 6, & Puppet for automating … · Satellite 6, & Puppet for automating JBoss EAP 6 Joe Bennett, Red Hat Consultant ... WALK INTO AUTOMATION Source: Lord of the

InvestigateDetermine Purpose

Know Thyself

Choose Your Path

Iterate

ImplementPuppet

Satellite

CloudForms

InspireTrain

Profit

Feedback

Page 33: JBoss EAP 6 Satellite 6, & Puppet for automating … · Satellite 6, & Puppet for automating JBoss EAP 6 Joe Bennett, Red Hat Consultant ... WALK INTO AUTOMATION Source: Lord of the

Links

● CloudForms Automate Code:○ https://github.com/jbennett7/summit.git

● Puppet Modules:○ jboss_admin: https://github.com/cpitman/puppet-jboss_admin○ jboss_eap_server: https://github.com/itewk/puppet-jboss_eap_server○ nexus_server: https://github.com/itewk/puppet-jenkins_server ○ jenkins_server: https://github.com/itewk/puppet-jenkins_server

● Connect○ @jbnewyork7○ @itewk

Page 34: JBoss EAP 6 Satellite 6, & Puppet for automating … · Satellite 6, & Puppet for automating JBoss EAP 6 Joe Bennett, Red Hat Consultant ... WALK INTO AUTOMATION Source: Lord of the