Network Management Introduction
Network Management Introduction
Network Management
Network Management
A Four-Hour Introduction
Markus Fiedler
Blekinge Institute of Technology (BTH)
Karlskrona, Sweden (Partner 49)
[email protected]
Summer School 2005
About This Lecture
Partners involved
Kurt Tutschku, University of Würzburg (UniWue, Partner 17)
Stefan Köhler, infosim (Partner 18)
Markus Fiedler, Blekinge Institute of Technology (BTH, Partner 49)
Pool of slides, dedicated to
Students (UniWue, BTH)
Product courses (infosim)
Researchers (EuroNGI)
History
BTH students working with infosim (USA, D) ~2000—2003
Integration of course material started in 2001
– Infosim joined the pool in 2005
Joint research on network performance management since 2001
– EuroNGI project AutoMon during 2005
Complement to EuroNGI WP.JRA.1.5 activities and deliverables
Where do you stand w.r.t. this topic?
Potential Tasks
100 ms 1s 10 s Response
time
Boring
€
Trend: Total management
Business Management – Customer Relations
Service Level Management – Products value
Network Management – Resources chain
Contemporary issues:
Service Level Management
– How to correlate service to network problems?
True „end-to-end“ view of the network
Fault Diagnosis
Capacity Planning
Resource Usage Billing
Management Dimensions
Functional dimension
F Fault management
Configuration management
C
Accounting management
A
Performance management
P
Security management
S Temporal
dimension
Component mgm Planning Installation Operations Liquidation
System mgm OAM&P
Application mgm
Enterprise mgm
Scope/Scenario dimension
Business
Management
Service
Management
Network System
Management Management
Element Resource
Management Management
Network System
Elements Resources
Networked Information System
Specification
Design
Managing
Install
Improve
Monitor
Optimize
Analyze
Process
Telecommunication Traffic
networks measurement
Minutes, seconds
Network traffic Traffic and
management actions fault analysis
Year, months
Network Traffic analysis
extension compilation forecasting
FCAPS
Troubleshooting
Trouble Ticket
Preventive Fault Management
Reactive Fault Management
Identification
Isolation
Restoriation
Resolution
boot
change
Static Dynamic
update
config. config.
upg
rade
experie nce, ...
up grade
restart
Planned
Start
config.
Management Standards
OSI management
Object-oriented top-down approach
Stands for most formal definitions
Never succeeded due to its complexity and resource needs
TMN = Telecommunications Management Network
OSI adapted to telecommunication networks
Example: GSM network management
TMN concepts are finding their way into the IP world
Internet = SNMP management
Implementation-oriented bottom-up approach
”Intelligence” to be found in the management application
De-facto standard for data network (SNMPv1 SNMPv3)
Web-based management
HTTP, XML, WBEM, CIM, DMTF, JMX, SOA, ESB, Web Services
Somewhere in-between OSI and SNMP
The future
Top-down
Based on required management
information and functionality
Quite general and extendable
Quite complicated to implement
Good from a long-term perspective
Example: OSI management
Bottom-up
Based on available management
information and functionality
Quite limited possibilities
Quite simple to implement
Good from a short-term perspective
Example: Internet management
Submodels of a Network
Management Architecture
With Focus on SNMP
Organization Model
Operations: Notifications:
Management messages,
polling protocols alarms
Network Agent Network Agent
Usually pieces of
Permanent monitoring
management
information
(e.g. inside a router)
(Network) Objects (Network) Objects
Domain I
Open Open
System A System B
Comm.
Obj Fn Fn Obj
NMS
• LAN
• Backbone
• WAN
• Internet
Management through the
production network
NMS
• LAN
• Backbone
• WAN
• Internet
Management Network
introduction
of automatic
IT system network
mgmt
processes
actuators
Requirements:
appropriate sensors
suitable architectures
two choices: centralized and decentralized architectures
2.b
2.c
3.c
1.c
1.a
Active bandwidth probing tools
Server
1.b
”passing by”
”What are the conditions on link x
and router y?”
Mgm (1.b) Mgm
Traditional Network Management
appl. appl.
view Network Network
provider provider
cf. D.WP.JRA.6.1.1&3
Markus Fiedler: Network Management Summer School 2005 39
SNMP Organization Model
Community (string)
Gives access to agent community profiles
– Read-Only (RO)
different MIB views!
– Read-Write (RW)
SNMP community name = password
Octet string in the message, not encrypted
– Sniffable = security problem!
Typical: “public” = everyone using SNMP
Manager
R R
R W W
O - - Access Mode
Com- 1 2
RW -
munity
profile
Agent View 2
Non-accessible Read-only
objects Read-write Write-only
objects objects objects
Managed objects
Information Model
mib-2 enterprises
Some ASN.1 definitions: (1) (1)
• mgmt OBJECT IDENTIFIER ::= {internet 2} or {1 3 6 1 2}
• mib-2 OBJECT IDENTIFIER ::= {mgmt 1}
• common part of MIB
• private OBJECT IDENTIFIER ::= {internet 4}
enterprises
• enterprises OBJECT IDENTIFIER ::= {private 1} {1 3 6 1 4 1}
• vendor-specific MIB
cisco hp 3Com
(9) (11) (43)
Node {1 3 6 1 2 1}
Includes MIB-I [RFC1156]
internet {1 3 6 1}
Virtual information base
manager/agent
mgmt (2)
use to have just necessary
information implemented mib-2 (1)
nodes may be missing
completely system (1) snmp (11)
interfaces (2) transmission (10)
at (3) cmot (9)
ip (4) egp (8)
icmp (5) udp (7)
tcp (6)
NetworkAddress
IpAddress
OCTET STRING (SIZE 4)
Counter
0 1 … 232–1 = 4294967295 0
Gauge Only
0 ⇔ 232 –1 characters
and integers!
TimeTicks
time in units of 10 ms from initialization
– 0=0s
– 1 = 10 ms = 0.01 s
– …
– 232 –1 ~ 497 d
Table: 20
List items: 1 2 3 4 5
Index
{1.3.6.1.2.1.4.20.1.3.194.47.148.210}
{Table.Row.DesiredColumn.IndexEntry}
standardized part depends on table content
194.47. 255.255.
148.210 255.224
mgmt (2)
mib-2 (1)
agent
uptime
(MIB)
address
(1.3.6.1.2.1.1)
mgmt (2)
mib-2 (1)
IP address table
mgmt (2)
mib-2 (1)
Communication Model
GetNextRequest
GetResponse
GetResponse
SetRequest
GetRequest
SetRequest
GetRequest
Trap
Trap
SNMP messages
SNMP SNMP
UDP UDP
IP IP
DLC DLC
PHY PHY
Physical Medium
Intra-/Internet
message formats:
SNMP message
version community SNMP PDU
GetResponse
PDU type request-id error-status error-index variable-bindings
Trap
generic- specific-
PDU type enterprise address trap trap
timestamp vbs
variable-bindings
name 1 value 1 name 2 value 2 … name n value n
Functional Model
Comparison:
OSI/TMN: FCAPS explicitly defined
O (i ) − O(i − 1)
800 (T (i ) − T (i − 1)) ⋅ C (i ) if O(i ) ≥ O(i − 1)
ρ (i ) = n
800 2 − O (i − 1) + O(i )
if O(i ) < O(i − 1)
(T (i ) − T (i − 1)) ⋅ C (i )
Traffic Analysis
`Daily' Graph (time plots showing 5 min-averages)
RMON
Remote LAN
Ethernet Statistics
Ethernet Ethernet History
Statistics History Control
Filter Group
Packet Channel Packet
Filtering Filtering Capture
Alarm Event
Generation Generation
rising x x
threshold
falling-alarm
state falling-alarm
triggered rising-alarm
triggered
falling
threshold x alarm x
rising-alarm sampled object
state
value
entry first set to valid time fal ris
ling ing
thr thr
es es
ho ho
ld ld
Alarm Event Trap
To be configured (in general via command-line interface)
StableNet by infosim
Contact: [email protected]
D App.-Server
Get
SNMP-
SNMP
SN-Agent
Value C
1
SN-Controller
2001-10-30 12:48:50 Router D:
B
-CPU-Load: 40%; In/Out-Octets: 14/35 kpbs
A
2001-10-30 12:49:50 Router D:
-CPU-Load: 34%; In/Out-Octets: 11/28 kpbs
...
Legend:
Network-Connection
Command
Database Measurement
Values
No MIB configuration
imported
Dela
y
Link load
NetFlow by Cisco
Exported Data
SrcIf SrcIPadd DstIf DstIPadd Protocol TOS Flgs Pkts SrcPort SrcMsk SrcAS DstPort DstMsk DstAS NextHop Bytes/Pkt Active Idle
Fa1/0 173.100.21.2 Fa0/0 10.0.227.12 11 80 10 11000 00A2 /24 5 00A2 /24 15 10.0.23.2 1528 1800 4
3. Aggregation? Ye
No s
5. Transport Protocol
Header
Export Payload
Packet (flows)
Enable NetFlow
Traffic
Core Network
PE
UDP
NetFlow
Export Packets Export
Approximately 1500 bytes Packets
Typically contain 20--50 flow
records
Sent more frequently if traffic
increases on NetFlow- Collector
enabled interfaces (Solaris, HP-UX, or Linux) Application GUI
Netflow-Data
SN-Agent C
SN-Controller
Legend:
Network-
Connection
Database Command
Measurement
Values
Markus Fiedler: Network Management Summer School 2005 89
NetFlow Versions
NetFlow Comments
Version
1 Original
5 Standard and most common
7 Specific to Cisco Catalyst 6500 and 7600
Series Switches
Similar to Version 5, but does not include AS,
interface, TCP Flag & TOS information
8 Choice of eleven aggregation schemes
Reduces resource usage
9 Flexible, extensible file export format to enable
easier support of additional fields &
technologies; coming out now MPLS, Multicast,
& BGP Next Hop
Traffic in the
whole network
Partial traffic
Total traffic
HTTP
Telnet
Terminal 3%
VoIP 4%
SAP 8%
VPN1 28%
Mail 13%
VPN2 1%
WWW 43%
2000
1800
1600
1400
Hamburg 1200
Traffic
1000
800
Berlin 600
400
200
Köln 0
Zentrale Leipzig
1 3 5 7 9 11 13 15 17 19 21 23 25 27 29 31 33 35 37 39 41 43 45 47 49 51 53 55 57 59 61 63 65 67
Time
Hamburg
Saarbrücken
München
SNMP Performance
... RMON Performance probably as well ;)
O(i ) − O(i − 1)
800 T (i ) − T (i − 1) if O(i ) ≥ O(i − 1)
R (i )
=
bps 2n − O(i − 1) + O(i )
800 if O(i ) < O(i − 1)
T (i ) − T (i − 1)
O = octet counter
interface group [STD17]: ifInOctets, ifOutOctets (n = 32)
ifMIB group [RFC2863]: ifHCInOctets, ifCHOutOctets (n = 64)
– SNMPv2/3 only
– Device-dependent
T = sysUpTime
Multiples of 10 ms
32-bit counter
Time
MIB counters are cyclic sooner or later every counter will wrap around
Governed by the arrival process
One wrap can be corrected, two or more will go unnoticed
Risk of underestimations
Real speed
Link speed
TCCT,min 2n +3 bit
Tsamp ∈ Tupdate , ; TCCT,min =
γ C
Tsamp = sampling time
Tupdate = MIB update interval
TCCT = counter cycle time
γ = safety factor (2, 3)
Basic Literature
Research
... a rather incomplete and biased overview ;)
Deliverables
D.WP.JRA.1.5.1 State of the art in Location Management procedures
– Network Management introduction
– Policy based Management
– Mobility and Location Management
D.WP.JRA.1.5.2 Study of mobility behaviour of new Internet mobile
users
– Mobility models
Active partners:
Valencia
Bucarest
Infosim
UniWue
BTH
Dynamic Systems
N1 Initiative
Autonomic
Manager
Autonomic
Input Manager
Output
Autonomic
Manager
IT System
e.g. LAN/MAN
g !
Pin
IP? e?
W i r
DNA
Ping!
DNA
Company
„Test
Result
conn. !
please“
Result n g
„Test Pi
conn. please“ Ping!
DNA DNA
Disadvantages
“single point of failure“
scalability (number of clients and services per clients)
restricted view DNA
office
improved view
?
network DNA
manager
company
university
office B
Tasks
- maintain Overlay
- locate other DNAs
office A
- form meta data (index)
Related Work
Research Issues
Organization model
Degree of (de-)centralization
Self-organization (Autonomic Networking)
Information model
Which information to store when, where and how?
Communication model
How to access and communicate management information?
Meaningful protocols (beyond TCP & UDP)
Functional model
Providing added value for Business and Service Management
Self-”FCAPS” (Autonomic Networking)
Web services
Management performance and security issues
Active Networks
Programmable Networks
Cf. D.WP.JRA.1.5.1
Autonomic Computing and Networking
Location Management
WP.JRA.1.5
Microsoft Operations Framework
Zero-Touch-Management (Microsoft Austria)
Policy-based Network Management
Cf. D.WP.JRA.1.5.1
Web-based Management
Service Oriented Architecture (IBM)
Enterprise Service Bus (IBM)
Potential Tasks