I wrote an article on writing (external) Domain Specific Languages in Ruby over at the Red Hat Developers Blog.
This is based on my two posts on Computed Metrics for HawkFX and A DSL for alert trigger definitions in Hawkular.
I wrote an article on writing (external) Domain Specific Languages in Ruby over at the Red Hat Developers Blog.
This is based on my two posts on Computed Metrics for HawkFX and A DSL for alert trigger definitions in Hawkular.
<subsystem xmlns="urn:org.rhq.metrics:wildflySender:1.0">
<rhqm-server
name="localhost"
enabled="true"
port="8080"
token="0x-deaf-beef"/>
<metric name="non-heap"
path="/core-service=platform-mbean/type=memory"
attribute="non-heap-memory-usage"/>
<metric name="thread-count"
path="/core-service=platform-mbean/type=threading"
attribute="thread-count"/>
</subsystem>
I was very fortunate to be able to attend this years Red Hat Summit in San Francisco.
Right before Summit, the accompanying DevNation conference already started on Sunday with some pretty interesting talks - among others about Fabric8 and Hawt.io.
As both Summit and DevNation happened at Moscone center, it was pretty easy to mix and match sessions. Dev Nation also featured a "hack area": some tables that had huge power strips in the middle to easily connect laptop and smartphone chargers. And usually the table were not as empty as on the next image:
I also met at one of those tables with Matze Wessendorf from the Aerogears team and we developed together an Alert Sender plugin for RHQ, that uses the Unified Push Sender to directly bring alerts from RHQ to the lock screen of the admins phones. The plugin only exists in private git at the moment. We need to do some polishing and remove some passwords before pushing to rhq git.
Summit presentation
Thomas Segismont and I did a presentation "What is new with JBoss ON" and we also had a BOF session later on.
The presentation ran well with around 60 attendees. Most of the audience already knew JBoss ON.
Of those around 2/3 are running 3.1, a few 3.2 and one person was even on 3.0 (unfortunately I was not able to find him later to find out why)
The slides of the presentation are already available online; unfortunately they do not cover the two live demos from Thomas, showing how to add a new Storage Node and how to make use of the new bundle permissions that were introduced in JBoss ON 3.2 (and also RHQ).
BOF
The BOF/Meet and Greet session later was also quite well attended.
People had good questions and ideas and we were talking a bit about roadmap and also about some vision wrt. JBoss ON 4. Unfortunately we got kicked out the room much too early.
OCSystems
Thomas and I also had the luck to be invited by OCSystems, the makers of RTI that also runs on top of JBoss ON for a dinner at the Waterfront restaurant, from where we had an excellent view on to the bay bridge:
Hackathon
And last but not least at the Dev Nation Hackathon, Team "RHQ" won the 2nd prize with some "home automation":
a RaspberryPI running the agent had an LED blinking and we had also one of the MBed boards (Those are developer boards a little like Arduino but with an ARM cpu and sensors + an LCD on board)
connected to read in sensor data; unfortunately I lost some time at the start of the hackathon,
so we could not really use that info in the plugin; 1/2h more time and ... :-)
For the 2nd half of this, Thomas has built a Cordova application for his Android phone and showed how to receive push messages that were sent when alerts are fired with the brand new aerogear-ups alert sender plugin mentioned above.
I should have taken a photo of all the wiring we had set up, but totally forgot
about it.
I will re-create / finish this demo and blog about it
I finally got a Raspberry Pi too. After the hurdles of initial installation, got it hooked up to my LAN and of course I had to install an RHQ agent on it.
And it turned out that this was dead simple, as the Pi already has Java 1.7 installed (in the Raspbian Wheezy distro that I am using). Thus it was only a matter of laying down the rhq-agent, and starting it the usual way.
Now there was one caveat: the agent did not find any file systems or network interfaces etc. This is due to the fact that there is no native library for Sigar on arm v6 cpus supplied with the agent.
I cloned Sigar from its git repository, changed into the 1.6 branch and built that library myself.
Now after dropping libsigar-arm-linux.so
into the agent's lib/ directory, the native library is available and on agent restart all the native stuff could be found.
If you don't want to compile that library yourself, you can take my version from https://sourceforge.net/projects/rhq/files/rhq/misc/.
I will try to get that library into the upcoming RHQ 4.10 release, but can't promise anything.
UpdateIf you run the agent from current master (or upcoming RHQ 4.10), you can configure a list of plugins to be enabled, so that the agent only uses these plugins (and thus uses less memory and starts faster).
This property can be found in the file conf/agent-configuration.xml
:
<entry key="rhq.agent.plugins.enabled" value="Platforms,JMX,RHQAgent"/>
plugins info
at the agent command prompt:
> plugins info
Details of the plugins that are currently installed:
rhq-agent-plugin-4.10.0-SNAPSHOT.jar
Plugin Name: RHQAgent
Display Name: RHQ Agent
Last Updated: 14. Februar 2014 11:03:35 MEZ
File Size: 51.558 bytes
MD5 Hashcode: f7eb7577af667ee4883437230e4b2d8c
[...]
Summary of installed plugins:
[RHQAgent, Platforms, JMX]
The short names are the ones encoded as "Plugin Name" and which are also shown on the summary line. There has actually been a property to disable unwanted plugins for a longer time, but just enabling the ones needed is probably easier.
-Xms
setting in the rhq-agent.sh
script- the default of a 64MB minimum heap is just too large here.Xms
setting, my agent has a committed heap of ~14MB and a used heap of ~11MB. A dump is/was 4MB in size.P.S.: “Raspberry Pi" is a trademark of the Raspberry Pi Foundation
git clone git@github.com:pilhuhn/wildfly.git
cd wildfly
mvn install
build/target
directory
$ pwd
/devel/wildfly/build/target
$ ls
antrun generated-configs wildfly-8.0.0.Alpha1-SNAPSHOT
bin/standalone.sh
WHEN | EVENT | TRACK & ROOM | SPEAKER |
11:00-11:10 | CrossDesktop (H.1308) | Christophe Fergeau | |
11:00-11:05 | Legal Issues (AW1.125) | Richard Fontana | |
11:00-11:55 | JBoss.org (K.3.201) | Marek Goldmann | |
11:00-11:05 | Free Java (K.4.401) | Mark Wielaard, Andrew Haley, Andrew Hughes | |
12:00-12:55 | JBoss.org (K.3.201) | Geoffrey De Smet | |
12:30-12:55 | libguestfs - tools for modifying virtual machine | Virtualization & Cloud (Chavanne) | Richard Jones |
13:00-13:25 | Virtualization & Cloud (Chavanne) | Pádraig Brady | |
13:00-13:55 | JBoss.org (K.3.201) | Grant Shipley | |
14:00-14:25 | Virtualization & Cloud (Chavanne) | Francesco Vollero | |
14:00-14:55 | JBoss.org (K.3.201) | Carlo De Wolf | |
15:00-15:50 | Hypervisors (Janson) | Paolo Bonzini | |
15:00-15:55 | JBoss Forge / Arquillian: Two Missing Links in | JBoss.org (K.3.201) | Koen Aers |
15:00-15:25 | Virtualization & Cloud (Chavanne) | Michal Fojtik | |
15:30-15:55 | Virtualization & Cloud (Chavanne) | Marios Andreou | |
16:00-16:55 | Infinispan: where open source, Java and in-memory | JBoss.org (K.3.201) | Manik Surtani |
16:15-17:00 | CrossDesktop (H.1308) | Christophe Fergeau | |
16:30-17:00 | Legal Issues (AW1.125) | Richard Fontana | |
17:00-17:55 | RHQ: Recent and future developments in the RHQ | JBoss.org (K.3.201) | Heiko Rupp |
17:30-18:00 | Legal Issues (AW1.125) | Richard Fontana | |
18:00-18:55 | Guvernor/JBPM : Managing workflows and business | JBoss.org (K.3.201) | Geoffrey De Smet, Marco Rietveld |
18:00-18:30 | Thermostat: Taking over the Java tooling world with | Free Java (K.4.401) | Jon VanAlten, Omair Majid |
18:20-18:35 | Lightning Talks (Ferrer) | Romain PELISSE | |
18:30-19:00 | Free Java (K.4.401) | Andrew Dinn |
WHEN | EVENT | TRACK & ROOM | SPEAKER |
09:00-09:25 | Virtualization & Cloud (Chavanne) | Hans de Goede | |
09:30-09:55 | Virtualization & Cloud (Chavanne) | Hans de Goede | |
10:00-10:45 | Configuration & Systems Management (K.3.601) | Zane Bitter | |
10:45-11:15 | CrossDesktop (H.1308) | Zeeshan Ali (Khattak), Marc-André Lureau | |
11:00-11:15 | Lightning Talks (Ferrer) | Andrew Overholt | |
11:00-11:25 | Virtualization & Cloud (Chavanne) | Itamar Heim | |
11:30-11:55 | Virtualization & Cloud (Chavanne) | Omer Frenkel | |
11:30-12:00 | Free Java (K.4.401) | Mark Wielaard | |
12:00-12:25 | Virtualization & Cloud (Chavanne) | Federico Simoncelli | |
12:30-13:30 | Free Java (K.4.401) | Andrew Haley | |
15:00-15:55 | Virtualization & Cloud (Chavanne) | Daniel Berrange | |
15:30-16:00 | Free Java (K.4.401) | Deepak Bhole | |
16:30-17:00 | Free Java (K.4.401) | Andrew Haley |
Last week, the whole RHQ development team met in the Red Hat office in Westford (near Boston). It was very nice for me to finally see some of the old colleagues again after two years and also to meet the new colleagues on the team.
And of course, we took a team photo
We had some very good discussions about possible future features (like e.g. supporting a REST style API into the system or on the future of alerts) - I will post more information soon. In the mornings we had show'n'tell style session where each developer was presenting some area of work to the team.
After work we did some more recreational things like:
One of things we also did is to publish some sort or Roadmap for RHQ and discussed that we will move the source to GitHub at some time and also split up the build in an easier to build way. We will post about that when we are making more progress on this.
Ah and did I mention "Beer"?
Last week I spend the whole week in the Red Hat training center here in Stuttgart, participating in the Red Hat Certified System Administrator (RHCSA) fast track course and exam. The RHCSA is probably still very unknown and better known under its previous name "RHCT". RHCSA runs on RHEL 6.
The fast track training consists of some more basic aspects of system administration like installing and enabling services, setting up networking in the first half and some more advanced topics like ACLs, SELinux, LVM (with encryption and snapshots) in the second part. The course material works with brand new RHEL 6 stuff and also the exam is on RHEL 6. Top notch!
Friday was exam time. As I am not allowed to talk about this only so far: this is a real-world get things done kind of exam and not some multiple choice test.
And then I was waiting for exam results - and today I got it: I passed and I am now a RHCSA! :-)))
Cert number is 100-003-383