Creating Oracle Java Cloud Service Virtual Image with Oracle Database Cloud Service Virtual Image
Note: This procedure only applies in the case where you want to use an Oracle Database Cloud - Virtual Image database deployment, when creating an Oracle Java Cloud Service instance (Virtual Image).
First setup Database Cloud service environment:
=====================================
To set up the Oracle Database Cloud - Database Cloud Service environment:
1. Use a secure shell (SSH) tool to access a compute node associated with your Database Cloud Service - Virtual Image database deployment.
2. Switch to user oracle.
$ sudo -s
# su - oracle
$ cd
3. Edit the .bashrc file and add the following entries:
export ORACLE_HOME="/u01/app/oracle/product/12.1.0/dbhome_1"
export PATH="$ORACLE_HOME/bin:$PATH"
Note: Ensure that you add these entries to the .bashrc file, not the bash_profile file.
4. Ensure that your user has SYSDBA administrator privileges.
5. Do not set the $ORACLE_SID=ORCL variable in the .bashrc file. Do not set the variable to .bashrc. If ORACLE_SID is set, unset it:
$ unset ORACLE_SID
6. Exit your SSH session, then start a new SSH session.
7. Switch to user oracle.
8. Enter the following sqlplus command:
sqlplus sys/SYS_Password@"DB_Host_Name:port/pdb1" as sysdba
Where: SYS_Password—Password for the SYS administrator
DB_Host_Name—Name of your Database Cloud Service - Virtual Image database deployment
port—Use port 1521
9. Configure tablespace encryption:
a. If using an Oracle 12c database, switch to the container database (CDB):
SQL> ALTER SESSION SET CONTAINER = CDB$ROOT;
Setting Up the Environment for Using a Database Cloud Service - Virtual Image Database Deployment
b. Change the tablespace encryption system parameter:
SQL> ALTER SYSTEM SET ENCRYPT_NEW_TABLESPACES=DDL SCOPE=BOTH;
10. Exit your SQL*Plus session:
SQL> EXIT
11. Exit your SSH session.
You can now successfully create an Oracle Java Cloud Service - Virtual Image instance
using the Database Cloud Service - Virtual Image database deployment.
Wonderful way of writing with suitable examples. Really an interesting article.
ReplyDeletesalesforce administrator training in chennai
Salesforce certification Training in Chennai