0% found this document useful (0 votes)
80 views67 pages

1.USCDB System Introduction

Uploaded by

walter32002
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
80 views67 pages

1.USCDB System Introduction

Uploaded by

walter32002
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

USCDB System

Introduction

www.huawei.com

Copyright © 2017 Huawei Technologies Co., Ltd. All rights reserved.


References
 SingleSDB Product Manual-software description

Copyright © 2017 Huawei Technologies Co., Ltd. All rights reserved. Page2
Objectives
 Upon completion of this course, you will be able to:
 Understand software system structure of SingleSDB;

 Understand the required software for installation;

 Master the structure, interface, function of each subsystem

 Understand the USCDB software reliability

Copyright © 2017 Huawei Technologies Co., Ltd. All rights reserved. Page3
Contents
1. USCDB Software Structure Overview

2. USCDB Subsystem Introduction

3. USCDB Board Software

4. USCDB License

5. USCDB Reliability Design

Copyright © 2017 Huawei Technologies Co., Ltd. All rights reserved. Page4
Contents
1. USCDB Software Structure Overview
1.1 SingleSDB Overall Structure And USCDB Software structure

1.2 USCDB Concept Introduction And Function List

Copyright © 2017 Huawei Technologies Co., Ltd. All rights reserved. Page5
Overall Structure

Copyright © 2017 Huawei Technologies Co., Ltd. All rights reserved. Page6
USCDB Software Structure

GU FE plug HSS FEplug PGW

iManager
MCI DCI LDAP SQLAPI SOAP

UDB(In Memory database)/oracle database


CGP Platform
Linux
CGA Hardware Platform

 USCDB software structure is a distributed system, each


functional module is located in OSTA 2.0.

Copyright © 2017 Huawei Technologies Co., Ltd. All rights reserved. Page7
Contents
1. USCDB Software Structure Overview
1.1 SingleSDB Overall Structure And USCDB Software Structure

1.2 USCDB Concept Introduction And Function List

Copyright © 2017 Huawei Technologies Co., Ltd. All rights reserved. Page8
Concept introduction
 DRU and DSU Nodes
 A node refers to a unit that can independently provide services. The
node can be classified into two types:
 Master node: A node that can provide data services such as adding,
deleting, modifying, and querying data.

 Slave node: A node that can provide only data querying service.

 DRU/DSU nodes and DRU/DSU modules are in one-to-one relationship.

 Cluster
 A cluster refers to a group of nodes that manage the same data,
consists of one master node and several slave nodes.

Copyright © 2017 Huawei Technologies Co., Ltd. All rights reserved. Page9
Concept introduction (Cont.)
 DRU Cluster

 DSU Cluster

Copyright © 2017 Huawei Technologies Co., Ltd. All rights reserved. Page10
Concept introduction (Cont.)
Node State Description
The node in this state does not provide
INACTIVE
services.
ABNORMAL It indicates that the node is faulty.
The node is in this transition state when it is
INITIAL
being started.
It indicates that the node is being loaded with
LOADING
data.
LOADED It indicates that the node loading is completed.
It indicates that the node initialization is
STARTED
completed.
The node is a slave node, which can provide
SLAVE
only data querying service.
The node is a pre-master node. The node is in
PRE-MASTER
this transition state during node election.
The node is the master node, which can
MASTER provide data querying and data updating
services.

Copyright © 2017 Huawei Technologies Co., Ltd. All rights reserved. Page11
Concept introduction (Cont.)
 Node Election
 Node re-election affects service processing. If no master node is
available in a cluster, update operations fail. If multiple master
nodes are available in a cluster, update operations result in data
inconsistency.

 Heartbeat Management
 Based on the information contained in the heartbeat messages
 a node election is initiated in the DS clusters.

 a node is selected to process service messages.

 notifies other locations of the local cluster states .

Copyright © 2017 Huawei Technologies Co., Ltd. All rights reserved. Page12
Concept introduction (Cont.)
 Data Replication
 Data replication is the process of replicating the data updated in
the local node to other nodes.

 Data replication is classified into:


 Synchronous replication and asynchronous replication.

 Inter-location replication and intra-location replication.

 Data Synchronization
 Data synchronization is the process during which the data updated
in the in-memory database of the DRU or DSU is synchronized to
the physical database.

