A simple script to start/stop/scale a WebLogic Server cluster running on k8s under WebLogic Kubernetes Operator


WebLogic Kubernetes Operator provides capabilities to create and deploy different types of WebLogic Domains (basic, JRE, RestrictedJRF, SOA, ...) on k8s. One of the built artifacts produced during the cluster setup is a yaml with stuff related to the domain resource, which is the construct provided by the operator for k8s to "understand" the concept … Continue reading A simple script to start/stop/scale a WebLogic Server cluster running on k8s under WebLogic Kubernetes Operator

Building a docker image, pushing to OCIR and deploying to OKE with DevCS


OCIR=Oracle Cloud Infrastrure Registry OKE=Oracle Kubernetes Engine DevCS=Developer Cloud Service Step 1: Create a new git repo or clon one existing with the code for building the image Step2: Create a new job Step3: Set the git repo Step4: Add docker login step The purpose is to login to the OCIR (OCI Registry). User is … Continue reading Building a docker image, pushing to OCIR and deploying to OKE with DevCS

Sending Messages when DevCS Jobs Fail | OCI Notification Service


OCI Notifications are subscription topics for sending messages to channels like email, rest or pager when things happen. Example In the following example we are sending a notification when the start job of an autonomous database fails, for example if the database is already started. # oci db autonomous-database start --autonomous-database-id ocid1.autonomousdatabase.oc1.eu-frankfurt-1.abtheljr3....6kfsvmxnge2q || { # … Continue reading Sending Messages when DevCS Jobs Fail | OCI Notification Service

Sending Notifications of Failed Health Checks in Oracle Cloud Infrastructure


Notifications service is a broadcast message delivery based in publish-subscribe mechanism. Health Checks service provides users with high frequency external monitoring to determine the availability and performance of any publicly facing service, including hosted websites, API endpoints, or externally facing load balancers. One: Create a Health Check Click the HealthChecks menu option located in the Monitoring … Continue reading Sending Notifications of Failed Health Checks in Oracle Cloud Infrastructure

Automating OKE Clusters start/stop with DevCS


Reusing the work published here, here and here we are showing today how to schedule the start/stop sequence of an OKE cluster with Developer Cloud Service. Start job Create a build with the step as follows: git clone https://github.com/javiermugueta/oke-cluster-start-stop.git cd oke-cluster-start-stop ./oke-cluster-start-stop.sh -r=<region> -c=<compartment> -k=<clustername> -o=start The rest of steps pretty much equal to explained … Continue reading Automating OKE Clusters start/stop with DevCS

Automating OIC Start/Stop with DevCS


As we explained before, OIC is one of the PaaS services that can be automated via Developer Cloud Service. Follow the steps explained here except for the build step in which we instruct OIC to start or stop with a slightly different keyword. In short, the syntax is: psm OICINST [start-service|stop-service] -s <servicename> Details of … Continue reading Automating OIC Start/Stop with DevCS

Scheduling with Developer Cloud Service (DevCS) the Start/Stop Sequence of an Oracle Analytics Cloud (OAC) Instance


Oracle Developer Cloud Service (DevCS) is a CI/CD environment provided by Oracle for cloud customers. It is almost free, you only pay for the storage and the compute utilised when jobs are run. Oracle Analytics Cloud (OAC) is a powerful and proactive reporting tool. Builds Builds are the well known tasks typical in Jenkins: Start … Continue reading Scheduling with Developer Cloud Service (DevCS) the Start/Stop Sequence of an Oracle Analytics Cloud (OAC) Instance

Oracle IdCS Tips Part II: Simple Workflow for Creating Registered Users in IdCS with Node.js


In this post we explained how to create users in IdCS with the REST API. Typically you would like to put an approval process in between, here we explain a simple solution for those use cases where you don't have or don't want to put in the picture other pieces such as BPM, workflow or … Continue reading Oracle IdCS Tips Part II: Simple Workflow for Creating Registered Users in IdCS with Node.js

Oracle Developer Cloud Service Local Maven Repository and Oracle Maven Repository


If your project utilizes Oracle libraries you can configure Oracle Maven repository under Configure Buil Job|Environment with your OTN credentials. If your project utilizes other Oracle libraries you can upload them to the project's local Maven reposository. In additio must update your pom with references to the local maven repo such as: <repositories> <repository> <id>maven.oracle.com</id> … Continue reading Oracle Developer Cloud Service Local Maven Repository and Oracle Maven Repository