...
a. By default the TWO_TASK is set to the PDB. Unset the TWO_TASK to connect to the CDB.
No Format |
---|
[oracle@source ~]$ unset TWO_TASK |
Note |
---|
Unsetting of TWO_TASK was already done in a previous step so it is not strictly needed. |
b. Shutdown the database.
No Format |
---|
sqlplus / as sysdba
CDB$ROOT@ORCL> shutdown immediate; |
c. Start up the database in no mount mode.
No Format |
---|
startup mount;
ORACLE instance started.
Total System Global Area 413372416 bytes
Fixed Size 2289016 bytes
Variable Size 322962056 bytes
Database Buffers 79691776 bytes
Redo Buffers 8429568 bytes
Database mounted. |
...
6. Ensure the archive log files are managed and not filling up and stopping the database. Install a script that manages the archive logs.
a. Logon as root. The password is oracle
No Format |
---|
su - |
b. Create an archive management script named del_arch.sh that will manage the archives.
...