Stanford NetDB- An Open Source Network Management Application for - - PowerPoint PPT Presentation

stanford netdb
SMART_READER_LITE
LIVE PREVIEW

Stanford NetDB- An Open Source Network Management Application for - - PowerPoint PPT Presentation

Stanford NetDB- An Open Source Network Management Application for DNS, DHCP, IP Address Spaces, etc. http://stanfordnetdb.stanford.edu Sunia Yang sunia@stanford.edu Rob Riepel riepel@stanford.edu Stanford University


slide-1
SLIDE 1

Stanford University StanfordNetDB

Stanford NetDB-

An Open Source Network Management Application for DNS, DHCP, IP Address Spaces, etc.

http://stanfordnetdb.stanford.edu

Sunia Yang sunia@stanford.edu Rob Riepel riepel@stanford.edu

slide-2
SLIDE 2

Stanford University StanfordNetDB

Summary

  • Introduction
  • What is Stanford NetDB?
  • Demonstration
  • How do we use NetDB?
  • Distribution
slide-3
SLIDE 3

Stanford University StanfordNetDB

Introductions

  • Rob Riepel

– NetDB architect – Architect/programmer/keeper for DNS, DHCP

  • Dmitri Priimak

– Programmer for middleware and front end

  • Sunia Yang

– NetDB "user advocate,” tester – Network monitoring – Application bandwidth management

slide-4
SLIDE 4

Stanford University StanfordNetDB

What is Stanford NetDB?

  • Model of the IP network- 20 years
  • DNS, DHCP, Whois data source
  • IP address management
  • Host information/inventory
  • Distributed administration
  • GNU Public License version 2 (2007)

Models how humans think of networks.

slide-5
SLIDE 5

Stanford University StanfordNetDB

DNS Name Space

  • Supports domains/subdomains
  • Checks all names for uniqueness
  • Enforces DNS rules

– e.g. An Alias cannot be MX

  • Authorization of names by domain
  • 1 min to generate Stanford zone file
  • Updated hourly at Stanford
slide-6
SLIDE 6

Stanford University StanfordNetDB

DHCP

  • Supports static/dynamic dhcp settings
  • Supports DHCP options
  • Updated every 10 min at Stanford
slide-7
SLIDE 7

Stanford University StanfordNetDB

IP Address Space Management

  • Address spaces organized into networks
  • “network”

maps to layer 2 network

  • Easy to split/join/move address spaces
  • Authorization by

address space

  • Reserved addresses can only be used by gods
  • Uniqueness enforced
  • Automatically looks for next available address
slide-8
SLIDE 8

Stanford University StanfordNetDB

Host Inventory

  • Nodes show the way humans think of

computers

  • Associates nodes with people/location/dept
  • Custom fields allow quick extension of

database

slide-9
SLIDE 9

Stanford University StanfordNetDB

Distributed Administration

  • Ease of use allows many users

– 900+ at Stanford, 15 minutes of training

  • Granular authorization
  • Choice of interfaces

– Web - general users – CLI - power users, scripting – API - Dorms for custom interface

  • Easy import/export (csv)
  • When possible, limit user’s view to capabilities

– e.g. only show authorized grps, address spaces, etc.

slide-10
SLIDE 10

Stanford University StanfordNetDB

Demonstration

slide-11
SLIDE 11

Stanford University StanfordNetDB

acme.com

eng.acme.com

10.8.0.0/16

slide-12
SLIDE 12

Stanford University StanfordNetDB

acme.com

eng.acme.com laptop.eng.acme.com

10.8.0.0/16

slide-13
SLIDE 13

Stanford University StanfordNetDB

acme.com

eng.acme.com server.eng.acme.com laptop.eng.acme.com

10.8.0.0/16

slide-14
SLIDE 14

Stanford University StanfordNetDB

acme.com

eng.acme.com laptop.eng.acme.com

10.8.0.0/16

server.eng.acme.com

10.16.16.0/24

slide-15
SLIDE 15

Stanford University StanfordNetDB

acme.com

eng.acme.com laptop.eng.acme.com

10.8.0.0/16 10.16.16.0/23

marketing.acme.com server.eng.acme.com

slide-16
SLIDE 16

Stanford University StanfordNetDB

acme.com

eng.acme.com laptop.eng.acme.com

10.8.0.0/16 10.16.16.0/23

marketing.acme.com server.eng.acme.com

George Rosie

slide-17
SLIDE 17

Stanford University StanfordNetDB

acme.com

eng.acme.com laptop.eng.acme.com

10.8.0.0/16

marketing.acme.com server.eng.acme.com

George Rosie 10.16.17.0/24 10.16.16.0/24

slide-18
SLIDE 18

Stanford University StanfordNetDB

acme.com

eng.acme.com laptop.eng.acme.com

10.8.0.0/16

marketing.acme.com server.eng.acme.com

George Rosie 10.16.17.0/24 10.16.16.0/24

router.acme.com

slide-19
SLIDE 19

Stanford University StanfordNetDB

CLI interface

  • Only for node records
  • Allows for bulk adds, changes, deletes
slide-20
SLIDE 20

Stanford University StanfordNetDB

How do we use NetDB?- Data Flow

NetDB

DNS DHCP Reports Whois IPM Cfg Mgmt Self-Registration Firewalls Monitoring

Sys Admins Desktop Admins Network Admins Networking

SUNet

NetDB distribution Other Stanford apps/scripts

slide-21
SLIDE 21

Stanford University StanfordNetDB

Statistics

6 State 110 OS 625 Model 118 Make 678 Location 257 Department 199 Group 414 Domain 175 Admin Team 724 980 User 579(1350) 748(2631) Network (Address Space) 58839 112344 Node Active Registered Record

slide-22
SLIDE 22

Stanford University StanfordNetDB

Code Architecture

Other NetDB Web browser CGI scripts StanfordWho whois server rmi_server.jar netdb.jar Database NetDB CLI rmi_client.jar http server netdb_server.jar html library netdb_html.jar Other clients DNS scripts DHCP scripts BIND dhcpd

slide-23
SLIDE 23

Stanford University StanfordNetDB

Servers used at Stanford

  • Web/middleware

– Dell 1850, dual 2.8Ghz, 4GB RAM – Linux Debian

  • Database

– Dell 2650, 4 x 3Ghz, 7GB RAM – Linux Redhat 2.4.21-37.ELsmp

slide-24
SLIDE 24

Stanford University StanfordNetDB

Platform Dependencies

  • Oracle 10G database

– works with Express version

  • Java 1.6
  • Debian Linux

– probably works on any Unix with Java 1.6

  • Perl DBD::Oracle for reporting
slide-25
SLIDE 25

Stanford University StanfordNetDB

NetDB at Your Site

  • External pieces required:

– Directory provider (e.g. LDAP)

  • Seed data + sample directory provider included

– Web login requires webauth – CLI requires Kerberos

  • Sample DNS/DHCP generation scripts

included

slide-26
SLIDE 26

Stanford University StanfordNetDB

Futures

  • IPv6
  • Ruby
slide-27
SLIDE 27

Stanford University StanfordNetDB

More Information

  • http://stanfordnetdb.stanford.edu

– Demo version- data refreshed daily – Download files – Documentation

  • Contact Us!

– netdb-users@lists.stanford.edu

slide-28
SLIDE 28

Stanford University StanfordNetDB

The NetDB Team

  • Dmitri Priimak - software developer
  • Joel Lidtke - software developer
  • Rob Riepel - architect
  • Sunia Yang - QA, user advocate