Copyright © 2017 Huawei Technologies Co., Ltd. All rights reserved. Page13
Copyright © 2017 Huawei Technologies Co., Ltd. All rights reserved. Page14
Function list
 Functionally, USCDB can be classified into:

 DRU: Data Routing Unit  DPU: Dispatch Packet Unit

 DSU: Data Service Unit  NDF: Network Data Function

 PGW: Provisioning Gateway  DTL: Data Tool

 DSG: Data Service Gateway  DBMS: Database Management


System
 DBG: Database Gateway
 OMU: Operation and
Maintenance Unit

Copyright © 2017 Huawei Technologies Co., Ltd. All rights reserved. Page15
Questions
 The USCDB system contains how many different part?

Copyright © 2017 Huawei Technologies Co., Ltd. All rights reserved. Page16
Contents
1. USCDB Software Structure Overview

2. USCDB Subsystem Introduction

3. USCDB Board Software

4. USCDB License

5. USCDB Reliability Design

Copyright © 2017 Huawei Technologies Co., Ltd. All rights reserved. Page17
Contents
2. USCDB Subsystem Introduction
2.1 Subscriber Data Management Subsystem

2.2 Service Processing Subsystem (For The UPCC)

2.3 Data Service Subsystem

2.4 Data Storage Subsystem

2.5 O&M Subsystem

Copyright © 2017 Huawei Technologies Co., Ltd. All rights reserved. Page18
Subscriber Data Management Subsystem
 Functional structure of the subscriber data management
subsystem

Copyright © 2017 Huawei Technologies Co., Ltd. All rights reserved. Page19
Subscriber Data Management
Subsystem (Cont.)
 Interfaces provided by the subscriber data management
subsystem

Copyright © 2017 Huawei Technologies Co., Ltd. All rights reserved. Page20
Subscriber Data Management
Subsystem (Cont.)
 Message distribution policies of subscriber data management
including:
 DPU distribution policy

 PGW distribution policy

Copyright © 2017 Huawei Technologies Co., Ltd. All rights reserved. Page21
Contents
2. USCDB Subsystem Introduction
2.1 Subscriber Data Management Subsystem

2.2 Service Processing Subsystem (For The UPCC)

2.3 Data Service Subsystem

2.4 Data Storage Subsystem

2.5 O&M Subsystem

Copyright © 2017 Huawei Technologies Co., Ltd. All rights reserved. Page22
Service Processing Subsystem (For
The UPCC)
 Functional structure of the service processing subsystem

Copyright © 2017 Huawei Technologies Co., Ltd. All rights reserved. Page23
Copyright © 2017 Huawei Technologies Co., Ltd. All rights reserved. Page24
Service Processing Subsystem (For The
UPCC) (Cont.)
 Interfaces provided by the service processing subsystem

Copyright © 2017 Huawei Technologies Co., Ltd. All rights reserved. Page25
Service Processing Subsystem (For The
UPCC) (Cont.)
 Message distribution policies of subscriber data management
including:
 NPU distribution policy

 PPU distribution policy

 SPU distribution policy

 SDU distribution policy

 DSG distribution policy

 DPU distribution policy

Copyright © 2017 Huawei Technologies Co., Ltd. All rights reserved. Page26
Contents
2. USCDB Subsystem Introduction
2.1 Subscriber Data Management Subsystem

2.2 Service Processing Subsystem (For The UPCC)

2.3 Data Service Subsystem

2.4 Data Storage Subsystem

2.5 O&M Subsystem

Copyright © 2017 Huawei Technologies Co., Ltd. All rights reserved. Page27
Data Service Subsystem
 Functional structure of the data service subsystem
 The in-memory database implements the subscriber data query
and modification during service processing. It adopts the UDB
software and is deployed in board memory.

Copyright © 2017 Huawei Technologies Co., Ltd. All rights reserved. Page28
Data Service Subsystem (Cont.)
 Interfaces provided by the data service subsystem

Copyright © 2017 Huawei Technologies Co., Ltd. All rights reserved. Page29
Data Service Subsystem (Cont.)
 Message distribution policies of data service subsystem
including:
 DPU distribution policy

 DSG distribution policy

 DRU distribution policy

 DSU distribution policy

Copyright © 2017 Huawei Technologies Co., Ltd. All rights reserved. Page30
Contents
2. USCDB Subsystem Introduction
2.1 Subscriber Data Management Subsystem

