High Performance Computing and Open Source & Linux Technical Excellence Symposium

47
Assets management with FusionInventory and GLPI Gon ´ eri Le Bouder – [email protected] HPC Computing and OpenSource / Linux Technical Excellence Stmposium 2011 17 March 2011

description

 

Transcript of High Performance Computing and Open Source & Linux Technical Excellence Symposium

Page 1: High Performance Computing and Open Source & Linux Technical Excellence Symposium

Assets managementwith FusionInventory and GLPI

Goneri Le Bouder – [email protected]

HPC Computing and OpenSource / Linux TechnicalExcellence Stmposium 2011 17 March 2011

Page 2: High Performance Computing and Open Source & Linux Technical Excellence Symposium

About myself

Free software enthusiast with an awful french accentI Debian DeveloperI Perl MongerI Former OCS Inventory developerI Work at TECLIB’, Paris, FranceI FusionInventory Project coleader

Page 3: High Performance Computing and Open Source & Linux Technical Excellence Symposium

Outline

Overview

FusionInventory

The projectHistoryCommunity

Questions

Page 4: High Performance Computing and Open Source & Linux Technical Excellence Symposium

Global overview

+

Page 5: High Performance Computing and Open Source & Linux Technical Excellence Symposium

Outline

Overview

FusionInventory

The projectHistoryCommunity

Questions

Page 6: High Performance Computing and Open Source & Linux Technical Excellence Symposium

Agent history

I a fork of OCS Inventory UNIX agent by its authorI started 5 years agoI GPLv2

Page 7: High Performance Computing and Open Source & Linux Technical Excellence Symposium

use Perl Luke!

We choose to use Perl on the agent side.I portableI reliableI versatileI stable API

Page 8: High Performance Computing and Open Source & Linux Technical Excellence Symposium

Agent pull / Server push

I Connection are always created by the agent.I A ”push” option allow the server to contact the agent: just a

trigger that awake the agent.

Page 9: High Performance Computing and Open Source & Linux Technical Excellence Symposium

Tasks

Not only for machine inventory. The agent supports differenttasks:

I Network discoveryI Remote inventoryI Software deploymentI Wake On LanI ...

Page 10: High Performance Computing and Open Source & Linux Technical Excellence Symposium

Tasks

Not only for machine inventory. The agent supports differenttasks:

I Network discoveryI Remote inventoryI Software deploymentI Wake On LanI ...

Page 11: High Performance Computing and Open Source & Linux Technical Excellence Symposium

The inventories

BIOS serial numbers, UUID, ... localMemory memory slot, size, ...

CPU frequency, name, manufacturer, ...Software apt-get, yum, Windows software, BSD pkg, ...

Harddrive serial number, manufacturer, ...Partition ...

Virtual Machine libvirt, xen, ...USB devices phone, USB key, ...

... see the list on Internet.

It’s easy to add new information. Just ask us or submit patches!

Page 12: High Performance Computing and Open Source & Linux Technical Excellence Symposium

Network discovery

FusionInventory can do basic network inventory in GLPI

Seek

I nmapI netbiosI SNMP query

Identify

I network stackI Windows domain informationI sysdesc comparaison

Page 13: High Performance Computing and Open Source & Linux Technical Excellence Symposium

Remote SNMP inventory

Network devices

I serial number, firmware, ...I ports mapping

Network printers

I serial number, firmware, ...I cartridge ink levelI page counter

Page 14: High Performance Computing and Open Source & Linux Technical Excellence Symposium

Wake on LAN

What?

I awake computer.

How?send the Magic Packet from an agent in the same network

I send raw ethernet packetI UDP packet still possible

Benefit

I no firewall issueI nor special routage rule needed

Page 15: High Performance Computing and Open Source & Linux Technical Excellence Symposium

Wake on LAN

What?

I awake computer.

How?send the Magic Packet from an agent in the same network

I send raw ethernet packetI UDP packet still possible

Benefit

I no firewall issueI nor special routage rule needed

Page 16: High Performance Computing and Open Source & Linux Technical Excellence Symposium

Wake on LAN

What?

I awake computer.

How?send the Magic Packet from an agent in the same network

I send raw ethernet packetI UDP packet still possible

Benefit

I no firewall issueI nor special routage rule needed

Page 17: High Performance Computing and Open Source & Linux Technical Excellence Symposium

Software deployment

What?OCS software deployment support featuring peer to peersupport

Benefit

I no proxy nor mirrorI bandwidth-friendlyI OS independent

Page 18: High Performance Computing and Open Source & Linux Technical Excellence Symposium

supported OS (1/2)

Runs everywhere!

A large collection of supported OS

I all the major system are supportedI portage is easy as soon as a Perl exist

Page 19: High Performance Computing and Open Source & Linux Technical Excellence Symposium

supported OS (1/2)

Runs everywhere!

A large collection of supported OS

I all the major system are supportedI portage is easy as soon as a Perl exist

Page 20: High Performance Computing and Open Source & Linux Technical Excellence Symposium

supported OS (2/2)

Supported Operating Systems:

I LinuxI BSDI AIXI HP-UXI SolarisI Windows, all from 2000 to Seven 64bit

A complete list is avallable on the website

Page 21: High Performance Computing and Open Source & Linux Technical Excellence Symposium

supported OS (2/2)

Supported Operating Systems:

I LinuxI BSDI AIXI HP-UXI SolarisI Windows, all from 2000 to Seven 64bit

A complete list is avallable on the website

Page 22: High Performance Computing and Open Source & Linux Technical Excellence Symposium

supported OS (2/2)

Supported Operating Systems:

