Rudder 3.0 - what's new ?

24
Normation – Tous droits réservés normation.com Rudder 3.0 Rudder 3.0 A major step forward

Transcript of Rudder 3.0 - what's new ?

Page 1: Rudder 3.0 - what's new ?

Normation – Tous droits réservésnormation.com

Rudder 3.0

Rudder 3.0

A major step forward

Page 2: Rudder 3.0 - what's new ?

Normation – Tous droits réservésnormation.com

Rudder 3.0: Redesigned web interface

Redesigned web interface

✔ Avoid wasted space✔ One click access to all screens✔ Familiar Bootstrap menu bar✔ Improved user experience✔ Refresh data in all tables

Page 3: Rudder 3.0 - what's new ?

Normation – Tous droits réservésnormation.com

Rudder 3.0: Redesigned web interface

Before

After

Page 4: Rudder 3.0 - what's new ?

Normation – Tous droits réservésnormation.com

Rudder 3.0: Redesigned web interface

Wasted space

Was

ted

sp

ace

Was

ted

sp

ace

Useful content

Pre-3.0

Page 5: Rudder 3.0 - what's new ?

Normation – Tous droits réservésnormation.com

Rudder 3.0: Redesigned web interface

Useful content

Now in 3.0

Page 6: Rudder 3.0 - what's new ?

Normation – Tous droits réservésnormation.com

Rudder 3.0: Redesigned web interface

One click access to all pages

Pre 3.0: double menu

First click

Second click

Now in 3.0: one menu

Page 7: Rudder 3.0 - what's new ?

Normation – Tous droits réservésnormation.com

Rudder 3.0: Redesigned web interface

Improved user experiencePre 3.0: tabbed Directive page

Now in 3.0: one menu

Page 8: Rudder 3.0 - what's new ?

Normation – Tous droits réservésnormation.com

Rudder 3.0: Redesigned web interface

As of 3.0: single page, improved layout

Always available Save button

Page 9: Rudder 3.0 - what's new ?

Normation – Tous droits réservésnormation.com

Rudder 3.0: Redesigned web interface

As of 3.0: single page, improved layout

Page 10: Rudder 3.0 - what's new ?

Normation – Tous droits réservésnormation.com

Rudder 3.0: Status reporting

Status reporting

✔ Display an overview of all states for a Rule✔ Proportional to number of nodes✔ Proportional to number of configurations

✔ Drilldown by node or by component✔ Display recent changes (repairs) over time✔ List recent changes (repairs)

Page 11: Rudder 3.0 - what's new ?

Normation – Tous droits réservésnormation.com

Rudder 3.0: Status reporting

Status reporting

Error

Unexpected

No response

Applying...

Success

Not applicable(eg SSH on Windows)

Multi-colour progress bar displayed for each rule and as a global overview

Page 12: Rudder 3.0 - what's new ?

Normation – Tous droits réservésnormation.com

Rudder 3.0: Status reporting

Status reporting

Recent changesCompliance

Page 13: Rudder 3.0 - what's new ?

Normation – Tous droits réservésnormation.com

Rudder 3.0: Status reporting

Overview + drilldownExhaustiveFocus on what is relevant

Page 14: Rudder 3.0 - what's new ?

Normation – Tous droits réservésnormation.com

Rudder 3.0: Status reporting

History of changes on nodesKeep an eye on what changed

Page 15: Rudder 3.0 - what's new ?

Normation – Tous droits réservésnormation.com

Rudder 3.0: Status reporting

Overview: dashboard

Page 16: Rudder 3.0 - what's new ?

Normation – Tous droits réservésnormation.com

Rudder 3.0: Status reporting

Reporting: behind the scenesTwo compliance modesFull complianceChanges only

Varies logs sent from nodes to server:Explicit “success” message vs silence means OK + regular heartbeat