2.2 Service Processing Subsystem (For The UPCC)

2.3 Data Service Subsystem

2.4 Data Storage Subsystem

2.5 O&M Subsystem

Copyright © 2017 Huawei Technologies Co., Ltd. All rights reserved. Page31
Data Storage Subsystem
 Functional structure of the data storage subsystem
 The physical database is a device for storing data permanently. It is
independent of service processing.

Copyright © 2017 Huawei Technologies Co., Ltd. All rights reserved. Page32
Data Storage Subsystem (Cont.)
 Interfaces provided by the data storage subsystem

Copyright © 2017 Huawei Technologies Co., Ltd. All rights reserved. Page33
Data Storage Subsystem (Cont.)
 Message Distribution Policies
 The DBG modules work in load-sharing mode.

 The DRU and DSU modules send messages to the DBG modules on
a random basis.

Copyright © 2017 Huawei Technologies Co., Ltd. All rights reserved. Page34
Data Storage Subsystem (Cont.)
 Data Storage Mechanism
 Data stored in the physical database
 Global data

 Subscriber data

 Routing data

 PGW operation logs

 TableSpace Planning
Storage Information User Name Password Rights Default Tablespace
Subscriber data, routing data, and
uscdb huawei DBA usrts
global data
PGW operation logs pgw huawei DBA pgwts

Copyright © 2017 Huawei Technologies Co., Ltd. All rights reserved. Page35
Contents
2. USCDB Subsystem Introduction
2.1 Subscriber Data Management Subsystem

2.2 Service Processing Subsystem (For The UPCC)

2.3 Data Service Subsystem

2.4 Data Storage Subsystem

2.5 O&M Subsystem

Copyright © 2017 Huawei Technologies Co., Ltd. All rights reserved. Page36
O&M Subsystem
 Position of the OMU on the network

Copyright © 2017 Huawei Technologies Co., Ltd. All rights reserved. Page37
O&M Subsystem (Cont.)
 OMU mainly provides the following functions:
 Transfers the MML commands from LMT to DSU/DRU modules;

 Transfers the response from DSU/DRU modules to corresponding


LMT;

 Stores and transfers alarm information and performance


measurement information;

 Provides a interface connected to network management system,


to implement centralized management;

Copyright © 2017 Huawei Technologies Co., Ltd. All rights reserved. Page38
Questions
 Based on the messages from PGW web client or BOSS system,
how does DPU choose PGW modules?

 What is the relationship between PGW1 and load PGW?

 Under what kind of scenario, system will use the SQLAPI


interface?

Copyright © 2017 Huawei Technologies Co., Ltd. All rights reserved. Page39
Contents
1. USCDB Software Structure Overview

2. USCDB Subsystem Introduction

3. USCDB Board Software

4. USCDB License

5. USCDB Reliability Design

Copyright © 2017 Huawei Technologies Co., Ltd. All rights reserved. Page40
Software On The OMU Boards
 The OMU boards implement the functions of the O&M
subsystem. They are installed with the following software:
 Operating system: Novell SUSE Linux Enterprise Server 10 SP3 for
x86_32

 Database software: OMU database

 Version software: OMU application software

Copyright © 2017 Huawei Technologies Co., Ltd. All rights reserved. Page41
Software On The USCDB Boards
 USPGW Boards
 implement the functions of the subscriber data management
subsystem. They are installed with the following software:
 Operating system: Novell SUSE Linux Enterprise Server 10 SP3 for x86_32

 Version software: USCDB application software

 USRSU, USDRU and USDSU Boards


 implement the functions of the data service subsystem. They are
installed with the following software:
 Operating system: Novell SUSE Linux Enterprise Server 10 SP3 for x86_32

 Version software: USCDB application software

Copyright © 2017 Huawei Technologies Co., Ltd. All rights reserved. Page42
Software On The USCDB Boards (Cont.)
 USPMU and USDMU Boards
 The USDMU boards implement the functions of the data storage
subsystem, the USPMU boards implement the functions of the
subscriber data management subsystem and data storage subsystem.

 They are installed with the following software:


 Operating system: Novell SUSE Linux Enterprise Server 10 SP3 for
x86_32

 Database software: Oracle Database 11g Enterprise Edition Release


11.1.0.7.0 (Server/Client)

 Version software: USCDB application software

