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
Latest release of Docker project integrate a Swarm mode to manage your cluster environment. The idea of this post is to show how to use Docker Swarm to deploy an ElasticSearch 5.0 cluster, to be similar to a production DataCenter I am using docker-machine to deploy six nodes of my Swarm cluster, similar deployment could be replicated in a public cloud such as AWS or DigitalOcean by simple change a parameter in docker-machine create command. My six nodes where created using: