About this task
The AdvSetup/Oracle/ICM_shared_database*.dbt template helps you to create a
shared database. Use this DBCA template in the following scenarios:
- A merged table environment that will use IBM Records Manager and Content Manager Enterprise Edition Records Enabler for security.
- All Content Manager Enterprise Edition schemas
(library server and resource manager) in one database on one Oracle
server.
By default, this template predefines the following configurations:
- Sets Oracle initialization parameters to the minimum required
settings for all databases.
- Creates standard table spaces with default sizes and reusable
data files that can grow unbounded. By default, the table spaces are
locally managed with automatic segment space management. The templates
also configure automatic undo management. If you reduce the number
of table spaces to four or fewer, make sure to increase the size of
other table spaces to compensate. Never eliminate the SYSTEM, SYSAUX,
TEMP, or UNDOTBS1 table spaces, and never decrease any table space
sizes. By default, the library server and Content Manager Enterprise Edition Records Enabler administrator
users' default table space is ICMLFQ32. The default table space for
the resource manager is OBJPARTS. The default table space for IBM Records Manager is USERS, and cannot be
modified. The USERS table space cannot be renamed. For all users,
the default temporary table space is TEMP.
- Creates all database files in standard Oracle directories under
ORACLE_HOME and ORACLE_BASE.
- Enables Oracle Text.
- Runs the icmlsschemas.sql (library server), icmrmschema.sql (resource
manager), irmschema.sql (IBM Records Manager), and cmreschema.sql (Content Manager Enterprise Edition Records Enabler) scripts
to create all users with all required privileges. If the users already
exist, the script assigns the required privileges to them. The script
also sets the users' default table spaces, default temporary table
spaces, and default passwords of
password.
You can modify the sample DBCA templates if you maintain the
requirements and considerations noted in this section.
Important: If you change any default table space names in the
DBCA template, then remember to properly set the following values
in the Oracle DBCA
File Location Variables window:
- ICM_LS_DEFAULT_TBLSPC
- ICM_LS_TEMP_TBLSPC
- ICM_RM_DEFAULT_TBLSPC
- ICM_RM_TEMP_TBLSPC
- IRM_TEMP_TBLSPC
- CMRE_DEFAULT_TBLSPC
- CMRE_TEMP_TBLSPC
Note that
IBM Records Manager always
requires the USERS table space to be the default table space.
For
information about using DBCA, see the Oracle Database 2 Day DBA from
docs.oracle.com.
The following steps walk you through the creation
of an Content Manager Enterprise Edition shared database
using the DBCA template for guidance:
- Copy the DBCA templates from the Content Manager Enterprise Edition directory AdvSetup/Oracle to ORACLE_HOME/assistants/dbca/templates.
Recommendation: Copy the SQL scripts
to the same directory. Otherwise, you must specify their location
in the DBCA File Location Variables window for DBCA_TEMPLATE_PATH.
- Start the Oracle DBCA from the ORACLE_HOME/bin
directory. If you must start DBCA from any other directory, modify
the DBCA file location variable, CM_SCRIPTS_PATH, to the new relative
path where you copied the SQL scripts (for example, ORACLE_HOME/assistants/dbca/templates).
-
In the Operations window, select Create
a Database.
-
In the Select Database Deployment
Type window, select the ICM Library Server
template (ICM_Library_Server*).
This template will populate the rest of the DBCA pages with recommended default
values.
-
In the Database Identification window:
- Type a Global Database Name (for example,
icmnlsdb.us.ibm.com), and then write it in your Oracle
worksheet as the Oracle service name for both the library server and the
resource manager.
- Clear Create as Container
database.
-
In the Management Options window, if you
plan to use additional features, for example, if you select Configure
the Database with Enterprise Manager (EM), then make sure to increase
the job_queue_processes initialization parameter from the default
setting of 1.
Otherwise, database creation can fail. See
your Oracle documentation for more information on Oracle database
features requirements. The EM increases the table space sizes and
requires more memory, processor, and disk space overhead.
-
In the Database File Locations window, click File
Location Variables and change your passwords for the library
server administrative user (icmadmin), the library server connection
user (icmconct), and the resource manager administrative user (rmadmin).
Write the passwords in your Oracle configuration worksheet.
If
you change the name of the icmadmin, icmconct, or rmadmin user, write
the new name in your Oracle configuration worksheet.
-
In the Database Content window, clear the
features that you do not need.
Important: Do not remove the icmlsschemas.sql, icmrmschemas.sql, irmschema.sql, or
cmreschema.sql file from the Custom Scripts page. The shared
database template requires these scripts to create each schema with the proper
database privileges.
-
In the Initialization Parameters page, the
template sets the initialization parameters to the minimum requirements
for each schema. You can increase values for these parameters but
should not decrease them. If you enable additional Oracle database
features or plan to use the database with non-Content Manager Enterprise Edition applications, then you might
need to increase these settings. By default, the template is configured
to use Oracle automatic SGA memory management.
-
If you created a new dedicated listener, then verify that your listener alias
matches the one in the tnsnames.ora file by completing the
following steps in the Initialization Parameters window:
-
Click All Initialization Parameters.
-
Click Show Advanced Parameters.
-
In the LOCAL_LISTENER field, verify that the value
matches the listener alias that you defined in your
tnsnames.ora file. If you created a dedicated listener,
then specify that listener here. This alias should also correspond to the
listener port for the Content Manager Enterprise Edition database, for
example:
LISTENER_ECM =
(ADDRESS = (PROTOCOL = TCP)(HOST = myhost.mydomain.com)(PORT = 1522 ))
If your LOCAL_LISTENER value does not match the alias in the
tnsnames.ora file, then the Oracle PMON process will fail to
register the instance with the Oracle listener, and Content Manager Enterprise Edition will fail to connect to the database.
-
In the Initialization Parameters window,
the database character set specified on the Character sets
tab must be set to Unicode.
- Click the Memory tab. For Shared
Memory Management, click Automatic. Alternatively,
customize the Java Pool size to at least 120
MB.
-
In the Database Storage window, do not rename
the USERS or INDX table spaces. Otherwise, the Content Manager Enterprise Edition installation can fail.
-
Confirm your options and click Finish to
create the library server database.
If you receive the
following error, then verify that you set the COMPATIBLE parameter
to the correct Oracle version in your init.ora/spfile file: ORA-12916:
Cannot use default permanent table space with this release.
- In the DBCA Password Management window,
make sure that all Content Manager Enterprise Edition users
are unlocked, including the Oracle Text user CTXSYS. Make sure that
the CTXSYS password is unique from all other administrator passwords.