02 OHC508203 USCDB Principle With Operation and Maintenance (VHSS)
02 OHC508203 USCDB Principle With Operation and Maintenance (VHSS)
Operation and
Maintenance
www.huawei.com
Copyright © 2017 Huawei Technologies Co., Ltd. All rights reserved. Page2
Objectives
Upon completion of this course, you will be able to understand:
Copyright © 2017 Huawei Technologies Co., Ltd. All rights reserved. Page3
Contents
1. Overview of the USCDB
2. DS Principles and O&M
Copyright © 2017 Huawei Technologies Co., Ltd. All rights reserved. Page4
SingleSDB Software Structure
Copyright © 2017 Huawei Technologies Co., Ltd. All rights reserved. Page5
Overview of the DS-Interface
Introduction
Copyright © 2017 Huawei Technologies Co., Ltd. All rights reserved. Page6
Overview of the DS
Node: A unit that can independently provide services. A host may have one or more
l
nodes. Based on the node status, the nodes can be classified into two types:
p Master node: Each cluster can have only one master node. The master node
implements functions such as adding, deleting, modifying, and querying data.
p Slave node: Each cluster can have multiple slave nodes. The slave nodes can
implement only data querying.
l Cluster: Nodes manage the same subscriber data form a cluster.
p A cluster generally consists of one master node and several slave nodes.
p When the master node is faulty, services are switched over to other slave nodes in
the cluster for processing. Therefore, service processing is not adversely affected
by the failure of a single node, improving the system reliability.
l NE: A network entity that is independently deployed on other network equipment or
upper-layer network management system (NMS). Both the USCDB and FE function as an
independent NE.
Copyright © 2017 Huawei Technologies Co., Ltd. All rights reserved. Page7
Overview of the DS (Cont.)
Data services: The DS provides data services, such as adding, deleting, modifying, and
l
querying subscriber data based on the service processing requirements of the FE. In addition,
it supports transaction-based or non-transaction-based data access.
Data loading: After a DRU or DSU process starts, it creates an in-memory database, loads
l
data, and then provides services. The DRU or DSU process loads data from the master node,
the local dump files and redolog files, and the physical database in sequence.
Data replication: To ensure data consistency among nodes in a cluster, the master node
l
sends a replication message to the slave nodes after modifying the data. The slave nodes
then update the data in the local in-memory database according to the replication message.
Data synchronization: To ensure data consistency between the in-memory database and
l
the physical database, the master node records a synchronization log after modifying the data
in the in-memory database and the synchronization module modifies the data in the physical
database according to the synchronization log.
Redundancy function: The USCDB supports the active/standby redundancy solution and
l
Copyright © 2017 Huawei Technologies Co., Ltd. All rights reserved. Page9
Overview of the DBMS
Physical database
l
Copyright © 2017 Huawei Technologies Co., Ltd. All rights reserved. Page10
Overview of the DBMS(Cont.)
Functions of modules in the physical database
The physical database consists of the DBG module, NDF module, Oracle
l
Converts the format of the messages between the physical database and the DRU
l
or DSU nodes.
p NDF module
Manages the physical database
l
Copyright © 2017 Huawei Technologies Co., Ltd. All rights reserved. Page12
Overview of the PGW
PGW Overview
l
PGW is the most important module of the subscriber data management subsystem,
which serves as the BE access interface. It performs the following functions:
p Converts formats of the operation commands received from the provisioning
system into the format required by the convergent database based on the user data
model.
p Verifies the validity of data based on the predefined subscriber data.
p Authenticates and authorizes the provisioning system.
The PGW subsystem consists of the DPU module, and the PGW module.
p DPU module
p PGW module
Copyright © 2017 Huawei Technologies Co., Ltd. All rights reserved. Page13
Contents
1. Overview of the USCDB
2. DS Principles and O&M
Copyright © 2017 Huawei Technologies Co., Ltd. All rights reserved. Page14
Contents
2. DS Principles and O&M
2.1 Data Replication
Copyright © 2017 Huawei Technologies Co., Ltd. All rights reserved. Page15
Data Replication Overview
l Data replication is a process of replicating the data updated in the local
node to other nodes. This ensures data consistency between the nodes
in the same DRU or DSU cluster and between the active and
redundancy USCDBs.
Copyright © 2017 Huawei Technologies Co., Ltd. All rights reserved. Page16
Data Replication Principle
l Synchronous replication
p Synchronous replication is the process in which the master node
sends a replication message to the slave nodes and waits for the
responses from these nodes. On receiving the responses from these
nodes, the master node continues to process the next replication
request.
l Asynchronous replication
p Asynchronous replication is the process in which the master node
writes replication messages into the asynchronous replication cache
queue and proceeds with the subsequent processing without waiting
for the asynchronous replication result. The management thread of the
cache queue periodically scans and sends replication messages
Copyrightretained in the
© 2017 Huawei cache.
Technologies Co., Ltd. All rights reserved. Page17
Data Replication Principle (Cont.)
Master 1’
2’ Slave
1 2
4
Asynchronous 3 <=Loading
replication cache
Slave
Copyright © 2017 Huawei Technologies Co., Ltd. All rights reserved. Page18
Data Replication Principle (Cont.)
l Intra-location replication
p Intra-location replication is the master node replicates data to the slave nodes in
the same cluster. In the same cluster, only the master node can update data. When
updating the data, the master node needs to replicate the updated data to the slave
nodes in the same cluster.
p In a location, static data adopts the synchronous replication mode, and dynamic
data adopts the asynchronous replication mode.
l Inter-location replication
p Inter-location replication is the active USCDB replicates data to the redundancy
USCDB. After the data is updated on the master node of the active USCDB, the
updated data is replicated to the corresponding master node with the same cluster
ID in the redundancy USCDB.
Copyright © 2017 Huawei Technologies Co., Ltd. All rights reserved. Page19
Data Replication Principle (Cont.)
l Inter-location replication procedure
Global data
replication of
DRU cluster
Subscriber
data replication
of DSU cluster
Copyright © 2017 Huawei Technologies Co., Ltd. All rights reserved. Page20
Data Replication Principle (Cont.)
Collecting information about replication messages
l 1. Open the Performance Management System page, and choose USCDB[ME] >
USCDB Measurement > USCDB DCI Operation Measurement, select a master node
and view the number of Replication Positive Requests Sent, select the related slave
node and view the number of Replication Positive Requests Received and the ratio of
Success Ack Ratio of Local Node Replication.
l 2. Run DSP NODE and query the value of Size of verify queue.
Copyright © 2017 Huawei Technologies Co., Ltd. All rights reserved. Page21
Operations Related to Data
Replication
l Scenarios
l Prerequisites
p None.
l Procedure
Copyright © 2017 Huawei Technologies Co., Ltd. All rights reserved. Page22
Contents
2. DS Principles and O&M
2.1 Data Replication
Copyright © 2017 Huawei Technologies Co., Ltd. All rights reserved. Page23
Data Verification Principle
l Overview of Data Verification
p Data verification is performed to ensure data consistency between
master and slave nodes, DRU/DSU nodes in the same cluster and data
consistency of global data between the FE and BE. Data verification is
classified into the following two types:
Copyright © 2017 Huawei Technologies Co., Ltd. All rights reserved. Page24
Data Verification Principle –GU-HLR
Global Data
l Principle
l Global data verification is performed when the global data between the FE
and BE is inconsistent.
p When the CCU processes are started, a specified CCU process (known as the
loading CCU) loads the global data from the DRU node and stores the data in
the memory.
p Other CCUs (known as common CCUs) load the global data from the loading
CCU.
l The loading CCU updates the global data from the DRU and common
CCUs updates global data from the loading CCU every 20 seconds. If a
common CCU fails to load data from the loading CCU three times, the
common CCU directly loads data from the DRU.
Copyright © 2017 Huawei Technologies Co., Ltd. All rights reserved. Page25
Data Verification Principle -Exception
check
l During data replication, if the master node fails to receive a response from the
slave node within the specified time or fails the replication, the master node
records the exception check logs. Then, the master node initiates an exception
check.
l Exception check Procedure
3
Master Slave
1 2
Message
cache
Copyright © 2017 Huawei Technologies Co., Ltd. All rights reserved. Page26
Data Verification Principle -Periodic
data check
l Periodic data check is performed to ensure data consistency between the
master and slave node of the DRU/DSU cluster, it is classified into two types:
p Data check in Single site
p Data check between the active and redundancy USCDBs (intra-location data check )
l Data check in single site is classified into the following four types:
p Horizontal forward check (Initialed by the master node)
p When vertical check is performed, data is updated based on the master DSU node.
Copyright © 2017 Huawei Technologies Co., Ltd. All rights reserved. Page27
Data Verification Principle -Periodic
data check (cont.)
l Inter-location data check between the active and redundancy USCDBs is
performed to ensure data consistency between the USCDBs, it is classified
into the following three types:
p If a data record is available in the active USCDB but unavailable in the
redundancy USCDB, the active USCDB initiates a horizontal forward check. The
data in the redundancy USCDB is updated based on the data in the active
USCDB.
p If a data record is available in the redundancy USCDB but unavailable in the
active USCDB, the redundancy USCDB initiates a horizontal backward check.
The data in the redundancy USCDB is updated based on the data in the active
USCDB.
l Prerequisites
p Data verification parameters are configured.
l Procedure
p Log in to the PGW Web LMT, and run SET MAPSERV to set
GLOBALTABLEREFRESHTIME.
History Command:
Command Input: Assit Exec
Copyright © 2017 Huawei Technologies Co., Ltd. All rights reserved. Page29
Operations Related to Periodic data
check
l Scenarios
p DRU/DSU data verification is performed automatically.
l Prerequisites
p Data verification parameters are configured.
l Procedure
p Log in to HUAWEI Operation & Maintenance System, open the MML
Command - USCDB window, and run MOD INSP to enable or disable data
verification for a FE and set data verification interval.
Copyright © 2017 Huawei Technologies Co., Ltd. All rights reserved. Page30
Operation Related to Data
Verification-Enable Data Verification
l Enabling data verification
l Scenarios
p To ensure data consistency, another periodic data check can be enabled by
setting related parameters if a periodic data check is not complete.
l Procedure
p On the OMU client, run MOD INSP to change the value of VFYCYCPRD to
60s so
MOD thatINSPT=FE,
INSP: another periodic data check will
INSPN=VFYCYCPRD, be performed
INSPV=60, after 60s.
FETYPEN="GU-HLR";
l Disabling Procedure
p On the LMT, run MOD INSP to disable intra-location and inter-location data verification.
Copyright © 2017 Huawei Technologies Co., Ltd. All rights reserved. Page33
Supplementary Operations of Data
Verification - performance
measurement tasks
l Querying data verification performance measurement tasks
p Open the Performance Management System page, and view
performance measurement tasks related to data verification.
Copyright © 2017 Huawei Technologies Co., Ltd. All rights reserved. Page34
Solution 1 Related to Data Verification
Symptom 1:
l The DS database is abnormal. All or some DRU and DSU nodes are
red on the USCDB service panel.
Solution: To solve this problem, perform the following steps:
Copyright © 2017 Huawei Technologies Co., Ltd. All rights reserved. Page35
Solution 1 Related to Data
Verification(Cont.)
Symptom 2:
l Solution:
p 1. Open the Browse Alarms window, and check whether link-related alarms (ALM
22000-22004) are generated for the links between the active and redundancy
USCDBs.
Copyright © 2017 Huawei Technologies Co., Ltd. All rights reserved. Page37
Contents
2. DS Principles and O&M
2.1 Data Replication
Copyright © 2017 Huawei Technologies Co., Ltd. All rights reserved. Page38
Data Loading Principle
DSU/DRU node
Redo log
Mapping
Data
dictionary
Dump
Loading
files
Insert
Copyright © 2017 Huawei Technologies Co., Ltd. All rights reserved. Page39
Data Loading Principle (Cont.)
l The DRU/DSU node can load data from the following four sources in sequence:
p Local master node
p Physical database
l This loading mode is used for data loading from the active USCDB to the redundancy
USCDB. This loading mode is disabled by default. The DS adopts the three-level data
backup mechanism.
p Level-1 backup: The subscriber data is stored in the memories of different VMs. Each cluster is
configured with a master and slave nodes. The data stored in the master node is synchronized to
the slave node in the same cluster in real time.
p Level-2 backup: The subscriber data stored in the VM memory is backed up to two local hard disks
on the board. The two hard disks work in RAID 1 mode.
p Level-3 backup: The subscriber data stored in the VM memory is backed up to the disk array. The
disk array is configured with RAID 10 and hot spare disks.
Copyright © 2017 Huawei Technologies Co., Ltd. All rights reserved. Page40
Operations Related to Data Loading
l Scenarios: Data loading is performed automatically. Data loading sources
changes only in the following scenarios:
p During the upgrade, the data loading source is automatically changed.
p After the physical database is cleared up, the data loading source needs to be
changed to load data from the physical database.
p After the USCDB is restored from abnormal state, the data loading source needs to be
changed to load data from the local dump files and redolog files.
l If the data loading source needs to be changed in other scenarios, perform the operation
under the guidance of Huawei technical support engineers.
Procedure:
p Log in to LMT, open the MML command - USCDB window, and run MOD INSP to
modify the value of LDRSOURCE.
p MOD INSP: INSPT=FE, INSPN=LDRSOURCE, INSPV=X, FETYPEN="USCDB";
Copyright © 2017 Huawei Technologies Co., Ltd. All rights reserved. Page41
Operations Related to Data Loading
(Cont.)
l The values of the LDRSOURCE are as follows:
p 0: Load data from the following sources in sequence: master node,
local dump and redolog files, and the physical database.
p 2: Load data from the local dump files and redolog files.
Copyright © 2017 Huawei Technologies Co., Ltd. All rights reserved. Page42
Solution Related to Data Loading
l Case: How to locate the fault when a node fails to load data?
Fault Diagnosis:
l Open the Browse Alarms window, and check the causes for ALM-12007
Loading Failed. The causes for loading failure when a new site is deployed
are as follows:
p (1) The disk space is insufficient. This situation often occurs in pilot sites
because multiple junk files are generated when NEs are added and
deleted. This cause can be identified based on the Alarm cause in the
alarm.
p (2) Multiple USCDB versions are tested, and data of the earlier version
in the local dump files is not deleted.
p (3) Multiple USCDB versions are tested. Data of the earlier version is
deleted but the VMs and NEs are not reset.
Copyright © 2017 Huawei Technologies Co., Ltd. All rights reserved. Page43
Contents
2. DS Principles and O&M
2.1 Data Replication
Copyright © 2017 Huawei Technologies Co., Ltd. All rights reserved. Page44
Data Backup Principle
l The DS provides the following data backup modes:
Copyright © 2017 Huawei Technologies Co., Ltd. All rights reserved. Page45
Operations Related to Data Backup
(BKP NODE)
l Scenarios: Perform data backup in the following scenarios:
p Data migration from Huawei HLR9820 V900R003 or V900R006 to HLRs of other vendors.
p USCDB upgrade.
p To back up data in the master node, set Backup type to FORCED. For example, to back
up data in the node 13 in cluster 11.
Copyright © 2017 Huawei Technologies Co., Ltd. All rights reserved. Page46
Solution Related to Data Restoration
l Symptom 1: Data backup for a node fails, and ALM-12007 Loading Failed
is generated with cause value disk space insufficient.
l Fault Diagnosis : To solve this problem, check the causes for insufficient
disk space and delete useless files.
l Fault Diagnosis : When the standby plane is upgraded, the standby plane
loads data from local dump files. However, the loading fails as the board is
replaced and no backup files exist on the new board. To solve this problem,
copy files from the active plane to the /opt/uscdb/snp_upg directory of the
standby plane and upgrade the standby plane again.
Copyright © 2017 Huawei Technologies Co., Ltd. All rights reserved. Page47
Questions
1. If data replication from the master node to the slave node fails,
how the master node ensures data consistency?
2. When a new site is deployed, where will nodes load initial data?
3. If the DRU/DSU node restarts, where will the DRU/DSU node
loads data?
Copyright © 2017 Huawei Technologies Co., Ltd. All rights reserved. Page48
Contents
Copyright © 2017 Huawei Technologies Co., Ltd. All rights reserved. Page49
Contents
Copyright © 2017 Huawei Technologies Co., Ltd. All rights reserved. Page50
Data Synchronization Principle
1. Static data synchronization
After the static data in the in-
memory database is updated, the
master node in the DRU or DSU
cluster generates the
synchronization log. The
write
read
Copyright © 2017 Huawei Technologies Co., Ltd. All rights reserved. Page51
Data Synchronization Principle (Cont.)
l Difference between static data and dynamic data synchronization
p When the data in the in-memory database is updated, the static data is
synchronized to the physical database in real time. However, the
dynamic data is periodically synchronized to the physical database.
Copyright © 2017 Huawei Technologies Co., Ltd. All rights reserved. Page52
Data Synchronization
l Scenarios
p In normal cases, data is automatically synchronized from the in-memory database
to the physical database. The data synchronization function must be disabled when
physical database upgrade, maintenance, or backup is performed.
l Procedure
p Log in to HUAWEI LMT, and run MOD INSP in the MML Command - USCDB
window to enable data synchronization from the in-memory database to the
physical database.
Copyright © 2017 Huawei Technologies Co., Ltd. All rights reserved. Page53
Contents
Copyright © 2017 Huawei Technologies Co., Ltd. All rights reserved. Page54
Principle of Data Consistency Check Between
the In-Memory and Physical Databases
Slave DSU/DRU node
1. Based on the primary key, the
DBG queries all data records
in the physical database.
In-memory
database 2. The DBG compares the
queried data records in the
physical database and the
data stored in the in-memory
database.
1 2 3 3. If data inconsistency is
detected, data in the physical
DBG database is updated based
on the data in the in-memory
database.
DBMS
Copyright © 2017 Huawei Technologies Co., Ltd. All rights reserved. Page55
Principle of Data Consistency Check Between
the In-Memory and Physical Databases (Cont.)
l Full data verification
p During each check, the system obtains the data records from the primary key
table of the in-memory database one by one, and then obtains the relevant
records from the corresponding auxiliary key table. Then, the system compares
the records with those stored in the tables of the physical database.
p The speed of data consistency check between the in-memory and physical
databases is slow. Therefore, incremental data verification is used to verify only
the updated data. The last time when subscriber data was updated in the in-
memory database is compared with the time the last data consistency check
between the in-memory and physical databases was performed to determine
whether the subscriber data needs to be updated.
Copyright © 2017 Huawei Technologies Co., Ltd. All rights reserved. Page56
Operations Related to Data Consistency Check
Between the In-Memory and Physical Databases
l Scenarios
l In normal cases, data consistency check between the in-memory and physical
databases is automatically performed. Perform data consistency check between
the in-memory and physical databases in the following scenarios:
Copyright © 2017 Huawei Technologies Co., Ltd. All rights reserved. Page57
Operations Related to Data Consistency Check
Between the In-Memory and Physical Databases
(Cont.)
l 2. Run the following command to disable data consistency check between the in-
memory and physical databases on all nodes:
Copyright © 2017 Huawei Technologies Co., Ltd. All rights reserved. Page58
Contents
Copyright © 2017 Huawei Technologies Co., Ltd. All rights reserved. Page59
Contents
4. PGW Principles and O&M on the PGW
4.1 PGW Right Management (MVNO)
Copyright © 2017 Huawei Technologies Co., Ltd. All rights reserved. Page60
PGW Right Management Principle
Basic concepts
l SYSHLRSN(SYSNO): It means System HLR Serial No (System Serial No .).It specifies the system serial number.
Each USCDB is configured with only one system serial number (system serial no ). The system serial number (system
serial no ) identifies a USCDB.
l VHLRSN(MVNO): This specifies the Virtual HLR Serial No (Mobile Virtual Network Operator ).
l VHLRRANGE(MVNORANGE): This specifies the number segment that a Virtual HLR(MNVO) manages. Multiple
number segments can be configured for one Virtual HLR(MNVO). The right management of number segments is
performed according to the prefix maximum matching rule. The number segments configured for Virtual HLR(MNVO)
associated with the same system HLR serial number (system serial number )cannot be the duplicate.
SYSHLRSN
(SYSNO)
OPR
VHLRSN1 VHLRSNn
(MVNO1) (MVNOn)
Copyright © 2017 Huawei Technologies Co., Ltd. All rights reserved. Page61
PGW Right Management Principle (Cont.)
Basic concepts
l CCG: This specifies the command group. Commands are grouped. One command group
contains multiple commands, and one command can be included in multiple command
groups.
l Operator: This specifies the person who can log in to the HLR, configure and manage the
HLR, and manage data stored in the HLR.
p Operators except the operator admin can only manage data configured for the
system to which the operators belong. The system is identified by the SYSNO.
l Operator admin: In the PGW system, one operator admin is configured by default. The
operator admin has full administrative rights.
Copyright © 2017 Huawei Technologies Co., Ltd. All rights reserved. Page62
PGW Right Management Principle (Cont.)
Overview
l The PGW supports the following right management:
p Command right management
p Number segment right management
l PGW right management is implemented based on operator right
management. The operator rights include:
p Command right
p Number segment right
l The number segment right management is implemented by configuring
VHLRSNs(MVNOs) for an operator and number segments for the
VHLRSNs(MVNOs).
Copyright © 2017 Huawei Technologies Co., Ltd. All rights reserved. Page63
PGW Right Management
Copyright © 2017 Huawei Technologies Co., Ltd. All rights reserved. Page64
Command Right Management Principle
The principle of command right management is as follows:
l The commands that an operator has the right to run is configured by setting
the operator level.
l The operator level is associated with the command group.
l The command group can be configured by running ADD CCG.
l An operator has the right to run all commands in the command group
associated with the operator level.
Operator 1 Level 1
Command 1
Level 2 Command 2
Command group 1
Operator 2
Level 3 Command group 2 Command X
Operator X
Command group X
Level X
Copyright © 2017 Huawei Technologies Co., Ltd. All rights reserved. Page65
Command Right Management Principle (Cont.)
The predefined command groups are as follows:
Copyright © 2017 Huawei Technologies Co., Ltd. All rights reserved. Page66
Command Right Management Principle (Cont.)
Operator level
l Operators are classified into five levels as follows:
p ADMINISTRATOR
p OPERATOR
p USER
p GUEST
p CUSTOM
l The command groups associated with the first four operator levels
are predefined. You can assign customized command groups to an
operator of the Custom level if required.
Copyright © 2017 Huawei Technologies Co., Ltd. All rights reserved. Page67
Command Right Management Principle (Cont.)
The mapping between operator levels and command groups is as follows:
Copyright © 2017 Huawei Technologies Co., Ltd. All rights reserved. Page68
Operations Related to Command Right Management
Prerequisites
l The HLR serial number must be added before operators are added.
Procedure
l 1. Log in to the PGW Web LMT, and run ADD CCG to add command groups.
Copyright © 2017 Huawei Technologies Co., Ltd. All rights reserved. Page69
Operations Related to Command Right
Management (Cont.)
l 3. Run ADD OPR to add operators.
For example, to add an operator on the system whose serial number is 1,where:
Operator name is pgwuser
Operator description is user in pgw system
Password is Abc123
Operator level is User
Operator status is ACTIVE
Copyright © 2017 Huawei Technologies Co., Ltd. All rights reserved. Page70
Example of Configuring Command Right
Management
l In normal cases, one or two operators of the Administrator level and
multiple operators of the User level are configured for the PGW.
p An operator of the Administrator level can manage global data, such as
template customization.
Copyright © 2017 Huawei Technologies Co., Ltd. All rights reserved. Page71
PGW Right Management
Copyright © 2017 Huawei Technologies Co., Ltd. All rights reserved. Page72
Number Segment Right Management
Maximum matching rule
l Number segment maximum matching is used to obtain the number segment that
best matches the number of a specified subscriber. The procedure is as follows:
p 2. The USCDB matches the number of the subscriber with the number
segments and obtain the number segment that best matches the number and
the mapping VHLRSN(MVNO).
p 3. The USCDB queries all manageable Virtual HLRs(MVNOs) for the current
operator.
Copyright © 2017 Huawei Technologies Co., Ltd. All rights reserved. Page73
Operations Related to Number Segment
Right Management Virtual HLR Management
l An operator of the
Administrator level has the
right to add manageable
virtual HLRs for other
operators.
Copyright © 2017 Huawei Technologies Co., Ltd. All rights reserved. Page75
Operations Related to Number Segment
Right Management (Cont.) Virtual HLR Number
Segment
Management
l Number segment right
management for
operators is
implemented by
configuring number
segments for virtual
HLRs and
manageable virtual
HLRs for the
operators.
l The number
segments that one
virtual HLR can
manage are planned
by carriers.
Copyright © 2017 Huawei Technologies Co., Ltd. All rights reserved. Page76
Operations Related to Number Segment
Right Management (Cont.)
Mobile Virtual Network
Operator Management
Copyright © 2017 Huawei Technologies Co., Ltd. All rights reserved. Page77
Operations Related to Number Segment
Right Management (Cont.)
Operator-Oriented Mobile Virtual
Network Operator Management
Copyright © 2017 Huawei Technologies Co., Ltd. All rights reserved. Page78
Operations Related to Number Segment
Right Management (Cont.)
Mobile Virtual Network Operator
Number Segment Management
Copyright © 2017 Huawei Technologies Co., Ltd. All rights reserved. Page79
Example of Configuring Number Segment
Right Management
Background
l Carriers K, T, M manage subscriber data by using the same set of SingleSDB (HLR)
devices as follows:
p Carrier K manages the IMSI number segments with number segment with number
prefixes 20408, 20412107 and 20412807, excluding the number segments with
number prefixes 2040807, 2040809, and 20408080.
p Carrier T manages the IMSI number segment with number prefix 20412, excluding
the number segments with number prefixes 20412107 and 20412807.
p Carrier M manages the IMSI number segment with number prefix 20408080.
l Based on the preceding information, the following three operators of the Administrator
level are required:
p Operator K can manage MVNO1.
p Operator T can manage MVNO2.
p Operator M can manage MVNO3.
Copyright © 2017 Huawei Technologies Co., Ltd. All rights reserved. Page80
Example of Configuring Number Segment
Right Management (Cont.)
Procedure for configuring MVNO right management
l Note:
Copyright © 2017 Huawei Technologies Co., Ltd. All rights reserved. Page81
scripts of Configuring Number Segment
Right Management (Cont.)
Configuring MVNOs
p Configure an SYSNO. (The SYSNO must be consistent with that configured by running SET SYSNO on LMT.)
p Configure MVNOs. (MVNOs 1, 2, and 3 map carriers K, T, and M. MVNO 4 is used to exclude the unnecessary
number segment for carrier K.)
Copyright © 2017 Huawei Technologies Co., Ltd. All rights reserved. Page82
scripts of Configuring Number Segment
Right Management (Cont.)
p ADD MVNORANGE: SYSNO=1, MVNO=2, RANGETYPE=IMSI, PREFIX="20412";
Configuring Operators
l Configure operators.
Copyright © 2017 Huawei Technologies Co., Ltd. All rights reserved. Page83
Questions
l Can one IMSI number segment be allocated to multiple operators?
l How to configure data to ensure that a specific operator can only run
commands to query subscriber data or commands in a specified
command set?
Copyright © 2017 Huawei Technologies Co., Ltd. All rights reserved. Page84
Contents
Copyright © 2017 Huawei Technologies Co., Ltd. All rights reserved. Page85
Subscription Notification
Implementation Principle
Copyright © 2017 Huawei Technologies Co., Ltd. All rights reserved. Page86
Subscription Notification (Cont.)
Workflow
1. The provisioning system sends a request for modifying the subscriber data over the
MML or SOAP interface to the PGW.
2. The PGW sends a message to the USCDB to modify the subscriber data.
3. After the subscriber data is modified, the USCDB return a success response to the
PGW.
4. The PGW determines whether to send a notification based on the subscription data
to the FE.
5. The FE analyzes the notification content (in XML format), and sends an MAP
notification to the MSC server.
Copyright © 2017 Huawei Technologies Co., Ltd. All rights reserved. Page87
Subscription Notification (Cont.)
Mechanism for common subscription
notification
FE1 FEn
Notify (C, l The FE subscribes to notifications
OldValue, based on data models.
NewValue
l The PGW sends a notification to the
) IP network Modify FE when the subscription data is
(C) modified.
l The notification contains the data
before and after the modification.
BE1 BE2 PGW
You must specify Location ID if the
l
Copyright © 2017 Huawei Technologies Co., Ltd. All rights reserved. Page88
Subscription Notification (Cont.)
Mechanism for third-party subscription notification
FE1 FEn
Notify (C, Third-Party server
OldValue,
NewValue)
IP network
Modify (C)
BE1 BE2 PGW
In the mechanism for third-party subscription notification, the FE transfers the notification
sent by the FE to a third-party server for data collection and analysis after the dynamic
and static data of subscribers is modified. The third-party subscription notification
configured by ADD NOTIFYCFG does not affect the common subscription notification.
Copyright © 2017 Huawei Technologies Co., Ltd. All rights reserved. Page89
Subscription Notification (Cont.)
Classification of subscription notification
p Notification over the FILE interface when the authentication HLR (AUC) feature is
used or the PGW forwards processing results of the requests sent from the
provisioning system to a third-party device
Copyright © 2017 Huawei Technologies Co., Ltd. All rights reserved. Page90
Subscription Notification (Cont.)
Configuring the subscription notification function
l Run ADD NOTIFYCFG to configure the notification subscription data on the PGW.
Copyright © 2017 Huawei Technologies Co., Ltd. All rights reserved. Page91
Solution Related to Subscription
Notification
l Symptom: The subscription notification sending failure (In the command output, the
result shows that data is successfully updated in the database, but data fails to be
updated at the network side.)
l Fault Diagnosis:
3. The parameters of the ADD NOTIFYCFG command are incorrectly configured, for
example, Remote ID is incorrectly configured. (The value of Remote ID is set
before product delivery.)
Copyright © 2017 Huawei Technologies Co., Ltd. All rights reserved. Page92
Contents
Copyright © 2017 Huawei Technologies Co., Ltd. All rights reserved. Page93
PGW Logs
Overview
l The PGW logs are classified into:
p PGW Operation logs
Copyright © 2017 Huawei Technologies Co., Ltd. All rights reserved. Page94
PGW Operation Logs
Overview
l The operation logs record all non-query commands executed on the PGW Web LMT and the
provisioning system. The logs are stored in the physical database of both the active and redundancy
USCDBs.
l By default, the operation logs record operations in latest 31 days. You can configure the storage
duration by setting PGWOPLOGCYC. The value of PGWOPLOGCYC ranges from 1 to 31.
PGW
DBMS
Copyright © 2017 Huawei Technologies Co., Ltd. All rights reserved. Page95
PGW Operation Logs(cont.)
Provisioning
Signaling access BSG/DPU BSG/DPU … system
FE
Service logic CCU CCU …
Copyright © 2017 Huawei Technologies Co., Ltd. All rights reserved. Page96
PGW Operation Logs(cont.)
Redundancy Synchronization file
Redundancy Synchronization file generation
l After a command is successfully executed, the command is recorded in the redundancy file.
p Note: If the service layer redundancy solution is not adopted, log files are not generated in the
preceding directories.
Copyright © 2017 Huawei Technologies Co., Ltd. All rights reserved. Page97
PGW Operation Logs(cont.)
/opt/pgw
| |-- ./redundance/pgw
l The USCDB scans the redundancy files stored in the syn directory. If a redundancy file that meets
requirements are found, the USCDB performs a batch operation to execute the redundancy file. The
interworking between the active and redundancy USCDB may be temporarily abnormal or the
redundancy file is not transferred in real time in some cases. Responding to it, the redundancy file is not
executed in real time. The USCDB only executes the synchronization file generated 5 minutes ago.
Copyright © 2017 Huawei Technologies Co., Ltd. All rights reserved. Page98
PGW Processes Logs
Overview
Copyright © 2017 Huawei Technologies Co., Ltd. All rights reserved. Page99
Solution Related to PGW Processes Logs
Symptom: PGW Web LMT login failures.
Fault Diagnosis:
l If the login page of the PGW Web LMT cannot be displayed, perform the
following operations to check whether the IP address configured for the
PGW is correct.
p In the MML Command - USCDB window, run LST IPADDR to query the
IP address configured for the PGW.
Copyright © 2017 Huawei Technologies Co., Ltd. All rights reserved. Page100
Operation Logs of the PGW Web UI
l Log in to the PGW Web LMT, and click the Operation Record tab. The MML
commands that have been executed recently are displayed.
Copyright © 2017 Huawei Technologies Co., Ltd. All rights reserved. Page101
Questions
Copyright © 2017 Huawei Technologies Co., Ltd. All rights reserved. Page102
Summary