summaryrefslogtreecommitdiffstats
path: root/OsmoHLR/chapters/overview.adoc
blob: 45802caec34ecf85896f486898cbf75f6ea9d53d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
[[overview]]
== Overview

This manual should help you getting started with OsmoHLR. It will cover
aspects of configuring and running the OsmoHLR.

[[intro_overview]]
=== About OsmoHLR

OsmoHLR is Osmocom's minimal implementation of a Home Location Register (HLR)
for 2G and 3G GSM and UMTS mobile core networks. Its interfaces are:

- GSUP, serving towards OsmoMSC and OsmoSGSN;
- A local SQLite database;
- The Osmocom typical telnet VTY and CTRL interfaces.

Originally, the OpenBSC project's OsmoNITB all-in-one implementation had an
integrated HLR, managing subscribers and SMS in the same local database. Along
with the separate OsmoMSC and its new VLR component, OsmoHLR was implemented
from scratch to alleviate various shortcomings of the internal HLR:

- The separate HLR allows using centralized subscriber management for both
  circuit-switched and packet-switched domains (i.e. one OsmoHLR for both
  OsmoMSC and OsmoSGSN).

- VLR and HLR brought full UMTS AKA (Authentication and Key Agreement) support,
  i.e. Milenage authentication in both the full 3G variant as well as the
  backwards compatible 2G variant.

- In contrast to the OsmoNITB, the specific way the new OsmoMSC's VLR accesses
  OsmoHLR brings fully asynchronous subscriber database access.

Find the OsmoHLR issue tracker and wiki online at

- https://osmocom.org/projects/osmo-hlr
- https://osmocom.org/projects/osmo-hlr/wiki


[[fig-gsm]]
.Typical GSM network architecture used with OsmoHLR
[graphviz]
----
digraph G {
	rankdir=LR;
	subgraph cluster_hlr {
		label = "OsmoHLR";
		GSUP [label="GSUP server"]
		DB [label="SQLite DB"]
		GSUP->DB
		DB->CTRL [dir="back"]
		DB->VTY [dir="back"]
	}

	Admin [label="Admin and\nMaintenance"]
	SW [label="3rd party software\nintegration"]
	VTY->Admin [dir="back"]
	CTRL->SW [dir="back"]
		
	MSC [label="MSC/VLR"]
	MSC->GSUP  [label="GSUP"]
	SGSN->GSUP [label="GSUP"]

	BSC->MSC
	HNBGW->MSC
	HNBGW->SGSN
	PCU->SGSN
}
----