A cluster engaging with a database instance hosted by a third-party service provider is a common example of external service integration. Carbonio Mesh is used to deploy in Carbonio CE circumstances like this one.
The Scenario and the Requirements
Our example scenario consists of a Carbonio CE Multi-Server installation that contains the following components:
- Carbonio Files Nodes: one or more
- One cluster node (potentially distinct from the Carbonio Files Nodes) was chosen as the terminating gateway.
- Carbonio Files uses a PostgreSQL database, which can either
- A server that is not part of the Carbonio CE infrastructure.
- A third-party service hosts the website remotely.
Because the process needs manual file editing and running commands, the setup requires access to the command line when terminating the gateway, however certain instructions at the conclusion of the procedure require access to the database node.
Finally, keep the cluster credential password handy because token creation requires it.
Let us now begin the operation by first installing Carbonio Mesh and then Carbonio Files.
Setup and security
A few actions must be completed during the initial setup.
Make a committed user.
Create policies. Carbonio Mesh must be made aware of the services to be routed, which in our case is the Carbonio Files database, carbonio-files-db.
Create a directory to hold all of the settings.
The Definition of External Service
Routing of Services
CAFile
Service Systemd
Carbonio-files-db configuration
- set the database name
- configure username and password
Installation of Carbonio Files Nodes
Take Services Out of Catalogue
- Stop the systemd unit service and remove the configuration file from the system.
- Uninstall the gateway configuration.