Posts

FTMCLI setup for Oracle Storage Cloud Service

1. Install Java on Linux VM: apt install openjdk-8-jre-headless 2.Set Java Home: export JAVA_HOME=/usr/lib/jvm/java-8-openjdk-amd64/jre/bin export JAVA_HOME=/usr/lib/jvm/jre-openjdk/bin 3. Check the Java Jome Path: echo $JAVA_HOME 4. Download ftmcli from : https://www.oracle.com/technetwork/topics/cloud/downloads/index.html#FTMCLI 5. Upload to Cloud VM (/u01/ftmcli) using WINSCP and change permission to root/oracle user. 6. Update the ftmcli.properties file in the Folder /u01/ftmcli/ftmcli-v2.4.3 Set >>>> user=vikash.kumar@example.com Set >>>  rest-endpoint=https://acme.storage.oraclecloud.com/v1/Storage-acme 7. Navigate to the Folder where ftmcli is installed and run the below command to Check the files in a container: java -jar ftmcli.jar describe <BackupFolderName> 8. Download file with time stamp: time java -jar ftmcli.jar download --directory /u01/ftmcli/download <FileNameWithinBackupContainer> Reference: http...

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 .bash...