Oracle Cloud Infrastructure (OCI) is an IaaS that delivers on-premises, high-performance computing power to run cloud native and enterprise company’s IT workloads. OCI provides real-time elasticity for enterprise applications by combining Oracle’s autonomous services, integrated security, and serverless compute. Available for public cloud.
This article is a continuation of the following series of related post:
Oracle Cloud Object Storage provides unlimited, high performance, durable, and secure data storage. Data is uploaded as objects that are stored in buckets.
The Object Storage service can store an unlimited amount of unstructured data of any content type, including analytic data and rich content, like images and videos. Object Storage provides several connectivity options, including a native REST API, along with OpenStack Swift API compatibility, and an HDFS plug-in. Object Storage also offers a Java SDK and Python CLI access for management.
Oracle Cloud free tier includes a Load Balancer with up to 10 Mpbs bandwidth, enough for many projects, this article shows how to use SSL traffic encrypted with Let’s Encrypt free certs.
Continuing with my article My own dev/test cloud environment using Oracle Always Free instances I’ll extend it to use Let’s Encrypt certs with auto renew features because these certs are valid for 3 months and I want to renew them automatically. Following picture depicts the deployment diagram:
Unlike my previous example, instead of using NGINX as a reverse proxy for my apps now I am using Traefik due it allows on the fly publishing using Swarm labels. …
Two week ago during the Oracle Developer Live, Keynote: The Future is Data-Driven by Juan R. Loaiza| Executive Vice President, Mission-Critical Database Technologies, mention the benefits of memoptimize for write table options, here a video with explanations (24.09" position)
A big picture of memoptimize for write architecture is depicted at following picture
As you can see a middle tier application sent row-by-row information to the RDBMS which pack many of then at the SGA to later write to disk by a background process, easy but which is the impact of this write scheme on my apps? …
Imagine that you have a 12c/18c Oracle RDBMS running on Docker and want to migrate them to 19c.
Using Oracle Docker official image scripts and a two simple bash script will be enough to do this in one shot.
First you need an RMAN full backup from your 12c/18c database, for doing that We need only a simple bash script passed to the setup/startup hooks of Oracle Docker image.
Directory hooks included into Oracle Docker images are:
setup scripts are executed just after the RDBMS was created and startup scripts are executed right after every Oracle startup. Assuming that you have for example a 12c RDBMS up and running put zz-backup-full.sh at startup directory stop and start again, for the example below We test our procedure by using a 12c fresh instance so We will use setup directory, here zz-backup-full.sh: …
Recently I came with the scenery of estimating maximum throughput of micro-services based applications on K8s clusters.
These micro-services implement several modules which use an Oracle DB as backend, before starting with a real test I like to know which is the maximum bandwidth our Oracle DB can accept, which is the Docker network overhead and which is the cluster (node to node) overhead.
To get a similar workload across different deployments I am working with a great piece of software by Dominic Giles called SwingBench. It included a graphical interface:
as well a command line, named CharBench.
Before starting with a cluster workload test let’s start with a simple Swarm deployment, to do that first We will create Docker images including SwingBench distribution ready for running as Docker Swarm services. Here a…
Some years ago I wrote an article on how to run an Oracle NoSQL cluster on Docker Swarm.
We know that Oracle NoSQL is previous to modern clustering technologies such as Docker Swarm or Kubernetes, specially because it use RMI and requires some static naming conventions on node names and registration.
But with a little trick, using bash, We can easily have NoSQL cluster up and running in a few minutes.
First we start building a custom Oracle NoSQL image extending the official provides by Oracle, here a Dockerfile:
To build our custom image simple run from command line:
$ docker build -t "oracle-nosql/net" . …
This post is about using Docker for a controlled and secure development of Java at the Oracle Internal JVM (Java running inside your Oracle RDBMS, AKA OJVM).
Because Docker is most wanted/loved/used Development environment according to a recent StackOverflow survey:
and if you are involved in a big Java server side development which includes a lot Java code like Scotas Native Solr integration it will be a great time saving machine.
Following dev environment example have two big dependencies:
Oracle 19c RDBMS is the target system for which Scotas OLS will be compiled and tested and Apache Lucene/Solr are the main component to be integrated as search engine running inside the RDBMS as new built-in domain index.
To prepare our dev/test Docker image We use a layered Docker image…
Following my previous two posts about using Oracle Cloud Free options:
if you already have a Docker Swarm two-node deployment with HA functionality now you are ready to start using Oracle Autonomous Transaction Processing DB to support an IoT deployment, for this example, I am choosing OpenHab server
usually openHab is deployed using Raspberry as Home Automation, but We will deploy at the cloud using an always free account and replacing the storage with an Autonomous DB with Machine Learning support.
To create an Autonomous DB with an ML account enable please see this great…
As I detailed in my previous post Oracle Always Free Cloud instances in HA configuration is great resource to deploy a cloud dev/test environment.
Assuming that you already have a two node cluster up and running with GlusterFS working in replica mode
lets try to deploy:
Lets start this deployment by installing a GlusterFS docker volume driver, it will simplify the Docker stack deployment, there is project with a volume driver for GlusterFS at GitHub, with a PR merged using latest Oracle Linux 7 slim image and a correct GlusterFS version, just run as root in…