Nortel Networks Standard MCP 1.1 FP1 (02.02) User manual

Category
Database software
Type
User manual

This manual is also suitable for

NN10031-111
Succession Multimedia Communications Portfolio
MCP Database Module
Basics
Standard MCP 1.1 FP1 (02.02) April 2003
3
Copyright © 2003, Nortel Networks MCP Database Module Basics
Nortel Networks Confidential
Overview
The Database Module uses the Oracle Enterprise Manager to
configure, administer, and monitor provisioned subscriber and
configuration data.
How this guide is organized
This document provides an overview of Database Module architecture,
including data replication and data transfer concepts. The following
principal tasks performed with the Database Module are also
documented.
Configuring the Oracle Enterprise Manger to perform backups,
observer accounts and email notification. See “Oracle Enterprise
Manager configuration” on page 7 and “Configuration
management” on page 43.
Administering backup and recovery of data, resolving replication
errors, resynchronizing databases, and managing disk space. See
“Database administration” on page 7 and “Security and
Administration” on page 69.
Monitoring faults related to backups, events, and replication jobs, as
well as monitoring alert logs and trace files and disk usage and
generating reports. See “Fault management” on page 8 and “Fault
management” on page 17.
Required hardware, software, tools and utilities, and OAM&P strategy
are explained later in this chapter. See “MCP hardware” on page 10.
Other Database Module concepts and tasks explained are
Upgrades: Maintenance upgrades required between major product
releases. See “Upgrades” on page 13.
Performance management: Where to observe logs and alarms and
how database failover works. See “Performance management” on
page 67.
4 Overview
NN10031-111 Standard MCP 1.1 FP1 (02.02) April 2003 Copyright © 2003, Nortel Networks
Nortel Networks Confidential
Architecture
As shown in Figure 1, the Database Module consists of Oracle Servers
having a primary database and a replicated secondary database
managed from the Oracle Enterprise Manager (OEM) Console. The
Oracle databases operate in replicated mode and applications and
components normally send and receive data directly to and from the
primary database.
Monitoring logs, alarms, and operational measurements, OEM login,
and maintenance updates are done from the System Management
Console.
Figure 1 Database Module architecture normal operation
Note: Nortel Networks recommends that you back up the database
daily whether it is a redundant configuration or not. If there is no
redundancy in the network, there is no replication process, so backup
of the data is even more important.
System
Management
Console
MCP
components
Overview 5
Copyright © 2003, Nortel Networks MCP Database Module Basics
Nortel Networks Confidential
For information about the communication protocols and interactions
between the Database Module and network components, see Figure 2,
“SQL over JDBC,” on page 11.
Each database includes replicated objects and non-replicated objects.
Tables are the only objects that are replicated. Non-replicated objects
include stored procedures, functions, and views.
Minimal, redundant, and variable server configurations are supported in
enterprise deployments. Redundant and variable configurations have
replicated databases. Minimal configurations have a single database.
Data replication
During normal operation, applications send data to the primary
database, which is then stored in tables. The Oracle Server uses a
process called master-master data replication to constantly transfer
changed data from the primary database to the secondary database.
See “Data transfer” on page 7.
Consequently, in the unlikely event of failure of the primary database,
the secondary database should always contain a copy of the data. See
“Fault management” on page 8.
For applications, the secondary database operates in limited write
mode only, which means that it is read only except for registrations. See
Table 1, “Database operational states,” on page 6 and “Fault
management” on page 17.
The Database Module replication environment has the states of
operation identified in Table 1, “Database operational states,” on
page 6. The primary database ordinarily operates in the normal state,
ATTENTION
Database Module deployment creates or updates both replicated
objects (database tables) and non-replicated objects (stored
procedures, functions, and views) on both databases.
6 Overview
NN10031-111 Standard MCP 1.1 FP1 (02.02) April 2003 Copyright © 2003, Nortel Networks
Nortel Networks Confidential
while the secondary database operates in a limited write state at all
times.
Table 1 Database operational states
Database states Description
Normal
(Primary database)
Fully writable for applications. Inserts,
updates, or deletions are permitted to the
primary database. The Oracle Server
continuously transfers changed data to the
secondary database.
Limited write
(Secondary
database)
Read only for applications with the
exception of registrations (inserts, updates,
or deletions).
In the unlikely event of failure of the primary
database, applications failover to the
secondary database. During failover,
applications can read and have limited write
access to the secondary database. The
failover state continues only until the primary
database returns to service.
Note: The secondary database operates in
a limited write state for applications but is
always fully writable for Oracle replication
processes.
Quiesced
(maintenance mode)
No writes are permitted to either database.
When the database is quiesced,
applications can only query the database
and cannot insert, update, or delete
database records.
Replicated databases automatically enter
this state whenever changes are being
made to the replication environment,
including modifying replication objects and
synchronizing the two databases.
Overview 7
Copyright © 2003, Nortel Networks MCP Database Module Basics
Nortel Networks Confidential
Data transfer
When data transactions occur, updates to the primary database are
queued for transfer to the secondary database. Similarly, changes
made to the secondary database are queued for transfer to the primary
database. See “Database failover” on page 19.
The data transfer process between the primary and secondary
databases is managed by push and purge jobs, described as follows:
Push jobs: When push jobs execute, they reassign all transactions
in the queue to the other master site. Push jobs are scheduled every
30 seconds.
Purge jobs: When purge jobs execute, they purge or delete all
transactions in the queue that have been transferred to the other
master site. Purge jobs are scheduled every 10 minutes.
Note: The frequency of push and purge jobs is based on optimal
values established during testing.
Oracle Enterprise Manager configuration
Oracle Enterprise Manager (OEM) configuration is done from the OEM
Console. Tasks include OEM Console login, configuring the databases
for backups, configuring the SYSMAN user to receive email
notifications, and configuring OBSERVER accounts. See
“Configuration management” on page 43.
Configuration is performed during installation after the Database
Module has been deployed. See “Application database connection
configuration” on page 57.
Database administration
Database Module administration consists of backup, recovery,
resynchronization, and disk space management. See “Security and
Administration” on page 69.
Database backups
In addition to the redundancy provided by Oracle replication explained
earlier in this chapter, the Database Module supports taking backups
using the OEM Console.
The export backup method is recommended over Recovery Manager
(RMAN) backups.
For details, see “Database backups” on page 71.
8 Overview
NN10031-111 Standard MCP 1.1 FP1 (02.02) April 2003 Copyright © 2003, Nortel Networks
Nortel Networks Confidential
Database recovery
Recovery restores a database to its original state after a failure. See
“Database recovery” on page 84.
Manage replication transaction errors
The OEM Console provides tools for resolving replication errors, should
they occur. Replication errors can result from a lack of available space
in a table targeted for an update or other unresolved replication
conflicts.
For additional information, see “Resolving replication errors” on
page 89.
Resynchronization
Replicated databases should always be in synchronization. In the
unlikely event that changes made to one database are not successfully
propagated to the other, the two databases become out of
synchronization and must be manually resynchronized. See
“Resynchronization” on page 92.
Disk space management
A script called optimize_dbspace drops and recreates Database
Module indexes to reduce disk space usage. See “Disk space
management” on page 93.
Fault management
Use the OEM Console to monitor and respond to Database Module
faults in the categories listed in this section. Note the recommended
frequency for each task.
Replication: Replication jobs ensure that the primary and
secondary databases remain synchronized.
Therefore it is critical that you use the OEM Console to monitor
replication jobs once every 24 hours to ensure the databases
remain synchronized.
See “Monitor replication jobs” on page 27 and “Resolving replication
errors” on page 89.
Backups: Once backup jobs have been scheduled using the Oracle
Enterprise Manager (OEM) Console, the system backs up the
database at predefined periods and sends a status email to the
operator.
It is recommended that you monitor backup status to ensure the
backup was successful. See “Monitoring backups” on page 20.
Overview 9
Copyright © 2003, Nortel Networks MCP Database Module Basics
Nortel Networks Confidential
Events: Database events are processed by the Oracle Enterprise
Manager and alerts are generated when specified error thresholds
are reached. Monitor events as required and respond to alerts as
appropriate. See “Event monitoring” on page 23.
Alert logs and trace files: When an Oracle process detects an
internal error, it dumps information about the error into a trace file.
Each Database Module also has an alert file. The alert file is a
chronological log of messages and errors, such as all internal
errors, block corruption errors, and deadlock errors. See “Alert log
and trace file monitoring” on page 35.
Tablespaces: Nortel Networks recommends that you regularly
monitor tablespaces and ensure that they do not run out of disk
space.
To monitor tablespace sizes and disk space usage or set thresholds
for generating alert logs and trace files, use either the System
Management Console (Oracle Monitor Application) or the OEM
Console.
Reports: The OEM Console can generate reports about
configuration, status, events, and backup jobs as required. See
“Reports” on page 37.
Oracle Monitoring Application: See “Tools and utilities” on
page 10.
Failover
Failover occurs when an application identifies a problem with the
primary database. During a failover, applications begin using the
secondary database. Because the two databases are replicated, they
contain consistent data and the query information is automatically
supplied from the secondary database. See “Fault management” on
page 17.
Security
The Database Module uses Oracle database technology to ensure
confidentiality, integrity, and availability of data. The Database Module
is also protected by user authentication and network firewalls
configured in a network architecture.
For additional information, see MCP Basics and “Security” on page 95.
10 Overview
NN10031-111 Standard MCP 1.1 FP1 (02.02) April 2003 Copyright © 2003, Nortel Networks
Nortel Networks Confidential
MCP hardware
The Database Module is deployed on a pair of Sun Netra t1400/1405s
servers configured in an Oracle master-master replication mode for
redundancy.
Note: Minimal configurations use a single database, and thus only
one server is required.
Tools and utilities
The following tools are used to configure and maintain the Database
Module:
System Management Console: Launches the OEM Console and
Oracle Monitoring Application. Provides log and alarm information.
For details, see MCP System Management Console Basics.
Oracle Enterprise Manager (OEM) Console: Used by the
database administrator for backup and recovery and database fault
management.
For details, see “Security and Administration” on page 69 and “Fault
management” on page 17.
Oracle Monitoring Application: Gathers operational status of the
database and sends alarms and operational measurements (OMs)
to the System Management Console. The tool uses Oracle SNMP
agents to gather information about disk and tablespace utilization,
and other information.
For details, see “The Oracle Monitor component” on page 41.
Hardware Details
Primary and Secondary
Database servers
Sun Netra t 1400 or Sun Netra t 1405
with the following hardware features:
- 4 440 Mhz CPUs
- 4 GB RAM
- 4 36.4-GB hard disks
- 10x Internal DVD-ROM drive
- 20-GB 4mm DDS-4 Internal tape
drive
- 1 Quad Fast Ethernet (QFE) PCI card
- 1400 server is DC powered; 1405
server is AC powered
Overview 11
Copyright © 2003, Nortel Networks MCP Database Module Basics
Nortel Networks Confidential
Network interfaces and protocols
User interfaces which access the Database Module are:
SQL over JDBC: The Database Module communicates with
network components using Structured Query Language (SQL) over
Java Database Connection (JDBC). See Figure 2, “SQL over
JDBC,” on page 11 and Figure 1, “Database Module architecture
normal operation,” on page 4.
As shown in Figure 2, all communication between applications and
the Database is by SQL over JDBC.
Note: The SIP Audio Server connects to the Database Module
during initialization only. There is no interaction between the SIP
Audio Server and Database Module after initialization.
Figure 2 SQL over JDBC
SNMP: The Oracle Monitoring Application uses a Simple Network
Management Protocol (SNMP) agent running on the Database
Module to gather database state information.
Note: The OracleMonitor is a software application
designed/implemented by Nortel Networks and deployed from
12 Overview
NN10031-111 Standard MCP 1.1 FP1 (02.02) April 2003 Copyright © 2003, Nortel Networks
Nortel Networks Confidential
the System Management Console. The OracleMonitor extracts
(using SNMP gets and SQL queries) information concerning the
health of the database. This information is then transformed into
alarms/logs/OMs, allowing the data to be viewed from the System
Management Console Alarm/Log/OM browsers.
OAM&P strategy
Offline data migration between releases and maintenance updates are
supported. See “Upgrades” on page 13.
Database backup, recovery, and resynchronization are also supported.
See “Security and Administration” on page 69.
Legal note
All basic operations of the Oracle programs which are embedded in this
Nortel Networks application, including but not limited to database
management operations, must be managed from within this
application.
13
Copyright © 2003, Nortel Networks MCP Database Module Basics
Nortel Networks Confidential
Upgrades
Strategy
The following deployment tasks related to the Database Module are
performed by your next level of support:
Adds and configures the server(s) hosting the Database Module
Installs Oracle
Deploys the Database Module software onto the server(s)
Offline migration
Off-line migration of data between releases enables upgrading the
Database Module from one release to the next without loss of data.
Once the Database Module is upgraded to a new release, it can be
updated or reverted to previous maintenance releases.
Prior to an upgrade, the system automatically creates a backup of the
existing database, assigning a backup name that contains the release
name. That backup is then available if necessary to restore the
database to an earlier release.
Task flows
Refer to Table 2, “Upgrade task flows” for a list of upgrade procedures
contained in this section.
Table 2 Upgrade task flows
Topic Sub-topic Procedure
“Database Module
updates”
Deployment “Updating a Database
Module” on page 14
Reverting “Reverting to a previous
version of the database”
on page 15
14 Upgrades
NN10031-111 Standard MCP 1.1 FP1 (02.02) April 2003 Copyright © 2003, Nortel Networks
Nortel Networks Confidential
Tools and utilities
Database Module maintenance updates are deployed from the System
Management Console. For details, see MCP System Management
Console Basics.
Database Module updates
Database Module maintenance updates include database schema
files, stored procedures, and backup and recovery scripts. Full
upgrades are done by your next level of support.
Maintenance updates can be done as explained in the following
procedure.
Updating a Database Module
From the System Management Console
1 In the System tree, right-click the database version to be
updated as shown.
2 From the flyout menu, click Update.
The Load List dialog box opens with list of available
maintenance releases.
3 Select the required database version and click OK to install it.
The deployment tool copies the appropriate database scripts
onto the database server.
Upgrades 15
Copyright © 2003, Nortel Networks MCP Database Module Basics
Nortel Networks Confidential
Reverting to a previous version of the database
If you want to revert to a previous version of the database, you must
redeploy a previous version of the database over the current database.
In such a scenario, the user is first prompted to confirm that they want
to revert to a previous version of the database. The user is then warned
that doing so removes data gathered since the previous update. An
older version of the database is then restored. See “Database backups”
on page 71.
Undeploying a database
A database should never be undeployed. As explained in the previous
section, if you need to revert to a previous version of the database, you
must redeploy a previous version.
CAUTION
When the database is replaced by a backup, any
newly provisioned subscriber or configuration data is
lost. The restored data will be exactly as it was before
the newer release was deployed.
Contact your next level of support for assistance prior
to reverting the database to a previous version.
16 Upgrades
NN10031-111 Standard MCP 1.1 FP1 (02.02) April 2003 Copyright © 2003, Nortel Networks
Nortel Networks Confidential
17
Copyright © 2003, Nortel Networks MCP Database Module Basics
Nortel Networks Confidential
Fault management
Strategy
Database Module fault management consists of monitoring and
responding to logs and alarms from the Oracle Enterprise Manager
(OEM) Console and the System Management Console. See MCP
System Management Console Basics.
The Database Module is built on an Oracle database and provides high
availability using Oracle Replication to a secondary database on a
separate server. As updates are applied to the primary database, they
are transferred to the secondary (replicated) database.
To provide additional redundancy, databases should be backed up on
a regular basis. For backup and recovery procedures, see “Security
and Administration” on page 69.
CAUTION
Nortel Networks recommends that the primary and
secondary databases and external backup media be
maintained in separate geographic locations to
prevent data loss in case of natural disaster, security
breech, or other unforeseen event.
18 Fault management
NN10031-111 Standard MCP 1.1 FP1 (02.02) April 2003 Copyright © 2003, Nortel Networks
Nortel Networks Confidential
Task flows
Table 3 outlines Database Module performance management tasks.
Table 3 Performance management task flows
Topic Subtopic Procedure
Database
monitoring
Backups “Monitoring backups”
on page 20
Events “Monitoring events”
on page 24
Replication “Monitoring
replication” on
page 28
“Monitoring
registration
deletions” on
page 31
Alert logs and trace
files
“Monitoring alert logs
and trace files” on
page 35
Disk usage “Monitoring disk
usage” on page 36
Alarm monitoring “Monitoring alarms
on page 34
Reports “Generating reports”
on page 37
Oracle Monitoring
Application
“Querying or
modifying Oracle
Monitor configuration
properties” on
page 59
Fault management 19
Copyright © 2003, Nortel Networks MCP Database Module Basics
Nortel Networks Confidential
Tools and utilities
Use the following tools to perform Database Module fault monitoring
tasks:
Oracle Enterprise Manager (OEM) Console: Used by the database
administrator for backup and recovery and database fault
management.
For details, see “Security and Administration” on page 69.
System Management Console: Launches the OEM Console and
Oracle Monitoring Application. Provides log and alarm information.
For details, see MCP System Management Console Basics.
Oracle Monitoring Application: Gathers operational status of the
database and sends alarms and operational measurements (OMs)
to the System Management Console. The tool uses Oracle SNMP
agents to gather information about disk and tablespace utilization,
and other information.
For details, see “The Oracle Monitor component” on page 41.
Database failover
In the unlikely event of a failure of the primary database, application
queries are redirected to, that is, “failover” to the secondary database.
During a failover only registration data can be written to the secondary
database and application components periodically attempt to access
the primary database. Once the primary database returns to service, all
data processing reverts to the primary database.
All applications access and update data via request/response
transactions. If the primary database does not respond to a request, the
initiator of the request does the following:
Raises an alarm indicating a problem with the database
Switches over to the secondary database and reinitiates the request
For information about database backup and recovery,
resynchronization, replication, and optimization, see “Security and
Administration” on page 69.
ATTENTION
A minor alarm is raised when applications are connected to the
primary database and the connection to the secondary database
fails.
20 Fault management
NN10031-111 Standard MCP 1.1 FP1 (02.02) April 2003 Copyright © 2003, Nortel Networks
Nortel Networks Confidential
Database monitoring from the Oracle Enterprise Manager Console
To launch the OEM Console, see “Logging in to the OEM Console” on
page 45.
Monitoring backups
When a database backup starts, an email is sent to the administrator.
Another email is sent when the job completes. The status of completion
of the job is included in that email.
In addition to email notification, the administrator can view the output
log of the backup job, as explained in “Monitoring events” on page 24.
Also use this procedure to debug failed database backup jobs.
For login instructions, see “OEM Console login” on page 45.
From the OEM Console
1 From the Network tree, select Jobs.
The Jobs > Active pane displays the list of active backup jobs
that have been scheduled.
2 Select the History tab.
The Jobs > History pane shows the list of completed jobs.
  • Page 1 1
  • Page 2 2
  • Page 3 3
  • Page 4 4
  • Page 5 5
  • Page 6 6
  • Page 7 7
  • Page 8 8
  • Page 9 9
  • Page 10 10
  • Page 11 11
  • Page 12 12
  • Page 13 13
  • Page 14 14
  • Page 15 15
  • Page 16 16
  • Page 17 17
  • Page 18 18
  • Page 19 19
  • Page 20 20
  • Page 21 21
  • Page 22 22
  • Page 23 23
  • Page 24 24
  • Page 25 25
  • Page 26 26
  • Page 27 27
  • Page 28 28
  • Page 29 29
  • Page 30 30
  • Page 31 31
  • Page 32 32
  • Page 33 33
  • Page 34 34
  • Page 35 35
  • Page 36 36
  • Page 37 37
  • Page 38 38
  • Page 39 39
  • Page 40 40
  • Page 41 41
  • Page 42 42
  • Page 43 43
  • Page 44 44
  • Page 45 45
  • Page 46 46
  • Page 47 47
  • Page 48 48
  • Page 49 49
  • Page 50 50
  • Page 51 51
  • Page 52 52
  • Page 53 53
  • Page 54 54
  • Page 55 55
  • Page 56 56
  • Page 57 57
  • Page 58 58
  • Page 59 59
  • Page 60 60
  • Page 61 61
  • Page 62 62
  • Page 63 63
  • Page 64 64
  • Page 65 65
  • Page 66 66
  • Page 67 67
  • Page 68 68
  • Page 69 69
  • Page 70 70
  • Page 71 71
  • Page 72 72
  • Page 73 73
  • Page 74 74
  • Page 75 75
  • Page 76 76
  • Page 77 77
  • Page 78 78
  • Page 79 79
  • Page 80 80
  • Page 81 81
  • Page 82 82
  • Page 83 83
  • Page 84 84
  • Page 85 85
  • Page 86 86
  • Page 87 87
  • Page 88 88
  • Page 89 89
  • Page 90 90
  • Page 91 91
  • Page 92 92
  • Page 93 93
  • Page 94 94
  • Page 95 95
  • Page 96 96

Nortel Networks Standard MCP 1.1 FP1 (02.02) User manual

Category
Database software
Type
User manual
This manual is also suitable for

Ask a question and I''ll find the answer in the document

Finding information in a document is now easier with AI