Doc:
https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Appendix.Oracle.CommonDBATasks.html
Lead OCI Architect specializing in Oracle Fusion ERP, PPM, EPM, OIC Integrations, OCI Administration, VBCS, BI Publisher, DevOps, Terraform, Ansible, Jenkins, Docker, Kubernetes, REST/SOAP APIs, IDCS, OAuth2, SAML, Python Automation, OCI Functions, Cloud Security, Monitoring, and AI-driven ERP Operations
Apps is centralised schema for all products in oracle.it has only access of views, synonyms...etc.
Applsys is only used to Handel FND and AOL other products base tables (ap,ar...etc)which required for selected responsibility is is valid or not after user clicked on particular responsibility.
Applsyspub/pub is dB user which is used to authenticate our Sso/anyuser when we login to EBS.
Guest user is dummy user which connects jdbc driver to connect users which doesn't have any roles.ex--istore,iprocurement..etc.
When we login to applications,initially oracle applications connect to public schema, APPLSYSPUB. This schema has sufficient privileges to perform the authentication of an Applications User (FND user), which includes running PL/SQL packages to verify the username/password combination and the privilege to record the success or failure of a login attempt.
When Autoconfig is not being used:
If you are not using Autoconfig you must manually edit the following configuration files :
1) FND_TOP/resource/appsweb.cfg
2) OA_HTML/bin/appsweb.cfg
3) FND_TOP/secure/HOSTNAME_DBNAME.dbc
To change password of APPLSYSPUB with FNDCPASS:
$FNDCPASS APPS/[apps_pass] 0 Y SYSTEM/[system_pass] ORACLE APPLSYSPUB [new_passs].
0 & Y are flags for FNDCPASS
0 is request id (request ID 0 is assigned to request ID's which are not submitted via Submit Concurrent Request Form)
'Y' indicates that this method is directly invoked from the command-line and not from the Submit Request Form.
Difference B/W APPLSYSPUB & GUEST:
APPLSYSPUB/PUB - is DB user which is used by any utility to retrieve APPS schema password for further logins.GUEST/ORACLE - is EBS user with no or max limited privileges to execute authorization function.What does the "startup
upgrade" command do? How is the startup upgrade different from a
normal startup?
Answer: Starting in 10g, the
"startup upgrade" command is used during upgrade procedures. It
differs from a normal startup because only certain operations are permitted.
Once the database is started in upgrade mode, only queries on fixed views
execute without errors until after the catctl.pl script is run. Before
running catctl.pl, queries on any other view or the use of PL/SQL returns an
error.
Start the database in upgrade mode for
a multitenant container database (CDB):
SQL> alter pluggable database all
open upgrade;
For a non-CDB issue this startup command:
SQL> startup upgrade
Pre-upgrade checks include:
SQL> STARTUP UPGRADE
SQL> SPOOL pre_upgrade_check.log
SQL> @?/rdbms/admin/utlu111i.sql
SQL> SPOOL OFF
########################
[oracle3@servername admin]$ cat utlip.sql
Rem Copyright (c) 1998, 2007, Oracle. All rights reserved.
Rem
Rem NAME
Rem utlip.sql - UTiLity script to Invalidate Pl/sql
Rem
Rem DESCRIPTION
Rem
Rem *WARNING* *WARNING* *WARNING* *WARNING* *WARNING* *WARNING*
Rem Do not run this script directly.
Rem
Rem utlip.sql is automatically executed when required for database
Rem upgrades.
Rem Use utlirp.sql if you are looking to invalidate and recompile
Rem PL/SQL for a 32-bit to 64-bit conversion. Use dbmsupgnv.sql
Rem to convert all PL/SQL to NATIVE or dbmsupgin.sql to convert all
Rem PL/SQL to INTERPRETED.
Rem
Rem *WARNING* *WARNING* *WARNING* *WARNING* *WARNING* *WARNING*
Also will share one issue,when we
noticed multiple packages or plsql objects are getting invalid frequently then
we can acutlay do the below sinario.
Stratup upgrade-->run utlirp.sql to make
all plsql objects are invalidate-->then stratup normal mode -->run utlrp.
it will fix the issue.
Installing Database Patch Updates VM DB System in Oracle Cloud Infrastructure
=============================================================================
dbcli - It is a command line interface available on bare metal and virtual machine DB systems.
It is applied for:(when you choose DB SYSTEM only)
Oracle Database 19.0.0.0.0
Oracle Database 12.1.0.2
Oracle Database 11.2.0.4
Steps:
=====
1.We have to check patch update is available.
2.Prepare for installation of the patch update
3.APPLY Patch applied.
4.Post steps.
Step1:
When a patch update becomes available, it appears in the following locations for an Single Instance VM DB System:
Object Storage Service – dbcli
Oracle Cloud Infrastructure DB Systems Console - BUT ORACLE RECOMENDS ONLY dbcli
For install the latest cloud tooling update
cliadm update-dbcli
dbcli update-server --precheck
dbcli update-serverUpdating DB HOMEdbcli list-dbhomesApply Database Patch Update
rm -rf /tmp/datapatchoutput*
Note2360215:Oracle Database 19.0.0.0.0 Release Update (RU) or Oracle Database 12.1.0.2 Bundle Patches (BP) or Oracle Database 11.2.0.4 Patch Set Updates (PSU) are automatically included when you create a new Single Instance VM DB System.
Secops
team will use some third party tools and when they run they will get risk level
of CVE’s in 3 types.
Depending
on CVSS score level of software,they will be divied in below catagiroies. As
per the below link , for Oracle E-Business Suite:
https://www.inoapps.com/insights/news/oracle-has-released-their-third-cpu-of-2020-heres-your-guide-to-the-latest-updatesA
maximum reported CVSS Base Score of 9.1, indicating critical vulnerability
anything below that is non critical.
Critical
High
Medium
Low
Provide
CVE CODE as provided below
We need to validate each CVE with the below oracle note
id/read me of PSU
Also we get list from the below
https://www.rapid7.com/db/vulnerabilities/oracle-weblogic-cve-2020-5398
Also When you validate need to check BASE SCORE

Validated CVE with
PSU noteid
CVE-2017-5645 JAN-2018
CVE-2018-11058 JUL-2019
CVE-2020-2966 JUL-2020
CVE-2020-2967 JUL-2020
CVE-2020-5398 JUL-2020
CVE-2020-5398 JUL-2020
CVE-2020-9546 JUL-2020
CVE-2020-9546 JUL-2020
CVE-2020-14557 JUL-2020 SUpported version after 12.1
CVE-2020-14572,JUL-2020
CVE-2020-14588 JUL-2020
CVE-2020-14589 JUL-2020
CVE-2020-14622 JUL-2020
CVE-2020-14625 JUL-2020
CVE-2020-14644 JUL-2020
CVE-2020-14645 JUL-2020
CVE-2020-14652,JUL-2020
CVE-2020-14687 JUL-2020
EBS: CPU NOTEID
https://updates.oracle.com/Orion/Services/download?type=readme&aru=23587565
Notes: https://www.oracle.com/security-alerts/cpujul2020.html
1. Outside In Technology
is a suite of software development kits (SDKs). The protocol and CVSS score
depend on the software that uses the Outside In Technology code. The CVSS score
assumes that the software passes data received over a network directly to
Outside In Technology code, but if data is not received over a network the CVSS
score may be lower.
DBA role.SYSSYS schema. These base tables and views are critical for the operation of Oracle Database. To maintain the integrity of the data dictionary, tables in the SYS schema are manipulated only by the database. They should never be modified by any user or database administrator. You must not create any tables in the SYS schema.SYS user is granted the SYSDBA privilege, which enables a user to perform high-level administrative tasks such as backup and recovery.SYSTEMSYSDBA roleCHANGE_ON_INSTALL (make sure you change it)SYSDBASYS schema are manipulated only by the database. They should never be modified by any user or database administrator, and no one should create any tables in the schema of user SYS. Database users should not connect to the Oracle database using the SYS account.SYSTEMDBA roleMANAGER (make sure you change it)SYSTEM schema to store tables of interest to non-administrative users.