what's new in jboss on 3.2

55
What's new in JBoss Operations Network Heiko W. Rupp, Alan Santos, Thomas Segismont Red Hat

Upload: thomas-segismont

Post on 25-May-2015

462 views

Category:

Technology


2 download

DESCRIPTION

Slides from the Red Hat Summit 2014 session: What's new in JBoss ON 3.2

TRANSCRIPT

Page 1: What's new in JBoss ON 3.2

What's new in JBoss Operations NetworkHeiko W. Rupp, Alan Santos, Thomas SegismontRed Hat

Page 2: What's new in JBoss ON 3.2

AgendaOverviewNew ChartsNew Storage NodesFiner Bundle PermissionsREST-APIOutlook to JBossON 3.3

Page 3: What's new in JBoss ON 3.2

Overview

Page 4: What's new in JBoss ON 3.2

Let us ask some questions first

Who knows JBoss ON ?

Who uses JBoss ON?

What version?

•3.2

•3.1

•other

Page 5: What's new in JBoss ON 3.2

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

Page 6: What's new in JBoss ON 3.2

Architecture 100.000 feet

Page 7: What's new in JBoss ON 3.2

Architecture 10.000 feet

Page 8: What's new in JBoss ON 3.2

New charts

Page 9: What's new in JBoss ON 3.2

New charts

Page 10: What's new in JBoss ON 3.2

New charts

Page 11: What's new in JBoss ON 3.2

Storage nodesMetrics storage scalability

Page 12: What's new in JBoss ON 3.2

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)

Page 13: What's new in JBoss ON 3.2

Metric definitions

•Per resource type

•Some enabled by default

Page 14: What's new in JBoss ON 3.2

Enabling collection

Page 15: What's new in JBoss ON 3.2

Collection process

•Agent plugin collects data

•Sends measurement report to JON server

•Server stores raw values

Page 16: What's new in JBoss ON 3.2

Data usage

•Display in UI (tables and graphs)

•Retrieval through REST API / CLI / Remote API

•Calculate baselines

•Trigger alerts

Page 17: What's new in JBoss ON 3.2

Raw metrics model

•Schedule id ~ Resource id + Metric Definition id

•Data (value collected)

•Time stamp

Page 18: What's new in JBoss ON 3.2

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

Page 19: What's new in JBoss ON 3.2

Metrics storage before 3.2

•Everything in the relational database

•Simple to access from JON server (@Resource)

•No extra deployment

Page 20: What's new in JBoss ON 3.2

So, what's the problem with metric storage?

Page 21: What's new in JBoss ON 3.2

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

Page 22: What's new in JBoss ON 3.2

Scale-up?

•Top-class hardware

•Top-class database

• ... and a top-notch DBA!

Page 23: What's new in JBoss ON 3.2

There must be a better approach

Page 24: What's new in JBoss ON 3.2

Scale-out with NoSQL

•Hybrid model (SQL + NoSQL)

• Incremental approach (only metrics)

•For a fraction of a cost

Page 25: What's new in JBoss ON 3.2

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

Page 26: What's new in JBoss ON 3.2

We created JBoss ON Storage Node

•Based on Cassandra

•Well suited for time series data

• Intensive write loads optimized

•Usual management tools (JMX)

Page 27: What's new in JBoss ON 3.2

User perspective

• 'Just' another JON component

• Install with rhqctl

•Add new nodes on demand

Page 28: What's new in JBoss ON 3.2

JBoss ON ServerJBoss ON

Storage Node

JBoss ONStorage Node

JBoss ONStorage Node

JBoss ONStorage Node

gossip

cql

Page 29: What's new in JBoss ON 3.2

Storage node management

•Agent plugin => requires an agent!

•Auto-imported in inventory

•Dedicated console in the admin pages

Page 30: What's new in JBoss ON 3.2

Simulator

Server Raw Metrics / Minute Heap

Blade ServeriSCSI2 Storage Nodes

680K 512M per nodeSlower due to virtualized environment

Bare MetalSSD2 Storage Nodes

1M 512M per node Higher number of agents

Page 31: What's new in JBoss ON 3.2

Adding a new storage node demo

Page 32: What's new in JBoss ON 3.2

Fine grained bundle permissionsEnabling complex provisioning workflows

Page 33: What's new in JBoss ON 3.2

What is a bundle?

Simply put, a zip file:

•With at least a recipe

•And (optionally) a set of files

010101010010101010

010101010

Page 34: What's new in JBoss ON 3.2

Files?

•Standalone application

•Web application alone

•Web application, static resources, and configuration files

•Full application server!

• ... etc

Page 35: What's new in JBoss ON 3.2

Pluggable provisioning

Out of the box:

•ANT bundles (powerful)

•File template (very basic)

Create your own!

Page 36: What's new in JBoss ON 3.2

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

Page 37: What's new in JBoss ON 3.2

Deployment

•To a group of resources (bundle targets)

•From a base location to a destination

Page 38: What's new in JBoss ON 3.2

Old security model

•Global MANAGE_BUNDLE permission

•Create / Delete / Deploy any bundle

•Kept in JON 3.2

•Non critical environments

•Beginners

Page 39: What's new in JBoss ON 3.2

Secure the system with bundle permissions

Page 40: What's new in JBoss ON 3.2

Groups

BUNDLE GROUPS

|

v

RESOURCE GROUPS ---> ROLES <--- USERS

^

|

permissions

Page 41: What's new in JBoss ON 3.2

Permission details

•View (implied)

•Create / Delete

•Assign / Unassign

•Deploy

Page 42: What's new in JBoss ON 3.2

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

Page 43: What's new in JBoss ON 3.2

The demo example

Human ResourcesEnvironment

FinanceEnvironment

HRBundles

FinanceBundles

Developers Operators

Page 44: What's new in JBoss ON 3.2

ANT Bundle demo

Page 45: What's new in JBoss ON 3.2

REST-API

Page 46: What's new in JBoss ON 3.2

REST-API

Fully supported

•For Output AND Input

•Will be used more (by JBossON) in the future

Page 47: What's new in JBoss ON 3.2

REST-API: External Out-of-Band processing

Page 48: What's new in JBoss ON 3.2

REST-API: External Out-of-Band processing

Page 49: What's new in JBoss ON 3.2

Demo

Page 50: What's new in JBoss ON 3.2

Outlook

●JBoss ON 3.2.CP1●Coming in JBoss ON 3.3

Page 51: What's new in JBoss ON 3.2

3.2.CP1

•Bug fix update for 3.2

•Cumulative patch

•Not full release

Page 52: What's new in JBoss ON 3.2

3.3: Reduced Agent footprint

•Agent uses less heap

• Inventory sync is less costy on the server

• Internal algorithms tuned

Page 53: What's new in JBoss ON 3.2

3.3 : Better support for EAP 6

•Communication via https

•Bundles and Drift for Domain Mode

•Patching

•Better align JBoss ON groups ↔ EAP groups

Page 54: What's new in JBoss ON 3.2

3.3 : Integration with Access.redhat.com

•Open cases from within JBoss ON

•Access Knowledge Base

•For JBoss ON

•For Managed EAP

Page 55: What's new in JBoss ON 3.2

Thanks for your attention

Questions?

There is a BOF @6pm – join us!