Oracle Cloud Infrastructure – Vulnerability Scanning Report Deletion – Quick Tip

When I tried to delete and old compartment where VCN, Compute Instances and Co. were already deleted, the action failed because there were old Vulnerability Scanning reports available for hosts and ports. And they need to be deleted first before a compartment can be deleted. The error message with the resource ids: Method A) – click by click Here are the scan reports for tab Hosts. You can delete them one by one when clicking on the dropdown menu of the line. But, this is not really an option with over 300 list entries… Method B) – OCI CLI Bulk Delete Based on installed OCI CLI, this is a small script which iterates over all entries of a specific compartment…

Read More

Oracle Cloud Infrastructure – iSCSI Block Volume Attachment – the magic Way

Have you always attached an OCI Block Volume to a Compute Instance? If yes, I assume by console or OCI CLI and then executed manually the iSCSI commands to attach the device on OS level. But wait, here is a magic way to attach the Block Volume – by the Oracle Cloud Agent. Prerequisites Attached Service Gateway in VCN Oracle Cloud Agent software installed on the instance Enable the Block Volume Management plugin Verify Compute Instance disk status Create a Block Volume and attach Block Volume to Compute Instance OCI Tool oci-iscsi-config The OCI CLI method – the expressway If you want to  auto-attach a high-performance block volume (multipath enabled) or a block volume where auto-tune is enabled, these two…

Read More

Oracle Cloud Infrastructure – Identity Service Vulnerability – Verify your Accounts NOW!

Today I was called by an allied sales from Oracle Switzerland (thanks Andreas). The main contact of the OCI tenant got an email in case of an identity service vulnerability in the past days. As I am not the main contact but the technical admin, I asked the tenant contact. An indeed, there was a mail arrived at 14th of June which was not forwarded to me. Oracle Security Notification for Oracle Cloud Infrastructure (OCI) Identity Service vulnerability CVE-2022-21503 (Doc ID 2861245.1) As a result of this vulnerability, administrators and their designees with read-access to the OCI audit-records in your tenancy could have viewed some credentials in clear text. These administrators and their designees could have used such credentials to…

Read More

AWS Custom Engine Versions for Amazon RDS Custom for Oracle – Sightseeing Tour Part 3/3 – Pricing and personal Thoughts

This is the third and last part of the blog post series about AWS Custom Engine Versions for Amazon RDS Custom for Oracle. The blog post series: Part 1: Gives you an overview about the setup Part 2: About connectivity and what you get from AWS Part 3: My personal opinion about this service and some words about pricing After testing and running AWS RDS Custom for Oracle for a while, it’s time to came to a summary and finish the blog post series. First, let’s do a small comparison with the shapes what we used against Oracle Cloud Infrastructure. In the OCI DBCS service, we have full access to the database server too and have a lot of possibilities…

Read More

Oracle Cloud Infrastructure OS Management – A small Update Script

This happens when not reading the docs until the end. I was searching for an automated OS Management patch job to patch my Oracle Cloud Infrastructure compute instances. Thanks on Twitter to @svilmune, @dhoogfr and @patrickjoss, who show me the menu in the OCI GUI and yes, there is a scheduler. In the meantime, I wrote a small bash script based on the OCI-CLI and instance principals. Credits to Iterating OCI CLI list data in bash (apextips.blogspot.com). Script #!/bin/bash set -e # set compartment comp=ocid1.compartment.oc1..aaaaaaaaoqti273775l2ye4xv4yqi35bcon3o4qb64yqfaxyj2jdagnvtsja # start check echo “” echo “———————————————————————————” echo “OCI OS Management Update Check $(date)” echo “———————————————————————————” #list OSMS registered instances managedinstanceList=$(oci os-management managed-instance list -c $comp –auth instance_principal) for i in $(echo “$managedinstanceList” | jq…

Read More