With Fabric
- Download Fuse 6.1 and unpack it
- Download the attached patches.zip and unpack it
- Add the following to [FUSE HOME]/fabric/import/fabric/configs/versions/1.0/profiles/default/io.fabric8.agent.properties
metadata#org.apache.aries.proxy.impl#[1.0,2.0)#Export-Service = org.apache.aries.proxy.ProxyManager
metadata#org.apache.aries.blueprint.core#[1.0,2.0)#Import-Service = org.apache.aries.proxy.ProxyManager
metadata#org.apache.karaf.deployer.blueprint#[2.0,3.0)#Require-Capability = osgi.extender;filter:="(osgi.extender=osgi.blueprint)"
metadata#io.fabric8.fabric-core#[1.0,2.0)#Require-Capability = osgi.extender;filter:="(osgi.extender=osgi.service.component)"
metadata#org.apache.felix.scr#[1.0,2.0)#Provide-Capability = osgi.extender;osgi.extender=osgi.service.component - Clone the Overlord Commons and Overlord S-RAMP git repos
- In both repos, 'mvn clean install' (include '-DskipTests' if you're not interested in running the unit tests).
- Unzip the Commons and S-RAMP profiles into [FUSE_HOME]/fabric/import/fabric/configs/versions/1.0/profiles:
- [COMMONS_HOME]/overlord-commons-dist/overlord-commons-dist-fuse6/target/overlord-commons-profile-[VERSION].zip
- [RTGOV_HOME]/distribution/overlord-rtgov-profiles-fabric/target/overlord-rtgov-profiles-fabric-[VERSION].zip
- Start Fuse: [FUSE_HOME]/bin/fuse
- Configure the Commons and S-RAMP profiles using Overlord's Karaf command bundle:
- mvn:org.overlord.rtgov/overlord-rtgov-features-fuse6/[VERSION]/xml/features
- features:install -v rtgov-karaf-commands
- You can configure rtgov-client or rtgov-all profiles or both:
- overlord:fabric:rtgov:all:configure [FABRIC_PASSWORD]
- overlord:fabric:rtgov:client:configure [USER] [PASSWORD]
- Create the user and role
- fabric:create --zookeeper-password admin
When prompted, use "admin" for both the username and password. - jaas:manage --index 3
- jaas:roleadd admin overlorduser
- jaas:update
- fabric:create --zookeeper-password admin
- Create a fuse fabric container:
- fabric:container-create-child root child
To allow remote debugging, use something like the following: fabric:container-create-child --jvm-opts '-Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=5005' root child - It is recommended to add --jvm-opts '-Xms2000m -Xmx2000m'
- fabric:container-create-child --jvm-opts '-Xms2000m -Xmx2000m -Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=5005' root child
- fabric:container-create-child root child
- Stop the container using "fabric:container-stop child"
- Copy the jre.properties that is inside the xmlsec.zip file into the [FUSE_HOME]/instances/child/etc folder.
- Start Fuse or start the container using "fabric:container-start child". In case you have stopped Fuse completely, the container is not always started, so it is necessary to start.
- You can check the logs of the container: tail -1000f [FUSE_HOME]/instances/child/data/log/karaf.log
- Add the profiles to the Fabric container:
- fabric:container-add-profile child overlord-rtgov-all or fabric:container-add-profile child overlord-rtgov-client
- Test the RTGOV UI: http://localhost:8182/rtgov-ui
Without Fabric
- Download Fuse 6.1 and unpack it
- Download the attached patches.zip and unpack it inside of the Fuse installation directory.
- Start Fuse: [FUSE_HOME]/bin/fuse
- features:addurl mvn:org.overlord.rtgov/overlord-rtgov-features-fuse6/[VERSION]/xml/features
- features:install rtgov-karaf-commands
- Configure Fuse, in preparation for RTGOV: overlord:rtgov:all:configure [PASSWORD]
- Launch RTGOV: features:install rtgov-all
- Test the RTGOV UI: http://localhost:8181/rtgov-ui
Comments