Copyright © 2017 Huawei Technologies Co., Ltd. All rights reserved. Page43
Questions
 How many logic broads are used in USCDB system? What are
their functions?

Copyright © 2017 Huawei Technologies Co., Ltd. All rights reserved. Page44
Contents
1. USCDB Software Structure Overview

2. USCDB Subsystem Introduction

3. USCDB Board Software

4. USCDB License

5. USCDB Reliability Design

Copyright © 2017 Huawei Technologies Co., Ltd. All rights reserved. Page45
License Control Of USCDB
 The license control center and license agent implement license
control.

Module Function
The license control center implements the following
functions:
•Loads the license file from the OMU and analyzes
the license file.
License control center
•Controls the license configuration.
•Processes maintenance commands.
•Verifies and synchronizes the license file among all
the license agents in an NE.
The license agent provides an API interface for the
License agent
modules of an NE to query the license configuration.

Copyright © 2017 Huawei Technologies Co., Ltd. All rights reserved. Page46
License Control Of USCDB (Cont.)
 Control Mechanisms for Resource Control Items
 The number of subscribers is counted as follows:
 The number of static subscribers is counted according to the data in
the in-memory database every early morning.

 The number of dynamic subscribers is counted according to the data


in the DSU every early morning.

 The PGW updates the number of other types of subscribers in the DRU
every 20 seconds.

Copyright © 2017 Huawei Technologies Co., Ltd. All rights reserved. Page47
License Control Of USCDB (Cont.)
 Control Mechanisms for Resource Control Items
 The number of subscribers is controlled as follows:
 90%< Number of static subscribers ≤100%
– All operations are allowed. This alarm is cleared when the number of static subscribers
falls below 89% of the limit specified by the license.

 100%< Number of static subscribers ≤102%


– All operations are allowed. This alarm is cleared when the number of static subscribers
falls below 99% of the limit specified by the license.

 102% < Number of static subscribers


– Defining subscribers and providing services are restricted. This alarm is cleared when
the number of static subscribers falls below 99% of the limit specified by the license.

Copyright © 2017 Huawei Technologies Co., Ltd. All rights reserved. Page48
Questions
 How to check the USCDB system license?

Copyright © 2017 Huawei Technologies Co., Ltd. All rights reserved. Page49
Contents
1. USCDB Software Structure Overview

2. USCDB Subsystem Introduction

3. USCDB Board Software

4. USCDB License

5. USCDB Reliability Design

Copyright © 2017 Huawei Technologies Co., Ltd. All rights reserved. Page50
Contents
5. USCDB Reliability Design
5.1 Flow Control

5.2 Data Backup And Verification

Copyright © 2017 Huawei Technologies Co., Ltd. All rights reserved. Page51
Flow Control (Cont.)
 Flow Control of the Signaling Processing Subsystem
 GU-HLR Flow Control of the Signaling Processing Subsystem

 IMS-HSS Flow Control of the Signaling Processing Subsystem

 SAE-HSS Flow Control of the Signaling Processing Subsystem

 UEIR Flow Control of the Signaling Processing Subsystem

 ENS Flow Control of the Signaling Processing Subsystem

Copyright © 2017 Huawei Technologies Co., Ltd. All rights reserved. Page52
Copyright © 2017 Huawei Technologies Co., Ltd. All rights reserved. Page53
Flow Control (Cont.)
 Flow Control of the Data Service Subsystem
 Flow control requires the data service subsystem to process
maximum number of messages within its processing capability and
discard the messages that exceed the processing capability in the
case of surging traffic.

 The data service subsystem adjusts the traffic volume of each node
according to the CPU usage and the message queue delay.

Copyright © 2017 Huawei Technologies Co., Ltd. All rights reserved. Page54
Flow Control (Cont.)
 Flow Control of the Subscriber Management Subsystem
 Flow control allows the Provisioning gateway (PGW) to limit the
number of commands sent from the provisioning system within
the specified range, thus preventing congestion or overload from
the links between the PGW and the provisioning system and
ensuring normal processing of commands.

Copyright © 2017 Huawei Technologies Co., Ltd. All rights reserved. Page55
Flow Control (Cont.)
 On receiving commands from the provisioning system, the PGW
