7 Tools and Utilities

Overview

Introduction

This chapter explains the Oracle Communications Convergent Charging Controller Data Access Pack DAP tools and utilities that are available.

dapReadyCertificates.sh

Purpose

dapReadyCertificates.sh prepares the certificates located in the directory specified in the certificatePath parameter into the form required by openssl (by concatenating them into human-readable form and running c_rehash on them). dapReadyCertificates.sh concatenates the files into the file specified by the certificatesName parameter.

See Certificate Management for an overview of how certificates are handled.

Warning: The concatenated file is overwritten each time dapReadyCertificates.sh is run. To keep the existing file, move it to a directory other than the one specified by certificatePath, or rename it with a suffix other than .pem (otherwise it will be concatenated into the new file along with the other *.pem files in certificatePath).

Location

This binary is located on SLC and VWS nodes.

Configuration

dapReadyCertificates.sh accepts the following parameters from the DAP section of eserv.config:

  • certificatePath
  • certificatesName
  • openSSLPath

dapSchemaTool

Purpose

This tool is used to export existing ASPs and operations from one server (that is, a testing server) and import them to another server (that is, a production server).

Usage

Format

dapSchemaTool -E data|-I data -n name [-s operation_set_name]
[-f filename] -u db_user -p db_password [-c
TNS_connect_string]

Export example

/dapSchemaTool -E asponly -n abc -u SMF -p SMF -c
server_SMF

Import example

/dapSchemaTool -I operation -n xyz -f testOutput.txt -u SMF
-p SMF -c server_SMF

Arguments

This table describes the function of each command argument.

Argument Description
-E Export from database
-I Import to database
-n ASP, operation, or operation set name to export or import
-s Operation set name (optional, only required if the given operation name is not unique)
-f Filename for exported data (optional, required for importing, uses the standard output for exporting if not specified)
-u Oracle username of database to use
-p Oracle password of database to use
-c Oracle TNS connect string (optional, uses $ORACLE_SID to connect to the local database if not specified)
Data arguments for-E and -I options - one of these must be used
asponly Only the given ASP
asp The given ASP and all attached operations, as well as the operation set each operation belongs to, and all parameters each operation contains
operation The given operation, its parameters, and the associated ASP and the operation set (the associated operation set will be exported but will not be imported using this argument)
operationset The given operation set and its all operations, as well as the associated ASP and parameters of each operation