10:00 ComponentA Success10:00 ComponentB Repaired10:05 ComponentA Success10:05 ComponentB Success10:10 ComponentA Success10:10 ComponentB Success

→ Saves a lot of bandwidth (syslog messages) + storage (DB)

10:00 ComponentB Repaired

10:10 Heartbeat I'm alive!

vs

Page 17: Rudder 3.0 - what's new ?

Normation – Tous droits réservésnormation.com

Rudder 3.0: Technique editor

Create your own Techniques via a web interfaceTechnique editor

Page 18: Rudder 3.0 - what's new ?

Normation – Tous droits réservésnormation.com

Rudder 3.0: Technique editor

Builds on the ncf framework and available methodsTechnique editor

Example of a method

>60 generic methods as of today

Page 19: Rudder 3.0 - what's new ?

Normation – Tous droits réservésnormation.com

Rudder 3.0: Node classification data

Insert external data to classify nodes on key=value pairsNode classification data

1. Set key=value pairs for any nodes via the REST API

See REST API documentation onhttp://www.rudder-project.org/rudder-api-doc/

Can be used to integrate with any third party CMDB, inventory/asset database, ...

Page 20: Rudder 3.0 - what's new ?

Normation – Tous droits réservésnormation.com

Rudder 3.0: Node classification data

Insert external data to classify nodes on key=value pairsNode classification data

1. Set key=value pairs for any nodes via the REST API2. View, search and group in the web interface

Page 21: Rudder 3.0 - what's new ?

Normation – Tous droits réservésnormation.com

Rudder 3.0: CLI

Wrapper for common commandsCommand line interface

# rudder agent

Usage: rudder agent help rudder agent <command> [parameters ...]

Run commands on agent.

Available commands: disable forbid rudder-agent to be run by cron or service enable re-enable a disabled rudder-agent inventory force the agent to create and send a new inventory reinit re-initialise the agent to make it be seen as a new node on the server reset reset agent status and cache run force run agent promises update update promises on agent version get the agent version

Page 22: Rudder 3.0 - what's new ?

Normation – Tous droits réservésnormation.com

Rudder 3.0: CLI

Wrapper for common commandsCommand line interface

# rudder server debug <node_IP>

# Starts a temporary cf-serverd process on a different port# and uses a firewall rule to redirect traffic from that node# to the temporary server, running in verbose mode

Page 23: Rudder 3.0 - what's new ?

Normation – Tous droits réservésnormation.com

Rudder 3.0: CLI

Collect and centralise usage statistics to help development

Usage statistics (opt-in, anonymous)

"audit_log_enabled": "true", "reportscleaner_frequency": "daily", "os_name": "Debian", "uuid": "9480df7a-249c-4972-9593-648a60f769a1", "report_line_count": "16427", "expected_report_count": "118", "nodes_count": "3", "parameter_count": "1", "report_db_size": "8272 kB", "rule_count": "10", "reportscleaner_archive_ttl": "3", "os_version": "7.4", "installation_date": "2015-01-30 08:56:58.982185054 +0000", "db_size": "16 MB", "package_version": "rudder-server-root 3.0.0-wheezy0", "report_count_last_day": "156", "directive_count": "14", "reportscleaner_delete_ttl": "90", "agent_run_interval": "5", "rudder_workflow_enabled": "false”

Sample statistics

Page 24: Rudder 3.0 - what's new ?

Normation – Tous droits réservésnormation.com

What's new in Rudder 3.0

Performance improvementMuch faster interfaceSuper fast complianceTested with 5000+ nodes

Example: List nodes page for 2000 nodesRudder 2.11: 2 secondsRudder 3.0: 80 ms

Various other changes

Package (deb/rpm) for relay servers{yum,apt-get} install rudder-server-relay

systemd supportncf methodsRudder Techniques

New OS supportRHEL/CentOS 7Debian 8

Run frequency by nodeSet run frequency from5 minutes to 6 hourson a global schedule+ override by node