evaluates the current processing capability based on the average
delay of command processing and the CPU usage of boards. If the
number of commands to be processed within the specified period
exceeds the maximum processing capability of the PGW, the PGW
suspends the batch operation that is being performed and discards
certain commands to protect the system against overload.

Copyright © 2017 Huawei Technologies Co., Ltd. All rights reserved. Page56
Contents
5. USCDB Reliability Design
5.1 Flow Control

5.2 Data Backup And Verification

Copyright © 2017 Huawei Technologies Co., Ltd. All rights reserved. Page57
Data Backup
 Backup of In-Memory Database
 Backing Up Data to Slave Nodes
 After updating the data in the IMDB, the master node automatically
copies the updated data to the slave nodes in the same cluster to
ensure data consistency.

 Backing Up Data to Board Disks


 Two methods are available for backing up IMDB data to the hard disk.
– Automatic backup

– Manual backup(BKP NODE)

 Backing Up Data to the Physical Database

Copyright © 2017 Huawei Technologies Co., Ltd. All rights reserved. Page58
Copyright © 2017 Huawei Technologies Co., Ltd. All rights reserved. Page59
Data Backup (Cont.)
 Backup of Physical Database
 During physical database backup, all subscriber data and control
file of the Oracle database are backed up, it is full backup.

 According to the place to be backed up, the backup of the


physical database includes Network Backup.
 Network Backup

 According to the backup methods to be used, the backup of the


physical database is classified into two types:
 Automatic backup

 Manual backup

Copyright © 2017 Huawei Technologies Co., Ltd. All rights reserved. Page60
Data Backup (Cont.)
 Data Backup Of O&M Subsystem
 Automatic backup
 When traffic is light, the OMU automatically backs up the database
and files. The OMU retains the database backed up during the last
seven days and automatically deletes the database backed up before
seven days.

 Manual backup
 The operator can run BKP SYS on the CGP MML command interface
of the OMU client to back up the database or files.

Copyright © 2017 Huawei Technologies Co., Ltd. All rights reserved. Page61
Data Verification
Method Trigger Point Remarks
•If the check is successful, the master
node deletes the exception check logs.
During data replication, if the master
•If the check times out or fails, the
node fails to receive a response from
master node retains the exception check
the slave node within the specified
logs and starts another check.
Exception check time or fails the replication, the master
•If the data check times out and fails for
node records the exception check
three times consecutively, the master
logs. Then, the master node initiates
node generates a check failure alarm.
an exception check.
The master node retains the exception
check logs until the check is successful.
Data consistency between the master
node and slave nodes in a cluster •Horizontal forward or backward check
Data consistency between the DSU is within a cluster, and is performed
and DRU nodes against the data stored in the master
Periodic data
Periodic data check between the node.
check
active and redundancy USCDBs is •Vertical forward or backward check is
performed to ensure data consistency performed against the data stored in the
between the USCDBs. DSU node.

Copyright © 2017 Huawei Technologies Co., Ltd. All rights reserved. Page62
Copyright © 2017 Huawei Technologies Co., Ltd. All rights reserved. Page63
Data Verification (Cont.)

Method Trigger Point Remarks


After receiving a single subscriber
check message from an FE, the DRU
The data check for a single subscriber
node and the DSU node check the
Single involves vertical check and horizontal
routing data and subscriber data of
subscriber check check. The vertical check is performed
the subscriber stored in slave nodes
before the horizontal check.
against the data stored in master
nodes.
The check is performed against the data
in the in-memory database. During each
By default, the system checks the check, the system obtains the data
Check of the in- data in the in-memory database and records from the primary key table of the
memory and the physical database every two in-memory database one by one, and
physical hours. You can change the check then obtains the relevant records from
databases period by modifying a software the corresponding auxiliary key table.
parameter. Then, the system compares the records
with those stored in the tables of the
physical database.

Copyright © 2017 Huawei Technologies Co., Ltd. All rights reserved. Page64
Questions
 How to define the auto-backup time of physical database?

 For single subscriber check, what verification principle should


be followed?

Copyright © 2017 Huawei Technologies Co., Ltd. All rights reserved. Page65
Summary
 This course mainly discuss about the component of USCDB and
structure, interfaces, functions, messages distribution policy of
each component; at the same time, the license control principle
and reliability design are also included.

Copyright © 2017 Huawei Technologies Co., Ltd. All rights reserved. Page66
Thank you
www.huawei.com

You might also like