My previous post on IP Address Insights I mentioned it wasn’t yet available with CLI but I was wrong! It was there, just my Cloud Shell CLI version wasn’t the latest so didn’t have the command yet available. If you have 3.40.2 and above, the following commands are now available: oci network ipam list-ip-inventory oci…
OCI Block Volume Replication Part 2 – Automation
On the part 1 we looked on how to create new block volume on another OCI Region using the new Block Volume Replication feature. While it was really straightforward, in a real Disaster Recovery situation you might want to automate the whole process. So let’s look on that! I plan on using Terraform and OCI…
OCI CLI scripting fun – bulk deleting Vault secrets
Probably this post as such isn’t useful to many, but I figured since it contains some OCI CLI scripting it might serve as an idea to something else for someone. Recently I got a bunch of OCI Vault keys which had to be loaded to OCI Vault. What happened is of course the load didn’t…
OCI Linux and opening firewall ports with bootstrap
This is just a short post but something I was struggling to figure out. I wanted to open port 80 while starting up OCI Linux 7.8 instance and was using cloud-init portion what you have in the advanced section when creating a compute instance. Initially I had this in the bootstrap configuration: But no matter…
OCI list instances requiring maintenance from Cloud Shell
We had question to come up how to list OCI Compute instances which are requiring maintenance quickly and I found an excellent script from Radu Dobrinescu written in Python. But if I would like to run it quickly in cloud shell without any API keys or another instance which is using instance principles how would…
Create three instances with Terraform 0.12 and dynamic modules in Oracle Cloud Infrastructure
I have an old post how to create three instances in OCI with modules using Terraform 0.11 but since 0.12 came out I’ve been wanting to rewrite it to show what we can achieve with new features introduced in TF 0.12. In this post I will once again create those instances but now the modules…
Rewriting Terraform security list configuration in OCI with Terraform 0.12
I’ve been a big fan of Terraform for quite some time but one of the things I have been complaining about has been some things which have not been possible when you use Terraform modules. Why do we use modules? It gives us a way to reuse our code so that each resource creation is…
Use OCI Notification Service to get informed on your Autonomous Database scaling events
This post will be mainly about Oracle Cloud Infrastructure Notification Service, the Autonomous Database scaling is just used to demonstrate what you can do with the notification service. So what is Notification Service? It’s a service where you can create different topics where you publish messages to set of subscribers. Depending on your configuration you…
Exadata & metric_iorm.pl
Our case where to gather information was actually related to two disks going OFFLINE at the same time. As I wasn’t sure if this is normal Exadata behavior I went and created Service Request for this. This is what we saw one day: 4_1 2017-01-04T18:54:05+01:00 warning “Data hard disk entered confinement offline status. The LUN…
Automated sundiag.sh for Exadata nodes
We recently had to collect sundiag.sh output to one of our Service Requests and I followed note “Oracle Exadata Diagnostic Information required for Disk Failures and some other Hardware issues (Doc ID 761868.1)“. And while there isn’t too much of work involved I thought perhaps I could reduce few steps. Below is short script which creates…