User Guide 2/1553-CSH 109 067/10 Uen J

CUDB Application Schema Update

Contents


1 Introduction

This document contains information on how to perform a schema update when a new application, a new function, or an extension requires new data to be stored in the Ericsson Centralized User Database (CUDB) system.

1.1 Document Purpose and Scope

When a new application, a new function, or an extension requires to store new data in the CUDB system, a schema update is necessary.

The schema update can consist of the addition of a new schema to the system or the modification of existing schemas that are already installed in the system, as well as the addition of new identities. Furthermore, newly-included Lightweight Directory Access Protocol (LDAP) attributes can require the definition of search indexes.

CUDB includes a Graphical User Interface (GUI) used to edit LDAP schema files in a user-friendly environment (refer to CUDB LDAP Schema Management Graphical User Interface for more information). However, the process of creating and updating LDAP schema files is out of the scope of this document.

The cudb.schema, internal_cudb.schema and core.schema updates are not in the scope of this document. Those schemas can only be updated during a software upgrade.

Note: The procedure described in this document is performed on node level. However, the procedure must be repeated on all nodes of the CUDB system.

Request Ericsson support to execute the procedures described in this document.

1.2 Target Group

This document is intended for system administrators operating CUDB systems.

1.3 Revision Information

Rev. A

Rev. B

Rev. C

Rev. D

Rev. E

Rev. F

Rev. G

Rev. H

Rev. J

Editorial changes.

1.4 Typographic Conventions

Typographic Conventions can be found in the following document:

2 Prerequisites

Before performing the procedure described in this document, make sure that CUDB is up and running properly without any of the following alarms raised:

Disable the following lines in crontab:

  • Application counters in the node with the master Processing Layer (PL) before the procedure, and if they are running, wait until they end.

  • Scheduled backup in all nodes before the procedure.

3 Limitations and Recommendations

Consider the following limitations and recommendations before performing the procedure described in this document:

  • All nodes in the CUDB system must be updated before any new configuration is used by the clients. If a new application is added, do not execute it until all nodes are updated.

  • When applying the new configuration in a node during the execution of the administrative operation applyConfig, certain clients can experience disconnections until the entire system is completely updated. These temporary disconnections cease when the execution of the operation ends. The execution time depends on the infrastructure on which CUDB runs.

  • LDAP Front End (FE) processes in the node are restarted one by one. The interval (in seconds) allowed between the LDAP FE process restarts is calculated as follows:

    185/(<value of the redundancyLevel parameter in class CudbLdapAccess> - 1)

    This interval ensures that each restarted process is fully operational before restarting another process.

  • The current connections of the LDAP FEs are dropped when the processes are restarted. The impacts of this disconnection can be decreased if the clients are deliberately redirected to other nodes, or if the affected client or clients are not prepared to retry operations.

4 Updating Existing Schemas

CUDB supports the update of the LDAP schemas in a live CUDB system.

Contact Ericsson support to update existing LDAP schemas.

5 Adding New Schemas

CUDB supports adding new schemas and removing existing schemas from a live CUDB system. The removal of existing LDAP schemas is also known as "rollback."

Contact Ericsson support to add or remove schemas in the CUDB system.

6 Definition of Search Indexes

To add new indexes for massive search optimization, update the ldapAttrIndexes attribute of the CudbLdapAccess class after the LDAP schemas have been updated (or new schemas were added). Refer to CUDB System Administrator Guide for further details and instructions.

Note: New indexes are allowed only on newly defined LDAP attributes.

Reference List