I LinuxI BSDI AIXI HP-UXI SolarisI Windows, all from 2000 to Seven 64bit

A complete list is avallable on the website

Page 23: High Performance Computing and Open Source & Linux Technical Excellence Symposium

supported OS (2/2)

Supported Operating Systems:

I LinuxI BSDI AIXI HP-UXI SolarisI Windows, all from 2000 to Seven 64bit

A complete list is avallable on the website

Page 24: High Performance Computing and Open Source & Linux Technical Excellence Symposium

supported OS (2/2)

Supported Operating Systems:

I LinuxI BSDI AIXI HP-UXI SolarisI Windows, all from 2000 to Seven 64bit

A complete list is avallable on the website

Page 25: High Performance Computing and Open Source & Linux Technical Excellence Symposium

supported OS (2/2)

Supported Operating Systems:

I LinuxI BSDI AIXI HP-UXI SolarisI Windows, all from 2000 to Seven 64bit

A complete list is avallable on the website

Page 26: High Performance Computing and Open Source & Linux Technical Excellence Symposium

supported OS (2/2)

Supported Operating Systems:

I LinuxI BSDI AIXI HP-UXI SolarisI Windows, all from 2000 to Seven 64bit

A complete list is avallable on the website

Page 27: High Performance Computing and Open Source & Linux Technical Excellence Symposium

supported OS (2/2)

Supported Operating Systems:

I LinuxI BSDI AIXI HP-UXI SolarisI Windows, all from 2000 to Seven 64bit

A complete list is avallable on the website

Page 28: High Performance Computing and Open Source & Linux Technical Excellence Symposium

Agent installation

different options

I distribution packagesDebian, Fedora, EPEL, Ubuntu, Mageia, ...

I Windows installerGPO, psexec, ...

I static prebuilt packages, untar and run53 differents system so far

I tarball or CPAN installation

Page 29: High Performance Computing and Open Source & Linux Technical Excellence Symposium

Server?

3 different servers (so far!)

I FusionInventory for GLPII UranosI OCS Inventory NG

server lesslocal mode is also possible for Inventory

Page 30: High Performance Computing and Open Source & Linux Technical Excellence Symposium

Server?

3 different servers (so far!)

I FusionInventory for GLPII UranosI OCS Inventory NG

server lesslocal mode is also possible for Inventory

Page 31: High Performance Computing and Open Source & Linux Technical Excellence Symposium

Outline

Overview

FusionInventory

The projectHistoryCommunity

Questions

Page 32: High Performance Computing and Open Source & Linux Technical Excellence Symposium

A long long time ago

Tracker was a GLPI extension with a Perl agent.Its goal was simple: just “SNMP”

Page 33: High Performance Computing and Open Source & Linux Technical Excellence Symposium

A long long time ago again

OCS Inventory Agent for UNIX was an inventory agent withoutSNMP support.

Page 34: High Performance Computing and Open Source & Linux Technical Excellence Symposium

And we merged

Page 35: High Performance Computing and Open Source & Linux Technical Excellence Symposium

The project workflow

FusionInventory is a community-driven project.

I active mailing listsI IRC: #FusionInventory on FreeNodeI public Forge, Git repositories, etc

Page 36: High Performance Computing and Open Source & Linux Technical Excellence Symposium

Who

We are Legion!

I about 10 core developers involved in the projectI active community of contributorsI 2 companies involved

We are looking for people to JOIN US!

Page 37: High Performance Computing and Open Source & Linux Technical Excellence Symposium

Who

We are Legion!

I about 10 core developers involved in the projectI active community of contributorsI 2 companies involved

We are looking for people to JOIN US!

Page 38: High Performance Computing and Open Source & Linux Technical Excellence Symposium

What else? (1/2)

agent developement is very active

I code clean uplarger test-suite, modern perl

I architecture changesevent-driven programming, various executable

I smaller memory footprint

Page 39: High Performance Computing and Open Source & Linux Technical Excellence Symposium

What else? (1/2)

agent developement is very active

I code clean uplarger test-suite, modern perl

I architecture changesevent-driven programming, various executable

I smaller memory footprint

Page 40: High Performance Computing and Open Source & Linux Technical Excellence Symposium

What else? (2/2)

In test-suite we trust!

I strong effort done during the last year36 800 tests on the GLPI plugin and up to 2 000 on the agent

I with even stronger benefit so far

Page 41: High Performance Computing and Open Source & Linux Technical Excellence Symposium

Our roadmap

What we are about to releaseI FusionInventory for GLPI 0.78: beta planned for this monthI ESX inventory: before juneI Android Agent

Work in progressI Software deploymentI OCS/XML → REST/JSON transition

Page 42: High Performance Computing and Open Source & Linux Technical Excellence Symposium

FusionInventory for GLPI 0.78: Action scheduler 1/2

Task: WakeOnLanBoot the machine from machine

Task: NetdiscoveryScanner network range A from machine

Collectmachine sent information aboutthe network

1

23

4 ab

a

bbb

b

Success

!

Page 43: High Performance Computing and Open Source & Linux Technical Excellence Symposium

FusionInventory for GLPI 0.78: Action scheduler 2/2

Page 44: High Performance Computing and Open Source & Linux Technical Excellence Symposium

FusionInventory for GLPI 0.78: Printer graph

Page 45: High Performance Computing and Open Source & Linux Technical Excellence Symposium

Demo

Demo time!

Page 46: High Performance Computing and Open Source & Linux Technical Excellence Symposium

Outline

Overview

FusionInventory

The projectHistoryCommunity

Questions

Page 47: High Performance Computing and Open Source & Linux Technical Excellence Symposium

Questions?

Question?