4. Let us ask some questions first
Who knows JBoss ON ?
Who uses JBoss ON?
What version?
•3.2
•3.1
•other
5. Did you know?
JBoss ON has an Open Source upstream project called RHQ?
http://jboss.org/rhq
You can reach the developers in
#rhq on
Irc.freenode.net
12. Runtime data in JON
•Traits (ex: Platform CPU architecture)
•Events (ex: Error reported in a log file)
•Call-time (ex: Servlet response time)
•Metrics (ex: Swap usage)
18. Aggregates
•Retention period: cannot keep data indefinitely
•Storage efficiency at the cost of precision loss
•Raw data -> 1h data
•1h -> 6h
•6h -> 24h 24 hours aggregates
6 hours aggregates 6 hours aggregates
1 hour 1 hour 1 hour 1 hour
Raw Raw Raw Raw Raw Raw Raw Raw
19. Metrics storage before 3.2
•Everything in the relational database
•Simple to access from JON server (@Resource)
•No extra deployment
21. Consider a large deployment
•3 metrics enabled per resource type on average
•1000 resources per agent
•1000 managed servers
=> 3 million raw data points every 30 seconds
25. Solution criteria
•Management and support
•Solution needs to be black boxed, self-managed
•Performance and scalability
•No single point of failure
•Support single machine install
26. We created JBoss ON Storage Node
•Based on Cassandra
•Well suited for time series data
•Intensive write loads optimized
•Usual management tools (JMX)
28. JBoss ON Server
JBoss ON
Storage Node
JBoss ON
Storage Node
JBoss ON
Storage Node
JBoss ON
Storage Node
gossip
cql
29. Storage node management
•Agent plugin => requires an agent!
•Auto-imported in inventory
•Dedicated console in the admin pages
30. Simulator
Server Raw Metrics / Minute Heap
Blade Server
iSCSI
2 Storage Nodes
680K 512M per node
Slower due to virtualized
environment
Bare Metal
SSD
2 Storage Nodes
1M 512M per node Higher number of agents
36. Template engine
•Can process any of the bundle files
•@@my.property.to.replace@@
•Built-in variables
•rhq.system.hostname
•rhq.system.cpu.count
•rhq.system.sysprop.line.separator
•... etc
37. Deployment
•To a group of resources (bundle targets)
•From a base location to a destination
38. Old security model
•Global MANAGE_BUNDLE permission
•Create / Delete / Deploy any bundle
•Kept in JON 3.2
•Non critical environments
•Beginners
42. Use cases
•Team leader creates, members deploy
•Team members create and deploy on specific resource group
•Dev team creates, Op team deploys
Flexible enough for your organization
43. The demo example
Human Resources
Environment
Finance
Environment
HR
Bundles
Finance
Bundles
Developers Operators