My last post shows how to deploy, for example, a Docker Swarm cluster at Oracle Cloud IaaS services. This time I'll show you how to do the same without using the Web interface, I am an old fashioned sysadmin and I loves scripting and console tools ;) The idea is to create a set of 5 nodes of Docker swarm cluster in five steps:
Following with last post about how to deploy an Elastic Search (ES) cluster at Oracle Cloud facilities this post will play with scaling up and down a Swarm service. We have an ES cluster deployed including a master node, four data nodes and one ingest node:
$ eval $(docker-machine env oc5) [oc5]$ docker service ls
As I mentioned in a previous post the Oracle Container Service seem to be little for my cloud expectativa. But the Cloud Compute service is enough to implement my Docker Swarm implementation. Why Docker Swarm?
Some weeks ago Oracle releases Oracle Container Cloud Service, Oracle's support for Docker containers. It basically provides several Linux machines to run Docker containers, one of them is designated as controller of the cluster services, here a simple screen shot of the service view:
This year during the Oracle Development Tour at Argentina I saw that the labs have the problem that the default installation of Oracle 11g XE doesn't include an updated version of Oracle Apex. So I decide to build a new Oracle 11g XE Docker image including latest Apex version available for download at OTN with two mainly purposes:
As usual my first test with every Oracle RDBMS release is by Java inside the database, for this test I am using a heavy/intensive Java application inside the RDBMS named Scotas OLS. Basically it provides full text search functionality by using an embedded Solr version running inside the DB. By now Oracle 12cR2 is available at the Oracle Cloud DBAAS, the screen below is the services started to do the test