CUDB Subscription Reallocation

Contents

1Introduction
1.1Scope
1.2Revision Information
1.3Target Groups
1.4Prerequisites
1.5Typographic Conventions

2

Overview
2.1Prerequisites
2.2Architecture
2.3Description
2.4Dependencies and Interactions

3

Operation and Maintenance
3.1Configuration
3.2Fault Management
3.3Performance Management
3.4Security
3.5Logging

Glossary

Reference List

1   Introduction

This document provides a description for the Administrative Data Redistribution feature.

1.1   Scope

The purpose of this document is to describe the function and operational conditions of the optional Administrative Data Redistribution feature, supported by the Ericsson Centralized User Database (CUDB).

1.2   Revision Information


Rev. A
Rev. B
Rev. C
Rev. D

Other than editorial changes, this document has been revised as follows:

1.3   Target Groups

This document is intended for system administrators and users working with the Administrative Data Redistribution feature.

1.4   Prerequisites

Users of this document must have a basic knowledge of CUDB and the Administrative Data Redistribution feature.

1.5   Typographic Conventions

Typographic conventions can be found in the following document:

2   Overview

CUDB supports administrative redistribution (also known as reallocation) of the data stored in the CUDB system. The feature allows moving stored data from one Data Store Unit Group (DSG) to other DSGs. In case of the proper handling of origin and target DSGs, reallocation can also be used for higher level movements, such as moving data between nodes, sites, or geographical zones.

Refer to CUDB Data Distribution, Reference [1] for more information on data distribution within CUDB.

2.1   Prerequisites

This section is not applicable to this feature.

2.2   Architecture

This section is not applicable to this feature.

2.3   Description

The following subsections describe the following topics of the reallocation service in more detail:

2.3.1   Purpose of Reallocation

The following scenarios may require reallocation:

2.3.2   Logic of Reallocation

The reallocation process logic is based on the movement of Distribution Entry (DE) blocks, that is, on blocks of distributed data below a set of DEs, according to the DSG memory levels observed in the system to available and eligible DSGs. The memory level of a DSG is determined by the replica with the highest occupation. Specific destination DSG(s) can be disabled for provisioning of DEs, which means that it will not be eligible, before or during reallocation operation, and then reallocation will not be performed to such DSG(s) unless it is forced.

2.3.2.1   Reallocation of DE Blocks

Reallocation is performed on DE blocks, that is on blocks of distributed data below a set of DEs. Whenever a DE block is reallocated, the entries belonging to the DEs in the block are moved.

Each block states the maximum number of DEs whose distributed data can be moved in each reallocation iteration. Depending on the circumstances, the number of DEs whose distributed data can be moved are between 0 and the value of the reallocationBlock object, configured with the reallocationBlockSize parameter. In case there is any error with the distributed data of any of the DEs, the number of the DEs whose distributed data is moved is not a multiple of this parameter. See Section 3.1 for more information on configuring reallocation.

During reallocation, the DE blocks are locked while the block is moved, thus no update traffic is allowed on them. Block lockdown is indicated with LDAP fault code 80, with the Distribution entry is locked diagnostic message. Due to the block lockdown, the value of reallocationBlockSize must be chosen carefully: a lower value means lower DE lockdown time and less traffic failure, but also longer reallocation time; at the same time, a higher value results in faster reallocation, but also in more traffic failure and longer DE lockdown time.

During reallocation, the first block of the DEs is moved to the destination DSG. Subsequent DE blocks are then moved to the destination DSG as long as its memory level does not reach Stop level or if destination DSG is not disabled for provisioning of DEs in the meantime.

2.3.2.2   DSG Memory Levels

CUDB supports obtaining information on the absolute occupancy percentage and relative memory level of all DSGs in the system. The memory level of a DSG corresponds to the memory level of the most occupied replica. The possible results in the relative memory level are the following:

The DSG memory levels relevant to reallocation are as follows:

2.3.3   Reallocation Types

Depending on the purpose, reallocation can be executed in two different ways, as described in the following sections.

2.3.3.1   Reallocation by Moving a Specified Percentage of DS Entries from a Specific Source DSG

Reallocation can be executed between a specified source DSG and a specified destination DSG, or to any available and eligible destination DSGs by moving a specific percentage of the DS entries of the specified source DSG. The reallocation requirement is that the memory level of the destination DSG(s) must be below Eligible level and the destination DSG(s) must not be disabled for provisioning of DEs unless reallocation is forced to such DSG(s). Reallocation will then attempt to move the specified portion of DS entries of the specified source DSG to the specified destination DSG, or to any available and eligible destination DSGs (if none were specified as parameter).

In case any available and eligible DSGs are used, the system analyzes the occupancy level of the DSGs located in the same geographical zone as the source DSG before the reallocation. If no geographical zones are configured, the system analyzes the occupancy of all DSGs. The analysis produces a list of the DSGs whose occupancy level is below the Eligible threshold. The DSG with the lowest occupancy level on the list is then chosen as the first destination DSG.

Reallocation of the DE blocks between the source and destination DSG(s) stops if one of the following conditions are met:

The outcome of reallocation may be reported as follows:

