Se ha denunciado esta presentación.
Utilizamos tu perfil de LinkedIn y tus datos de actividad para personalizar los anuncios y mostrarte publicidad más relevante. Puedes cambiar tus preferencias de publicidad en cualquier momento.

JBoss Fuse Workshop 101 part 6

4.887 visualizaciones

Publicado el

This is the last part of the workshop.
This workshop is about fabric8. It provision, automate, configure, and manage containers from a central location.
Also provide HA, failover and service registry too.

Publicado en: Tecnología
  • Inicia sesión para ver los comentarios

JBoss Fuse Workshop 101 part 6

  1. 1. JBoss Fuse 101 Getting Started workshop Christina Lin JBoss Technology Evangelist clin@redhat.com
  2. 2. RED HAT CONFIDENTIAL | ADD NAME2 Where we are now OSGi Container OSGi Container OSGi Container Adding more containers in different server? Where to find my new service? IP? PORT? What about different versions of my deployment Configurations of my applications, files and dependencies too HA? Load Balance? Monitoring?
  3. 3. RED HAT CONFIDENTIAL | ADD NAME3 Fabric8 (Fuse Fabric) Zoo Keeper Hawtio Profile Run time configuration Visualized management Service Publish, discovery & Resource co- ordination Runtime Registry Modeling configuration
  4. 4. RED HAT CONFIDENTIAL | ADD NAME4 Terms Container A Container A Container A Container A Container A Ensemble Fabric Server A Fabric Server A Fabric Server A Fabric
  5. 5. RED HAT CONFIDENTIAL | ADD NAME5 Fuse Server Ensemble Fabric Server A Fabric Server A Sequential Consistency RDB Fabric Server A RDB RDB Fabric Server A RDB Fabric Server A RDB Elect one a leader Quorums (Odd number & >3) Atomicity Single System Image Distributed Locks RDB = Registry database
  6. 6. RED HAT CONFIDENTIAL | ADD NAME6 Runtime Registry Registry Container 1 Container 2 Container 3 Status Connection Address Allocated Resource Service Endpoint
  7. 7. RED HAT CONFIDENTIAL | ADD NAME7 Configuration Registry Registry Profile_A Profile_B Version 1 Version 2 Version 3 Profile •  What to deploy in container? •  Configuration file •  NOT actual program Maven repo
  8. 8. RED HAT CONFIDENTIAL | ADD NAME8 URL Handlers Maven Bundle JAR mvn:[repositoryUrl!]groupId/artifactId[/[version] Example: mvn:org.fusesource.example/bundle-demo/1.3 mvn:[repositoryUrl!]groupId/artifactId[/[version] Example: mvn:org.fusesource.example/bundle-demo/1.3 file:C:Projectscamel-bundletargetfoo-1.0- SNAPSHOT.jar file:/Projects/camel-bundle/target/foo-1.0- SNAPSHOT.jar
  9. 9. RED HAT CONFIDENTIAL | ADD NAME9 Maven Proxy Ensemble Containers Clustered New Container Agent Maven Proxy Registry Look up Local Repo Remote Repo Checks
  10. 10. RED HAT CONFIDENTIAL | ADD NAME10 Order of deployment Bundle 1. Create bundle 2. Create andconfigure aprofile Profile features bundles Container Profile
  11. 11. RED HAT CONFIDENTIAL | ADD NAME11 Or simply with Fabric8 plugin pom.xml <!-- For Fabric8 deployment à <plugin> <groupId>io.fabric8</groupId> <artifactId>fabric8-maven-plugin</artifactId> <version>1.0.0.redhat-412</version> <configuration> <jolokiaUrl>http://localhost:8181/jolokia</jolokiaUrl> </configuration> </plugin> <properties> <fabric8.profile>workshop</fabric8.profile> <fabric8.parentProfiles>feature-camel</ fabric8.parentProfiles> <fabric8.features>camel-</fabric8.features> </properties>
  12. 12. RED HAT CONFIDENTIAL | ADD NAME12 Deployment Flow Deploy Repository Profile Artifact Dependency Dependency Artifact Fabric8 Maven Plugin Container Create Container Container
  13. 13. RED HAT CONFIDENTIAL | ADD NAME13 Version Control Version 1 Repository Profile Artifact Dependency Dependency Artifact Fabric8 Maven Plugin Container Create Container Container Version 2 Version 3
  14. 14. RED HAT CONFIDENTIAL | ADD NAME14 Console (Hawtio) Managed Containers Running profile Message Queue status Expose web services Endpoint Running regirstry Profile list and management
  15. 15. RED HAT CONFIDENTIAL | ADD NAME15 My 6th Camel Ride Maven Repo JBoss Fuse

×