Installing and Configuring Oracle Database and Client PDF
Installing and Configuring Oracle Database and Client PDF
Table
Homeof/ Contents
Communications / Oracle Communications ASAP, Release 7.3
Oracle Communications ASAP Installation Guide
Pre-Production Checklist
For information about installing Oracle Database, see the Oracle Database installation documentation.
Index
Oracle recommends that the installation and configuration of Oracle Database be performed by an experienced Oracle Database Administrator
(DBA). In addition, some UNIX administrative skills are required to uncompress software, create users and groups, and similar tasks.
Feedback Download
Share to:
Downloading and Installing the Oracle Database Software
Oracle requires that you use the 64-bit Oracle database software.
https://support.oracle.com/CSP/ui/flash.html
3. In the Patch Name or Number field, enter 17694377 and click Search.
4. Select Patch 17694377: 12.1.0.2.0 PATCH SET FOR ORACLE DATABASE SERVER for the 64-bit version of your platform.
5. Click Download.
6. Click p17694377_121020_platform_1of8.zip and p17694377_121020_platform_2of8.zip for the database (where platform is the 64-bit
version of the operating system).
7. Install the database according to an Oracle database installation guide applicable to your installation requirements.
https://support.oracle.com/CSP/ui/flash.html
3. In the Patch Name or Number field, enter 17694377 and click Search.
4. Select Patch 17694377: 12.1.0.2.0 PATCH SET FOR ORACLE DATABASE SERVER for the 32-bit version of your platform (even if
your platform is 64-bit).
5. Click Download.
6. Click one of the following files for the Oracle database client:
7. Install the client according to the installation instructions in the downloaded ZIP file.
Note:
Oracle recommends using the Administrator Installation Type for your client.
Note:
Oracle Database defines NLS (National Language Support) values to set up language-specific databases. Ensure that the
Oracle Database server and the Oracle Database client use the same NLS_LANG settings. This improves performance
because there is no translation of character sets.
8. Run the Net Configuration Assistant (netca) and perform Local Net Service Name configuration, to ensure that the database client can
connect to your database server.
9. After you install Oracle Client 12.1.0.2, go to the Oracle_Client_Home/lib directory and add a libnnz11.so symbolic link:
cd Oracle_Client_Home/lib
ln -s libnnz12.so libnnz11.so
Note:
The ASAP installation will not work if you do not add libnnz11.so to the Oracle_Client_Home/lib directory of the Oracle 12c
client.
https://support.oracle.com/CSP/ui/flash.html
3. In the Patch Name or Number field, enter 13390677 and click Search.
4. Select Patch 13390677: 11.2.0.4.0 PATCH SET FOR ORACLE DATABASE SERVER for the 32-bit version of your platform (even if
your platform is 64-bit).
5. Click Download.
6. Click one of the following files for the Oracle database client:
7. Install the client according to the installation instructions in the downloaded ZIP file.
Note:
Oracle recommends using the Administrator Installation Type for your client.
Note:
Oracle Database defines NLS (National Language Support) values to set up language-specific databases. Ensure that the
Oracle Database server and the Oracle Database client use the same NLS_LANG settings. This improves performance
because there is no translation of character sets.
8. Run the Net Configuration Assistant (netca) and perform Local Net Service Name configuration, to ensure that the database client can
connect to your database server.
To install, create, and configure Oracle RAC or Single database instance for ASAP:
1. After installing the Oracle database and client, apply any appropriate software patches.
Note:
See "Patch Requirements" for the required software patches.
Some of the scripts that run with Oracle Database patch installation can take several hours to complete. Plan accordingly, and
ensure that all patch scripts run correctly to completion and return to the UNIX prompt.
Note:
Review and apply recommended database instance initialization parameters listed in "Configuring the Oracle Database
Initialization Parameters". Some default database initialization parameters must be configured for ASAP to run.
For an Oracle RAC database, follow the additional database connection recommendations described in "Configuring Oracle
RAC Database Connectivity."
3. Ensure that you have determined the database tablespace and Oracle Database Server configuration that you require. See "Configuring
the Oracle Database Connection Mode."
5. Create one or more ASAP tablespaces and redo log files. (Oracle recommends that your Oracle DBA create the ASAP tablespaces.)
For more information, see "Recommended Tablespace and Redo Log Sizes for ASAP" and "Creating Oracle Database Tablespaces,
Tablespace User, and Granting Permissions."
6. Switch to an Oracle Database admin account (for example, SYS) and execute the ora_system_procs.sh script to populate the common
PL/SQL functions used by multiple instances of ASAP.
Note:
The ASAP_src/asap_utils/ora_system_procs.sh script should not be run more than once against a single Oracle Database
server.
Large 16 GB -
The most secure way of modifying Oracle Database parameters, is to specify them on the SQL*PLUS command line, storing them in the spfile. This
way, each modification is parsed as you enter it and the parameters are correctly entered.
To show the value of a parameter in the spfile, and then change it, use the following procedure:
1. Start sqlplus.
3. Enter:
To show all parameters that start with certain characters, use a common abbreviation. For example, the following command shows all parameters
that start with DB.
Note:
Some parameters will not take effect until the database instance is stopped, and then restarted. The command startup force can
accomplish this.
Note:
Do not manually edit the spfile$ORACLE_SID.ora. Editing an spfile corrupts it. This can prevent you from starting an instance, or cause
an active instance to fail.
1. Start sqlplus.
Where password is the password for your sys database user account.
3. Enter:
1. Start sqlplus.
3. Enter:
File created.
Note:
You must configure the following parameters. However, the particular values you implement will depend on your chosen configuration.
PROCESSES =500 (small) 1000 (medium), 3000 (large with under 14 PROCESSES specifies the maximum number of operating system user
NEP server), and 5000 (large with over 14 NEP servers) processes that can simultaneously connect to Oracle Database. Its
value should allow for all background processes such as locks, job
queue processes, and parallel execution processes.
SESSIONS = 1600 This parameter sets the maximum number of connections to the Oracle
Database.
or up to 600 per online instance (production)
COMMIT_WAIT = 'WAIT' This parameter controls when the redo for a commit is flushed to the
redo logs.
Typically, all environments for testing can share the tablespaces. However, in Oracle Database you can distribute the ASAP components by
specifying different default tablespaces for each environment before installing the ASAP database definitions.
Some ASAP implementations may require a tablespace layout that differs from the layout recommended here. The ASAP administrator, in
conjunction with the Oracle DBA, can create any tablespace layout that is required.
Oracle recommends that tablespaces be created with the following default properties:
Size – as determined using the sizing information provided in "Recommended Tablespace and Redo Log Sizes for ASAP."
Storage Clause:
Initial 256 GB
Next 256 KB
Percent increase 0
Maxextents Unlimited
Note:
In development systems, a database can remains idle for longer than the default database connection time-out setting. This can cause the
database to terminate the connections to the ASAP servers generating the ORA-02396 event. This scenario can be avoided by setting the
database connection time-out parameter to a higher value.
This scenario is unlikely to occur in a production system.
To create the tablespaces, tablespace users, and grant permissions in the Oracle Database:
For example:
CREATE USER "ASAP_SYS" PROFILE "DEFAULT" IDENTIFIED BY "ASAP_SYS" DEFAULT TABLESPACE "ASAPDATA_TS" TEMPORARY
sqlplus -s Oracle_admin/Oracle_admin_pw@Oracle_SID
Where Oracle_admin and Oracle_admin_pw is an Oracle Database administration account and password and Oracle_SID is the Oracle
Database SID.
2. Create the users. In the example below, you would replace the ASAP_envID tags with the actual ASAP environment ID you want to use
when you install ASAP.
create user admASAP_envID identified by admASAP_envID default tablespace Tablespace_name temporary tablespac
grant connect, resource, unlimited tablespace to admASAP_envID ;
create user sarmASAP_envID identified by sarmASAP_envID default tablespace Tablespace_name temporary tablesp
grant connect, resource, unlimited tablespace to sarmASAP_envID ;
create user nepASAP_envID identified by nepASAP_envID default tablespace Tablespace_name temporary tablespac
grant connect, resource, unlimited tablespace to nepASAP_envID;
create user srpASAP_envID identified by srpASAP_envID default tablespace Tablespace_name temporary tablespac
grant connect, resource, unlimited tablespace to srpASAP_envID;
create user ctrlASAP_envID identified by ctrlASAP_envID default tablespace Tablespace_name temporary tablesp
grant connect, resource, unlimited tablespace to ctrlASAP_envID;
commit;
3. Record the actual names used in the table "Installing ASAP Using the GUI Installer."
To create the Oracle Database users using the ASAP sample create users script:
1. Download the ASAP installation software as described in "Downloading the ASAP Installation Files."
ENV_ID=env_id: Where env_id is the environment ID that you will use for your ASAP installation.
USER=db_user: Where db_user is database user with sufficient privileges to create new tablespace users.
PASSWORD=db_pw: Where db_pw is database password for the database user with sufficient privileges to create new
tablespace users.
If you use different user names, ensure that you supply the same names during the ASAP server installation.
Follow the recommendations in the Oracle RAC documentation and use cluster node Virtual IP Addresses (VIP) when configuring Oracle LOCAL
listeners (LOCAL_LISTENER). For more information on listener configuration and Oracle RAC installation, refer to the Oracle Real Application
Clusters Installation Guide and the Oracle Database Net Services Administrator's Guide.
1. Using a text editor, open TNSNAMES.ora file in the Oracle_Home/network/admin/ directory, where Oracle_Home is the directory in
which the Oracle database is installed.
Entry Description
For example:
DB_CONNECT=
(DESCRIPTION =
(ADDRESS_LIST =
(LOAD_BALANCE=NO)
(FAILOVER=TRUE)
(ADDRESS =
(PROTOCOL = TCP)
(HOST = test.system.com)
(PORT = 1521)
)
(ADDRESS =
(PROTOCOL = TCP)
(HOST = test.system.com)
(PORT = 1521)
)
)
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = TEST)
(FAILOVER_MODE=
(TYPE=select)
(METHOD=basic)
(RETRIES=30)
(DELAY=15)
)
)
)
3. Install ASAP.
4. Perform the post installation tasks described in "Configuring ASAP to Support TAF for Oracle RAC."
About Oracle Contact Us Legal Notices Terms of Use Your Privacy Rights | Cookie Preferences | Ad Choices
Copyright © 2005, 2017, Oracle and/or its affiliates. All rights reserved.