EBS R12 -Administration
for 19c Version
· Oracle 19c is certified with 12.2 version
·
Minimum Certified version for 19c Database is
19.3
·
New concept of Multitenant introduced with
19c
CDB (Container Database) Architecture
Database 19c are now certified with CDB (Container
Database)
- ·
A CDB with one PDB (single tenant) is
currently the only certified deployment for Oracle E-Business Suite with
Database 19c.
- ·
A CDB with multiple PDBs (multitenant) is not
currently certified for Oracle E-Business Suite.
- ·
A non-CDB architecture is not planned to be
certified or supported for EBS with Database 19c.
- ·
Upgrade to Database 19c, you will convert
your EBS database to the CDB architecture with a single pluggable database
(PDB) i.e EBS database.
- ·
In EBS 19c database, it contains two
environment files one for CDB and the other one for PDB and one Context file.
The CONTEXT_FILE points to PDB database. when we source the PDB environment
then only we can find the database CONTEXT_FILE.
- ·
All EBS specific tasks on the database side
should be performed only on EBS instance, which is Pluggable database (PDB) in
this case. Also, EBS specific database initialization parameters must be
updated only in the pluggable database (EBS_PDB).
Database Tier Environment Sourcing:
·
CDB -
<EBS CDB>_<hostname>.env
·
PDB -
<EBS PDB>_<hostname>.env
1) How to source and connect the Oracle E-Business Suite CDB environment as SYSDBA?
Oracle E-Business Suite database CDB environment files are located in the
database ORACLE_HOME.
Run the following commands to connect the CDB database
$ cd $ORACLE_HOME
$ source <CDB_NAME>_<NODE_NAME>.env
$ sqlplus "/ as sysdba"
2) How to start the CDB that hosts the Oracle E-Business suite
PDB?
Run the following commands to start the CDB
$ source <CDB_NAME>.<NODE_NAME>.env
$ sqlplus "/ as sysdba"
SQL> startup;
3) How to shutdown the CDB that hosts the Oracle E-Business
suite PDB?
Run the following commands to shutdown CDB database
$ source <CDB_NAME>_<NODE_NAME>.env
$ sqlplus "/ as sysdba"
SQL> shutdown normal;
Two scripts
introduced in EBS Database 19c to start and stop the CDB database and listener.
·
adcdbctl.sh
·
adcdblnctl.sh
4) How to source and connect the Oracle E-Business Suite
PDB environment as SYSDBA?
Run the following commands to connect the EBS PDB database
$ source <CDB_NAME>_<NODE_NAME>.env
$ export ORACLE_PDB_SID=<PDB NAME>
$ sqlplus "/ as sysdba"
5) How to open the Oracle E-Business Suite PDB?
Source the CDB environment file, connect to the CDB as SYSDBA,
then execute the SQL command to start the PDB:
$ source <CDB_NAME>_<NODE_NAME>.env
$ sqlplus "/ as sysdba"
SQL> alter pluggable database open read write services=all;
6) How to close the Oracle E-Business Suite PDB?
Source the CDB environment file, connect to the CDB as SYSDBA,
then execute the SQL command to stop the PDB:
$ source <CDB_NAME>_<NODE_NAME>.env
$ sqlplus "/ as sysdba"
SQL> alter pluggable database <EBS PDB Name> close immediate;
7) How to find Oracle E-Business Suite PDB information and status?
$ source <CDB_NAME>_<NODE_NAME>.env
$ sqlplus "/ as sysdba"
SQL> show pdbs;
Returns the values for the con_id, con_name, open mode, restricted values of all your PDBs.
SQL> select name, open_mode from v$pdbs;
8) How to connect the Oracle E-Business Suite PDB as APPS
user?
Run the following commands to connect PDB as APPS user
$ source <PDB_NAME>_<NODE_NAME>.env
$ sqlplus apps/apps@<PDB_NAME>
9) How to connect the Oracle E-Business Suite PDB as SYSTEM
user?
Run the following commands to connect PDB as SYSTEM user
$ source <PDB_NAME>_<NODE_NAME>.env
$ sqlplus system/manager@<PDB_NAME>
10) How to access the Oracle E-Business Suite PDB while logged
into the CDB?
Use the following command to set the environment, show the PDB name,
and then connect to that PDB:
$ source <CDB_NAME>_<NODE_NAME>.env
$ sqlplus "/ as sysdba"
SQL> show pdbs;
SQL> alter session set container="PDBNAME";
11) Where to look for PDB errors if encounter a problem?
Source the environment and then review any plugin violations,
as shown in the following example:
$ source <CDB_NAME>_<NODE_NAME>.env
$ sqlplus "/ as sysdba"
SQL> select name, cause, message, status from PDB_PLUG_IN_VIOLATIONS;
12) How to run AutoConfig on the
database tier
You should always source the Oracle E-Business Suite PDB environment
before running AutoConfig. You can do so by running the following commands:
$ cd $ORACLE_HOME
$ source <PDB_NAME>_<NODE_NAME>.env
Then run AutoConfig script
13) How to set up the environment to run an adgrants.sql?
Execute following steps before running Oracle E-Business Suite programs
as adgrants.sql.
$ source <CDB_NAME>_<NODE_NAME>.env
$ export ORACLE_PDB_SID=<PDB_NAME>
$ sqlplus "/ as sysdba"
14) How to run the EBS
Technology Codelevel Checker (ETCC) against Oracle E-Business Suite PDB?
-The EBS Technology Codelevel Checker (ETCC) utility provides two scripts to
help ensure you have the necessary database and application tier patches installed
on your Oracle E-Business Suite Release 12.2 instance.
- ETCC extracts environment-related information from the context file
(using the location defined in $CONTEXT_FILE), so you need to source the
Oracle E-Business Suite PDB environment before you run the database checker script.
$ source <EBS PDB Name>_<NODE_NAME>.env
$ ./checkDBpatch.sh
15) How to list the OPatch inventory for a multitenant?
You can list the OPatch inventory of a multitenant database in the same
way as for non-CDB.
$ source <CDB_NAME>_<NODE_NAME>.env
$ export PATH=$PATH:$ORACLE_HOME/OPatch
$ opatch lsinventory –detail
16) How to set up the environment to install a database
patch in an Oracle E-Business Suite multitenant database?
Source the CDB environment and add the OPatch directory to the path,
as shown in the following example:
$ source <CDB_NAME>_<NODE_NAME>.env
$ export PATH=$PATH:$ORACLE_HOME/OPatch
No comments:
Post a Comment