Académique Documents
Professionnel Documents
Culture Documents
Data Storages
Contents
1 Oracle Data Base 3
1.1 Oracle Overview 4
1.2 Oracle Architecture 6
1.3 Oracle Enterprise Manager (OEM) Database Control 23
1.4 Oracle Implementation in NetAct 25
1.5 Partition Management 38
1.6 Admin Tasks 43
1.7 Monitoring the database performance 46
1.8 Database Logging 49
1.9 Collecting Oracle Diagnostic Data with (RDA) 55
1.10 Oracle Documentation 56
2 LDAP 59
2.1 Overview 60
2.2 LDAP Implementation in NetAct 63
2.3 Directory Server Backups 70
2.4 Replication 71
2.5 Logging 73
3 Exercises 75
OS90522EN15GLA0
© Nokia Solutions and Networks 2015. 1
Data Storages
OS90522EN15GLA0
2
© Nokia Solutions and Networks 2015
Data Storages
OS90522EN15GLA0
© Nokia Solutions and Networks 2015. 3
Data Storages
OS90522EN15GLA0
4
© Nokia Solutions and Networks 2015
Data Storages
Oracle database
BANNER
-------------------------------------------------------------------
Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit
Production
PL/SQL Release 11.2.0.3.0 - Production
CORE 11.2.0.3.0 Production
TNS for Linux: Version 11.2.0.3.0 - Production
NLSRTL Version 11.2.0.3.0 - Production
Fig. 1
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
OS90522EN15GLA0
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
© Nokia Solutions and Networks 2015. 5
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Data Storages
OS90522EN15GLA0
6
© Nokia Solutions and Networks 2015
Data Storages
Oracle database
Architecture
Fig. 2
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
OS90522EN15GLA0
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
© Nokia Solutions and Networks 2015. 7
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Data Storages
Oracle instance
A database instance is a set of memory structures that manage database files. The instance
manages its associated data and serves the users of the database. Every running Oracle
database is associated with at least one Oracle database instance. Because an instance
exists in memory and a database exists on disk, an instance can exist without a database
and a database can exist without an instance.
In a single-instance, a database instance is associated with only one database at a time.
An Oracle Instance consists of two different sets of components:
The first component set is the set of background processes (PMON, SMON, RECO,
DBW0, LGWR, CKPT, D000 and others).
Each background process is a computer program.
These processes perform input/output and monitor other Oracle processes to provide good
performance and database reliability.
The second component set includes the memory structures that comprise the Oracle
instance. When an instance starts up, a memory structure called the System Global Area
(SGA) is allocated.
At this point the background processes also start.
TIP
The name of the NetAct instance is OSS.
Oracle database
An Oracle database consists of files.
database files (datafiles) that store the database information.
The control files contain information for controlling a single database instance, that is,
information on the structure of the database and the current state of the database. Control
files and their locations are listed in the initoss.ora file
The redo log files are used to recover the database in the event of application program
failures, instance failures and other minor failures.
The archived redo log files are used to recover the database if a disk fails.
The required parameter file that is used to specify parameters for configuring an Oracle
instance when it starts up.
The optional password file authenticates special users of the database – these are termed
privileged users and include database administrators.
Alert and Trace Log Files – these files store information about errors and actions taken that
affect the configuration of the database.
OS90522EN15GLA0
8
© Nokia Solutions and Networks 2015
Data Storages
The SGA is shared by the Oracle processes, which include server processes and
background processes, running on a single computer. The way in which Oracle processes
are associated with the SGA varies according to operating system.
A database instance includes background processes. Server processes, and the process
memory allocated in these processes, also exist in the instance. The instance continues to
function when server processes terminate.
TIP
You can query the V$SGASTAT view for information about SGA components.
The most important SGA components are the following:
OS90522EN15GLA0
© Nokia Solutions and Networks 2015. 9
Data Storages
Oracle in NetAct
Architecture: Database Instance
Fig. 3
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . OS90522EN15GLA0
. . . . .
10
. . . . . . . . . . . . . . . . . . . . . . . . . . . . © Nokia
. .Solutions
. .and.Networks
. . 2015
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Data Storages
Shared Pool
The shared pool caches various types of program data. For example, the shared pool stores
parsed SQL, PL/SQL code, system parameters, and data dictionary information. The shared
pool is involved in almost every operation that occurs in the database. For example, if a user
executes a SQL statement, then Oracle Database accesses the shared pool.
OS90522EN15GLA0
© Nokia Solutions and Networks 2015. 11
Data Storages
Fig. 4
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . OS90522EN15GLA0
. . . . .
12
. . . . . . . . . . . . . . . . . . . . . . . . . . . . © Nokia
. .Solutions
. .and.Networks
. . 2015
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Data Storages
Fig. 5
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
OS90522EN15GLA0
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
© Nokia Solutions and Networks 2015. 13
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Data Storages
Large Pool
The large pool is an optional memory area intended for memory allocations that are larger
than is appropriate for the shared pool. The large pool can provide large memory allocations
for the following:
UGA for the shared server and the Oracle XA interface (used where transactions interact
with multiple databases)
Message buffers used in the parallel execution of statements
Buffers for Recovery Manager (RMAN) I/O slaves
By allocating session memory from the large pool for shared SQL, the database avoids
performance overhead caused by shrinking the shared SQL cache. By allocating memory in
large buffers for RMAN operations, I/O server processes, and parallel buffers, the large pool
can satisfy large memory requests better than the shared pool.
Java Pool
The Java pool is an area of memory that stores all session-specific Java code and data
within the Java Virtual Machine (JVM). This memory includes Java objects that are migrated
to the Java session space at end-of-call.
Streams Pool
The Streams pool stores buffered queue messages and provide memory for Oracle Streams
capture processes and apply processes. The Streams pool is used exclusively by Oracle
Streams.
Fixed SGA
The fixed SGA is an internal housekeeping area. For example, the fixed SGA contains:
General information about the state of the database and the instance, which the background
processes need to access
Information communicated between processes, such as information about locks
OS90522EN15GLA0
14
© Nokia Solutions and Networks 2015
Data Storages
Large Pool
UGA
I/O Buffer Area
Request Queue Free Memory
Response Queue
UGA: This is memory that is associated with a user session, it can be found in the
PGA or SGA depending on whether you are connected to the database via shared
server or dedicated server.
Shared Server - the UGA will be in the SGA
Dedicated Server - the UGA will be in the PGA
1 © Nokia Solutions and Networks 2015
Fig. 6
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
OS90522EN15GLA0
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
© Nokia Solutions and Networks 2015. 15
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Data Storages
The file contains a protocol address that identifies the database. This address defines the
protocol the listener is listening on and any other protocol-specific information. For example,
the listener could be configured to listen at the following protocol address:
(DESCRIPTION=
(ADDRESS=(PROTOCOL=tcp)(HOST=mbdb) (PORT=1521)))
This example shows a TCP/IP protocol address that specifies the host computer of the
listener and a port number. The listener can listen for connection requests on network
interfaces with either IP version 4 (IPv4) or IP version 6 (IPv6) addresses.
The listener.ora file is automatically configured during installation, but you can reconfigure it
with Oracle Enterprise Manager Database Control.
Because the configuration parameters have default values, you can start and use a listener
without configuring it. This default listener is named LISTENER, supports no service names
on startup, and listens on the TCP/IP protocol address.
An Oracle database registers with the listener within a minute or so of starting up. The
service names, or the databases that they represent, to which the listener forwards client
requests, can be configured in the listener.ora file. This information can also be dynamically
registered with the listener. Dynamic registration of services and databases with the listener
is called service registration.
Service registration is performed by the process monitor (PMON) process—an instance
background process—of each database instance. Dynamic service registration does not
require modification of the listener.ora file.
OS90522EN15GLA0
16
© Nokia Solutions and Networks 2015
Data Storages
VM
VM hosting the DB WebSphere
Application Server
2
OSS Initializes path Connects FM ACCESS /
connection pool
1
Listener
DB
Creates Connects 3
Server User
User
process process
process
VM
GEP
Connects
DB Poller
Fig. 7
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
OS90522EN15GLA0
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
© Nokia Solutions and Networks 2015. 17
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Data Storages
OS90522EN15GLA0
18
© Nokia Solutions and Networks 2015
Data Storages
Oracle database
Architecture: listener configuration
The listener is the “ear” of the database. SQL*Net is the Oracle’s client / server
product that offers transparent connection from client tools to the database or
from one database to another.
Configuration File:
/opt/oracle/product/11gR2/network/admin/listener.ora
Fig. 8
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
OS90522EN15GLA0
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
© Nokia Solutions and Networks 2015. 19
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Data Storages
Oracle database
Architecture: listener configuration
[oracle@vm4 ~]$ cd
/opt/oracle/product/11gR2ps3/network/admin
[oracle@vm4 admin]$ more listener.ora listener.ora is used to configure Oracle
#
# LISTENER.ORA
Database Listeners (required to accept
LISTENER = remote connection requests).
(DESCRIPTION_LIST =
(DESCRIPTION = Listener configuration, consists of the
(ADDRESS_LIST = following elements:
(ADDRESS = (PROTOCOL = TCP)(HOST = db)(PORT =
1521)) • Name of the listener
) • Protocol addresses that the listener is
(ADDRESS_LIST = accepting connection requests on
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC))
) • Database services
)
)
SID_LIST_LISTENER =
(SID_LIST =
The tnsnames.ora file defines databases
(SID_DESC =
(SID_NAME = PLSExtProc) addresses for establishing connections to
(ORACLE_HOME = /opt/oracle/product/11gR2ps3) them
(PROGRAM = extproc)
)
Fig. 9
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . OS90522EN15GLA0
. . . . .
20
. . . . . . . . . . . . . . . . . . . . . . . . . . . . © Nokia
. .Solutions
. . and.Networks
. . 2015
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Data Storages
LOG_MODE
------------
ARCHIVELOG
OS90522EN15GLA0
© Nokia Solutions and Networks 2015. 21
Data Storages
0001
0001 0002
Archieved
Redo Log 0001 0002 0003
Files
Online
Redo Log 0001 0002 0003 0004
Files
time
1 © Nokia Solutions and Networks 2015
Fig. 10
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . OS90522EN15GLA0
. . . . .
22
. . . . . . . . . . . . . . . . . . . . . . . . . . . . © Nokia
. .Solutions
. . and.Networks
. . 2015
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Data Storages
To locate Oracle Enterprise Manager, run in the VM containinig the database the following
command:
# service oraem status
This will show e.g. release version and URL to manager web page, like:
https://machine.netact.operator.net:1158/em/console/aboutApplication
If service is not running, you can start it normally using service command.
# service oraem start
Please use rdr/rdr access to Oracle OEM.
[root@n83-vm04 etc]#
[root@n83-vm04 etc]# service oraem start
Unlocking Oracle Enterprise Manager accounts: [ OK ]
Starting Oracle Enterprise Manager (dbconsole): [ OK ]
[root@n83-vm04 etc]#
OS90522EN15GLA0
© Nokia Solutions and Networks 2015. 23
Data Storages
Fig. 11
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . OS90522EN15GLA0
. . . . .
24
. . . . . . . . . . . . . . . . . . . . . . . . . . . . © Nokia
. .Solutions
. .and.Networks
. . 2015
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Data Storages
OS90522EN15GLA0
© Nokia Solutions and Networks 2015. 25
Data Storages
The output lists the Service names and their states, the nodes being run are marked
Started.
To shut down the database and Oracle listener process, enter:
[root]# /opt/cpf/bin/smanager.pl stop service db
OS90522EN15GLA0
26
© Nokia Solutions and Networks 2015
Data Storages
Oracle database
Implementation in NetAct: Virtualization and High Availability
Fig. 12
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
OS90522EN15GLA0
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
© Nokia Solutions and Networks 2015. 27
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Data Storages
Parameters that affect capacity, such as the size of the SGA (these parameters are called
variable parameters)
e.g.
oss.__db_cache_size=10133438464
oss.__java_pool_size=67108864
oss.__large_pool_size=67108864
oss.__pga_aggregate_target=8120172544
oss.__sga_target=12146704384
oss.__shared_io_pool_size=0
oss.__shared_pool_size=1677721600
oss.__streams_pool_size=67108864
The configuration file initoss.ora contains information about the database parameters and
the locations of the control files and archive log files.
Spfiles are used for changing some parameters for the database initiation when the
database is running and there is no need to shut down or restart the database. Spfiles are
automatically created when the configuration file initoss.ora is read during the database
startup. The file spfileoss.ora is located in the directory
/opt/oracle/product/11gR2/dbs
OS90522EN15GLA0
28
© Nokia Solutions and Networks 2015
Data Storages
Oracle database
Implementation in NetAct: parameter file
The initoss.ora configuration file contains the information about the database
parameters and the locations of the control files and archive log files.
#############################################################################
#
# Copyright (c) 1991, 2001, 2002 by Oracle Corporation
#############################################################################
#
###########################################
# Database Identification
###########################################
db_domain=''
db_name='oss'
###########################################
# File Configuration
###########################################
control_files='/d/db/oradata/oss/control01.ctl','/d/db/oradata/oss/control02.ctl','/d/db/oradata/oss/control03.ctl'
local_listener='oss'
db_files=1000
###########################################
# New parameters added by oraini
###########################################
db_cache_size=2317346099
db_keep_cache_size=2317346099
1 © Nokia Solutions and Networks 2015
shared_pool_size=2317346099
sec_case_sensitive_logon=FALSE
db_recycle_cache_size=0
###########################################
Fig. 13
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
OS90522EN15GLA0
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
© Nokia Solutions and Networks 2015. 29
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Data Storages
The table below lists the contents of the NetAct database directories.
Path Contents
/opt/oracle $ORACLE_BASE
/opt/oracle/product/11gR2 $ORACLE_HOME
OS90522EN15GLA0
30
© Nokia Solutions and Networks 2015
Data Storages
/product $ORACLE_HOME
/11gR2
/dbs
/admin
/oss
/adump
/dpdump
/pfile
Fig. 14
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
OS90522EN15GLA0
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
© Nokia Solutions and Networks 2015. 31
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Data Storages
OS90522EN15GLA0
32
© Nokia Solutions and Networks 2015
Data Storages
Oracle in NetAct
Implementation in NetAct: Oracle Directories
vgredo: /d/db-redo
/d/db-redo
/oss
redo01.dbf
redo02.dbf
redo03.dbf
redo04.dbf
redo05.dbf
vgarc: /d/db/arc
/d/db/arc
/oss
1_14_650542706.dbf
1_15_650542706.dbf
1_16_650542706.dbf
1_17_650542706.dbf
...
1 © Nokia Solutions and Networks 2015
Fig. 15
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
OS90522EN15GLA0
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
© Nokia Solutions and Networks 2015. 33
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Data Storages
At installation each tablespace typically consists of one datafile and the datafiles
are autoextending.
1 © Nokia Solutions and Networks 2015
Fig. 16
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
OS90522EN15GLA0
34 . . . . . . . . . . . . . . . . . . . . . . . . . . . . © Nokia
. .Solutions
. .and.Networks
. . 2015
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Data Storages
The tablespace strategy in NetAct is for the initial extent to be large enough to keep from
allocating next extents if the volume of data is typical.
Notice how the initial extent for the fx_alarm table is 629 megabytes.
The extent management is typically managed by the system. Oracle will choose "optimal"
next extent sizes starting with 64KB. As the segment grows larger extent sizes will increase
to 1MB, 8MB, and eventually to 64MB. Notice how the next extent value is null, as Oracle
will dynamically change the extent size as the segment grows. In the past, the typical max
extents was 255, when the extent management was in the data dictionary. With locally
managed tablespaces, the max extents value is very large.
To keep from running out of space in a segment, the stragegy is for the segment extents to
be managed by the system, and the tablespaces to be locally managed. This means that the
segment may grow as necessary, without reaching max extents, and the tablespaces may
extend their datafiles as necessary. The only real constraint is to run out of disk space in the
db partition.
Almost all of the tablespaces in NetAct have autoextensible set to ‘YES’. This allows them to
grow as needed to prevent the segments from running out of space in the tablespace.
OS90522EN15GLA0
© Nokia Solutions and Networks 2015. 35
Data Storages
Example:
SQL> CREATE TABLESPACE SQLFM1_1
DATAFILE '/d/db/oradata/oss/nww/nwwcom/sqlfm1_1.dbf' SIZE 791 M
AUTOEXTEND ON NEXT 5 M MAXSIZE 8000 M
DEFAULT STORAGE (INITIAL 1 M NEXT 1 M MAXEXTENTS 510 PCTINCREASE
1);
Fig. 17
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . OS90522EN15GLA0
. . . . .
36
. . . . . . . . . . . . . . . . . . . . . . . . . . . . © Nokia
. .Solutions
. .and.Networks
. . 2015
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Data Storages
Oracle Database
Implementation in NetAct: Tablespaces and Datafiles - System components
/d/db/oradata
/oss
Fig. 18
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
OS90522EN15GLA0
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
© Nokia Solutions and Networks 2015. 37
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Data Storages
OS90522EN15GLA0
38
© Nokia Solutions and Networks 2015
Data Storages
Oracle Database
Partition Management: PM Tables and Alarm Table
You can check from database, which tables has been partitioned by
using the SQL command:
To see the actual partition names, you can use the command:
Fig. 19
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
OS90522EN15GLA0
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
© Nokia Solutions and Networks 2015. 39
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Data Storages
In the dbCrons virtual machine, the partitioning of the PM tables is configured in the “omc”
user crontab:
[omc@n83-vm26 ~]$ crontab -l
10 1 * * * /bin/bash -lc "pmpmgrmx.pl -a CGNEPM_\% -f" > /dev/null 2>&1 #
HOST=dbpkg ID=CGNEPM_PMPMGR
50 1 * * * /bin/bash -lc "pmpmgrmx.pl -a ICDCMD_\% -f" > /dev/null 2>&1 #
HOST=dbpkg ID=ICDCMD_PMPMGR
45 0 * * * /bin/bash -lc "pmpmgrmx.pl -a ICDIPP_\% -f" > /dev/null 2>&1 #
HOST=dbpkg ID=ICDIPP_PMPMGR
30 0 * * * /bin/bash -lc "pmpmgrmx.pl -a IMSBNG_\% -f" > /dev/null 2>&1 #
HOST=dbpkg ID=IMSBNG_PMPMGR
0 2 * * * /bin/bash -lc "pmpmgrmx.pl -a IMSCSF_\% -f" > /dev/null 2>&1 #
HOST=dbpkg ID=IMSCSF_PMPMGR
30 0 * * * /bin/bash -lc "pmpmgrmx.pl -a IMSDRA_\% -f" > /dev/null 2>&1 #
HOST=dbpkg ID=IMSDRA_PMPMGR
30 0 * * * /bin/bash -lc "pmpmgrmx.pl -a IMSHSS_\% -f" > /dev/null 2>&1 #
HOST=dbpkg ID=IMSHSS_PMPMGR
0 2 * * * /bin/bash -lc "pmpmgrmx.pl -a IMSTIA_\% -f" > /dev/null 2>&1 #
HOST=dbpkg ID=IMSTIA_PMPMGR
30 1 * * * /bin/bash -lc "pmpmgrmx.pl -a JMBCOM_\% -f" > /dev/null 2>&1 #
HOST=dbpkg ID=JMBCOM_PMPMGR
45 0 * * * /bin/bash -lc "pmpmgrmx.pl -a MADBRS_\% -f" > /dev/null 2>&1 #
HOST=dbpkg ID=MADBRS_PMPMGR
45 0 * * * /bin/bash -lc "pmpmgrmx.pl -a MADNHR_\% -f" > /dev/null 2>&1 #
HOST=dbpkg ID=MADNHR_PMPMGR
45 0 * * * /bin/bash -lc "pmpmgrmx.pl -a MADNTM_\% -f" > /dev/null 2>&1 #
HOST=dbpkg ID=MADNTM_PMPMGR
45 0 * * * /bin/bash -lc "pmpmgrmx.pl -a MADODC_\% -f" > /dev/null 2>&1 #
HOST=dbpkg ID=MADODC_PMPMGR
5 3 * * * /bin/bash -lc "pmpmgrmx.pl -a MADPKA_\% -f" > /dev/null 2>&1 #
HOST=dbpkg ID=MADPKA_PMPMGR
24 1 * * * /bin/bash -lc "pmpmgrmx.pl -a MOVMMS_\% -f" > /dev/null 2>&1 #
HOST=dbpkg ID=MOVMMS_PMPMGR
0 1 * * * /bin/bash -lc "pmpmgrmx.pl -a NOKBCU_\% -f" > /dev/null 2>&1 #
HOST=dbpkg ID=NOKBCU_PMPMGR
30 2 * * * /bin/bash -lc "pmpmgrmx.pl -a NOKBSC_\% -f" > /dev/null 2>&1 #
HOST=dbpkg ID=NOKBSC_PMPMGR
35 2 * * * /bin/bash -lc "pmpmgrmx.pl -a NOKBSR_\% -f" > /dev/null 2>&1 #
HOST=dbpkg ID=NOKBSR_PMPMGR
20 2 * * * /bin/bash -lc "pmpmgrmx.pl -a NOKCAM_\% -f" > /dev/null 2>&1 #
HOST=dbpkg ID=NOKCAM_PMPMGR
45 0 * * * /bin/bash -lc "pmpmgrmx.pl -a NOKDXA_\% -f" > /dev/null 2>&1 #
HOST=dbpkg ID=NOKDXA_PMPMGR
10 1 * * * /bin/bash -lc "pmpmgrmx.pl -a NOKFTO_\% -f" > /dev/null 2>&1 #
HOST=dbpkg ID=NOKFTO_PMPMGR
15 1 * * * /bin/bash -lc "pmpmgrmx.pl -a NOKIUM_\% -f" > /dev/null 2>&1 #
HOST=dbpkg ID=NOKIUM_PMPMGR
10 1 * * * /bin/bash -lc "pmpmgrmx.pl -a NOKIWW_\% -f" > /dev/null 2>&1 #
HOST=dbpkg ID=NOKIWW_PMPMGR
10 1 * * * /bin/bash -lc "pmpmgrmx.pl -a NOKLTE_\% -f" > /dev/null 2>&1 #
HOST=dbpkg ID=NOKLTE_PMPMGR
20 2 * * * /bin/bash -lc "pmpmgrmx.pl -a NOKMWW_\% -f" > /dev/null 2>&1 #
HOST=dbpkg ID=NOKMWW_PMPMGR
20 2 * * * /bin/bash -lc "pmpmgrmx.pl -a NOKOMW_\% -f" > /dev/null 2>&1 #
HOST=dbpkg ID=NOKOMW_PMPMGR
0 1 * * * /bin/bash -lc "pmpmgrmx.pl -a NOKRWW_\% -f" > /dev/null 2>&1 #
HOST=dbpkg ID=NOKRWW_PMPMGR
OS90522EN15GLA0
40
© Nokia Solutions and Networks 2015
Data Storages
OS90522EN15GLA0
© Nokia Solutions and Networks 2015. 41
Data Storages
OS90522EN15GLA0
42
© Nokia Solutions and Networks 2015
Data Storages
OS90522EN15GLA0
© Nokia Solutions and Networks 2015. 43
Data Storages
ora_vktm_oss The Virtual Keeper of time controls the wall-clock time and is used as
areference-time counter.
ora_lgwr_oss The Log Writer process (LGWR) writes data from the redo log buffers
to the redo log files on disk.
ora_ckpt_oss The Checkpoint process (CKPT) updates the headers of all data files to
record the details of the checkpoint.
OS90522EN15GLA0
44
© Nokia Solutions and Networks 2015
Data Storages
ora_s000_oss The Shared Server process picks up requests from a call request
queue, makes the calls to the database to resolve the request, and
then returns the results to a result queue.
ora_fbda_oss The Flashback Data Archiver process archives historical data for
tracked tables into the flashback data archives by storing a pre-image
of the rows into the flashback archive and keeping the metadata for
those rows.
ora_cjq0_oss The Job Queue process batches processing by running user jobs
within a scheduler service. Able to run a large number of concurrent
jobs, the coordinator process (CJQ0) will spawn job queue slaves
(Jnnn) to run the jobs.
ora_arcX_oss Copies the redo log files to the archival storage when they are full or an
online redo log switch occurs.
OS90522EN15GLA0
© Nokia Solutions and Networks 2015. 45
Data Storages
OS90522EN15GLA0
46
© Nokia Solutions and Networks 2015
Data Storages
OS90522EN15GLA0
© Nokia Solutions and Networks 2015. 47
Data Storages
TIP
The script is located in:
/opt/oss/bin/mdbcbo_analyse.sh
You can also manually check and rebuild indexes using the mdbind.sh script. It may be
necessary for you to check indexes in between cron executions, for example, if database
performance becomes slow or if index sizes increase significantly for no apparent reason.
During the rebuild operation, the existing index is temporarily locked, but the database
remains available.
TIP
The script is located in:
/opt/oss/NSN-dbsc_omdb/bin/mdbind.sh
OS90522EN15GLA0
48
© Nokia Solutions and Networks 2015
Data Storages
/opt/oracle/product/11gR2/rdbms/ audit/* The default location for the security audit files,
if the AUDIT_FILE_DEST parameter is not
specified.
OS90522EN15GLA0
© Nokia Solutions and Networks 2015. 49
Data Storages
OS90522EN15GLA0
50
© Nokia Solutions and Networks 2015
Data Storages
trace Background and server process trace files, SQL trace files, and
the text-formatted alert log
OS90522EN15GLA0
© Nokia Solutions and Networks 2015. 51
Data Storages
OS90522EN15GLA0
52
© Nokia Solutions and Networks 2015
Data Storages
Trace Files
Each server and background process can write to an associated trace file. Trace files are
updated periodically over the life of the process and can contain information on the process
environment, status, activities, and errors. In addition, when a process detects a critical error,
it writes information about the error to its trace file. The SQL trace facility also creates trace
files, which provide performance information on individual SQL statements. You can enable
SQL tracing for a session or an instance.
Trace file names are platform-dependent. Typically, database background process trace file
names contain the Oracle SID, the background process name, and the operating system
process number, while server process trace file names contain the Oracle SID, the string
"ora", and the operating system process number. The file extension is .trc. An example of a
server process trace file name is orcl_ora_344.trc. Trace files are sometimes accompanied
by corresponding trace map (.trm) files, which contain structural information about trace files
and are used for searching and navigation.
Dumps
A dump is a specific type of trace file. A dump is typically a one-time output of diagnostic data
in response to an event (such as an incident), whereas a trace tends to be continuous output
of diagnostic data. When an incident occurs, the database writes one or more dumps to the
incident directory created for the incident. Incident dumps also contain the incident number in
the file name.
Core Files
A core file contains a memory dump, in an all-binary, port-specific format. Core file names
include the string "core" and the operating system process ID. Core files are useful to Oracle
Support engineers only. Core files are not found on all platforms.
OS90522EN15GLA0
© Nokia Solutions and Networks 2015. 53
Data Storages
Oracle Database
Database Logging: ADR Directory Structure
User oracle:
/opt
$ORACLE_HOME
/oracle
/product
$DIAGNOSTIC_DEST
/11R2ps3
/log
The V$DIAG_INFO view lists all important ADR locations for the current Oracle
DB instance.
SQL> SELECT * FROM V$DIAG_INFO;
Fig. 20
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . OS90522EN15GLA0
. . . . .
54
. . . . . . . . . . . . . . . . . . . . . . . . . . . . © Nokia
. .Solutions
. .and.Networks
. . 2015
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Data Storages
Expected outcome
The result file of the diagnostics can be found in the $ORACLE_BASE/rda/output
directory.
OS90522EN15GLA0
© Nokia Solutions and Networks 2015. 55
Data Storages
OS90522EN15GLA0
56
© Nokia Solutions and Networks 2015
Data Storages
Oracle Database
Documentation
http://tahiti.oracle.com
Fig. 21
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
OS90522EN15GLA0
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
© Nokia Solutions and Networks 2015. 57
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Data Storages
OS90522EN15GLA0
58
© Nokia Solutions and Networks 2015
Data Storages
2 LDAP
OS90522EN15GLA0
© Nokia Solutions and Networks 2015. 59
Data Storages
2.1 Overview
The Lightweight Directory Access Protocol (LDAP) is a set of open protocols used to access
centrally stored information over a network. It is based on the X.500 standard for directory
sharing, but is less complex and resource-intensive. The X.500 standard is a directory that
contains hierarchical and categorized information, which could include information such as
names, addresses, and phone numbers.
Unlike relational databases, such as the NetAct Oracle database, the LDAP directories do
not have tables. They have branches, or containers, for storing objects. Objects are either
containers or end entities, that is, they are representations of schema definitions. Schema is
composed of attributes and object classes. Attributes in turn define components of objects,
whereas object classes define collections of attributes. The attributes, moreover, have
values.
Red Hat Directory Server (Directory Server) is a powerful and scalable distributed directory
server based on the industry-standard Lightweight Directory Access Protocol (LDAP).
A client starts an LDAP session by connecting to an LDAP server, called a Directory System
Agent (DSA), by default on TCP port 389. The client then sends an operation request to the
server, and the server sends responses in return. With some exceptions, the client does not
need to wait for a response before sending the next request, and the server may send the
responses in any order.
In NetAct, the LDAP directory is used for centralizing configuration data which is needed by
processes that are:
managing authorization data
performing user authentication to various network resources
OS90522EN15GLA0
60
© Nokia Solutions and Networks 2015
Data Storages
LDAP
Directory Server contents in NetAct
LDAP directory
e.g.
NetAct configuration
Authentication and
Authorization User data
Fig. 22
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
OS90522EN15GLA0
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
© Nokia Solutions and Networks 2015. 61
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Data Storages
Fig. 23
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . OS90522EN15GLA0
. . . . .
62
. . . . . . . . . . . . . . . . . . . . . . . . . . . . © Nokia
. .Solutions
. .and.Networks
. . 2015
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Data Storages
OS90522EN15GLA0
© Nokia Solutions and Networks 2015. 63
Data Storages
Fig. 24
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . OS90522EN15GLA0
. . . . .
64
. . . . . . . . . . . . . . . . . . . . . . . . . . . . © Nokia
. .Solutions
. .and.Networks
. . 2015
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Data Storages
LDAP
Users
Fig. 25
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
OS90522EN15GLA0
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
© Nokia Solutions and Networks 2015. 65
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Data Storages
When the dirsrv service is down, the operating system can still access LDAP user
information since there is a cache that is running on the client side. Caching is used to
reduce the network calls from the operating system to LDAP. The nslcd and nscd
processes are the LDAP daemons that perform local LDAP queries and name service
requests, respectively. These processes remain active even when the dirsrv service is
down.
• After changing the configuration or performing maintenance actions, make sure to start the
dirsrv service before setting the maintenance mode to off.
OS90522EN15GLA0
66
© Nokia Solutions and Networks 2015
Data Storages
LDAP
Checking the Status of the directory Servers
[root@n83-vm03 ~]# smanager.pl status Directory Server is
Status of NetAct an unstoppable (u)
DomainNode Service Status VirtualIP
Site: Local service
n83-vm03
netfs-n83-vm03 started standAlone
cpfnx2s-n83-vm03 started standAlone
OMAgentAF-n83-vm03 started standAlone
ssh-n83-vm03 started (u) standAlone
ntp-n83-vm03 started (u) standAlone
DNS-Master started (u) standAlone
dirsrv started (u) standAlone
tomcat_vcentplg started standAlone
n83-vm04
netfs-n83-vm04 started standAlone
cpfnx2s-n83-vm04 started standAlone
OMAgentAF-n83-vm04 started standAlone
ssh-n83-vm04 started (u) standAlone
ntp-n83-vm04 started (u) standAlone
db started standAlone
n83-vm05
cpfnx2s-n83-vm05 started standAlone
OMAgentAF-n83-vm05 started standAlone
ssh-n83-vm05 started (u) standAlone
ntp-n83-vm05 started (u) standAlone
nfs started (u) standAlone
1 © Nokia Solutions and Networks 2014
dirsrv-secondary started (u) standAlone
Fig. 26
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
OS90522EN15GLA0
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
© Nokia Solutions and Networks 2015. 67
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Data Storages
OS90522EN15GLA0
68
© Nokia Solutions and Networks 2015
Data Storages
LDAP
Accessing the Directory with GUI
Configuration root
Admin root
Fig. 27
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
OS90522EN15GLA0
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
© Nokia Solutions and Networks 2015. 69
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Data Storages
Backup directory:
/d/oss/global/var/dirsrv/backup
OS90522EN15GLA0
70
© Nokia Solutions and Networks 2015
Data Storages
2.4 Replication
Replication is the mechanism by which directory data is automatically copied from one
Directory Server to another. Updates of any kind — entry additions, modifications, or even
deletions — are automatically mirrored to other Directory Servers using replication.
The changelog (replication) database is kept in a separate environment than the main
database.
Every server maintains a changelog, a record of all changes that a supplier or hub needs to
send to its consumers. A changelog is a special kind of database that describes the
modifications that have occurred on a replica. The supplier server then replays these
modifications to the replicas stored on consumer servers or to other suppliers, in the case of
multi-master replication.
When an entry is modified, a change record describing the LDAP operation that was
performed is recorded in the changelog.
Directory Servers use replication agreements to define their replication configuration. A
replication agreement describes replication between one supplier and one consumer only.
The agreement is configured on the supplier server and must specify all required replication
information:
The database to be replicated.
The consumer server to which the data is pushed.
The days and times during which replication can occur.
The DN and credentials that the supplier server must use to bind (the replication
manager entry or supplier bind DN).
How the connection is secured (SSL, client authentication).
Any attributes that will not be replicated (fractional replication).
Manually initiating the replication from VM hosting the directory server to VM hosting the
secondary directory server is done by script:
# /opt/cpf/bin/cpfrhdsconf_init_replication.sh --manager=cn=Manager
--manager_password=<password> --basedn=dc=netact,dc=net --
destination=<FQDN VM secondary directory server>
OS90522EN15GLA0
© Nokia Solutions and Networks 2015. 71
Data Storages
LDAP
Directory Replication
VM dirsrv VM dirsrv-secondary
dirsrv dirsrv
Replication
manager
/var/lib/dirsrv/slapd-oss/changelogdb/
Fig. 28
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . OS90522EN15GLA0
. . . . .
72
. . . . . . . . . . . . . . . . . . . . . . . . . . . . © Nokia
. .Solutions
. .and.Networks
. . 2015
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Data Storages
2.5 Logging
All LDAP related logs are stored locally on each DS node at:
/var/log/dirsrv/slapd-oss
The access log contains information about connections, authentications, searches, additions,
modifications, and deletions. It also contains information about replication connections. For
performance reasons, the access log is buffered (written to disk asynchronously), so it may
take a few seconds for an operation to appear in the access log file. Disabling access log
buffering is not recommended, and can severely impact LDAP performance. Access log level
should not be adjusted, or it can severely impact LDAP performance.
OS90522EN15GLA0
© Nokia Solutions and Networks 2015. 73
Data Storages
LDAP
Logging
/var/log/dirsrv/slapd-oss
• Access log
Contains information about
Connections
Authentications
Searches
Additions
Modifications
Deletions
Replication connections
• Error log
• Audit log
• Rotation info
1 © Nokia Solutions and Networks 2015
Fig. 29
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . OS90522EN15GLA0
. . . . .
74
. . . . . . . . . . . . . . . . . . . . . . . . . . . . © Nokia
. .Solutions
. .and.Networks
. . 2015
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Data Storages
3 Exercises
OS90522EN15GLA0
© Nokia Solutions and Networks 2015. 75
Data Storages
Exercise 1
Title: Oracle database Architecture
Pre-requisite: none
Task
Please execute the following tasks and answer the related questions. Use the credentials
provided by your trainer to access the system.
Query
1. What is the purpose of an Oracle Server? What are the components of an Oracle
Server? Check the Oracle version installed on the system and write down the details for
it.
______________________________________________________________________
______________________________________________________________________
______________________________________________________________________
______________________________________________________________________
______________________________________________________________________
2. What is an Oracle Instance? Verify if the instance is running. Write the steps for this
task.
______________________________________________________________________
______________________________________________________________________
______________________________________________________________________
______________________________________________________________________
______________________________________________________________________
3. Is the database in online mode? How can you verify this information?
______________________________________________________________________
______________________________________________________________________
______________________________________________________________________
______________________________________________________________________
OS90522EN15GLA0
76
© Nokia Solutions and Networks 2015
Data Storages
4. Explore the Database with the Web based Oracle Enterprise Manager
a) Click on the Administration link. Which tables belong to SQLFM1_1 tablespace?
____________________________________________________________________
____________________________________________________________________
____________________________________________________________________
____________________________________________________________________
____________________________________________________________________
____________________________________________________________________
____________________________________________________________________
b) How can you find information about the allocation of datafiles to tablespaces? In the
case of the SQLFM1_1 tablespace, what is the size of the file?
____________________________________________________________________
____________________________________________________________________
____________________________________________________________________
____________________________________________________________________
____________________________________________________________________
____________________________________________________________________
c) Does the DBA have to take any action when the needed space for the tablespace
reaches or exceeds the file size? Explain your answer.
____________________________________________________________________
____________________________________________________________________
____________________________________________________________________
____________________________________________________________________
d) What is the file's current maximum size?
____________________________________________________________________
____________________________________________________________________
e) What are the default storage parameters for the tablespace SQLFM1_1?
____________________________________________________________________
____________________________________________________________________
____________________________________________________________________
____________________________________________________________________
____________________________________________________________________
____________________________________________________________________
____________________________________________________________________
OS90522EN15GLA0
© Nokia Solutions and Networks 2015. 77
Data Storages
Exercise 2
Title: Oracle Implementation in NetAct
Pre-requisite: none
Task
Please execute the following tasks and answer the related questions. Use the credentials
provided by your trainer to access the system.
Query
1. What is the strategy implemented to provide high availability in NetAct for the database?
Check that database is running. What commands you need for this task?
______________________________________________________________________
______________________________________________________________________
______________________________________________________________________
2. Check the file systems of the database. Log in the corresponding VM and check the
available diskspace for each. Explain the purpose of each file system and where to find
it.
______________________________________________________________________
______________________________________________________________________
______________________________________________________________________
______________________________________________________________________
OS90522EN15GLA0
78
© Nokia Solutions and Networks 2015
Data Storages
4. Run the following SQL script to check the destination folder of archieve of redo log files:
SQL> SELECT dest_name, status, destination FROM v$archive_dest;
______________________________________________________________________
______________________________________________________________________
______________________________________________________________________
______________________________________________________________________
OS90522EN15GLA0
© Nokia Solutions and Networks 2015. 79
Data Storages
Exercise 3
Title: Oracle Administrative Tasks, Troubleshooting and Logging
Pre-requisite: none
Task
Please execute the following tasks and answer the related questions. Use the credentials
provided by your trainer to access the system.
Query
1. Check if there are alarms related to the database in NetAct. How can you do this?
______________________________________________________________________
______________________________________________________________________
______________________________________________________________________
______________________________________________________________________
______________________________________________________________________
2. Check that all the necessary database processes are running. How can you do that?
______________________________________________________________________
______________________________________________________________________
______________________________________________________________________
______________________________________________________________________
3. Verify the location of the ADR home directory. Write down the commands required for
this task and the path for this directory.
______________________________________________________________________
______________________________________________________________________
______________________________________________________________________
______________________________________________________________________
______________________________________________________________________
______________________________________________________________________
OS90522EN15GLA0
80
© Nokia Solutions and Networks 2015
Data Storages
5. How many active alerts are there in the database? Use ADR to check this infomation
______________________________________________________________________
______________________________________________________________________
______________________________________________________________________
______________________________________________________________________
______________________________________________________________________
6. Collect diagnostic data for the Oracle database with the RDA tool. Check the output file.
______________________________________________________________________
______________________________________________________________________
______________________________________________________________________
______________________________________________________________________
______________________________________________________________________
______________________________________________________________________
______________________________________________________________________
______________________________________________________________________
______________________________________________________________________
OS90522EN15GLA0
© Nokia Solutions and Networks 2015. 81
Data Storages
Exercise 4
Title: LDAP
Pre-requisite: none
Task
Please execute the following tasks and answer the related questions. Use the credentials
provided by your trainer to access the system.
Query
1. What is the purpose of an LDAP database? What is the software installed in NetAct for
LDAP implementation?
______________________________________________________________________
______________________________________________________________________
______________________________________________________________________
______________________________________________________________________
______________________________________________________________________
______________________________________________________________________
______________________________________________________________________
______________________________________________________________________
______________________________________________________________________
2. Verify the status of the LDAP in the test system. How can you do this?
______________________________________________________________________
______________________________________________________________________
______________________________________________________________________
______________________________________________________________________
______________________________________________________________________
______________________________________________________________________
______________________________________________________________________
______________________________________________________________________
OS90522EN15GLA0
82
© Nokia Solutions and Networks 2015
Data Storages
4. Display the monitoring attributes for the Directory Server. List below some of the
statistics shown there.
______________________________________________________________________
______________________________________________________________________
______________________________________________________________________
______________________________________________________________________
______________________________________________________________________
______________________________________________________________________
______________________________________________________________________
______________________________________________________________________
______________________________________________________________________
______________________________________________________________________
____________________________________________________________________
5. Where can you find the logs of the LDAP database? Verify from the logs if the replication
has been successful during the last hours.
______________________________________________________________________
______________________________________________________________________
______________________________________________________________________
______________________________________________________________________
______________________________________________________________________
______________________________________________________________________
______________________________________________________________________
OS90522EN15GLA0
© Nokia Solutions and Networks 2015. 83
Data Storages
OS90522EN15GLA0
84
© Nokia Solutions and Networks 2015