Skip to content

Installation - FalconDB on Onteon

FalconDB consists of one microservice:

  • core-microservice

You can acquire more knowledge about the following instructions here.

Log into Onteon CLI

To access Onteon CLI, log into it by running

onteoncli login --cluster-url http://<cluster_url>

Replace <cluster_url> with the value of --cluster-base-url argument, passed to OCC installation script (usually http://localhost:8050).

Upload files to application registry

NOTE

Before uploading FalconDB's falcondb-single-node-prod-microservice-on-onteon-${VERSION}.tar.gz file, you might need to configure system properties of this microservice. To do so, simply edit startJvmCommand in falcondb-single-node-prod-microservice-on-onteon-${VERSION}.tar.gz/conf/conf.yml file.

Upload FalconDB microservice tar file to application registry, using onteoncli application-registry upload ${microservice_tar_file} command.

onteoncli application-registry upload falcondb-single-node-prod-microservice-on-onteon-${VERSION}.tar.gz

Create application instances

NOTE

In Onteon application is like an application template, application instance is an actual application deployed on chosen Onteon node.

NOTE

The order is to create application instance first (status - created), then to start it (status - running).

Find applications' ids

Before creating application instances, you need to find out what ID FalconDB microservice have. Run:

onteoncli application list

to get list of all the applications with their ${applicationId}.

Find node's id

Next step is to find out node id. Run

onteoncli node list

to get list of all nodes registered in Onteon Control Center with their ${nodeId}.

Create application instances

To create application instance run

onteoncli application-instance create ${applicationId} ${nodeId}

for FalconDB's core microservice.

Start application instances

Find application instances' ids

To find out FalconDB microservice instance's id, run

onteoncli application-instances list

to get a list of all the application instances with their ${applicationInstanceId}.

Start application instances

To start application instances, run

onteoncli application-instance start ${applicationInstanceId}

for FalconDB's core microservice.

Manage application instance

To stop application instance, run

onteoncli application-instance stop ${applicationInstanceId}

To delete application instance, run

onteoncli application-instance delete ${applicationInstanceId}

To delete application, run

onteoncli application delete ${applicationId}

NOTE

You cannot create (or override) Onteon application with the same name and version as already existing (even deleted) one.