2.3.3.2   Reallocation of a List of DS Entries to a Specific Destination DSG

Reallocation can also be executed by selecting a list of individual DS entries hosted either on the same or different DSG, then reallocating them to a specified destination DSG. The DSGs may be located either in the same or in a different geographical zone.

The destination DSG must not be disabled for provisioning of DEs, unless it is forced, and the occupancy of the destination DSG must be below the Warning memory level to execute this type of reallocation.

The list of DS entries is supplied in a file that contains the primary identity pointing to each DS entry to be reallocated (such as IMSI, MSISDN, and so on).

The outcome of reallocation may be reported as follows:

2.4   Dependencies and Interactions

This section describes the dependencies and interactions of the reallocation process towards other CUDB services.

2.4.1   LDAP Access

When reallocation is executed, affected DEs are locked while their distributed data is being moved. This prevents the modification or deletion of the distributed data entries below the DEs while reallocation is performed. Add, Modify, and Delete operations requested for locked DEs during the process are rejected with LDAP fault code 80.

When reallocation is executed to empty a DSG, it is recommended to block provisioning in the affected DSG before starting reallocation.

Refer to CUDB LDAP Data Access, Reference [2] for more information on Lightweight Directory Access Protocol (LDAP) access.

2.4.2   Reconciliation

Reallocation cannot be executed while reconciliation is ongoing. If reallocation is executed while reconciliation is running, the system returns an error.

Refer to CUDB Data Storage Handling, Reference [3] for more information on reallocation and reconciliation.

2.4.3   Backup

Although possible, execution of data backup is not recommended while reallocation is running. Backups are rather recommended to be executed after reallocation is completed.

Refer to CUDB Backup and Restore Procedures, Reference [4] for more information on backup and restore procedures.

2.4.4   Import/Export

Before executing an import/export operation, it is recommended to check that there is no reallocation in progress. Executing import/export operations during reallocation can lead to inconsistencies in the system.

Refer to CUDB Import and Export Procedures, Reference [5] for more information on import/export operations.

2.4.5   Software Upgrade

Reallocation can not be executed if a software upgrade is running. Likewise, software upgrades can not be initiated while a reallocation operation is running.

2.4.6   High Load in DS Alarm

Reallocation is a processing-intensive procedure that increases cluster load in the source and destination DSGs. If the affected clusters were already under load, the additional load caused by reallocation can result in raising the High Load in DS alarm.

2.4.7   Data Repair

Data Repair will fail for all distributed data entries below the reallocated DEs while reallocation is performed, similarly to LDAP access (see Section 2.4.1). The concerned entries will be recorded in the unrepaired log.

2.4.8   Data Storage

After executing reallocation, the report of memory occupation in source DSG cluster may not be accurate without subsequent defragmentation. Refer to the Running Defragmentation section of CUDB System Administrator Guide, Reference [6] for information on the defragmentation procedure.

3   Operation and Maintenance

This section provides operation and maintenance related information on reallocation.

3.1   Configuration

This section provides basic information on configuring reallocation-related settings.

3.1.1   Configuring Reallocation

Reallocation is initiated with the cudbReallocate command. The command applies globally to the CUDB system, and provides a set of options that allows to run different reallocation types. Refer to CUDB Node Commands and Parameters, Reference [7] for more information on cudbReallocate.

3.1.2   Configuring DSG Occupancy Levels

The following DSG occupancy level parameters can be configured during run time:

Note:  
The Full occupancy level is preconfigured by Ericsson personnel.

Modification of the occupancy levels does not affect already running operations, but takes effect for subsequent reallocation operations.

For further information on configuring occupancy levels, refer to CUDB Node Configuration Data Model Description, Reference [8].

3.2   Fault Management

This section is not applicable to this feature.

3.3   Performance Management

This section is not applicable to this feature.

3.4   Security

This section is not applicable to this feature.

3.5   Logging

During the processing of the cudbReallocate command, the following events are logged:

During the modification of the configuration, the following events can be logged:

Refer to CUDB Node Logging Events, Reference [9] for more details.


Glossary

For the terms, definitions, acronyms, and abbreviations used in this document, refer to CUDB Glossary of Terms and Acronyms, Reference [10].


Reference List

CUDB Documents
[1] CUDB Data Distribution.
[2] CUDB LDAP Data Access.
[3] CUDB Data Storage Handling.
[4] CUDB Backup and Restore Procedures.
[5] CUDB Import and Export Procedures.
[6] CUDB System Administrator Guide.
[7] CUDB Node Commands and Parameters.
[8] CUDB Node Configuration Data Model Description.
[9] CUDB Node Logging Events.
[10] CUDB Glossary of Terms and Acronyms.


Copyright

© Ericsson AB 2016, 2017. All rights reserved. No part of this document may be reproduced in any form without the written permission of the copyright owner.

Disclaimer

The contents of this document are subject to revision without notice due to continued progress in methodology, design and manufacturing. Ericsson shall have no liability for any error or damage of any kind resulting from the use of this document.

Trademark List
All trademarks mentioned herein are the property of their respective owners. These are shown in the document Trademark Information.

    CUDB Subscription Reallocation