Normally, you use the dbaascli utility to update the cloud tooling on Database Cloud Service database deployments hosting a single-instance database or Oracle Data Guard configuration. However, older deployments don’t support the two dbaascli subcommands you use:
dbaascli dbpatchm --run -list_tools dbaascli dbpatchm --run -toolsinst
- Connect as the opc user to the compute node.
- Start a root-user command shell:
[opc@Student015-skant ~]$ sudo -s [root@Student015-skant opc]#
- Navigate to the /tmp directory:
# cd /tmp
- Download the RPM file containing the latest version of the cloud tooling:
[root@Student015-skant opc]# wget https://storage.us2.oraclecloud.com/v1/dbcsswlibp-usoracle29538/dbaas_patch/18.1.4.1.0/180312/dbaastools.rpm --2018-03-19 22:00:15-- https://storage.us2.oraclecloud.com/v1/dbcsswlibp-usoracle29538/dbaas_patch/18.1.4.1.0/180312/dbaastools.rpm Resolving storage.us2.oraclecloud.com... 129.152.172.4, 129.152.172.3 Connecting to storage.us2.oraclecloud.com|129.152.172.4|:443... connected. HTTP request sent, awaiting response... 200 OK Length: 109750444 (105M) [application/octet-stream] Saving to: “dbaastools.rpm” 100%[=============================================================================================================================>] 109,750,444 103M/s in 1.0s 2018-03-19 22:00:16 (103 MB/s) - “dbaastools.rpm” saved [109750444/109750444] [root@Student015-skant opc]#
- Get information about the cloud tooling in the downloaded RPM file:
[root@Student015-skant opc]# rpm -qpi ./dbaastools.rpm Name : dbaastools Relocations: (not relocatable) Version : 1.0 Vendor: Oracle Release : 1+18.1.4.1.0_180312.1800 Build Date: Tue 13 Mar 2018 01:19:55 AM UTC Install Date: (not installed) Build Host: den00jnn.us.oracle.com Group : Applications/Administrative Source RPM: dbaastools-1.0-1+18.1.4.1.0_180312.1800.src.rpm Size : 114935799 License: Copyright (c) 2013, Oracle and/or its affiliates. All rights reserved. Signature : (none) Packager : mmoteka URL : http://dbdev.us.oracle.com/ Summary : DBAAS Tools Description : DBAAS Tools for Oracle Public Cloud [root@Student015-skant opc]#
- Get information about the installed cloud tooling:
[root@Student015-skant opc]# rpm -qa|grep -i dbaastools dbaastools-1.0-1+18.1.4.1.0_180312.1800.x86_64
- Install the cloud tooling in the downloaded RPM file:
[root@Student015-skant opc]# rpm -Uvh ./dbaastools.rpm Preparing... ########################################### [100%] package dbaastools-1.0-1+18.1.4.1.0_180312.1800.x86_64 is already installed [root@Student015-skant opc]#
- Exit the root-user command shell and disconnect from the compute node:
# exit $ exit
Stay tuned for More articles on Oracle Cloud
Thank you for giving your valuable time to read the above information.
If you want to be updated with all our articles send us the Invitation or Follow us:
Skant Gupta’s LinkedIn: www.linkedin.com/in/skantali/
Joel Perez’s LinkedIn: Joel Perez’s Profile
Anuradha’s LinkedIn: Anuradha’s Profile
LinkedIn Group: Oracle Cloud DBAAS
Facebook Page: OracleHelp