Code Monkey home page Code Monkey logo

prune-eap-6-standalone-full-ha-profile's Introduction

Downgrade standalone-full-ha.xml to standalone.xml profile

Basically these are instructions on how to downgrade a standalone-full-ha.xml profile configuration to standalone-full.ha

why

Good question. Why not just use standalone.xml, well I asked myself this same question until I was on project with a particular client that had a blackbox data center such that they provided all the jboss tooling OOB and then would trim as necessary. Their reasoning, was

  1. The subsystems were not invoked unless the app code leverages it

  2. Footprint is small

  3. If all subsystems are there it is less management for each customer; everything is already there

  4. Easier for admins to troubleshoot; known configuration

Remove subsystems
/subsystem=messaging:remove
/subsystem=modcluster:remove
/subsystem=jsr77:remove
/subsystem=jaxr:remove
/subsystem=jacorb:remove
/subsystem=cmp:remove
/subsystem=jgroups:remove
/subsystem=web/connector=ajp:remove
reload
Remove socketbindgs
/socket-binding-group=standard-sockets/socket-binding=jacorb:remove
/socket-binding-group=standard-sockets/socket-binding=jacorb-ssl:remove
/socket-binding-group=standard-sockets/socket-binding=jgroups-mping:remove
/socket-binding-group=standard-sockets/socket-binding=jgroups-tcp
/socket-binding-group=standard-sockets/socket-binding=jgroups-tcp:remove
/socket-binding-group=standard-sockets/socket-binding=jgroups-tcp-fd:remove
/socket-binding-group=standard-sockets/socket-binding=jgroups-udp:remove
/socket-binding-group=standard-sockets/socket-binding=jgroups-udp-fd:remove
/socket-binding-group=standard-sockets/socket-binding=messaging:remove
/socket-binding-group=standard-sockets/socket-binding=messaging-group:remove
/socket-binding-group=standard-sockets/socket-binding=messaging-throughput:remove
/socket-binding-group=standard-sockets/socket-binding=modcluster:remove
reload
Remove modules extensions
/extension=org.jboss.as.clustering.jgroups:remove
/extension=org.jboss.as.cmp:remove
/extension=org.jboss.as.jacorb:remove
/extension=org.jboss.as.jaxr:remove
/extension=org.jboss.as.jsr77:remove
/extension=org.jboss.as.messaging:remove
/extension=org.jboss.as.modcluster:remove
reload
Add infinispan
/subsystem=infinispan:remove()
reload
/subsystem=infinispan:add()
reload
/subsystem=infinispan/cache-container=web:add(module=org.jboss.as.clustering.web.infinispan,aliases=[alias=standard-session-cache],default-cache=local-web)
/subsystem=infinispan/cache-container=web/local-cache=local-web:add(batching=true)
/subsystem=infinispan/cache-container=web/local-cache=local-web/file-store=FILE_STORE:add(passivation=false,purge=false
/subsystem=infinispan/cache-container=hibernate:add(module=org.jboss.as.jpa.hibernate:4,default-cache=local-query)
/subsystem=infinispan/cache-container=hibernate/local-cache=entity:add()
/subsystem=infinispan/cache-container=hibernate/local-cache=entity/transaction=TRANSACTION:add(mode=NON_XA)
/subsystem=infinispan/cache-container=hibernate/local-cache=entity/eviction=EVICTION:add(strategy="LRU", max-entries="10000")
/subsystem=infinispan/cache-container=hibernate/local-cache=entity/expiration=EXPIRATION:add(max-idle="100000")
/subsystem=infinispan/cache-container=hibernate/local-cache=local-query:add()
/subsystem=infinispan/cache-container=hibernate/local-cache=local-query/transaction=TRANSACTION:add(mode="NONE")
/subsystem=infinispan/cache-container=hibernate/local-cache=local-query/eviction=EVICTION:add(strategy="LRU", max-entries="10000")
/subsystem=infinispan/cache-container=hibernate/local-cache=local-query/expiration=EXPIRATION:add(max-idle="100000")
/subsystem=infinispan/cache-container=hibernate/local-cache=timestamps:add()
/subsystem=infinispan/cache-container=hibernate/local-cache=timestamps/transaction=TRANSACTION:add(mode="NONE")
/subsystem=infinispan/cache-container=hibernate/local-cache=timestamps/eviction=EVICTION:add(strategy="NONE")
reload
Remove EJB components
/subsystem=ejb3/cache=clustered:remove
/subsystem=ejb3/cluster-passivation-store=infinispan:remove
/subsystem=ejb3/service=iiop:remove
/subsystem=ejb3:write-attribute(name=default-clustered-sfsb-cache,value=undefined)
/subsystem=ejb3:write-attribute(name=default-mdb-instance-pool,value=undefined)
/subsystem=ejb3:write-attribute(name=default-resource-adapter-name,value=undefined)
reload

prune-eap-6-standalone-full-ha-profile's People

Stargazers

Andriy Kalashnykov avatar

Watchers

J. Marley avatar Andriy Kalashnykov avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.